Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::AllocationSpecificSKUReservation (v1.6.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::AllocationSpecificSKUReservation.

This reservation type allows to pre allocate specific instance configuration. Next ID: 6

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#assured_count

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

#assured_count=

def assured_count=(value) -> ::Integer
Parameter
  • value (::Integer) — [Output Only] Indicates how many instances are actually usable currently.
Returns
  • (::Integer) — [Output Only] 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.

#in_use_count

def in_use_count() -> ::Integer
Returns
  • (::Integer) — [Output Only] Indicates how many instances are in use.

#in_use_count=

def in_use_count=(value) -> ::Integer
Parameter
  • value (::Integer) — [Output Only] Indicates how many instances are in use.
Returns
  • (::Integer) — [Output Only] Indicates how many instances are in use.

#instance_properties

def instance_properties() -> ::Google::Cloud::Compute::V1::AllocationSpecificSKUAllocationReservedInstanceProperties
Returns

#instance_properties=

def instance_properties=(value) -> ::Google::Cloud::Compute::V1::AllocationSpecificSKUAllocationReservedInstanceProperties
Parameter
Returns