tencentcloud-sdk-python 3.1.13__py2.py3-none-any.whl → 3.1.33__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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ags/v20250920/ags_client.py +46 -0
- tencentcloud/ags/v20250920/ags_client_async.py +36 -0
- tencentcloud/ags/v20250920/errorcodes.py +45 -0
- tencentcloud/ags/v20250920/models.py +1704 -110
- tencentcloud/ai3d/v20250513/ai3d_client.py +4 -4
- tencentcloud/ai3d/v20250513/ai3d_client_async.py +4 -4
- tencentcloud/ai3d/v20250513/models.py +78 -36
- tencentcloud/aiart/v20221229/aiart_client.py +46 -0
- tencentcloud/aiart/v20221229/aiart_client_async.py +36 -0
- tencentcloud/aiart/v20221229/models.py +289 -0
- tencentcloud/ams/v20201229/models.py +101 -0
- tencentcloud/antiddos/v20200309/antiddos_client.py +69 -0
- tencentcloud/antiddos/v20200309/antiddos_client_async.py +54 -0
- tencentcloud/antiddos/v20200309/errorcodes.py +27 -0
- tencentcloud/antiddos/v20200309/models.py +1671 -97
- tencentcloud/apm/v20210622/apm_client.py +23 -0
- tencentcloud/apm/v20210622/apm_client_async.py +18 -0
- tencentcloud/apm/v20210622/errorcodes.py +3 -0
- tencentcloud/apm/v20210622/models.py +1678 -78
- tencentcloud/asr/v20190614/models.py +100 -2
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -1
- tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +475 -338
- tencentcloud/bh/v20230418/models.py +179 -6
- tencentcloud/billing/v20180709/billing_client.py +23 -0
- tencentcloud/billing/v20180709/billing_client_async.py +18 -0
- tencentcloud/billing/v20180709/models.py +328 -6
- tencentcloud/cam/v20190116/models.py +111 -2
- tencentcloud/car/v20220110/car_client.py +23 -0
- tencentcloud/car/v20220110/car_client_async.py +18 -0
- tencentcloud/car/v20220110/models.py +109 -0
- tencentcloud/cbs/v20170312/models.py +14 -14
- tencentcloud/ccc/v20200210/ccc_client.py +42 -13
- tencentcloud/ccc/v20200210/ccc_client_async.py +37 -13
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +256 -4
- tencentcloud/cdb/v20170320/models.py +37 -16
- tencentcloud/cdc/v20201214/models.py +92 -124
- tencentcloud/cdn/v20180606/cdn_client.py +0 -78
- tencentcloud/cdn/v20180606/cdn_client_async.py +0 -63
- tencentcloud/cdn/v20180606/errorcodes.py +3 -0
- tencentcloud/cdn/v20180606/models.py +464 -1028
- tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
- tencentcloud/cdwch/v20200915/cdwch_client_async.py +18 -0
- tencentcloud/cdwch/v20200915/models.py +555 -0
- tencentcloud/cdwdoris/v20211228/models.py +505 -0
- tencentcloud/cfs/v20190719/errorcodes.py +1 -1
- tencentcloud/cfs/v20190719/models.py +2 -2
- tencentcloud/cfw/v20190904/cfw_client.py +278 -23
- tencentcloud/cfw/v20190904/cfw_client_async.py +218 -18
- tencentcloud/cfw/v20190904/models.py +3319 -1154
- tencentcloud/chdfs/v20201112/models.py +150 -0
- tencentcloud/ckafka/v20190819/models.py +458 -282
- tencentcloud/clb/v20180317/clb_client.py +23 -0
- tencentcloud/clb/v20180317/clb_client_async.py +18 -0
- tencentcloud/clb/v20180317/models.py +230 -130
- tencentcloud/cloudapp/v20220530/models.py +190 -36
- tencentcloud/cloudaudit/v20190319/models.py +32 -4
- tencentcloud/cloudmate/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client.py +45 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client_async.py +45 -0
- tencentcloud/cloudmate/v20251030/errorcodes.py +30 -0
- tencentcloud/cloudmate/v20251030/models.py +387 -0
- tencentcloud/cls/v20201016/cls_client.py +1064 -0
- tencentcloud/cls/v20201016/cls_client_async.py +860 -26
- tencentcloud/cls/v20201016/models.py +10246 -384
- tencentcloud/cme/v20191029/models.py +23 -0
- tencentcloud/csip/v20221121/models.py +317 -0
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/cvm_client_async.py +1 -1
- tencentcloud/cvm/v20170312/errorcodes.py +9 -0
- tencentcloud/cvm/v20170312/models.py +28 -8
- tencentcloud/cwp/v20180228/cwp_client.py +0 -188
- tencentcloud/cwp/v20180228/cwp_client_async.py +0 -148
- tencentcloud/cwp/v20180228/models.py +1097 -1814
- tencentcloud/cynosdb/v20190107/models.py +181 -48
- tencentcloud/dataagent/v20250513/dataagent_client.py +161 -0
- tencentcloud/dataagent/v20250513/dataagent_client_async.py +126 -0
- tencentcloud/dataagent/v20250513/models.py +1477 -52
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +18 -0
- tencentcloud/dbbrain/v20210527/models.py +261 -15
- tencentcloud/dbs/v20211108/dbs_client.py +69 -0
- tencentcloud/dbs/v20211108/dbs_client_async.py +54 -0
- tencentcloud/dbs/v20211108/errorcodes.py +15 -0
- tencentcloud/dbs/v20211108/models.py +1173 -27
- tencentcloud/dlc/v20210125/dlc_client.py +69 -0
- tencentcloud/dlc/v20210125/dlc_client_async.py +54 -0
- tencentcloud/dlc/v20210125/errorcodes.py +15 -0
- tencentcloud/dlc/v20210125/models.py +1016 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +6 -0
- tencentcloud/dnspod/v20210323/models.py +4 -4
- tencentcloud/emr/v20190103/emr_client.py +46 -0
- tencentcloud/emr/v20190103/emr_client_async.py +36 -0
- tencentcloud/emr/v20190103/models.py +625 -2
- tencentcloud/es/v20180416/errorcodes.py +15 -0
- tencentcloud/es/v20180416/es_client.py +115 -0
- tencentcloud/es/v20180416/es_client_async.py +90 -0
- tencentcloud/es/v20180416/models.py +498 -4
- tencentcloud/ess/v20201111/ess_client.py +153 -6
- tencentcloud/ess/v20201111/ess_client_async.py +128 -6
- tencentcloud/ess/v20201111/models.py +1496 -58
- tencentcloud/essbasic/v20210526/models.py +129 -23
- tencentcloud/evt/v20250217/evt_client.py +46 -0
- tencentcloud/evt/v20250217/evt_client_async.py +36 -0
- tencentcloud/evt/v20250217/models.py +188 -0
- tencentcloud/faceid/v20180301/models.py +10 -4
- tencentcloud/gaap/v20180529/models.py +260 -352
- tencentcloud/gs/v20191118/models.py +150 -4
- tencentcloud/gwlb/v20240906/models.py +48 -70
- tencentcloud/iai/v20180301/models.py +4 -4
- tencentcloud/iai/v20200303/models.py +4 -4
- tencentcloud/igtm/v20231024/errorcodes.py +1 -1
- tencentcloud/ims/v20201229/ims_client.py +1 -1
- tencentcloud/ims/v20201229/ims_client_async.py +1 -1
- tencentcloud/ioa/v20220601/models.py +60 -0
- tencentcloud/keewidb/v20220308/models.py +52 -68
- tencentcloud/lcic/v20220817/models.py +15 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +2 -2
- tencentcloud/lighthouse/v20200324/models.py +8 -0
- tencentcloud/live/v20180801/errorcodes.py +6 -0
- tencentcloud/live/v20180801/live_client.py +143 -0
- tencentcloud/live/v20180801/live_client_async.py +113 -0
- tencentcloud/live/v20180801/models.py +914 -311
- tencentcloud/lke/v20231130/lke_client.py +48 -1
- tencentcloud/lke/v20231130/lke_client_async.py +43 -1
- tencentcloud/lke/v20231130/models.py +2940 -459
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/lkeap/v20240522/lkeap_client_async.py +1 -1
- tencentcloud/lkeap/v20240522/models.py +2 -6
- tencentcloud/lowcode/v20210108/models.py +30 -0
- tencentcloud/mna/v20210119/models.py +18 -2
- tencentcloud/mongodb/v20190725/models.py +2 -2
- tencentcloud/monitor/v20180724/models.py +258 -0
- tencentcloud/mps/v20190612/errorcodes.py +9 -0
- tencentcloud/mps/v20190612/models.py +3007 -140
- tencentcloud/mps/v20190612/mps_client.py +115 -0
- tencentcloud/mps/v20190612/mps_client_async.py +90 -0
- tencentcloud/oceanus/v20190422/errorcodes.py +9 -0
- tencentcloud/oceanus/v20190422/models.py +210 -4
- tencentcloud/ocr/v20181119/models.py +72 -4
- tencentcloud/ocr/v20181119/ocr_client.py +12 -8
- tencentcloud/ocr/v20181119/ocr_client_async.py +11 -7
- tencentcloud/partners/v20180321/models.py +88 -92
- tencentcloud/pts/v20210728/models.py +206 -0
- tencentcloud/rce/v20250425/__init__.py +0 -0
- tencentcloud/rce/v20250425/errorcodes.py +15 -0
- tencentcloud/rce/v20250425/models.py +301 -0
- tencentcloud/rce/v20250425/rce_client.py +49 -0
- tencentcloud/rce/v20250425/rce_client_async.py +44 -0
- tencentcloud/redis/v20180412/models.py +65 -70
- tencentcloud/rum/v20210622/models.py +548 -0
- tencentcloud/rum/v20210622/rum_client.py +23 -0
- tencentcloud/rum/v20210622/rum_client_async.py +18 -0
- tencentcloud/scf/v20180416/models.py +28 -2
- tencentcloud/ses/v20201002/errorcodes.py +3 -0
- tencentcloud/ssl/v20191205/models.py +991 -70
- tencentcloud/ssl/v20191205/ssl_client.py +2 -2
- tencentcloud/ssl/v20191205/ssl_client_async.py +2 -2
- tencentcloud/ssm/v20190923/models.py +134 -0
- tencentcloud/svp/v20240125/models.py +35 -20
- tencentcloud/tag/v20180813/models.py +34 -54
- tencentcloud/tat/v20201028/models.py +2 -0
- tencentcloud/tcaplusdb/v20190823/models.py +0 -337
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.py +0 -25
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +0 -20
- tencentcloud/tcb/v20180608/errorcodes.py +15 -12
- tencentcloud/tcb/v20180608/models.py +5761 -8383
- tencentcloud/tcb/v20180608/tcb_client.py +0 -276
- tencentcloud/tcb/v20180608/tcb_client_async.py +0 -216
- tencentcloud/tcbr/v20220217/errorcodes.py +27 -0
- tencentcloud/tcbr/v20220217/models.py +4193 -1389
- tencentcloud/tcbr/v20220217/tcbr_client.py +207 -0
- tencentcloud/tcbr/v20220217/tcbr_client_async.py +162 -0
- tencentcloud/tcr/v20190924/models.py +727 -61
- tencentcloud/tcr/v20190924/tcr_client.py +92 -0
- tencentcloud/tcr/v20190924/tcr_client_async.py +72 -0
- tencentcloud/tcss/v20201101/models.py +30 -0
- tencentcloud/tdai/v20250717/models.py +440 -2
- tencentcloud/tdai/v20250717/tdai_client.py +23 -0
- tencentcloud/tdai/v20250717/tdai_client_async.py +18 -0
- tencentcloud/tdmq/v20200217/errorcodes.py +1 -1
- tencentcloud/tdmq/v20200217/models.py +432 -4
- tencentcloud/tdmq/v20200217/tdmq_client.py +24 -0
- tencentcloud/tdmq/v20200217/tdmq_client_async.py +19 -0
- tencentcloud/teo/v20220901/errorcodes.py +39 -0
- tencentcloud/teo/v20220901/models.py +596 -79
- tencentcloud/teo/v20220901/teo_client.py +107 -1
- tencentcloud/teo/v20220901/teo_client_async.py +97 -1
- tencentcloud/thpc/v20211109/models.py +14 -14
- tencentcloud/thpc/v20220401/models.py +14 -14
- tencentcloud/thpc/v20230321/models.py +20 -54
- tencentcloud/tione/v20211111/errorcodes.py +9 -0
- tencentcloud/tione/v20211111/models.py +910 -73
- tencentcloud/tione/v20211111/tione_client.py +69 -0
- tencentcloud/tione/v20211111/tione_client_async.py +54 -0
- tencentcloud/tke/v20180525/models.py +468 -18
- tencentcloud/tke/v20180525/tke_client.py +69 -0
- tencentcloud/tke/v20180525/tke_client_async.py +54 -0
- tencentcloud/tke/v20220501/models.py +539 -0
- tencentcloud/tke/v20220501/tke_client.py +23 -0
- tencentcloud/tke/v20220501/tke_client_async.py +18 -0
- tencentcloud/trocket/v20230308/models.py +42 -21
- tencentcloud/trocket/v20230308/trocket_client.py +2 -1
- tencentcloud/trocket/v20230308/trocket_client_async.py +2 -1
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +173 -30
- tencentcloud/tse/v20201207/models.py +42 -0
- tencentcloud/tsf/v20180326/errorcodes.py +4 -4
- tencentcloud/tsf/v20180326/models.py +15 -510
- tencentcloud/tsf/v20180326/tsf_client.py +66 -47
- tencentcloud/tsf/v20180326/tsf_client_async.py +44 -20
- tencentcloud/tts/v20190823/tts_client.py +1 -1
- tencentcloud/tts/v20190823/tts_client_async.py +1 -1
- tencentcloud/vclm/v20240523/models.py +383 -0
- tencentcloud/vclm/v20240523/vclm_client.py +46 -0
- tencentcloud/vclm/v20240523/vclm_client_async.py +36 -0
- tencentcloud/vcube/v20220410/models.py +30 -0
- tencentcloud/vdb/v20230616/models.py +567 -0
- tencentcloud/vdb/v20230616/vdb_client.py +69 -0
- tencentcloud/vdb/v20230616/vdb_client_async.py +54 -0
- tencentcloud/vm/v20210922/models.py +116 -0
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/models.py +4107 -622
- tencentcloud/vod/v20180717/vod_client.py +72 -3
- tencentcloud/vod/v20180717/vod_client_async.py +57 -3
- tencentcloud/vpc/v20170312/errorcodes.py +15 -0
- tencentcloud/vpc/v20170312/models.py +387 -2
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/vpc/v20170312/vpc_client_async.py +18 -0
- tencentcloud/waf/v20180125/errorcodes.py +3 -0
- tencentcloud/waf/v20180125/models.py +970 -0
- tencentcloud/waf/v20180125/waf_client.py +46 -0
- tencentcloud/waf/v20180125/waf_client_async.py +36 -0
- tencentcloud/wedata/v20210820/models.py +2851 -29
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- tencentcloud/wedata/v20210820/wedata_client_async.py +18 -0
- tencentcloud/wedata/v20250806/errorcodes.py +21 -0
- tencentcloud/wedata/v20250806/models.py +40999 -15704
- tencentcloud/wedata/v20250806/wedata_client.py +1402 -65
- tencentcloud/wedata/v20250806/wedata_client_async.py +1047 -0
- tencentcloud/weilingwith/v20230427/errorcodes.py +0 -3
- tencentcloud/weilingwith/v20230427/models.py +17 -336
- tencentcloud/weilingwith/v20230427/weilingwith_client.py +0 -25
- tencentcloud/weilingwith/v20230427/weilingwith_client_async.py +0 -20
- tencentcloud/wimgs/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/errorcodes.py +33 -0
- tencentcloud/wimgs/v20251106/models.py +132 -0
- tencentcloud/wimgs/v20251106/wimgs_client.py +49 -0
- tencentcloud/wimgs/v20251106/wimgs_client_async.py +44 -0
- tencentcloud/wsa/v20250508/errorcodes.py +6 -0
- tencentcloud/wsa/v20250508/models.py +17 -2
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/RECORD +260 -243
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/WHEEL +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/top_level.txt +0 -0
|
@@ -279,6 +279,29 @@ class CdwchClient(AbstractClient):
|
|
|
279
279
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
280
280
|
|
|
281
281
|
|
|
282
|
+
def DescribeEventTasks(self, request):
|
|
283
|
+
r"""获取产生的事件
|
|
284
|
+
|
|
285
|
+
:param request: Request instance for DescribeEventTasks.
|
|
286
|
+
:type request: :class:`tencentcloud.cdwch.v20200915.models.DescribeEventTasksRequest`
|
|
287
|
+
:rtype: :class:`tencentcloud.cdwch.v20200915.models.DescribeEventTasksResponse`
|
|
288
|
+
|
|
289
|
+
"""
|
|
290
|
+
try:
|
|
291
|
+
params = request._serialize()
|
|
292
|
+
headers = request.headers
|
|
293
|
+
body = self.call("DescribeEventTasks", params, headers=headers)
|
|
294
|
+
response = json.loads(body)
|
|
295
|
+
model = models.DescribeEventTasksResponse()
|
|
296
|
+
model._deserialize(response["Response"])
|
|
297
|
+
return model
|
|
298
|
+
except Exception as e:
|
|
299
|
+
if isinstance(e, TencentCloudSDKException):
|
|
300
|
+
raise
|
|
301
|
+
else:
|
|
302
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
303
|
+
|
|
304
|
+
|
|
282
305
|
def DescribeInstance(self, request):
|
|
283
306
|
r"""根据实例ID查询某个实例的具体信息
|
|
284
307
|
|
|
@@ -223,6 +223,24 @@ class CdwchClient(AbstractClient):
|
|
|
223
223
|
|
|
224
224
|
return await self.call_and_deserialize(**kwargs)
|
|
225
225
|
|
|
226
|
+
async def DescribeEventTasks(
|
|
227
|
+
self,
|
|
228
|
+
request: models.DescribeEventTasksRequest,
|
|
229
|
+
opts: Dict = None,
|
|
230
|
+
) -> models.DescribeEventTasksResponse:
|
|
231
|
+
"""
|
|
232
|
+
获取产生的事件
|
|
233
|
+
"""
|
|
234
|
+
|
|
235
|
+
kwargs = {}
|
|
236
|
+
kwargs["action"] = "DescribeEventTasks"
|
|
237
|
+
kwargs["params"] = request._serialize()
|
|
238
|
+
kwargs["resp_cls"] = models.DescribeEventTasksResponse
|
|
239
|
+
kwargs["headers"] = request.headers
|
|
240
|
+
kwargs["opts"] = opts or {}
|
|
241
|
+
|
|
242
|
+
return await self.call_and_deserialize(**kwargs)
|
|
243
|
+
|
|
226
244
|
async def DescribeInstance(
|
|
227
245
|
self,
|
|
228
246
|
request: models.DescribeInstanceRequest,
|
|
@@ -1177,6 +1177,10 @@ class CnInstanceInfo(AbstractModel):
|
|
|
1177
1177
|
:type InstanceID: str
|
|
1178
1178
|
:param _Resources: 无
|
|
1179
1179
|
:type Resources: list of CNResource
|
|
1180
|
+
:param _IsSecondaryZone: desc
|
|
1181
|
+
:type IsSecondaryZone: str
|
|
1182
|
+
:param _SecondaryZoneInfo: desc
|
|
1183
|
+
:type SecondaryZoneInfo: str
|
|
1180
1184
|
"""
|
|
1181
1185
|
self._ID = None
|
|
1182
1186
|
self._InstanceType = None
|
|
@@ -1186,6 +1190,8 @@ class CnInstanceInfo(AbstractModel):
|
|
|
1186
1190
|
self._InstanceStateInfo = None
|
|
1187
1191
|
self._InstanceID = None
|
|
1188
1192
|
self._Resources = None
|
|
1193
|
+
self._IsSecondaryZone = None
|
|
1194
|
+
self._SecondaryZoneInfo = None
|
|
1189
1195
|
|
|
1190
1196
|
@property
|
|
1191
1197
|
def ID(self):
|
|
@@ -1275,6 +1281,28 @@ class CnInstanceInfo(AbstractModel):
|
|
|
1275
1281
|
def Resources(self, Resources):
|
|
1276
1282
|
self._Resources = Resources
|
|
1277
1283
|
|
|
1284
|
+
@property
|
|
1285
|
+
def IsSecondaryZone(self):
|
|
1286
|
+
r"""desc
|
|
1287
|
+
:rtype: str
|
|
1288
|
+
"""
|
|
1289
|
+
return self._IsSecondaryZone
|
|
1290
|
+
|
|
1291
|
+
@IsSecondaryZone.setter
|
|
1292
|
+
def IsSecondaryZone(self, IsSecondaryZone):
|
|
1293
|
+
self._IsSecondaryZone = IsSecondaryZone
|
|
1294
|
+
|
|
1295
|
+
@property
|
|
1296
|
+
def SecondaryZoneInfo(self):
|
|
1297
|
+
r"""desc
|
|
1298
|
+
:rtype: str
|
|
1299
|
+
"""
|
|
1300
|
+
return self._SecondaryZoneInfo
|
|
1301
|
+
|
|
1302
|
+
@SecondaryZoneInfo.setter
|
|
1303
|
+
def SecondaryZoneInfo(self, SecondaryZoneInfo):
|
|
1304
|
+
self._SecondaryZoneInfo = SecondaryZoneInfo
|
|
1305
|
+
|
|
1278
1306
|
|
|
1279
1307
|
def _deserialize(self, params):
|
|
1280
1308
|
self._ID = params.get("ID")
|
|
@@ -1292,6 +1320,8 @@ class CnInstanceInfo(AbstractModel):
|
|
|
1292
1320
|
obj = CNResource()
|
|
1293
1321
|
obj._deserialize(item)
|
|
1294
1322
|
self._Resources.append(obj)
|
|
1323
|
+
self._IsSecondaryZone = params.get("IsSecondaryZone")
|
|
1324
|
+
self._SecondaryZoneInfo = params.get("SecondaryZoneInfo")
|
|
1295
1325
|
memeber_set = set(params.keys())
|
|
1296
1326
|
for name, value in vars(self).items():
|
|
1297
1327
|
property_name = name[1:]
|
|
@@ -3114,6 +3144,240 @@ class DescribeClusterConfigsResponse(AbstractModel):
|
|
|
3114
3144
|
self._RequestId = params.get("RequestId")
|
|
3115
3145
|
|
|
3116
3146
|
|
|
3147
|
+
class DescribeEventTasksRequest(AbstractModel):
|
|
3148
|
+
r"""DescribeEventTasks请求参数结构体
|
|
3149
|
+
|
|
3150
|
+
"""
|
|
3151
|
+
|
|
3152
|
+
def __init__(self):
|
|
3153
|
+
r"""
|
|
3154
|
+
:param _InstanceId: 集群id
|
|
3155
|
+
:type InstanceId: str
|
|
3156
|
+
:param _EventTaskId: 过滤的事件任务id
|
|
3157
|
+
:type EventTaskId: int
|
|
3158
|
+
:param _PageNumber: 页码,默认为1
|
|
3159
|
+
:type PageNumber: int
|
|
3160
|
+
:param _PageSize: 每页数量(支持10、20、30、50、100、200),默认为100
|
|
3161
|
+
:type PageSize: int
|
|
3162
|
+
:param _EventCode: 事件名称过滤
|
|
3163
|
+
:type EventCode: str
|
|
3164
|
+
:param _Status: (1-待处理;2-已预约;3-处理中;4-已结束;5-处理中;-1-已忽略;-2-已删除)
|
|
3165
|
+
:type Status: list of int
|
|
3166
|
+
:param _StartTime: 创建时间范围开始 (格式: YYYY-MM-DD HH:MM:SS),最大支持查询180天信息
|
|
3167
|
+
:type StartTime: str
|
|
3168
|
+
:param _EndTime: 创建时间范围结束 (格式: YYYY-MM-DD HH:MM:SS)
|
|
3169
|
+
:type EndTime: str
|
|
3170
|
+
:param _SortField: 排序字段(事件类型:event_code;触发时间:create_time;完成时间:end_time)
|
|
3171
|
+
:type SortField: str
|
|
3172
|
+
:param _SortOrder: 排序顺序 (asc/desc)
|
|
3173
|
+
:type SortOrder: str
|
|
3174
|
+
"""
|
|
3175
|
+
self._InstanceId = None
|
|
3176
|
+
self._EventTaskId = None
|
|
3177
|
+
self._PageNumber = None
|
|
3178
|
+
self._PageSize = None
|
|
3179
|
+
self._EventCode = None
|
|
3180
|
+
self._Status = None
|
|
3181
|
+
self._StartTime = None
|
|
3182
|
+
self._EndTime = None
|
|
3183
|
+
self._SortField = None
|
|
3184
|
+
self._SortOrder = None
|
|
3185
|
+
|
|
3186
|
+
@property
|
|
3187
|
+
def InstanceId(self):
|
|
3188
|
+
r"""集群id
|
|
3189
|
+
:rtype: str
|
|
3190
|
+
"""
|
|
3191
|
+
return self._InstanceId
|
|
3192
|
+
|
|
3193
|
+
@InstanceId.setter
|
|
3194
|
+
def InstanceId(self, InstanceId):
|
|
3195
|
+
self._InstanceId = InstanceId
|
|
3196
|
+
|
|
3197
|
+
@property
|
|
3198
|
+
def EventTaskId(self):
|
|
3199
|
+
r"""过滤的事件任务id
|
|
3200
|
+
:rtype: int
|
|
3201
|
+
"""
|
|
3202
|
+
return self._EventTaskId
|
|
3203
|
+
|
|
3204
|
+
@EventTaskId.setter
|
|
3205
|
+
def EventTaskId(self, EventTaskId):
|
|
3206
|
+
self._EventTaskId = EventTaskId
|
|
3207
|
+
|
|
3208
|
+
@property
|
|
3209
|
+
def PageNumber(self):
|
|
3210
|
+
r"""页码,默认为1
|
|
3211
|
+
:rtype: int
|
|
3212
|
+
"""
|
|
3213
|
+
return self._PageNumber
|
|
3214
|
+
|
|
3215
|
+
@PageNumber.setter
|
|
3216
|
+
def PageNumber(self, PageNumber):
|
|
3217
|
+
self._PageNumber = PageNumber
|
|
3218
|
+
|
|
3219
|
+
@property
|
|
3220
|
+
def PageSize(self):
|
|
3221
|
+
r"""每页数量(支持10、20、30、50、100、200),默认为100
|
|
3222
|
+
:rtype: int
|
|
3223
|
+
"""
|
|
3224
|
+
return self._PageSize
|
|
3225
|
+
|
|
3226
|
+
@PageSize.setter
|
|
3227
|
+
def PageSize(self, PageSize):
|
|
3228
|
+
self._PageSize = PageSize
|
|
3229
|
+
|
|
3230
|
+
@property
|
|
3231
|
+
def EventCode(self):
|
|
3232
|
+
r"""事件名称过滤
|
|
3233
|
+
:rtype: str
|
|
3234
|
+
"""
|
|
3235
|
+
return self._EventCode
|
|
3236
|
+
|
|
3237
|
+
@EventCode.setter
|
|
3238
|
+
def EventCode(self, EventCode):
|
|
3239
|
+
self._EventCode = EventCode
|
|
3240
|
+
|
|
3241
|
+
@property
|
|
3242
|
+
def Status(self):
|
|
3243
|
+
r"""(1-待处理;2-已预约;3-处理中;4-已结束;5-处理中;-1-已忽略;-2-已删除)
|
|
3244
|
+
:rtype: list of int
|
|
3245
|
+
"""
|
|
3246
|
+
return self._Status
|
|
3247
|
+
|
|
3248
|
+
@Status.setter
|
|
3249
|
+
def Status(self, Status):
|
|
3250
|
+
self._Status = Status
|
|
3251
|
+
|
|
3252
|
+
@property
|
|
3253
|
+
def StartTime(self):
|
|
3254
|
+
r"""创建时间范围开始 (格式: YYYY-MM-DD HH:MM:SS),最大支持查询180天信息
|
|
3255
|
+
:rtype: str
|
|
3256
|
+
"""
|
|
3257
|
+
return self._StartTime
|
|
3258
|
+
|
|
3259
|
+
@StartTime.setter
|
|
3260
|
+
def StartTime(self, StartTime):
|
|
3261
|
+
self._StartTime = StartTime
|
|
3262
|
+
|
|
3263
|
+
@property
|
|
3264
|
+
def EndTime(self):
|
|
3265
|
+
r"""创建时间范围结束 (格式: YYYY-MM-DD HH:MM:SS)
|
|
3266
|
+
:rtype: str
|
|
3267
|
+
"""
|
|
3268
|
+
return self._EndTime
|
|
3269
|
+
|
|
3270
|
+
@EndTime.setter
|
|
3271
|
+
def EndTime(self, EndTime):
|
|
3272
|
+
self._EndTime = EndTime
|
|
3273
|
+
|
|
3274
|
+
@property
|
|
3275
|
+
def SortField(self):
|
|
3276
|
+
r"""排序字段(事件类型:event_code;触发时间:create_time;完成时间:end_time)
|
|
3277
|
+
:rtype: str
|
|
3278
|
+
"""
|
|
3279
|
+
return self._SortField
|
|
3280
|
+
|
|
3281
|
+
@SortField.setter
|
|
3282
|
+
def SortField(self, SortField):
|
|
3283
|
+
self._SortField = SortField
|
|
3284
|
+
|
|
3285
|
+
@property
|
|
3286
|
+
def SortOrder(self):
|
|
3287
|
+
r"""排序顺序 (asc/desc)
|
|
3288
|
+
:rtype: str
|
|
3289
|
+
"""
|
|
3290
|
+
return self._SortOrder
|
|
3291
|
+
|
|
3292
|
+
@SortOrder.setter
|
|
3293
|
+
def SortOrder(self, SortOrder):
|
|
3294
|
+
self._SortOrder = SortOrder
|
|
3295
|
+
|
|
3296
|
+
|
|
3297
|
+
def _deserialize(self, params):
|
|
3298
|
+
self._InstanceId = params.get("InstanceId")
|
|
3299
|
+
self._EventTaskId = params.get("EventTaskId")
|
|
3300
|
+
self._PageNumber = params.get("PageNumber")
|
|
3301
|
+
self._PageSize = params.get("PageSize")
|
|
3302
|
+
self._EventCode = params.get("EventCode")
|
|
3303
|
+
self._Status = params.get("Status")
|
|
3304
|
+
self._StartTime = params.get("StartTime")
|
|
3305
|
+
self._EndTime = params.get("EndTime")
|
|
3306
|
+
self._SortField = params.get("SortField")
|
|
3307
|
+
self._SortOrder = params.get("SortOrder")
|
|
3308
|
+
memeber_set = set(params.keys())
|
|
3309
|
+
for name, value in vars(self).items():
|
|
3310
|
+
property_name = name[1:]
|
|
3311
|
+
if property_name in memeber_set:
|
|
3312
|
+
memeber_set.remove(property_name)
|
|
3313
|
+
if len(memeber_set) > 0:
|
|
3314
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3315
|
+
|
|
3316
|
+
|
|
3317
|
+
|
|
3318
|
+
class DescribeEventTasksResponse(AbstractModel):
|
|
3319
|
+
r"""DescribeEventTasks返回参数结构体
|
|
3320
|
+
|
|
3321
|
+
"""
|
|
3322
|
+
|
|
3323
|
+
def __init__(self):
|
|
3324
|
+
r"""
|
|
3325
|
+
:param _EventTasks: 产生的事件任务
|
|
3326
|
+
:type EventTasks: list of EventTask
|
|
3327
|
+
:param _TotalCount: 事件任务总数
|
|
3328
|
+
:type TotalCount: int
|
|
3329
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3330
|
+
:type RequestId: str
|
|
3331
|
+
"""
|
|
3332
|
+
self._EventTasks = None
|
|
3333
|
+
self._TotalCount = None
|
|
3334
|
+
self._RequestId = None
|
|
3335
|
+
|
|
3336
|
+
@property
|
|
3337
|
+
def EventTasks(self):
|
|
3338
|
+
r"""产生的事件任务
|
|
3339
|
+
:rtype: list of EventTask
|
|
3340
|
+
"""
|
|
3341
|
+
return self._EventTasks
|
|
3342
|
+
|
|
3343
|
+
@EventTasks.setter
|
|
3344
|
+
def EventTasks(self, EventTasks):
|
|
3345
|
+
self._EventTasks = EventTasks
|
|
3346
|
+
|
|
3347
|
+
@property
|
|
3348
|
+
def TotalCount(self):
|
|
3349
|
+
r"""事件任务总数
|
|
3350
|
+
:rtype: int
|
|
3351
|
+
"""
|
|
3352
|
+
return self._TotalCount
|
|
3353
|
+
|
|
3354
|
+
@TotalCount.setter
|
|
3355
|
+
def TotalCount(self, TotalCount):
|
|
3356
|
+
self._TotalCount = TotalCount
|
|
3357
|
+
|
|
3358
|
+
@property
|
|
3359
|
+
def RequestId(self):
|
|
3360
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3361
|
+
:rtype: str
|
|
3362
|
+
"""
|
|
3363
|
+
return self._RequestId
|
|
3364
|
+
|
|
3365
|
+
@RequestId.setter
|
|
3366
|
+
def RequestId(self, RequestId):
|
|
3367
|
+
self._RequestId = RequestId
|
|
3368
|
+
|
|
3369
|
+
|
|
3370
|
+
def _deserialize(self, params):
|
|
3371
|
+
if params.get("EventTasks") is not None:
|
|
3372
|
+
self._EventTasks = []
|
|
3373
|
+
for item in params.get("EventTasks"):
|
|
3374
|
+
obj = EventTask()
|
|
3375
|
+
obj._deserialize(item)
|
|
3376
|
+
self._EventTasks.append(obj)
|
|
3377
|
+
self._TotalCount = params.get("TotalCount")
|
|
3378
|
+
self._RequestId = params.get("RequestId")
|
|
3379
|
+
|
|
3380
|
+
|
|
3117
3381
|
class DescribeInstanceClustersRequest(AbstractModel):
|
|
3118
3382
|
r"""DescribeInstanceClusters请求参数结构体
|
|
3119
3383
|
|
|
@@ -4459,6 +4723,267 @@ class DiskSpec(AbstractModel):
|
|
|
4459
4723
|
|
|
4460
4724
|
|
|
4461
4725
|
|
|
4726
|
+
class EventTask(AbstractModel):
|
|
4727
|
+
r"""事件任务
|
|
4728
|
+
|
|
4729
|
+
"""
|
|
4730
|
+
|
|
4731
|
+
def __init__(self):
|
|
4732
|
+
r"""
|
|
4733
|
+
:param _InstanceId: 集群id
|
|
4734
|
+
:type InstanceId: str
|
|
4735
|
+
:param _EventTaskId: 事件任务的id
|
|
4736
|
+
:type EventTaskId: int
|
|
4737
|
+
:param _HandleUser: 处理人uin
|
|
4738
|
+
:type HandleUser: str
|
|
4739
|
+
:param _EventCode: 事件名称
|
|
4740
|
+
:type EventCode: str
|
|
4741
|
+
:param _RepairId: CVM相关事件的维修id
|
|
4742
|
+
:type RepairId: str
|
|
4743
|
+
:param _EventNameDescribe: 事件名称描述
|
|
4744
|
+
:type EventNameDescribe: str
|
|
4745
|
+
:param _EventPriority: 事件等级(0-低;1-中;2-高;3-严重)
|
|
4746
|
+
:type EventPriority: int
|
|
4747
|
+
:param _EventDetail: 事件详情
|
|
4748
|
+
:type EventDetail: str
|
|
4749
|
+
:param _IP: 影响集群节点
|
|
4750
|
+
:type IP: str
|
|
4751
|
+
:param _CreateTime: 事件触发时间
|
|
4752
|
+
:type CreateTime: str
|
|
4753
|
+
:param _Status: 事件状态(1-待处理;2-已预约;3-处理中;4-已完成;5-处理中;6-自动处理中;-1-已忽略;-2-已删除)
|
|
4754
|
+
:type Status: int
|
|
4755
|
+
:param _NeedAuthorization: 是否需要授权维修:1-不需要,2-需要
|
|
4756
|
+
:type NeedAuthorization: int
|
|
4757
|
+
:param _OperationType: 该事件涉及到的操作类型(OnlineMigrationForInstance-实例在线迁移,OnlineMaintenanceForInstance-实例在线维修,等)
|
|
4758
|
+
:type OperationType: list of str
|
|
4759
|
+
:param _FinishTime: 完成时间
|
|
4760
|
+
:type FinishTime: str
|
|
4761
|
+
:param _OperationGuide: 操作指引
|
|
4762
|
+
:type OperationGuide: str
|
|
4763
|
+
:param _ResourceId: 资源id
|
|
4764
|
+
:type ResourceId: str
|
|
4765
|
+
"""
|
|
4766
|
+
self._InstanceId = None
|
|
4767
|
+
self._EventTaskId = None
|
|
4768
|
+
self._HandleUser = None
|
|
4769
|
+
self._EventCode = None
|
|
4770
|
+
self._RepairId = None
|
|
4771
|
+
self._EventNameDescribe = None
|
|
4772
|
+
self._EventPriority = None
|
|
4773
|
+
self._EventDetail = None
|
|
4774
|
+
self._IP = None
|
|
4775
|
+
self._CreateTime = None
|
|
4776
|
+
self._Status = None
|
|
4777
|
+
self._NeedAuthorization = None
|
|
4778
|
+
self._OperationType = None
|
|
4779
|
+
self._FinishTime = None
|
|
4780
|
+
self._OperationGuide = None
|
|
4781
|
+
self._ResourceId = None
|
|
4782
|
+
|
|
4783
|
+
@property
|
|
4784
|
+
def InstanceId(self):
|
|
4785
|
+
r"""集群id
|
|
4786
|
+
:rtype: str
|
|
4787
|
+
"""
|
|
4788
|
+
return self._InstanceId
|
|
4789
|
+
|
|
4790
|
+
@InstanceId.setter
|
|
4791
|
+
def InstanceId(self, InstanceId):
|
|
4792
|
+
self._InstanceId = InstanceId
|
|
4793
|
+
|
|
4794
|
+
@property
|
|
4795
|
+
def EventTaskId(self):
|
|
4796
|
+
r"""事件任务的id
|
|
4797
|
+
:rtype: int
|
|
4798
|
+
"""
|
|
4799
|
+
return self._EventTaskId
|
|
4800
|
+
|
|
4801
|
+
@EventTaskId.setter
|
|
4802
|
+
def EventTaskId(self, EventTaskId):
|
|
4803
|
+
self._EventTaskId = EventTaskId
|
|
4804
|
+
|
|
4805
|
+
@property
|
|
4806
|
+
def HandleUser(self):
|
|
4807
|
+
r"""处理人uin
|
|
4808
|
+
:rtype: str
|
|
4809
|
+
"""
|
|
4810
|
+
return self._HandleUser
|
|
4811
|
+
|
|
4812
|
+
@HandleUser.setter
|
|
4813
|
+
def HandleUser(self, HandleUser):
|
|
4814
|
+
self._HandleUser = HandleUser
|
|
4815
|
+
|
|
4816
|
+
@property
|
|
4817
|
+
def EventCode(self):
|
|
4818
|
+
r"""事件名称
|
|
4819
|
+
:rtype: str
|
|
4820
|
+
"""
|
|
4821
|
+
return self._EventCode
|
|
4822
|
+
|
|
4823
|
+
@EventCode.setter
|
|
4824
|
+
def EventCode(self, EventCode):
|
|
4825
|
+
self._EventCode = EventCode
|
|
4826
|
+
|
|
4827
|
+
@property
|
|
4828
|
+
def RepairId(self):
|
|
4829
|
+
r"""CVM相关事件的维修id
|
|
4830
|
+
:rtype: str
|
|
4831
|
+
"""
|
|
4832
|
+
return self._RepairId
|
|
4833
|
+
|
|
4834
|
+
@RepairId.setter
|
|
4835
|
+
def RepairId(self, RepairId):
|
|
4836
|
+
self._RepairId = RepairId
|
|
4837
|
+
|
|
4838
|
+
@property
|
|
4839
|
+
def EventNameDescribe(self):
|
|
4840
|
+
r"""事件名称描述
|
|
4841
|
+
:rtype: str
|
|
4842
|
+
"""
|
|
4843
|
+
return self._EventNameDescribe
|
|
4844
|
+
|
|
4845
|
+
@EventNameDescribe.setter
|
|
4846
|
+
def EventNameDescribe(self, EventNameDescribe):
|
|
4847
|
+
self._EventNameDescribe = EventNameDescribe
|
|
4848
|
+
|
|
4849
|
+
@property
|
|
4850
|
+
def EventPriority(self):
|
|
4851
|
+
r"""事件等级(0-低;1-中;2-高;3-严重)
|
|
4852
|
+
:rtype: int
|
|
4853
|
+
"""
|
|
4854
|
+
return self._EventPriority
|
|
4855
|
+
|
|
4856
|
+
@EventPriority.setter
|
|
4857
|
+
def EventPriority(self, EventPriority):
|
|
4858
|
+
self._EventPriority = EventPriority
|
|
4859
|
+
|
|
4860
|
+
@property
|
|
4861
|
+
def EventDetail(self):
|
|
4862
|
+
r"""事件详情
|
|
4863
|
+
:rtype: str
|
|
4864
|
+
"""
|
|
4865
|
+
return self._EventDetail
|
|
4866
|
+
|
|
4867
|
+
@EventDetail.setter
|
|
4868
|
+
def EventDetail(self, EventDetail):
|
|
4869
|
+
self._EventDetail = EventDetail
|
|
4870
|
+
|
|
4871
|
+
@property
|
|
4872
|
+
def IP(self):
|
|
4873
|
+
r"""影响集群节点
|
|
4874
|
+
:rtype: str
|
|
4875
|
+
"""
|
|
4876
|
+
return self._IP
|
|
4877
|
+
|
|
4878
|
+
@IP.setter
|
|
4879
|
+
def IP(self, IP):
|
|
4880
|
+
self._IP = IP
|
|
4881
|
+
|
|
4882
|
+
@property
|
|
4883
|
+
def CreateTime(self):
|
|
4884
|
+
r"""事件触发时间
|
|
4885
|
+
:rtype: str
|
|
4886
|
+
"""
|
|
4887
|
+
return self._CreateTime
|
|
4888
|
+
|
|
4889
|
+
@CreateTime.setter
|
|
4890
|
+
def CreateTime(self, CreateTime):
|
|
4891
|
+
self._CreateTime = CreateTime
|
|
4892
|
+
|
|
4893
|
+
@property
|
|
4894
|
+
def Status(self):
|
|
4895
|
+
r"""事件状态(1-待处理;2-已预约;3-处理中;4-已完成;5-处理中;6-自动处理中;-1-已忽略;-2-已删除)
|
|
4896
|
+
:rtype: int
|
|
4897
|
+
"""
|
|
4898
|
+
return self._Status
|
|
4899
|
+
|
|
4900
|
+
@Status.setter
|
|
4901
|
+
def Status(self, Status):
|
|
4902
|
+
self._Status = Status
|
|
4903
|
+
|
|
4904
|
+
@property
|
|
4905
|
+
def NeedAuthorization(self):
|
|
4906
|
+
r"""是否需要授权维修:1-不需要,2-需要
|
|
4907
|
+
:rtype: int
|
|
4908
|
+
"""
|
|
4909
|
+
return self._NeedAuthorization
|
|
4910
|
+
|
|
4911
|
+
@NeedAuthorization.setter
|
|
4912
|
+
def NeedAuthorization(self, NeedAuthorization):
|
|
4913
|
+
self._NeedAuthorization = NeedAuthorization
|
|
4914
|
+
|
|
4915
|
+
@property
|
|
4916
|
+
def OperationType(self):
|
|
4917
|
+
r"""该事件涉及到的操作类型(OnlineMigrationForInstance-实例在线迁移,OnlineMaintenanceForInstance-实例在线维修,等)
|
|
4918
|
+
:rtype: list of str
|
|
4919
|
+
"""
|
|
4920
|
+
return self._OperationType
|
|
4921
|
+
|
|
4922
|
+
@OperationType.setter
|
|
4923
|
+
def OperationType(self, OperationType):
|
|
4924
|
+
self._OperationType = OperationType
|
|
4925
|
+
|
|
4926
|
+
@property
|
|
4927
|
+
def FinishTime(self):
|
|
4928
|
+
r"""完成时间
|
|
4929
|
+
:rtype: str
|
|
4930
|
+
"""
|
|
4931
|
+
return self._FinishTime
|
|
4932
|
+
|
|
4933
|
+
@FinishTime.setter
|
|
4934
|
+
def FinishTime(self, FinishTime):
|
|
4935
|
+
self._FinishTime = FinishTime
|
|
4936
|
+
|
|
4937
|
+
@property
|
|
4938
|
+
def OperationGuide(self):
|
|
4939
|
+
r"""操作指引
|
|
4940
|
+
:rtype: str
|
|
4941
|
+
"""
|
|
4942
|
+
return self._OperationGuide
|
|
4943
|
+
|
|
4944
|
+
@OperationGuide.setter
|
|
4945
|
+
def OperationGuide(self, OperationGuide):
|
|
4946
|
+
self._OperationGuide = OperationGuide
|
|
4947
|
+
|
|
4948
|
+
@property
|
|
4949
|
+
def ResourceId(self):
|
|
4950
|
+
r"""资源id
|
|
4951
|
+
:rtype: str
|
|
4952
|
+
"""
|
|
4953
|
+
return self._ResourceId
|
|
4954
|
+
|
|
4955
|
+
@ResourceId.setter
|
|
4956
|
+
def ResourceId(self, ResourceId):
|
|
4957
|
+
self._ResourceId = ResourceId
|
|
4958
|
+
|
|
4959
|
+
|
|
4960
|
+
def _deserialize(self, params):
|
|
4961
|
+
self._InstanceId = params.get("InstanceId")
|
|
4962
|
+
self._EventTaskId = params.get("EventTaskId")
|
|
4963
|
+
self._HandleUser = params.get("HandleUser")
|
|
4964
|
+
self._EventCode = params.get("EventCode")
|
|
4965
|
+
self._RepairId = params.get("RepairId")
|
|
4966
|
+
self._EventNameDescribe = params.get("EventNameDescribe")
|
|
4967
|
+
self._EventPriority = params.get("EventPriority")
|
|
4968
|
+
self._EventDetail = params.get("EventDetail")
|
|
4969
|
+
self._IP = params.get("IP")
|
|
4970
|
+
self._CreateTime = params.get("CreateTime")
|
|
4971
|
+
self._Status = params.get("Status")
|
|
4972
|
+
self._NeedAuthorization = params.get("NeedAuthorization")
|
|
4973
|
+
self._OperationType = params.get("OperationType")
|
|
4974
|
+
self._FinishTime = params.get("FinishTime")
|
|
4975
|
+
self._OperationGuide = params.get("OperationGuide")
|
|
4976
|
+
self._ResourceId = params.get("ResourceId")
|
|
4977
|
+
memeber_set = set(params.keys())
|
|
4978
|
+
for name, value in vars(self).items():
|
|
4979
|
+
property_name = name[1:]
|
|
4980
|
+
if property_name in memeber_set:
|
|
4981
|
+
memeber_set.remove(property_name)
|
|
4982
|
+
if len(memeber_set) > 0:
|
|
4983
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4984
|
+
|
|
4985
|
+
|
|
4986
|
+
|
|
4462
4987
|
class GroupInfo(AbstractModel):
|
|
4463
4988
|
r"""集群分组信息描述
|
|
4464
4989
|
|
|
@@ -4916,6 +5441,10 @@ Modify 集群变更中;
|
|
|
4916
5441
|
:type HasPublicCloudClb: bool
|
|
4917
5442
|
:param _UpgradeZkVersions: 可升级的zk版本
|
|
4918
5443
|
:type UpgradeZkVersions: str
|
|
5444
|
+
:param _ShowRip: 是否显示rip
|
|
5445
|
+
:type ShowRip: str
|
|
5446
|
+
:param _InstanceType: 实例类型:标准型 standard,无keeper节点类型noKeeper;
|
|
5447
|
+
:type InstanceType: str
|
|
4919
5448
|
"""
|
|
4920
5449
|
self._InstanceId = None
|
|
4921
5450
|
self._InstanceName = None
|
|
@@ -4971,6 +5500,8 @@ Modify 集群变更中;
|
|
|
4971
5500
|
self._BindSGs = None
|
|
4972
5501
|
self._HasPublicCloudClb = None
|
|
4973
5502
|
self._UpgradeZkVersions = None
|
|
5503
|
+
self._ShowRip = None
|
|
5504
|
+
self._InstanceType = None
|
|
4974
5505
|
|
|
4975
5506
|
@property
|
|
4976
5507
|
def InstanceId(self):
|
|
@@ -5569,6 +6100,28 @@ Modify 集群变更中;
|
|
|
5569
6100
|
def UpgradeZkVersions(self, UpgradeZkVersions):
|
|
5570
6101
|
self._UpgradeZkVersions = UpgradeZkVersions
|
|
5571
6102
|
|
|
6103
|
+
@property
|
|
6104
|
+
def ShowRip(self):
|
|
6105
|
+
r"""是否显示rip
|
|
6106
|
+
:rtype: str
|
|
6107
|
+
"""
|
|
6108
|
+
return self._ShowRip
|
|
6109
|
+
|
|
6110
|
+
@ShowRip.setter
|
|
6111
|
+
def ShowRip(self, ShowRip):
|
|
6112
|
+
self._ShowRip = ShowRip
|
|
6113
|
+
|
|
6114
|
+
@property
|
|
6115
|
+
def InstanceType(self):
|
|
6116
|
+
r"""实例类型:标准型 standard,无keeper节点类型noKeeper;
|
|
6117
|
+
:rtype: str
|
|
6118
|
+
"""
|
|
6119
|
+
return self._InstanceType
|
|
6120
|
+
|
|
6121
|
+
@InstanceType.setter
|
|
6122
|
+
def InstanceType(self, InstanceType):
|
|
6123
|
+
self._InstanceType = InstanceType
|
|
6124
|
+
|
|
5572
6125
|
|
|
5573
6126
|
def _deserialize(self, params):
|
|
5574
6127
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -5643,6 +6196,8 @@ Modify 集群变更中;
|
|
|
5643
6196
|
self._BindSGs = params.get("BindSGs")
|
|
5644
6197
|
self._HasPublicCloudClb = params.get("HasPublicCloudClb")
|
|
5645
6198
|
self._UpgradeZkVersions = params.get("UpgradeZkVersions")
|
|
6199
|
+
self._ShowRip = params.get("ShowRip")
|
|
6200
|
+
self._InstanceType = params.get("InstanceType")
|
|
5646
6201
|
memeber_set = set(params.keys())
|
|
5647
6202
|
for name, value in vars(self).items():
|
|
5648
6203
|
property_name = name[1:]
|