hcx_enterprise_sites
Creates, updates, deletes, gets or lists a hcx_enterprise_sites
resource.
Overview
Name | hcx_enterprise_sites |
Type | Resource |
Id | azure_isv.vmware.hcx_enterprise_sites |
Fields
- vw_hcx_enterprise_sites
- hcx_enterprise_sites
Name | Datatype | Description |
---|---|---|
id | text | Resource ID. |
name | text | Resource name. |
activation_key | text | field from the properties object |
hcxEnterpriseSiteName | text | field from the properties object |
privateCloudName | text | field from the properties object |
resourceGroupName | text | field from the properties object |
status | text | field from the properties object |
subscriptionId | text | field from the properties object |
type | text | Resource type. |
Name | Datatype | Description |
---|---|---|
id | string | Resource ID. |
name | string | Resource name. |
properties | object | The properties of an HCX Enterprise Site |
type | string | Resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | hcxEnterpriseSiteName, privateCloudName, resourceGroupName, subscriptionId | |
list | SELECT | privateCloudName, resourceGroupName, subscriptionId | |
create_or_update | INSERT | hcxEnterpriseSiteName, privateCloudName, resourceGroupName, subscriptionId | |
delete | DELETE | hcxEnterpriseSiteName, privateCloudName, resourceGroupName, subscriptionId |
SELECT
examples
- vw_hcx_enterprise_sites
- hcx_enterprise_sites
SELECT
id,
name,
activation_key,
hcxEnterpriseSiteName,
privateCloudName,
resourceGroupName,
status,
subscriptionId,
type
FROM azure_isv.vmware.vw_hcx_enterprise_sites
WHERE privateCloudName = '{{ privateCloudName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
properties,
type
FROM azure_isv.vmware.hcx_enterprise_sites
WHERE privateCloudName = '{{ privateCloudName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new hcx_enterprise_sites
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_isv.vmware.hcx_enterprise_sites (
hcxEnterpriseSiteName,
privateCloudName,
resourceGroupName,
subscriptionId
)
SELECT
'{{ hcxEnterpriseSiteName }}',
'{{ privateCloudName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: properties
value:
- name: activationKey
value: string
- name: status
value: string
DELETE
example
Deletes the specified hcx_enterprise_sites
resource.
/*+ delete */
DELETE FROM azure_isv.vmware.hcx_enterprise_sites
WHERE hcxEnterpriseSiteName = '{{ hcxEnterpriseSiteName }}'
AND privateCloudName = '{{ privateCloudName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';