GenerateDetailedCostReportDefinition interface

The definition of a cost detailed report.

Properties

billingPeriod

Billing period in YearMonth(e.g. 202008) format. Only for legacy enterprise customers can use this. Can only have one of either timePeriod or invoiceId or billingPeriod parameters. If none provided current month cost is provided.

customerId

Customer ID for Microsoft Customer Agreement scopes (Invoice Id is also required for this).

invoiceId

Invoice ID for Pay-as-you-go and Microsoft Customer Agreement scopes. Can only have one of either timePeriod or invoiceId or billingPeriod parameters. If none provided current month cost is provided.

metric

The type of the detailed report. By default ActualCost is provided

timePeriod

Has time period for pulling data for the cost detailed report. Can only have one of either timePeriod or invoiceId or billingPeriod parameters. If none provided current month cost is provided.

Property Details

billingPeriod

Billing period in YearMonth(e.g. 202008) format. Only for legacy enterprise customers can use this. Can only have one of either timePeriod or invoiceId or billingPeriod parameters. If none provided current month cost is provided.

billingPeriod?: string

Property Value

string

customerId

Customer ID for Microsoft Customer Agreement scopes (Invoice Id is also required for this).

customerId?: string

Property Value

string

invoiceId

Invoice ID for Pay-as-you-go and Microsoft Customer Agreement scopes. Can only have one of either timePeriod or invoiceId or billingPeriod parameters. If none provided current month cost is provided.

invoiceId?: string

Property Value

string

metric

The type of the detailed report. By default ActualCost is provided

metric?: string

Property Value

string

timePeriod

Has time period for pulling data for the cost detailed report. Can only have one of either timePeriod or invoiceId or billingPeriod parameters. If none provided current month cost is provided.

timePeriod?: GenerateDetailedCostReportTimePeriod

Property Value