- INFORMATION
-
gcloud netapp host-groups createis not available in universe domainuniverse. - 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:
gcloud 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
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:
gcloud alpha netapp host-groups creategcloud beta netapp host-groups create
gcloud netapp host-groups 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 2025-11-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-11-11 UTC."],[],[]]