GetRegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection constructor

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

Creates a new GetRegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection. 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. Either name or selfLink must be provided. 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 GetRegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection({
  required this.disks,
  required this.machineTypes,
  required this.minCpuPlatform,
  required this.name,
  required this.rank,
});