Skip to main content

express_route_port_authorizations

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

Overview

Nameexpress_route_port_authorizations
TypeResource
Idazure.network.express_route_port_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
circuit_resource_uritextfield from the properties object
etagtextA unique read-only string that changes whenever the resource is updated.
expressRoutePortNametextfield from the properties object
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, expressRoutePortName, resourceGroupName, subscriptionIdGets the specified authorization from the specified express route port.
listSELECTexpressRoutePortName, resourceGroupName, subscriptionIdGets all authorizations in an express route port.
create_or_updateINSERTauthorizationName, expressRoutePortName, resourceGroupName, subscriptionIdCreates or updates an authorization in the specified express route port.
deleteDELETEauthorizationName, expressRoutePortName, resourceGroupName, subscriptionIdDeletes the specified authorization from the specified express route port.

SELECT examples

Gets all authorizations in an express route port.

SELECT
id,
name,
authorizationName,
authorization_key,
authorization_use_status,
circuit_resource_uri,
etag,
expressRoutePortName,
provisioning_state,
resourceGroupName,
subscriptionId,
type
FROM azure.network.vw_express_route_port_authorizations
WHERE expressRoutePortName = '{{ expressRoutePortName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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

DELETE example

Deletes the specified express_route_port_authorizations resource.

/*+ delete */
DELETE FROM azure.network.express_route_port_authorizations
WHERE authorizationName = '{{ authorizationName }}'
AND expressRoutePortName = '{{ expressRoutePortName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';