View Source GoogleApi.Compute.V1.Model.InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection (google_api_compute v0.70.0)

Attributes

  • machineTypes (type: list(String.t), default: nil) - Full machine-type names, e.g. "n1-standard-16".
  • rank (type: integer(), default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.Compute.V1.Model.InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection{
    machineTypes: [String.t()] | nil,
    rank: integer() | nil
  }

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.