google_api_life_sciences v0.4.0 GoogleApi.LifeSciences.V2beta.Model.Disk View Source

Carries information about a disk that can be attached to a VM.

See https://cloud.google.com/compute/docs/disks/performance for more information about disk type, size, and performance considerations.

Attributes

  • name (type: String.t, default: nil) - A user-supplied name for the disk. Used when mounting the disk into actions. The name must contain only upper and lowercase alphanumeric characters and hyphens and cannot start with a hyphen.

  • sizeGb (type: integer(), default: nil) - The size, in GB, of the disk to attach. If the size is not specified, a default is chosen to ensure reasonable I/O performance.

    If the disk type is specified as local-ssd, multiple local drives are automatically combined to provide the requested size. Note, however, that each physical SSD is 375GB in size, and no more than 8 drives can be attached to a single instance.

  • sourceImage (type: String.t, default: nil) - An optional image to put on the disk before attaching it to the VM.

  • type (type: String.t, default: nil) - The Compute Engine disk type. If unspecified, pd-standard is used.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.LifeSciences.V2beta.Model.Disk{
  name: String.t(),
  sizeGb: integer(),
  sourceImage: String.t(),
  type: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.