Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::InstanceFlexibilityPolicy.
A flexible specification of machine types for instances to create.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#instance_selections
def instance_selections() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::InstanceFlexibilityPolicyInstanceSelection}-
(::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::InstanceFlexibilityPolicyInstanceSelection}) —
Specification of alternative, flexible instance subsets. One of them will be selected to create the instances based on various criteria, like:
- ranks,
- location policy,
- current capacity,
- available reservations (you can specify affinity in InstanceProperties),
- SWAN/GOOSE limitations. Key is an arbitrary, unique RFC1035 string that identifies the instance selection.
#instance_selections=
def instance_selections=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::InstanceFlexibilityPolicyInstanceSelection}-
value (::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::InstanceFlexibilityPolicyInstanceSelection}) —
Specification of alternative, flexible instance subsets. One of them will be selected to create the instances based on various criteria, like:
- ranks,
- location policy,
- current capacity,
- available reservations (you can specify affinity in InstanceProperties),
- SWAN/GOOSE limitations. Key is an arbitrary, unique RFC1035 string that identifies the instance selection.
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::InstanceFlexibilityPolicyInstanceSelection}) —
Specification of alternative, flexible instance subsets. One of them will be selected to create the instances based on various criteria, like:
- ranks,
- location policy,
- current capacity,
- available reservations (you can specify affinity in InstanceProperties),
- SWAN/GOOSE limitations. Key is an arbitrary, unique RFC1035 string that identifies the instance selection.