az network vhub bgpconnection
Note
This reference is part of the virtual-wan extension for the Azure CLI (version 2.39.0 or higher). The extension will automatically install the first time you run an az network vhub bgpconnection command. Learn more about extensions.
Manage virtual hub bgpconnections.
Commands
az network vhub bgpconnection create |
Create a virtual hub bgpconnection. |
az network vhub bgpconnection delete |
Delete a virtual hub bgpconnection. |
az network vhub bgpconnection list |
List virtual hub bgpconnections. |
az network vhub bgpconnection show |
Get the details of a virtual hub bgpconnection. |
az network vhub bgpconnection update |
Update settings of a virtual hub bgpconnection. |
az network vhub bgpconnection wait |
Place the CLI in a waiting state until a condition of virtual hub bgpconnection is met. |
az network vhub bgpconnection create
Create a virtual hub bgpconnection.
az network vhub bgpconnection create --name
--resource-group
--vhub-name
[--no-wait]
[--peer-asn]
[--peer-ip]
[--vhub-conn]
Examples
Create a virtual hub bgpconnection.
az network vhub bgpconnection create -n MyConnection -g MyRG --vhub-name MyHub --peer-asn 20000 --peer-ip "10.5.0.3"
--vhub-conn <vhub_connection_resource_id>
Required Parameters
Name of the bgpconnection.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the virtual hub.
Optional Parameters
Do not wait for the long-running operation to finish.
Peer ASN.
Peer IP.
The resource id of vhub 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 vhub bgpconnection delete
Delete a virtual hub bgpconnection.
az network vhub bgpconnection delete --name
--resource-group
--vhub-name
[--no-wait]
[--yes]
Examples
Delete a virtual hub bgpconnection.
az network vhub bgpconnection delete -n MyConnection --vhub-name MyHub -g MyRG
Required Parameters
Name of the bgpconnection.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the virtual hub.
Optional Parameters
Do not wait for the long-running operation to finish.
Do not prompt for confirmation.
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 vhub bgpconnection list
List virtual hub bgpconnections.
az network vhub bgpconnection list --resource-group
--vhub-name
Examples
List bgpconnections in a given virtual hub.
az network vhub bgpconnection list --vhub-name MyHub -g MyRG
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the virtual hub.
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 vhub bgpconnection show
Get the details of a virtual hub bgpconnection.
az network vhub bgpconnection show --name
--resource-group
--vhub-name
Examples
Get the details of a virtual hub bgpconnection.
az network vhub bgpconnection show -n MyConnection --vhub-name MyHub -g MyRG
Required Parameters
Name of the bgpconnection.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the virtual hub.
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 vhub bgpconnection update
Update settings of a virtual hub bgpconnection.
az network vhub bgpconnection update --name
--resource-group
--vhub-name
[--add]
[--force-string]
[--no-wait]
[--peer-asn]
[--peer-ip]
[--remove]
[--set]
[--vhub-conn]
Examples
Update a virtual hub bgpconnection.
az network vhub bgpconnection update -n MyConnection --vhub-name MyHub -g MyRG --peer-asn 15000
Required Parameters
Name of the bgpconnection.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the virtual hub.
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.
Do not wait for the long-running operation to finish.
Peer ASN.
Peer IP.
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=.
The resource id of vhub 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 vhub bgpconnection wait
Place the CLI in a waiting state until a condition of virtual hub bgpconnection is met.
az network vhub bgpconnection wait --name
--resource-group
--vhub-name
[--created]
[--custom]
[--deleted]
[--exists]
[--interval]
[--timeout]
[--updated]
Required Parameters
Name of the bgpconnection.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the virtual hub.
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.
Polling interval in seconds.
Maximum wait in seconds.
Wait until updated with provisioningState at 'Succeeded'.
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.
Feedback
Submit and view feedback for