Skip to main content

express_route_circuit_authorizations

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

Overview

Nameexpress_route_circuit_authorizations
TypeResource
Idazure.network.express_route_circuit_authorizations

Fields

The following fields are returned by SELECT queries:

Request successful. The operation returns the ExpressRouteCircuitAuthorization resource.

NameDatatypeDescription
idstringResource ID.
namestringThe name of the resource that is unique within a resource group. This name can be used to access the resource.
etagstringA unique read-only string that changes whenever the resource is updated.
propertiesobjectProperties of the express route circuit authorization.
typestringType of the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, circuitName, authorizationName, subscriptionIdGets the specified authorization from the specified express route circuit.
listselectresourceGroupName, circuitName, subscriptionIdGets all authorizations in an express route circuit.
create_or_updateinsertresourceGroupName, circuitName, authorizationName, subscriptionIdCreates or updates an authorization in the specified express route circuit.
deletedeleteresourceGroupName, circuitName, authorizationName, subscriptionIdDeletes the specified authorization from the specified express route circuit.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
authorizationNamestringThe name of the authorization.
circuitNamestringThe name of the express route circuit.
resourceGroupNamestringThe name of the resource group.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Gets the specified authorization from the specified express route circuit.

SELECT
id,
name,
etag,
properties,
type
FROM azure.network.express_route_circuit_authorizations
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND circuitName = '{{ circuitName }}' -- required
AND authorizationName = '{{ authorizationName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;

INSERT examples

Creates or updates an authorization in the specified express route circuit.

INSERT INTO azure.network.express_route_circuit_authorizations (
data__properties,
data__name,
data__id,
resourceGroupName,
circuitName,
authorizationName,
subscriptionId
)
SELECT
'{{ properties }}',
'{{ name }}',
'{{ id }}',
'{{ resourceGroupName }}',
'{{ circuitName }}',
'{{ authorizationName }}',
'{{ subscriptionId }}'
RETURNING
id,
name,
etag,
properties,
type
;

DELETE examples

Deletes the specified authorization from the specified express route circuit.

DELETE FROM azure.network.express_route_circuit_authorizations
WHERE resourceGroupName = '{{ resourceGroupName }}' --required
AND circuitName = '{{ circuitName }}' --required
AND authorizationName = '{{ authorizationName }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
;