Språk

ArmNetworkModelFactory.DdosMitigationRulePropertiesFormat Method

Definition

Initializes DDoS mitigation rule properties for mocking.

public static Azure.ResourceManager.Network.Models.DdosMitigationRulePropertiesFormat DdosMitigationRulePropertiesFormat(Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Azure.ResourceManager.Network.Models.DdosMitigationTrafficScope trafficScope = default, Azure.ResourceManager.Network.Models.DdosTcpDefaultMitigations tcpDefaultMitigations = default, int? udpDefaultMitigationsPacketsPerSecond = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.DdosSourcePolicyOverride> sourcePolicyOverrides = default);
static member DdosMitigationRulePropertiesFormat : Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Azure.ResourceManager.Network.Models.DdosMitigationTrafficScope * Azure.ResourceManager.Network.Models.DdosTcpDefaultMitigations * Nullable<int> * seq<Azure.ResourceManager.Network.Models.DdosSourcePolicyOverride> -> Azure.ResourceManager.Network.Models.DdosMitigationRulePropertiesFormat
Public Shared Function DdosMitigationRulePropertiesFormat (Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional trafficScope As DdosMitigationTrafficScope = Nothing, Optional tcpDefaultMitigations As DdosTcpDefaultMitigations = Nothing, Optional udpDefaultMitigationsPacketsPerSecond As Nullable(Of Integer) = Nothing, Optional sourcePolicyOverrides As IEnumerable(Of DdosSourcePolicyOverride) = Nothing) As DdosMitigationRulePropertiesFormat

Parameters

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the DDoS mitigation rule.

trafficScope
DdosMitigationTrafficScope

The traffic scope of the mitigation rule.

tcpDefaultMitigations
DdosTcpDefaultMitigations

The default TCP mitigations.

udpDefaultMitigationsPacketsPerSecond
Nullable<Int32>

The maximum number of UDP packets allowed per second from a source IP.

sourcePolicyOverrides
IEnumerable<DdosSourcePolicyOverride>

Source-specific actions that override the default mitigations.

Returns

A new DdosMitigationRulePropertiesFormat instance for mocking.

Applies to