Dela via


QueryAggregation Class

Definition

The aggregation expression to be used in the query.

public class QueryAggregation : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CostManagement.Models.QueryAggregation>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CostManagement.Models.QueryAggregation>
type QueryAggregation = class
    interface IJsonModel<QueryAggregation>
    interface IPersistableModel<QueryAggregation>
Public Class QueryAggregation
Implements IJsonModel(Of QueryAggregation), IPersistableModel(Of QueryAggregation)
Inheritance
QueryAggregation
Implements

Constructors

QueryAggregation(String, FunctionType)

Initializes a new instance of QueryAggregation.

Properties

Function

The name of the aggregation function to use.

Name

The name of the column to aggregate.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<QueryAggregation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<QueryAggregation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<QueryAggregation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<QueryAggregation>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<QueryAggregation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to