GoogleApi.VMMigration.V1.Model.SchedulingNodeAffinity (google_api_vm_migration v0.11.0)

View Source

Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. Based on https://cloud.google.com/compute/docs/reference/rest/v1/instances/setScheduling

Attributes

  • key (type: String.t, default: nil) - The label key of Node resource to reference.
  • operator (type: String.t, default: nil) - The operator to use for the node resources specified in the values parameter.
  • values (type: list(String.t), default: nil) - Corresponds to the label values of Node resource.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.VMMigration.V1.Model.SchedulingNodeAffinity{
  key: String.t() | nil,
  operator: String.t() | nil,
  values: [String.t()] | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.