Microsoft.Network ddosCustomPolicies template reference

Template format

To create a Microsoft.Network/ddosCustomPolicies resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.Network/ddosCustomPolicies",
  "apiVersion": "2019-07-01",
  "location": "string",
  "tags": {},
  "properties": {
    "protocolCustomSettings": [
      {
        "protocol": "string",
        "triggerRateOverride": "string",
        "sourceRateOverride": "string",
        "triggerSensitivityOverride": "string"
      }
    ]
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.Network/ddosCustomPolicies object

Name Type Required Value
name string Yes The name of the DDoS custom policy.
type enum Yes Microsoft.Network/ddosCustomPolicies
apiVersion enum Yes 2019-07-01
location string Yes Resource location.
tags object No Resource tags.
properties object Yes Properties of the DDoS custom policy. - DdosCustomPolicyPropertiesFormat object

DdosCustomPolicyPropertiesFormat object

Name Type Required Value
protocolCustomSettings array No The protocol-specific DDoS policy customization parameters. - ProtocolCustomSettingsFormat object

ProtocolCustomSettingsFormat object

Name Type Required Value
protocol enum No The protocol for which the DDoS protection policy is being customized. - Tcp, Udp, Syn
triggerRateOverride string No The customized DDoS protection trigger rate.
sourceRateOverride string No The customized DDoS protection source rate.
triggerSensitivityOverride enum No The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic. - Relaxed, Low, Default, High