REST Resource: projects.locations.storagePools

Resource: StoragePool

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.

JSON representation
{
  "name": string,
  "serviceLevel": enum (ServiceLevel),
  "capacityGib": string,
  "volumeCapacityGib": string,
  "volumeCount": integer,
  "state": enum (State),
  "stateDetails": string,
  "createTime": string,
  "description": string,
  "labels": {
    string: string,
    ...
  },
  "network": string,
  "activeDirectory": string,
  "kmsConfig": string,
  "ldapEnabled": boolean,
  "psaRange": string,
  "encryptionType": enum (EncryptionType),
  "globalAccessAllowed": boolean
}
Fields
name

string

Identifier. Name of the storage pool

serviceLevel

enum (ServiceLevel)

Required. Service level of the storage pool

capacityGib

string (int64 format)

Required. Capacity in GIB of the pool

volumeCapacityGib

string (int64 format)

Output only. Allocated size of all volumes in GIB in the storage pool

volumeCount

integer

Output only. Volume count of the storage pool

state

enum (State)

Output only. State of the storage pool

stateDetails

string

Output only. State details of the storage pool

createTime

string (Timestamp format)

Output only. Create time of the storage pool

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

description

string

Optional. Description of the storage pool

labels

map (key: string, value: string)

Optional. Labels as key value pairs

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

network

string

Required. VPC Network name. Format: projects/{project}/global/networks/{network}

activeDirectory

string

Optional. Specifies the Active Directory to be used for creating a SMB volume.

kmsConfig

string

Optional. Specifies the KMS config to be used for volume encryption.

ldapEnabled

boolean

Optional. Flag indicating if the pool is NFS LDAP enabled or not.

psaRange

string

Optional. This field is not implemented. The values provided in this field are ignored.

encryptionType

enum (EncryptionType)

Output only. Specifies the current pool encryption key source.

globalAccessAllowed
(deprecated)

boolean

Deprecated. Used to allow SO pool to access AD or DNS server from other regions.

State

The Storage Pool States

Enums
STATE_UNSPECIFIED Unspecified Storage Pool State
READY Storage Pool State is Ready
CREATING Storage Pool State is Creating
DELETING Storage Pool State is Deleting
UPDATING Storage Pool State is Updating
RESTORING Storage Pool State is Restoring
DISABLED Storage Pool State is Disabled
ERROR Storage Pool State is Error

Methods

create

Creates a new storage pool.

delete

Warning!

get

Returns the description of the specified storage pool by poolId.

list

Returns descriptions of all storage pools owned by the caller.

patch

Updates the storage pool properties with the full spec