RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionArgs

data class RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionArgs(val machineTypes: Output<List<String>>, val name: Output<String>, val rank: Output<Int>? = null) : ConvertibleToJava<RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionArgs>

Constructors

constructor(machineTypes: Output<List<String>>, name: Output<String>, rank: Output<Int>? = null)

Properties

Link copied to clipboard
val machineTypes: Output<List<String>>

Full machine-type names, e.g. "n1-standard-16"

Link copied to clipboard
val name: Output<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.

Link copied to clipboard
val rank: Output<Int>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionArgs