ArmNetworkModelFactory.TrafficDetectionRule 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.
public static Azure.ResourceManager.Network.Models.TrafficDetectionRule TrafficDetectionRule(Azure.ResourceManager.Network.Models.DdosTrafficType? trafficType = default, int? packetsPerSecond = default);
static member TrafficDetectionRule : Nullable<Azure.ResourceManager.Network.Models.DdosTrafficType> * Nullable<int> -> Azure.ResourceManager.Network.Models.TrafficDetectionRule
Public Shared Function TrafficDetectionRule (Optional trafficType As Nullable(Of DdosTrafficType) = Nothing, Optional packetsPerSecond As Nullable(Of Integer) = Nothing) As TrafficDetectionRule
Parameters
- trafficType
- Nullable<DdosTrafficType>
The traffic type (one of Tcp, Udp, TcpSyn) that the detection rule will be applied upon.
Returns
A new TrafficDetectionRule instance for mocking.