ArmNetworkModelFactory.DdosMitigationRulePropertiesFormat Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.