다음을 통해 공유


FrontDoorRuleData Class

Definition

A class representing the FrontDoorRule data model. Friendly Rules name mapping to the any Rules or secret related information.

public class FrontDoorRuleData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Cdn.FrontDoorRuleData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Cdn.FrontDoorRuleData>
public class FrontDoorRuleData : Azure.ResourceManager.Models.ResourceData
type FrontDoorRuleData = class
    inherit ResourceData
    interface IJsonModel<FrontDoorRuleData>
    interface IPersistableModel<FrontDoorRuleData>
type FrontDoorRuleData = class
    inherit ResourceData
Public Class FrontDoorRuleData
Inherits ResourceData
Implements IJsonModel(Of FrontDoorRuleData), IPersistableModel(Of FrontDoorRuleData)
Public Class FrontDoorRuleData
Inherits ResourceData
Inheritance
FrontDoorRuleData
Implements

Constructors

FrontDoorRuleData()

Initializes a new instance of FrontDoorRuleData.

Properties

Actions

A list of actions that are executed when all the conditions of a rule are satisfied. Please note DeliveryRuleAction is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DeliveryRuleCacheExpirationAction, DeliveryRuleCacheKeyQueryStringAction, DeliveryRuleRequestHeaderAction, DeliveryRuleResponseHeaderAction, OriginGroupOverrideAction, DeliveryRuleRouteConfigurationOverrideAction, UriRedirectAction, UriRewriteAction and UriSigningAction.

Conditions

A list of conditions that must be matched for the actions to be executed Please note DeliveryRuleCondition is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DeliveryRuleClientPortCondition, DeliveryRuleCookiesCondition, DeliveryRuleHostNameCondition, DeliveryRuleHttpVersionCondition, DeliveryRuleIsDeviceCondition, DeliveryRulePostArgsCondition, DeliveryRuleQueryStringCondition, DeliveryRuleRemoteAddressCondition, DeliveryRuleRequestBodyCondition, DeliveryRuleRequestHeaderCondition, DeliveryRuleRequestMethodCondition, DeliveryRuleRequestSchemeCondition, DeliveryRuleRequestUriCondition, DeliveryRuleServerPortCondition, DeliveryRuleSocketAddressCondition, DeliveryRuleSslProtocolCondition, DeliveryRuleUriFileExtensionCondition, DeliveryRuleUriFileNameCondition and DeliveryRuleUriPathCondition.

DeploymentStatus

Gets the deployment status.

Id

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

(Inherited from ResourceData)
MatchProcessingBehavior

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

Name

The name of the resource.

(Inherited from ResourceData)
Order

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.

ProvisioningState

Provisioning status.

ResourceType

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

(Inherited from ResourceData)
RuleSetName

The name of the rule set containing the rule.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<FrontDoorRuleData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<FrontDoorRuleData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FrontDoorRuleData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FrontDoorRuleData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<FrontDoorRuleData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to