hcx_activation_keys
Creates, updates, deletes, gets or lists a hcx_activation_keys
resource.
Overview
Name | hcx_activation_keys |
Type | Resource |
Id | google.vmwareengine.hcx_activation_keys |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Output 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 |
activationKey | string | Output only. HCX activation key. |
createTime | string | Output only. Creation time of HCX activation key. |
state | string | Output only. State of HCX activation key. |
uid | string | Output only. System-generated unique identifier for the resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | hcxActivationKeysId, locationsId, privateCloudsId, projectsId | Retrieves a HcxActivationKey resource by its resource name. |
list | SELECT | locationsId, privateCloudsId, projectsId | Lists HcxActivationKey resources in a given private cloud. |
create | INSERT | locationsId, privateCloudsId, projectsId | Creates 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.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.vmwareengine.hcx_activation_keys (
locationsId,
privateCloudsId,
projectsId
)
SELECT
'{{ locationsId }}',
'{{ privateCloudsId }}',
'{{ projectsId }}'
;
- name: your_resource_model_name
props:
- name: name
value: string
- name: createTime
value: string
- name: state
value: string
- name: activationKey
value: string
- name: uid
value: string