az network manager group
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 group command. Learn more about extensions.
Manage networkgroup with network.
Commands
| az network manager group create |
Create a network group. |
| az network manager group delete |
Deletes a network group. |
| az network manager group list |
Lists the specified network group. |
| az network manager group list-effect-vnet |
Lists all effective virtual networks by specified network group. |
| az network manager group show |
Gets the specified network group. |
| az network manager group static-member |
Manage static members with network manager group. |
| az network manager group static-member create |
Creates a static member. |
| az network manager group static-member delete |
Deletes a static member. |
| az network manager group static-member list |
Lists the specified static member. |
| az network manager group static-member show |
Gets the specified static member. |
| az network manager group update |
Update a network group. |
az network manager group create
Create a network group.
az network manager group create --member-type {Microsoft.Network/virtualNetworks}
--name
--network-manager-name
--resource-group
[--description]
[--display-name]
[--if-match]
Examples
Create/Update Azure Virtual Network Manager Network Group
az network manager group create --name "TestNetworkGroup" --network-manager-name "testNetworkManager" --description "A sample group" --display-name "My Network Group" --member-type "Microsoft.Network/virtualNetworks" --resource-group "rg1"
Required Parameters
Group member type.
The name of the network group to get.
The name of the network manager.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
A description of the network group.
A friendly name for the network group.
The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
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 group delete
Deletes a network group.
az network manager group delete --name
--network-manager-name
--resource-group
[--force {false, true}]
[--yes]
Examples
Delete Azure Virtual Network Manager Group
az network manager group delete --name "TestNetworkGroup" --network-manager-name "testNetworkManager" --resource-group "rg1" --force
Required Parameters
The name of the network group to get.
The name of the network manager.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
Deletes the resource even if it is part of a deployed configuration.
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 group list
Lists the specified network group.
az network manager group list --network-manager-name
--resource-group
[--skip-token]
[--top]
Examples
List Azure Virtual Network Manager Network Groups
az network manager group 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 group list-effect-vnet
Lists all effective virtual networks by specified network group.
az network manager group list-effect-vnet --name
--network-group-name
--resource-group
[--skip-token]
Examples
List Effective Virtual Networks List By Network Groups
az network manager group list-effect-vnet --network-group-name "TestNetworkGroup" --network-manager-name "testNetworkManager" --resource-group "rg1"
Required Parameters
The name of the network manager.
The name of the network group to get.
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.
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 group show
Gets the specified network group.
az network manager group show --name
--network-manager-name
--resource-group
Examples
Get Azure Virtual Network Manager Network Group
az network manager group show --name "TestNetworkGroup" --network-manager-name "testNetworkManager" --resource-group "rg1"
Required Parameters
The name of the network group to get.
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 group update
Update a network group.
az network manager group update --name
--network-manager-name
--resource-group
[--add]
[--description]
[--display-name]
[--force-string]
[--if-match]
[--member-type {Subnet, VirtualNetwork}]
[--remove]
[--set]
Required Parameters
The name of the network group to get.
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 network group.
A friendly name for the network group.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
Group member type.
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.
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ