az network ddos-protection
Manage DDoS Protection Plans.
Commands
| az network ddos-protection create |
Create a DDoS protection plan. |
| az network ddos-protection delete |
Delete a DDoS protection plan. |
| az network ddos-protection list |
List DDoS protection plans. |
| az network ddos-protection show |
Show details of a DDoS protection plan. |
| az network ddos-protection update |
Update a DDoS protection plan. |
az network ddos-protection create
Create a DDoS protection plan.
az network ddos-protection create --name
--resource-group
[--location]
[--tags]
[--vnets]
Examples
Create a DDoS protection plan.
az network ddos-protection create -g MyResourceGroup -n MyDdosPlan
Create a DDoS protection plan. (autogenerated)
az network ddos-protection create --location westus2 --name MyDdosPlan --resource-group MyResourceGroup
Required Parameters
Name of the DDoS protection plan.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
Space-separated list of VNets (name or IDs) to associate with the plan.
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 ddos-protection delete
Delete a DDoS protection plan.
az network ddos-protection delete [--ids]
[--name]
[--resource-group]
Examples
Delete a DDoS protection plan.
az network ddos-protection delete -g MyResourceGroup -n MyDdosPlan
Optional Parameters
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name of the DDoS protection plan.
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 ddos-protection list
List DDoS protection plans.
az network ddos-protection list [--resource-group]
Examples
List DDoS protection plans
az network ddos-protection list
Optional Parameters
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 ddos-protection show
Show details of a DDoS protection plan.
az network ddos-protection show [--ids]
[--name]
[--resource-group]
Examples
Show details of a DDoS protection plan.
az network ddos-protection show -g MyResourceGroup -n MyDdosPlan
Optional Parameters
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name of the DDoS protection plan.
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 ddos-protection update
Update a DDoS protection plan.
az network ddos-protection update [--add]
[--force-string]
[--ids]
[--name]
[--remove]
[--resource-group]
[--set]
[--tags]
[--vnets]
Examples
Add a Vnet to a DDoS protection plan in the same subscription.
az network ddos-protection update -g MyResourceGroup -n MyDdosPlan --vnets MyVnet
Update a DDoS protection plan. (autogenerated)
az network ddos-protection update --name MyDdosPlan --remove tags.no_80 --resource-group MyResourceGroup
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.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name of the DDoS protection plan.
Remove a property or an element from a list. Example: --remove property.list OR --remove propertyToRemove.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Update an object by specifying a property path and value to set. Example: --set property1.property2=.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
Space-separated list of VNets (name or IDs) to associate with the plan.
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.
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ