SpotRestorePolicy Class
Specifies the Spot-Try-Restore properties for the virtual machine scale set. <br>``<br> With this property customer can enable or disable automatic restore of the evicted Spot VMSS VM instances opportunistically based on capacity availability and pricing constraint.
- Inheritance
-
SpotRestorePolicy
Constructor
SpotRestorePolicy(*, enabled: Optional[bool] = None, restore_timeout: Optional[str] = None, **kwargs)
Parameters
- enabled
- bool
Required
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.
- restore_timeout
- str
Required
Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances.
Feedback
Submit and view feedback for