mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-14 00:46:53 +00:00
79 lines
3.2 KiB
Text
79 lines
3.2 KiB
Text
NAME
|
|
gcloud alpha vmware hcx activationkeys create - create a Google Cloud
|
|
VMware HCX activation key
|
|
|
|
SYNOPSIS
|
|
gcloud alpha vmware hcx activationkeys create
|
|
(HCX_ACTIVATION_KEY
|
|
: --location=LOCATION --private-cloud=PRIVATE_CLOUD)
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(ALPHA) Create a HCX activation key in a VMware Engine private cloud.
|
|
Successful creation of a HCX activation key results in a HCX activation key
|
|
in AVAILABLE state. Check the progress of a HCX activation key using gcloud
|
|
alpha vmware hcx activationkeys list.
|
|
|
|
EXAMPLES
|
|
To create a HCX activation key called key1 in private cloud
|
|
my-private-cloud in zone us-west2-a, run:
|
|
|
|
$ gcloud alpha vmware hcx activationkeys create key1 \
|
|
--location=us-west2-a --project=my-project \
|
|
--private-cloud=my-private-cloud
|
|
|
|
Or:
|
|
|
|
$ gcloud alpha vmware hcx activationkeys create my-cluster \
|
|
--private-cloud=my-private-cloud
|
|
|
|
In the second example, the project and location are taken from gcloud
|
|
properties core/project and compute/zone.
|
|
|
|
POSITIONAL ARGUMENTS
|
|
HCX activation key resource - hcxactivationkey. 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 hcx_activation_key on the command line with a
|
|
fully specified name;
|
|
◆ set the property core/project;
|
|
◆ provide the argument --project on the command line.
|
|
|
|
This must be specified.
|
|
|
|
HCX_ACTIVATION_KEY
|
|
ID of the HCX activation key or fully qualified identifier for the
|
|
HCX activation key. To set the hcx-activation-key attribute:
|
|
▸ provide the argument hcx_activation_key on the command line.
|
|
|
|
This positional must be specified if any of the other arguments in
|
|
this group are specified.
|
|
|
|
--location=LOCATION
|
|
Zone of the private cloud or cluster. To set the location attribute:
|
|
▸ provide the argument hcx_activation_key on the command line with
|
|
a fully specified name;
|
|
▸ provide the argument --location on the command line;
|
|
▸ set the property compute/zone.
|
|
|
|
--private-cloud=PRIVATE_CLOUD
|
|
VMware Engine private cloud. To set the private-cloud attribute:
|
|
▸ provide the argument hcx_activation_key on the command line with
|
|
a fully specified name;
|
|
▸ provide the argument --private-cloud on the command line.
|
|
|
|
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.
|
|
|