Skip to main content

express_route_circuit_authorizations

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

Overview

Nameexpress_route_circuit_authorizations
TypeResource
Idazure.network.express_route_circuit_authorizations

Fields

NameDatatypeDescription
idtextResource ID.
nametextThe name of the resource that is unique within a resource group. This name can be used to access the resource.
authorizationNametextfield from the properties object
authorization_keytextfield from the properties object
authorization_use_statustextfield from the properties object
circuitNametextfield from the properties object
connection_resource_uritextfield from the properties object
etagtextA unique read-only string that changes whenever the resource is updated.
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
typetextType of the resource.

Methods

NameAccessible byRequired ParamsDescription
getSELECTauthorizationName, circuitName, resourceGroupName, subscriptionIdGets the specified authorization from the specified express route circuit.
listSELECTcircuitName, resourceGroupName, subscriptionIdGets all authorizations in an express route circuit.
create_or_updateINSERTauthorizationName, circuitName, resourceGroupName, subscriptionIdCreates or updates an authorization in the specified express route circuit.
deleteDELETEauthorizationName, circuitName, resourceGroupName, subscriptionIdDeletes the specified authorization from the specified express route circuit.

SELECT examples

Gets all authorizations in an express route circuit.

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

INSERT example

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

/*+ create */
INSERT INTO azure.network.express_route_circuit_authorizations (
authorizationName,
circuitName,
resourceGroupName,
subscriptionId,
properties,
name,
id
)
SELECT
'{{ authorizationName }}',
'{{ circuitName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ name }}',
'{{ id }}'
;

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