Sdílet prostřednictvím


IGenerateCostDetailsReportRequestDefinition Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20220501.GenerateCostDetailsReportRequestDefinitionTypeConverter))]
public interface IGenerateCostDetailsReportRequestDefinition : Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20220501.GenerateCostDetailsReportRequestDefinitionTypeConverter))>]
type IGenerateCostDetailsReportRequestDefinition = interface
    interface IJsonSerializable
Public Interface IGenerateCostDetailsReportRequestDefinition
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

BillingPeriod

This parameter can be used only by Enterprise Agreement customers. Use the YearMonth(e.g. 202008) format. This parameter cannot be used alongside either the invoiceId or timePeriod parameters. If a timePeriod, invoiceId or billingPeriod parameter is not provided in the request body the API will return the current month's cost.

InvoiceId

This parameter can only be used by Microsoft Customer Agreement customers. Additionally, it can only be used at the Billing Profile or Customer scope. This parameter cannot be used alongside either the billingPeriod or timePeriod parameters. If a timePeriod, invoiceId or billingPeriod parameter is not provided in the request body the API will return the current month's cost.

Metric

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

TimePeriodEnd

The end date to pull data to. example format 2020-03-15

TimePeriodStart

The start date to pull data from. example format 2020-03-15

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to