-
Notifications
You must be signed in to change notification settings - Fork 247
/
azure.mgmt.compute.v2021_07_01.models.RollingUpgradePolicy.yml
144 lines (114 loc) · 4.82 KB
/
azure.mgmt.compute.v2021_07_01.models.RollingUpgradePolicy.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
### YamlMime:PythonClass
uid: azure.mgmt.compute.v2021_07_01.models.RollingUpgradePolicy
name: RollingUpgradePolicy
fullName: azure.mgmt.compute.v2021_07_01.models.RollingUpgradePolicy
module: azure.mgmt.compute.v2021_07_01.models
inheritances:
- azure.mgmt.compute._serialization.Model
summary: The configuration parameters used while performing a rolling upgrade.
constructor:
syntax: 'RollingUpgradePolicy(*, max_batch_instance_percent: int | None = None,
max_unhealthy_instance_percent: int | None = None, max_unhealthy_upgraded_instance_percent:
int | None = None, pause_time_between_batches: str | None = None, enable_cross_zone_upgrade:
bool | None = None, prioritize_unhealthy_instances: bool | None = None, **kwargs:
Any)'
keywordOnlyParameters:
- name: max_batch_instance_percent
description: 'The maximum percent of total virtual machine instances
that will be upgraded simultaneously by the rolling upgrade in one batch. As
this is a maximum,
unhealthy instances in previous or future batches can cause the percentage of
instances in a
batch to decrease to ensure higher reliability. The default value for this parameter
is 20%.'
types:
- <xref:int>
- name: max_unhealthy_instance_percent
description: 'The maximum percentage of the total virtual machine
instances in the scale set that can be simultaneously unhealthy, either as a
result of being
upgraded, or by being found in an unhealthy state by the virtual machine health
checks before
the rolling upgrade aborts. This constraint will be checked prior to starting
any batch. The
default value for this parameter is 20%.'
types:
- <xref:int>
- name: max_unhealthy_upgraded_instance_percent
description: 'The maximum percentage of upgraded virtual
machine instances that can be found to be in an unhealthy state. This check
will happen after
each batch is upgraded. If this percentage is ever exceeded, the rolling update
aborts. The
default value for this parameter is 20%.'
types:
- <xref:int>
- name: pause_time_between_batches
description: 'The wait time between completing the update for all
virtual machines in one batch and starting the next batch. The time duration
should be
specified in ISO 8601 format. The default value is 0 seconds (PT0S).'
types:
- <xref:str>
- name: enable_cross_zone_upgrade
description: 'Allow VMSS to ignore AZ boundaries when constructing
upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent
to
determine the batch size.'
types:
- <xref:bool>
- name: prioritize_unhealthy_instances
description: 'Upgrade all unhealthy instances in a scale set before
any healthy instances.'
types:
- <xref:bool>
variables:
- description: 'The maximum percent of total virtual machine instances that
will be upgraded simultaneously by the rolling upgrade in one batch. As this is
a maximum,
unhealthy instances in previous or future batches can cause the percentage of
instances in a
batch to decrease to ensure higher reliability. The default value for this parameter
is 20%.'
name: max_batch_instance_percent
types:
- <xref:int>
- description: 'The maximum percentage of the total virtual machine
instances in the scale set that can be simultaneously unhealthy, either as a result
of being
upgraded, or by being found in an unhealthy state by the virtual machine health
checks before
the rolling upgrade aborts. This constraint will be checked prior to starting
any batch. The
default value for this parameter is 20%.'
name: max_unhealthy_instance_percent
types:
- <xref:int>
- description: 'The maximum percentage of upgraded virtual
machine instances that can be found to be in an unhealthy state. This check will
happen after
each batch is upgraded. If this percentage is ever exceeded, the rolling update
aborts. The
default value for this parameter is 20%.'
name: max_unhealthy_upgraded_instance_percent
types:
- <xref:int>
- description: 'The wait time between completing the update for all virtual
machines in one batch and starting the next batch. The time duration should be
specified in ISO
8601 format. The default value is 0 seconds (PT0S).'
name: pause_time_between_batches
types:
- <xref:str>
- description: 'Allow VMSS to ignore AZ boundaries when constructing upgrade
batches. Take into consideration the Update Domain and maxBatchInstancePercent
to determine the
batch size.'
name: enable_cross_zone_upgrade
types:
- <xref:bool>
- description: 'Upgrade all unhealthy instances in a scale set before any
healthy instances.'
name: prioritize_unhealthy_instances
types:
- <xref:bool>