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.
#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.
#multiprotocol_type
def multiprotocol_type() -> ::Google::Cloud::BareMetalSolution::V2::Lun::MultiprotocolType
Returns
- (::Google::Cloud::BareMetalSolution::V2::Lun::MultiprotocolType) — The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system.
#multiprotocol_type=
def multiprotocol_type=(value) -> ::Google::Cloud::BareMetalSolution::V2::Lun::MultiprotocolType
Parameter
- value (::Google::Cloud::BareMetalSolution::V2::Lun::MultiprotocolType) — The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system.
Returns
- (::Google::Cloud::BareMetalSolution::V2::Lun::MultiprotocolType) — The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system.
#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
- (::Google::Cloud::BareMetalSolution::V2::Lun::State) — The state of this storage volume.
#state=
def state=(value) -> ::Google::Cloud::BareMetalSolution::V2::Lun::State
Parameter
- value (::Google::Cloud::BareMetalSolution::V2::Lun::State) — The state of this storage volume.
Returns
- (::Google::Cloud::BareMetalSolution::V2::Lun::State) — The state of this storage volume.
#storage_type
def storage_type() -> ::Google::Cloud::BareMetalSolution::V2::Lun::StorageType
Returns
- (::Google::Cloud::BareMetalSolution::V2::Lun::StorageType) — The storage type for this LUN.
#storage_type=
def storage_type=(value) -> ::Google::Cloud::BareMetalSolution::V2::Lun::StorageType
Parameter
- value (::Google::Cloud::BareMetalSolution::V2::Lun::StorageType) — The storage type for this LUN.
Returns
- (::Google::Cloud::BareMetalSolution::V2::Lun::StorageType) — The storage type for this LUN.
#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.