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: 5
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
- (::Google::Cloud::Compute::V1::AllocationSpecificSKUAllocationReservedInstanceProperties) — The instance properties for the reservation.
#instance_properties=
def instance_properties=(value) -> ::Google::Cloud::Compute::V1::AllocationSpecificSKUAllocationReservedInstanceProperties
Parameter
- value (::Google::Cloud::Compute::V1::AllocationSpecificSKUAllocationReservedInstanceProperties) — The instance properties for the reservation.
Returns
- (::Google::Cloud::Compute::V1::AllocationSpecificSKUAllocationReservedInstanceProperties) — The instance properties for the reservation.