Condividi tramite


CostDetailsTimePeriod Class

Definition

The start and end date for pulling data for the cost detailed report. API only allows data to be pulled for 1 month or less and no older than 13 months.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20220501.CostDetailsTimePeriodTypeConverter))]
public class CostDetailsTimePeriod : Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20220501.ICostDetailsTimePeriod, Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20220501.ICostDetailsTimePeriodInternal
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20220501.CostDetailsTimePeriodTypeConverter))>]
type CostDetailsTimePeriod = class
    interface ICostDetailsTimePeriod
    interface IJsonSerializable
    interface ICostDetailsTimePeriodInternal
Public Class CostDetailsTimePeriod
Implements ICostDetailsTimePeriod, ICostDetailsTimePeriodInternal
Inheritance
CostDetailsTimePeriod
Attributes
Implements

Constructors

CostDetailsTimePeriod()

Creates an new CostDetailsTimePeriod instance.

Properties

End

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

Start

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CostDetailsTimePeriod.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CostDetailsTimePeriod.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CostDetailsTimePeriod into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to