ComponentPurgeBodyFilters Class

Definition

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

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

Constructors

ComponentPurgeBodyFilters()

Initializes a new instance of ComponentPurgeBodyFilters.

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<ComponentPurgeBodyFilters>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ComponentPurgeBodyFilters>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ComponentPurgeBodyFilters>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ComponentPurgeBodyFilters>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ComponentPurgeBodyFilters>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to