다음을 통해 공유


ForecastDataset Class

Definition

The definition of data present in the forecast.

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

Constructors

ForecastDataset(IDictionary<String,ForecastAggregation>)

Initializes a new instance of ForecastDataset.

Properties

Aggregation

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

Columns

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

Filter

Has filter expression to use in the forecast.

Granularity

The granularity of rows in the forecast.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ForecastDataset>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ForecastDataset>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ForecastDataset>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ForecastDataset>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ForecastDataset>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to