你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PlacementScore Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |