RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection constructor

const RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection({
  1. Input<List<RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionDisk>?>? disks,
  2. required Input<List<String>> machineTypes,
  3. Input<String?>? minCpuPlatform,
  4. required Input<String> name,
  5. Input<int?>? rank,
})

Creates a new RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection. disks List of disks to be attached to the instances created from this selection. machineTypes Full machine-type names, e.g. "n1-standard-16" minCpuPlatform Name of the minimum CPU platform to be used by this instance selection. e.g. 'Intel Ice Lake' name The name of the instance group manager. Must be 1-63 rank 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.

Implementation

const RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection({
  this.disks,
  required this.machineTypes,
  this.minCpuPlatform,
  required this.name,
  this.rank,
});