ManagedRuleDefinition Class

Definition

Describes a managed rule definition.

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

Constructors

Name Description
ManagedRuleDefinition()

Initializes a new instance of ManagedRuleDefinition.

Properties

Name Description
Description

Describes the functionality of the managed rule.

RuleId

Identifier for the managed rule.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
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