BlockDevice(mapping=None, *, ignore_unknown_fields=False, **kwargs)Block device represents the device(s) which are stored in the block volume.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
|---|---|
| Name | Description |
name |
str
Optional. User-defined name for the block device, unique within the volume. In case no user input is provided, name will be auto-generated in the backend. The name must meet the following requirements: - Be between 1 and 255 characters long. - Contain only uppercase or lowercase letters (A-Z, a-z), numbers (0-9), and the following special characters: "-", "\_", "}", "{", ".". - Spaces are not allowed. This field is a member of oneof_ _name.
|
host_groups |
MutableSequence[str]
Optional. A list of host groups that identify hosts that can mount the block volume. Format: projects/{project_id}/locations/{location}/hostGroups/{host_group_id}
This field can be updated after the block device is created.
|
identifier |
str
Output only. Device identifier of the block volume. This represents lun_serial_number for iSCSI volumes.
|
size_gib |
int
Optional. The size of the block device in GiB. Any value provided for the size_gib field during volume creation
is ignored. The block device's size is system-managed and
will be set to match the parent Volume's capacity_gib.
This field is a member of oneof_ _size_gib.
|
os_type |
google.cloud.netapp_v1.types.OsType
Required. Immutable. The OS type of the volume. This field can't be changed after the block device is created. |