Language

RecommendVmSkuContent Class

Definition

The parameters used to request an Azure virtual machine size recommendation for an AI workload.

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

Constructors

Name Description
RecommendVmSkuContent()

Initializes a new instance of RecommendVmSkuContent.

Properties

Name Description
Deployment

Deployment scale and Azure virtual machine procurement option.

Model

Model identity, sizing inputs, and optional maximum model context length.

Optimization

Ranking preference and optional deployment-wide hourly cost limit.

SubscriptionOptions

The subscription-scoped lookups to include in the recommendation.

TargetVmSizes

The Azure virtual machine candidate set. When supplied, only these virtual machine sizes are ranked. Entries must be non-blank and unique, compared case-insensitively.

Workload

Inference request concurrency and token shape assumptions.

Methods

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

Explicit Interface Implementations

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

Applies to