VolumeConfig class
Configuration parameters for a new volume.
Constructors
-
VolumeConfig({Input<
String> ? gcpService, Input<String> ? id, Input<List< ? lunRanges, Input<LunRange> >List< ? machineIds, Input<String> >List< ? nfsExports, Input<NfsExport> >VolumeConfigPerformanceTier> ? performanceTier, Input<VolumeConfigProtocol> ? protocol, Input<int> ? sizeGb, Input<bool> ? snapshotsEnabled, Input<VolumeConfigType> ? type, Input<String> ? userNote}) -
Creates a new VolumeConfig.
gcpServiceThe GCP service of the storage volume. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.idA transient unique identifier to identify a volume within an ProvisioningConfig request.lunRangesLUN ranges to be configured. Set only when protocol is PROTOCOL_FC.machineIdsMachine ids connected to this volume. Set only when protocol is PROTOCOL_FC.nfsExportsNFS exports. Set only when protocol is PROTOCOL_NFS.performanceTierPerformance tier of the Volume. Default is SHARED.protocolVolume protocol.sizeGbThe requested size of this volume, in GB.snapshotsEnabledWhether snapshots should be enabled.typeThe type of this Volume.userNoteUser 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