SpotRestorePolicy Constructors
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.
Overloads
SpotRestorePolicy() |
Initializes a new instance of the SpotRestorePolicy class. |
SpotRestorePolicy(Nullable<Boolean>, String) |
Initializes a new instance of the SpotRestorePolicy class. |
SpotRestorePolicy()
Initializes a new instance of the SpotRestorePolicy class.
public SpotRestorePolicy ();
Public Sub New ()
Applies to
SpotRestorePolicy(Nullable<Boolean>, String)
Initializes a new instance of the SpotRestorePolicy class.
public SpotRestorePolicy (bool? enabled = default, string restoreTimeout = default);
new Microsoft.Azure.Management.Compute.Models.SpotRestorePolicy : Nullable<bool> * string -> Microsoft.Azure.Management.Compute.Models.SpotRestorePolicy
Public Sub New (Optional enabled As Nullable(Of Boolean) = Nothing, Optional restoreTimeout As String = Nothing)
Parameters
Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints
- restoreTimeout
- String
Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances
Applies to
Azure SDK for .NET