az network express-route port identity

Manage the managed service identity of an ExpressRoute Port.

Commands

Name Description Type Status
az network express-route port identity assign

Assign a managed service identity to an ExpressRoute Port.

Core GA
az network express-route port identity remove

Remove the managed service identity of an ExpressRoute Port.

Core GA
az network express-route port identity show

Show the managed service identity of an ExpressRoute Port.

Core GA
az network express-route port identity wait

Place the CLI in a waiting state until a condition is met.

Core GA

az network express-route port identity assign

Assign a managed service identity to an ExpressRoute Port.

az network express-route port identity assign --identity
                                              --name
                                              --resource-group
                                              [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]

Examples

Assign an identity to the ExpressRoute Port

az network express-route port identity assign --resource-group MyResourceGroup --name MyExpressRoutePort --identity MyUserAssignedManagedServiceIdentity

Required Parameters

--identity

Name or ID of the ManagedIdentity Resource.

--name -n

ExpressRoute port name.

--resource-group -g

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

Optional Parameters

--no-wait

Do not wait for the long-running operation to finish.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

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

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az network express-route port identity remove

Remove the managed service identity of an ExpressRoute Port.

az network express-route port identity remove --name
                                              --resource-group
                                              [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]

Examples

Remove an identity of the ExpressRoute Port

az network express-route port identity remove -g MyResourceGroup --name MyExpressRoutePort

Required Parameters

--name -n

ExpressRoute port name.

--resource-group -g

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

Optional Parameters

--no-wait

Do not wait for the long-running operation to finish.

accepted values: 0, 1, f, false, n, no, t, true, y, yes
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

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

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az network express-route port identity show

Show the managed service identity of an ExpressRoute Port.

az network express-route port identity show --name
                                            --resource-group

Examples

Show an identity of the ExpressRoute Port

az network express-route port identity show -g MyResourceGroup --name MyExpressRoutePort

Required Parameters

--name -n

ExpressRoute port name.

--resource-group -g

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

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

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az network express-route port identity wait

Place the CLI in a waiting state until a condition is met.

az network express-route port identity wait [--created]
                                            [--custom]
                                            [--deleted]
                                            [--exists]
                                            [--ids]
                                            [--interval]
                                            [--name]
                                            [--resource-group]
                                            [--subscription]
                                            [--timeout]
                                            [--updated]

Optional Parameters

--created

Wait until created with 'provisioningState' at 'Succeeded'.

default value: False
--custom

Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].

--deleted

Wait until deleted.

default value: False
--exists

Wait until the resource exists.

default value: False
--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.

--interval

Polling interval in seconds.

default value: 30
--name -n

ExpressRoute port 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.

--timeout

Maximum wait in seconds.

default value: 3600
--updated

Wait until updated with provisioningState at 'Succeeded'.

default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

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

--verbose

Increase logging verbosity. Use --debug for full debug logs.