Class: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicy
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicy
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb
Instance Attribute Summary collapse
-
#instance_selection_lists ⇒ Hash<String,Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection>
Named instance selections configuring properties that the group will use when creating new VMs.
-
#instance_selections ⇒ Hash<String,Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection>
Named instance selections configuring properties that the group will use when creating new VMs.
-
#provisioning_model_mix ⇒ Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix
Provisioning model configuration used by this managed instance group to create instances.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstanceGroupManagerInstanceFlexibilityPolicy
constructor
A new instance of InstanceGroupManagerInstanceFlexibilityPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InstanceGroupManagerInstanceFlexibilityPolicy
Returns a new instance of InstanceGroupManagerInstanceFlexibilityPolicy.
16482 16483 16484 |
# File 'lib/google/apis/compute_beta/classes.rb', line 16482 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance_selection_lists ⇒ Hash<String,Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection>
Named instance selections configuring properties that the group will use when
creating new VMs.
Corresponds to the JSON property instanceSelectionLists
16468 16469 16470 |
# File 'lib/google/apis/compute_beta/classes.rb', line 16468 def instance_selection_lists @instance_selection_lists end |
#instance_selections ⇒ Hash<String,Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection>
Named instance selections configuring properties that the group will use when
creating new VMs.
Corresponds to the JSON property instanceSelections
16474 16475 16476 |
# File 'lib/google/apis/compute_beta/classes.rb', line 16474 def instance_selections @instance_selections end |
#provisioning_model_mix ⇒ Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix
Provisioning model configuration used by this managed instance group to create
instances.
Corresponds to the JSON property provisioningModelMix
16480 16481 16482 |
# File 'lib/google/apis/compute_beta/classes.rb', line 16480 def provisioning_model_mix @provisioning_model_mix end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16487 16488 16489 16490 16491 |
# File 'lib/google/apis/compute_beta/classes.rb', line 16487 def update!(**args) @instance_selection_lists = args[:instance_selection_lists] if args.key?(:instance_selection_lists) @instance_selections = args[:instance_selections] if args.key?(:instance_selections) @provisioning_model_mix = args[:provisioning_model_mix] if args.key?(:provisioning_model_mix) end |