Skip to main content

storage_pool_types

Creates, updates, deletes, gets or lists a storage_pool_types resource.

Overview

Namestorage_pool_types
TypeResource
Idgoogle.compute.storage_pool_types

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
idstring (uint64)[Output Only] The unique identifier for the resource. This identifier is defined by the server.
namestring[Output Only] Name of the resource. (pattern: a-z?)
creationTimestampstring[Output Only] Creation timestamp in RFC3339 text format.
deprecatedobject[Output Only] The deprecation status associated with this storage pool type. (id: DeprecationStatus)
descriptionstring[Output Only] An optional description of this resource.
kindstring[Output Only] Type of the resource. Always compute#storagePoolType for storage pool types. (default: compute#storagePoolType)
maxPoolProvisionedCapacityGbstring (int64)[Output Only] Maximum storage pool size in GB.
maxPoolProvisionedIopsstring (int64)[Output Only] Maximum provisioned IOPS.
maxPoolProvisionedThroughputstring (int64)[Output Only] Maximum provisioned throughput.
minPoolProvisionedCapacityGbstring (int64)[Output Only] Minimum storage pool size in GB.
minPoolProvisionedIopsstring (int64)[Output Only] Minimum provisioned IOPS.
minPoolProvisionedThroughputstring (int64)[Output Only] Minimum provisioned throughput.
minSizeGbstring (int64)[Deprecated] This field is deprecated. Use minPoolProvisionedCapacityGb instead.
selfLinkstring[Output Only] Server-defined URL for the resource.
selfLinkWithIdstring[Output Only] Server-defined URL for this resource with the resource id.
supportedDiskTypesarray[Output Only] The list of disk types supported in this storage pool type.
zonestring[Output Only] URL of the zone where the storage pool type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectproject, zone, storagePoolTypeReturns the specified storage pool type.
listselectproject, zonefilter, maxResults, orderBy, pageToken, returnPartialSuccessRetrieves a list of storage pool types available to the specified project.
aggregated_listselectprojectfilter, includeAllScopes, maxResults, orderBy, pageToken, returnPartialSuccess, serviceProjectNumberRetrieves an aggregated list of storage pool types. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
projectstring
storagePoolTypestring
zonestring
filterstring
includeAllScopesboolean
maxResultsinteger (uint32)
orderBystring
pageTokenstring
returnPartialSuccessboolean
serviceProjectNumberstring (int64)

SELECT examples

Returns the specified storage pool type.

SELECT
id,
name,
creationTimestamp,
deprecated,
description,
kind,
maxPoolProvisionedCapacityGb,
maxPoolProvisionedIops,
maxPoolProvisionedThroughput,
minPoolProvisionedCapacityGb,
minPoolProvisionedIops,
minPoolProvisionedThroughput,
minSizeGb,
selfLink,
selfLinkWithId,
supportedDiskTypes,
zone
FROM google.compute.storage_pool_types
WHERE project = '{{ project }}' -- required
AND zone = '{{ zone }}' -- required
AND storagePoolType = '{{ storagePoolType }}' -- required;