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
|
@@ -596,6 +596,9 @@ UNSUPPORTEDOPERATION_CLUSTERSTATEUNHEALTH = 'UnsupportedOperation.ClusterStateUn
|
|
|
596
596
|
# 该版本不支持cos备份。集群需要重启来允许cos备份。
|
|
597
597
|
UNSUPPORTEDOPERATION_COSBACKUP = 'UnsupportedOperation.CosBackUp'
|
|
598
598
|
|
|
599
|
+
# cvm当前运行状态不支持
|
|
600
|
+
UNSUPPORTEDOPERATION_CVMSTATENOTSUPPORTED = 'UnsupportedOperation.CvmStateNotSupported'
|
|
601
|
+
|
|
599
602
|
# 有关机的cvm
|
|
600
603
|
UNSUPPORTEDOPERATION_CVMSTATUSSTOPPED = 'UnsupportedOperation.CvmStatusStopped'
|
|
601
604
|
|
|
@@ -608,6 +611,15 @@ UNSUPPORTEDOPERATION_DIAGNOSENOTOPEN = 'UnsupportedOperation.DiagnoseNotOpen'
|
|
|
608
611
|
# 节点磁盘可用空间不足
|
|
609
612
|
UNSUPPORTEDOPERATION_DISKFREESPACEINSUFFICIENT = 'UnsupportedOperation.DiskFreeSpaceInsufficient'
|
|
610
613
|
|
|
614
|
+
# 该操作仅支持弹性云盘
|
|
615
|
+
UNSUPPORTEDOPERATION_DISKNOTPORTABLE = 'UnsupportedOperation.DiskNotPortable'
|
|
616
|
+
|
|
617
|
+
# 当前磁盘状态不支持
|
|
618
|
+
UNSUPPORTEDOPERATION_DISKSTATENOTSUPPORTED = 'UnsupportedOperation.DiskStateNotSupported'
|
|
619
|
+
|
|
620
|
+
# 磁盘类型变更路径不支持
|
|
621
|
+
UNSUPPORTEDOPERATION_DISKTYPECHANGEPATHNOTSUPPORTED = 'UnsupportedOperation.DiskTypeChangePathNotSupported'
|
|
622
|
+
|
|
611
623
|
# 不支持的读硬盘配置。
|
|
612
624
|
UNSUPPORTEDOPERATION_DISKUSE = 'UnsupportedOperation.DiskUse'
|
|
613
625
|
|
|
@@ -644,6 +656,9 @@ UNSUPPORTEDOPERATION_MULTIZONESUPGRADE = 'UnsupportedOperation.MultiZonesUpgrade
|
|
|
644
656
|
# 抱歉,您需要前往ES控制台购买页完成确认认证,我们才能为您提供所选的腾讯云服务。如果对于确认流程有任何疑问,可以联系我们:https://www.tencentcloud.com/zh/contact-us。
|
|
645
657
|
UNSUPPORTEDOPERATION_NOTAGREEMENT = 'UnsupportedOperation.NotAgreement'
|
|
646
658
|
|
|
659
|
+
# 该操作仅支持数据盘
|
|
660
|
+
UNSUPPORTEDOPERATION_NOTDATADISK = 'UnsupportedOperation.NotDataDisk'
|
|
661
|
+
|
|
647
662
|
# 用户同步日志的配置passLogstashId为空,不支持该操作。
|
|
648
663
|
UNSUPPORTEDOPERATION_PASSLOGSTASHID = 'UnsupportedOperation.PassLogstashId'
|
|
649
664
|
|
|
@@ -49,6 +49,29 @@ class EsClient(AbstractClient):
|
|
|
49
49
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
50
50
|
|
|
51
51
|
|
|
52
|
+
def CreateAutoBackUpStrategy(self, request):
|
|
53
|
+
r"""新建自动备份快照策略
|
|
54
|
+
|
|
55
|
+
:param request: Request instance for CreateAutoBackUpStrategy.
|
|
56
|
+
:type request: :class:`tencentcloud.es.v20180416.models.CreateAutoBackUpStrategyRequest`
|
|
57
|
+
:rtype: :class:`tencentcloud.es.v20180416.models.CreateAutoBackUpStrategyResponse`
|
|
58
|
+
|
|
59
|
+
"""
|
|
60
|
+
try:
|
|
61
|
+
params = request._serialize()
|
|
62
|
+
headers = request.headers
|
|
63
|
+
body = self.call("CreateAutoBackUpStrategy", params, headers=headers)
|
|
64
|
+
response = json.loads(body)
|
|
65
|
+
model = models.CreateAutoBackUpStrategyResponse()
|
|
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 CreateClusterSnapshot(self, request):
|
|
53
76
|
r"""集群快照手动创建
|
|
54
77
|
|
|
@@ -210,6 +233,29 @@ class EsClient(AbstractClient):
|
|
|
210
233
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
211
234
|
|
|
212
235
|
|
|
236
|
+
def DeleteAutoBackUpStrategy(self, request):
|
|
237
|
+
r"""删除自动备份快照策略
|
|
238
|
+
|
|
239
|
+
:param request: Request instance for DeleteAutoBackUpStrategy.
|
|
240
|
+
:type request: :class:`tencentcloud.es.v20180416.models.DeleteAutoBackUpStrategyRequest`
|
|
241
|
+
:rtype: :class:`tencentcloud.es.v20180416.models.DeleteAutoBackUpStrategyResponse`
|
|
242
|
+
|
|
243
|
+
"""
|
|
244
|
+
try:
|
|
245
|
+
params = request._serialize()
|
|
246
|
+
headers = request.headers
|
|
247
|
+
body = self.call("DeleteAutoBackUpStrategy", params, headers=headers)
|
|
248
|
+
response = json.loads(body)
|
|
249
|
+
model = models.DeleteAutoBackUpStrategyResponse()
|
|
250
|
+
model._deserialize(response["Response"])
|
|
251
|
+
return model
|
|
252
|
+
except Exception as e:
|
|
253
|
+
if isinstance(e, TencentCloudSDKException):
|
|
254
|
+
raise
|
|
255
|
+
else:
|
|
256
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
257
|
+
|
|
258
|
+
|
|
213
259
|
def DeleteClusterSnapshot(self, request):
|
|
214
260
|
r"""删除快照仓库里备份的快照
|
|
215
261
|
|
|
@@ -371,6 +417,29 @@ class EsClient(AbstractClient):
|
|
|
371
417
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
372
418
|
|
|
373
419
|
|
|
420
|
+
def DescribeAutoBackUpStrategy(self, request):
|
|
421
|
+
r"""获取自动备份快照策略信息
|
|
422
|
+
|
|
423
|
+
:param request: Request instance for DescribeAutoBackUpStrategy.
|
|
424
|
+
:type request: :class:`tencentcloud.es.v20180416.models.DescribeAutoBackUpStrategyRequest`
|
|
425
|
+
:rtype: :class:`tencentcloud.es.v20180416.models.DescribeAutoBackUpStrategyResponse`
|
|
426
|
+
|
|
427
|
+
"""
|
|
428
|
+
try:
|
|
429
|
+
params = request._serialize()
|
|
430
|
+
headers = request.headers
|
|
431
|
+
body = self.call("DescribeAutoBackUpStrategy", params, headers=headers)
|
|
432
|
+
response = json.loads(body)
|
|
433
|
+
model = models.DescribeAutoBackUpStrategyResponse()
|
|
434
|
+
model._deserialize(response["Response"])
|
|
435
|
+
return model
|
|
436
|
+
except Exception as e:
|
|
437
|
+
if isinstance(e, TencentCloudSDKException):
|
|
438
|
+
raise
|
|
439
|
+
else:
|
|
440
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
441
|
+
|
|
442
|
+
|
|
374
443
|
def DescribeClusterSnapshot(self, request):
|
|
375
444
|
r"""获取快照备份列表
|
|
376
445
|
|
|
@@ -970,6 +1039,52 @@ class EsClient(AbstractClient):
|
|
|
970
1039
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
971
1040
|
|
|
972
1041
|
|
|
1042
|
+
def ModifyAutoBackUpCommonInfo(self, request):
|
|
1043
|
+
r"""修改自动备份快照策略公共信息
|
|
1044
|
+
|
|
1045
|
+
:param request: Request instance for ModifyAutoBackUpCommonInfo.
|
|
1046
|
+
:type request: :class:`tencentcloud.es.v20180416.models.ModifyAutoBackUpCommonInfoRequest`
|
|
1047
|
+
:rtype: :class:`tencentcloud.es.v20180416.models.ModifyAutoBackUpCommonInfoResponse`
|
|
1048
|
+
|
|
1049
|
+
"""
|
|
1050
|
+
try:
|
|
1051
|
+
params = request._serialize()
|
|
1052
|
+
headers = request.headers
|
|
1053
|
+
body = self.call("ModifyAutoBackUpCommonInfo", params, headers=headers)
|
|
1054
|
+
response = json.loads(body)
|
|
1055
|
+
model = models.ModifyAutoBackUpCommonInfoResponse()
|
|
1056
|
+
model._deserialize(response["Response"])
|
|
1057
|
+
return model
|
|
1058
|
+
except Exception as e:
|
|
1059
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1060
|
+
raise
|
|
1061
|
+
else:
|
|
1062
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1063
|
+
|
|
1064
|
+
|
|
1065
|
+
def ModifyAutoBackUpStrategy(self, request):
|
|
1066
|
+
r"""修改自动备份快照策略
|
|
1067
|
+
|
|
1068
|
+
:param request: Request instance for ModifyAutoBackUpStrategy.
|
|
1069
|
+
:type request: :class:`tencentcloud.es.v20180416.models.ModifyAutoBackUpStrategyRequest`
|
|
1070
|
+
:rtype: :class:`tencentcloud.es.v20180416.models.ModifyAutoBackUpStrategyResponse`
|
|
1071
|
+
|
|
1072
|
+
"""
|
|
1073
|
+
try:
|
|
1074
|
+
params = request._serialize()
|
|
1075
|
+
headers = request.headers
|
|
1076
|
+
body = self.call("ModifyAutoBackUpStrategy", params, headers=headers)
|
|
1077
|
+
response = json.loads(body)
|
|
1078
|
+
model = models.ModifyAutoBackUpStrategyResponse()
|
|
1079
|
+
model._deserialize(response["Response"])
|
|
1080
|
+
return model
|
|
1081
|
+
except Exception as e:
|
|
1082
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1083
|
+
raise
|
|
1084
|
+
else:
|
|
1085
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1086
|
+
|
|
1087
|
+
|
|
973
1088
|
def ModifyEsVipSecurityGroup(self, request):
|
|
974
1089
|
r"""修改绑定VIP的安全组,传安全组id列表
|
|
975
1090
|
|
|
@@ -43,6 +43,24 @@ class EsClient(AbstractClient):
|
|
|
43
43
|
|
|
44
44
|
return await self.call_and_deserialize(**kwargs)
|
|
45
45
|
|
|
46
|
+
async def CreateAutoBackUpStrategy(
|
|
47
|
+
self,
|
|
48
|
+
request: models.CreateAutoBackUpStrategyRequest,
|
|
49
|
+
opts: Dict = None,
|
|
50
|
+
) -> models.CreateAutoBackUpStrategyResponse:
|
|
51
|
+
"""
|
|
52
|
+
新建自动备份快照策略
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
kwargs = {}
|
|
56
|
+
kwargs["action"] = "CreateAutoBackUpStrategy"
|
|
57
|
+
kwargs["params"] = request._serialize()
|
|
58
|
+
kwargs["resp_cls"] = models.CreateAutoBackUpStrategyResponse
|
|
59
|
+
kwargs["headers"] = request.headers
|
|
60
|
+
kwargs["opts"] = opts or {}
|
|
61
|
+
|
|
62
|
+
return await self.call_and_deserialize(**kwargs)
|
|
63
|
+
|
|
46
64
|
async def CreateClusterSnapshot(
|
|
47
65
|
self,
|
|
48
66
|
request: models.CreateClusterSnapshotRequest,
|
|
@@ -169,6 +187,24 @@ class EsClient(AbstractClient):
|
|
|
169
187
|
|
|
170
188
|
return await self.call_and_deserialize(**kwargs)
|
|
171
189
|
|
|
190
|
+
async def DeleteAutoBackUpStrategy(
|
|
191
|
+
self,
|
|
192
|
+
request: models.DeleteAutoBackUpStrategyRequest,
|
|
193
|
+
opts: Dict = None,
|
|
194
|
+
) -> models.DeleteAutoBackUpStrategyResponse:
|
|
195
|
+
"""
|
|
196
|
+
删除自动备份快照策略
|
|
197
|
+
"""
|
|
198
|
+
|
|
199
|
+
kwargs = {}
|
|
200
|
+
kwargs["action"] = "DeleteAutoBackUpStrategy"
|
|
201
|
+
kwargs["params"] = request._serialize()
|
|
202
|
+
kwargs["resp_cls"] = models.DeleteAutoBackUpStrategyResponse
|
|
203
|
+
kwargs["headers"] = request.headers
|
|
204
|
+
kwargs["opts"] = opts or {}
|
|
205
|
+
|
|
206
|
+
return await self.call_and_deserialize(**kwargs)
|
|
207
|
+
|
|
172
208
|
async def DeleteClusterSnapshot(
|
|
173
209
|
self,
|
|
174
210
|
request: models.DeleteClusterSnapshotRequest,
|
|
@@ -295,6 +331,24 @@ class EsClient(AbstractClient):
|
|
|
295
331
|
|
|
296
332
|
return await self.call_and_deserialize(**kwargs)
|
|
297
333
|
|
|
334
|
+
async def DescribeAutoBackUpStrategy(
|
|
335
|
+
self,
|
|
336
|
+
request: models.DescribeAutoBackUpStrategyRequest,
|
|
337
|
+
opts: Dict = None,
|
|
338
|
+
) -> models.DescribeAutoBackUpStrategyResponse:
|
|
339
|
+
"""
|
|
340
|
+
获取自动备份快照策略信息
|
|
341
|
+
"""
|
|
342
|
+
|
|
343
|
+
kwargs = {}
|
|
344
|
+
kwargs["action"] = "DescribeAutoBackUpStrategy"
|
|
345
|
+
kwargs["params"] = request._serialize()
|
|
346
|
+
kwargs["resp_cls"] = models.DescribeAutoBackUpStrategyResponse
|
|
347
|
+
kwargs["headers"] = request.headers
|
|
348
|
+
kwargs["opts"] = opts or {}
|
|
349
|
+
|
|
350
|
+
return await self.call_and_deserialize(**kwargs)
|
|
351
|
+
|
|
298
352
|
async def DescribeClusterSnapshot(
|
|
299
353
|
self,
|
|
300
354
|
request: models.DescribeClusterSnapshotRequest,
|
|
@@ -764,6 +818,42 @@ class EsClient(AbstractClient):
|
|
|
764
818
|
|
|
765
819
|
return await self.call_and_deserialize(**kwargs)
|
|
766
820
|
|
|
821
|
+
async def ModifyAutoBackUpCommonInfo(
|
|
822
|
+
self,
|
|
823
|
+
request: models.ModifyAutoBackUpCommonInfoRequest,
|
|
824
|
+
opts: Dict = None,
|
|
825
|
+
) -> models.ModifyAutoBackUpCommonInfoResponse:
|
|
826
|
+
"""
|
|
827
|
+
修改自动备份快照策略公共信息
|
|
828
|
+
"""
|
|
829
|
+
|
|
830
|
+
kwargs = {}
|
|
831
|
+
kwargs["action"] = "ModifyAutoBackUpCommonInfo"
|
|
832
|
+
kwargs["params"] = request._serialize()
|
|
833
|
+
kwargs["resp_cls"] = models.ModifyAutoBackUpCommonInfoResponse
|
|
834
|
+
kwargs["headers"] = request.headers
|
|
835
|
+
kwargs["opts"] = opts or {}
|
|
836
|
+
|
|
837
|
+
return await self.call_and_deserialize(**kwargs)
|
|
838
|
+
|
|
839
|
+
async def ModifyAutoBackUpStrategy(
|
|
840
|
+
self,
|
|
841
|
+
request: models.ModifyAutoBackUpStrategyRequest,
|
|
842
|
+
opts: Dict = None,
|
|
843
|
+
) -> models.ModifyAutoBackUpStrategyResponse:
|
|
844
|
+
"""
|
|
845
|
+
修改自动备份快照策略
|
|
846
|
+
"""
|
|
847
|
+
|
|
848
|
+
kwargs = {}
|
|
849
|
+
kwargs["action"] = "ModifyAutoBackUpStrategy"
|
|
850
|
+
kwargs["params"] = request._serialize()
|
|
851
|
+
kwargs["resp_cls"] = models.ModifyAutoBackUpStrategyResponse
|
|
852
|
+
kwargs["headers"] = request.headers
|
|
853
|
+
kwargs["opts"] = opts or {}
|
|
854
|
+
|
|
855
|
+
return await self.call_and_deserialize(**kwargs)
|
|
856
|
+
|
|
767
857
|
async def ModifyEsVipSecurityGroup(
|
|
768
858
|
self,
|
|
769
859
|
request: models.ModifyEsVipSecurityGroupRequest,
|