storage_pools_disks
Creates, updates, deletes, gets or lists a storage_pools_disks
resource.
Overview
Name | storage_pools_disks |
Type | Resource |
Id | google.compute.storage_pools_disks |
Fields
Name | Datatype | Description |
---|---|---|
name | string | [Output Only] The name of the disk. |
attachedInstances | array | [Output Only] Instances this disk is attached to. |
creationTimestamp | string | [Output Only] Creation timestamp in RFC3339 text format. |
disk | string | [Output Only] The URL of the disk. |
provisionedIops | string | [Output Only] The number of IOPS provisioned for the disk. |
provisionedThroughput | string | [Output Only] The throughput provisioned for the disk. |
resourcePolicies | array | [Output Only] Resource policies applied to disk for automatic snapshot creations. |
sizeGb | string | [Output Only] The disk size, in GB. |
status | string | [Output Only] The disk status. |
type | string | [Output Only] The disk type. |
usedBytes | string | [Output Only] Amount of disk space used. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list_disks | SELECT | project, storagePool, zone | Lists the disks in a specified storage pool. |
SELECT
examples
Lists the disks in a specified storage pool.
SELECT
name,
attachedInstances,
creationTimestamp,
disk,
provisionedIops,
provisionedThroughput,
resourcePolicies,
sizeGb,
status,
type,
usedBytes
FROM google.compute.storage_pools_disks
WHERE project = '{{ project }}'
AND storagePool = '{{ storagePool }}'
AND zone = '{{ zone }}';