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

View Source

Details for creation of a Persistent Disk.

Attributes

  • additionalLabels (type: map(), default: nil) - A map of labels to associate with the Persistent Disk.
  • diskName (type: String.t, default: nil) - Optional. The name of the Persistent Disk to create.
  • diskType (type: String.t, default: nil) - The disk type to use.
  • encryption (type: GoogleApi.VMMigration.V1.Model.Encryption.t, default: nil) - Optional. The encryption to apply to the disk.
  • sourceDiskNumber (type: integer(), default: nil) - Required. The ordinal number of the source VM disk.
  • vmAttachmentDetails (type: GoogleApi.VMMigration.V1.Model.VmAttachmentDetails.t, default: nil) - Optional. Details for attachment of the disk to a VM. Used when the disk is set to be attached to a target VM.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.VMMigration.V1.Model.PersistentDiskDefaults{
  additionalLabels: map() | nil,
  diskName: String.t() | nil,
  diskType: String.t() | nil,
  encryption: GoogleApi.VMMigration.V1.Model.Encryption.t() | nil,
  sourceDiskNumber: integer() | nil,
  vmAttachmentDetails:
    GoogleApi.VMMigration.V1.Model.VmAttachmentDetails.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.