Dela via


ManagedRuleDefinition Class

Definition

Describes a managed rule definition.

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

Properties

DefaultAction

Describes the default action to be applied when the managed rule matches.

DefaultState

Describes the default state for the managed rule.

Description

Describes the functionality of the managed rule.

RuleId

Identifier for the managed rule.

Explicit Interface Implementations

IJsonModel<ManagedRuleDefinition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ManagedRuleDefinition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ManagedRuleDefinition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ManagedRuleDefinition>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ManagedRuleDefinition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to