Skip to main content

express_route_circuits

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

Overview

Nameexpress_route_circuits
TypeResource
Idazure.network.express_route_circuits

Fields

NameDatatypeDescription
idtextResource ID.
nametextResource name.
allow_classic_operationstextfield from the properties object
authorization_keytextfield from the properties object
authorization_statustextfield from the properties object
authorizationstextfield from the properties object
bandwidth_in_gbpstextfield from the properties object
circuitNametextfield from the properties object
circuit_provisioning_statetextfield from the properties object
enable_direct_port_rate_limittextfield from the properties object
etagtextA unique read-only string that changes whenever the resource is updated.
express_route_porttextfield from the properties object
gateway_manager_etagtextfield from the properties object
global_reach_enabledtextfield from the properties object
locationtextResource location.
peeringstextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
service_keytextfield from the properties object
service_provider_notestextfield from the properties object
service_provider_propertiestextfield from the properties object
service_provider_provisioning_statetextfield from the properties object
skutextContains SKU in an ExpressRouteCircuit.
stagtextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
typetextResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTcircuitName, resourceGroupName, subscriptionIdGets information about the specified express route circuit.
listSELECTresourceGroupName, subscriptionIdGets all the express route circuits in a resource group.
list_allSELECTsubscriptionIdGets all the express route circuits in a subscription.
create_or_updateINSERTcircuitName, resourceGroupName, subscriptionIdCreates or updates an express route circuit.
deleteDELETEcircuitName, resourceGroupName, subscriptionIdDeletes the specified express route circuit.
update_tagsEXECcircuitName, resourceGroupName, subscriptionIdUpdates an express route circuit tags.

SELECT examples

Gets all the express route circuits in a subscription.

SELECT
id,
name,
allow_classic_operations,
authorization_key,
authorization_status,
authorizations,
bandwidth_in_gbps,
circuitName,
circuit_provisioning_state,
enable_direct_port_rate_limit,
etag,
express_route_port,
gateway_manager_etag,
global_reach_enabled,
location,
peerings,
provisioning_state,
resourceGroupName,
service_key,
service_provider_notes,
service_provider_properties,
service_provider_provisioning_state,
sku,
stag,
subscriptionId,
tags,
type
FROM azure.network.vw_express_route_circuits
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.network.express_route_circuits (
circuitName,
resourceGroupName,
subscriptionId,
sku,
properties,
id,
location,
tags
)
SELECT
'{{ circuitName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ sku }}',
'{{ properties }}',
'{{ id }}',
'{{ location }}',
'{{ tags }}'
;

DELETE example

Deletes the specified express_route_circuits resource.

/*+ delete */
DELETE FROM azure.network.express_route_circuits
WHERE circuitName = '{{ circuitName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';