GoogleApi.Compute.V1.Model.DiskType (google_api_compute v0.37.0) View Source

Represents a Disk Type resource.

Google Compute Engine has two Disk Type resources:

You can choose from a variety of disk types based on your needs. For more information, read Storage options.

The diskTypes resource represents disk types for a zonal persistent disk. For more information, read Zonal persistent disks.

The regionDiskTypes resource represents disk types for a regional persistent disk. For more information, read Regional persistent disks. (== resource_for {$api_version}.diskTypes ==) (== resource_for {$api_version}.regionDiskTypes ==)

Attributes

  • creationTimestamp (type: String.t, default: nil) - [Output Only] Creation timestamp in RFC3339 text format.
  • defaultDiskSizeGb (type: String.t, default: nil) - [Output Only] Server-defined default disk size in GB.
  • deprecated (type: GoogleApi.Compute.V1.Model.DeprecationStatus.t, default: nil) - [Output Only] The deprecation status associated with this disk type.
  • description (type: String.t, default: nil) - [Output Only] An optional description of this resource.
  • id (type: String.t, default: nil) - [Output Only] The unique identifier for the resource. This identifier is defined by the server.
  • kind (type: String.t, default: compute#diskType) - [Output Only] Type of the resource. Always compute#diskType for disk types.
  • name (type: String.t, default: nil) - [Output Only] Name of the resource.
  • region (type: String.t, default: nil) - [Output Only] URL of the region where the disk type resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
  • selfLink (type: String.t, default: nil) - [Output Only] Server-defined URL for the resource.
  • validDiskSize (type: String.t, default: nil) - [Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".
  • zone (type: String.t, default: nil) - [Output Only] URL of the zone where the disk type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Compute.V1.Model.DiskType{
  creationTimestamp: String.t() | nil,
  defaultDiskSizeGb: String.t() | nil,
  deprecated: GoogleApi.Compute.V1.Model.DeprecationStatus.t() | nil,
  description: String.t() | nil,
  id: String.t() | nil,
  kind: String.t() | nil,
  name: String.t() | nil,
  region: String.t() | nil,
  selfLink: String.t() | nil,
  validDiskSize: String.t() | nil,
  zone: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.