View Source GoogleApi.Compute.V1.Model.SavedAttachedDisk (google_api_compute v0.56.0)

DEPRECATED: Please use compute#savedDisk instead. An instance-attached disk resource.

Attributes

  • autoDelete (type: boolean(), default: nil) - 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) - 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) - Specifies the name of the disk attached to the source instance.
  • diskEncryptionKey (type: GoogleApi.Compute.V1.Model.CustomerEncryptionKey.t, default: nil) - The encryption key for the disk.
  • diskSizeGb (type: String.t, default: nil) - The size of the disk in base-2 GB.
  • diskType (type: String.t, default: nil) - [Output Only] URL of the disk type resource. For example: projects/project /zones/zone/diskTypes/pd-standard or pd-ssd
  • guestOsFeatures (type: list(GoogleApi.Compute.V1.Model.GuestOsFeature.t), default: nil) - A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
  • index (type: integer(), default: nil) - Specifies zero-based index of the disk that is attached to the source instance.
  • interface (type: String.t, default: nil) - Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
  • kind (type: String.t, default: compute#savedAttachedDisk) - [Output Only] Type of the resource. Always compute#attachedDisk for attached disks.
  • licenses (type: list(String.t), default: nil) - [Output Only] Any valid publicly visible licenses.
  • mode (type: String.t, default: nil) - The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.
  • source (type: String.t, default: nil) - Specifies a URL of the disk attached to the source instance.
  • storageBytes (type: String.t, default: nil) - [Output Only] A size of the storage used by the disk's snapshot by this machine image.
  • storageBytesStatus (type: String.t, default: nil) - [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
  • type (type: String.t, default: nil) - Specifies the type of the attached disk, either SCRATCH or PERSISTENT.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Compute.V1.Model.SavedAttachedDisk{
  autoDelete: boolean() | nil,
  boot: boolean() | nil,
  deviceName: String.t() | nil,
  diskEncryptionKey: GoogleApi.Compute.V1.Model.CustomerEncryptionKey.t() | nil,
  diskSizeGb: String.t() | nil,
  diskType: String.t() | nil,
  guestOsFeatures: [GoogleApi.Compute.V1.Model.GuestOsFeature.t()] | nil,
  index: integer() | nil,
  interface: String.t() | nil,
  kind: String.t() | nil,
  licenses: [String.t()] | nil,
  mode: String.t() | nil,
  source: String.t() | nil,
  storageBytes: String.t() | nil,
  storageBytesStatus: String.t() | nil,
  type: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.