Freigeben über


ForecastTimePeriod Class

Definition

Has time period for pulling data for the forecast.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.ForecastTimePeriodTypeConverter))]
public class ForecastTimePeriod : Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IForecastTimePeriod, Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IForecastTimePeriodInternal
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.ForecastTimePeriodTypeConverter))>]
type ForecastTimePeriod = class
    interface IForecastTimePeriod
    interface IJsonSerializable
    interface IForecastTimePeriodInternal
Public Class ForecastTimePeriod
Implements IForecastTimePeriod, IForecastTimePeriodInternal
Inheritance
ForecastTimePeriod
Attributes
Implements

Constructors

Name Description
ForecastTimePeriod()

Creates an new ForecastTimePeriod instance.

Properties

Name Description
From

The start date to pull data from.

To

The end date to pull data to.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ForecastTimePeriod.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ForecastTimePeriod.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ForecastTimePeriod into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to