Udostępnij za pośrednictwem


RulesEngineAction Class

Definition

One or more actions that will execute, modifying the request and/or response.

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

Constructors

RulesEngineAction()

Initializes a new instance of RulesEngineAction.

Properties

RequestHeaderActions

A list of header actions to apply from the request from AFD to the origin.

ResponseHeaderActions

A list of header actions to apply from the response from AFD to the client.

RouteConfigurationOverride

Override the route configuration. Please note RouteConfiguration 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 ForwardingConfiguration and RedirectConfiguration.

Explicit Interface Implementations

IJsonModel<RulesEngineAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RulesEngineAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RulesEngineAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RulesEngineAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RulesEngineAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to