gcp.compute.StoragePool
Explore with Pulumi AI
A Hyperdisk Storage Pool is a pre-purchased collection of capacity, throughput, and IOPS which you can then provision to your applications as needed. You can use Hyperdisk Storage Pools to create and manage disks in pools and use the disks across multiple workloads.
To get more information about StoragePool, see:
- API documentation
- How-to Guides
Example Usage
Compute Storage Pool Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const test_storage_pool_basic = new gcp.compute.StoragePool("test-storage-pool-basic", {
name: "storage-pool-basic",
poolProvisionedCapacityGb: "10240",
poolProvisionedThroughput: "100",
storagePoolType: "hyperdisk-throughput",
zone: "us-central1-a",
deletionProtection: false,
});
const project = gcp.organizations.getProject({});
import pulumi
import pulumi_gcp as gcp
test_storage_pool_basic = gcp.compute.StoragePool("test-storage-pool-basic",
name="storage-pool-basic",
pool_provisioned_capacity_gb="10240",
pool_provisioned_throughput="100",
storage_pool_type="hyperdisk-throughput",
zone="us-central1-a",
deletion_protection=False)
project = gcp.organizations.get_project()
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := compute.NewStoragePool(ctx, "test-storage-pool-basic", &compute.StoragePoolArgs{
Name: pulumi.String("storage-pool-basic"),
PoolProvisionedCapacityGb: pulumi.String("10240"),
PoolProvisionedThroughput: pulumi.String("100"),
StoragePoolType: pulumi.String("hyperdisk-throughput"),
Zone: pulumi.String("us-central1-a"),
DeletionProtection: pulumi.Bool(false),
})
if err != nil {
return err
}
_, err = organizations.LookupProject(ctx, &organizations.LookupProjectArgs{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var test_storage_pool_basic = new Gcp.Compute.StoragePool("test-storage-pool-basic", new()
{
Name = "storage-pool-basic",
PoolProvisionedCapacityGb = "10240",
PoolProvisionedThroughput = "100",
StoragePoolType = "hyperdisk-throughput",
Zone = "us-central1-a",
DeletionProtection = false,
});
var project = Gcp.Organizations.GetProject.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.compute.StoragePool;
import com.pulumi.gcp.compute.StoragePoolArgs;
import com.pulumi.gcp.organizations.OrganizationsFunctions;
import com.pulumi.gcp.organizations.inputs.GetProjectArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var test_storage_pool_basic = new StoragePool("test-storage-pool-basic", StoragePoolArgs.builder()
.name("storage-pool-basic")
.poolProvisionedCapacityGb("10240")
.poolProvisionedThroughput("100")
.storagePoolType("hyperdisk-throughput")
.zone("us-central1-a")
.deletionProtection(false)
.build());
final var project = OrganizationsFunctions.getProject(GetProjectArgs.builder()
.build());
}
}
resources:
test-storage-pool-basic:
type: gcp:compute:StoragePool
properties:
name: storage-pool-basic
poolProvisionedCapacityGb: '10240'
poolProvisionedThroughput: 100
storagePoolType: hyperdisk-throughput
zone: us-central1-a
deletionProtection: false
variables:
project:
fn::invoke:
function: gcp:organizations:getProject
arguments: {}
Compute Storage Pool Full
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const balanced = gcp.compute.getStoragePoolTypes({
zone: "us-central1-a",
storagePoolType: "hyperdisk-balanced",
});
const test_storage_pool_full = new gcp.compute.StoragePool("test-storage-pool-full", {
name: "storage-pool-full",
description: "Hyperdisk Balanced storage pool",
capacityProvisioningType: "STANDARD",
poolProvisionedCapacityGb: "10240",
performanceProvisioningType: "STANDARD",
poolProvisionedIops: "10000",
poolProvisionedThroughput: "1024",
storagePoolType: balanced.then(balanced => balanced.selfLink),
deletionProtection: false,
zone: "us-central1-a",
});
const project = gcp.organizations.getProject({});
import pulumi
import pulumi_gcp as gcp
balanced = gcp.compute.get_storage_pool_types(zone="us-central1-a",
storage_pool_type="hyperdisk-balanced")
test_storage_pool_full = gcp.compute.StoragePool("test-storage-pool-full",
name="storage-pool-full",
description="Hyperdisk Balanced storage pool",
capacity_provisioning_type="STANDARD",
pool_provisioned_capacity_gb="10240",
performance_provisioning_type="STANDARD",
pool_provisioned_iops="10000",
pool_provisioned_throughput="1024",
storage_pool_type=balanced.self_link,
deletion_protection=False,
zone="us-central1-a")
project = gcp.organizations.get_project()
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
balanced, err := compute.GetStoragePoolTypes(ctx, &compute.GetStoragePoolTypesArgs{
Zone: "us-central1-a",
StoragePoolType: "hyperdisk-balanced",
}, nil)
if err != nil {
return err
}
_, err = compute.NewStoragePool(ctx, "test-storage-pool-full", &compute.StoragePoolArgs{
Name: pulumi.String("storage-pool-full"),
Description: pulumi.String("Hyperdisk Balanced storage pool"),
CapacityProvisioningType: pulumi.String("STANDARD"),
PoolProvisionedCapacityGb: pulumi.String("10240"),
PerformanceProvisioningType: pulumi.String("STANDARD"),
PoolProvisionedIops: pulumi.String("10000"),
PoolProvisionedThroughput: pulumi.String("1024"),
StoragePoolType: pulumi.String(balanced.SelfLink),
DeletionProtection: pulumi.Bool(false),
Zone: pulumi.String("us-central1-a"),
})
if err != nil {
return err
}
_, err = organizations.LookupProject(ctx, &organizations.LookupProjectArgs{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var balanced = Gcp.Compute.GetStoragePoolTypes.Invoke(new()
{
Zone = "us-central1-a",
StoragePoolType = "hyperdisk-balanced",
});
var test_storage_pool_full = new Gcp.Compute.StoragePool("test-storage-pool-full", new()
{
Name = "storage-pool-full",
Description = "Hyperdisk Balanced storage pool",
CapacityProvisioningType = "STANDARD",
PoolProvisionedCapacityGb = "10240",
PerformanceProvisioningType = "STANDARD",
PoolProvisionedIops = "10000",
PoolProvisionedThroughput = "1024",
StoragePoolType = balanced.Apply(getStoragePoolTypesResult => getStoragePoolTypesResult.SelfLink),
DeletionProtection = false,
Zone = "us-central1-a",
});
var project = Gcp.Organizations.GetProject.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.compute.ComputeFunctions;
import com.pulumi.gcp.compute.inputs.GetStoragePoolTypesArgs;
import com.pulumi.gcp.compute.StoragePool;
import com.pulumi.gcp.compute.StoragePoolArgs;
import com.pulumi.gcp.organizations.OrganizationsFunctions;
import com.pulumi.gcp.organizations.inputs.GetProjectArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var balanced = ComputeFunctions.getStoragePoolTypes(GetStoragePoolTypesArgs.builder()
.zone("us-central1-a")
.storagePoolType("hyperdisk-balanced")
.build());
var test_storage_pool_full = new StoragePool("test-storage-pool-full", StoragePoolArgs.builder()
.name("storage-pool-full")
.description("Hyperdisk Balanced storage pool")
.capacityProvisioningType("STANDARD")
.poolProvisionedCapacityGb("10240")
.performanceProvisioningType("STANDARD")
.poolProvisionedIops("10000")
.poolProvisionedThroughput("1024")
.storagePoolType(balanced.selfLink())
.deletionProtection(false)
.zone("us-central1-a")
.build());
final var project = OrganizationsFunctions.getProject(GetProjectArgs.builder()
.build());
}
}
resources:
test-storage-pool-full:
type: gcp:compute:StoragePool
properties:
name: storage-pool-full
description: Hyperdisk Balanced storage pool
capacityProvisioningType: STANDARD
poolProvisionedCapacityGb: '10240'
performanceProvisioningType: STANDARD
poolProvisionedIops: '10000'
poolProvisionedThroughput: '1024'
storagePoolType: ${balanced.selfLink}
deletionProtection: false
zone: us-central1-a
variables:
project:
fn::invoke:
function: gcp:organizations:getProject
arguments: {}
balanced:
fn::invoke:
function: gcp:compute:getStoragePoolTypes
arguments:
zone: us-central1-a
storagePoolType: hyperdisk-balanced
Create StoragePool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new StoragePool(name: string, args: StoragePoolArgs, opts?: CustomResourceOptions);
@overload
def StoragePool(resource_name: str,
args: StoragePoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def StoragePool(resource_name: str,
opts: Optional[ResourceOptions] = None,
pool_provisioned_capacity_gb: Optional[str] = None,
pool_provisioned_throughput: Optional[str] = None,
storage_pool_type: Optional[str] = None,
capacity_provisioning_type: Optional[str] = None,
deletion_protection: Optional[bool] = None,
description: Optional[str] = None,
name: Optional[str] = None,
performance_provisioning_type: Optional[str] = None,
pool_provisioned_iops: Optional[str] = None,
project: Optional[str] = None,
zone: Optional[str] = None)
func NewStoragePool(ctx *Context, name string, args StoragePoolArgs, opts ...ResourceOption) (*StoragePool, error)
public StoragePool(string name, StoragePoolArgs args, CustomResourceOptions? opts = null)
public StoragePool(String name, StoragePoolArgs args)
public StoragePool(String name, StoragePoolArgs args, CustomResourceOptions options)
type: gcp:compute:StoragePool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args StoragePoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args StoragePoolArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args StoragePoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StoragePoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args StoragePoolArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var storagePoolResource = new Gcp.Compute.StoragePool("storagePoolResource", new()
{
PoolProvisionedCapacityGb = "string",
PoolProvisionedThroughput = "string",
StoragePoolType = "string",
CapacityProvisioningType = "string",
DeletionProtection = false,
Description = "string",
Name = "string",
PerformanceProvisioningType = "string",
PoolProvisionedIops = "string",
Project = "string",
Zone = "string",
});
example, err := compute.NewStoragePool(ctx, "storagePoolResource", &compute.StoragePoolArgs{
PoolProvisionedCapacityGb: pulumi.String("string"),
PoolProvisionedThroughput: pulumi.String("string"),
StoragePoolType: pulumi.String("string"),
CapacityProvisioningType: pulumi.String("string"),
DeletionProtection: pulumi.Bool(false),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
PerformanceProvisioningType: pulumi.String("string"),
PoolProvisionedIops: pulumi.String("string"),
Project: pulumi.String("string"),
Zone: pulumi.String("string"),
})
var storagePoolResource = new com.pulumi.gcp.compute.StoragePool("storagePoolResource", com.pulumi.gcp.compute.StoragePoolArgs.builder()
.poolProvisionedCapacityGb("string")
.poolProvisionedThroughput("string")
.storagePoolType("string")
.capacityProvisioningType("string")
.deletionProtection(false)
.description("string")
.name("string")
.performanceProvisioningType("string")
.poolProvisionedIops("string")
.project("string")
.zone("string")
.build());
storage_pool_resource = gcp.compute.StoragePool("storagePoolResource",
pool_provisioned_capacity_gb="string",
pool_provisioned_throughput="string",
storage_pool_type="string",
capacity_provisioning_type="string",
deletion_protection=False,
description="string",
name="string",
performance_provisioning_type="string",
pool_provisioned_iops="string",
project="string",
zone="string")
const storagePoolResource = new gcp.compute.StoragePool("storagePoolResource", {
poolProvisionedCapacityGb: "string",
poolProvisionedThroughput: "string",
storagePoolType: "string",
capacityProvisioningType: "string",
deletionProtection: false,
description: "string",
name: "string",
performanceProvisioningType: "string",
poolProvisionedIops: "string",
project: "string",
zone: "string",
});
type: gcp:compute:StoragePool
properties:
capacityProvisioningType: string
deletionProtection: false
description: string
name: string
performanceProvisioningType: string
poolProvisionedCapacityGb: string
poolProvisionedIops: string
poolProvisionedThroughput: string
project: string
storagePoolType: string
zone: string
StoragePool Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The StoragePool resource accepts the following input properties:
- Pool
Provisioned stringCapacity Gb - Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
- Pool
Provisioned stringThroughput - Provisioned throughput, in MB/s, of the storage pool.
Only relevant if the storage pool type is
hyperdisk-balanced
orhyperdisk-throughput
. - Storage
Pool stringType - Type of the storage pool. For example, the
following are valid values:
https://www.googleapis.com/compute/v1/projects/{project_id}/zones/{zone}/storagePoolTypes/hyperdisk-balanced
hyperdisk-throughput
- Capacity
Provisioning stringType - Provisioning type of the byte capacity of the pool.
Possible values are:
STANDARD
,ADVANCED
. - Deletion
Protection bool - Description string
- A description of this resource. Provide this property when you create the resource.
- 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?
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.
Possible values are:
STANDARD
,ADVANCED
. - Pool
Provisioned stringIops - Provisioned IOPS of the storage pool.
Only relevant if the storage pool type is
hyperdisk-balanced
. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Zone string
- A reference to the zone where the storage pool resides.
- Pool
Provisioned stringCapacity Gb - Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
- Pool
Provisioned stringThroughput - Provisioned throughput, in MB/s, of the storage pool.
Only relevant if the storage pool type is
hyperdisk-balanced
orhyperdisk-throughput
. - Storage
Pool stringType - Type of the storage pool. For example, the
following are valid values:
https://www.googleapis.com/compute/v1/projects/{project_id}/zones/{zone}/storagePoolTypes/hyperdisk-balanced
hyperdisk-throughput
- Capacity
Provisioning stringType - Provisioning type of the byte capacity of the pool.
Possible values are:
STANDARD
,ADVANCED
. - Deletion
Protection bool - Description string
- A description of this resource. Provide this property when you create the resource.
- 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?
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.
Possible values are:
STANDARD
,ADVANCED
. - Pool
Provisioned stringIops - Provisioned IOPS of the storage pool.
Only relevant if the storage pool type is
hyperdisk-balanced
. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Zone string
- A reference to the zone where the storage pool resides.
- pool
Provisioned StringCapacity Gb - Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
- pool
Provisioned StringThroughput - Provisioned throughput, in MB/s, of the storage pool.
Only relevant if the storage pool type is
hyperdisk-balanced
orhyperdisk-throughput
. - storage
Pool StringType - Type of the storage pool. For example, the
following are valid values:
https://www.googleapis.com/compute/v1/projects/{project_id}/zones/{zone}/storagePoolTypes/hyperdisk-balanced
hyperdisk-throughput
- capacity
Provisioning StringType - Provisioning type of the byte capacity of the pool.
Possible values are:
STANDARD
,ADVANCED
. - deletion
Protection Boolean - description String
- A description of this resource. Provide this property when you create the resource.
- 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?
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.
Possible values are:
STANDARD
,ADVANCED
. - pool
Provisioned StringIops - Provisioned IOPS of the storage pool.
Only relevant if the storage pool type is
hyperdisk-balanced
. - project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- zone String
- A reference to the zone where the storage pool resides.
- pool
Provisioned stringCapacity Gb - Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
- pool
Provisioned stringThroughput - Provisioned throughput, in MB/s, of the storage pool.
Only relevant if the storage pool type is
hyperdisk-balanced
orhyperdisk-throughput
. - storage
Pool stringType - Type of the storage pool. For example, the
following are valid values:
https://www.googleapis.com/compute/v1/projects/{project_id}/zones/{zone}/storagePoolTypes/hyperdisk-balanced
hyperdisk-throughput
- capacity
Provisioning stringType - Provisioning type of the byte capacity of the pool.
Possible values are:
STANDARD
,ADVANCED
. - deletion
Protection boolean - description string
- A description of this resource. Provide this property when you create the resource.
- 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?
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.
Possible values are:
STANDARD
,ADVANCED
. - pool
Provisioned stringIops - Provisioned IOPS of the storage pool.
Only relevant if the storage pool type is
hyperdisk-balanced
. - project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- zone string
- A reference to the zone where the storage pool resides.
- pool_
provisioned_ strcapacity_ gb - Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
- pool_
provisioned_ strthroughput - Provisioned throughput, in MB/s, of the storage pool.
Only relevant if the storage pool type is
hyperdisk-balanced
orhyperdisk-throughput
. - storage_
pool_ strtype - Type of the storage pool. For example, the
following are valid values:
https://www.googleapis.com/compute/v1/projects/{project_id}/zones/{zone}/storagePoolTypes/hyperdisk-balanced
hyperdisk-throughput
- capacity_
provisioning_ strtype - Provisioning type of the byte capacity of the pool.
Possible values are:
STANDARD
,ADVANCED
. - deletion_
protection bool - description str
- A description of this resource. Provide this property when you create the resource.
- 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?
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.
Possible values are:
STANDARD
,ADVANCED
. - pool_
provisioned_ striops - Provisioned IOPS of the storage pool.
Only relevant if the storage pool type is
hyperdisk-balanced
. - project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- zone str
- A reference to the zone where the storage pool resides.
- pool
Provisioned StringCapacity Gb - Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
- pool
Provisioned StringThroughput - Provisioned throughput, in MB/s, of the storage pool.
Only relevant if the storage pool type is
hyperdisk-balanced
orhyperdisk-throughput
. - storage
Pool StringType - Type of the storage pool. For example, the
following are valid values:
https://www.googleapis.com/compute/v1/projects/{project_id}/zones/{zone}/storagePoolTypes/hyperdisk-balanced
hyperdisk-throughput
- capacity
Provisioning StringType - Provisioning type of the byte capacity of the pool.
Possible values are:
STANDARD
,ADVANCED
. - deletion
Protection Boolean - description String
- A description of this resource. Provide this property when you create the resource.
- 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?
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.
Possible values are:
STANDARD
,ADVANCED
. - pool
Provisioned StringIops - Provisioned IOPS of the storage pool.
Only relevant if the storage pool type is
hyperdisk-balanced
. - project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- zone String
- A reference to the zone where the storage pool resides.
Outputs
All input properties are implicitly available as output properties. Additionally, the StoragePool resource produces the following output properties:
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kind string
- Type of the resource.
- Label
Fingerprint string - The fingerprint used for optimistic locking of this resource. Used internally during updates.
- Resource
Statuses List<StoragePool Resource Status> - Status information for the storage pool resource. Structure is documented below.
- Statuses
List<Storage
Pool Status> - Status information for the storage pool resource. Structure is documented below.
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kind string
- Type of the resource.
- Label
Fingerprint string - The fingerprint used for optimistic locking of this resource. Used internally during updates.
- Resource
Statuses []StoragePool Resource Status - Status information for the storage pool resource. Structure is documented below.
- Statuses
[]Storage
Pool Status - Status information for the storage pool resource. Structure is documented below.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- id String
- The provider-assigned unique ID for this managed resource.
- kind String
- Type of the resource.
- label
Fingerprint String - The fingerprint used for optimistic locking of this resource. Used internally during updates.
- resource
Statuses List<StoragePool Resource Status> - Status information for the storage pool resource. Structure is documented below.
- statuses
List<Storage
Pool Status> - Status information for the storage pool resource. Structure is documented below.
- creation
Timestamp string - Creation timestamp in RFC3339 text format.
- id string
- The provider-assigned unique ID for this managed resource.
- kind string
- Type of the resource.
- label
Fingerprint string - The fingerprint used for optimistic locking of this resource. Used internally during updates.
- resource
Statuses StoragePool Resource Status[] - Status information for the storage pool resource. Structure is documented below.
- statuses
Storage
Pool Status[] - Status information for the storage pool resource. Structure is documented below.
- creation_
timestamp str - Creation timestamp in RFC3339 text format.
- id str
- The provider-assigned unique ID for this managed resource.
- kind str
- Type of the resource.
- label_
fingerprint str - The fingerprint used for optimistic locking of this resource. Used internally during updates.
- resource_
statuses Sequence[StoragePool Resource Status] - Status information for the storage pool resource. Structure is documented below.
- statuses
Sequence[Storage
Pool Status] - Status information for the storage pool resource. Structure is documented below.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- id String
- The provider-assigned unique ID for this managed resource.
- kind String
- Type of the resource.
- label
Fingerprint String - The fingerprint used for optimistic locking of this resource. Used internally during updates.
- resource
Statuses List<Property Map> - Status information for the storage pool resource. Structure is documented below.
- statuses List<Property Map>
- Status information for the storage pool resource. Structure is documented below.
Look up Existing StoragePool Resource
Get an existing StoragePool resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: StoragePoolState, opts?: CustomResourceOptions): StoragePool
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
capacity_provisioning_type: Optional[str] = None,
creation_timestamp: Optional[str] = None,
deletion_protection: Optional[bool] = None,
description: Optional[str] = None,
kind: Optional[str] = None,
label_fingerprint: Optional[str] = None,
name: Optional[str] = None,
performance_provisioning_type: Optional[str] = None,
pool_provisioned_capacity_gb: Optional[str] = None,
pool_provisioned_iops: Optional[str] = None,
pool_provisioned_throughput: Optional[str] = None,
project: Optional[str] = None,
resource_statuses: Optional[Sequence[StoragePoolResourceStatusArgs]] = None,
statuses: Optional[Sequence[StoragePoolStatusArgs]] = None,
storage_pool_type: Optional[str] = None,
zone: Optional[str] = None) -> StoragePool
func GetStoragePool(ctx *Context, name string, id IDInput, state *StoragePoolState, opts ...ResourceOption) (*StoragePool, error)
public static StoragePool Get(string name, Input<string> id, StoragePoolState? state, CustomResourceOptions? opts = null)
public static StoragePool get(String name, Output<String> id, StoragePoolState state, CustomResourceOptions options)
resources: _: type: gcp:compute:StoragePool get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Capacity
Provisioning stringType - Provisioning type of the byte capacity of the pool.
Possible values are:
STANDARD
,ADVANCED
. - Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Deletion
Protection bool - Description string
- A description of this resource. Provide this property when you create the resource.
- Kind string
- Type of the resource.
- Label
Fingerprint string - The fingerprint used for optimistic locking of this resource. Used internally during updates.
- 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?
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.
Possible values are:
STANDARD
,ADVANCED
. - Pool
Provisioned stringCapacity Gb - Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
- Pool
Provisioned stringIops - Provisioned IOPS of the storage pool.
Only relevant if the storage pool type is
hyperdisk-balanced
. - Pool
Provisioned stringThroughput - Provisioned throughput, in MB/s, of the storage pool.
Only relevant if the storage pool type is
hyperdisk-balanced
orhyperdisk-throughput
. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Resource
Statuses List<StoragePool Resource Status> - Status information for the storage pool resource. Structure is documented below.
- Statuses
List<Storage
Pool Status> - Status information for the storage pool resource. Structure is documented below.
- Storage
Pool stringType - Type of the storage pool. For example, the
following are valid values:
https://www.googleapis.com/compute/v1/projects/{project_id}/zones/{zone}/storagePoolTypes/hyperdisk-balanced
hyperdisk-throughput
- Zone string
- A reference to the zone where the storage pool resides.
- Capacity
Provisioning stringType - Provisioning type of the byte capacity of the pool.
Possible values are:
STANDARD
,ADVANCED
. - Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Deletion
Protection bool - Description string
- A description of this resource. Provide this property when you create the resource.
- Kind string
- Type of the resource.
- Label
Fingerprint string - The fingerprint used for optimistic locking of this resource. Used internally during updates.
- 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?
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.
Possible values are:
STANDARD
,ADVANCED
. - Pool
Provisioned stringCapacity Gb - Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
- Pool
Provisioned stringIops - Provisioned IOPS of the storage pool.
Only relevant if the storage pool type is
hyperdisk-balanced
. - Pool
Provisioned stringThroughput - Provisioned throughput, in MB/s, of the storage pool.
Only relevant if the storage pool type is
hyperdisk-balanced
orhyperdisk-throughput
. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Resource
Statuses []StoragePool Resource Status Args - Status information for the storage pool resource. Structure is documented below.
- Statuses
[]Storage
Pool Status Args - Status information for the storage pool resource. Structure is documented below.
- Storage
Pool stringType - Type of the storage pool. For example, the
following are valid values:
https://www.googleapis.com/compute/v1/projects/{project_id}/zones/{zone}/storagePoolTypes/hyperdisk-balanced
hyperdisk-throughput
- Zone string
- A reference to the zone where the storage pool resides.
- capacity
Provisioning StringType - Provisioning type of the byte capacity of the pool.
Possible values are:
STANDARD
,ADVANCED
. - creation
Timestamp String - Creation timestamp in RFC3339 text format.
- deletion
Protection Boolean - description String
- A description of this resource. Provide this property when you create the resource.
- kind String
- Type of the resource.
- label
Fingerprint String - The fingerprint used for optimistic locking of this resource. Used internally during updates.
- 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?
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.
Possible values are:
STANDARD
,ADVANCED
. - pool
Provisioned StringCapacity Gb - Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
- pool
Provisioned StringIops - Provisioned IOPS of the storage pool.
Only relevant if the storage pool type is
hyperdisk-balanced
. - pool
Provisioned StringThroughput - Provisioned throughput, in MB/s, of the storage pool.
Only relevant if the storage pool type is
hyperdisk-balanced
orhyperdisk-throughput
. - project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- resource
Statuses List<StoragePool Resource Status> - Status information for the storage pool resource. Structure is documented below.
- statuses
List<Storage
Pool Status> - Status information for the storage pool resource. Structure is documented below.
- storage
Pool StringType - Type of the storage pool. For example, the
following are valid values:
https://www.googleapis.com/compute/v1/projects/{project_id}/zones/{zone}/storagePoolTypes/hyperdisk-balanced
hyperdisk-throughput
- zone String
- A reference to the zone where the storage pool resides.
- capacity
Provisioning stringType - Provisioning type of the byte capacity of the pool.
Possible values are:
STANDARD
,ADVANCED
. - creation
Timestamp string - Creation timestamp in RFC3339 text format.
- deletion
Protection boolean - description string
- A description of this resource. Provide this property when you create the resource.
- kind string
- Type of the resource.
- label
Fingerprint string - The fingerprint used for optimistic locking of this resource. Used internally during updates.
- 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?
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.
Possible values are:
STANDARD
,ADVANCED
. - pool
Provisioned stringCapacity Gb - Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
- pool
Provisioned stringIops - Provisioned IOPS of the storage pool.
Only relevant if the storage pool type is
hyperdisk-balanced
. - pool
Provisioned stringThroughput - Provisioned throughput, in MB/s, of the storage pool.
Only relevant if the storage pool type is
hyperdisk-balanced
orhyperdisk-throughput
. - project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- resource
Statuses StoragePool Resource Status[] - Status information for the storage pool resource. Structure is documented below.
- statuses
Storage
Pool Status[] - Status information for the storage pool resource. Structure is documented below.
- storage
Pool stringType - Type of the storage pool. For example, the
following are valid values:
https://www.googleapis.com/compute/v1/projects/{project_id}/zones/{zone}/storagePoolTypes/hyperdisk-balanced
hyperdisk-throughput
- zone string
- A reference to the zone where the storage pool resides.
- capacity_
provisioning_ strtype - Provisioning type of the byte capacity of the pool.
Possible values are:
STANDARD
,ADVANCED
. - creation_
timestamp str - Creation timestamp in RFC3339 text format.
- deletion_
protection bool - description str
- A description of this resource. Provide this property when you create the resource.
- kind str
- Type of the resource.
- label_
fingerprint str - The fingerprint used for optimistic locking of this resource. Used internally during updates.
- 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?
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.
Possible values are:
STANDARD
,ADVANCED
. - pool_
provisioned_ strcapacity_ gb - Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
- pool_
provisioned_ striops - Provisioned IOPS of the storage pool.
Only relevant if the storage pool type is
hyperdisk-balanced
. - pool_
provisioned_ strthroughput - Provisioned throughput, in MB/s, of the storage pool.
Only relevant if the storage pool type is
hyperdisk-balanced
orhyperdisk-throughput
. - project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- resource_
statuses Sequence[StoragePool Resource Status Args] - Status information for the storage pool resource. Structure is documented below.
- statuses
Sequence[Storage
Pool Status Args] - Status information for the storage pool resource. Structure is documented below.
- storage_
pool_ strtype - Type of the storage pool. For example, the
following are valid values:
https://www.googleapis.com/compute/v1/projects/{project_id}/zones/{zone}/storagePoolTypes/hyperdisk-balanced
hyperdisk-throughput
- zone str
- A reference to the zone where the storage pool resides.
- capacity
Provisioning StringType - Provisioning type of the byte capacity of the pool.
Possible values are:
STANDARD
,ADVANCED
. - creation
Timestamp String - Creation timestamp in RFC3339 text format.
- deletion
Protection Boolean - description String
- A description of this resource. Provide this property when you create the resource.
- kind String
- Type of the resource.
- label
Fingerprint String - The fingerprint used for optimistic locking of this resource. Used internally during updates.
- 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?
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.
Possible values are:
STANDARD
,ADVANCED
. - pool
Provisioned StringCapacity Gb - Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
- pool
Provisioned StringIops - Provisioned IOPS of the storage pool.
Only relevant if the storage pool type is
hyperdisk-balanced
. - pool
Provisioned StringThroughput - Provisioned throughput, in MB/s, of the storage pool.
Only relevant if the storage pool type is
hyperdisk-balanced
orhyperdisk-throughput
. - project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- resource
Statuses List<Property Map> - Status information for the storage pool resource. Structure is documented below.
- statuses List<Property Map>
- Status information for the storage pool resource. Structure is documented below.
- storage
Pool StringType - Type of the storage pool. For example, the
following are valid values:
https://www.googleapis.com/compute/v1/projects/{project_id}/zones/{zone}/storagePoolTypes/hyperdisk-balanced
hyperdisk-throughput
- zone String
- A reference to the zone where the storage pool resides.
Supporting Types
StoragePoolResourceStatus, StoragePoolResourceStatusArgs
- Disk
Count string - (Output) Number of disks used.
- Last
Resize stringTimestamp - (Output) Timestamp of the last successful resize in RFC3339 text format.
- Max
Total stringProvisioned Disk Capacity Gb - (Output) Maximum allowed aggregate disk size in gigabytes.
- Pool
Used stringCapacity Bytes - (Output) Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks.
- Pool
Used stringIops - (Output) Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. For more information, see https://cloud.google.com/compute/docs/disks/storage-pools.
- Pool
Used stringThroughput - (Output) Sum of all the disks' provisioned throughput in MB/s.
- Pool
User stringWritten Bytes - (Output) Amount of data written into the pool, before it is compacted.
- Total
Provisioned stringDisk Capacity Gb - (Output) Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity.
- Total
Provisioned stringDisk Iops - (Output) Sum of all the disks' provisioned IOPS.
- Total
Provisioned stringDisk Throughput - (Output) Sum of all the disks' provisioned throughput in MB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity.
- Disk
Count string - (Output) Number of disks used.
- Last
Resize stringTimestamp - (Output) Timestamp of the last successful resize in RFC3339 text format.
- Max
Total stringProvisioned Disk Capacity Gb - (Output) Maximum allowed aggregate disk size in gigabytes.
- Pool
Used stringCapacity Bytes - (Output) Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks.
- Pool
Used stringIops - (Output) Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. For more information, see https://cloud.google.com/compute/docs/disks/storage-pools.
- Pool
Used stringThroughput - (Output) Sum of all the disks' provisioned throughput in MB/s.
- Pool
User stringWritten Bytes - (Output) Amount of data written into the pool, before it is compacted.
- Total
Provisioned stringDisk Capacity Gb - (Output) Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity.
- Total
Provisioned stringDisk Iops - (Output) Sum of all the disks' provisioned IOPS.
- Total
Provisioned stringDisk Throughput - (Output) Sum of all the disks' provisioned throughput in MB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity.
- disk
Count String - (Output) Number of disks used.
- last
Resize StringTimestamp - (Output) Timestamp of the last successful resize in RFC3339 text format.
- max
Total StringProvisioned Disk Capacity Gb - (Output) Maximum allowed aggregate disk size in gigabytes.
- pool
Used StringCapacity Bytes - (Output) Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks.
- pool
Used StringIops - (Output) Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. For more information, see https://cloud.google.com/compute/docs/disks/storage-pools.
- pool
Used StringThroughput - (Output) Sum of all the disks' provisioned throughput in MB/s.
- pool
User StringWritten Bytes - (Output) Amount of data written into the pool, before it is compacted.
- total
Provisioned StringDisk Capacity Gb - (Output) Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity.
- total
Provisioned StringDisk Iops - (Output) Sum of all the disks' provisioned IOPS.
- total
Provisioned StringDisk Throughput - (Output) Sum of all the disks' provisioned throughput in MB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity.
- disk
Count string - (Output) Number of disks used.
- last
Resize stringTimestamp - (Output) Timestamp of the last successful resize in RFC3339 text format.
- max
Total stringProvisioned Disk Capacity Gb - (Output) Maximum allowed aggregate disk size in gigabytes.
- pool
Used stringCapacity Bytes - (Output) Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks.
- pool
Used stringIops - (Output) Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. For more information, see https://cloud.google.com/compute/docs/disks/storage-pools.
- pool
Used stringThroughput - (Output) Sum of all the disks' provisioned throughput in MB/s.
- pool
User stringWritten Bytes - (Output) Amount of data written into the pool, before it is compacted.
- total
Provisioned stringDisk Capacity Gb - (Output) Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity.
- total
Provisioned stringDisk Iops - (Output) Sum of all the disks' provisioned IOPS.
- total
Provisioned stringDisk Throughput - (Output) Sum of all the disks' provisioned throughput in MB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity.
- disk_
count str - (Output) Number of disks used.
- last_
resize_ strtimestamp - (Output) Timestamp of the last successful resize in RFC3339 text format.
- max_
total_ strprovisioned_ disk_ capacity_ gb - (Output) Maximum allowed aggregate disk size in gigabytes.
- pool_
used_ strcapacity_ bytes - (Output) Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks.
- pool_
used_ striops - (Output) Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. For more information, see https://cloud.google.com/compute/docs/disks/storage-pools.
- pool_
used_ strthroughput - (Output) Sum of all the disks' provisioned throughput in MB/s.
- pool_
user_ strwritten_ bytes - (Output) Amount of data written into the pool, before it is compacted.
- total_
provisioned_ strdisk_ capacity_ gb - (Output) Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity.
- total_
provisioned_ strdisk_ iops - (Output) Sum of all the disks' provisioned IOPS.
- total_
provisioned_ strdisk_ throughput - (Output) Sum of all the disks' provisioned throughput in MB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity.
- disk
Count String - (Output) Number of disks used.
- last
Resize StringTimestamp - (Output) Timestamp of the last successful resize in RFC3339 text format.
- max
Total StringProvisioned Disk Capacity Gb - (Output) Maximum allowed aggregate disk size in gigabytes.
- pool
Used StringCapacity Bytes - (Output) Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks.
- pool
Used StringIops - (Output) Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. For more information, see https://cloud.google.com/compute/docs/disks/storage-pools.
- pool
Used StringThroughput - (Output) Sum of all the disks' provisioned throughput in MB/s.
- pool
User StringWritten Bytes - (Output) Amount of data written into the pool, before it is compacted.
- total
Provisioned StringDisk Capacity Gb - (Output) Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity.
- total
Provisioned StringDisk Iops - (Output) Sum of all the disks' provisioned IOPS.
- total
Provisioned StringDisk Throughput - (Output) Sum of all the disks' provisioned throughput in MB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity.
StoragePoolStatus, StoragePoolStatusArgs
- Disk
Count string - (Output) Number of disks used.
- Last
Resize stringTimestamp - (Output) Timestamp of the last successful resize in RFC3339 text format.
- Max
Total stringProvisioned Disk Capacity Gb - (Output) Maximum allowed aggregate disk size in gigabytes.
- Pool
Used stringCapacity Bytes - (Output) Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks.
- Pool
Used stringIops - (Output) Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. For more information, see https://cloud.google.com/compute/docs/disks/storage-pools.
- Pool
Used stringThroughput - (Output) Sum of all the disks' provisioned throughput in MB/s.
- Pool
User stringWritten Bytes - (Output) Amount of data written into the pool, before it is compacted.
- Total
Provisioned stringDisk Capacity Gb - (Output) Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity.
- Total
Provisioned stringDisk Iops - (Output) Sum of all the disks' provisioned IOPS.
- Total
Provisioned stringDisk Throughput - (Output) Sum of all the disks' provisioned throughput in MB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity.
- Disk
Count string - (Output) Number of disks used.
- Last
Resize stringTimestamp - (Output) Timestamp of the last successful resize in RFC3339 text format.
- Max
Total stringProvisioned Disk Capacity Gb - (Output) Maximum allowed aggregate disk size in gigabytes.
- Pool
Used stringCapacity Bytes - (Output) Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks.
- Pool
Used stringIops - (Output) Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. For more information, see https://cloud.google.com/compute/docs/disks/storage-pools.
- Pool
Used stringThroughput - (Output) Sum of all the disks' provisioned throughput in MB/s.
- Pool
User stringWritten Bytes - (Output) Amount of data written into the pool, before it is compacted.
- Total
Provisioned stringDisk Capacity Gb - (Output) Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity.
- Total
Provisioned stringDisk Iops - (Output) Sum of all the disks' provisioned IOPS.
- Total
Provisioned stringDisk Throughput - (Output) Sum of all the disks' provisioned throughput in MB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity.
- disk
Count String - (Output) Number of disks used.
- last
Resize StringTimestamp - (Output) Timestamp of the last successful resize in RFC3339 text format.
- max
Total StringProvisioned Disk Capacity Gb - (Output) Maximum allowed aggregate disk size in gigabytes.
- pool
Used StringCapacity Bytes - (Output) Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks.
- pool
Used StringIops - (Output) Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. For more information, see https://cloud.google.com/compute/docs/disks/storage-pools.
- pool
Used StringThroughput - (Output) Sum of all the disks' provisioned throughput in MB/s.
- pool
User StringWritten Bytes - (Output) Amount of data written into the pool, before it is compacted.
- total
Provisioned StringDisk Capacity Gb - (Output) Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity.
- total
Provisioned StringDisk Iops - (Output) Sum of all the disks' provisioned IOPS.
- total
Provisioned StringDisk Throughput - (Output) Sum of all the disks' provisioned throughput in MB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity.
- disk
Count string - (Output) Number of disks used.
- last
Resize stringTimestamp - (Output) Timestamp of the last successful resize in RFC3339 text format.
- max
Total stringProvisioned Disk Capacity Gb - (Output) Maximum allowed aggregate disk size in gigabytes.
- pool
Used stringCapacity Bytes - (Output) Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks.
- pool
Used stringIops - (Output) Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. For more information, see https://cloud.google.com/compute/docs/disks/storage-pools.
- pool
Used stringThroughput - (Output) Sum of all the disks' provisioned throughput in MB/s.
- pool
User stringWritten Bytes - (Output) Amount of data written into the pool, before it is compacted.
- total
Provisioned stringDisk Capacity Gb - (Output) Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity.
- total
Provisioned stringDisk Iops - (Output) Sum of all the disks' provisioned IOPS.
- total
Provisioned stringDisk Throughput - (Output) Sum of all the disks' provisioned throughput in MB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity.
- disk_
count str - (Output) Number of disks used.
- last_
resize_ strtimestamp - (Output) Timestamp of the last successful resize in RFC3339 text format.
- max_
total_ strprovisioned_ disk_ capacity_ gb - (Output) Maximum allowed aggregate disk size in gigabytes.
- pool_
used_ strcapacity_ bytes - (Output) Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks.
- pool_
used_ striops - (Output) Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. For more information, see https://cloud.google.com/compute/docs/disks/storage-pools.
- pool_
used_ strthroughput - (Output) Sum of all the disks' provisioned throughput in MB/s.
- pool_
user_ strwritten_ bytes - (Output) Amount of data written into the pool, before it is compacted.
- total_
provisioned_ strdisk_ capacity_ gb - (Output) Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity.
- total_
provisioned_ strdisk_ iops - (Output) Sum of all the disks' provisioned IOPS.
- total_
provisioned_ strdisk_ throughput - (Output) Sum of all the disks' provisioned throughput in MB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity.
- disk
Count String - (Output) Number of disks used.
- last
Resize StringTimestamp - (Output) Timestamp of the last successful resize in RFC3339 text format.
- max
Total StringProvisioned Disk Capacity Gb - (Output) Maximum allowed aggregate disk size in gigabytes.
- pool
Used StringCapacity Bytes - (Output) Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks.
- pool
Used StringIops - (Output) Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. For more information, see https://cloud.google.com/compute/docs/disks/storage-pools.
- pool
Used StringThroughput - (Output) Sum of all the disks' provisioned throughput in MB/s.
- pool
User StringWritten Bytes - (Output) Amount of data written into the pool, before it is compacted.
- total
Provisioned StringDisk Capacity Gb - (Output) Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity.
- total
Provisioned StringDisk Iops - (Output) Sum of all the disks' provisioned IOPS.
- total
Provisioned StringDisk Throughput - (Output) Sum of all the disks' provisioned throughput in MB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity.
Import
StoragePool can be imported using any of these accepted formats:
projects/{{project}}/zones/{{zone}}/storagePools/{{name}}
{{project}}/{{zone}}/{{name}}
{{zone}}/{{name}}
{{name}}
When using the pulumi import
command, StoragePool can be imported using one of the formats above. For example:
$ pulumi import gcp:compute/storagePool:StoragePool default projects/{{project}}/zones/{{zone}}/storagePools/{{name}}
$ pulumi import gcp:compute/storagePool:StoragePool default {{project}}/{{zone}}/{{name}}
$ pulumi import gcp:compute/storagePool:StoragePool default {{zone}}/{{name}}
$ pulumi import gcp:compute/storagePool:StoragePool default {{name}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-beta
Terraform Provider.