QueryTimePeriod Class

Definition

The start and end date for pulling data for the query.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.QueryTimePeriodTypeConverter))]
public class QueryTimePeriod : Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IQueryTimePeriod, Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IQueryTimePeriodInternal
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.QueryTimePeriodTypeConverter))>]
type QueryTimePeriod = class
    interface IQueryTimePeriod
    interface IJsonSerializable
    interface IQueryTimePeriodInternal
Public Class QueryTimePeriod
Implements IQueryTimePeriod, IQueryTimePeriodInternal
Inheritance
QueryTimePeriod
Attributes
Implements

Constructors

QueryTimePeriod()

Creates an new QueryTimePeriod instance.

Properties

From

The start date to pull data from.

To

The end date to pull data to.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of QueryTimePeriod.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of QueryTimePeriod.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of QueryTimePeriod into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to