gcloud netapp host-groups create
Stay organized with collections
Save and categorize content based on your preferences.
- NAME
-
- gcloud netapp host-groups create - create a Cloud NetApp Host Group
- SYNOPSIS
-
-
gcloud 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
- Create a Cloud NetApp Host Group.
- EXAMPLES
-
The following command creates a Host Group named NAME using the required
arguments:
gcloudnetapphost-groupscreateNAME--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
projectattribute:-
provide the argument
host_groupon the command line with a fully specified name; -
provide the argument
--projecton 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_groupattribute:-
provide the argument
host_groupon 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 host_group.
To set the
locationattribute:-
provide the argument
host_groupon the command line with a fully specified name; -
provide the argument
--locationon the command line; -
set the property
netapp/location.
-
provide the argument
-
provide the argument
-
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.
- 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_TYPEmust be one of:LINUX,WINDOWS,ESXI. --type=TYPE-
String indicating the type of host group. The supported values are:
'ISCSI_INITIATOR'.
TYPEmust 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 helpfor details. - NOTES
-
These variants are also available:
gcloudalphanetapphost-groupscreategcloudbetanetapphost-groupscreate