你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SpotPlacementScoresInput Class

Definition

SpotPlacementScores API Input.

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

Constructors

SpotPlacementScoresInput()

Creates an new SpotPlacementScoresInput 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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SpotPlacementScoresInput.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SpotPlacementScoresInput.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SpotPlacementScoresInput into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to