Bare Metal Solution V2 API - Class Google::Cloud::BareMetalSolution::V2::VolumeConfig (v0.5.1)

Reference documentation and code samples for the Bare Metal Solution V2 API class Google::Cloud::BareMetalSolution::V2::VolumeConfig.

Configuration parameters for a new volume.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#gcp_service

def gcp_service() -> ::String
Returns
  • (::String) — The GCP service of the storage volume. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.

#gcp_service=

def gcp_service=(value) -> ::String
Parameter
  • value (::String) — The GCP service of the storage volume. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.
Returns
  • (::String) — The GCP service of the storage volume. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.

#id

def id() -> ::String
Returns
  • (::String) — A transient unique identifier to identify a volume within an ProvisioningConfig request.

#id=

def id=(value) -> ::String
Parameter
  • value (::String) — A transient unique identifier to identify a volume within an ProvisioningConfig request.
Returns
  • (::String) — A transient unique identifier to identify a volume within an ProvisioningConfig request.

#lun_ranges

def lun_ranges() -> ::Array<::Google::Cloud::BareMetalSolution::V2::VolumeConfig::LunRange>
Returns

#lun_ranges=

def lun_ranges=(value) -> ::Array<::Google::Cloud::BareMetalSolution::V2::VolumeConfig::LunRange>
Parameter
Returns

#machine_ids

def machine_ids() -> ::Array<::String>
Returns
  • (::Array<::String>) — Machine ids connected to this volume. Set only when protocol is PROTOCOL_FC.

#machine_ids=

def machine_ids=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Machine ids connected to this volume. Set only when protocol is PROTOCOL_FC.
Returns
  • (::Array<::String>) — Machine ids connected to this volume. Set only when protocol is PROTOCOL_FC.

#name

def name() -> ::String
Returns
  • (::String) — Output only. The name of the volume config.

#nfs_exports

def nfs_exports() -> ::Array<::Google::Cloud::BareMetalSolution::V2::VolumeConfig::NfsExport>
Returns

#nfs_exports=

def nfs_exports=(value) -> ::Array<::Google::Cloud::BareMetalSolution::V2::VolumeConfig::NfsExport>
Parameter
Returns

#performance_tier

def performance_tier() -> ::Google::Cloud::BareMetalSolution::V2::VolumePerformanceTier
Returns

#performance_tier=

def performance_tier=(value) -> ::Google::Cloud::BareMetalSolution::V2::VolumePerformanceTier
Parameter
Returns

#protocol

def protocol() -> ::Google::Cloud::BareMetalSolution::V2::VolumeConfig::Protocol

#protocol=

def protocol=(value) -> ::Google::Cloud::BareMetalSolution::V2::VolumeConfig::Protocol

#size_gb

def size_gb() -> ::Integer
Returns
  • (::Integer) — The requested size of this volume, in GB.

#size_gb=

def size_gb=(value) -> ::Integer
Parameter
  • value (::Integer) — The requested size of this volume, in GB.
Returns
  • (::Integer) — The requested size of this volume, in GB.

#snapshots_enabled

def snapshots_enabled() -> ::Boolean
Returns
  • (::Boolean) — Whether snapshots should be enabled.

#snapshots_enabled=

def snapshots_enabled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether snapshots should be enabled.
Returns
  • (::Boolean) — Whether snapshots should be enabled.

#type

def type() -> ::Google::Cloud::BareMetalSolution::V2::VolumeConfig::Type
Returns

#type=

def type=(value) -> ::Google::Cloud::BareMetalSolution::V2::VolumeConfig::Type
Parameter
Returns

#user_note

def user_note() -> ::String
Returns
  • (::String) — User note field, it can be used by customers to add additional information for the BMS Ops team .

#user_note=

def user_note=(value) -> ::String
Parameter
  • value (::String) — User note field, it can be used by customers to add additional information for the BMS Ops team .
Returns
  • (::String) — User note field, it can be used by customers to add additional information for the BMS Ops team .