az network express-route port link
View ExpressRoute links.
Commands
az network express-route port link list |
List ExpressRoute links. |
az network express-route port link show |
Get the details of an ExpressRoute link. |
az network express-route port link update |
Manage MACsec configuration of an ExpressRoute Link. |
az network express-route port link list
List ExpressRoute links.
az network express-route port link list --port-name
--resource-group
[--query-examples]
[--subscription]
Examples
List ExpressRoute links. (autogenerated)
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>
.
Optional Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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.
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 [--ids]
[--name]
[--port-name]
[--query-examples]
[--resource-group]
[--subscription]
Examples
Get the details of an ExpressRoute link. (autogenerated)
az network express-route port link show --name MyLinkExpressRoutePort --port-name MyPort --resource-group MyResourceGroup
Optional Parameters
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.
The link name of the ExpressRoute Port.
ExpressRoute port name.
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.
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
.
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.
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 [--add]
[--admin-state {Disabled, Enabled}]
[--force-string]
[--ids]
[--macsec-cak-secret-identifier]
[--macsec-cipher {GcmAes128, GcmAes256, GcmAesXpn128, GcmAesXpn256}]
[--macsec-ckn-secret-identifier]
[--name]
[--no-wait]
[--port-name]
[--remove]
[--resource-group]
[--set]
[--subscription]
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 gcm-aes-128
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
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.
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.
The connectivity association key (CAK) ID that stored in the KeyVault.
Cipher Method.
The connectivity key name (CKN) that stored in the KeyVault.
The link name of the ExpressRoute Port.
Do not wait for the long-running operation to finish.
ExpressRoute port name.
Remove a property or an element from a list. Example: --remove property.list OR --remove propertyToRemove.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Update an object by specifying a property path and value to set. Example: --set property1.property2=.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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.
Increase logging verbosity. Use --debug for full debug logs.