ArmNetworkModelFactory.DdosDetectionRule 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.DdosDetectionRule DdosDetectionRule(Azure.Core.ResourceIdentifier id = default, string name = default, string type = default, Azure.ETag? eTag = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Azure.ResourceManager.Network.Models.DdosDetectionMode? detectionMode = default, Azure.ResourceManager.Network.Models.TrafficDetectionRule trafficDetectionRule = default);
static member DdosDetectionRule : Azure.Core.ResourceIdentifier * string * string * Nullable<Azure.ETag> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<Azure.ResourceManager.Network.Models.DdosDetectionMode> * Azure.ResourceManager.Network.Models.TrafficDetectionRule -> Azure.ResourceManager.Network.Models.DdosDetectionRule
Public Shared Function DdosDetectionRule (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional eTag As Nullable(Of ETag) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional detectionMode As Nullable(Of DdosDetectionMode) = Nothing, Optional trafficDetectionRule As TrafficDetectionRule = Nothing) As DdosDetectionRule
Parameters
Resource ID.
- name
- String
Name of the resource.
- type
- String
Resource type.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the DDoS detection rule.
- detectionMode
- Nullable<DdosDetectionMode>
The detection mode for the DDoS detection rule.
- trafficDetectionRule
- TrafficDetectionRule
The traffic detection rule details.
Returns
A new DdosDetectionRule instance for mocking.