Share via


QueryFilter Class

Definition

The filter expression to be used in the export.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.QueryFilterTypeConverter))]
public class QueryFilter : Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IQueryFilter, Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IQueryFilterInternal
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.QueryFilterTypeConverter))>]
type QueryFilter = class
    interface IQueryFilter
    interface IJsonSerializable
    interface IQueryFilterInternal
Public Class QueryFilter
Implements IQueryFilter, IQueryFilterInternal
Inheritance
QueryFilter
Attributes
Implements

Constructors

QueryFilter()

Creates an new QueryFilter instance.

Properties

And

The logical "AND" expression. Must have at least 2 items.

Dimensions

Has comparison expression for a dimension

Not

The logical "NOT" expression.

Or

The logical "OR" expression. Must have at least 2 items.

Tag

Has comparison expression for a tag

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of QueryFilter.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of QueryFilter.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IQueryFilter.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of QueryFilter into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to