az network express-route auth

Manage authentication of an ExpressRoute circuit.

To learn more about ExpressRoute circuit authentication visit https://docs.microsoft.com/azure/expressroute/howto-linkvnet-cli#connect-a-virtual-network-in-a-different-subscription-to-a-circuit.

Commands

az network express-route auth create

Create a new link authorization for an ExpressRoute circuit.

az network express-route auth delete

Delete a link authorization of an ExpressRoute circuit.

az network express-route auth list

List link authorizations of an ExpressRoute circuit.

az network express-route auth show

Get the details of a link authorization of an ExpressRoute circuit.

az network express-route auth create

Create a new link authorization for an ExpressRoute circuit.

az network express-route auth create --circuit-name
                                     --name
                                     --resource-group
                                     [--subscription]

Examples

Create a new link authorization for an ExpressRoute circuit.

az network express-route auth create --circuit-name MyCircuit -g MyResourceGroup -n MyAuthorization

Required Parameters

--circuit-name

ExpressRoute circuit name.

--name -n

Authorization name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az network express-route auth delete

Delete a link authorization of an ExpressRoute circuit.

az network express-route auth delete [--circuit-name]
                                     [--ids]
                                     [--name]
                                     [--resource-group]
                                     [--subscription]

Examples

Delete a link authorization of an ExpressRoute circuit.

az network express-route auth delete --circuit-name MyCircuit -g MyResourceGroup -n MyAuthorization

Optional Parameters

--circuit-name

ExpressRoute circuit name.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name -n

Authorization name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az network express-route auth list

List link authorizations of an ExpressRoute circuit.

az network express-route auth list --circuit-name
                                   --resource-group
                                   [--query-examples]
                                   [--subscription]

Examples

List link authorizations of an ExpressRoute circuit.

az network express-route auth list -g MyResourceGroup --circuit-name MyCircuit

List link authorizations of an ExpressRoute circuit. (autogenerated)

az network express-route auth list --circuit-name MyCircuit --resource-group MyResourceGroup --subscription MySubscription

Required Parameters

--circuit-name

ExpressRoute circuit name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az network express-route auth show

Get the details of a link authorization of an ExpressRoute circuit.

az network express-route auth show [--circuit-name]
                                   [--ids]
                                   [--name]
                                   [--query-examples]
                                   [--resource-group]
                                   [--subscription]

Examples

Get the details of a link authorization of an ExpressRoute circuit.

az network express-route auth show -g MyResourceGroup --circuit-name MyCircuit -n MyAuthorization

Optional Parameters

--circuit-name

ExpressRoute circuit name.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name -n

Authorization name.

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.