RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection class
Constructors
-
RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection({Input<
List< ? disks, required Input<RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionDisk> ?>List< machineTypes, Input<String> >String?> ? minCpuPlatform, required Input<String> name, Input<int?> ? rank}) -
Creates a new RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.
disksList of disks to be attached to the instances created from this selection.machineTypesFull machine-type names, e.g. "n1-standard-16"minCpuPlatformName of the minimum CPU platform to be used by this instance selection. e.g. 'Intel Ice Lake'nameThe name of the instance group manager. Must be 1-63rankPreference of this instance selection. Lower number means higher preference. MIG will first try to create a VM based on the machine-type with lowest rank and fallback to next rank based on availability. Machine types and instance selections with the same rank have the same preference.const -
RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
disks
→ Input<
List< ?RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionDisk> ?> -
List of disks to be attached to the instances created from this selection.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
machineTypes
→ Input<
List< String> > -
Full machine-type names, e.g. "n1-standard-16"
final
-
minCpuPlatform
→ Input<
String?> ? -
Name of the minimum CPU platform to be used by this instance selection. e.g. 'Intel Ice Lake'
final
-
name
→ Input<
String> -
The name of the instance group manager. Must be 1-63
characters long and comply with
RFC1035. Supported characters
include lowercase letters, numbers, and hyphens.
final
-
rank
→ Input<
int?> ? -
Preference of this instance selection. Lower number means higher preference. MIG will first try to create a VM based on the machine-type with lowest rank and fallback to next rank based on availability. Machine types and instance selections with the same rank have the same preference.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited