Class StoragePool (0.3.8)

StoragePool(mapping=None, *, ignore_unknown_fields=False, **kwargs)

StoragePool is a container for volumes with a service level and capacity. Volumes can be created in a pool of sufficient available capacity. StoragePool capacity is what you are billed for.

.. _oneof:


name str
Identifier. Name of the storage pool
Required. Service level of the storage pool
capacity_gib int
Required. Capacity in GIB of the pool
volume_capacity_gib int
Output only. Allocated size of all volumes in GIB in the storage pool
volume_count int
Output only. Volume count of the storage pool
Output only. State of the storage pool
state_details str
Output only. State details of the storage pool
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Create time of the storage pool
description str
Optional. Description of the storage pool
labels MutableMapping[str, str]
Optional. Labels as key value pairs
network str
Required. VPC Network name. Format: projects/{project}/global/networks/{network}
active_directory str
Optional. Specifies the Active Directory to be used for creating a SMB volume.
kms_config str
Optional. Specifies the KMS config to be used for volume encryption.
ldap_enabled bool
Optional. Flag indicating if the pool is NFS LDAP enabled or not.
psa_range str
Optional. This field is currently not implemented. Currently values provided in this field will be ignored.
Output only. Specifies the current pool encryption key source.
global_access_allowed bool
Deprecated. Used to allow SO pool to access AD or DNS server from other regions. This field is a member of oneof_ _global_access_allowed.



LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.



The Storage Pool States

Values: STATE_UNSPECIFIED (0): Unspecified Storage Pool State READY (1): Storage Pool State is Ready CREATING (2): Storage Pool State is Creating DELETING (3): Storage Pool State is Deleting UPDATING (4): Storage Pool State is Updating RESTORING (5): Storage Pool State is Restoring DISABLED (6): Storage Pool State is Disabled ERROR (7): Storage Pool State is Error