Skip to main content

authorizations

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

Overview

Nameauthorizations
TypeResource
Idazure_isv.vmware.authorizations

Fields

NameDatatypeDescription
idtextResource ID.
nametextResource name.
authorizationNametextfield from the properties object
express_route_authorization_idtextfield from the properties object
express_route_authorization_keytextfield from the properties object
privateCloudNametextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
typetextResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTauthorizationName, privateCloudName, resourceGroupName, subscriptionId
listSELECTprivateCloudName, resourceGroupName, subscriptionId
create_or_updateINSERTauthorizationName, privateCloudName, resourceGroupName, subscriptionId
deleteDELETEauthorizationName, privateCloudName, resourceGroupName, subscriptionId

SELECT examples

SELECT
id,
name,
authorizationName,
express_route_authorization_id,
express_route_authorization_key,
privateCloudName,
provisioning_state,
resourceGroupName,
subscriptionId,
type
FROM azure_isv.vmware.vw_authorizations
WHERE privateCloudName = '{{ privateCloudName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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

DELETE example

Deletes the specified authorizations resource.

/*+ delete */
DELETE FROM azure_isv.vmware.authorizations
WHERE authorizationName = '{{ authorizationName }}'
AND privateCloudName = '{{ privateCloudName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';