-
Notifications
You must be signed in to change notification settings - Fork 234
/
azure.mgmt.compute.v2019_03_01.models.AutomaticRepairsPolicy.yml
60 lines (50 loc) · 1.92 KB
/
azure.mgmt.compute.v2019_03_01.models.AutomaticRepairsPolicy.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
54
55
56
57
58
59
60
### YamlMime:PythonClass
uid: azure.mgmt.compute.v2019_03_01.models.AutomaticRepairsPolicy
name: AutomaticRepairsPolicy
fullName: azure.mgmt.compute.v2019_03_01.models.AutomaticRepairsPolicy
module: azure.mgmt.compute.v2019_03_01.models
inheritances:
- azure.mgmt.compute._serialization.Model
summary: Specifies the configuration parameters for automatic repairs on the virtual
machine scale set.
constructor:
syntax: 'AutomaticRepairsPolicy(*, enabled: bool | None = None, grace_period: str
| None = None, **kwargs: Any)'
keywordOnlyParameters:
- name: enabled
description: 'Specifies whether automatic repairs should be enabled on the virtual
machine
scale set. The default value is false.'
types:
- <xref:bool>
- name: grace_period
description: 'The amount of time for which automatic repairs are suspended due
to a
state change on VM. The grace time starts after the state change has completed.
This helps
avoid premature or accidental repairs. The time duration should be specified
in ISO 8601
format. The minimum allowed grace period is 30 minutes (PT30M), which is also
the default
value. The maximum allowed grace period is 90 minutes (PT90M).'
types:
- <xref:str>
variables:
- description: 'Specifies whether automatic repairs should be enabled on the virtual
machine
scale set. The default value is false.'
name: enabled
types:
- <xref:bool>
- description: 'The amount of time for which automatic repairs are suspended due to
a state
change on VM. The grace time starts after the state change has completed. This
helps avoid
premature or accidental repairs. The time duration should be specified in ISO
8601 format. The
minimum allowed grace period is 30 minutes (PT30M), which is also the default
value. The
maximum allowed grace period is 90 minutes (PT90M).'
name: grace_period
types:
- <xref:str>