你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PSNodePool.SpotMaxPrice Property
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.
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)