az network express-route port link
View ExpressRoute links.
Commands
Name | Description | Type | Status |
---|---|---|---|
az network express-route port link list |
List ExpressRoute links. |
Core | GA |
az network express-route port link show |
Get the details of an ExpressRoute link. |
Core | GA |
az network express-route port link update |
Manage MACsec configuration of an ExpressRoute Link. |
Core | GA |
az network express-route port link wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az network express-route port link list
List ExpressRoute links.
az network express-route port link list --port-name
--resource-group
Examples
List ExpressRoute links.
az network express-route port link list --port-name MyPort --resource-group MyResourceGroup
Required Parameters
ExpressRoute port name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az network express-route port link show
Get the details of an ExpressRoute link.
az network express-route port link show --name
--port-name
--resource-group
Examples
Get the details of an ExpressRoute link.
az network express-route port link show --name MyLinkExpressRoutePort --port-name MyPort --resource-group MyResourceGroup
Required Parameters
The link name of the ExpressRoute Port.
ExpressRoute port name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az network express-route port link update
Manage MACsec configuration of an ExpressRoute Link.
az network express-route port link update --name
--port-name
--resource-group
[--add]
[--admin-state {Disabled, Enabled}]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--ids]
[--macsec-cak-secret-identifier]
[--macsec-cipher {GcmAes128, GcmAes256, GcmAesXpn128, GcmAesXpn256}]
[--macsec-ckn-secret-identifier]
[--macsec-sci-state {Disabled, Enabled}]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--remove]
[--set]
Examples
Enable MACsec on ExpressRoute Direct Ports once at a time.
az network express-route port link update --resource-group MyResourceGroup --port-name MyExpressRoutePort --name link1 --macsec-ckn-secret-identifier MacSecCKNSecretID --macsec-cak-secret-identifier MacSecCAKSecretID --macsec-cipher GcmAes128
Enable administrative state of an ExpressRoute Link.
az network express-route port link update --resource-group MyResourceGroup --port-name MyExpressRoutePort --name link2 --admin-state Enabled
Required Parameters
The link name of the ExpressRoute Port.
ExpressRoute port name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>
.
Enable/Disable administrative state of an ExpressRoute Link.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
Resource ID.
The connectivity association key (CAK) ID that stored in the KeyVault.
Cipher Method.
The connectivity key name (CKN) that stored in the KeyVault.
Sci mode.
Do not wait for the long-running operation to finish.
Remove a property or an element from a list. Example: --remove property.list <indexToRemove>
OR --remove propertyToRemove
.
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az network express-route port link wait
Place the CLI in a waiting state until a condition is met.
az network express-route port link wait [--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--port-name]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
Optional Parameters
Wait until created with 'provisioningState' at 'Succeeded'.
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Wait until deleted.
Wait until the resource exists.
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.
Polling interval in seconds.
ExpressRoute port name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Maximum wait in seconds.
Wait until updated with provisioningState at 'Succeeded'.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.