Delen via


FrontDoorRulePatch Class

Definition

The domain JSON object required for domain creation or update.

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

Constructors

FrontDoorRulePatch()

Initializes a new instance of FrontDoorRulePatch.

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.

MatchProcessingBehavior

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

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.

RuleSetName

The name of the rule set containing the rule.

Explicit Interface Implementations

IJsonModel<FrontDoorRulePatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<FrontDoorRulePatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FrontDoorRulePatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FrontDoorRulePatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<FrontDoorRulePatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to