huaweicloudsdkgaussdbforopengauss 3.1.109__py2.py3-none-any.whl → 3.1.111__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_async_client.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/gaussdbforopengauss_client.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/data_stroe_error_response.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/delete_backup_error_response.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/download_backup_error_response.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/flavor_error_response.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/gauss_db_upgrade_instances_version_request.py +7 -8
- huaweicloudsdkgaussdbforopengauss/v3/model/hotfix_info.py +12 -12
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_error_response.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_ha.py +32 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/open_gauss_ha_option.py +32 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/resource_error_response.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/roll_upgrade_progress.py +15 -15
- huaweicloudsdkgaussdbforopengauss/v3/model/show_batch_upgrade_candidate_versions_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/show_batch_upgrade_candidate_versions_response.py +44 -15
- huaweicloudsdkgaussdbforopengauss/v3/model/show_upgrade_candidate_versions_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/show_upgrade_candidate_versions_response.py +15 -15
- huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_action_info.py +6 -6
- huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_instance_version_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_instances_request_body.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_instances_version_request.py +3 -3
- huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_instances_version_response.py +12 -12
- huaweicloudsdkgaussdbforopengauss/v3/model/upgrade_type_info.py +9 -9
- {huaweicloudsdkgaussdbforopengauss-3.1.109.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.111.dist-info}/METADATA +2 -2
- {huaweicloudsdkgaussdbforopengauss-3.1.109.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.111.dist-info}/RECORD +28 -28
- {huaweicloudsdkgaussdbforopengauss-3.1.109.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.111.dist-info}/LICENSE +0 -0
- {huaweicloudsdkgaussdbforopengauss-3.1.109.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.111.dist-info}/WHEEL +0 -0
- {huaweicloudsdkgaussdbforopengauss-3.1.109.dist-info → huaweicloudsdkgaussdbforopengauss-3.1.111.dist-info}/top_level.txt +0 -0
huaweicloudsdkgaussdbforopengauss/v3/model/show_batch_upgrade_candidate_versions_response.py
CHANGED
@@ -21,29 +21,33 @@ class ShowBatchUpgradeCandidateVersionsResponse(SdkResponse):
|
|
21
21
|
'upgrade_type_list': 'list[UpgradeTypeInfo]',
|
22
22
|
'target_version': 'str',
|
23
23
|
'upgrade_candidate_versions': 'list[str]',
|
24
|
-
'hotfix_upgrade_infos': 'list[HotfixInfo]'
|
24
|
+
'hotfix_upgrade_infos': 'list[HotfixInfo]',
|
25
|
+
'hotfix_rollback_infos': 'list[HotfixInfo]'
|
25
26
|
}
|
26
27
|
|
27
28
|
attribute_map = {
|
28
29
|
'upgrade_type_list': 'upgrade_type_list',
|
29
30
|
'target_version': 'target_version',
|
30
31
|
'upgrade_candidate_versions': 'upgrade_candidate_versions',
|
31
|
-
'hotfix_upgrade_infos': 'hotfix_upgrade_infos'
|
32
|
+
'hotfix_upgrade_infos': 'hotfix_upgrade_infos',
|
33
|
+
'hotfix_rollback_infos': 'hotfix_rollback_infos'
|
32
34
|
}
|
33
35
|
|
34
|
-
def __init__(self, upgrade_type_list=None, target_version=None, upgrade_candidate_versions=None, hotfix_upgrade_infos=None):
|
36
|
+
def __init__(self, upgrade_type_list=None, target_version=None, upgrade_candidate_versions=None, hotfix_upgrade_infos=None, hotfix_rollback_infos=None):
|
35
37
|
"""ShowBatchUpgradeCandidateVersionsResponse
|
36
38
|
|
37
39
|
The model defined in huaweicloud sdk
|
38
40
|
|
39
|
-
:param upgrade_type_list:
|
41
|
+
:param upgrade_type_list: 升级类型信息列表。
|
40
42
|
:type upgrade_type_list: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.UpgradeTypeInfo`]
|
41
|
-
:param target_version: 升级目标版本,没有在滚动升级中返回null
|
43
|
+
:param target_version: 升级目标版本,没有在滚动升级中返回null。
|
42
44
|
:type target_version: str
|
43
|
-
:param upgrade_candidate_versions:
|
45
|
+
:param upgrade_candidate_versions: 可以升级的版本,包括大小版本。
|
44
46
|
:type upgrade_candidate_versions: list[str]
|
45
|
-
:param hotfix_upgrade_infos:
|
47
|
+
:param hotfix_upgrade_infos: 可以升级的热补丁信息。
|
46
48
|
:type hotfix_upgrade_infos: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.HotfixInfo`]
|
49
|
+
:param hotfix_rollback_infos: 可以回滚的热补丁信息。
|
50
|
+
:type hotfix_rollback_infos: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.HotfixInfo`]
|
47
51
|
"""
|
48
52
|
|
49
53
|
super(ShowBatchUpgradeCandidateVersionsResponse, self).__init__()
|
@@ -52,6 +56,7 @@ class ShowBatchUpgradeCandidateVersionsResponse(SdkResponse):
|
|
52
56
|
self._target_version = None
|
53
57
|
self._upgrade_candidate_versions = None
|
54
58
|
self._hotfix_upgrade_infos = None
|
59
|
+
self._hotfix_rollback_infos = None
|
55
60
|
self.discriminator = None
|
56
61
|
|
57
62
|
if upgrade_type_list is not None:
|
@@ -62,12 +67,14 @@ class ShowBatchUpgradeCandidateVersionsResponse(SdkResponse):
|
|
62
67
|
self.upgrade_candidate_versions = upgrade_candidate_versions
|
63
68
|
if hotfix_upgrade_infos is not None:
|
64
69
|
self.hotfix_upgrade_infos = hotfix_upgrade_infos
|
70
|
+
if hotfix_rollback_infos is not None:
|
71
|
+
self.hotfix_rollback_infos = hotfix_rollback_infos
|
65
72
|
|
66
73
|
@property
|
67
74
|
def upgrade_type_list(self):
|
68
75
|
"""Gets the upgrade_type_list of this ShowBatchUpgradeCandidateVersionsResponse.
|
69
76
|
|
70
|
-
|
77
|
+
升级类型信息列表。
|
71
78
|
|
72
79
|
:return: The upgrade_type_list of this ShowBatchUpgradeCandidateVersionsResponse.
|
73
80
|
:rtype: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.UpgradeTypeInfo`]
|
@@ -78,7 +85,7 @@ class ShowBatchUpgradeCandidateVersionsResponse(SdkResponse):
|
|
78
85
|
def upgrade_type_list(self, upgrade_type_list):
|
79
86
|
"""Sets the upgrade_type_list of this ShowBatchUpgradeCandidateVersionsResponse.
|
80
87
|
|
81
|
-
|
88
|
+
升级类型信息列表。
|
82
89
|
|
83
90
|
:param upgrade_type_list: The upgrade_type_list of this ShowBatchUpgradeCandidateVersionsResponse.
|
84
91
|
:type upgrade_type_list: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.UpgradeTypeInfo`]
|
@@ -89,7 +96,7 @@ class ShowBatchUpgradeCandidateVersionsResponse(SdkResponse):
|
|
89
96
|
def target_version(self):
|
90
97
|
"""Gets the target_version of this ShowBatchUpgradeCandidateVersionsResponse.
|
91
98
|
|
92
|
-
升级目标版本,没有在滚动升级中返回null
|
99
|
+
升级目标版本,没有在滚动升级中返回null。
|
93
100
|
|
94
101
|
:return: The target_version of this ShowBatchUpgradeCandidateVersionsResponse.
|
95
102
|
:rtype: str
|
@@ -100,7 +107,7 @@ class ShowBatchUpgradeCandidateVersionsResponse(SdkResponse):
|
|
100
107
|
def target_version(self, target_version):
|
101
108
|
"""Sets the target_version of this ShowBatchUpgradeCandidateVersionsResponse.
|
102
109
|
|
103
|
-
升级目标版本,没有在滚动升级中返回null
|
110
|
+
升级目标版本,没有在滚动升级中返回null。
|
104
111
|
|
105
112
|
:param target_version: The target_version of this ShowBatchUpgradeCandidateVersionsResponse.
|
106
113
|
:type target_version: str
|
@@ -111,7 +118,7 @@ class ShowBatchUpgradeCandidateVersionsResponse(SdkResponse):
|
|
111
118
|
def upgrade_candidate_versions(self):
|
112
119
|
"""Gets the upgrade_candidate_versions of this ShowBatchUpgradeCandidateVersionsResponse.
|
113
120
|
|
114
|
-
|
121
|
+
可以升级的版本,包括大小版本。
|
115
122
|
|
116
123
|
:return: The upgrade_candidate_versions of this ShowBatchUpgradeCandidateVersionsResponse.
|
117
124
|
:rtype: list[str]
|
@@ -122,7 +129,7 @@ class ShowBatchUpgradeCandidateVersionsResponse(SdkResponse):
|
|
122
129
|
def upgrade_candidate_versions(self, upgrade_candidate_versions):
|
123
130
|
"""Sets the upgrade_candidate_versions of this ShowBatchUpgradeCandidateVersionsResponse.
|
124
131
|
|
125
|
-
|
132
|
+
可以升级的版本,包括大小版本。
|
126
133
|
|
127
134
|
:param upgrade_candidate_versions: The upgrade_candidate_versions of this ShowBatchUpgradeCandidateVersionsResponse.
|
128
135
|
:type upgrade_candidate_versions: list[str]
|
@@ -133,7 +140,7 @@ class ShowBatchUpgradeCandidateVersionsResponse(SdkResponse):
|
|
133
140
|
def hotfix_upgrade_infos(self):
|
134
141
|
"""Gets the hotfix_upgrade_infos of this ShowBatchUpgradeCandidateVersionsResponse.
|
135
142
|
|
136
|
-
|
143
|
+
可以升级的热补丁信息。
|
137
144
|
|
138
145
|
:return: The hotfix_upgrade_infos of this ShowBatchUpgradeCandidateVersionsResponse.
|
139
146
|
:rtype: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.HotfixInfo`]
|
@@ -144,13 +151,35 @@ class ShowBatchUpgradeCandidateVersionsResponse(SdkResponse):
|
|
144
151
|
def hotfix_upgrade_infos(self, hotfix_upgrade_infos):
|
145
152
|
"""Sets the hotfix_upgrade_infos of this ShowBatchUpgradeCandidateVersionsResponse.
|
146
153
|
|
147
|
-
|
154
|
+
可以升级的热补丁信息。
|
148
155
|
|
149
156
|
:param hotfix_upgrade_infos: The hotfix_upgrade_infos of this ShowBatchUpgradeCandidateVersionsResponse.
|
150
157
|
:type hotfix_upgrade_infos: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.HotfixInfo`]
|
151
158
|
"""
|
152
159
|
self._hotfix_upgrade_infos = hotfix_upgrade_infos
|
153
160
|
|
161
|
+
@property
|
162
|
+
def hotfix_rollback_infos(self):
|
163
|
+
"""Gets the hotfix_rollback_infos of this ShowBatchUpgradeCandidateVersionsResponse.
|
164
|
+
|
165
|
+
可以回滚的热补丁信息。
|
166
|
+
|
167
|
+
:return: The hotfix_rollback_infos of this ShowBatchUpgradeCandidateVersionsResponse.
|
168
|
+
:rtype: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.HotfixInfo`]
|
169
|
+
"""
|
170
|
+
return self._hotfix_rollback_infos
|
171
|
+
|
172
|
+
@hotfix_rollback_infos.setter
|
173
|
+
def hotfix_rollback_infos(self, hotfix_rollback_infos):
|
174
|
+
"""Sets the hotfix_rollback_infos of this ShowBatchUpgradeCandidateVersionsResponse.
|
175
|
+
|
176
|
+
可以回滚的热补丁信息。
|
177
|
+
|
178
|
+
:param hotfix_rollback_infos: The hotfix_rollback_infos of this ShowBatchUpgradeCandidateVersionsResponse.
|
179
|
+
:type hotfix_rollback_infos: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.HotfixInfo`]
|
180
|
+
"""
|
181
|
+
self._hotfix_rollback_infos = hotfix_rollback_infos
|
182
|
+
|
154
183
|
def to_dict(self):
|
155
184
|
"""Returns the model properties as a dict"""
|
156
185
|
result = {}
|
@@ -33,7 +33,7 @@ class ShowUpgradeCandidateVersionsRequest:
|
|
33
33
|
|
34
34
|
:param instance_id: 实例ID。
|
35
35
|
:type instance_id: str
|
36
|
-
:param x_language: 语言[zh-cn, en-us]
|
36
|
+
:param x_language: 语言[zh-cn, en-us]。
|
37
37
|
:type x_language: str
|
38
38
|
"""
|
39
39
|
|
@@ -73,7 +73,7 @@ class ShowUpgradeCandidateVersionsRequest:
|
|
73
73
|
def x_language(self):
|
74
74
|
"""Gets the x_language of this ShowUpgradeCandidateVersionsRequest.
|
75
75
|
|
76
|
-
语言[zh-cn, en-us]
|
76
|
+
语言[zh-cn, en-us]。
|
77
77
|
|
78
78
|
:return: The x_language of this ShowUpgradeCandidateVersionsRequest.
|
79
79
|
:rtype: str
|
@@ -84,7 +84,7 @@ class ShowUpgradeCandidateVersionsRequest:
|
|
84
84
|
def x_language(self, x_language):
|
85
85
|
"""Sets the x_language of this ShowUpgradeCandidateVersionsRequest.
|
86
86
|
|
87
|
-
语言[zh-cn, en-us]
|
87
|
+
语言[zh-cn, en-us]。
|
88
88
|
|
89
89
|
:param x_language: The x_language of this ShowUpgradeCandidateVersionsRequest.
|
90
90
|
:type x_language: str
|
@@ -50,19 +50,19 @@ class ShowUpgradeCandidateVersionsResponse(SdkResponse):
|
|
50
50
|
|
51
51
|
:param upgrade_type_list: 升级类型信息列表
|
52
52
|
:type upgrade_type_list: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.UpgradeTypeInfo`]
|
53
|
-
:param rollback_enabled: 是否可以回滚,true可以回滚,false
|
53
|
+
:param rollback_enabled: 是否可以回滚,true可以回滚,false不可以回滚。
|
54
54
|
:type rollback_enabled: bool
|
55
55
|
:param source_version: 原版本
|
56
56
|
:type source_version: str
|
57
|
-
:param target_version: 升级目标版本,没有在滚动升级中返回null
|
57
|
+
:param target_version: 升级目标版本,没有在滚动升级中返回null。
|
58
58
|
:type target_version: str
|
59
59
|
:param roll_upgrade_progress:
|
60
60
|
:type roll_upgrade_progress: :class:`huaweicloudsdkgaussdbforopengauss.v3.RollUpgradeProgress`
|
61
|
-
:param upgrade_candidate_versions:
|
61
|
+
:param upgrade_candidate_versions: 可以升级的版本,包括大小版本,滚动升级中返回空数组。
|
62
62
|
:type upgrade_candidate_versions: list[str]
|
63
|
-
:param hotfix_upgrade_candidate_versions:
|
63
|
+
:param hotfix_upgrade_candidate_versions: 可以升级的热补丁版本,滚动升级中返回空数组。
|
64
64
|
:type hotfix_upgrade_candidate_versions: list[str]
|
65
|
-
:param hotfix_rollback_candidate_versions:
|
65
|
+
:param hotfix_rollback_candidate_versions: 可以回滚的热补丁版本,滚动升级中返回空数组。
|
66
66
|
:type hotfix_rollback_candidate_versions: list[str]
|
67
67
|
:param hotfix_upgrade_infos:
|
68
68
|
:type hotfix_upgrade_infos: :class:`huaweicloudsdkgaussdbforopengauss.v3.HotfixUpgradeInfos`
|
@@ -131,7 +131,7 @@ class ShowUpgradeCandidateVersionsResponse(SdkResponse):
|
|
131
131
|
def rollback_enabled(self):
|
132
132
|
"""Gets the rollback_enabled of this ShowUpgradeCandidateVersionsResponse.
|
133
133
|
|
134
|
-
是否可以回滚,true可以回滚,false
|
134
|
+
是否可以回滚,true可以回滚,false不可以回滚。
|
135
135
|
|
136
136
|
:return: The rollback_enabled of this ShowUpgradeCandidateVersionsResponse.
|
137
137
|
:rtype: bool
|
@@ -142,7 +142,7 @@ class ShowUpgradeCandidateVersionsResponse(SdkResponse):
|
|
142
142
|
def rollback_enabled(self, rollback_enabled):
|
143
143
|
"""Sets the rollback_enabled of this ShowUpgradeCandidateVersionsResponse.
|
144
144
|
|
145
|
-
是否可以回滚,true可以回滚,false
|
145
|
+
是否可以回滚,true可以回滚,false不可以回滚。
|
146
146
|
|
147
147
|
:param rollback_enabled: The rollback_enabled of this ShowUpgradeCandidateVersionsResponse.
|
148
148
|
:type rollback_enabled: bool
|
@@ -175,7 +175,7 @@ class ShowUpgradeCandidateVersionsResponse(SdkResponse):
|
|
175
175
|
def target_version(self):
|
176
176
|
"""Gets the target_version of this ShowUpgradeCandidateVersionsResponse.
|
177
177
|
|
178
|
-
升级目标版本,没有在滚动升级中返回null
|
178
|
+
升级目标版本,没有在滚动升级中返回null。
|
179
179
|
|
180
180
|
:return: The target_version of this ShowUpgradeCandidateVersionsResponse.
|
181
181
|
:rtype: str
|
@@ -186,7 +186,7 @@ class ShowUpgradeCandidateVersionsResponse(SdkResponse):
|
|
186
186
|
def target_version(self, target_version):
|
187
187
|
"""Sets the target_version of this ShowUpgradeCandidateVersionsResponse.
|
188
188
|
|
189
|
-
升级目标版本,没有在滚动升级中返回null
|
189
|
+
升级目标版本,没有在滚动升级中返回null。
|
190
190
|
|
191
191
|
:param target_version: The target_version of this ShowUpgradeCandidateVersionsResponse.
|
192
192
|
:type target_version: str
|
@@ -215,7 +215,7 @@ class ShowUpgradeCandidateVersionsResponse(SdkResponse):
|
|
215
215
|
def upgrade_candidate_versions(self):
|
216
216
|
"""Gets the upgrade_candidate_versions of this ShowUpgradeCandidateVersionsResponse.
|
217
217
|
|
218
|
-
|
218
|
+
可以升级的版本,包括大小版本,滚动升级中返回空数组。
|
219
219
|
|
220
220
|
:return: The upgrade_candidate_versions of this ShowUpgradeCandidateVersionsResponse.
|
221
221
|
:rtype: list[str]
|
@@ -226,7 +226,7 @@ class ShowUpgradeCandidateVersionsResponse(SdkResponse):
|
|
226
226
|
def upgrade_candidate_versions(self, upgrade_candidate_versions):
|
227
227
|
"""Sets the upgrade_candidate_versions of this ShowUpgradeCandidateVersionsResponse.
|
228
228
|
|
229
|
-
|
229
|
+
可以升级的版本,包括大小版本,滚动升级中返回空数组。
|
230
230
|
|
231
231
|
:param upgrade_candidate_versions: The upgrade_candidate_versions of this ShowUpgradeCandidateVersionsResponse.
|
232
232
|
:type upgrade_candidate_versions: list[str]
|
@@ -237,7 +237,7 @@ class ShowUpgradeCandidateVersionsResponse(SdkResponse):
|
|
237
237
|
def hotfix_upgrade_candidate_versions(self):
|
238
238
|
"""Gets the hotfix_upgrade_candidate_versions of this ShowUpgradeCandidateVersionsResponse.
|
239
239
|
|
240
|
-
|
240
|
+
可以升级的热补丁版本,滚动升级中返回空数组。
|
241
241
|
|
242
242
|
:return: The hotfix_upgrade_candidate_versions of this ShowUpgradeCandidateVersionsResponse.
|
243
243
|
:rtype: list[str]
|
@@ -248,7 +248,7 @@ class ShowUpgradeCandidateVersionsResponse(SdkResponse):
|
|
248
248
|
def hotfix_upgrade_candidate_versions(self, hotfix_upgrade_candidate_versions):
|
249
249
|
"""Sets the hotfix_upgrade_candidate_versions of this ShowUpgradeCandidateVersionsResponse.
|
250
250
|
|
251
|
-
|
251
|
+
可以升级的热补丁版本,滚动升级中返回空数组。
|
252
252
|
|
253
253
|
:param hotfix_upgrade_candidate_versions: The hotfix_upgrade_candidate_versions of this ShowUpgradeCandidateVersionsResponse.
|
254
254
|
:type hotfix_upgrade_candidate_versions: list[str]
|
@@ -259,7 +259,7 @@ class ShowUpgradeCandidateVersionsResponse(SdkResponse):
|
|
259
259
|
def hotfix_rollback_candidate_versions(self):
|
260
260
|
"""Gets the hotfix_rollback_candidate_versions of this ShowUpgradeCandidateVersionsResponse.
|
261
261
|
|
262
|
-
|
262
|
+
可以回滚的热补丁版本,滚动升级中返回空数组。
|
263
263
|
|
264
264
|
:return: The hotfix_rollback_candidate_versions of this ShowUpgradeCandidateVersionsResponse.
|
265
265
|
:rtype: list[str]
|
@@ -270,7 +270,7 @@ class ShowUpgradeCandidateVersionsResponse(SdkResponse):
|
|
270
270
|
def hotfix_rollback_candidate_versions(self, hotfix_rollback_candidate_versions):
|
271
271
|
"""Sets the hotfix_rollback_candidate_versions of this ShowUpgradeCandidateVersionsResponse.
|
272
272
|
|
273
|
-
|
273
|
+
可以回滚的热补丁版本,滚动升级中返回空数组。
|
274
274
|
|
275
275
|
:param hotfix_rollback_candidate_versions: The hotfix_rollback_candidate_versions of this ShowUpgradeCandidateVersionsResponse.
|
276
276
|
:type hotfix_rollback_candidate_versions: list[str]
|
@@ -31,9 +31,9 @@ class UpgradeActionInfo:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param upgrade_action: 升级操作,upgrade=升级,upgradeAutoCommit=升级自动提交,commit=提交,rollback=
|
34
|
+
:param upgrade_action: 升级操作,upgrade=升级,upgradeAutoCommit=升级自动提交,commit=提交,rollback=回滚。
|
35
35
|
:type upgrade_action: str
|
36
|
-
:param enable:
|
36
|
+
:param enable: 可用,不可用。
|
37
37
|
:type enable: bool
|
38
38
|
"""
|
39
39
|
|
@@ -52,7 +52,7 @@ class UpgradeActionInfo:
|
|
52
52
|
def upgrade_action(self):
|
53
53
|
"""Gets the upgrade_action of this UpgradeActionInfo.
|
54
54
|
|
55
|
-
升级操作,upgrade=升级,upgradeAutoCommit=升级自动提交,commit=提交,rollback
|
55
|
+
升级操作,upgrade=升级,upgradeAutoCommit=升级自动提交,commit=提交,rollback=回滚。
|
56
56
|
|
57
57
|
:return: The upgrade_action of this UpgradeActionInfo.
|
58
58
|
:rtype: str
|
@@ -63,7 +63,7 @@ class UpgradeActionInfo:
|
|
63
63
|
def upgrade_action(self, upgrade_action):
|
64
64
|
"""Sets the upgrade_action of this UpgradeActionInfo.
|
65
65
|
|
66
|
-
升级操作,upgrade=升级,upgradeAutoCommit=升级自动提交,commit=提交,rollback
|
66
|
+
升级操作,upgrade=升级,upgradeAutoCommit=升级自动提交,commit=提交,rollback=回滚。
|
67
67
|
|
68
68
|
:param upgrade_action: The upgrade_action of this UpgradeActionInfo.
|
69
69
|
:type upgrade_action: str
|
@@ -74,7 +74,7 @@ class UpgradeActionInfo:
|
|
74
74
|
def enable(self):
|
75
75
|
"""Gets the enable of this UpgradeActionInfo.
|
76
76
|
|
77
|
-
|
77
|
+
可用,不可用。
|
78
78
|
|
79
79
|
:return: The enable of this UpgradeActionInfo.
|
80
80
|
:rtype: bool
|
@@ -85,7 +85,7 @@ class UpgradeActionInfo:
|
|
85
85
|
def enable(self, enable):
|
86
86
|
"""Sets the enable of this UpgradeActionInfo.
|
87
87
|
|
88
|
-
|
88
|
+
可用,不可用。
|
89
89
|
|
90
90
|
:param enable: The enable of this UpgradeActionInfo.
|
91
91
|
:type enable: bool
|
@@ -33,7 +33,7 @@ class UpgradeInstanceVersionRequest:
|
|
33
33
|
|
34
34
|
The model defined in huaweicloud sdk
|
35
35
|
|
36
|
-
:param x_language:
|
36
|
+
:param x_language: 语言。
|
37
37
|
:type x_language: str
|
38
38
|
:param instance_id: 实例ID。
|
39
39
|
:type instance_id: str
|
@@ -58,7 +58,7 @@ class UpgradeInstanceVersionRequest:
|
|
58
58
|
def x_language(self):
|
59
59
|
"""Gets the x_language of this UpgradeInstanceVersionRequest.
|
60
60
|
|
61
|
-
|
61
|
+
语言。
|
62
62
|
|
63
63
|
:return: The x_language of this UpgradeInstanceVersionRequest.
|
64
64
|
:rtype: str
|
@@ -69,7 +69,7 @@ class UpgradeInstanceVersionRequest:
|
|
69
69
|
def x_language(self, x_language):
|
70
70
|
"""Sets the x_language of this UpgradeInstanceVersionRequest.
|
71
71
|
|
72
|
-
|
72
|
+
语言。
|
73
73
|
|
74
74
|
:param x_language: The x_language of this UpgradeInstanceVersionRequest.
|
75
75
|
:type x_language: str
|
@@ -29,7 +29,7 @@ class UpgradeInstancesRequestBody:
|
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
32
|
-
:param instance_ids: 批量实例ID
|
32
|
+
:param instance_ids: 批量实例ID。
|
33
33
|
:type instance_ids: list[str]
|
34
34
|
"""
|
35
35
|
|
@@ -45,7 +45,7 @@ class UpgradeInstancesRequestBody:
|
|
45
45
|
def instance_ids(self):
|
46
46
|
"""Gets the instance_ids of this UpgradeInstancesRequestBody.
|
47
47
|
|
48
|
-
批量实例ID
|
48
|
+
批量实例ID。
|
49
49
|
|
50
50
|
:return: The instance_ids of this UpgradeInstancesRequestBody.
|
51
51
|
:rtype: list[str]
|
@@ -56,7 +56,7 @@ class UpgradeInstancesRequestBody:
|
|
56
56
|
def instance_ids(self, instance_ids):
|
57
57
|
"""Sets the instance_ids of this UpgradeInstancesRequestBody.
|
58
58
|
|
59
|
-
批量实例ID
|
59
|
+
批量实例ID。
|
60
60
|
|
61
61
|
:param instance_ids: The instance_ids of this UpgradeInstancesRequestBody.
|
62
62
|
:type instance_ids: list[str]
|
@@ -31,7 +31,7 @@ class UpgradeInstancesVersionRequest:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param x_language:
|
34
|
+
:param x_language: 语言。
|
35
35
|
:type x_language: str
|
36
36
|
:param body: Body of the UpgradeInstancesVersionRequest
|
37
37
|
:type body: :class:`huaweicloudsdkgaussdbforopengauss.v3.GaussDBUpgradeInstancesVersionRequest`
|
@@ -52,7 +52,7 @@ class UpgradeInstancesVersionRequest:
|
|
52
52
|
def x_language(self):
|
53
53
|
"""Gets the x_language of this UpgradeInstancesVersionRequest.
|
54
54
|
|
55
|
-
|
55
|
+
语言。
|
56
56
|
|
57
57
|
:return: The x_language of this UpgradeInstancesVersionRequest.
|
58
58
|
:rtype: str
|
@@ -63,7 +63,7 @@ class UpgradeInstancesVersionRequest:
|
|
63
63
|
def x_language(self, x_language):
|
64
64
|
"""Sets the x_language of this UpgradeInstancesVersionRequest.
|
65
65
|
|
66
|
-
|
66
|
+
语言。
|
67
67
|
|
68
68
|
:param x_language: The x_language of this UpgradeInstancesVersionRequest.
|
69
69
|
:type x_language: str
|
@@ -40,13 +40,13 @@ class UpgradeInstancesVersionResponse(SdkResponse):
|
|
40
40
|
|
41
41
|
:param job_ids: 任务id。
|
42
42
|
:type job_ids: list[str]
|
43
|
-
:param succeeded_num:
|
43
|
+
:param succeeded_num: 下发成功的实例数量。
|
44
44
|
:type succeeded_num: int
|
45
|
-
:param failed_num:
|
45
|
+
:param failed_num: 下发失败的实例数量。
|
46
46
|
:type failed_num: int
|
47
|
-
:param failed_instance_ids: 下发失败的实例ID
|
47
|
+
:param failed_instance_ids: 下发失败的实例ID列表。
|
48
48
|
:type failed_instance_ids: list[str]
|
49
|
-
:param error_messages:
|
49
|
+
:param error_messages: 下发失败错误信息列表。
|
50
50
|
:type error_messages: list[str]
|
51
51
|
"""
|
52
52
|
|
@@ -96,7 +96,7 @@ class UpgradeInstancesVersionResponse(SdkResponse):
|
|
96
96
|
def succeeded_num(self):
|
97
97
|
"""Gets the succeeded_num of this UpgradeInstancesVersionResponse.
|
98
98
|
|
99
|
-
|
99
|
+
下发成功的实例数量。
|
100
100
|
|
101
101
|
:return: The succeeded_num of this UpgradeInstancesVersionResponse.
|
102
102
|
:rtype: int
|
@@ -107,7 +107,7 @@ class UpgradeInstancesVersionResponse(SdkResponse):
|
|
107
107
|
def succeeded_num(self, succeeded_num):
|
108
108
|
"""Sets the succeeded_num of this UpgradeInstancesVersionResponse.
|
109
109
|
|
110
|
-
|
110
|
+
下发成功的实例数量。
|
111
111
|
|
112
112
|
:param succeeded_num: The succeeded_num of this UpgradeInstancesVersionResponse.
|
113
113
|
:type succeeded_num: int
|
@@ -118,7 +118,7 @@ class UpgradeInstancesVersionResponse(SdkResponse):
|
|
118
118
|
def failed_num(self):
|
119
119
|
"""Gets the failed_num of this UpgradeInstancesVersionResponse.
|
120
120
|
|
121
|
-
|
121
|
+
下发失败的实例数量。
|
122
122
|
|
123
123
|
:return: The failed_num of this UpgradeInstancesVersionResponse.
|
124
124
|
:rtype: int
|
@@ -129,7 +129,7 @@ class UpgradeInstancesVersionResponse(SdkResponse):
|
|
129
129
|
def failed_num(self, failed_num):
|
130
130
|
"""Sets the failed_num of this UpgradeInstancesVersionResponse.
|
131
131
|
|
132
|
-
|
132
|
+
下发失败的实例数量。
|
133
133
|
|
134
134
|
:param failed_num: The failed_num of this UpgradeInstancesVersionResponse.
|
135
135
|
:type failed_num: int
|
@@ -140,7 +140,7 @@ class UpgradeInstancesVersionResponse(SdkResponse):
|
|
140
140
|
def failed_instance_ids(self):
|
141
141
|
"""Gets the failed_instance_ids of this UpgradeInstancesVersionResponse.
|
142
142
|
|
143
|
-
下发失败的实例ID
|
143
|
+
下发失败的实例ID列表。
|
144
144
|
|
145
145
|
:return: The failed_instance_ids of this UpgradeInstancesVersionResponse.
|
146
146
|
:rtype: list[str]
|
@@ -151,7 +151,7 @@ class UpgradeInstancesVersionResponse(SdkResponse):
|
|
151
151
|
def failed_instance_ids(self, failed_instance_ids):
|
152
152
|
"""Sets the failed_instance_ids of this UpgradeInstancesVersionResponse.
|
153
153
|
|
154
|
-
下发失败的实例ID
|
154
|
+
下发失败的实例ID列表。
|
155
155
|
|
156
156
|
:param failed_instance_ids: The failed_instance_ids of this UpgradeInstancesVersionResponse.
|
157
157
|
:type failed_instance_ids: list[str]
|
@@ -162,7 +162,7 @@ class UpgradeInstancesVersionResponse(SdkResponse):
|
|
162
162
|
def error_messages(self):
|
163
163
|
"""Gets the error_messages of this UpgradeInstancesVersionResponse.
|
164
164
|
|
165
|
-
|
165
|
+
下发失败错误信息列表。
|
166
166
|
|
167
167
|
:return: The error_messages of this UpgradeInstancesVersionResponse.
|
168
168
|
:rtype: list[str]
|
@@ -173,7 +173,7 @@ class UpgradeInstancesVersionResponse(SdkResponse):
|
|
173
173
|
def error_messages(self, error_messages):
|
174
174
|
"""Sets the error_messages of this UpgradeInstancesVersionResponse.
|
175
175
|
|
176
|
-
|
176
|
+
下发失败错误信息列表。
|
177
177
|
|
178
178
|
:param error_messages: The error_messages of this UpgradeInstancesVersionResponse.
|
179
179
|
:type error_messages: list[str]
|
@@ -35,11 +35,11 @@ class UpgradeTypeInfo:
|
|
35
35
|
|
36
36
|
The model defined in huaweicloud sdk
|
37
37
|
|
38
|
-
:param upgrade_type: 升级类型,grey=灰度升级,inplace=就地升级,hotfix=
|
38
|
+
:param upgrade_type: 升级类型,grey=灰度升级,inplace=就地升级,hotfix=热补丁升级。
|
39
39
|
:type upgrade_type: str
|
40
|
-
:param enable:
|
40
|
+
:param enable: 可用,不可用。
|
41
41
|
:type enable: bool
|
42
|
-
:param upgrade_action_list:
|
42
|
+
:param upgrade_action_list: 升级操作列表。
|
43
43
|
:type upgrade_action_list: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.UpgradeActionInfo`]
|
44
44
|
:param is_parallel_upgrade: 是否正在进行AZ内并行升级。 -true:当前实例处于灰度升级的升级待观察升级方式中,已选择了AZ内并行升级方式,后续无法更改。 -false:当前实例处于升级流程中,未选择AZ内并行升级的方式,后续无法更改。null:当前实例尚未处于升级流程中。
|
45
45
|
:type is_parallel_upgrade: bool
|
@@ -66,7 +66,7 @@ class UpgradeTypeInfo:
|
|
66
66
|
def upgrade_type(self):
|
67
67
|
"""Gets the upgrade_type of this UpgradeTypeInfo.
|
68
68
|
|
69
|
-
升级类型,grey=灰度升级,inplace=就地升级,hotfix
|
69
|
+
升级类型,grey=灰度升级,inplace=就地升级,hotfix=热补丁升级。
|
70
70
|
|
71
71
|
:return: The upgrade_type of this UpgradeTypeInfo.
|
72
72
|
:rtype: str
|
@@ -77,7 +77,7 @@ class UpgradeTypeInfo:
|
|
77
77
|
def upgrade_type(self, upgrade_type):
|
78
78
|
"""Sets the upgrade_type of this UpgradeTypeInfo.
|
79
79
|
|
80
|
-
升级类型,grey=灰度升级,inplace=就地升级,hotfix
|
80
|
+
升级类型,grey=灰度升级,inplace=就地升级,hotfix=热补丁升级。
|
81
81
|
|
82
82
|
:param upgrade_type: The upgrade_type of this UpgradeTypeInfo.
|
83
83
|
:type upgrade_type: str
|
@@ -88,7 +88,7 @@ class UpgradeTypeInfo:
|
|
88
88
|
def enable(self):
|
89
89
|
"""Gets the enable of this UpgradeTypeInfo.
|
90
90
|
|
91
|
-
|
91
|
+
可用,不可用。
|
92
92
|
|
93
93
|
:return: The enable of this UpgradeTypeInfo.
|
94
94
|
:rtype: bool
|
@@ -99,7 +99,7 @@ class UpgradeTypeInfo:
|
|
99
99
|
def enable(self, enable):
|
100
100
|
"""Sets the enable of this UpgradeTypeInfo.
|
101
101
|
|
102
|
-
|
102
|
+
可用,不可用。
|
103
103
|
|
104
104
|
:param enable: The enable of this UpgradeTypeInfo.
|
105
105
|
:type enable: bool
|
@@ -110,7 +110,7 @@ class UpgradeTypeInfo:
|
|
110
110
|
def upgrade_action_list(self):
|
111
111
|
"""Gets the upgrade_action_list of this UpgradeTypeInfo.
|
112
112
|
|
113
|
-
|
113
|
+
升级操作列表。
|
114
114
|
|
115
115
|
:return: The upgrade_action_list of this UpgradeTypeInfo.
|
116
116
|
:rtype: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.UpgradeActionInfo`]
|
@@ -121,7 +121,7 @@ class UpgradeTypeInfo:
|
|
121
121
|
def upgrade_action_list(self, upgrade_action_list):
|
122
122
|
"""Sets the upgrade_action_list of this UpgradeTypeInfo.
|
123
123
|
|
124
|
-
|
124
|
+
升级操作列表。
|
125
125
|
|
126
126
|
:param upgrade_action_list: The upgrade_action_list of this UpgradeTypeInfo.
|
127
127
|
:type upgrade_action_list: list[:class:`huaweicloudsdkgaussdbforopengauss.v3.UpgradeActionInfo`]
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: huaweicloudsdkgaussdbforopengauss
|
3
|
-
Version: 3.1.
|
3
|
+
Version: 3.1.111
|
4
4
|
Summary: GaussDBforopenGauss
|
5
5
|
Home-page: https://github.com/huaweicloud/huaweicloud-sdk-python-v3
|
6
6
|
Author: HuaweiCloud SDK
|
@@ -22,6 +22,6 @@ Classifier: Topic :: Software Development
|
|
22
22
|
Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*
|
23
23
|
Description-Content-Type: text/markdown
|
24
24
|
License-File: LICENSE
|
25
|
-
Requires-Dist: huaweicloudsdkcore>=3.1.
|
25
|
+
Requires-Dist: huaweicloudsdkcore>=3.1.111
|
26
26
|
|
27
27
|
See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
|