1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. compute
  5. StoragePool
Google Cloud v8.28.0 published on Tuesday, Apr 29, 2025 by Pulumi

gcp.compute.StoragePool

Explore with Pulumi AI

gcp logo
Google Cloud v8.28.0 published on Tuesday, Apr 29, 2025 by Pulumi

    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:

    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:

    PoolProvisionedCapacityGb string
    Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
    PoolProvisionedThroughput string
    Provisioned throughput, in MB/s, of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
    StoragePoolType string
    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

    CapacityProvisioningType string
    Provisioning type of the byte capacity of the pool. Possible values are: STANDARD, ADVANCED.
    DeletionProtection 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.
    PerformanceProvisioningType string
    Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS. Possible values are: STANDARD, ADVANCED.
    PoolProvisionedIops string
    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.
    PoolProvisionedCapacityGb string
    Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
    PoolProvisionedThroughput string
    Provisioned throughput, in MB/s, of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
    StoragePoolType string
    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

    CapacityProvisioningType string
    Provisioning type of the byte capacity of the pool. Possible values are: STANDARD, ADVANCED.
    DeletionProtection 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.
    PerformanceProvisioningType string
    Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS. Possible values are: STANDARD, ADVANCED.
    PoolProvisionedIops string
    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.
    poolProvisionedCapacityGb String
    Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
    poolProvisionedThroughput String
    Provisioned throughput, in MB/s, of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
    storagePoolType String
    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

    capacityProvisioningType String
    Provisioning type of the byte capacity of the pool. Possible values are: STANDARD, ADVANCED.
    deletionProtection 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.
    performanceProvisioningType String
    Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS. Possible values are: STANDARD, ADVANCED.
    poolProvisionedIops String
    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.
    poolProvisionedCapacityGb string
    Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
    poolProvisionedThroughput string
    Provisioned throughput, in MB/s, of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
    storagePoolType string
    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

    capacityProvisioningType string
    Provisioning type of the byte capacity of the pool. Possible values are: STANDARD, ADVANCED.
    deletionProtection 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.
    performanceProvisioningType string
    Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS. Possible values are: STANDARD, ADVANCED.
    poolProvisionedIops string
    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_capacity_gb str
    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_throughput str
    Provisioned throughput, in MB/s, of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
    storage_pool_type str
    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_type str
    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_type str
    Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS. Possible values are: STANDARD, ADVANCED.
    pool_provisioned_iops str
    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.
    poolProvisionedCapacityGb String
    Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
    poolProvisionedThroughput String
    Provisioned throughput, in MB/s, of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
    storagePoolType String
    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

    capacityProvisioningType String
    Provisioning type of the byte capacity of the pool. Possible values are: STANDARD, ADVANCED.
    deletionProtection 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.
    performanceProvisioningType String
    Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS. Possible values are: STANDARD, ADVANCED.
    poolProvisionedIops String
    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:

    CreationTimestamp string
    Creation timestamp in RFC3339 text format.
    Id string
    The provider-assigned unique ID for this managed resource.
    Kind string
    Type of the resource.
    LabelFingerprint string
    The fingerprint used for optimistic locking of this resource. Used internally during updates.
    ResourceStatuses List<StoragePoolResourceStatus>
    Status information for the storage pool resource. Structure is documented below.
    Statuses List<StoragePoolStatus>
    Status information for the storage pool resource. Structure is documented below.
    CreationTimestamp string
    Creation timestamp in RFC3339 text format.
    Id string
    The provider-assigned unique ID for this managed resource.
    Kind string
    Type of the resource.
    LabelFingerprint string
    The fingerprint used for optimistic locking of this resource. Used internally during updates.
    ResourceStatuses []StoragePoolResourceStatus
    Status information for the storage pool resource. Structure is documented below.
    Statuses []StoragePoolStatus
    Status information for the storage pool resource. Structure is documented below.
    creationTimestamp String
    Creation timestamp in RFC3339 text format.
    id String
    The provider-assigned unique ID for this managed resource.
    kind String
    Type of the resource.
    labelFingerprint String
    The fingerprint used for optimistic locking of this resource. Used internally during updates.
    resourceStatuses List<StoragePoolResourceStatus>
    Status information for the storage pool resource. Structure is documented below.
    statuses List<StoragePoolStatus>
    Status information for the storage pool resource. Structure is documented below.
    creationTimestamp string
    Creation timestamp in RFC3339 text format.
    id string
    The provider-assigned unique ID for this managed resource.
    kind string
    Type of the resource.
    labelFingerprint string
    The fingerprint used for optimistic locking of this resource. Used internally during updates.
    resourceStatuses StoragePoolResourceStatus[]
    Status information for the storage pool resource. Structure is documented below.
    statuses StoragePoolStatus[]
    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[StoragePoolResourceStatus]
    Status information for the storage pool resource. Structure is documented below.
    statuses Sequence[StoragePoolStatus]
    Status information for the storage pool resource. Structure is documented below.
    creationTimestamp String
    Creation timestamp in RFC3339 text format.
    id String
    The provider-assigned unique ID for this managed resource.
    kind String
    Type of the resource.
    labelFingerprint String
    The fingerprint used for optimistic locking of this resource. Used internally during updates.
    resourceStatuses 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.
    The following state arguments are supported:
    CapacityProvisioningType string
    Provisioning type of the byte capacity of the pool. Possible values are: STANDARD, ADVANCED.
    CreationTimestamp string
    Creation timestamp in RFC3339 text format.
    DeletionProtection bool
    Description string
    A description of this resource. Provide this property when you create the resource.
    Kind string
    Type of the resource.
    LabelFingerprint 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.
    PerformanceProvisioningType string
    Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS. Possible values are: STANDARD, ADVANCED.
    PoolProvisionedCapacityGb string
    Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
    PoolProvisionedIops string
    Provisioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced.
    PoolProvisionedThroughput string
    Provisioned throughput, in MB/s, of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    ResourceStatuses List<StoragePoolResourceStatus>
    Status information for the storage pool resource. Structure is documented below.
    Statuses List<StoragePoolStatus>
    Status information for the storage pool resource. Structure is documented below.
    StoragePoolType string
    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.
    CapacityProvisioningType string
    Provisioning type of the byte capacity of the pool. Possible values are: STANDARD, ADVANCED.
    CreationTimestamp string
    Creation timestamp in RFC3339 text format.
    DeletionProtection bool
    Description string
    A description of this resource. Provide this property when you create the resource.
    Kind string
    Type of the resource.
    LabelFingerprint 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.
    PerformanceProvisioningType string
    Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS. Possible values are: STANDARD, ADVANCED.
    PoolProvisionedCapacityGb string
    Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
    PoolProvisionedIops string
    Provisioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced.
    PoolProvisionedThroughput string
    Provisioned throughput, in MB/s, of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    ResourceStatuses []StoragePoolResourceStatusArgs
    Status information for the storage pool resource. Structure is documented below.
    Statuses []StoragePoolStatusArgs
    Status information for the storage pool resource. Structure is documented below.
    StoragePoolType string
    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.
    capacityProvisioningType String
    Provisioning type of the byte capacity of the pool. Possible values are: STANDARD, ADVANCED.
    creationTimestamp String
    Creation timestamp in RFC3339 text format.
    deletionProtection Boolean
    description String
    A description of this resource. Provide this property when you create the resource.
    kind String
    Type of the resource.
    labelFingerprint 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.
    performanceProvisioningType String
    Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS. Possible values are: STANDARD, ADVANCED.
    poolProvisionedCapacityGb String
    Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
    poolProvisionedIops String
    Provisioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced.
    poolProvisionedThroughput String
    Provisioned throughput, in MB/s, of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    resourceStatuses List<StoragePoolResourceStatus>
    Status information for the storage pool resource. Structure is documented below.
    statuses List<StoragePoolStatus>
    Status information for the storage pool resource. Structure is documented below.
    storagePoolType String
    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.
    capacityProvisioningType string
    Provisioning type of the byte capacity of the pool. Possible values are: STANDARD, ADVANCED.
    creationTimestamp string
    Creation timestamp in RFC3339 text format.
    deletionProtection boolean
    description string
    A description of this resource. Provide this property when you create the resource.
    kind string
    Type of the resource.
    labelFingerprint 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.
    performanceProvisioningType string
    Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS. Possible values are: STANDARD, ADVANCED.
    poolProvisionedCapacityGb string
    Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
    poolProvisionedIops string
    Provisioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced.
    poolProvisionedThroughput string
    Provisioned throughput, in MB/s, of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    resourceStatuses StoragePoolResourceStatus[]
    Status information for the storage pool resource. Structure is documented below.
    statuses StoragePoolStatus[]
    Status information for the storage pool resource. Structure is documented below.
    storagePoolType string
    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_type str
    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_type str
    Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS. Possible values are: STANDARD, ADVANCED.
    pool_provisioned_capacity_gb str
    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_iops str
    Provisioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced.
    pool_provisioned_throughput str
    Provisioned throughput, in MB/s, of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-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[StoragePoolResourceStatusArgs]
    Status information for the storage pool resource. Structure is documented below.
    statuses Sequence[StoragePoolStatusArgs]
    Status information for the storage pool resource. Structure is documented below.
    storage_pool_type str
    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.
    capacityProvisioningType String
    Provisioning type of the byte capacity of the pool. Possible values are: STANDARD, ADVANCED.
    creationTimestamp String
    Creation timestamp in RFC3339 text format.
    deletionProtection Boolean
    description String
    A description of this resource. Provide this property when you create the resource.
    kind String
    Type of the resource.
    labelFingerprint 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.
    performanceProvisioningType String
    Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS. Possible values are: STANDARD, ADVANCED.
    poolProvisionedCapacityGb String
    Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
    poolProvisionedIops String
    Provisioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced.
    poolProvisionedThroughput String
    Provisioned throughput, in MB/s, of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    resourceStatuses 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.
    storagePoolType String
    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

    DiskCount string
    (Output) Number of disks used.
    LastResizeTimestamp string
    (Output) Timestamp of the last successful resize in RFC3339 text format.
    MaxTotalProvisionedDiskCapacityGb string
    (Output) Maximum allowed aggregate disk size in gigabytes.
    PoolUsedCapacityBytes string
    (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.
    PoolUsedIops string
    (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.
    PoolUsedThroughput string
    (Output) Sum of all the disks' provisioned throughput in MB/s.
    PoolUserWrittenBytes string
    (Output) Amount of data written into the pool, before it is compacted.
    TotalProvisionedDiskCapacityGb string
    (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.
    TotalProvisionedDiskIops string
    (Output) Sum of all the disks' provisioned IOPS.
    TotalProvisionedDiskThroughput string
    (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.
    DiskCount string
    (Output) Number of disks used.
    LastResizeTimestamp string
    (Output) Timestamp of the last successful resize in RFC3339 text format.
    MaxTotalProvisionedDiskCapacityGb string
    (Output) Maximum allowed aggregate disk size in gigabytes.
    PoolUsedCapacityBytes string
    (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.
    PoolUsedIops string
    (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.
    PoolUsedThroughput string
    (Output) Sum of all the disks' provisioned throughput in MB/s.
    PoolUserWrittenBytes string
    (Output) Amount of data written into the pool, before it is compacted.
    TotalProvisionedDiskCapacityGb string
    (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.
    TotalProvisionedDiskIops string
    (Output) Sum of all the disks' provisioned IOPS.
    TotalProvisionedDiskThroughput string
    (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.
    diskCount String
    (Output) Number of disks used.
    lastResizeTimestamp String
    (Output) Timestamp of the last successful resize in RFC3339 text format.
    maxTotalProvisionedDiskCapacityGb String
    (Output) Maximum allowed aggregate disk size in gigabytes.
    poolUsedCapacityBytes String
    (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.
    poolUsedIops String
    (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.
    poolUsedThroughput String
    (Output) Sum of all the disks' provisioned throughput in MB/s.
    poolUserWrittenBytes String
    (Output) Amount of data written into the pool, before it is compacted.
    totalProvisionedDiskCapacityGb String
    (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.
    totalProvisionedDiskIops String
    (Output) Sum of all the disks' provisioned IOPS.
    totalProvisionedDiskThroughput String
    (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.
    diskCount string
    (Output) Number of disks used.
    lastResizeTimestamp string
    (Output) Timestamp of the last successful resize in RFC3339 text format.
    maxTotalProvisionedDiskCapacityGb string
    (Output) Maximum allowed aggregate disk size in gigabytes.
    poolUsedCapacityBytes string
    (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.
    poolUsedIops string
    (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.
    poolUsedThroughput string
    (Output) Sum of all the disks' provisioned throughput in MB/s.
    poolUserWrittenBytes string
    (Output) Amount of data written into the pool, before it is compacted.
    totalProvisionedDiskCapacityGb string
    (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.
    totalProvisionedDiskIops string
    (Output) Sum of all the disks' provisioned IOPS.
    totalProvisionedDiskThroughput string
    (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_timestamp str
    (Output) Timestamp of the last successful resize in RFC3339 text format.
    max_total_provisioned_disk_capacity_gb str
    (Output) Maximum allowed aggregate disk size in gigabytes.
    pool_used_capacity_bytes str
    (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_iops str
    (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_throughput str
    (Output) Sum of all the disks' provisioned throughput in MB/s.
    pool_user_written_bytes str
    (Output) Amount of data written into the pool, before it is compacted.
    total_provisioned_disk_capacity_gb str
    (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_disk_iops str
    (Output) Sum of all the disks' provisioned IOPS.
    total_provisioned_disk_throughput str
    (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.
    diskCount String
    (Output) Number of disks used.
    lastResizeTimestamp String
    (Output) Timestamp of the last successful resize in RFC3339 text format.
    maxTotalProvisionedDiskCapacityGb String
    (Output) Maximum allowed aggregate disk size in gigabytes.
    poolUsedCapacityBytes String
    (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.
    poolUsedIops String
    (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.
    poolUsedThroughput String
    (Output) Sum of all the disks' provisioned throughput in MB/s.
    poolUserWrittenBytes String
    (Output) Amount of data written into the pool, before it is compacted.
    totalProvisionedDiskCapacityGb String
    (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.
    totalProvisionedDiskIops String
    (Output) Sum of all the disks' provisioned IOPS.
    totalProvisionedDiskThroughput String
    (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

    DiskCount string
    (Output) Number of disks used.
    LastResizeTimestamp string
    (Output) Timestamp of the last successful resize in RFC3339 text format.
    MaxTotalProvisionedDiskCapacityGb string
    (Output) Maximum allowed aggregate disk size in gigabytes.
    PoolUsedCapacityBytes string
    (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.
    PoolUsedIops string
    (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.
    PoolUsedThroughput string
    (Output) Sum of all the disks' provisioned throughput in MB/s.
    PoolUserWrittenBytes string
    (Output) Amount of data written into the pool, before it is compacted.
    TotalProvisionedDiskCapacityGb string
    (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.
    TotalProvisionedDiskIops string
    (Output) Sum of all the disks' provisioned IOPS.
    TotalProvisionedDiskThroughput string
    (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.
    DiskCount string
    (Output) Number of disks used.
    LastResizeTimestamp string
    (Output) Timestamp of the last successful resize in RFC3339 text format.
    MaxTotalProvisionedDiskCapacityGb string
    (Output) Maximum allowed aggregate disk size in gigabytes.
    PoolUsedCapacityBytes string
    (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.
    PoolUsedIops string
    (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.
    PoolUsedThroughput string
    (Output) Sum of all the disks' provisioned throughput in MB/s.
    PoolUserWrittenBytes string
    (Output) Amount of data written into the pool, before it is compacted.
    TotalProvisionedDiskCapacityGb string
    (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.
    TotalProvisionedDiskIops string
    (Output) Sum of all the disks' provisioned IOPS.
    TotalProvisionedDiskThroughput string
    (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.
    diskCount String
    (Output) Number of disks used.
    lastResizeTimestamp String
    (Output) Timestamp of the last successful resize in RFC3339 text format.
    maxTotalProvisionedDiskCapacityGb String
    (Output) Maximum allowed aggregate disk size in gigabytes.
    poolUsedCapacityBytes String
    (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.
    poolUsedIops String
    (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.
    poolUsedThroughput String
    (Output) Sum of all the disks' provisioned throughput in MB/s.
    poolUserWrittenBytes String
    (Output) Amount of data written into the pool, before it is compacted.
    totalProvisionedDiskCapacityGb String
    (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.
    totalProvisionedDiskIops String
    (Output) Sum of all the disks' provisioned IOPS.
    totalProvisionedDiskThroughput String
    (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.
    diskCount string
    (Output) Number of disks used.
    lastResizeTimestamp string
    (Output) Timestamp of the last successful resize in RFC3339 text format.
    maxTotalProvisionedDiskCapacityGb string
    (Output) Maximum allowed aggregate disk size in gigabytes.
    poolUsedCapacityBytes string
    (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.
    poolUsedIops string
    (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.
    poolUsedThroughput string
    (Output) Sum of all the disks' provisioned throughput in MB/s.
    poolUserWrittenBytes string
    (Output) Amount of data written into the pool, before it is compacted.
    totalProvisionedDiskCapacityGb string
    (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.
    totalProvisionedDiskIops string
    (Output) Sum of all the disks' provisioned IOPS.
    totalProvisionedDiskThroughput string
    (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_timestamp str
    (Output) Timestamp of the last successful resize in RFC3339 text format.
    max_total_provisioned_disk_capacity_gb str
    (Output) Maximum allowed aggregate disk size in gigabytes.
    pool_used_capacity_bytes str
    (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_iops str
    (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_throughput str
    (Output) Sum of all the disks' provisioned throughput in MB/s.
    pool_user_written_bytes str
    (Output) Amount of data written into the pool, before it is compacted.
    total_provisioned_disk_capacity_gb str
    (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_disk_iops str
    (Output) Sum of all the disks' provisioned IOPS.
    total_provisioned_disk_throughput str
    (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.
    diskCount String
    (Output) Number of disks used.
    lastResizeTimestamp String
    (Output) Timestamp of the last successful resize in RFC3339 text format.
    maxTotalProvisionedDiskCapacityGb String
    (Output) Maximum allowed aggregate disk size in gigabytes.
    poolUsedCapacityBytes String
    (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.
    poolUsedIops String
    (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.
    poolUsedThroughput String
    (Output) Sum of all the disks' provisioned throughput in MB/s.
    poolUserWrittenBytes String
    (Output) Amount of data written into the pool, before it is compacted.
    totalProvisionedDiskCapacityGb String
    (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.
    totalProvisionedDiskIops String
    (Output) Sum of all the disks' provisioned IOPS.
    totalProvisionedDiskThroughput String
    (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.
    gcp logo
    Google Cloud v8.28.0 published on Tuesday, Apr 29, 2025 by Pulumi