Delen via


ComponentPurgeFilters Class

Definition

User-defined filters to return data which will be purged from the table.

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

Constructors

ComponentPurgeFilters()

Initializes a new instance of ComponentPurgeFilters.

Properties

Column

The column of the table over which the given query should run.

Key

When filtering over custom dimensions, this key will be used as the name of the custom dimension.

Operator

A query operator to evaluate over the provided column and value(s). Supported operators are ==, =~, in, in~, >, >=, <, <=, between, and have the same behavior as they would in a KQL query.

Value

the value for the operator to function over. This can be a number (e.g., > 100), a string (timestamp >= '2017-09-01') or array of values.

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

Explicit Interface Implementations

IJsonModel<ComponentPurgeFilters>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ComponentPurgeFilters>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ComponentPurgeFilters>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ComponentPurgeFilters>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ComponentPurgeFilters>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to