authorizations
Creates, updates, deletes, gets or lists a authorizations
resource.
Overview
Name | authorizations |
Type | Resource |
Id | azure_isv.vmware.authorizations |
Fields
- vw_authorizations
- authorizations
Name | Datatype | Description |
---|---|---|
id | text | Resource ID. |
name | text | Resource name. |
authorizationName | text | field from the properties object |
express_route_authorization_id | text | field from the properties object |
express_route_authorization_key | text | field from the properties object |
privateCloudName | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | 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 ExpressRoute Circuit Authorization resource |
type | string | Resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | authorizationName, privateCloudName, resourceGroupName, subscriptionId | |
list | SELECT | privateCloudName, resourceGroupName, subscriptionId | |
create_or_update | INSERT | authorizationName, privateCloudName, resourceGroupName, subscriptionId | |
delete | DELETE | authorizationName, privateCloudName, resourceGroupName, subscriptionId |
SELECT
examples
- vw_authorizations
- authorizations
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 }}';
SELECT
id,
name,
properties,
type
FROM azure_isv.vmware.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_isv.vmware.authorizations (
authorizationName,
privateCloudName,
resourceGroupName,
subscriptionId
)
SELECT
'{{ authorizationName }}',
'{{ 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: provisioningState
value: string
- name: expressRouteAuthorizationId
value: string
- name: expressRouteAuthorizationKey
value: string
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 }}';