Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.compute/alpha.getStoragePool
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Returns a specified storage pool. Gets a list of available storage pools by making a list() request.
Using getStoragePool
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getStoragePool(args: GetStoragePoolArgs, opts?: InvokeOptions): Promise<GetStoragePoolResult>
function getStoragePoolOutput(args: GetStoragePoolOutputArgs, opts?: InvokeOptions): Output<GetStoragePoolResult>
def get_storage_pool(project: Optional[str] = None,
storage_pool: Optional[str] = None,
zone: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetStoragePoolResult
def get_storage_pool_output(project: Optional[pulumi.Input[str]] = None,
storage_pool: Optional[pulumi.Input[str]] = None,
zone: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetStoragePoolResult]
func LookupStoragePool(ctx *Context, args *LookupStoragePoolArgs, opts ...InvokeOption) (*LookupStoragePoolResult, error)
func LookupStoragePoolOutput(ctx *Context, args *LookupStoragePoolOutputArgs, opts ...InvokeOption) LookupStoragePoolResultOutput
> Note: This function is named LookupStoragePool
in the Go SDK.
public static class GetStoragePool
{
public static Task<GetStoragePoolResult> InvokeAsync(GetStoragePoolArgs args, InvokeOptions? opts = null)
public static Output<GetStoragePoolResult> Invoke(GetStoragePoolInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetStoragePoolResult> getStoragePool(GetStoragePoolArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:compute/alpha:getStoragePool
arguments:
# arguments dictionary
The following arguments are supported:
- Storage
Pool string - Zone string
- Project string
- Storage
Pool string - Zone string
- Project string
- storage
Pool String - zone String
- project String
- storage
Pool string - zone string
- project string
- storage_
pool str - zone str
- project str
- storage
Pool String - zone String
- project String
getStoragePool Result
The following output properties are available:
- Capacity
Provisioning stringType - Provisioning type of the byte capacity of the pool.
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- Kind string
- Type of the resource. Always compute#storagePool for storage pools.
- Label
Fingerprint string - A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.
- Labels Dictionary<string, string>
- Labels to apply to this storage pool. These can be later modified by the setLabels method.
- Name string
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - Performance
Provisioning stringType - Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
- Provisioned
Iops string - Provsioned IOPS of the storage pool.
- Provisioned
Throughput string - Provisioned throughput of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
- Resource
Status Pulumi.Google Native. Compute. Alpha. Outputs. Storage Pool Resource Status Response - Status information for the storage pool resource.
- Self
Link string - Server-defined fully-qualified URL for this resource.
- Self
Link stringWith Id - Server-defined URL for this resource's resource id.
- Size
Gb string - Size, in GiB, of the storage pool.
- State string
- The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting.
- Status
Pulumi.
Google Native. Compute. Alpha. Outputs. Storage Pool Resource Status Response - Status information for the storage pool resource.
- Storage
Pool stringType - Type of the storage pool.
- Zone string
- URL of the zone where the storage pool resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
- Capacity
Provisioning stringType - Provisioning type of the byte capacity of the pool.
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- Kind string
- Type of the resource. Always compute#storagePool for storage pools.
- Label
Fingerprint string - A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.
- Labels map[string]string
- Labels to apply to this storage pool. These can be later modified by the setLabels method.
- Name string
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - Performance
Provisioning stringType - Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
- Provisioned
Iops string - Provsioned IOPS of the storage pool.
- Provisioned
Throughput string - Provisioned throughput of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
- Resource
Status StoragePool Resource Status Response - Status information for the storage pool resource.
- Self
Link string - Server-defined fully-qualified URL for this resource.
- Self
Link stringWith Id - Server-defined URL for this resource's resource id.
- Size
Gb string - Size, in GiB, of the storage pool.
- State string
- The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting.
- Status
Storage
Pool Resource Status Response - Status information for the storage pool resource.
- Storage
Pool stringType - Type of the storage pool.
- Zone string
- URL of the zone where the storage pool resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
- capacity
Provisioning StringType - Provisioning type of the byte capacity of the pool.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- description String
- An optional description of this resource. Provide this property when you create the resource.
- kind String
- Type of the resource. Always compute#storagePool for storage pools.
- label
Fingerprint String - A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.
- labels Map<String,String>
- Labels to apply to this storage pool. These can be later modified by the setLabels method.
- name String
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - performance
Provisioning StringType - Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
- provisioned
Iops String - Provsioned IOPS of the storage pool.
- provisioned
Throughput String - Provisioned throughput of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
- resource
Status StoragePool Resource Status Response - Status information for the storage pool resource.
- self
Link String - Server-defined fully-qualified URL for this resource.
- self
Link StringWith Id - Server-defined URL for this resource's resource id.
- size
Gb String - Size, in GiB, of the storage pool.
- state String
- The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting.
- status
Storage
Pool Resource Status Response - Status information for the storage pool resource.
- storage
Pool StringType - Type of the storage pool.
- zone String
- URL of the zone where the storage pool resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
- capacity
Provisioning stringType - Provisioning type of the byte capacity of the pool.
- creation
Timestamp string - Creation timestamp in RFC3339 text format.
- description string
- An optional description of this resource. Provide this property when you create the resource.
- kind string
- Type of the resource. Always compute#storagePool for storage pools.
- label
Fingerprint string - A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.
- labels {[key: string]: string}
- Labels to apply to this storage pool. These can be later modified by the setLabels method.
- name string
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - performance
Provisioning stringType - Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
- provisioned
Iops string - Provsioned IOPS of the storage pool.
- provisioned
Throughput string - Provisioned throughput of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
- resource
Status StoragePool Resource Status Response - Status information for the storage pool resource.
- self
Link string - Server-defined fully-qualified URL for this resource.
- self
Link stringWith Id - Server-defined URL for this resource's resource id.
- size
Gb string - Size, in GiB, of the storage pool.
- state string
- The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting.
- status
Storage
Pool Resource Status Response - Status information for the storage pool resource.
- storage
Pool stringType - Type of the storage pool.
- zone string
- URL of the zone where the storage pool resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
- capacity_
provisioning_ strtype - Provisioning type of the byte capacity of the pool.
- creation_
timestamp str - Creation timestamp in RFC3339 text format.
- description str
- An optional description of this resource. Provide this property when you create the resource.
- kind str
- Type of the resource. Always compute#storagePool for storage pools.
- label_
fingerprint str - A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.
- labels Mapping[str, str]
- Labels to apply to this storage pool. These can be later modified by the setLabels method.
- name str
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - performance_
provisioning_ strtype - Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
- provisioned_
iops str - Provsioned IOPS of the storage pool.
- provisioned_
throughput str - Provisioned throughput of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
- resource_
status StoragePool Resource Status Response - Status information for the storage pool resource.
- self_
link str - Server-defined fully-qualified URL for this resource.
- self_
link_ strwith_ id - Server-defined URL for this resource's resource id.
- size_
gb str - Size, in GiB, of the storage pool.
- state str
- The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting.
- status
Storage
Pool Resource Status Response - Status information for the storage pool resource.
- storage_
pool_ strtype - Type of the storage pool.
- zone str
- URL of the zone where the storage pool resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
- capacity
Provisioning StringType - Provisioning type of the byte capacity of the pool.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- description String
- An optional description of this resource. Provide this property when you create the resource.
- kind String
- Type of the resource. Always compute#storagePool for storage pools.
- label
Fingerprint String - A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.
- labels Map<String>
- Labels to apply to this storage pool. These can be later modified by the setLabels method.
- name String
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - performance
Provisioning StringType - Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
- provisioned
Iops String - Provsioned IOPS of the storage pool.
- provisioned
Throughput String - Provisioned throughput of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
- resource
Status Property Map - Status information for the storage pool resource.
- self
Link String - Server-defined fully-qualified URL for this resource.
- self
Link StringWith Id - Server-defined URL for this resource's resource id.
- size
Gb String - Size, in GiB, of the storage pool.
- state String
- The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting.
- status Property Map
- Status information for the storage pool resource.
- storage
Pool StringType - Type of the storage pool.
- zone String
- URL of the zone where the storage pool resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
Supporting Types
StoragePoolResourceStatusResponse
- Aggregate
Disk stringProvisioned Iops - Sum of all the disks' provisioned IOPS.
- Aggregate
Disk stringSize Gb - Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity.
- Last
Resize stringTimestamp - Timestamp of the last successful resize in RFC3339 text format.
- Max
Aggregate stringDisk Size Gb - Maximum allowed aggregate disk size in gigabytes.
- Number
Of stringDisks - Number of disks used.
- Used
Bytes string - Space used by data stored in disks within the storage pool (in bytes).
- Used
Reduced stringBytes - Space used by compressed and deduped data stored in disks within the storage pool (in bytes).
- Used
Throughput string - Sum of all the disks' provisioned throughput in MB/s.
- Aggregate
Disk stringProvisioned Iops - Sum of all the disks' provisioned IOPS.
- Aggregate
Disk stringSize Gb - Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity.
- Last
Resize stringTimestamp - Timestamp of the last successful resize in RFC3339 text format.
- Max
Aggregate stringDisk Size Gb - Maximum allowed aggregate disk size in gigabytes.
- Number
Of stringDisks - Number of disks used.
- Used
Bytes string - Space used by data stored in disks within the storage pool (in bytes).
- Used
Reduced stringBytes - Space used by compressed and deduped data stored in disks within the storage pool (in bytes).
- Used
Throughput string - Sum of all the disks' provisioned throughput in MB/s.
- aggregate
Disk StringProvisioned Iops - Sum of all the disks' provisioned IOPS.
- aggregate
Disk StringSize Gb - Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity.
- last
Resize StringTimestamp - Timestamp of the last successful resize in RFC3339 text format.
- max
Aggregate StringDisk Size Gb - Maximum allowed aggregate disk size in gigabytes.
- number
Of StringDisks - Number of disks used.
- used
Bytes String - Space used by data stored in disks within the storage pool (in bytes).
- used
Reduced StringBytes - Space used by compressed and deduped data stored in disks within the storage pool (in bytes).
- used
Throughput String - Sum of all the disks' provisioned throughput in MB/s.
- aggregate
Disk stringProvisioned Iops - Sum of all the disks' provisioned IOPS.
- aggregate
Disk stringSize Gb - Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity.
- last
Resize stringTimestamp - Timestamp of the last successful resize in RFC3339 text format.
- max
Aggregate stringDisk Size Gb - Maximum allowed aggregate disk size in gigabytes.
- number
Of stringDisks - Number of disks used.
- used
Bytes string - Space used by data stored in disks within the storage pool (in bytes).
- used
Reduced stringBytes - Space used by compressed and deduped data stored in disks within the storage pool (in bytes).
- used
Throughput string - Sum of all the disks' provisioned throughput in MB/s.
- aggregate_
disk_ strprovisioned_ iops - Sum of all the disks' provisioned IOPS.
- aggregate_
disk_ strsize_ gb - Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity.
- last_
resize_ strtimestamp - Timestamp of the last successful resize in RFC3339 text format.
- max_
aggregate_ strdisk_ size_ gb - Maximum allowed aggregate disk size in gigabytes.
- number_
of_ strdisks - Number of disks used.
- used_
bytes str - Space used by data stored in disks within the storage pool (in bytes).
- used_
reduced_ strbytes - Space used by compressed and deduped data stored in disks within the storage pool (in bytes).
- used_
throughput str - Sum of all the disks' provisioned throughput in MB/s.
- aggregate
Disk StringProvisioned Iops - Sum of all the disks' provisioned IOPS.
- aggregate
Disk StringSize Gb - Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity.
- last
Resize StringTimestamp - Timestamp of the last successful resize in RFC3339 text format.
- max
Aggregate StringDisk Size Gb - Maximum allowed aggregate disk size in gigabytes.
- number
Of StringDisks - Number of disks used.
- used
Bytes String - Space used by data stored in disks within the storage pool (in bytes).
- used
Reduced StringBytes - Space used by compressed and deduped data stored in disks within the storage pool (in bytes).
- used
Throughput String - Sum of all the disks' provisioned throughput in MB/s.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi