Class VolumeConfig (1.6.0)

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

Configuration parameters for a new volume.

Attributes

NameDescription
name str
Output only. The name of the volume config.
id str
A transient unique identifier to identify a volume within an ProvisioningConfig request.
snapshots_enabled bool
Whether snapshots should be enabled.
type_ google.cloud.bare_metal_solution_v2.types.VolumeConfig.Type
The type of this Volume.
protocol google.cloud.bare_metal_solution_v2.types.VolumeConfig.Protocol
Volume protocol.
size_gb int
The requested size of this volume, in GB.
lun_ranges MutableSequence[google.cloud.bare_metal_solution_v2.types.VolumeConfig.LunRange]
LUN ranges to be configured. Set only when protocol is PROTOCOL_FC.
machine_ids MutableSequence[str]
Machine ids connected to this volume. Set only when protocol is PROTOCOL_FC.
nfs_exports MutableSequence[google.cloud.bare_metal_solution_v2.types.VolumeConfig.NfsExport]
NFS exports. Set only when protocol is PROTOCOL_NFS.
user_note str
User note field, it can be used by customers to add additional information for the BMS Ops team .
gcp_service str
The GCP service of the storage volume. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.
performance_tier google.cloud.bare_metal_solution_v2.types.VolumePerformanceTier
Performance tier of the Volume. Default is SHARED.

Classes

LunRange

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

A LUN(Logical Unit Number) range.

NfsExport

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

A NFS export entry.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Protocol

Protocol(value)

The protocol used to access the volume.

Values: PROTOCOL_UNSPECIFIED (0): Unspecified value. PROTOCOL_FC (1): Fibre channel. PROTOCOL_NFS (2): Network file system.

Type

Type(value)

The types of Volumes.

Values: TYPE_UNSPECIFIED (0): The unspecified type. FLASH (1): This Volume is on flash. DISK (2): This Volume is on disk.