Sdílet prostřednictvím


ReportConfigDefinition Class

Definition

The definition of a report config.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.ReportConfigDefinitionTypeConverter))]
public class ReportConfigDefinition : Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IReportConfigDefinition, Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IReportConfigDefinitionInternal
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.ReportConfigDefinitionTypeConverter))>]
type ReportConfigDefinition = class
    interface IReportConfigDefinition
    interface IJsonSerializable
    interface IReportConfigDefinitionInternal
Public Class ReportConfigDefinition
Implements IReportConfigDefinition, IReportConfigDefinitionInternal
Inheritance
ReportConfigDefinition
Attributes
Implements

Constructors

ReportConfigDefinition()

Creates an new ReportConfigDefinition instance.

Properties

ConfigurationColumn

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

DataSetAggregation

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

DataSetFilter

Has filter expression to use in the report.

DataSetGranularity

The granularity of rows in the report.

DataSetGrouping

Array of group by expression to use in the report. Report can have up to 2 group by clauses.

DataSetSorting

Array of order by expression to use in the report.

IncludeMonetaryCommitment

If true, report includes monetary commitment.

Timeframe

The time frame for pulling data for the report. 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 report. Usage represents actual usage, forecast represents forecasted data and UsageAndForecast represents both usage and forecasted data. Actual usage and forecasted data can be differentiated based on dates.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ReportConfigDefinition.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ReportConfigDefinition.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ReportConfigDefinition into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Explicit Interface Implementations

IReportConfigDefinitionInternal.DataSet

Internal Acessors for DataSet

IReportConfigDefinitionInternal.DataSetConfiguration

Internal Acessors for DataSetConfiguration

IReportConfigDefinitionInternal.TimePeriod

Internal Acessors for TimePeriod

IReportConfigDefinitionInternal.Type

Internal Acessors for Type

Applies to