ExportTimePeriod Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The date range for data in the export. This should only be specified with timeFrame set to 'Custom'. The maximum date range is 3 months.
public class ExportTimePeriod : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CostManagement.Models.ExportTimePeriod>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CostManagement.Models.ExportTimePeriod>
type ExportTimePeriod = class
interface IJsonModel<ExportTimePeriod>
interface IPersistableModel<ExportTimePeriod>
Public Class ExportTimePeriod
Implements IJsonModel(Of ExportTimePeriod), IPersistableModel(Of ExportTimePeriod)
- Inheritance
-
ExportTimePeriod
- Implements
Constructors
ExportTimePeriod(DateTimeOffset, DateTimeOffset) |
Initializes a new instance of ExportTimePeriod. |
Properties
From |
The start date for export data. |
To |
The end date for export data. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<ExportTimePeriod>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<ExportTimePeriod>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<ExportTimePeriod>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<ExportTimePeriod>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<ExportTimePeriod>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET