mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-10 11:21:48 +00:00
99 lines
3.4 KiB
Text
99 lines
3.4 KiB
Text
NAME
|
|
gcloud beta netapp host-groups create - create a Cloud NetApp Host Group
|
|
|
|
SYNOPSIS
|
|
gcloud beta netapp host-groups create (HOST_GROUP : --location=LOCATION)
|
|
--hosts=HOST,[HOST,...] --os-type=OS_TYPE --type=TYPE [--async]
|
|
[--description=DESCRIPTION] [--labels=[KEY=VALUE,...]]
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(BETA) Create a Cloud NetApp Host Group.
|
|
|
|
EXAMPLES
|
|
The following command creates a Host Group named NAME using the required
|
|
arguments:
|
|
|
|
$ gcloud beta netapp host-groups create NAME \
|
|
--location=us-central1 --type=ISCSI_INITIATOR \
|
|
--hosts=host1,host2 --os-type=LINUX
|
|
|
|
POSITIONAL ARGUMENTS
|
|
Host group resource - The Host Group 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 host_group 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.
|
|
|
|
HOST_GROUP
|
|
ID of the host_group or fully qualified identifier for the
|
|
host_group.
|
|
|
|
To set the host_group attribute:
|
|
▸ provide the argument host_group 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 host_group.
|
|
|
|
To set the location attribute:
|
|
▸ provide the argument host_group on the command line with a fully
|
|
specified name;
|
|
▸ provide the argument --location on the command line;
|
|
▸ set the property netapp/location.
|
|
|
|
REQUIRED FLAGS
|
|
--hosts=HOST,[HOST,...]
|
|
List of hosts in the host group.
|
|
|
|
--os-type=OS_TYPE
|
|
String indicating the OS type of the hosts in the host group. The
|
|
supported values are: 'LINUX', 'WINDOWS', 'ESXI'. OS_TYPE must be one
|
|
of: LINUX, WINDOWS, ESXI.
|
|
|
|
--type=TYPE
|
|
String indicating the type of host group. The supported values are:
|
|
'ISCSI_INITIATOR'. TYPE must be (only one value is supported):
|
|
ISCSI_INITIATOR.
|
|
|
|
OPTIONAL FLAGS
|
|
--async
|
|
Return immediately, without waiting for the operation in progress to
|
|
complete.
|
|
|
|
--description=DESCRIPTION
|
|
A description of the Cloud NetApp Host Group
|
|
|
|
--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 beta and might change without notice. These
|
|
variants are also available:
|
|
|
|
$ gcloud netapp host-groups create
|
|
|
|
$ gcloud alpha netapp host-groups create
|
|
|