Share via


ComputeRecommenderGenerateContent Class

Definition

SpotPlacementScores API Input.

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

Constructors

Name Description
ComputeRecommenderGenerateContent()

Initializes a new instance of ComputeRecommenderGenerateContent.

Properties

Name Description
AvailabilityZones

Defines if the scope is zonal or regional.

DesiredCount

Desired instance count per region/zone based on the scope.

DesiredLocations

The desired regions.

DesiredSizes

The desired virtual machine SKU sizes.

Methods

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

Explicit Interface Implementations

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

Applies to