ArmCdnModelFactory.FrontDoorRuleData Method

Definition

Initializes a new instance of FrontDoorRuleData.

public static Azure.ResourceManager.Cdn.FrontDoorRuleData FrontDoorRuleData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string ruleSetName = default, int? order = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.DeliveryRuleCondition> conditions = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.DeliveryRuleAction> actions = default, Azure.ResourceManager.Cdn.Models.MatchProcessingBehavior? matchProcessingBehavior = default, Azure.ResourceManager.Cdn.Models.FrontDoorProvisioningState? provisioningState = default, Azure.ResourceManager.Cdn.Models.FrontDoorDeploymentStatus? deploymentStatus = default);
static member FrontDoorRuleData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<int> * seq<Azure.ResourceManager.Cdn.Models.DeliveryRuleCondition> * seq<Azure.ResourceManager.Cdn.Models.DeliveryRuleAction> * Nullable<Azure.ResourceManager.Cdn.Models.MatchProcessingBehavior> * Nullable<Azure.ResourceManager.Cdn.Models.FrontDoorProvisioningState> * Nullable<Azure.ResourceManager.Cdn.Models.FrontDoorDeploymentStatus> -> Azure.ResourceManager.Cdn.FrontDoorRuleData
Public Shared Function FrontDoorRuleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional ruleSetName As String = Nothing, Optional order As Nullable(Of Integer) = Nothing, Optional conditions As IEnumerable(Of DeliveryRuleCondition) = Nothing, Optional actions As IEnumerable(Of DeliveryRuleAction) = Nothing, Optional matchProcessingBehavior As Nullable(Of MatchProcessingBehavior) = Nothing, Optional provisioningState As Nullable(Of FrontDoorProvisioningState) = Nothing, Optional deploymentStatus As Nullable(Of FrontDoorDeploymentStatus) = Nothing) As FrontDoorRuleData

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.

ruleSetName
String

The name of the rule set containing the rule.

order
Nullable<Int32>

The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied.

conditions
IEnumerable<DeliveryRuleCondition>

A list of conditions that must be matched for the actions to be executed.

actions
IEnumerable<DeliveryRuleAction>

A list of actions that are executed when all the conditions of a rule are satisfied.

matchProcessingBehavior
Nullable<MatchProcessingBehavior>

If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue.

provisioningState
Nullable<FrontDoorProvisioningState>

Provisioning status.

deploymentStatus
Nullable<FrontDoorDeploymentStatus>

Gets the DeploymentStatus.

Returns

A new FrontDoorRuleData instance for mocking.

Applies to