express_route_circuit_authorizations
Creates, updates, deletes, gets or lists a express_route_circuit_authorizations
resource.
Overview
Name | express_route_circuit_authorizations |
Type | Resource |
Id | azure.network.express_route_circuit_authorizations |
Fields
- vw_express_route_circuit_authorizations
- express_route_circuit_authorizations
Name | Datatype | Description |
---|---|---|
id | text | Resource ID. |
name | text | The name of the resource that is unique within a resource group. This name can be used to access the resource. |
authorizationName | text | field from the properties object |
authorization_key | text | field from the properties object |
authorization_use_status | text | field from the properties object |
circuitName | text | field from the properties object |
connection_resource_uri | text | field from the properties object |
etag | text | A unique read-only string that changes whenever the resource is updated. |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
type | text | Type of the resource. |
Name | Datatype | Description |
---|---|---|
id | string | Resource ID. |
name | string | The name of the resource that is unique within a resource group. This name can be used to access the resource. |
etag | string | A unique read-only string that changes whenever the resource is updated. |
properties | object | Properties of ExpressRouteCircuitAuthorization. |
type | string | Type of the resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | authorizationName, circuitName, resourceGroupName, subscriptionId | Gets the specified authorization from the specified express route circuit. |
list | SELECT | circuitName, resourceGroupName, subscriptionId | Gets all authorizations in an express route circuit. |
create_or_update | INSERT | authorizationName, circuitName, resourceGroupName, subscriptionId | Creates or updates an authorization in the specified express route circuit. |
delete | DELETE | authorizationName, circuitName, resourceGroupName, subscriptionId | Deletes the specified authorization from the specified express route circuit. |
SELECT
examples
Gets all authorizations in an express route circuit.
- vw_express_route_circuit_authorizations
- express_route_circuit_authorizations
SELECT
id,
name,
authorizationName,
authorization_key,
authorization_use_status,
circuitName,
connection_resource_uri,
etag,
provisioning_state,
resourceGroupName,
subscriptionId,
type
FROM azure.network.vw_express_route_circuit_authorizations
WHERE circuitName = '{{ circuitName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
etag,
properties,
type
FROM azure.network.express_route_circuit_authorizations
WHERE circuitName = '{{ circuitName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new express_route_circuit_authorizations
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.network.express_route_circuit_authorizations (
authorizationName,
circuitName,
resourceGroupName,
subscriptionId,
properties,
name,
id
)
SELECT
'{{ authorizationName }}',
'{{ circuitName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ name }}',
'{{ id }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: authorizationKey
value: string
- name: authorizationUseStatus
value: string
- name: connectionResourceUri
value: string
- name: provisioningState
value: []
- name: name
value: string
- name: etag
value: string
- name: type
value: string
- name: id
value: string
DELETE
example
Deletes the specified express_route_circuit_authorizations
resource.
/*+ delete */
DELETE FROM azure.network.express_route_circuit_authorizations
WHERE authorizationName = '{{ authorizationName }}'
AND circuitName = '{{ circuitName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';