Språk

ArmNetworkModelFactory.DdosMitigationRule Method

Definition

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

id
ResourceIdentifier

Resource ID.

name
String

The name of the DDoS mitigation rule.

eTag
Nullable<ETag>

A unique read-only string that changes whenever the resource is updated.

type
String

The resource type.

properties
DdosMitigationRulePropertiesFormat

Properties of the DDoS mitigation rule.

Returns

A new DdosMitigationRule instance for mocking.

Applies to