次の方法で共有


AdvancedFilter Class

Definition

This is the base type that represents an advanced filter. To configure an advanced filter, do not directly instantiate an object of this class. Instead, instantiate an object of a derived class such as BoolEqualsAdvancedFilter, NumberInAdvancedFilter, StringEqualsAdvancedFilter etc. depending on the type of the key based on which you want to filter.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.AdvancedFilterTypeConverter))]
public class AdvancedFilter : Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IAdvancedFilter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.AdvancedFilterTypeConverter))>]
type AdvancedFilter = class
    interface IAdvancedFilter
    interface IJsonSerializable
Public Class AdvancedFilter
Implements IAdvancedFilter
Inheritance
AdvancedFilter
Attributes
Implements

Constructors

AdvancedFilter()

Creates an new AdvancedFilter instance.

Properties

Key

The field/property in the event based on which you want to filter.

OperatorType

The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AdvancedFilter.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AdvancedFilter.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IAdvancedFilter. Note: the Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IAdvancedFilter interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

Creates a new instance of AdvancedFilter, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of AdvancedFilter into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to