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

View Source

NetworkInterface represents a NIC of a VM.

Attributes

  • externalIp (type: String.t, default: nil) - Optional. The external IP to define in the NIC.
  • internalIp (type: String.t, default: nil) - Optional. The internal IP to define in the NIC. The formats accepted are: ephemeral \ ipv4 address \ a named address resource full path.
  • network (type: String.t, default: nil) - The network to connect the NIC to.
  • networkTier (type: String.t, default: nil) - Optional. The networking tier used for optimizing connectivity between instances and systems on the internet. Applies only for external ephemeral IP addresses. If left empty, will default to PREMIUM.
  • subnetwork (type: String.t, default: nil) - Optional. The subnetwork to connect the NIC to.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.VMMigration.V1.Model.NetworkInterface{
  externalIp: String.t() | nil,
  internalIp: String.t() | nil,
  network: String.t() | nil,
  networkTier: String.t() | nil,
  subnetwork: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.