ArmCdnModelFactory.ManagedRuleSetDefinition Method

Definition

Initializes a new instance of ManagedRuleSetDefinition.

public static Azure.ResourceManager.Cdn.Models.ManagedRuleSetDefinition ManagedRuleSetDefinition (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Cdn.Models.CdnSkuName? skuName = default, string provisioningState = default, string ruleSetType = default, string ruleSetVersion = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.ManagedRuleGroupDefinition> ruleGroups = default);
static member ManagedRuleSetDefinition : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Cdn.Models.CdnSkuName> * string * string * string * seq<Azure.ResourceManager.Cdn.Models.ManagedRuleGroupDefinition> -> Azure.ResourceManager.Cdn.Models.ManagedRuleSetDefinition
Public Shared Function ManagedRuleSetDefinition (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional skuName As Nullable(Of CdnSkuName) = Nothing, Optional provisioningState As String = Nothing, Optional ruleSetType As String = Nothing, Optional ruleSetVersion As String = Nothing, Optional ruleGroups As IEnumerable(Of ManagedRuleGroupDefinition) = Nothing) As ManagedRuleSetDefinition

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

skuName
Nullable<CdnSkuName>

The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy.

provisioningState
String

Provisioning state of the managed rule set.

ruleSetType
String

Type of the managed rule set.

ruleSetVersion
String

Version of the managed rule set type.

ruleGroups
IEnumerable<ManagedRuleGroupDefinition>

Rule groups of the managed rule set.

Returns

A new ManagedRuleSetDefinition instance for mocking.

Applies to