Share via


RulesEngineHeaderAction Class

Definition

An action that can manipulate an http header.

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

Constructors

RulesEngineHeaderAction(RulesEngineHeaderActionType, String)

Initializes a new instance of RulesEngineHeaderAction.

Properties

HeaderActionType

Which type of manipulation to apply to the header.

HeaderName

The name of the header this action will apply to.

Value

The value to update the given header name with. This value is not used if the actionType is Delete.

Explicit Interface Implementations

IJsonModel<RulesEngineHeaderAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RulesEngineHeaderAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RulesEngineHeaderAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RulesEngineHeaderAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RulesEngineHeaderAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to