View Source GoogleApi.BareMetalSolution.V2.Model.VolumeConfig (google_api_bare_metal_solution v0.4.0)

Configuration parameters for a new volume.

Attributes

  • gcpService (type: String.t, default: nil) - The GCP service of the storage volume. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.
  • id (type: String.t, default: nil) - A transient unique identifier to identify a volume within an ProvisioningConfig request.
  • lunRanges (type: list(GoogleApi.BareMetalSolution.V2.Model.LunRange.t), default: nil) - LUN ranges to be configured. Set only when protocol is PROTOCOL_FC.
  • machineIds (type: list(String.t), default: nil) - Machine ids connected to this volume. Set only when protocol is PROTOCOL_FC.
  • name (type: String.t, default: nil) - Output only. The name of the volume config.
  • nfsExports (type: list(GoogleApi.BareMetalSolution.V2.Model.NfsExport.t), default: nil) - NFS exports. Set only when protocol is PROTOCOL_NFS.
  • performanceTier (type: String.t, default: nil) - Performance tier of the Volume. Default is SHARED.
  • protocol (type: String.t, default: nil) - Volume protocol.
  • sizeGb (type: integer(), default: nil) - The requested size of this volume, in GB.
  • snapshotsEnabled (type: boolean(), default: nil) - Whether snapshots should be enabled.
  • type (type: String.t, default: nil) - The type of this Volume.
  • userNote (type: String.t, default: nil) - User note field, it can be used by customers to add additional information for the BMS Ops team .

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.BareMetalSolution.V2.Model.VolumeConfig{
  gcpService: String.t() | nil,
  id: String.t() | nil,
  lunRanges: [GoogleApi.BareMetalSolution.V2.Model.LunRange.t()] | nil,
  machineIds: [String.t()] | nil,
  name: String.t() | nil,
  nfsExports: [GoogleApi.BareMetalSolution.V2.Model.NfsExport.t()] | nil,
  performanceTier: String.t() | nil,
  protocol: String.t() | nil,
  sizeGb: integer() | nil,
  snapshotsEnabled: boolean() | nil,
  type: String.t() | nil,
  userNote: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.