Skip to main content

hcx_enterprise_sites

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

Overview

Namehcx_enterprise_sites
TypeResource
Idazure_isv.vmware.hcx_enterprise_sites

Fields

NameDatatypeDescription
idtextResource ID.
nametextResource name.
activation_keytextfield from the properties object
hcxEnterpriseSiteNametextfield from the properties object
privateCloudNametextfield from the properties object
resourceGroupNametextfield from the properties object
statustextfield from the properties object
subscriptionIdtextfield from the properties object
typetextResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECThcxEnterpriseSiteName, privateCloudName, resourceGroupName, subscriptionId
listSELECTprivateCloudName, resourceGroupName, subscriptionId
create_or_updateINSERThcxEnterpriseSiteName, privateCloudName, resourceGroupName, subscriptionId
deleteDELETEhcxEnterpriseSiteName, privateCloudName, resourceGroupName, subscriptionId

SELECT examples

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 }}';

INSERT example

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

/*+ create */
INSERT INTO azure_isv.vmware.hcx_enterprise_sites (
hcxEnterpriseSiteName,
privateCloudName,
resourceGroupName,
subscriptionId
)
SELECT
'{{ hcxEnterpriseSiteName }}',
'{{ privateCloudName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}'
;

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 }}';