Sdílet prostřednictvím


LoggingRule Class

Definition

The LoggingRule.

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

Constructors

LoggingRule(String, LoggingDirection, LoggingDetail)

Initializes a new instance of LoggingRule.

Properties

Action

Gets or sets the action.

DetailLevel

Gets or sets the detail level.

Direction

Gets or sets the direction.

HiddenPropertyPaths

Gets or sets the hidden property paths.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<LoggingRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<LoggingRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LoggingRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LoggingRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<LoggingRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to