- NAME
-
- gcloud beta compute storage-pools create - create a storage pool
- SYNOPSIS
-
-
gcloud beta 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
-
(BETA)
Create a storage pool. - EXAMPLES
-
To create a new storage pool named
my-storage-pool
, run the following command:gcloud beta 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.
-
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
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.
-
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_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/beta
API. The full documentation for this API can be found at: https://cloud.google.com/compute/ - NOTES
-
This command is currently in beta and might change without notice. These
variants are also available:
gcloud compute storage-pools create
gcloud alpha 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 2024-07-30 UTC.