Share via


PSNodePool.SpotMaxPrice Property

Definition

Gets or sets the max price (in US Dollars) you are willing to pay for spot instances. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand.

public double? SpotMaxPrice { get; set; }
member this.SpotMaxPrice : Nullable<double> with get, set
Public Property SpotMaxPrice As Nullable(Of Double)

Property Value

Remarks

Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://learn.microsoft.com/azure/virtual-machines/spot-vms#pricing)

Applies to