Поделиться через


ExportDefinition Class

Definition

The definition of an export.

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

Constructors

ExportDefinition(ExportType, TimeframeType)

Initializes a new instance of ExportDefinition.

Properties

DataSet

The definition for data in the export.

ExportType

The type of the export. Note that 'Usage' is equivalent to 'ActualCost' and is applicable to exports that do not yet provide data for charges or amortization for service reservations.

Timeframe

The time frame for pulling data for the export. If custom, then a specific time period must be provided.

TimePeriod

Has time period for pulling data for the export.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ExportDefinition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ExportDefinition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ExportDefinition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ExportDefinition>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ExportDefinition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to