az network manager connect-config
Note
This reference is part of the virtual-network-manager extension for the Azure CLI (version 2.15.0 or higher). The extension will automatically install the first time you run an az network manager connect-config command. Learn more about extensions.
Manage connectivityconfiguration with network.
Commands
| az network manager connect-config create |
Create a new network manager connectivity configuration. |
| az network manager connect-config delete |
Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and connectivity configuration name. |
| az network manager connect-config list |
Lists all the network manager connectivity configuration in a specified network manager. |
| az network manager connect-config show |
Gets a Network Connectivity Configuration, specified by the resource group, network manager name, and connectivity Configuration name. |
| az network manager connect-config update |
Update a new network manager connectivity configuration. |
az network manager connect-config create
Create a new network manager connectivity configuration.
az network manager connect-config create --applies-to-groups
--configuration-name
--connectivity-topology {HubAndSpoke, Mesh}
--name
--resource-group
[--delete-existing-peering {false, true}]
[--description]
[--display-name]
[--hub]
[--is-global {false, true}]
Examples
Create/Update Azure Virtual Network Manager Connectivity Configuration
az network manager connect-config create --configuration-name "myTestConnectivityConfig" --description "Sample Configuration" --applies-to-groups group-connectivity="None" is-global=false network-group-id="subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkManagerGroups/group1" use-hub-gateway=true --connectivity-topology "HubAndSpoke" --delete-existing-peering true --display-name "myTestConnectivityConfig" --hub resource-id="subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig" resource-type="Microsoft.Network/virtualNetworks" --is-global true --network-manager-name "testNetworkManager" --resource-group "myResourceGroup"
Required Parameters
Groups for configuration.
The name of the network manager connectivity configuration.
Connectivity topology type.
The name of the network manager.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
Flag if need to remove current existing peerings.
A description of the connectivity configuration.
A friendly name for the resource.
The hub vnets.
Flag if global mesh is supported.
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 manager connect-config delete
Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and connectivity configuration name.
az network manager connect-config delete --configuration-name
--name
--resource-group
[--yes]
Examples
Get Azure Virtual Network Manager Connectivity Configuration
az network manager connect-config delete --configuration-name "myTestConnectivityConfig" --network-manager-name "testNetworkManager" --resource-group "myResourceGroup"
Required Parameters
The name of the network manager connectivity configuration.
The name of the network manager.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
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 manager connect-config list
Lists all the network manager connectivity configuration in a specified network manager.
az network manager connect-config list --name
--resource-group
[--skip-token]
[--top]
Examples
Get Azure Virtual Network Manager Connecitivity Configuration List
az network manager connect-config list --network-manager-name "testNetworkManager" --resource-group "myResourceGroup"
Required Parameters
The name of the network manager.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.
An optional query parameter which specifies the maximum number of records to be returned by the server.
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 manager connect-config show
Gets a Network Connectivity Configuration, specified by the resource group, network manager name, and connectivity Configuration name.
az network manager connect-config show --configuration-name
--name
--resource-group
Examples
Get Azure Virtual Network Manager Connectivity Configuration
az network manager connect-config show --configuration-name "myTestConnectivityConfig" --network-manager-name "testNetworkManager" --resource-group "myResourceGroup"
Required Parameters
The name of the network manager connectivity configuration.
The name of the network manager.
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 manager connect-config update
Update a new network manager connectivity configuration.
az network manager connect-config update --configuration-name
--name
--resource-group
[--add]
[--applies-to-groups]
[--delete-existing-peering {false, true}]
[--description]
[--display-name]
[--force-string]
[--hub]
[--is-global {false, true}]
[--remove]
[--set]
Required Parameters
The name of the network manager connectivity configuration.
The name of the network manager.
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>.
Groups for configuration.
Flag if need to remove current existing peerings.
A description of the connectivity configuration.
A friendly name for the resource.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
The hub vnets.
Flag if global mesh is supported.
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=.
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.
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ