Sdílet prostřednictvím


ReportConfigTimePeriod Class

Definition

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

public class ReportConfigTimePeriod : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CostManagement.Models.ReportConfigTimePeriod>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CostManagement.Models.ReportConfigTimePeriod>
type ReportConfigTimePeriod = class
    interface IJsonModel<ReportConfigTimePeriod>
    interface IPersistableModel<ReportConfigTimePeriod>
Public Class ReportConfigTimePeriod
Implements IJsonModel(Of ReportConfigTimePeriod), IPersistableModel(Of ReportConfigTimePeriod)
Inheritance
ReportConfigTimePeriod
Implements

Constructors

ReportConfigTimePeriod(DateTimeOffset, DateTimeOffset)

Initializes a new instance of ReportConfigTimePeriod.

Properties

From

The start date to pull data from.

To

The end date to pull data to.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ReportConfigTimePeriod>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ReportConfigTimePeriod>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ReportConfigTimePeriod>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ReportConfigTimePeriod>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ReportConfigTimePeriod>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to