VolumeConfigResponse class
Configuration parameters for a new volume.
Constructors
-
VolumeConfigResponse({required Input<
String> gcpService, required Input<List< lunRanges, required Input<LunRangeResponse> >List< machineIds, required Input<String> >String> name, required Input<List< nfsExports, required Input<NfsExportResponse> >String> performanceTier, required Input<String> protocol, required Input<int> sizeGb, required Input<bool> snapshotsEnabled, required Input<String> type, required Input<String> userNote}) -
Creates a new VolumeConfigResponse.
gcpServiceThe GCP service of the storage volume. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.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.nameThe name of the volume config.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 -
VolumeConfigResponse.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
-
lunRanges
→ Input<
List< LunRangeResponse> > -
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
-
name
→ Input<
String> -
The name of the volume config.
final
-
nfsExports
→ Input<
List< NfsExportResponse> > -
NFS exports. Set only when protocol is PROTOCOL_NFS.
final
-
performanceTier
→ Input<
String> -
Performance tier of the Volume. Default is SHARED.
final
-
protocol
→ Input<
String> -
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<
String> -
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