az network manager scope-connection
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 scope-connection command. Learn more about extensions.
Manage scope connection with network.
Commands
| az network manager scope-connection create |
Creates scope connection from Network Manager. |
| az network manager scope-connection delete |
Delete the pending scope connection created by this network manager. |
| az network manager scope-connection list |
List all scope connections created by this network manager. |
| az network manager scope-connection show |
Get specified scope connection created by this Network Manager. |
| az network manager scope-connection update |
Update scope connection from Network Manager. |
az network manager scope-connection create
Creates scope connection from Network Manager.
az network manager scope-connection create --connection-name
--network-manager
--resource-group
--resource-id
--tenant-id
[--description]
Examples
Create network manager scope-connection
az network manager scope-connection create --name "TestScopeConnect" --network-manager-name "testNetworkManager" --resource-group "rg1" --description "A sample policy" --tenant-id 00000000-0000-0000-0000-000000000000 --resource-id /subscriptions/00000000-0000-0000-0000-000000000000
Required Parameters
The name of the network manager scope connection.
The name of the network manager.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The id of resource.
The id of tenant.
Optional Parameters
A description of the scope 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 manager scope-connection delete
Delete the pending scope connection created by this network manager.
az network manager scope-connection delete --connection-name
--network-manager
--resource-group
[--yes]
Examples
Delete network manager scope connection
az network manager scope-connection delete --name "TestScopeConnect" --network-manager-name "testNetworkManager" --resource-group "rg1"
Required Parameters
The name of the network manager scope connection.
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 scope-connection list
List all scope connections created by this network manager.
az network manager scope-connection list --network-manager
--resource-group
[--skip-token]
[--top]
Examples
List scope connections in a network manager
az network manager scope-connection list --network-manager-name "testNetworkManager" --resource-group "rg1"
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 scope-connection show
Get specified scope connection created by this Network Manager.
az network manager scope-connection show --connection-name
--network-manager
--resource-group
Examples
Get network manager scope-connection
az network manager scope-connection show --name "TestScopeConnect" --network-manager-name "testNetworkManager" --resource-group "rg1"
Required Parameters
The name of the network manager scope connection.
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 scope-connection update
Update scope connection from Network Manager.
az network manager scope-connection update --connection-name
--network-manager
--resource-group
[--add]
[--description]
[--force-string]
[--remove]
[--set]
Examples
Update network manager scope-connection
az network manager scope-connection update --name "TestScopeConnect" --network-manager-name "testNetworkManager" --resource-group "rg1" --description "A sample policy"
Required Parameters
The name of the network manager scope connection.
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>.
A description of the scope connection.
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=.
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