-
Notifications
You must be signed in to change notification settings - Fork 234
/
azure.mgmt.compute.v2022_03_01.models.SpotRestorePolicy.yml
53 lines (45 loc) · 1.62 KB
/
azure.mgmt.compute.v2022_03_01.models.SpotRestorePolicy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
### YamlMime:PythonClass
uid: azure.mgmt.compute.v2022_03_01.models.SpotRestorePolicy
name: SpotRestorePolicy
fullName: azure.mgmt.compute.v2022_03_01.models.SpotRestorePolicy
module: azure.mgmt.compute.v2022_03_01.models
inheritances:
- azure.mgmt.compute._serialization.Model
summary: '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.'
constructor:
syntax: 'SpotRestorePolicy(*, enabled: bool | None = None, restore_timeout: str
| None = None, **kwargs: Any)'
keywordOnlyParameters:
- name: enabled
description: '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.'
types:
- <xref:bool>
- name: restore_timeout
description: 'Timeout value expressed as an ISO 8601 time duration after which
the
platform will not try to restore the VMSS SPOT instances.'
types:
- <xref:str>
variables:
- description: '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.'
name: enabled
types:
- <xref:bool>
- description: 'Timeout value expressed as an ISO 8601 time duration after which the
platform will not try to restore the VMSS SPOT instances.'
name: restore_timeout
types:
- <xref:str>