Partilhar via


SpotPlacementRecommenderResponse Class

Definition

SpotPlacementRecommender API response.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20240601Preview.SpotPlacementRecommenderResponseTypeConverter))]
public class SpotPlacementRecommenderResponse : Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20240601Preview.ISpotPlacementRecommenderResponse
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20240601Preview.SpotPlacementRecommenderResponseTypeConverter))>]
type SpotPlacementRecommenderResponse = class
    interface ISpotPlacementRecommenderResponse
    interface IJsonSerializable
Public Class SpotPlacementRecommenderResponse
Implements ISpotPlacementRecommenderResponse
Inheritance
SpotPlacementRecommenderResponse
Attributes
Implements

Constructors

SpotPlacementRecommenderResponse()

Creates an new SpotPlacementRecommenderResponse instance.

Properties

AvailabilityZone

Defines if the scope is zonal or regional.

DesiredCount

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

DesiredLocation

The desired regions

DesiredSize

The desired resource SKUs.

PlacementScore

The spot placement scores.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SpotPlacementRecommenderResponse.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SpotPlacementRecommenderResponse.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20240601Preview.ISpotPlacementRecommenderResponse.

FromJsonString(String)

Creates a new instance of SpotPlacementRecommenderResponse, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of SpotPlacementRecommenderResponse into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to