Skip to main content

express_route_connections

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

Overview

Nameexpress_route_connections
TypeResource
Idazure.network.express_route_connections

Fields

NameDatatypeDescription
idtextResource ID.
nametextThe name of the resource.
authorization_keytextfield from the properties object
connectionNametextfield from the properties object
enable_internet_securitytextfield from the properties object
enable_private_link_fast_pathtextfield from the properties object
expressRouteGatewayNametextfield from the properties object
express_route_circuit_peeringtextfield from the properties object
express_route_gateway_bypasstextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
routing_configurationtextfield from the properties object
routing_weighttextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTconnectionName, expressRouteGatewayName, resourceGroupName, subscriptionIdGets the specified ExpressRouteConnection.
listSELECTexpressRouteGatewayName, resourceGroupName, subscriptionIdLists ExpressRouteConnections.
create_or_updateINSERTconnectionName, expressRouteGatewayName, resourceGroupName, subscriptionId, data__nameCreates a connection between an ExpressRoute gateway and an ExpressRoute circuit.
deleteDELETEconnectionName, expressRouteGatewayName, resourceGroupName, subscriptionIdDeletes a connection to a ExpressRoute circuit.

SELECT examples

Lists ExpressRouteConnections.

SELECT
id,
name,
authorization_key,
connectionName,
enable_internet_security,
enable_private_link_fast_path,
expressRouteGatewayName,
express_route_circuit_peering,
express_route_gateway_bypass,
provisioning_state,
resourceGroupName,
routing_configuration,
routing_weight,
subscriptionId
FROM azure.network.vw_express_route_connections
WHERE expressRouteGatewayName = '{{ expressRouteGatewayName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.network.express_route_connections (
connectionName,
expressRouteGatewayName,
resourceGroupName,
subscriptionId,
data__name,
properties,
name,
id
)
SELECT
'{{ connectionName }}',
'{{ expressRouteGatewayName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__name }}',
'{{ properties }}',
'{{ name }}',
'{{ id }}'
;

DELETE example

Deletes the specified express_route_connections resource.

/*+ delete */
DELETE FROM azure.network.express_route_connections
WHERE connectionName = '{{ connectionName }}'
AND expressRouteGatewayName = '{{ expressRouteGatewayName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';