luns
Creates, updates, deletes, gets or lists a luns
resource.
Overview
Name | luns |
Type | Resource |
Id | google.baremetalsolution.luns |
Fields
Name | Datatype | Description |
---|---|---|
id | string | An identifier for the LUN, generated by the backend. |
name | string | Output only. The name of the LUN. |
bootLun | boolean | Display if this LUN is a boot LUN. |
expireTime | string | 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. |
multiprotocolType | string | The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system. |
shareable | boolean | Display if this LUN can be shared between multiple physical servers. |
sizeGb | string | The size of this LUN, in GiB. |
state | string | The state of this storage volume. |
storageType | string | The storage type for this LUN. |
storageVolume | string | Display the storage volume for this LUN. |
wwid | string | The WWID for this LUN. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | locationsId, lunsId, projectsId, volumesId | Get details of a single storage logical unit number(LUN). |
list | SELECT | locationsId, projectsId, volumesId | List storage volume luns for given storage volume. |
evict | EXEC | locationsId, lunsId, projectsId, volumesId | Skips lun's cooloff and deletes it now. Lun must be in cooloff state. |
SELECT
examples
List storage volume luns for given storage volume.
SELECT
id,
name,
bootLun,
expireTime,
instances,
multiprotocolType,
shareable,
sizeGb,
state,
storageType,
storageVolume,
wwid
FROM google.baremetalsolution.luns
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}'
AND volumesId = '{{ volumesId }}';