Compartir a través de


PlacementScore Class

Definition

The spot placement score for sku/region/zone combination.

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

Constructors

PlacementScore()

Creates an new PlacementScore instance.

Properties

AvailabilityZone

The availability region.

IsQuotaAvailable

Whether the desired quota is available.

Region

The region.

Score

The placement score.

Sku

The resource's CRP virtual machine SKU size.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PlacementScore.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PlacementScore.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of PlacementScore into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to