Bare Metal Solution v2 API - Class VolumeConfig (1.2.0)

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.

Inheritance

object > VolumeConfig

Namespace

Google.Cloud.BareMetalSolution.V2

Assembly

Google.Cloud.BareMetalSolution.V2.dll

Constructors

VolumeConfig()

public VolumeConfig()

VolumeConfig(VolumeConfig)

public VolumeConfig(VolumeConfig other)
Parameter
NameDescription
otherVolumeConfig

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
TypeDescription
string

Id

public string Id { get; set; }

A transient unique identifier to identify a volume within an ProvisioningConfig request.

Property Value
TypeDescription
string

LunRanges

public RepeatedField<VolumeConfig.Types.LunRange> LunRanges { get; }

LUN ranges to be configured. Set only when protocol is PROTOCOL_FC.

Property Value
TypeDescription
RepeatedFieldVolumeConfigTypesLunRange

MachineIds

public RepeatedField<string> MachineIds { get; }

Machine ids connected to this volume. Set only when protocol is PROTOCOL_FC.

Property Value
TypeDescription
RepeatedFieldstring

Name

public string Name { get; set; }

Output only. The name of the volume config.

Property Value
TypeDescription
string

NfsExports

public RepeatedField<VolumeConfig.Types.NfsExport> NfsExports { get; }

NFS exports. Set only when protocol is PROTOCOL_NFS.

Property Value
TypeDescription
RepeatedFieldVolumeConfigTypesNfsExport

PerformanceTier

public VolumePerformanceTier PerformanceTier { get; set; }

Performance tier of the Volume. Default is SHARED.

Property Value
TypeDescription
VolumePerformanceTier

Protocol

public VolumeConfig.Types.Protocol Protocol { get; set; }

Volume protocol.

Property Value
TypeDescription
VolumeConfigTypesProtocol

SizeGb

public int SizeGb { get; set; }

The requested size of this volume, in GB.

Property Value
TypeDescription
int

SnapshotsEnabled

public bool SnapshotsEnabled { get; set; }

Whether snapshots should be enabled.

Property Value
TypeDescription
bool

Type

public VolumeConfig.Types.Type Type { get; set; }

The type of this Volume.

Property Value
TypeDescription
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
TypeDescription
string

VolumeConfigName

public VolumeConfigName VolumeConfigName { get; set; }

VolumeConfigName-typed view over the Name resource name property.

Property Value
TypeDescription
VolumeConfigName