DdosMitigationRulePropertiesFormat Class

DDoS mitigation rule properties. The service validates that each rule specifies at least one applicable default mitigation or source policy override and that the default mitigations match the selected trafficScope.

Constructor

DdosMitigationRulePropertiesFormat(*args: Any, **kwargs: Any)

Variables

Name Description
provisioning_state

The provisioning state of the DDoS mitigation rule. Known values are: "Failed", "Succeeded", "Canceled", "Creating", "Updating", and "Deleting".

traffic_scope

The traffic protocol to which the mitigation rule applies. Required. Known values are: "Tcp" and "Udp".

tcp_default_mitigations

The default TCP mitigations. This property is valid only when trafficScope is Tcp.

udp_default_mitigations

The default UDP mitigations. This property is valid only when trafficScope is Udp.

source_policy_overrides

Source-specific actions that override the default mitigations. A rule supports at most one Deny override and one Permit override.

Attributes

provisioning_state

"Failed", "Succeeded", "Canceled", "Creating", "Updating", and "Deleting".

provisioning_state: str | _models.ProvisioningState | None

source_policy_overrides

Source-specific actions that override the default mitigations. A rule supports at most one Deny override and one Permit override.

source_policy_overrides: list['_models.DdosSourcePolicyOverride'] | None

tcp_default_mitigations

The default TCP mitigations. This property is valid only when trafficScope is Tcp.

tcp_default_mitigations: _models.DdosTcpDefaultMitigations | None

traffic_scope

"Tcp" and "Udp".

traffic_scope: str | _models.DdosMitigationTrafficScope

udp_default_mitigations

The default UDP mitigations. This property is valid only when trafficScope is Udp.

udp_default_mitigations: _models.DdosUdpDefaultMitigations | None