Capacity Planner V1BETA API - Class Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation (v0.1.0)

Reference documentation and code samples for the Capacity Planner V1BETA API class Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation.

This reservation type allows to pre allocate specific instance configuration.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#assured_count

def assured_count() -> ::Integer
Returns
  • (::Integer) — Indicates how many instances are actually usable currently.

#assured_count=

def assured_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Indicates how many instances are actually usable currently.
Returns
  • (::Integer) — Indicates how many instances are actually usable currently.

#count

def count() -> ::Integer
Returns
  • (::Integer) — Specifies the number of resources that are allocated.

#count=

def count=(value) -> ::Integer
Parameter
  • value (::Integer) — Specifies the number of resources that are allocated.
Returns
  • (::Integer) — Specifies the number of resources that are allocated.

#instance_properties

def instance_properties() -> ::Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation::AllocatedInstanceProperties

#instance_properties=

def instance_properties=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation::AllocatedInstanceProperties

#used_count

def used_count() -> ::Integer
Returns
  • (::Integer) — Indicates how many instances are in use.

#used_count=

def used_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Indicates how many instances are in use.
Returns
  • (::Integer) — Indicates how many instances are in use.