Skip to main content

express_route_ports

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

Overview

Nameexpress_route_ports
TypeResource
Idazure.network.express_route_ports

Fields

The following fields are returned by SELECT queries:

Request successful. The operation returns the requested ExpressRoutePort resource.

NameDatatypeDescription
idstring (arm-id)Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
namestringThe name of the resource
etagstringA unique read-only string that changes whenever the resource is updated.
identityobjectThe identity of ExpressRoutePort, if configured.
propertiesobjectExpressRoutePort properties. (title: ExpressRoutePort Properties)
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, expressRoutePortNameRetrieves the requested ExpressRoutePort resource.
list_by_resource_groupselectsubscriptionId, resourceGroupNameList all the ExpressRoutePort resources in the specified resource group.
listselectsubscriptionIdList all the ExpressRoutePort resources in the specified subscription.
create_or_updateinsertsubscriptionId, resourceGroupName, expressRoutePortNameCreates or updates the specified ExpressRoutePort resource.
deletedeletesubscriptionId, resourceGroupName, expressRoutePortNameDeletes the specified ExpressRoutePort resource.
update_tagsexecsubscriptionId, resourceGroupName, expressRoutePortNameUpdate ExpressRoutePort tags.
generate_loaexecsubscriptionId, resourceGroupName, expressRoutePortName, customerNameGenerate a letter of authorization for the requested ExpressRoutePort resource.

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
expressRoutePortNamestringThe name of ExpressRoutePort.
resourceGroupNamestringThe name of the resource group.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Retrieves the requested ExpressRoutePort resource.

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

INSERT examples

Creates or updates the specified ExpressRoutePort resource.

INSERT INTO azure.network.express_route_ports (
data__properties,
data__identity,
subscriptionId,
resourceGroupName,
expressRoutePortName
)
SELECT
'{{ properties }}',
'{{ identity }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ expressRoutePortName }}'
RETURNING
id,
name,
etag,
identity,
properties,
systemData,
type
;

DELETE examples

Deletes the specified ExpressRoutePort resource.

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

Lifecycle Methods

Update ExpressRoutePort tags.

EXEC azure.network.express_route_ports.update_tags 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@expressRoutePortName='{{ expressRoutePortName }}' --required
@@json=
'{
"tags": "{{ tags }}"
}'
;