az network vrouter
Manage the virtual router. This feature supports both VirtualHub and VirtualRouter. Considering VirtualRouter is deprecated, we recommend to create VirtualRouter with --hosted-subnet instead.
Commands
| az network vrouter create |
Create a virtual router. |
| az network vrouter delete |
Delete a virtual router under a resource group. |
| az network vrouter list |
List all virtual routers under a subscription or a resource group. |
| az network vrouter peering |
Manage the virtual router peering. |
| az network vrouter peering create |
Create a virtual router peering. |
| az network vrouter peering delete |
Delete a virtual router peering. |
| az network vrouter peering list |
List all virtual router peerings under a resource group. |
| az network vrouter peering show |
Show a virtual router peering. |
| az network vrouter peering update |
Update a virtual router peering. |
| az network vrouter show |
Show a virtual router. |
| az network vrouter update |
Update a virtual router. |
az network vrouter create
Create a virtual router.
az network vrouter create --name
--resource-group
[--hosted-gateway]
[--hosted-subnet]
[--location]
[--tags]
Required Parameters
The name of the Virtual Router.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
Name or ID of the virtual network gateway with ExpressRouter on which VirtualRouter is hosted.
The ID of a subnet where VirtualRouter would be deployed.
Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
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 vrouter delete
Delete a virtual router under a resource group.
az network vrouter delete --name
--resource-group
Required Parameters
The name of the Virtual Router.
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 vrouter list
List all virtual routers under a subscription or a resource group.
az network vrouter list [--resource-group]
Optional Parameters
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 vrouter show
Show a virtual router.
az network vrouter show --name
--resource-group
Required Parameters
The name of the Virtual Router.
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 vrouter update
Update a virtual router.
az network vrouter update --name
--resource-group
[--add]
[--force-string]
[--remove]
[--set]
[--tags]
Examples
Update a virtual router. (autogenerated)
az network vrouter update --name myvirtualrouter --resource-group myresourcegroup --tags super_secure no_80 no_22
Required Parameters
The name of the Virtual Router.
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>.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
Remove a property or an element from a list. Example: --remove property.list OR --remove propertyToRemove.
Update an object by specifying a property path and value to set. Example: --set property1.property2=.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
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.
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ