IQueryDefinition Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.QueryDefinitionTypeConverter))]
public interface IQueryDefinition : Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.QueryDefinitionTypeConverter))>]
type IQueryDefinition = interface
    interface IJsonSerializable
Public Interface IQueryDefinition
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

ConfigurationColumn

Array of column names to be included in the query. Any valid query column name is allowed. If not provided, then query includes all columns.

DatasetAggregation

Dictionary of aggregation expression to use in the query. The key of each item in the dictionary is the alias for the aggregated column. Query can have up to 2 aggregation clauses.

DatasetFilter

The filter expression to use in the query. Please reference our Query API REST documentation for how to properly format the filter.

DatasetGranularity

The granularity of rows in the query.

DatasetGrouping

Array of group by expression to use in the query. Query can have up to 2 group by clauses.

Timeframe

The time frame for pulling data for the query. If custom, then a specific time period must be provided.

TimePeriodFrom

The start date to pull data from.

TimePeriodTo

The end date to pull data to.

Type

The type of the query.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to