Sdílet prostřednictvím


ResourceSkuCosts Class

Definition

Describes metadata for retrieving price info.

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

Properties

ExtendedUnit

An invariant to show the extended unit.

MeterId

Used for querying price from commerce.

Quantity

The multiplier is needed to extend the base metered cost.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ResourceSkuCosts>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ResourceSkuCosts>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ResourceSkuCosts>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ResourceSkuCosts>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ResourceSkuCosts>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to