az network express-route gateway connection
Manage ExpressRoute gateway connections.
Commands
| az network express-route gateway connection create |
Create an ExpressRoute gateway connection. |
| az network express-route gateway connection delete |
Delete an ExpressRoute gateway connection. |
| az network express-route gateway connection list |
List ExpressRoute gateway connections. |
| az network express-route gateway connection show |
Get the details of an ExpressRoute gateway connection. |
| az network express-route gateway connection update |
Update an ExpressRoute gateway connection. |
az network express-route gateway connection create
Create an ExpressRoute gateway connection.
az network express-route gateway connection create --gateway-name
--name
--peering
--resource-group
[--associated]
[--authorization-key]
[--circuit-name]
[--internet-security {false, true}]
[--labels]
[--propagated]
[--routing-weight]
Examples
Create an ExpressRoute gateway connection.
az network express-route gateway connection create --gateway-name MyGateway -n MyExpressRouteConnection -g MyResourceGroup --peering /subscriptions/MySub/resourceGroups/MyResourceGroup/providers/Microsoft.Network/expressRouteCircuits/MyCircuit/peerings/AzurePrivatePeering --associated-route-table /MySub/resourceGroups/MyResourceGroup/providers/Microsoft.Network/virtualHubs/MyHub/hubRouteTables/MyRouteTable1 --propagated-route-tables /MySub/resourceGroups/MyResourceGroup/providers/Microsoft.Network/virtualHubs/MyHub/hubRouteTables/MyRouteTable1 /MySub/resourceGroups/MyResourceGroup/providers/Microsoft.Network/virtualHubs/MyHub/hubRouteTables/MyRouteTable2 --labels label1 label2
Create an ExpressRoute gateway connection. (autogenerated)
az network express-route gateway connection create --gateway-name MyGateway --name MyExpressRouteConnection --peering /subscriptions/MySub/resourceGroups/MyResourceGroup/providers/Microsoft.Network/expressRouteCircuits/MyCircuit/peerings/AzurePrivatePeering --resource-group MyResourceGroup
Required Parameters
ExpressRoute gateway name.
ExpressRoute connection name.
Name or ID of an ExpressRoute peering.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
The resource id of route table associated with this routing configuration.
Authorization key to establish the connection.
ExpressRoute circuit name.
Enable internet security. A virtual hub can have the ability to propagate a learned default route to this ExpressRoute connection. This ref https://review.docs.microsoft.com/en-us/azure/virtual-wan/effective-routes-virtual-hub?branch=pr-en-us-91866#aboutdefaultroute might be helpful.
Space-separated list of labels for propagated route tables.
Space-separated list of resource id of propagated route tables.
Routing weight associated with the connection.
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 gateway connection delete
Delete an ExpressRoute gateway connection.
az network express-route gateway connection delete [--gateway-name]
[--ids]
[--name]
[--resource-group]
Examples
Delete an ExpressRoute gateway connection. (autogenerated)
az network express-route gateway connection delete --gateway-name MyGateway --name MyExpressRouteConnection --resource-group MyResourceGroup
Optional Parameters
ExpressRoute gateway name.
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.
ExpressRoute connection name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
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 gateway connection list
List ExpressRoute gateway connections.
az network express-route gateway connection list --gateway-name
--resource-group
Examples
List ExpressRoute gateway connections. (autogenerated)
az network express-route gateway connection list --gateway-name MyGateway --resource-group MyResourceGroup
Required Parameters
ExpressRoute gateway name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
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 gateway connection show
Get the details of an ExpressRoute gateway connection.
az network express-route gateway connection show [--gateway-name]
[--ids]
[--name]
[--resource-group]
Examples
Get the details of an ExpressRoute gateway connection. (autogenerated)
az network express-route gateway connection show --gateway-name MyGateway --name MyExpressRouteConnection --resource-group MyResourceGroup
Optional Parameters
ExpressRoute gateway name.
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.
ExpressRoute connection name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
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 gateway connection update
Update an ExpressRoute gateway connection.
az network express-route gateway connection update [--add]
[--associated]
[--authorization-key]
[--circuit-name]
[--force-string]
[--gateway-name]
[--ids]
[--internet-security {false, true}]
[--labels]
[--name]
[--peering]
[--propagated]
[--remove]
[--resource-group]
[--routing-weight]
[--set]
Examples
Update an ExpressRoute gateway connection.
az network express-route gateway connection update --gateway-name MyGateway -n MyExpressRouteConnection -g MyResourceGroup --peering /subscriptions/MySub/resourceGroups/MyResourceGroup/providers/Microsoft.Network/expressRouteCircuits/MyCircuit/peerings/AzurePrivatePeering --associated-route-table /MySub/resourceGroups/MyResourceGroup/providers/Microsoft.Network/virtualHubs/MyHub/hubRouteTables/MyRouteTable1 --propagated-route-tables /MySub/resourceGroups/MyResourceGroup/providers/Microsoft.Network/virtualHubs/MyHub/hubRouteTables/MyRouteTable1 /MySub/resourceGroups/MyResourceGroup/providers/Microsoft.Network/virtualHubs/MyHub/hubRouteTables/MyRouteTable2 --labels label1 label2
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>.
The resource id of route table associated with this routing configuration.
Authorization key to establish the connection.
ExpressRoute circuit name.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
ExpressRoute gateway name.
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.
Enable internet security. A virtual hub can have the ability to propagate a learned default route to this ExpressRoute connection. This ref https://review.docs.microsoft.com/en-us/azure/virtual-wan/effective-routes-virtual-hub?branch=pr-en-us-91866#aboutdefaultroute might be helpful.
Space-separated list of labels for propagated route tables.
ExpressRoute connection name.
Name or ID of an ExpressRoute peering.
Space-separated list of resource id of propagated route tables.
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>.
Routing weight associated with the connection.
Update an object by specifying a property path and value to set. Example: --set property1.property2=.
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.
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ