-
Notifications
You must be signed in to change notification settings - Fork 234
/
azure.mgmt.compute.v2023_09_01.models.UpgradePolicy.yml
76 lines (62 loc) · 2.64 KB
/
azure.mgmt.compute.v2023_09_01.models.UpgradePolicy.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
### YamlMime:PythonClass
uid: azure.mgmt.compute.v2023_09_01.models.UpgradePolicy
name: UpgradePolicy
fullName: azure.mgmt.compute.v2023_09_01.models.UpgradePolicy
module: azure.mgmt.compute.v2023_09_01.models
inheritances:
- azure.mgmt.compute._serialization.Model
summary: Describes an upgrade policy - automatic, manual, or rolling.
constructor:
syntax: 'UpgradePolicy(*, mode: str | _models.UpgradeMode | None = None, rolling_upgrade_policy:
_models.RollingUpgradePolicy | None = None, automatic_os_upgrade_policy: _models.AutomaticOSUpgradePolicy
| None = None, **kwargs: Any)'
keywordOnlyParameters:
- name: mode
description: 'Specifies the mode of an upgrade to virtual machines in the scale
set.:code:*<br
/>*`<br />` Possible values are:`<br />``<br />` **Manual** - You control
the application of updates to virtual machines in the scale set. You do this
by using the
manualUpgrade action.:code:*<br />*`<br />` **Automatic** - All virtual machines
in the
scale set are automatically updated at the same time. Known values are: "Automatic",
"Manual",
and "Rolling".'
types:
- <xref:str>
- <xref:azure.mgmt.compute.v2023_09_01.models.UpgradeMode>
- name: rolling_upgrade_policy
description: 'The configuration parameters used while performing a rolling
upgrade.'
types:
- <xref:azure.mgmt.compute.v2023_09_01.models.RollingUpgradePolicy>
- name: automatic_os_upgrade_policy
description: 'Configuration parameters used for performing automatic OS
Upgrade.'
types:
- <xref:azure.mgmt.compute.v2023_09_01.models.AutomaticOSUpgradePolicy>
variables:
- description: 'Specifies the mode of an upgrade to virtual machines in the scale
set.:code:*<br
/>*`<br />` Possible values are:`<br />``<br />` **Manual** - You control
the application of updates to virtual machines in the scale set. You do this by
using the
manualUpgrade action.:code:*<br />*`<br />` **Automatic** - All virtual machines
in the
scale set are automatically updated at the same time. Known values are: "Automatic",
"Manual",
and "Rolling".'
name: mode
types:
- <xref:str>
- <xref:azure.mgmt.compute.v2023_09_01.models.UpgradeMode>
- description: 'The configuration parameters used while performing a rolling
upgrade.'
name: rolling_upgrade_policy
types:
- <xref:azure.mgmt.compute.v2023_09_01.models.RollingUpgradePolicy>
- description: 'Configuration parameters used for performing automatic OS
Upgrade.'
name: automatic_os_upgrade_policy
types:
- <xref:azure.mgmt.compute.v2023_09_01.models.AutomaticOSUpgradePolicy>