public sealed class VolumeConfig : IMessage<VolumeConfig>, IEquatable<VolumeConfig>, IDeepCloneable<VolumeConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Bare Metal Solution v2 API class VolumeConfig.
Configuration parameters for a new volume.
Implements
IMessageVolumeConfig, IEquatableVolumeConfig, IDeepCloneableVolumeConfig, IBufferMessage, IMessageNamespace
Google.Cloud.BareMetalSolution.V2Assembly
Google.Cloud.BareMetalSolution.V2.dll
Constructors
VolumeConfig()
public VolumeConfig()
VolumeConfig(VolumeConfig)
public VolumeConfig(VolumeConfig other)
Parameter | |
---|---|
Name | Description |
other | VolumeConfig |
Properties
GcpService
public string GcpService { get; set; }
The GCP service of the storage volume. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.
Property Value | |
---|---|
Type | Description |
string |
Id
public string Id { get; set; }
A transient unique identifier to identify a volume within an ProvisioningConfig request.
Property Value | |
---|---|
Type | Description |
string |
LunRanges
public RepeatedField<VolumeConfig.Types.LunRange> LunRanges { get; }
LUN ranges to be configured. Set only when protocol is PROTOCOL_FC.
Property Value | |
---|---|
Type | Description |
RepeatedFieldVolumeConfigTypesLunRange |
MachineIds
public RepeatedField<string> MachineIds { get; }
Machine ids connected to this volume. Set only when protocol is PROTOCOL_FC.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
Name
public string Name { get; set; }
Output only. The name of the volume config.
Property Value | |
---|---|
Type | Description |
string |
NfsExports
public RepeatedField<VolumeConfig.Types.NfsExport> NfsExports { get; }
NFS exports. Set only when protocol is PROTOCOL_NFS.
Property Value | |
---|---|
Type | Description |
RepeatedFieldVolumeConfigTypesNfsExport |
PerformanceTier
public VolumePerformanceTier PerformanceTier { get; set; }
Performance tier of the Volume. Default is SHARED.
Property Value | |
---|---|
Type | Description |
VolumePerformanceTier |
Protocol
public VolumeConfig.Types.Protocol Protocol { get; set; }
Volume protocol.
Property Value | |
---|---|
Type | Description |
VolumeConfigTypesProtocol |
SizeGb
public int SizeGb { get; set; }
The requested size of this volume, in GB.
Property Value | |
---|---|
Type | Description |
int |
SnapshotsEnabled
public bool SnapshotsEnabled { get; set; }
Whether snapshots should be enabled.
Property Value | |
---|---|
Type | Description |
bool |
Type
public VolumeConfig.Types.Type Type { get; set; }
The type of this Volume.
Property Value | |
---|---|
Type | Description |
VolumeConfigTypesType |
UserNote
public string UserNote { get; set; }
User note field, it can be used by customers to add additional information for the BMS Ops team .
Property Value | |
---|---|
Type | Description |
string |
VolumeConfigName
public VolumeConfigName VolumeConfigName { get; set; }
VolumeConfigName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
VolumeConfigName |