- 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
] [--allow-auto-tiering
=ALLOW_AUTO_TIERING
] [--async
] [--description
=DESCRIPTION
] [--enable-ldap
=ENABLE_LDAP
] [--kms-config
=KMS_CONFIG
] [--labels
=[KEY
=VALUE
,…]] [--replica-zone
=REPLICA_ZONE
] [--zone
=ZONE
] [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.
-
provide the argument
--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
.
-
provide the argument
-
provide the argument
-
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.
- 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
- This field is not implemented. The values provided in this field are ignored.
--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 GiB of allocated volume size of 128 KiB/s.
flex
- Flex Service Level for Cloud NetApp Storage Pool. The Flex Service Level has a throughput per GiB of allocated volume size of 16 KiB/s.
- Premium Service Level for Cloud NetApp Storage Pool. The Premium Service Level has a throughput per GiB of allocated volume size of 64 KiB/s.
standard
- Standard Service Level for Cloud NetApp Storage Pool. The Standard Service Level has a throughput per GiB of allocated volume size of 16 KiB/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.
-
provide the argument
-
provide the argument
--allow-auto-tiering
=ALLOW_AUTO_TIERING
- Boolean flag indicating whether Storage Pool is allowed to use auto-tiering
--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.
-
provide the argument
-
provide the argument
--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. --replica-zone
=REPLICA_ZONE
- String indicating replica zone for the Storage Pool
--zone
=ZONE
- String indicating active zone of the Storage Pool
-
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.
- 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
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-02 UTC.