Language

ArmCdnModelFactory.FrontDoorRuleSetData Method

Definition

public static Azure.ResourceManager.Cdn.FrontDoorRuleSetData FrontDoorRuleSetData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Cdn.Models.FrontDoorProvisioningState? provisioningState = default, Azure.ResourceManager.Cdn.Models.FrontDoorDeploymentStatus? deploymentStatus = default, string profileName = default, bool? isBatchMode = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.BatchRuleProperties> rules = default);
static member FrontDoorRuleSetData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Cdn.Models.FrontDoorProvisioningState> * Nullable<Azure.ResourceManager.Cdn.Models.FrontDoorDeploymentStatus> * string * Nullable<bool> * seq<Azure.ResourceManager.Cdn.Models.BatchRuleProperties> -> Azure.ResourceManager.Cdn.FrontDoorRuleSetData
Public Shared Function FrontDoorRuleSetData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional provisioningState As Nullable(Of FrontDoorProvisioningState) = Nothing, Optional deploymentStatus As Nullable(Of FrontDoorDeploymentStatus) = Nothing, Optional profileName As String = Nothing, Optional isBatchMode As Nullable(Of Boolean) = Nothing, Optional rules As IEnumerable(Of BatchRuleProperties) = Nothing) As FrontDoorRuleSetData

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
Nullable<FrontDoorProvisioningState>

Provisioning status.

deploymentStatus
Nullable<FrontDoorDeploymentStatus>

Gets the DeploymentStatus.

profileName
String

The name of the profile which holds the rule set.

isBatchMode
Nullable<Boolean>

Indicates whether rule set is in batch mode. When batch mode is enabled, rules will be processed in a batch along with the rule set. When batch mode is disabled, rules would need to be processed independently. This property can only be set during rule set creation and cannot be updated later. For switching modes, a new rule set needs to be created with the desired mode and rules need to be migrated to the new rule set.

rules
IEnumerable<BatchRuleProperties>

A list of rules that are part of this rule set provided the rule set is in batch mode. This property will be ignored if the rule set is not in batch mode.

Returns

A new FrontDoorRuleSetData instance for mocking.

Applies to