Bare Metal Solution v2 API - Class Volume (1.0.0)

public sealed class Volume : IMessage<Volume>, IEquatable<Volume>, IDeepCloneable<Volume>, IBufferMessage, IMessage

Reference documentation and code samples for the Bare Metal Solution v2 API class Volume.

A storage volume.

Inheritance

Object > Volume

Namespace

Google.Cloud.BareMetalSolution.V2

Assembly

Google.Cloud.BareMetalSolution.V2.dll

Constructors

Volume()

public Volume()

Volume(Volume)

public Volume(Volume other)
Parameter
NameDescription
otherVolume

Properties

AutoGrownSizeGib

public long AutoGrownSizeGib { get; set; }

The size, in GiB, that this storage volume has expanded as a result of an auto grow policy. In the absence of auto-grow, the value is 0.

Property Value
TypeDescription
Int64

CurrentSizeGib

public long CurrentSizeGib { get; set; }

The current size of this storage volume, in GiB, including space reserved for snapshots. This size might be different than the requested size if the storage volume has been configured with auto grow or auto shrink.

Property Value
TypeDescription
Int64

EmergencySizeGib

public long EmergencySizeGib { get; set; }

Additional emergency size that was requested for this Volume, in GiB. current_size_gib includes this value.

Property Value
TypeDescription
Int64

Id

public string Id { get; set; }

An identifier for the Volume, generated by the backend.

Property Value
TypeDescription
String

Labels

public MapField<string, string> Labels { get; }

Labels as key value pairs.

Property Value
TypeDescription
MapField<String, String>

Name

public string Name { get; set; }

Output only. The resource name of this Volume. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: projects/{project}/locations/{location}/volumes/{volume}

Property Value
TypeDescription
String

Pod

public string Pod { get; set; }

Immutable. Pod name.

Property Value
TypeDescription
String

RemainingSpaceGib

public long RemainingSpaceGib { get; set; }

The space remaining in the storage volume for new LUNs, in GiB, excluding space reserved for snapshots.

Property Value
TypeDescription
Int64

RequestedSizeGib

public long RequestedSizeGib { get; set; }

The requested size of this storage volume, in GiB.

Property Value
TypeDescription
Int64

SnapshotAutoDeleteBehavior

public Volume.Types.SnapshotAutoDeleteBehavior SnapshotAutoDeleteBehavior { get; set; }

The behavior to use when snapshot reserved space is full.

Property Value
TypeDescription
Volume.Types.SnapshotAutoDeleteBehavior

SnapshotEnabled

public bool SnapshotEnabled { get; set; }

Whether snapshots are enabled.

Property Value
TypeDescription
Boolean

SnapshotReservationDetail

public Volume.Types.SnapshotReservationDetail SnapshotReservationDetail { get; set; }

Details about snapshot space reservation and usage on the storage volume.

Property Value
TypeDescription
Volume.Types.SnapshotReservationDetail

State

public Volume.Types.State State { get; set; }

The state of this storage volume.

Property Value
TypeDescription
Volume.Types.State

StorageType

public Volume.Types.StorageType StorageType { get; set; }

The storage type for this volume.

Property Value
TypeDescription
Volume.Types.StorageType

VolumeName

public VolumeName VolumeName { get; set; }

VolumeName-typed view over the Name resource name property.

Property Value
TypeDescription
VolumeName