Skip to main content

express_route_ports

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

Overview

Nameexpress_route_ports
TypeResource
Idazure.network.express_route_ports

Fields

NameDatatypeDescription
idtextResource ID.
nametextResource name.
allocation_datetextfield from the properties object
bandwidth_in_gbpstextfield from the properties object
billing_typetextfield from the properties object
circuitstextfield from the properties object
encapsulationtextfield from the properties object
etagtextA unique read-only string that changes whenever the resource is updated.
ether_typetextfield from the properties object
expressRoutePortNametextfield from the properties object
identitytextIdentity for the resource.
linkstextfield from the properties object
locationtextResource location.
mtutextfield from the properties object
peering_locationtextfield from the properties object
provisioned_bandwidth_in_gbpstextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
resource_guidtextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
typetextResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTexpressRoutePortName, resourceGroupName, subscriptionIdRetrieves the requested ExpressRoutePort resource.
listSELECTsubscriptionIdList all the ExpressRoutePort resources in the specified subscription.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdList all the ExpressRoutePort resources in the specified resource group.
create_or_updateINSERTexpressRoutePortName, resourceGroupName, subscriptionIdCreates or updates the specified ExpressRoutePort resource.
deleteDELETEexpressRoutePortName, resourceGroupName, subscriptionIdDeletes the specified ExpressRoutePort resource.
generate_loaEXECexpressRoutePortName, resourceGroupName, subscriptionId, data__customerNameGenerate a letter of authorization for the requested ExpressRoutePort resource.
update_tagsEXECexpressRoutePortName, resourceGroupName, subscriptionIdUpdate ExpressRoutePort tags.

SELECT examples

List all the ExpressRoutePort resources in the specified subscription.

SELECT
id,
name,
allocation_date,
bandwidth_in_gbps,
billing_type,
circuits,
encapsulation,
etag,
ether_type,
expressRoutePortName,
identity,
links,
location,
mtu,
peering_location,
provisioned_bandwidth_in_gbps,
provisioning_state,
resourceGroupName,
resource_guid,
subscriptionId,
tags,
type
FROM azure.network.vw_express_route_ports
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.network.express_route_ports (
expressRoutePortName,
resourceGroupName,
subscriptionId,
properties,
identity,
id,
location,
tags
)
SELECT
'{{ expressRoutePortName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ identity }}',
'{{ id }}',
'{{ location }}',
'{{ tags }}'
;

DELETE example

Deletes the specified express_route_ports resource.

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