Sdílet prostřednictvím


QueryDataset Class

Definition

The definition of data present in the query.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.QueryDatasetTypeConverter))]
public class QueryDataset : Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IQueryDataset, Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IQueryDatasetInternal
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.QueryDatasetTypeConverter))>]
type QueryDataset = class
    interface IQueryDataset
    interface IJsonSerializable
    interface IQueryDatasetInternal
Public Class QueryDataset
Implements IQueryDataset, IQueryDatasetInternal
Inheritance
QueryDataset
Attributes
Implements

Constructors

QueryDataset()

Creates an new QueryDataset instance.

Properties

Aggregation

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.

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.

Filter

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

Granularity

The granularity of rows in the query.

Grouping

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of QueryDataset.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of QueryDataset.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of QueryDataset into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Explicit Interface Implementations

IQueryDatasetInternal.Configuration

Internal Acessors for Configuration

Applies to