RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection

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

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard

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: 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.