QueryFilter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
| Name | Description |
|---|---|
| QueryFilter() |
Creates an new QueryFilter instance. |
Properties
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| 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. |