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
|
@@ -1383,6 +1383,29 @@ class DbbrainClient(AbstractClient):
|
|
|
1383
1383
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1384
1384
|
|
|
1385
1385
|
|
|
1386
|
+
def DescribeRedisUnExpiredKeyStatistics(self, request):
|
|
1387
|
+
r"""查询Redis全量Key的内存分布情况。
|
|
1388
|
+
|
|
1389
|
+
:param request: Request instance for DescribeRedisUnExpiredKeyStatistics.
|
|
1390
|
+
:type request: :class:`tencentcloud.dbbrain.v20210527.models.DescribeRedisUnExpiredKeyStatisticsRequest`
|
|
1391
|
+
:rtype: :class:`tencentcloud.dbbrain.v20210527.models.DescribeRedisUnExpiredKeyStatisticsResponse`
|
|
1392
|
+
|
|
1393
|
+
"""
|
|
1394
|
+
try:
|
|
1395
|
+
params = request._serialize()
|
|
1396
|
+
headers = request.headers
|
|
1397
|
+
body = self.call("DescribeRedisUnExpiredKeyStatistics", params, headers=headers)
|
|
1398
|
+
response = json.loads(body)
|
|
1399
|
+
model = models.DescribeRedisUnExpiredKeyStatisticsResponse()
|
|
1400
|
+
model._deserialize(response["Response"])
|
|
1401
|
+
return model
|
|
1402
|
+
except Exception as e:
|
|
1403
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1404
|
+
raise
|
|
1405
|
+
else:
|
|
1406
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1407
|
+
|
|
1408
|
+
|
|
1386
1409
|
def DescribeSecurityAuditLogDownloadUrls(self, request):
|
|
1387
1410
|
r"""查询安全审计日志导出文件下载链接。目前日志文件下载仅提供腾讯云内网地址,请通过广州地域的腾讯云服务器进行下载。
|
|
1388
1411
|
|
|
@@ -1087,6 +1087,24 @@ class DbbrainClient(AbstractClient):
|
|
|
1087
1087
|
|
|
1088
1088
|
return await self.call_and_deserialize(**kwargs)
|
|
1089
1089
|
|
|
1090
|
+
async def DescribeRedisUnExpiredKeyStatistics(
|
|
1091
|
+
self,
|
|
1092
|
+
request: models.DescribeRedisUnExpiredKeyStatisticsRequest,
|
|
1093
|
+
opts: Dict = None,
|
|
1094
|
+
) -> models.DescribeRedisUnExpiredKeyStatisticsResponse:
|
|
1095
|
+
"""
|
|
1096
|
+
查询Redis全量Key的内存分布情况。
|
|
1097
|
+
"""
|
|
1098
|
+
|
|
1099
|
+
kwargs = {}
|
|
1100
|
+
kwargs["action"] = "DescribeRedisUnExpiredKeyStatistics"
|
|
1101
|
+
kwargs["params"] = request._serialize()
|
|
1102
|
+
kwargs["resp_cls"] = models.DescribeRedisUnExpiredKeyStatisticsResponse
|
|
1103
|
+
kwargs["headers"] = request.headers
|
|
1104
|
+
kwargs["opts"] = opts or {}
|
|
1105
|
+
|
|
1106
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1107
|
+
|
|
1090
1108
|
async def DescribeSecurityAuditLogDownloadUrls(
|
|
1091
1109
|
self,
|
|
1092
1110
|
request: models.DescribeSecurityAuditLogDownloadUrlsRequest,
|
|
@@ -10075,10 +10075,10 @@ class DescribeRedisTopBigKeysRequest(AbstractModel):
|
|
|
10075
10075
|
r"""
|
|
10076
10076
|
:param _InstanceId: 实例 ID。可通过 [DescribeDiagDBInstances](https://cloud.tencent.com/document/api/1130/57798) 接口获取。
|
|
10077
10077
|
:type InstanceId: str
|
|
10078
|
-
:param _Date: 查询日期,如2021-05-27,最早可为前30天的日期。
|
|
10079
|
-
:type Date: str
|
|
10080
10078
|
:param _Product: 服务产品类型,支持值包括 "redis" - 云数据库 Redis。
|
|
10081
10079
|
:type Product: str
|
|
10080
|
+
:param _Date: 查询某个日期最新的任务,如2021-05-27,最早可为前30天的日期。该参数与AsyncRequestId参数不可同时为空。
|
|
10081
|
+
:type Date: str
|
|
10082
10082
|
:param _SortBy: 排序字段,取值包括Capacity - 内存,ItemCount - 元素数量,默认为Capacity。
|
|
10083
10083
|
:type SortBy: str
|
|
10084
10084
|
:param _KeyType: key类型筛选条件,默认为不进行筛选,取值包括string, list, set, hash, sortedset, stream。
|
|
@@ -10089,15 +10089,19 @@ class DescribeRedisTopBigKeysRequest(AbstractModel):
|
|
|
10089
10089
|
:type AsyncRequestId: int
|
|
10090
10090
|
:param _ShardIds: 分片节点序号列表。当列表为空时,选择所有分片节点。
|
|
10091
10091
|
:type ShardIds: list of int
|
|
10092
|
+
:param _UnExpireKey: 是否仅查询未设置过期时间的大Key。
|
|
10093
|
+
当为true时,仅查询未设置过期时间的大Key,默认为false。
|
|
10094
|
+
:type UnExpireKey: bool
|
|
10092
10095
|
"""
|
|
10093
10096
|
self._InstanceId = None
|
|
10094
|
-
self._Date = None
|
|
10095
10097
|
self._Product = None
|
|
10098
|
+
self._Date = None
|
|
10096
10099
|
self._SortBy = None
|
|
10097
10100
|
self._KeyType = None
|
|
10098
10101
|
self._Limit = None
|
|
10099
10102
|
self._AsyncRequestId = None
|
|
10100
10103
|
self._ShardIds = None
|
|
10104
|
+
self._UnExpireKey = None
|
|
10101
10105
|
|
|
10102
10106
|
@property
|
|
10103
10107
|
def InstanceId(self):
|
|
@@ -10110,17 +10114,6 @@ class DescribeRedisTopBigKeysRequest(AbstractModel):
|
|
|
10110
10114
|
def InstanceId(self, InstanceId):
|
|
10111
10115
|
self._InstanceId = InstanceId
|
|
10112
10116
|
|
|
10113
|
-
@property
|
|
10114
|
-
def Date(self):
|
|
10115
|
-
r"""查询日期,如2021-05-27,最早可为前30天的日期。
|
|
10116
|
-
:rtype: str
|
|
10117
|
-
"""
|
|
10118
|
-
return self._Date
|
|
10119
|
-
|
|
10120
|
-
@Date.setter
|
|
10121
|
-
def Date(self, Date):
|
|
10122
|
-
self._Date = Date
|
|
10123
|
-
|
|
10124
10117
|
@property
|
|
10125
10118
|
def Product(self):
|
|
10126
10119
|
r"""服务产品类型,支持值包括 "redis" - 云数据库 Redis。
|
|
@@ -10132,6 +10125,17 @@ class DescribeRedisTopBigKeysRequest(AbstractModel):
|
|
|
10132
10125
|
def Product(self, Product):
|
|
10133
10126
|
self._Product = Product
|
|
10134
10127
|
|
|
10128
|
+
@property
|
|
10129
|
+
def Date(self):
|
|
10130
|
+
r"""查询某个日期最新的任务,如2021-05-27,最早可为前30天的日期。该参数与AsyncRequestId参数不可同时为空。
|
|
10131
|
+
:rtype: str
|
|
10132
|
+
"""
|
|
10133
|
+
return self._Date
|
|
10134
|
+
|
|
10135
|
+
@Date.setter
|
|
10136
|
+
def Date(self, Date):
|
|
10137
|
+
self._Date = Date
|
|
10138
|
+
|
|
10135
10139
|
@property
|
|
10136
10140
|
def SortBy(self):
|
|
10137
10141
|
r"""排序字段,取值包括Capacity - 内存,ItemCount - 元素数量,默认为Capacity。
|
|
@@ -10187,16 +10191,29 @@ class DescribeRedisTopBigKeysRequest(AbstractModel):
|
|
|
10187
10191
|
def ShardIds(self, ShardIds):
|
|
10188
10192
|
self._ShardIds = ShardIds
|
|
10189
10193
|
|
|
10194
|
+
@property
|
|
10195
|
+
def UnExpireKey(self):
|
|
10196
|
+
r"""是否仅查询未设置过期时间的大Key。
|
|
10197
|
+
当为true时,仅查询未设置过期时间的大Key,默认为false。
|
|
10198
|
+
:rtype: bool
|
|
10199
|
+
"""
|
|
10200
|
+
return self._UnExpireKey
|
|
10201
|
+
|
|
10202
|
+
@UnExpireKey.setter
|
|
10203
|
+
def UnExpireKey(self, UnExpireKey):
|
|
10204
|
+
self._UnExpireKey = UnExpireKey
|
|
10205
|
+
|
|
10190
10206
|
|
|
10191
10207
|
def _deserialize(self, params):
|
|
10192
10208
|
self._InstanceId = params.get("InstanceId")
|
|
10193
|
-
self._Date = params.get("Date")
|
|
10194
10209
|
self._Product = params.get("Product")
|
|
10210
|
+
self._Date = params.get("Date")
|
|
10195
10211
|
self._SortBy = params.get("SortBy")
|
|
10196
10212
|
self._KeyType = params.get("KeyType")
|
|
10197
10213
|
self._Limit = params.get("Limit")
|
|
10198
10214
|
self._AsyncRequestId = params.get("AsyncRequestId")
|
|
10199
10215
|
self._ShardIds = params.get("ShardIds")
|
|
10216
|
+
self._UnExpireKey = params.get("UnExpireKey")
|
|
10200
10217
|
memeber_set = set(params.keys())
|
|
10201
10218
|
for name, value in vars(self).items():
|
|
10202
10219
|
property_name = name[1:]
|
|
@@ -10747,6 +10764,150 @@ class DescribeRedisTopKeyPrefixListResponse(AbstractModel):
|
|
|
10747
10764
|
self._RequestId = params.get("RequestId")
|
|
10748
10765
|
|
|
10749
10766
|
|
|
10767
|
+
class DescribeRedisUnExpiredKeyStatisticsRequest(AbstractModel):
|
|
10768
|
+
r"""DescribeRedisUnExpiredKeyStatistics请求参数结构体
|
|
10769
|
+
|
|
10770
|
+
"""
|
|
10771
|
+
|
|
10772
|
+
def __init__(self):
|
|
10773
|
+
r"""
|
|
10774
|
+
:param _InstanceId: 实例 ID。可通过接口获取。
|
|
10775
|
+
:type InstanceId: str
|
|
10776
|
+
:param _Product: 服务产品类型,支持值包括 "redis" - 云数据库 Redis。
|
|
10777
|
+
:type Product: str
|
|
10778
|
+
:param _Date: 查询某个日期最新的任务,如2021-05-27,最早可为前30天的日期。该参数与AsyncRequestId参数不可同时为空。
|
|
10779
|
+
:type Date: str
|
|
10780
|
+
:param _AsyncRequestId: 异步任务ID。当为空时,选择最近任务的ID。
|
|
10781
|
+
:type AsyncRequestId: int
|
|
10782
|
+
:param _ShardIds: 分片节点序号列表。当列表为空时,选择所有分片节点。
|
|
10783
|
+
:type ShardIds: list of int
|
|
10784
|
+
"""
|
|
10785
|
+
self._InstanceId = None
|
|
10786
|
+
self._Product = None
|
|
10787
|
+
self._Date = None
|
|
10788
|
+
self._AsyncRequestId = None
|
|
10789
|
+
self._ShardIds = None
|
|
10790
|
+
|
|
10791
|
+
@property
|
|
10792
|
+
def InstanceId(self):
|
|
10793
|
+
r"""实例 ID。可通过接口获取。
|
|
10794
|
+
:rtype: str
|
|
10795
|
+
"""
|
|
10796
|
+
return self._InstanceId
|
|
10797
|
+
|
|
10798
|
+
@InstanceId.setter
|
|
10799
|
+
def InstanceId(self, InstanceId):
|
|
10800
|
+
self._InstanceId = InstanceId
|
|
10801
|
+
|
|
10802
|
+
@property
|
|
10803
|
+
def Product(self):
|
|
10804
|
+
r"""服务产品类型,支持值包括 "redis" - 云数据库 Redis。
|
|
10805
|
+
:rtype: str
|
|
10806
|
+
"""
|
|
10807
|
+
return self._Product
|
|
10808
|
+
|
|
10809
|
+
@Product.setter
|
|
10810
|
+
def Product(self, Product):
|
|
10811
|
+
self._Product = Product
|
|
10812
|
+
|
|
10813
|
+
@property
|
|
10814
|
+
def Date(self):
|
|
10815
|
+
r"""查询某个日期最新的任务,如2021-05-27,最早可为前30天的日期。该参数与AsyncRequestId参数不可同时为空。
|
|
10816
|
+
:rtype: str
|
|
10817
|
+
"""
|
|
10818
|
+
return self._Date
|
|
10819
|
+
|
|
10820
|
+
@Date.setter
|
|
10821
|
+
def Date(self, Date):
|
|
10822
|
+
self._Date = Date
|
|
10823
|
+
|
|
10824
|
+
@property
|
|
10825
|
+
def AsyncRequestId(self):
|
|
10826
|
+
r"""异步任务ID。当为空时,选择最近任务的ID。
|
|
10827
|
+
:rtype: int
|
|
10828
|
+
"""
|
|
10829
|
+
return self._AsyncRequestId
|
|
10830
|
+
|
|
10831
|
+
@AsyncRequestId.setter
|
|
10832
|
+
def AsyncRequestId(self, AsyncRequestId):
|
|
10833
|
+
self._AsyncRequestId = AsyncRequestId
|
|
10834
|
+
|
|
10835
|
+
@property
|
|
10836
|
+
def ShardIds(self):
|
|
10837
|
+
r"""分片节点序号列表。当列表为空时,选择所有分片节点。
|
|
10838
|
+
:rtype: list of int
|
|
10839
|
+
"""
|
|
10840
|
+
return self._ShardIds
|
|
10841
|
+
|
|
10842
|
+
@ShardIds.setter
|
|
10843
|
+
def ShardIds(self, ShardIds):
|
|
10844
|
+
self._ShardIds = ShardIds
|
|
10845
|
+
|
|
10846
|
+
|
|
10847
|
+
def _deserialize(self, params):
|
|
10848
|
+
self._InstanceId = params.get("InstanceId")
|
|
10849
|
+
self._Product = params.get("Product")
|
|
10850
|
+
self._Date = params.get("Date")
|
|
10851
|
+
self._AsyncRequestId = params.get("AsyncRequestId")
|
|
10852
|
+
self._ShardIds = params.get("ShardIds")
|
|
10853
|
+
memeber_set = set(params.keys())
|
|
10854
|
+
for name, value in vars(self).items():
|
|
10855
|
+
property_name = name[1:]
|
|
10856
|
+
if property_name in memeber_set:
|
|
10857
|
+
memeber_set.remove(property_name)
|
|
10858
|
+
if len(memeber_set) > 0:
|
|
10859
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10860
|
+
|
|
10861
|
+
|
|
10862
|
+
|
|
10863
|
+
class DescribeRedisUnExpiredKeyStatisticsResponse(AbstractModel):
|
|
10864
|
+
r"""DescribeRedisUnExpiredKeyStatistics返回参数结构体
|
|
10865
|
+
|
|
10866
|
+
"""
|
|
10867
|
+
|
|
10868
|
+
def __init__(self):
|
|
10869
|
+
r"""
|
|
10870
|
+
:param _SeriesData: 全量Key的聚合分布信息列表。
|
|
10871
|
+
:type SeriesData: list of RedisGlobalKeyInfo
|
|
10872
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10873
|
+
:type RequestId: str
|
|
10874
|
+
"""
|
|
10875
|
+
self._SeriesData = None
|
|
10876
|
+
self._RequestId = None
|
|
10877
|
+
|
|
10878
|
+
@property
|
|
10879
|
+
def SeriesData(self):
|
|
10880
|
+
r"""全量Key的聚合分布信息列表。
|
|
10881
|
+
:rtype: list of RedisGlobalKeyInfo
|
|
10882
|
+
"""
|
|
10883
|
+
return self._SeriesData
|
|
10884
|
+
|
|
10885
|
+
@SeriesData.setter
|
|
10886
|
+
def SeriesData(self, SeriesData):
|
|
10887
|
+
self._SeriesData = SeriesData
|
|
10888
|
+
|
|
10889
|
+
@property
|
|
10890
|
+
def RequestId(self):
|
|
10891
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10892
|
+
:rtype: str
|
|
10893
|
+
"""
|
|
10894
|
+
return self._RequestId
|
|
10895
|
+
|
|
10896
|
+
@RequestId.setter
|
|
10897
|
+
def RequestId(self, RequestId):
|
|
10898
|
+
self._RequestId = RequestId
|
|
10899
|
+
|
|
10900
|
+
|
|
10901
|
+
def _deserialize(self, params):
|
|
10902
|
+
if params.get("SeriesData") is not None:
|
|
10903
|
+
self._SeriesData = []
|
|
10904
|
+
for item in params.get("SeriesData"):
|
|
10905
|
+
obj = RedisGlobalKeyInfo()
|
|
10906
|
+
obj._deserialize(item)
|
|
10907
|
+
self._SeriesData.append(obj)
|
|
10908
|
+
self._RequestId = params.get("RequestId")
|
|
10909
|
+
|
|
10910
|
+
|
|
10750
10911
|
class DescribeSecurityAuditLogDownloadUrlsRequest(AbstractModel):
|
|
10751
10912
|
r"""DescribeSecurityAuditLogDownloadUrls请求参数结构体
|
|
10752
10913
|
|
|
@@ -18236,6 +18397,91 @@ class RedisCostCmd(AbstractModel):
|
|
|
18236
18397
|
|
|
18237
18398
|
|
|
18238
18399
|
|
|
18400
|
+
class RedisGlobalKeyInfo(AbstractModel):
|
|
18401
|
+
r"""Redis全量Key的聚合信息。
|
|
18402
|
+
|
|
18403
|
+
"""
|
|
18404
|
+
|
|
18405
|
+
def __init__(self):
|
|
18406
|
+
r"""
|
|
18407
|
+
:param _Capacity: 占用内存大小,单位Byte。
|
|
18408
|
+
:type Capacity: int
|
|
18409
|
+
:param _Count: Key个数。
|
|
18410
|
+
:type Count: int
|
|
18411
|
+
:param _RangeMax: 剩余过期时间范围的结束时间,当小于0时,代表已过期时间,单位:小时。当RangeMin与RangeMax同时为空时,代表未设置过期时间。当RangeMax为空时,代表剩余过期时间大于等于RangeMin小时。
|
|
18412
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18413
|
+
:type RangeMax: int
|
|
18414
|
+
:param _RangeMin: 剩余过期时间范围的起始时间,当小于0时,代表已过期时间,单位:小时。当RangeMin与RangeMax同时为空时,代表未设置过期时间。当RangeMin为空时,代表已过期。
|
|
18415
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18416
|
+
:type RangeMin: int
|
|
18417
|
+
"""
|
|
18418
|
+
self._Capacity = None
|
|
18419
|
+
self._Count = None
|
|
18420
|
+
self._RangeMax = None
|
|
18421
|
+
self._RangeMin = None
|
|
18422
|
+
|
|
18423
|
+
@property
|
|
18424
|
+
def Capacity(self):
|
|
18425
|
+
r"""占用内存大小,单位Byte。
|
|
18426
|
+
:rtype: int
|
|
18427
|
+
"""
|
|
18428
|
+
return self._Capacity
|
|
18429
|
+
|
|
18430
|
+
@Capacity.setter
|
|
18431
|
+
def Capacity(self, Capacity):
|
|
18432
|
+
self._Capacity = Capacity
|
|
18433
|
+
|
|
18434
|
+
@property
|
|
18435
|
+
def Count(self):
|
|
18436
|
+
r"""Key个数。
|
|
18437
|
+
:rtype: int
|
|
18438
|
+
"""
|
|
18439
|
+
return self._Count
|
|
18440
|
+
|
|
18441
|
+
@Count.setter
|
|
18442
|
+
def Count(self, Count):
|
|
18443
|
+
self._Count = Count
|
|
18444
|
+
|
|
18445
|
+
@property
|
|
18446
|
+
def RangeMax(self):
|
|
18447
|
+
r"""剩余过期时间范围的结束时间,当小于0时,代表已过期时间,单位:小时。当RangeMin与RangeMax同时为空时,代表未设置过期时间。当RangeMax为空时,代表剩余过期时间大于等于RangeMin小时。
|
|
18448
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18449
|
+
:rtype: int
|
|
18450
|
+
"""
|
|
18451
|
+
return self._RangeMax
|
|
18452
|
+
|
|
18453
|
+
@RangeMax.setter
|
|
18454
|
+
def RangeMax(self, RangeMax):
|
|
18455
|
+
self._RangeMax = RangeMax
|
|
18456
|
+
|
|
18457
|
+
@property
|
|
18458
|
+
def RangeMin(self):
|
|
18459
|
+
r"""剩余过期时间范围的起始时间,当小于0时,代表已过期时间,单位:小时。当RangeMin与RangeMax同时为空时,代表未设置过期时间。当RangeMin为空时,代表已过期。
|
|
18460
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18461
|
+
:rtype: int
|
|
18462
|
+
"""
|
|
18463
|
+
return self._RangeMin
|
|
18464
|
+
|
|
18465
|
+
@RangeMin.setter
|
|
18466
|
+
def RangeMin(self, RangeMin):
|
|
18467
|
+
self._RangeMin = RangeMin
|
|
18468
|
+
|
|
18469
|
+
|
|
18470
|
+
def _deserialize(self, params):
|
|
18471
|
+
self._Capacity = params.get("Capacity")
|
|
18472
|
+
self._Count = params.get("Count")
|
|
18473
|
+
self._RangeMax = params.get("RangeMax")
|
|
18474
|
+
self._RangeMin = params.get("RangeMin")
|
|
18475
|
+
memeber_set = set(params.keys())
|
|
18476
|
+
for name, value in vars(self).items():
|
|
18477
|
+
property_name = name[1:]
|
|
18478
|
+
if property_name in memeber_set:
|
|
18479
|
+
memeber_set.remove(property_name)
|
|
18480
|
+
if len(memeber_set) > 0:
|
|
18481
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18482
|
+
|
|
18483
|
+
|
|
18484
|
+
|
|
18239
18485
|
class RedisInstanceConf(AbstractModel):
|
|
18240
18486
|
r"""Redis实例内存配置参数
|
|
18241
18487
|
|
|
@@ -49,6 +49,29 @@ class DbsClient(AbstractClient):
|
|
|
49
49
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
50
50
|
|
|
51
51
|
|
|
52
|
+
def CreateBackupPlan(self, request):
|
|
53
|
+
r"""该接口用于创建备份计划。
|
|
54
|
+
|
|
55
|
+
:param request: Request instance for CreateBackupPlan.
|
|
56
|
+
:type request: :class:`tencentcloud.dbs.v20211108.models.CreateBackupPlanRequest`
|
|
57
|
+
:rtype: :class:`tencentcloud.dbs.v20211108.models.CreateBackupPlanResponse`
|
|
58
|
+
|
|
59
|
+
"""
|
|
60
|
+
try:
|
|
61
|
+
params = request._serialize()
|
|
62
|
+
headers = request.headers
|
|
63
|
+
body = self.call("CreateBackupPlan", params, headers=headers)
|
|
64
|
+
response = json.loads(body)
|
|
65
|
+
model = models.CreateBackupPlanResponse()
|
|
66
|
+
model._deserialize(response["Response"])
|
|
67
|
+
return model
|
|
68
|
+
except Exception as e:
|
|
69
|
+
if isinstance(e, TencentCloudSDKException):
|
|
70
|
+
raise
|
|
71
|
+
else:
|
|
72
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
73
|
+
|
|
74
|
+
|
|
52
75
|
def CreateConnectTestJob(self, request):
|
|
53
76
|
r"""该接口用于创建连通性检测任务,请在创建备份计划前,通过该接口来检测你的源端实例是否连通性正常。
|
|
54
77
|
|
|
@@ -95,6 +118,52 @@ class DbsClient(AbstractClient):
|
|
|
95
118
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
96
119
|
|
|
97
120
|
|
|
121
|
+
def DescribeBackupPlans(self, request):
|
|
122
|
+
r"""本接口(DescribeBackupPlans)用于查询备份计划列表。
|
|
123
|
+
|
|
124
|
+
:param request: Request instance for DescribeBackupPlans.
|
|
125
|
+
:type request: :class:`tencentcloud.dbs.v20211108.models.DescribeBackupPlansRequest`
|
|
126
|
+
:rtype: :class:`tencentcloud.dbs.v20211108.models.DescribeBackupPlansResponse`
|
|
127
|
+
|
|
128
|
+
"""
|
|
129
|
+
try:
|
|
130
|
+
params = request._serialize()
|
|
131
|
+
headers = request.headers
|
|
132
|
+
body = self.call("DescribeBackupPlans", params, headers=headers)
|
|
133
|
+
response = json.loads(body)
|
|
134
|
+
model = models.DescribeBackupPlansResponse()
|
|
135
|
+
model._deserialize(response["Response"])
|
|
136
|
+
return model
|
|
137
|
+
except Exception as e:
|
|
138
|
+
if isinstance(e, TencentCloudSDKException):
|
|
139
|
+
raise
|
|
140
|
+
else:
|
|
141
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
def DescribeConnectTestResult(self, request):
|
|
145
|
+
r"""该接口用于查询连通性检测任务的结果
|
|
146
|
+
|
|
147
|
+
:param request: Request instance for DescribeConnectTestResult.
|
|
148
|
+
:type request: :class:`tencentcloud.dbs.v20211108.models.DescribeConnectTestResultRequest`
|
|
149
|
+
:rtype: :class:`tencentcloud.dbs.v20211108.models.DescribeConnectTestResultResponse`
|
|
150
|
+
|
|
151
|
+
"""
|
|
152
|
+
try:
|
|
153
|
+
params = request._serialize()
|
|
154
|
+
headers = request.headers
|
|
155
|
+
body = self.call("DescribeConnectTestResult", params, headers=headers)
|
|
156
|
+
response = json.loads(body)
|
|
157
|
+
model = models.DescribeConnectTestResultResponse()
|
|
158
|
+
model._deserialize(response["Response"])
|
|
159
|
+
return model
|
|
160
|
+
except Exception as e:
|
|
161
|
+
if isinstance(e, TencentCloudSDKException):
|
|
162
|
+
raise
|
|
163
|
+
else:
|
|
164
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
165
|
+
|
|
166
|
+
|
|
98
167
|
def StartBackupCheckJob(self, request):
|
|
99
168
|
r"""本接口(StartBackupCheckJob)用于创建备份计划预校验任务。
|
|
100
169
|
|
|
@@ -43,6 +43,24 @@ class DbsClient(AbstractClient):
|
|
|
43
43
|
|
|
44
44
|
return await self.call_and_deserialize(**kwargs)
|
|
45
45
|
|
|
46
|
+
async def CreateBackupPlan(
|
|
47
|
+
self,
|
|
48
|
+
request: models.CreateBackupPlanRequest,
|
|
49
|
+
opts: Dict = None,
|
|
50
|
+
) -> models.CreateBackupPlanResponse:
|
|
51
|
+
"""
|
|
52
|
+
该接口用于创建备份计划。
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
kwargs = {}
|
|
56
|
+
kwargs["action"] = "CreateBackupPlan"
|
|
57
|
+
kwargs["params"] = request._serialize()
|
|
58
|
+
kwargs["resp_cls"] = models.CreateBackupPlanResponse
|
|
59
|
+
kwargs["headers"] = request.headers
|
|
60
|
+
kwargs["opts"] = opts or {}
|
|
61
|
+
|
|
62
|
+
return await self.call_and_deserialize(**kwargs)
|
|
63
|
+
|
|
46
64
|
async def CreateConnectTestJob(
|
|
47
65
|
self,
|
|
48
66
|
request: models.CreateConnectTestJobRequest,
|
|
@@ -79,6 +97,42 @@ class DbsClient(AbstractClient):
|
|
|
79
97
|
|
|
80
98
|
return await self.call_and_deserialize(**kwargs)
|
|
81
99
|
|
|
100
|
+
async def DescribeBackupPlans(
|
|
101
|
+
self,
|
|
102
|
+
request: models.DescribeBackupPlansRequest,
|
|
103
|
+
opts: Dict = None,
|
|
104
|
+
) -> models.DescribeBackupPlansResponse:
|
|
105
|
+
"""
|
|
106
|
+
本接口(DescribeBackupPlans)用于查询备份计划列表。
|
|
107
|
+
"""
|
|
108
|
+
|
|
109
|
+
kwargs = {}
|
|
110
|
+
kwargs["action"] = "DescribeBackupPlans"
|
|
111
|
+
kwargs["params"] = request._serialize()
|
|
112
|
+
kwargs["resp_cls"] = models.DescribeBackupPlansResponse
|
|
113
|
+
kwargs["headers"] = request.headers
|
|
114
|
+
kwargs["opts"] = opts or {}
|
|
115
|
+
|
|
116
|
+
return await self.call_and_deserialize(**kwargs)
|
|
117
|
+
|
|
118
|
+
async def DescribeConnectTestResult(
|
|
119
|
+
self,
|
|
120
|
+
request: models.DescribeConnectTestResultRequest,
|
|
121
|
+
opts: Dict = None,
|
|
122
|
+
) -> models.DescribeConnectTestResultResponse:
|
|
123
|
+
"""
|
|
124
|
+
该接口用于查询连通性检测任务的结果
|
|
125
|
+
"""
|
|
126
|
+
|
|
127
|
+
kwargs = {}
|
|
128
|
+
kwargs["action"] = "DescribeConnectTestResult"
|
|
129
|
+
kwargs["params"] = request._serialize()
|
|
130
|
+
kwargs["resp_cls"] = models.DescribeConnectTestResultResponse
|
|
131
|
+
kwargs["headers"] = request.headers
|
|
132
|
+
kwargs["opts"] = opts or {}
|
|
133
|
+
|
|
134
|
+
return await self.call_and_deserialize(**kwargs)
|
|
135
|
+
|
|
82
136
|
async def StartBackupCheckJob(
|
|
83
137
|
self,
|
|
84
138
|
request: models.StartBackupCheckJobRequest,
|
|
@@ -14,12 +14,21 @@
|
|
|
14
14
|
# limitations under the License.
|
|
15
15
|
|
|
16
16
|
|
|
17
|
+
# 权限不足
|
|
18
|
+
AUTHFAILURE_UNAUTHORIZEDOPERATIONERROR = 'AuthFailure.UnauthorizedOperationError'
|
|
19
|
+
|
|
20
|
+
# 创建备份失败
|
|
21
|
+
FAILEDOPERATION_CREATEBACKUPERR = 'FailedOperation.CreateBackupErr'
|
|
22
|
+
|
|
17
23
|
# 内部错误。
|
|
18
24
|
INTERNALERROR = 'InternalError'
|
|
19
25
|
|
|
20
26
|
# 数据库访问错误。
|
|
21
27
|
INTERNALERROR_DATABASEACCESSERROR = 'InternalError.DatabaseAccessError'
|
|
22
28
|
|
|
29
|
+
# 内部请求失败错误
|
|
30
|
+
INTERNALERROR_INTERNALHTTPSERVERERROR = 'InternalError.InternalHttpServerError'
|
|
31
|
+
|
|
23
32
|
# 参数错误。
|
|
24
33
|
INVALIDPARAMETER = 'InvalidParameter'
|
|
25
34
|
|
|
@@ -29,8 +38,14 @@ INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
|
|
29
38
|
# 操作被拒绝。
|
|
30
39
|
OPERATIONDENIED = 'OperationDenied'
|
|
31
40
|
|
|
41
|
+
# 不允许的操作
|
|
42
|
+
OPERATIONDENIED_BIZOPERATIONDENIEDERROR = 'OperationDenied.BizOperationDeniedError'
|
|
43
|
+
|
|
32
44
|
# 资源不存在。
|
|
33
45
|
RESOURCENOTFOUND = 'ResourceNotFound'
|
|
34
46
|
|
|
47
|
+
# 未授权操作。
|
|
48
|
+
UNAUTHORIZEDOPERATION = 'UnauthorizedOperation'
|
|
49
|
+
|
|
35
50
|
# 操作不支持。
|
|
36
51
|
UNSUPPORTEDOPERATION = 'UnsupportedOperation'
|