Skip to main content

hcx_activation_keys

Creates, updates, deletes, gets or lists a hcx_activation_keys resource.

Overview

Namehcx_activation_keys
TypeResource
Idgoogle.vmwareengine.hcx_activation_keys

Fields

NameDatatypeDescription
namestringOutput only. The resource name of this HcxActivationKey. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key
activationKeystringOutput only. HCX activation key.
createTimestringOutput only. Creation time of HCX activation key.
statestringOutput only. State of HCX activation key.
uidstringOutput only. System-generated unique identifier for the resource.

Methods

NameAccessible byRequired ParamsDescription
getSELECThcxActivationKeysId, locationsId, privateCloudsId, projectsIdRetrieves a HcxActivationKey resource by its resource name.
listSELECTlocationsId, privateCloudsId, projectsIdLists HcxActivationKey resources in a given private cloud.
createINSERTlocationsId, privateCloudsId, projectsIdCreates a new HCX activation key in a given private cloud.

SELECT examples

Lists HcxActivationKey resources in a given private cloud.

SELECT
name,
activationKey,
createTime,
state,
uid
FROM google.vmwareengine.hcx_activation_keys
WHERE locationsId = '{{ locationsId }}'
AND privateCloudsId = '{{ privateCloudsId }}'
AND projectsId = '{{ projectsId }}';

INSERT example

Use the following StackQL query and manifest file to create a new hcx_activation_keys resource.

/*+ create */
INSERT INTO google.vmwareengine.hcx_activation_keys (
locationsId,
privateCloudsId,
projectsId
)
SELECT
'{{ locationsId }}',
'{{ privateCloudsId }}',
'{{ projectsId }}'
;