Language

ArmCdnModelFactory.ManagedRuleSetDefinition Method

Definition

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, string provisioningState = default, string ruleSetType = default, string ruleSetVersion = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.ManagedRuleGroupDefinition> ruleGroups = default, Azure.ResourceManager.Cdn.Models.CdnSkuName? skuName = default);
static member ManagedRuleSetDefinition : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * seq<Azure.ResourceManager.Cdn.Models.ManagedRuleGroupDefinition> * Nullable<Azure.ResourceManager.Cdn.Models.CdnSkuName> -> 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 provisioningState As String = Nothing, Optional ruleSetType As String = Nothing, Optional ruleSetVersion As String = Nothing, Optional ruleGroups As IEnumerable(Of ManagedRuleGroupDefinition) = Nothing, Optional skuName As Nullable(Of CdnSkuName) = Nothing) As ManagedRuleSetDefinition

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

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.

skuName
Nullable<CdnSkuName>

Name of the pricing tier.

Returns

A new ManagedRuleSetDefinition instance for mocking.

Applies to