storage_pool_types
Creates, updates, deletes, gets or lists a storage_pool_types resource.
Overview
| Name | storage_pool_types |
| Type | Resource |
| Id | google.compute.storage_pool_types |
Fields
The following fields are returned by SELECT queries:
- get
- list
- aggregated_list
| Name | Datatype | Description |
|---|---|---|
id | string (uint64) | [Output Only] The unique identifier for the resource. This identifier is defined by the server. |
name | string | [Output Only] Name of the resource. (pattern: [a-z](?:[-a-z0-9]{0,61}[a-z0-9])?) |
creationTimestamp | string | [Output Only] Creation timestamp inRFC3339 text format. |
deprecated | object | [Output Only] The deprecation status associated with this storage pool type. (id: DeprecationStatus) |
description | string | [Output Only] An optional description of this resource. |
kind | string | Output only. [Output Only] Type of the resource. Alwayscompute#storagePoolType for storage pool types. (default: compute#storagePoolType) |
maxPoolProvisionedCapacityGb | string (int64) | [Output Only] Maximum storage pool size in GB. |
maxPoolProvisionedIops | string (int64) | [Output Only] Maximum provisioned IOPS. |
maxPoolProvisionedThroughput | string (int64) | [Output Only] Maximum provisioned throughput. |
minPoolProvisionedCapacityGb | string (int64) | [Output Only] Minimum storage pool size in GB. |
minPoolProvisionedIops | string (int64) | [Output Only] Minimum provisioned IOPS. |
minPoolProvisionedThroughput | string (int64) | [Output Only] Minimum provisioned throughput. |
minSizeGb | string (int64) | [Deprecated] This field is deprecated. Use minPoolProvisionedCapacityGb instead. |
selfLink | string | [Output Only] Server-defined URL for the resource. |
selfLinkWithId | string | Output only. [Output Only] Server-defined URL for this resource with the resource id. |
supportedDiskTypes | array | [Output Only] The list of disk types supported in this storage pool type. |
zone | string | [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. |
| Name | Datatype | Description |
|---|---|---|
id | string | [Output Only] Unique identifier for the resource; defined by the server. |
items | array | A list of StoragePoolType resources. |
kind | string | Output only. [Output Only] Type of resource. Alwayscompute#storagePoolTypeList for storage pool types. (default: compute#storagePoolTypeList) |
nextPageToken | string | [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. |
selfLink | string | Output only. [Output Only] Server-defined URL for this resource. |
warning | object | [Output Only] Informational warning message. |
| Name | Datatype | Description |
|---|---|---|
id | string (uint64) | [Output Only] The unique identifier for the resource. This identifier is defined by the server. |
name | string | [Output Only] Name of the resource. (pattern: [a-z](?:[-a-z0-9]{0,61}[a-z0-9])?) |
creationTimestamp | string | [Output Only] Creation timestamp inRFC3339 text format. |
deprecated | object | [Output Only] The deprecation status associated with this storage pool type. (id: DeprecationStatus) |
description | string | [Output Only] An optional description of this resource. |
kind | string | Output only. [Output Only] Type of the resource. Alwayscompute#storagePoolType for storage pool types. (default: compute#storagePoolType) |
maxPoolProvisionedCapacityGb | string (int64) | [Output Only] Maximum storage pool size in GB. |
maxPoolProvisionedIops | string (int64) | [Output Only] Maximum provisioned IOPS. |
maxPoolProvisionedThroughput | string (int64) | [Output Only] Maximum provisioned throughput. |
minPoolProvisionedCapacityGb | string (int64) | [Output Only] Minimum storage pool size in GB. |
minPoolProvisionedIops | string (int64) | [Output Only] Minimum provisioned IOPS. |
minPoolProvisionedThroughput | string (int64) | [Output Only] Minimum provisioned throughput. |
minSizeGb | string (int64) | [Deprecated] This field is deprecated. Use minPoolProvisionedCapacityGb instead. |
selfLink | string | [Output Only] Server-defined URL for the resource. |
selfLinkWithId | string | Output only. [Output Only] Server-defined URL for this resource with the resource id. |
supportedDiskTypes | array | [Output Only] The list of disk types supported in this storage pool type. |
zone | string | [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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | project, zone, storagePoolType | Returns the specified storage pool type. | |
list | select | project, zone | filter, maxResults, pageToken, orderBy, returnPartialSuccess | Retrieves a list of storage pool types available to the specified project. |
aggregated_list | select | project | includeAllScopes, orderBy, filter, serviceProjectNumber, maxResults, pageToken, returnPartialSuccess | Retrieves 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.
| Name | Datatype | Description |
|---|---|---|
project | string | |
storagePoolType | string | |
zone | string | |
filter | string | |
includeAllScopes | boolean | |
maxResults | integer (uint32) | |
orderBy | string | |
pageToken | string | |
returnPartialSuccess | boolean | |
serviceProjectNumber | string (int64) |
SELECT examples
- get
- list
- aggregated_list
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
;
Retrieves a list of storage pool types available to the specified
project.
SELECT
id,
items,
kind,
nextPageToken,
selfLink,
warning
FROM google.compute.storage_pool_types
WHERE project = '{{ project }}' -- required
AND zone = '{{ zone }}' -- required
AND filter = '{{ filter }}'
AND maxResults = '{{ maxResults }}'
AND pageToken = '{{ pageToken }}'
AND orderBy = '{{ orderBy }}'
AND returnPartialSuccess = '{{ returnPartialSuccess }}'
;
Retrieves an aggregated list of storage pool types.
To prevent failure, Google recommends that you set thereturnPartialSuccess parameter to true.
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 includeAllScopes = '{{ includeAllScopes }}'
AND orderBy = '{{ orderBy }}'
AND filter = '{{ filter }}'
AND serviceProjectNumber = '{{ serviceProjectNumber }}'
AND maxResults = '{{ maxResults }}'
AND pageToken = '{{ pageToken }}'
AND returnPartialSuccess = '{{ returnPartialSuccess }}'
;