Share via


ProfileScrubbingRules Class

Definition

Defines the contents of the log scrubbing rules.

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

Constructors

ProfileScrubbingRules(ScrubbingRuleEntryMatchVariable, ScrubbingRuleEntryMatchOperator)

Initializes a new instance of ProfileScrubbingRules.

Properties

MatchVariable

The variable to be scrubbed from the logs.

Selector

When matchVariable is a collection, operator used to specify which elements in the collection this rule applies to.

SelectorMatchOperator

When matchVariable is a collection, operate on the selector to specify which elements in the collection this rule applies to.

State

Defines the state of a log scrubbing rule. Default value is enabled.

Explicit Interface Implementations

IJsonModel<ProfileScrubbingRules>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ProfileScrubbingRules>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ProfileScrubbingRules>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ProfileScrubbingRules>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ProfileScrubbingRules>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to