Bare Metal Solution V2 API - Class Google::Cloud::BareMetalSolution::V2::Lun (v0.9.0)

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

A storage volume logical unit number (LUN).

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#boot_lun

def boot_lun() -> ::Boolean
Returns
  • (::Boolean) — Display if this LUN is a boot LUN.

#boot_lun=

def boot_lun=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Display if this LUN is a boot LUN.
Returns
  • (::Boolean) — Display if this LUN is a boot LUN.

#expire_time

def expire_time() -> ::Google::Protobuf::Timestamp
Returns

#id

def id() -> ::String
Returns
  • (::String) — An identifier for the LUN, generated by the backend.

#id=

def id=(value) -> ::String
Parameter
  • value (::String) — An identifier for the LUN, generated by the backend.
Returns
  • (::String) — An identifier for the LUN, generated by the backend.

#instances

def instances() -> ::Array<::String>
Returns
  • (::Array<::String>) — Output only. Instances this Lun is attached to.

#multiprotocol_type

def multiprotocol_type() -> ::Google::Cloud::BareMetalSolution::V2::Lun::MultiprotocolType
Returns

#multiprotocol_type=

def multiprotocol_type=(value) -> ::Google::Cloud::BareMetalSolution::V2::Lun::MultiprotocolType
Parameter
Returns

#name

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

#shareable

def shareable() -> ::Boolean
Returns
  • (::Boolean) — Display if this LUN can be shared between multiple physical servers.

#shareable=

def shareable=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Display if this LUN can be shared between multiple physical servers.
Returns
  • (::Boolean) — Display if this LUN can be shared between multiple physical servers.

#size_gb

def size_gb() -> ::Integer
Returns
  • (::Integer) — The size of this LUN, in gigabytes.

#size_gb=

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

#state

def state() -> ::Google::Cloud::BareMetalSolution::V2::Lun::State
Returns

#state=

def state=(value) -> ::Google::Cloud::BareMetalSolution::V2::Lun::State
Parameter
Returns

#storage_type

def storage_type() -> ::Google::Cloud::BareMetalSolution::V2::Lun::StorageType
Returns

#storage_type=

def storage_type=(value) -> ::Google::Cloud::BareMetalSolution::V2::Lun::StorageType
Parameter
Returns

#storage_volume

def storage_volume() -> ::String
Returns
  • (::String) — Display the storage volume for this LUN.

#storage_volume=

def storage_volume=(value) -> ::String
Parameter
  • value (::String) — Display the storage volume for this LUN.
Returns
  • (::String) — Display the storage volume for this LUN.

#wwid

def wwid() -> ::String
Returns
  • (::String) — The WWID for this LUN.

#wwid=

def wwid=(value) -> ::String
Parameter
  • value (::String) — The WWID for this LUN.
Returns
  • (::String) — The WWID for this LUN.