az network manager security-user-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 security-user-config command. Learn more about extensions.
Manage securityuserconfiguration with network.
Commands
| az network manager security-user-config create |
Create a network manager security user Configuration. |
| az network manager security-user-config delete |
Deletes a network manager security user Configuration. |
| az network manager security-user-config list |
Lists all the network manager security user configurations in a network manager, in a paginated format. |
| az network manager security-user-config show |
Retrieves a network manager security user Configuration. |
| az network manager security-user-config update |
Update a network manager security user Configuration. |
az network manager security-user-config create
Create a network manager security user Configuration.
az network manager security-user-config create --configuration-name
--name
--resource-group
[--delete-existing-ns-gs {false, true}]
[--description]
[--display-name]
Examples
Create network manager security user Configuration
az network manager security-user-config create --configuration-name "myTestSecurityConfig" --network-manager-name "testNetworkManager" --resource-group "rg1" --description "A sample policy" --delete-existing-ns-gs true
Required Parameters
The name of the network manager security 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
Flag if need to delete existing network security groups.
A description of the security Configuration.
A display name of the security Configuration.
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 security-user-config delete
Deletes a network manager security user Configuration.
az network manager security-user-config delete --configuration-name
--name
--resource-group
[--yes]
Examples
Delete network manager security user Configuration
az network manager security-user-config delete --configuration-name "myTestSecurityConfig" --network-manager-name "testNetworkManager" --resource-group "rg1"
Required Parameters
The name of the network manager security 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 security-user-config list
Lists all the network manager security user configurations in a network manager, in a paginated format.
az network manager security-user-config list --name
--resource-group
[--skip-token]
[--top]
Examples
List security user configurations in a network manager
az network manager security-user-config 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 security-user-config show
Retrieves a network manager security user Configuration.
az network manager security-user-config show --configuration-name
--name
--resource-group
Examples
Get security user configurations
az network manager security-user-config show --configuration-name "myTestSecurityConfig" --network-manager-name "testNetworkManager" --resource-group "rg1"
Required Parameters
The name of the network manager security 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 security-user-config update
Update a network manager security user Configuration.
az network manager security-user-config update --configuration-name
--name
--resource-group
[--add]
[--delete-existing-ns-gs {false, true}]
[--description]
[--display-name]
[--force-string]
[--remove]
[--security-type {AdminPolicy, UserPolicy}]
[--set]
Required Parameters
The name of the network manager security 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>.
Flag if need to delete existing network security groups.
A description of the security Configuration.
A display name of the security Configuration.
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.
Security Type.
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.
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ