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

View Source

BootDiskDefaults hold information about the boot disk of a VM.

Attributes

  • deviceName (type: String.t, default: nil) - Optional. Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks.
  • diskName (type: String.t, default: nil) - Optional. The name of the disk.
  • diskType (type: String.t, default: nil) - Optional. The type of disk provisioning to use for the VM.
  • encryption (type: GoogleApi.VMMigration.V1.Model.Encryption.t, default: nil) - Optional. The encryption to apply to the boot disk.
  • image (type: GoogleApi.VMMigration.V1.Model.DiskImageDefaults.t, default: nil) - The image to use when creating the disk.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.VMMigration.V1.Model.BootDiskDefaults{
  deviceName: String.t() | nil,
  diskName: String.t() | nil,
  diskType: String.t() | nil,
  encryption: GoogleApi.VMMigration.V1.Model.Encryption.t() | nil,
  image: GoogleApi.VMMigration.V1.Model.DiskImageDefaults.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.