Condividi tramite


SpotRestorePolicy Constructors

Definition

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

enabled
Nullable<Boolean>

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