ArmNetworkModelFactory.DdosMitigationRule 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.
A DDoS mitigation rule resource.
public static Azure.ResourceManager.Network.Models.DdosMitigationRule DdosMitigationRule(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.ETag? eTag = default, string type = default, Azure.ResourceManager.Network.Models.DdosMitigationRulePropertiesFormat properties = default);
static member DdosMitigationRule : Azure.Core.ResourceIdentifier * string * Nullable<Azure.ETag> * string * Azure.ResourceManager.Network.Models.DdosMitigationRulePropertiesFormat -> Azure.ResourceManager.Network.Models.DdosMitigationRule
Public Shared Function DdosMitigationRule (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional eTag As Nullable(Of ETag) = Nothing, Optional type As String = Nothing, Optional properties As DdosMitigationRulePropertiesFormat = Nothing) As DdosMitigationRule
Parameters
Resource ID.
- name
- String
The name of the DDoS mitigation rule.
- type
- String
The resource type.
- properties
- DdosMitigationRulePropertiesFormat
Properties of the DDoS mitigation rule.
Returns
A new DdosMitigationRule instance for mocking.