Class Lun (1.7.3)

Lun(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A storage volume logical unit number (LUN).

Attributes

NameDescription
name str
Output only. The name of the LUN.
id str
An identifier for the LUN, generated by the backend.
state google.cloud.bare_metal_solution_v2.types.Lun.State
The state of this storage volume.
size_gb int
The size of this LUN, in gigabytes.
multiprotocol_type google.cloud.bare_metal_solution_v2.types.Lun.MultiprotocolType
The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system.
storage_volume str
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 google.cloud.bare_metal_solution_v2.types.Lun.StorageType
The storage type for this LUN.
wwid str
The WWID for this LUN.
expire_time google.protobuf.timestamp_pb2.Timestamp
Output only. Time after which LUN will be fully deleted. It is filled only for LUNs in COOL_OFF state.
instances MutableSequence[str]
Output only. Instances this Lun is attached to.

Classes

MultiprotocolType

MultiprotocolType(value)

Display the operating systems present for the LUN multiprotocol type.

Values: MULTIPROTOCOL_TYPE_UNSPECIFIED (0): Server has no OS specified. LINUX (1): Server with Linux OS.

State

State(value)

The possible states for the LUN.

Values: STATE_UNSPECIFIED (0): The LUN is in an unknown state. CREATING (1): The LUN is being created. UPDATING (2): The LUN is being updated. READY (3): The LUN is ready for use. DELETING (4): The LUN has been requested to be deleted. COOL_OFF (5): The LUN is in cool off state. It will be deleted after expire_time.

StorageType

StorageType(value)

The storage types for a LUN.

Values: STORAGE_TYPE_UNSPECIFIED (0): The storage type for this LUN is unknown. SSD (1): This storage type for this LUN is SSD. HDD (2): This storage type for this LUN is HDD.