mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 02:25:19 +00:00
126 lines
4.5 KiB
Text
126 lines
4.5 KiB
Text
NAME
|
|
gcloud compute storage-pools create - create a storage pool
|
|
|
|
SYNOPSIS
|
|
gcloud compute storage-pools create STORAGE_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 project attribute:
|
|
◆ provide the argument storage_pool on the command line with a fully
|
|
specified name;
|
|
◆ provide the argument --project on the command line;
|
|
◆ set the property core/project.
|
|
|
|
To set the zone attribute:
|
|
◆ provide the argument storage_pool on the command line with a fully
|
|
specified name;
|
|
◆ provide the argument --zone on 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_pool attribute:
|
|
▸ provide the argument storage_pool on the command line.
|
|
|
|
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 project attribute:
|
|
◆ provide the argument --storage-pool-type on the command line with a
|
|
fully specified name;
|
|
◆ provide the argument --project on the command line;
|
|
◆ set the property core/project.
|
|
|
|
To set the zone attribute:
|
|
◆ provide the argument --storage-pool-type on the command line with a
|
|
fully specified name;
|
|
◆ provide the argument --zone on 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-type attribute:
|
|
▸ provide the argument --storage-pool-type on the command line.
|
|
|
|
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_TYPE must be one of:
|
|
advanced, standard.
|
|
|
|
--description=DESCRIPTION
|
|
Description of the storage pool.
|
|
|
|
--performance-provisioning-type=PERFORMANCE_PROVISIONING_TYPE
|
|
Performance provisioning type. PERFORMANCE_PROVISIONING_TYPE must 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, storage pool type], 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 help for details.
|
|
|
|
API REFERENCE
|
|
This command uses the compute/v1 API. 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 create
|
|
|
|
$ gcloud beta compute storage-pools create
|
|
|