Sdílet prostřednictvím


ConsumptionLegacyChargeSummary Class

Definition

Legacy charge summary.

public class ConsumptionLegacyChargeSummary : Azure.ResourceManager.Consumption.Models.ConsumptionChargeSummary, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Consumption.Models.ConsumptionLegacyChargeSummary>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Consumption.Models.ConsumptionLegacyChargeSummary>
type ConsumptionLegacyChargeSummary = class
    inherit ConsumptionChargeSummary
    interface IJsonModel<ConsumptionLegacyChargeSummary>
    interface IPersistableModel<ConsumptionLegacyChargeSummary>
Public Class ConsumptionLegacyChargeSummary
Inherits ConsumptionChargeSummary
Implements IJsonModel(Of ConsumptionLegacyChargeSummary), IPersistableModel(Of ConsumptionLegacyChargeSummary)
Inheritance
ConsumptionLegacyChargeSummary
Implements

Constructors

ConsumptionLegacyChargeSummary()

Initializes a new instance of ConsumptionLegacyChargeSummary.

Properties

AzureCharges

Azure Charges.

BillingPeriodId

The id of the billing period resource that the charge belongs to.

ChargesBilledSeparately

Charges Billed separately.

Currency

Currency Code.

ETag

eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.

(Inherited from ConsumptionChargeSummary)
Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
MarketplaceCharges

Marketplace Charges.

Name

The name of the resource.

(Inherited from ResourceData)
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
UsageEnd

Usage end date.

UsageStart

Usage start date.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ConsumptionChargeSummary>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from ConsumptionChargeSummary)
IJsonModel<ConsumptionChargeSummary>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ConsumptionChargeSummary)
IJsonModel<ConsumptionLegacyChargeSummary>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ConsumptionLegacyChargeSummary>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ConsumptionChargeSummary>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ConsumptionChargeSummary)
IPersistableModel<ConsumptionChargeSummary>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from ConsumptionChargeSummary)
IPersistableModel<ConsumptionChargeSummary>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ConsumptionChargeSummary)
IPersistableModel<ConsumptionLegacyChargeSummary>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ConsumptionLegacyChargeSummary>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ConsumptionLegacyChargeSummary>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to