Language

RecommendVmSkuCost Class

Definition

The deployment cost for one virtual machine size option.

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

Properties

Name Description
CurrencyCode

The ISO 4217 currency code all amounts in this object are expressed in.

DeploymentHourly

The price per hour for the whole deployment, in the stated currency.

Error

The error that prevented subscription-scoped pricing from being resolved, if any.

PriceObservedOn

The date and time the price was observed.

Source

The source the price was resolved from.

VmHourly

The price per hour for a single virtual machine, in the stated currency.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<RecommendVmSkuCost>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<RecommendVmSkuCost>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<RecommendVmSkuCost>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<RecommendVmSkuCost>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<RecommendVmSkuCost>.Write(ModelReaderWriterOptions)

Applies to