View Source GoogleApi.BackupDR.V1.Model.AttachedDisk (google_api_backup_dr v0.3.0)

An instance-attached disk resource.

Attributes

  • autoDelete (type: boolean(), default: nil) - Optional. Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).
  • boot (type: boolean(), default: nil) - Optional. Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.
  • deviceName (type: String.t, default: nil) - Optional. This is used as an identifier for the disks. This is the unique name has to provided to modify disk parameters like disk_name and replica_zones (in case of RePDs)
  • diskEncryptionKey (type: GoogleApi.BackupDR.V1.Model.CustomerEncryptionKey.t, default: nil) - Optional. Encrypts or decrypts a disk using a customer-supplied encryption key.
  • diskInterface (type: String.t, default: nil) - Optional. Specifies the disk interface to use for attaching this disk.
  • diskSizeGb (type: String.t, default: nil) - Optional. The size of the disk in GB.
  • diskType (type: String.t, default: nil) - Optional. Specifies the type of the disk.
  • diskTypeUri (type: String.t, default: nil) - Optional. Output only. The URI of the disk type resource. For example: projects/project/zones/zone/diskTypes/pd-standard or pd-ssd
  • guestOsFeature (type: list(GoogleApi.BackupDR.V1.Model.GuestOsFeature.t), default: nil) - Optional. A list of features to enable on the guest operating system. Applicable only for bootable images.
  • index (type: String.t, default: nil) - Optional. A zero-based index to this disk, where 0 is reserved for the boot disk.
  • initializeParams (type: GoogleApi.BackupDR.V1.Model.InitializeParams.t, default: nil) - Optional. Specifies the parameters to initialize this disk.
  • kind (type: String.t, default: nil) - Optional. Type of the resource.
  • license (type: list(String.t), default: nil) - Optional. Any valid publicly visible licenses.
  • mode (type: String.t, default: nil) - Optional. The mode in which to attach this disk.
  • savedState (type: String.t, default: nil) - Optional. Output only. The state of the disk.
  • source (type: String.t, default: nil) - Optional. Specifies a valid partial or full URL to an existing Persistent Disk resource.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.BackupDR.V1.Model.AttachedDisk{
  autoDelete: boolean() | nil,
  boot: boolean() | nil,
  deviceName: String.t() | nil,
  diskEncryptionKey:
    GoogleApi.BackupDR.V1.Model.CustomerEncryptionKey.t() | nil,
  diskInterface: String.t() | nil,
  diskSizeGb: String.t() | nil,
  diskType: String.t() | nil,
  diskTypeUri: String.t() | nil,
  guestOsFeature: [GoogleApi.BackupDR.V1.Model.GuestOsFeature.t()] | nil,
  index: String.t() | nil,
  initializeParams: GoogleApi.BackupDR.V1.Model.InitializeParams.t() | nil,
  kind: String.t() | nil,
  license: [String.t()] | nil,
  mode: String.t() | nil,
  savedState: String.t() | nil,
  source: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.