Show / Hide Table of Contents

Class Volume

A storage volume.

Inheritance
object
Volume
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Baremetalsolution.v2.Data
Assembly: Google.Apis.Baremetalsolution.v2.dll
Syntax
public class Volume : IDirectResponseSchema

Properties

Attached

Output only. Is the Volume attached at at least one instance. This field is a lightweight counterpart of instances field. It is filled in List responses as well.

Declaration
[JsonProperty("attached")]
public virtual bool? Attached { get; set; }
Property Value
Type Description
bool?

AutoGrownSizeGib

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.

Declaration
[JsonProperty("autoGrownSizeGib")]
public virtual long? AutoGrownSizeGib { get; set; }
Property Value
Type Description
long?

BootVolume

Output only. Whether this volume is a boot volume. A boot volume is one which contains a boot LUN.

Declaration
[JsonProperty("bootVolume")]
public virtual bool? BootVolume { get; set; }
Property Value
Type Description
bool?

CurrentSizeGib

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.

Declaration
[JsonProperty("currentSizeGib")]
public virtual long? CurrentSizeGib { get; set; }
Property Value
Type Description
long?

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

EmergencySizeGib

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

Declaration
[JsonProperty("emergencySizeGib")]
public virtual long? EmergencySizeGib { get; set; }
Property Value
Type Description
long?

ExpireTime

object representation of ExpireTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ExpireTimeDateTimeOffset instead.")]
public virtual object ExpireTime { get; set; }
Property Value
Type Description
object

ExpireTimeDateTimeOffset

DateTimeOffset representation of ExpireTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? ExpireTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

ExpireTimeRaw

Output only. Time after which volume will be fully deleted. It is filled only for volumes in COOLOFF state.

Declaration
[JsonProperty("expireTime")]
public virtual string ExpireTimeRaw { get; set; }
Property Value
Type Description
string

Id

An identifier for the Volume, generated by the backend.

Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type Description
string

Instances

Output only. Instances this Volume is attached to. This field is set only in Get requests.

Declaration
[JsonProperty("instances")]
public virtual IList<string> Instances { get; set; }
Property Value
Type Description
IList<string>

Labels

Labels as key value pairs.

Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type Description
IDictionary<string, string>

MaxSizeGib

Maximum size volume can be expanded to in case of evergency, in GiB.

Declaration
[JsonProperty("maxSizeGib")]
public virtual long? MaxSizeGib { get; set; }
Property Value
Type Description
long?

Name

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}

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

Notes

Input only. User-specified notes for new Volume. Used to provision Volumes that require manual intervention.

Declaration
[JsonProperty("notes")]
public virtual string Notes { get; set; }
Property Value
Type Description
string

OriginallyRequestedSizeGib

Originally requested size, in GiB.

Declaration
[JsonProperty("originallyRequestedSizeGib")]
public virtual long? OriginallyRequestedSizeGib { get; set; }
Property Value
Type Description
long?

PerformanceTier

Immutable. Performance tier of the Volume. Default is SHARED.

Declaration
[JsonProperty("performanceTier")]
public virtual string PerformanceTier { get; set; }
Property Value
Type Description
string

Pod

Immutable. Pod name. Pod is an independent part of infrastructure. Volume can only be connected to the instances allocated in the same pod.

Declaration
[JsonProperty("pod")]
public virtual string Pod { get; set; }
Property Value
Type Description
string

Protocol

Output only. Storage protocol for the Volume.

Declaration
[JsonProperty("protocol")]
public virtual string Protocol { get; set; }
Property Value
Type Description
string

RemainingSpaceGib

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

Declaration
[JsonProperty("remainingSpaceGib")]
public virtual long? RemainingSpaceGib { get; set; }
Property Value
Type Description
long?

RequestedSizeGib

The requested size of this storage volume, in GiB.

Declaration
[JsonProperty("requestedSizeGib")]
public virtual long? RequestedSizeGib { get; set; }
Property Value
Type Description
long?

SnapshotAutoDeleteBehavior

The behavior to use when snapshot reserved space is full.

Declaration
[JsonProperty("snapshotAutoDeleteBehavior")]
public virtual string SnapshotAutoDeleteBehavior { get; set; }
Property Value
Type Description
string

SnapshotEnabled

Whether snapshots are enabled.

Declaration
[JsonProperty("snapshotEnabled")]
public virtual bool? SnapshotEnabled { get; set; }
Property Value
Type Description
bool?

SnapshotReservationDetail

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

Declaration
[JsonProperty("snapshotReservationDetail")]
public virtual SnapshotReservationDetail SnapshotReservationDetail { get; set; }
Property Value
Type Description
SnapshotReservationDetail

State

The state of this storage volume.

Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type Description
string

StorageType

The storage type for this volume.

Declaration
[JsonProperty("storageType")]
public virtual string StorageType { get; set; }
Property Value
Type Description
string

WorkloadProfile

The workload profile for the volume.

Declaration
[JsonProperty("workloadProfile")]
public virtual string WorkloadProfile { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX