Condividi tramite


GenerateCostDetailsReportRequestDefinition Class

Definition

The definition of a cost detailed report.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20220501.GenerateCostDetailsReportRequestDefinitionTypeConverter))]
public class GenerateCostDetailsReportRequestDefinition : Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20220501.IGenerateCostDetailsReportRequestDefinition, Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20220501.IGenerateCostDetailsReportRequestDefinitionInternal
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20220501.GenerateCostDetailsReportRequestDefinitionTypeConverter))>]
type GenerateCostDetailsReportRequestDefinition = class
    interface IGenerateCostDetailsReportRequestDefinition
    interface IJsonSerializable
    interface IGenerateCostDetailsReportRequestDefinitionInternal
Public Class GenerateCostDetailsReportRequestDefinition
Implements IGenerateCostDetailsReportRequestDefinition, IGenerateCostDetailsReportRequestDefinitionInternal
Inheritance
GenerateCostDetailsReportRequestDefinition
Attributes
Implements

Constructors

GenerateCostDetailsReportRequestDefinition()

Creates an new GenerateCostDetailsReportRequestDefinition instance.

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

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of GenerateCostDetailsReportRequestDefinition.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of GenerateCostDetailsReportRequestDefinition.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20220501.IGenerateCostDetailsReportRequestDefinition.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of GenerateCostDetailsReportRequestDefinition into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Explicit Interface Implementations

IGenerateCostDetailsReportRequestDefinitionInternal.TimePeriod

Internal Acessors for TimePeriod

Applies to