Reference documentation and code samples for the Compute V1 Client class InstanceFlexibilityPolicy.
A flexible specification of machine types for instances to create.
Generated from protobuf message google.cloud.compute.v1.InstanceFlexibilityPolicy
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ instance_selections
array| Google\Protobuf\Internal\MapField
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.
getInstanceSelections
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.
setInstanceSelections
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.
$this

