SpotRestorePolicy Class

Specifies the Spot-Try-Restore properties for the virtual machine scale set. 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
azure.mgmt.compute._serialization.Model
SpotRestorePolicy

Constructor

SpotRestorePolicy(*, enabled: bool | None = None, restore_timeout: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
enabled

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

Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances.

Variables

Name Description
enabled

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

Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances.