Compute Engine v1 API - Class StoragePool (3.2.0)

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

Reference documentation and code samples for the Compute Engine v1 API class StoragePool.

Represents a zonal storage pool resource.

Inheritance

object > StoragePool

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

StoragePool()

public StoragePool()

StoragePool(StoragePool)

public StoragePool(StoragePool other)
Parameter
Name Description
other StoragePool

Properties

CapacityProvisioningType

public string CapacityProvisioningType { get; set; }

Provisioning type of the byte capacity of the pool. Check the CapacityProvisioningType enum for the list of possible values.

Property Value
Type Description
string

CreationTimestamp

public string CreationTimestamp { get; set; }

[Output Only] Creation timestamp in RFC3339 text format.

Property Value
Type Description
string

Description

public string Description { get; set; }

An optional description of this resource. Provide this property when you create the resource.

Property Value
Type Description
string

HasCapacityProvisioningType

public bool HasCapacityProvisioningType { get; }

Gets whether the "capacity_provisioning_type" field is set

Property Value
Type Description
bool

HasCreationTimestamp

public bool HasCreationTimestamp { get; }

Gets whether the "creation_timestamp" field is set

Property Value
Type Description
bool

HasDescription

public bool HasDescription { get; }

Gets whether the "description" field is set

Property Value
Type Description
bool

HasId

public bool HasId { get; }

Gets whether the "id" field is set

Property Value
Type Description
bool

HasKind

public bool HasKind { get; }

Gets whether the "kind" field is set

Property Value
Type Description
bool

HasLabelFingerprint

public bool HasLabelFingerprint { get; }

Gets whether the "label_fingerprint" field is set

Property Value
Type Description
bool

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
Type Description
bool

HasPerformanceProvisioningType

public bool HasPerformanceProvisioningType { get; }

Gets whether the "performance_provisioning_type" field is set

Property Value
Type Description
bool

HasPoolProvisionedCapacityGb

public bool HasPoolProvisionedCapacityGb { get; }

Gets whether the "pool_provisioned_capacity_gb" field is set

Property Value
Type Description
bool

HasPoolProvisionedIops

public bool HasPoolProvisionedIops { get; }

Gets whether the "pool_provisioned_iops" field is set

Property Value
Type Description
bool

HasPoolProvisionedThroughput

public bool HasPoolProvisionedThroughput { get; }

Gets whether the "pool_provisioned_throughput" field is set

Property Value
Type Description
bool
public bool HasSelfLink { get; }

Gets whether the "self_link" field is set

Property Value
Type Description
bool

HasSelfLinkWithId

public bool HasSelfLinkWithId { get; }

Gets whether the "self_link_with_id" field is set

Property Value
Type Description
bool

HasState

public bool HasState { get; }

Gets whether the "state" field is set

Property Value
Type Description
bool

HasStoragePoolType

public bool HasStoragePoolType { get; }

Gets whether the "storage_pool_type" field is set

Property Value
Type Description
bool

HasZone

public bool HasZone { get; }

Gets whether the "zone" field is set

Property Value
Type Description
bool

Id

public ulong Id { get; set; }

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

Property Value
Type Description
ulong

Kind

public string Kind { get; set; }

[Output Only] Type of the resource. Always compute#storagePool for storage pools.

Property Value
Type Description
string

LabelFingerprint

public string LabelFingerprint { get; set; }

A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.

Property Value
Type Description
string

Labels

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

Labels to apply to this storage pool. These can be later modified by the setLabels method.

Property Value
Type Description
MapFieldstringstring

Name

public string Name { get; set; }

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

Property Value
Type Description
string

PerformanceProvisioningType

public string PerformanceProvisioningType { get; set; }

Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS. Check the PerformanceProvisioningType enum for the list of possible values.

Property Value
Type Description
string

PoolProvisionedCapacityGb

public long PoolProvisionedCapacityGb { get; set; }

Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.

Property Value
Type Description
long

PoolProvisionedIops

public long PoolProvisionedIops { get; set; }

Provisioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced.

Property Value
Type Description
long

PoolProvisionedThroughput

public long PoolProvisionedThroughput { get; set; }

Provisioned throughput of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.

Property Value
Type Description
long

ResourceStatus

public StoragePoolResourceStatus ResourceStatus { get; set; }

[Output Only] Status information for the storage pool resource.

Property Value
Type Description
StoragePoolResourceStatus
public string SelfLink { get; set; }

[Output Only] Server-defined fully-qualified URL for this resource.

Property Value
Type Description
string

SelfLinkWithId

public string SelfLinkWithId { get; set; }

[Output Only] Server-defined URL for this resource's resource id.

Property Value
Type Description
string

State

public string State { get; set; }

[Output Only] The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting. Check the State enum for the list of possible values.

Property Value
Type Description
string

Status

public StoragePoolResourceStatus Status { get; set; }

[Output Only] Status information for the storage pool resource.

Property Value
Type Description
StoragePoolResourceStatus

StoragePoolType

public string StoragePoolType { get; set; }

Type of the storage pool.

Property Value
Type Description
string

Zone

public string Zone { get; set; }

[Output Only] URL of the zone where the storage pool resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

Property Value
Type Description
string