- NAME
-
- gcloud compute storage-pools create - create a storage pool
- SYNOPSIS
-
-
gcloud compute storage-pools createSTORAGE_POOL--provisioned-capacity=PROVISIONED_CAPACITY--storage-pool-type=STORAGE_POOL_TYPE[--async] [--capacity-provisioning-type=CAPACITY_PROVISIONING_TYPE] [--description=DESCRIPTION] [--performance-provisioning-type=PERFORMANCE_PROVISIONING_TYPE] [--provisioned-iops=PROVISIONED_IOPS] [--provisioned-throughput=PROVISIONED_THROUGHPUT] [--zone=ZONE] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Create a storage pool.
- EXAMPLES
-
To create a new storage pool named
my-storage-pool, run the following command:gcloud compute storage-pools create my-storage-pool --storage-pool-type=hyperdisk-throughput --provisioned-capacity=10TB --provisioned-throughput=200 - POSITIONAL ARGUMENTS
-
-
Storage pool resource - The name of the storage pool you want to create. This
represents a Cloud resource. (NOTE) Some attributes are not given arguments in
this group but can be set in other ways.
To set the
projectattribute:-
provide the argument
storage_poolon the command line with a fully specified name; -
provide the argument
--projecton the command line; -
set the property
core/project.
To set the
zoneattribute:-
provide the argument
storage_poolon the command line with a fully specified name; -
provide the argument
--zoneon the command line; -
set the property
compute/zone.
This must be specified.
STORAGE_POOL-
ID of the storage pool or fully qualified identifier for the storage pool.
To set the
storage_poolattribute:-
provide the argument
storage_poolon the command line.
-
provide the argument
-
provide the argument
-
Storage pool resource - The name of the storage pool you want to create. This
represents a Cloud resource. (NOTE) Some attributes are not given arguments in
this group but can be set in other ways.
- REQUIRED FLAGS
-
--provisioned-capacity=PROVISIONED_CAPACITY- Provisioned capacity of the storage pool.
-
Storage pool type resource - Type of the storage pool. This represents a Cloud
resource. (NOTE) Some attributes are not given arguments in this group but can
be set in other ways.
To set the
projectattribute:-
provide the argument
--storage-pool-typeon the command line with a fully specified name; -
provide the argument
--projecton the command line; -
set the property
core/project.
To set the
zoneattribute:-
provide the argument
--storage-pool-typeon the command line with a fully specified name; -
provide the argument
--zoneon the command line; -
set the property
compute/zone.
This must be specified.
--storage-pool-type=STORAGE_POOL_TYPE-
ID of the storage pool type or fully qualified identifier for the storage pool
type.
To set the
storage-pool-typeattribute:-
provide the argument
--storage-pool-typeon the command line.
-
provide the argument
-
provide the argument
- OPTIONAL FLAGS
-
--async- Return immediately, without waiting for the operation in progress to complete.
--capacity-provisioning-type=CAPACITY_PROVISIONING_TYPE-
Capacity provisioning type.
CAPACITY_PROVISIONING_TYPEmust be one of:advanced,standard. --description=DESCRIPTION- Description of the storage pool.
--performance-provisioning-type=PERFORMANCE_PROVISIONING_TYPE-
Performance provisioning type.
PERFORMANCE_PROVISIONING_TYPEmust be one of:advanced,standard. --provisioned-iops=PROVISIONED_IOPS- IOPS with which to provision the pool.
--provisioned-throughput=PROVISIONED_THROUGHPUT- Throughput in MB/s with which to provision the pool.
--zone=ZONE- For resources [storage-pool-type, storage_pool], provides fallback value for resource zone attribute. When the resource's full URI path is not provided, zone will fallback to this flag value.
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$ gcloud helpfor details. - API REFERENCE
-
This command uses the
compute/v1API. The full documentation for this API can be found at: https://cloud.google.com/compute/ - NOTES
-
These variants are also available:
gcloud alpha compute storage-pools creategcloud beta compute storage-pools create
gcloud compute storage-pools create
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-15 UTC.