VolumeConfig class

Configuration parameters for a new volume.

Constructors

VolumeConfig({Input<String>? gcpService, Input<String>? id, Input<List<LunRange>>? lunRanges, Input<List<String>>? machineIds, Input<List<NfsExport>>? nfsExports, Input<VolumeConfigPerformanceTier>? performanceTier, Input<VolumeConfigProtocol>? protocol, Input<int>? sizeGb, Input<bool>? snapshotsEnabled, Input<VolumeConfigType>? type, Input<String>? userNote})
Creates a new VolumeConfig. gcpService The GCP service of the storage volume. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning. id A transient unique identifier to identify a volume within an ProvisioningConfig request. lunRanges LUN ranges to be configured. Set only when protocol is PROTOCOL_FC. machineIds Machine ids connected to this volume. Set only when protocol is PROTOCOL_FC. nfsExports NFS exports. Set only when protocol is PROTOCOL_NFS. performanceTier Performance tier of the Volume. Default is SHARED. protocol Volume protocol. sizeGb The requested size of this volume, in GB. snapshotsEnabled Whether snapshots should be enabled. type The type of this Volume. userNote User note field, it can be used by customers to add additional information for the BMS Ops team .
const
VolumeConfig.fromMap(Map<String, dynamic> map)
factory

Properties

gcpService → Input<String>?
The GCP service of the storage volume. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.
final
hashCode → int
The hash code for this object.
no setterinherited
id → Input<String>?
A transient unique identifier to identify a volume within an ProvisioningConfig request.
final
lunRanges → Input<List<LunRange>>?
LUN ranges to be configured. Set only when protocol is PROTOCOL_FC.
final
machineIds → Input<List<String>>?
Machine ids connected to this volume. Set only when protocol is PROTOCOL_FC.
final
nfsExports → Input<List<NfsExport>>?
NFS exports. Set only when protocol is PROTOCOL_NFS.
final
performanceTier → Input<VolumeConfigPerformanceTier>?
Performance tier of the Volume. Default is SHARED.
final
protocol → Input<VolumeConfigProtocol>?
Volume protocol.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sizeGb → Input<int>?
The requested size of this volume, in GB.
final
snapshotsEnabled → Input<bool>?
Whether snapshots should be enabled.
final
type → Input<VolumeConfigType>?
The type of this Volume.
final
userNote → Input<String>?
User note field, it can be used by customers to add additional information for the BMS Ops team .
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited