Skip to main content

express_route_port_authorizations

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

Overview

Nameexpress_route_port_authorizations
TypeResource
Idazure.network.express_route_port_authorizations

Fields

The following fields are returned by SELECT queries:

Request successful. The operation returns the ExpressRoutePortAuthorization 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.
propertiesobjectExpressRoutePort properties. (title: ExpressRoute Port Authorization Properties)
typestringType of the resource.

Methods

The following methods are available for this resource:

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

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.
expressRoutePortNamestringThe name of the express route port.
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 port.

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

INSERT examples

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

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

DELETE examples

Deletes the specified authorization from the specified express route port.

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