gcloud vmware private-clouds hcx activationkeys create Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud vmware private-clouds hcx activationkeys create - create a Google Cloud VMware HCX activation key
- SYNOPSIS
gcloud vmware private-clouds hcx activationkeys create(HCX_ACTIVATION_KEY:--location=LOCATION--private-cloud=PRIVATE_CLOUD)[--async][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
- Create a HCX activation key in a VMware Engine private cloud. Successfulcreation of a HCX activation key results in a HCX activation key in AVAILABLEstate. Check the progress of a HCX activation key using
gcloudvmware private-clouds hcx activationkeys list. - EXAMPLES
- To create a HCX activation key called
key1in private cloudmy-private-cloudin zoneus-west2-a, run:gcloudvmwareprivate-cloudshcxactivationkeyscreatekey1--location=us-west2-a--project=my-project--private-cloud=my-private-cloudOr:
gcloudvmwareprivate-cloudshcxactivationkeyscreatemy-cluster--private-cloud=my-private-cloudIn the second example, the project and location are taken from gcloud propertiescore/project and compute/zone.
- POSITIONAL ARGUMENTS
- HCX activation key resource - hcxactivationkey. The arguments in this group canbe used to specify the attributes of this resource. (NOTE) Some attributes arenot given arguments in this group but can be set in other ways.
To set the
projectattribute:- provide the argument
hcx_activation_keyon the command line with afully specified name; - provide the argument
--projecton the command line; - set the property
core/project.
This must be specified.
HCX_ACTIVATION_KEY- ID of the HCX activation key or fully qualified identifier for the HCXactivation key.
To set the
hcx-activation-keyattribute:- provide the argument
hcx_activation_keyon the command line.
This positional argument must be specified if any of the other arguments in thisgroup are specified.
- provide the argument
--location=LOCATION- Location of the private cloud or cluster.
To set the
locationattribute:- provide the argument
hcx_activation_keyon the command line with afully specified name; - provide the argument
--locationon the command line; - set the property
compute/zone.
- provide the argument
--private-cloud=PRIVATE_CLOUD- VMware Engine private cloud.
To set the
private-cloudattribute:- provide the argument
hcx_activation_keyon the command line with afully specified name; - provide the argument
--private-cloudon the command line.
- provide the argument
- provide the argument
- HCX activation key resource - hcxactivationkey. The arguments in this group canbe used to specify the attributes of this resource. (NOTE) Some attributes arenot given arguments in this group but can be set in other ways.
- FLAGS
--async- Return immediately, without waiting for the operation in progress to complete.The default is
True. Enabled by default, use--no-asyncto disable.
- 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.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-22 UTC.