Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class Lun.
A storage volume logical unit number (LUN).
Generated from protobuf message google.cloud.baremetalsolution.v2.Lun
Namespace
Google \ Cloud \ BareMetalSolution \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The name of the LUN.
↳ id
string
An identifier for the LUN, generated by the backend.
↳ state
int
The state of this storage volume.
↳ size_gb
int|string
The size of this LUN, in gigabytes.
↳ multiprotocol_type
int
The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system.
↳ storage_volume
string
Display the storage volume for this LUN.
↳ shareable
bool
Display if this LUN can be shared between multiple physical servers.
↳ boot_lun
bool
Display if this LUN is a boot LUN.
↳ storage_type
int
The storage type for this LUN.
↳ wwid
string
The WWID for this LUN.
↳ expire_time
Google\Protobuf\Timestamp
Output only. Time after which LUN will be fully deleted. It is filled only for LUNs in COOL_OFF state.
↳ instances
array
Output only. Instances this Lun is attached to.
getName
Output only. The name of the LUN.
string
setName
Output only. The name of the LUN.
var
string
$this
getId
An identifier for the LUN, generated by the backend.
string
setId
An identifier for the LUN, generated by the backend.
var
string
$this
getState
The state of this storage volume.
int
setState
The state of this storage volume.
var
int
$this
getSizeGb
The size of this LUN, in gigabytes.
int|string
setSizeGb
The size of this LUN, in gigabytes.
var
int|string
$this
getMultiprotocolType
The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system.
int
setMultiprotocolType
The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system.
var
int
$this
getStorageVolume
Display the storage volume for this LUN.
string
setStorageVolume
Display the storage volume for this LUN.
var
string
$this
getShareable
Display if this LUN can be shared between multiple physical servers.
bool
setShareable
Display if this LUN can be shared between multiple physical servers.
var
bool
$this
getBootLun
Display if this LUN is a boot LUN.
bool
setBootLun
Display if this LUN is a boot LUN.
var
bool
$this
getStorageType
The storage type for this LUN.
int
setStorageType
The storage type for this LUN.
var
int
$this
getWwid
The WWID for this LUN.
string
setWwid
The WWID for this LUN.
var
string
$this
getExpireTime
Output only. Time after which LUN will be fully deleted.
It is filled only for LUNs in COOL_OFF state.
hasExpireTime
clearExpireTime
setExpireTime
Output only. Time after which LUN will be fully deleted.
It is filled only for LUNs in COOL_OFF state.
$this
getInstances
Output only. Instances this Lun is attached to.
setInstances
Output only. Instances this Lun is attached to.
var
string[]
$this