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.
Namespace
Google.Cloud.BareMetalSolution.V2Assembly
Google.Cloud.BareMetalSolution.V2.dll
Constructors
Volume()
public Volume()
Volume(Volume)
public Volume(Volume other)
Parameter | |
---|---|
Name | Description |
other | Volume |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Int64 |
Id
public string Id { get; set; }
An identifier for the Volume
, generated by the backend.
Property Value | |
---|---|
Type | Description |
String |
Labels
public MapField<string, string> Labels { get; }
Labels as key value pairs.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String |
Pod
public string Pod { get; set; }
Immutable. Pod name.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Int64 |
RequestedSizeGib
public long RequestedSizeGib { get; set; }
The requested size of this storage volume, in GiB.
Property Value | |
---|---|
Type | Description |
Int64 |
SnapshotAutoDeleteBehavior
public Volume.Types.SnapshotAutoDeleteBehavior SnapshotAutoDeleteBehavior { get; set; }
The behavior to use when snapshot reserved space is full.
Property Value | |
---|---|
Type | Description |
Volume.Types.SnapshotAutoDeleteBehavior |
SnapshotEnabled
public bool SnapshotEnabled { get; set; }
Whether snapshots are enabled.
Property Value | |
---|---|
Type | Description |
Boolean |
SnapshotReservationDetail
public Volume.Types.SnapshotReservationDetail SnapshotReservationDetail { get; set; }
Details about snapshot space reservation and usage on the storage volume.
Property Value | |
---|---|
Type | Description |
Volume.Types.SnapshotReservationDetail |
State
public Volume.Types.State State { get; set; }
The state of this storage volume.
Property Value | |
---|---|
Type | Description |
Volume.Types.State |
StorageType
public Volume.Types.StorageType StorageType { get; set; }
The storage type for this volume.
Property Value | |
---|---|
Type | Description |
Volume.Types.StorageType |
VolumeName
public VolumeName VolumeName { get; set; }
VolumeName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
VolumeName |