mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 10:35:03 +00:00
196 lines
7.9 KiB
Text
196 lines
7.9 KiB
Text
NAME
|
|
gcloud alpha netapp storage-pools create - create a Cloud NetApp Storage
|
|
Pool
|
|
|
|
SYNOPSIS
|
|
gcloud alpha netapp storage-pools create
|
|
(STORAGE_POOL : --location=LOCATION) --capacity=CAPACITY
|
|
--network=[name=NAME],[psa-range=PSA-RANGE]
|
|
--service-level=SERVICE_LEVEL [--active-directory=ACTIVE_DIRECTORY]
|
|
[--async] [--description=DESCRIPTION] [--enable-ldap=ENABLE_LDAP]
|
|
[--kms-config=KMS_CONFIG] [--labels=[KEY=VALUE,...]]
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(ALPHA) Creates a Storage Pool to contain Volumes with a specified Service
|
|
Level and capacity.
|
|
|
|
EXAMPLES
|
|
The following command creates a Storage Pool named NAME using all possible
|
|
arguments with a VPC network in the same project
|
|
|
|
$ gcloud alpha netapp storage-pools create NAME \
|
|
--location=us-central1 --service-level=standard \
|
|
--capacity=2048 --network=name=default --active-directory=ad1 \
|
|
--kms-config=kms-config1 --enable-ldap=true \
|
|
--description="example description"
|
|
|
|
The following command creates a Storage pool named NAME using all possible
|
|
arguments with a shared VPC network in a separate project called
|
|
VPC_PROJECT
|
|
|
|
$ gcloud alpha netapp storage-pools create NAME \
|
|
--location=us-central1 --service-level=standard \
|
|
--capacity=2048 \
|
|
--network=name=projects/VPC_PROJECT/locations/us-central1/\
|
|
networks/default --active-directory=ad1 --kms-config=kms-config1 \
|
|
--enable-ldap=true --description="example description"
|
|
|
|
POSITIONAL ARGUMENTS
|
|
Storage pool resource - The Storage Pool to create. The arguments in this
|
|
group can be used to specify the attributes of this 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.
|
|
|
|
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.
|
|
|
|
This positional argument must be specified if any of the other
|
|
arguments in this group are specified.
|
|
|
|
--location=LOCATION
|
|
The location of the storage_pool.
|
|
|
|
To set the location attribute:
|
|
▸ provide the argument storage_pool on the command line with a
|
|
fully specified name;
|
|
▸ provide the argument --location on the command line;
|
|
▸ set the property netapp/location.
|
|
|
|
REQUIRED FLAGS
|
|
--capacity=CAPACITY
|
|
The desired capacity of the Storage Pool in GiB or TiB units.If no
|
|
capacity unit is specified, GiB is assumed.
|
|
|
|
--network=[name=NAME],[psa-range=PSA-RANGE]
|
|
Network configuration for a Cloud NetApp Files Storage Pool. Specifying
|
|
psa-range is optional.
|
|
name
|
|
The name of the Google Compute Engine VPC network to which the
|
|
volume is connected. Short-form (VPC network ID) or long-form (full
|
|
VPC network name:
|
|
projects/PROJECT/locations/LOCATION/networks/NETWORK) are both
|
|
accepted, but please use the long-form when attempting to create a
|
|
Storage Pool using a shared VPC.
|
|
psa-range
|
|
The psa-range is the name of the allocated range of the Private
|
|
Service Access connection. The range you specify can't overlap with
|
|
either existing subnets or assigned IP address ranges for other
|
|
Cloud NetApp Files Storage Pools in the selected VPC network.
|
|
|
|
--service-level=SERVICE_LEVEL
|
|
The service level for the Cloud NetApp Storage Pool. For more details,
|
|
see:
|
|
https://cloud.google.com/netapp/volumes/docs/configure-and-use/storage-pools/overview#service_levels
|
|
|
|
SERVICE_LEVEL must be one of:
|
|
|
|
extreme
|
|
Extreme Service Level for Cloud NetApp Storage Pool. The Extreme
|
|
Service Level has a throughput per TiB of allocated volume size of
|
|
128 MiB/s.
|
|
premium
|
|
Premium Service Level for Cloud NetApp Storage Pool. The Premium
|
|
Service Level has a throughput per TiB of allocated volume size of
|
|
64 MiB/s.
|
|
standard
|
|
Standard Service Level for Cloud NetApp Storage Pool. The Standard
|
|
Service Level has a throughput per TiB of allocated volume size of
|
|
128 MiB/s.
|
|
|
|
OPTIONAL FLAGS
|
|
Active directory resource - The Active Directory to attach to 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 --active-directory 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 location attribute:
|
|
◆ provide the argument --active-directory on the command line with a
|
|
fully specified name;
|
|
◆ provide the argument --location on the command line;
|
|
◆ set the property netapp/location.
|
|
|
|
--active-directory=ACTIVE_DIRECTORY
|
|
ID of the active_directory or fully qualified identifier for the
|
|
active_directory.
|
|
|
|
To set the active_directory attribute:
|
|
▸ provide the argument --active-directory on the command line.
|
|
|
|
--async
|
|
Return immediately, without waiting for the operation in progress to
|
|
complete.
|
|
|
|
--description=DESCRIPTION
|
|
A description of the Cloud NetApp Storage Pool
|
|
|
|
--enable-ldap=ENABLE_LDAP
|
|
Boolean flag indicating whether Storage Pool is a NFS LDAP Storage Pool
|
|
or not
|
|
|
|
Kms config resource - The KMS config to attach to 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 --kms-config 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 location attribute:
|
|
◆ provide the argument --kms-config on the command line with a fully
|
|
specified name;
|
|
◆ provide the argument --location on the command line;
|
|
◆ set the property netapp/location.
|
|
|
|
--kms-config=KMS_CONFIG
|
|
ID of the kms_config or fully qualified identifier for the
|
|
kms_config.
|
|
|
|
To set the kms_config attribute:
|
|
▸ provide the argument --kms-config on the command line.
|
|
|
|
--labels=[KEY=VALUE,...]
|
|
List of label KEY=VALUE pairs to add.
|
|
|
|
Keys must start with a lowercase character and contain only hyphens
|
|
(-), underscores (_), lowercase characters, and numbers. Values must
|
|
contain only hyphens (-), underscores (_), lowercase characters, and
|
|
numbers.
|
|
|
|
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.
|
|
|
|
NOTES
|
|
This command is currently in alpha and might change without notice. If this
|
|
command fails with API permission errors despite specifying the correct
|
|
project, you might be trying to access an API with an invitation-only early
|
|
access allowlist. These variants are also available:
|
|
|
|
$ gcloud netapp storage-pools create
|
|
|
|
$ gcloud beta netapp storage-pools create
|
|
|