Share via


SpotPlacementScoresResponse interface

SpotPlacementScores API response.

Properties

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.

placementScores

A placement score indicating the likelihood of successfully allocating the specified Spot VM(s), as well as the expected lifetimes of the Spot VM(s) after allocation.

Property Details

availabilityZones

Defines if the scope is zonal or regional.

availabilityZones?: boolean

Property Value

boolean

desiredCount

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

desiredCount?: number

Property Value

number

desiredLocations

The desired regions

desiredLocations?: string[]

Property Value

string[]

desiredSizes

The desired virtual machine SKU sizes.

desiredSizes?: ResourceSize[]

Property Value

placementScores

A placement score indicating the likelihood of successfully allocating the specified Spot VM(s), as well as the expected lifetimes of the Spot VM(s) after allocation.

placementScores?: PlacementScore[]

Property Value