tencentcloud-sdk-python 3.0.1257__py2.py3-none-any.whl → 3.0.1258__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/apm/v20210622/models.py +26 -0
- tencentcloud/asr/v20190614/models.py +3 -2
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +7 -1
- tencentcloud/autoscaling/v20180419/errorcodes.py +3 -0
- tencentcloud/autoscaling/v20180419/models.py +18 -2
- tencentcloud/bi/v20220105/models.py +44 -4
- tencentcloud/billing/v20180709/billing_client.py +23 -0
- tencentcloud/billing/v20180709/errorcodes.py +6 -0
- tencentcloud/billing/v20180709/models.py +424 -0
- tencentcloud/bsca/v20210811/models.py +306 -1
- tencentcloud/ccc/v20200210/ccc_client.py +23 -0
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +237 -136
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +13 -1
- tencentcloud/cdn/v20180606/models.py +1 -1
- tencentcloud/cdwdoris/v20211228/models.py +16 -2
- tencentcloud/cfw/v20190904/cfw_client.py +6 -30
- tencentcloud/cfw/v20190904/models.py +261 -479
- tencentcloud/ciam/v20220331/models.py +13 -0
- tencentcloud/ckafka/v20190819/models.py +4 -4
- tencentcloud/clb/v20180317/models.py +1 -1
- tencentcloud/cloudaudit/v20190319/cloudaudit_client.py +30 -34
- tencentcloud/cloudaudit/v20190319/errorcodes.py +0 -39
- tencentcloud/cloudaudit/v20190319/models.py +328 -254
- tencentcloud/cls/v20201016/cls_client.py +8 -1
- tencentcloud/cls/v20201016/models.py +551 -109
- tencentcloud/csip/v20221121/models.py +225 -12
- tencentcloud/cvm/v20170312/errorcodes.py +6 -0
- tencentcloud/cvm/v20170312/models.py +78 -0
- tencentcloud/cwp/v20180228/cwp_client.py +3 -1
- tencentcloud/cwp/v20180228/models.py +201 -48
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +27 -27
- tencentcloud/cynosdb/v20190107/models.py +78 -0
- tencentcloud/dasb/v20191018/models.py +155 -0
- tencentcloud/domain/v20180808/errorcodes.py +45 -0
- tencentcloud/eb/v20210416/models.py +19 -19
- tencentcloud/es/v20180416/errorcodes.py +4 -1
- tencentcloud/es/v20180416/es_client.py +92 -0
- tencentcloud/es/v20180416/models.py +770 -12
- tencentcloud/ess/v20201111/ess_client.py +71 -4
- tencentcloud/ess/v20201111/models.py +232 -7
- tencentcloud/essbasic/v20210526/essbasic_client.py +135 -51
- tencentcloud/essbasic/v20210526/models.py +364 -18
- tencentcloud/gaap/v20180529/models.py +40 -3
- tencentcloud/hunyuan/v20230901/models.py +12 -0
- tencentcloud/ioa/v20220601/errorcodes.py +15 -0
- tencentcloud/ioa/v20220601/ioa_client.py +26 -2
- tencentcloud/ioa/v20220601/models.py +516 -46
- tencentcloud/iotexplorer/v20190423/models.py +52 -0
- tencentcloud/iotvideo/v20191126/iotvideo_client.py +46 -0
- tencentcloud/iotvideo/v20191126/models.py +379 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +1 -1
- tencentcloud/live/v20180801/models.py +51 -0
- tencentcloud/mongodb/v20190725/models.py +3 -7
- tencentcloud/mqtt/v20240516/models.py +2 -2
- tencentcloud/ocr/v20181119/models.py +7 -16
- tencentcloud/ocr/v20181119/ocr_client.py +1 -0
- tencentcloud/organization/v20210331/errorcodes.py +30 -0
- tencentcloud/organization/v20210331/models.py +674 -0
- tencentcloud/organization/v20210331/organization_client.py +138 -0
- tencentcloud/privatedns/v20201028/errorcodes.py +12 -0
- tencentcloud/privatedns/v20201028/models.py +858 -4
- tencentcloud/privatedns/v20201028/privatedns_client.py +92 -0
- tencentcloud/region/v20220627/models.py +0 -1
- tencentcloud/scf/v20180416/models.py +889 -8
- tencentcloud/scf/v20180416/scf_client.py +115 -0
- tencentcloud/smop/v20201203/models.py +17 -17
- tencentcloud/ssl/v20191205/models.py +1 -1
- tencentcloud/ssm/v20190923/models.py +84 -0
- tencentcloud/tat/v20201028/models.py +1 -29
- tencentcloud/tcss/v20201101/models.py +472 -33
- tencentcloud/tcss/v20201101/tcss_client.py +1 -1
- tencentcloud/tdmq/v20200217/models.py +7 -7
- tencentcloud/tem/v20210701/models.py +202 -198
- tencentcloud/teo/v20220901/errorcodes.py +27 -0
- tencentcloud/teo/v20220901/models.py +1464 -91
- tencentcloud/teo/v20220901/teo_client.py +115 -0
- tencentcloud/tke/v20180525/models.py +70 -0
- tencentcloud/tke/v20180525/tke_client.py +23 -0
- tencentcloud/tms/v20201229/models.py +0 -558
- tencentcloud/tms/v20201229/tms_client.py +0 -23
- tencentcloud/trp/v20210515/models.py +6 -6
- tencentcloud/trtc/v20190722/models.py +353 -4
- tencentcloud/tse/v20201207/models.py +94 -0
- tencentcloud/tse/v20201207/tse_client.py +23 -0
- tencentcloud/vclm/v20240523/models.py +166 -0
- tencentcloud/vpc/v20170312/models.py +134 -2
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/waf/v20180125/models.py +99 -0
- tencentcloud/waf/v20180125/waf_client.py +23 -0
- tencentcloud/wedata/v20210820/models.py +991 -0
- tencentcloud/wedata/v20210820/wedata_client.py +46 -0
- {tencentcloud_sdk_python-3.0.1257.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1257.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/RECORD +99 -104
- tencentcloud/cr/__init__.py +0 -0
- tencentcloud/cr/v20180321/__init__.py +0 -0
- tencentcloud/cr/v20180321/cr_client.py +0 -672
- tencentcloud/cr/v20180321/errorcodes.py +0 -114
- tencentcloud/cr/v20180321/models.py +0 -4966
- {tencentcloud_sdk_python-3.0.1257.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1257.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1257.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/top_level.txt +0 -0
@@ -158,9 +158,15 @@ INVALIDPARAMETER_CERTIFICATECODEISINVALID = 'InvalidParameter.CertificateCodeIsI
|
|
158
158
|
# 资质照片输入不正确。
|
159
159
|
INVALIDPARAMETER_CERTIFICATEIMAGEISINVALID = 'InvalidParameter.CertificateImageIsInvalid'
|
160
160
|
|
161
|
+
# 地区城市填写有误,长度错误长度必须地址长度必须大于2并小于100,或包含非中文字符,或存在空格
|
162
|
+
INVALIDPARAMETER_CITYCNINVALID = 'InvalidParameter.CityCnInvalid'
|
163
|
+
|
161
164
|
# 类型只能为手机或者邮箱。
|
162
165
|
INVALIDPARAMETER_CODETYPEISINVALID = 'InvalidParameter.CodeTypeIsInvalid'
|
163
166
|
|
167
|
+
# 地区国家填写有误,长度错误长度必须地址长度必须大于2并小于100,或包含非中文字符,或存在空格
|
168
|
+
INVALIDPARAMETER_COUNTRYCNINVALID = 'InvalidParameter.CountryCnInvalid'
|
169
|
+
|
164
170
|
# 自定义 DNS Host 名称未找到。
|
165
171
|
INVALIDPARAMETER_CUSTOMDNSNAMENOTFOUND = 'InvalidParameter.CustomDnsNameNotFound'
|
166
172
|
|
@@ -203,21 +209,60 @@ INVALIDPARAMETER_IMAGESIZEEXCEED = 'InvalidParameter.ImageSizeExceed'
|
|
203
209
|
# 图片大小超过限制(1M),请重新上传。
|
204
210
|
INVALIDPARAMETER_IMAGESIZELIMIT = 'InvalidParameter.ImageSizeLimit'
|
205
211
|
|
212
|
+
# 联系人(中文)不能包含英文以及空格
|
213
|
+
INVALIDPARAMETER_NAMECNISINVALID = 'InvalidParameter.NameCnIsInvalid'
|
214
|
+
|
215
|
+
# 联系人(中文)不能包含XML保留字符
|
216
|
+
INVALIDPARAMETER_NAMECNXMLINVALID = 'InvalidParameter.NameCnXmlInvalid'
|
217
|
+
|
218
|
+
# 联系人(英文)不符合ASCII规范
|
219
|
+
INVALIDPARAMETER_NAMEENASCIIINVALID = 'InvalidParameter.NameEnASCIIInvalid'
|
220
|
+
|
221
|
+
# 联系人(英文)不能包含中文
|
222
|
+
INVALIDPARAMETER_NAMEENCNISINVALID = 'InvalidParameter.NameEnCnIsInvalid'
|
223
|
+
|
224
|
+
# 联系人(英文)字符长度不能小于2位且不能大于64位
|
225
|
+
INVALIDPARAMETER_NAMEENISINVALID = 'InvalidParameter.NameEnIsInvalid'
|
226
|
+
|
227
|
+
# 联系人(英文)填写有误,或因其他原因无法使用,请更换其他联系人。
|
228
|
+
INVALIDPARAMETER_NAMEENISKEYWORD = 'InvalidParameter.NameEnIsKeyword'
|
229
|
+
|
230
|
+
# 联系人(英文)不能包含XML保留字符
|
231
|
+
INVALIDPARAMETER_NAMEENXMLINVALID = 'InvalidParameter.NameEnXmlInvalid'
|
232
|
+
|
206
233
|
# 联系人为空或者不合法。
|
207
234
|
INVALIDPARAMETER_NAMEISINVALID = 'InvalidParameter.NameIsInvalid'
|
208
235
|
|
209
236
|
# 联系人填写有误,或因其他原因无法使用,请更换其他联系人。
|
210
237
|
INVALIDPARAMETER_NAMEISKEYWORD = 'InvalidParameter.NameIsKeyword'
|
211
238
|
|
239
|
+
# 域名所有者(英文)不符合ASCII规范
|
240
|
+
INVALIDPARAMETER_ORGASCIIINVALID = 'InvalidParameter.OrgASCIIInvalid'
|
241
|
+
|
242
|
+
# 域名所有者(中文)不能包含空格与英文
|
243
|
+
INVALIDPARAMETER_ORGCNNOTSPACECN = 'InvalidParameter.OrgCnNotSpaceCN'
|
244
|
+
|
245
|
+
# 域名所有者(中文)不能包含XML保留字符
|
246
|
+
INVALIDPARAMETER_ORGCNXMLINVALID = 'InvalidParameter.OrgCnXmlInvalid'
|
247
|
+
|
248
|
+
# 域名所有者(英文)不能包含中文字符
|
249
|
+
INVALIDPARAMETER_ORGINCNINVALID = 'InvalidParameter.OrgInCNInvalid'
|
250
|
+
|
212
251
|
# 注册人为空或者不合法。
|
213
252
|
INVALIDPARAMETER_ORGISINVALID = 'InvalidParameter.OrgIsInvalid'
|
214
253
|
|
215
254
|
# 域名所有者填写有误,或因其他原因无法使用,请更换其他域名所有者。
|
216
255
|
INVALIDPARAMETER_ORGISKEYWORD = 'InvalidParameter.OrgIsKeyword'
|
217
256
|
|
257
|
+
# 域名所有者(英文)不能包含XML保留字符
|
258
|
+
INVALIDPARAMETER_ORGXMLINVALID = 'InvalidParameter.OrgXMLInvalid'
|
259
|
+
|
218
260
|
# 特惠包ID无效。
|
219
261
|
INVALIDPARAMETER_PACKAGERESOURCEIDINVALID = 'InvalidParameter.PackageResourceIdInvalid'
|
220
262
|
|
263
|
+
# 地区省份填写有误,长度错误长度必须地址长度必须大于2并小于100,或包含非中文字符,或存在空格
|
264
|
+
INVALIDPARAMETER_PROVINCECNINVALID = 'InvalidParameter.ProvinceCnInvalid'
|
265
|
+
|
221
266
|
# 请求类型错误。
|
222
267
|
INVALIDPARAMETER_REPTYPEISINVALID = 'InvalidParameter.RepTypeIsInvalid'
|
223
268
|
|
@@ -779,9 +779,9 @@ class CreateEventBusRequest(AbstractModel):
|
|
779
779
|
|
780
780
|
def __init__(self):
|
781
781
|
r"""
|
782
|
-
:param _EventBusName:
|
782
|
+
:param _EventBusName: 事件集名称,只能包含字母、中文、数字、下划线、连字符,以字母/中文开头,以数字、字母或中文结尾,2~60个字符
|
783
783
|
:type EventBusName: str
|
784
|
-
:param _Description:
|
784
|
+
:param _Description: 事件集描述,只能包含数字、中英文及常用标点符号,不超过200个字符
|
785
785
|
:type Description: str
|
786
786
|
:param _SaveDays: EB存储时长
|
787
787
|
:type SaveDays: int
|
@@ -887,13 +887,13 @@ class CreateRuleRequest(AbstractModel):
|
|
887
887
|
r"""
|
888
888
|
:param _EventPattern: 参考:[事件模式](https://cloud.tencent.com/document/product/1359/56084)
|
889
889
|
:type EventPattern: str
|
890
|
-
:param _EventBusId: 事件集ID
|
890
|
+
:param _EventBusId: 事件集ID
|
891
891
|
:type EventBusId: str
|
892
|
-
:param _RuleName:
|
892
|
+
:param _RuleName: 事件集名称,只能包含字母、中文、数字、下划线、连字符,以字母/中文开头,以数字、字母或中文结尾,2~60个字符
|
893
893
|
:type RuleName: str
|
894
894
|
:param _Enable: 使能开关。
|
895
895
|
:type Enable: bool
|
896
|
-
:param _Description:
|
896
|
+
:param _Description: 事件集描述,只能包含数字、中英文及常用标点符号,不超过200个字符
|
897
897
|
:type Description: str
|
898
898
|
"""
|
899
899
|
self._EventPattern = None
|
@@ -3526,10 +3526,10 @@ class ListTargetsRequest(AbstractModel):
|
|
3526
3526
|
r"""
|
3527
3527
|
:param _EventBusId: 事件集ID
|
3528
3528
|
:type EventBusId: str
|
3529
|
-
:param _OrderBy: 根据哪个字段进行返回结果排序,支持以下字段:AddTime(创建时间), ModTime(修改时间)
|
3530
|
-
:type OrderBy: str
|
3531
3529
|
:param _RuleId: 事件规则ID
|
3532
3530
|
:type RuleId: str
|
3531
|
+
:param _OrderBy: 根据哪个字段进行返回结果排序,支持以下字段:AddTime(创建时间), ModTime(修改时间)
|
3532
|
+
:type OrderBy: str
|
3533
3533
|
:param _Limit: 返回数量,默认为20,最大值为100。
|
3534
3534
|
:type Limit: int
|
3535
3535
|
:param _Offset: 分页偏移量,默认为0。
|
@@ -3538,8 +3538,8 @@ class ListTargetsRequest(AbstractModel):
|
|
3538
3538
|
:type Order: str
|
3539
3539
|
"""
|
3540
3540
|
self._EventBusId = None
|
3541
|
-
self._OrderBy = None
|
3542
3541
|
self._RuleId = None
|
3542
|
+
self._OrderBy = None
|
3543
3543
|
self._Limit = None
|
3544
3544
|
self._Offset = None
|
3545
3545
|
self._Order = None
|
@@ -3552,14 +3552,6 @@ class ListTargetsRequest(AbstractModel):
|
|
3552
3552
|
def EventBusId(self, EventBusId):
|
3553
3553
|
self._EventBusId = EventBusId
|
3554
3554
|
|
3555
|
-
@property
|
3556
|
-
def OrderBy(self):
|
3557
|
-
return self._OrderBy
|
3558
|
-
|
3559
|
-
@OrderBy.setter
|
3560
|
-
def OrderBy(self, OrderBy):
|
3561
|
-
self._OrderBy = OrderBy
|
3562
|
-
|
3563
3555
|
@property
|
3564
3556
|
def RuleId(self):
|
3565
3557
|
return self._RuleId
|
@@ -3568,6 +3560,14 @@ class ListTargetsRequest(AbstractModel):
|
|
3568
3560
|
def RuleId(self, RuleId):
|
3569
3561
|
self._RuleId = RuleId
|
3570
3562
|
|
3563
|
+
@property
|
3564
|
+
def OrderBy(self):
|
3565
|
+
return self._OrderBy
|
3566
|
+
|
3567
|
+
@OrderBy.setter
|
3568
|
+
def OrderBy(self, OrderBy):
|
3569
|
+
self._OrderBy = OrderBy
|
3570
|
+
|
3571
3571
|
@property
|
3572
3572
|
def Limit(self):
|
3573
3573
|
return self._Limit
|
@@ -3595,8 +3595,8 @@ class ListTargetsRequest(AbstractModel):
|
|
3595
3595
|
|
3596
3596
|
def _deserialize(self, params):
|
3597
3597
|
self._EventBusId = params.get("EventBusId")
|
3598
|
-
self._OrderBy = params.get("OrderBy")
|
3599
3598
|
self._RuleId = params.get("RuleId")
|
3599
|
+
self._OrderBy = params.get("OrderBy")
|
3600
3600
|
self._Limit = params.get("Limit")
|
3601
3601
|
self._Offset = params.get("Offset")
|
3602
3602
|
self._Order = params.get("Order")
|
@@ -5461,11 +5461,11 @@ class UpdateRuleRequest(AbstractModel):
|
|
5461
5461
|
:type EventBusId: str
|
5462
5462
|
:param _Enable: 使能开关。
|
5463
5463
|
:type Enable: bool
|
5464
|
-
:param _Description:
|
5464
|
+
:param _Description: 规则描述,只能包含数字、中英文及常用标点符号,不超过200个字符
|
5465
5465
|
:type Description: str
|
5466
5466
|
:param _EventPattern: 参考:[事件模式](https://cloud.tencent.com/document/product/1359/56084)
|
5467
5467
|
:type EventPattern: str
|
5468
|
-
:param _RuleName:
|
5468
|
+
:param _RuleName: 事件规则名称,只能包含字母、中文、数字、下划线、连字符,以字母/中文开头,以数字、字母或中文结尾,2~60个字符
|
5469
5469
|
:type RuleName: str
|
5470
5470
|
"""
|
5471
5471
|
self._RuleId = None
|
@@ -200,7 +200,7 @@ INVALIDPARAMETER_INVALIDNODENUM = 'InvalidParameter.InvalidNodeNum'
|
|
200
200
|
# 节点规格NodeType的取值和预期不符。
|
201
201
|
INVALIDPARAMETER_INVALIDNODETYPE = 'InvalidParameter.InvalidNodeType'
|
202
202
|
|
203
|
-
#
|
203
|
+
# 温热层数据结构NodeTypeInfos的取值和预期不符。
|
204
204
|
INVALIDPARAMETER_INVALIDNODETYPESTORAGEINFO = 'InvalidParameter.InvalidNodeTypeStorageInfo'
|
205
205
|
|
206
206
|
# 分页起始值Offset的取值和预期不符。
|
@@ -272,6 +272,9 @@ INVALIDPARAMETER_INVALIDTRACEUUID = 'InvalidParameter.InvalidTraceUuid'
|
|
272
272
|
# 节点类型Type的取值和预期不符。
|
273
273
|
INVALIDPARAMETER_INVALIDTYPE = 'InvalidParameter.InvalidType'
|
274
274
|
|
275
|
+
# Uin的取值和预期不符。
|
276
|
+
INVALIDPARAMETER_INVALIDUIN = 'InvalidParameter.InvalidUin'
|
277
|
+
|
275
278
|
# 更新的索引元数据json UpdateMetaJson的取值和预期不符。
|
276
279
|
INVALIDPARAMETER_INVALIDUPDATEMETAJSON = 'InvalidParameter.InvalidUpdateMetaJson'
|
277
280
|
|
@@ -49,6 +49,29 @@ class EsClient(AbstractClient):
|
|
49
49
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
50
50
|
|
51
51
|
|
52
|
+
def CreateClusterSnapshot(self, request):
|
53
|
+
"""集群快照手动创建
|
54
|
+
|
55
|
+
:param request: Request instance for CreateClusterSnapshot.
|
56
|
+
:type request: :class:`tencentcloud.es.v20180416.models.CreateClusterSnapshotRequest`
|
57
|
+
:rtype: :class:`tencentcloud.es.v20180416.models.CreateClusterSnapshotResponse`
|
58
|
+
|
59
|
+
"""
|
60
|
+
try:
|
61
|
+
params = request._serialize()
|
62
|
+
headers = request.headers
|
63
|
+
body = self.call("CreateClusterSnapshot", params, headers=headers)
|
64
|
+
response = json.loads(body)
|
65
|
+
model = models.CreateClusterSnapshotResponse()
|
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 CreateCosMigrateToServerlessInstance(self, request):
|
53
76
|
"""cos迁移流程
|
54
77
|
|
@@ -187,6 +210,29 @@ class EsClient(AbstractClient):
|
|
187
210
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
188
211
|
|
189
212
|
|
213
|
+
def DeleteClusterSnapshot(self, request):
|
214
|
+
"""删除快照仓库里备份的快照
|
215
|
+
|
216
|
+
:param request: Request instance for DeleteClusterSnapshot.
|
217
|
+
:type request: :class:`tencentcloud.es.v20180416.models.DeleteClusterSnapshotRequest`
|
218
|
+
:rtype: :class:`tencentcloud.es.v20180416.models.DeleteClusterSnapshotResponse`
|
219
|
+
|
220
|
+
"""
|
221
|
+
try:
|
222
|
+
params = request._serialize()
|
223
|
+
headers = request.headers
|
224
|
+
body = self.call("DeleteClusterSnapshot", params, headers=headers)
|
225
|
+
response = json.loads(body)
|
226
|
+
model = models.DeleteClusterSnapshotResponse()
|
227
|
+
model._deserialize(response["Response"])
|
228
|
+
return model
|
229
|
+
except Exception as e:
|
230
|
+
if isinstance(e, TencentCloudSDKException):
|
231
|
+
raise
|
232
|
+
else:
|
233
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
234
|
+
|
235
|
+
|
190
236
|
def DeleteIndex(self, request):
|
191
237
|
"""删除索引
|
192
238
|
|
@@ -325,6 +371,29 @@ class EsClient(AbstractClient):
|
|
325
371
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
326
372
|
|
327
373
|
|
374
|
+
def DescribeClusterSnapshot(self, request):
|
375
|
+
"""获取快照备份列表
|
376
|
+
|
377
|
+
:param request: Request instance for DescribeClusterSnapshot.
|
378
|
+
:type request: :class:`tencentcloud.es.v20180416.models.DescribeClusterSnapshotRequest`
|
379
|
+
:rtype: :class:`tencentcloud.es.v20180416.models.DescribeClusterSnapshotResponse`
|
380
|
+
|
381
|
+
"""
|
382
|
+
try:
|
383
|
+
params = request._serialize()
|
384
|
+
headers = request.headers
|
385
|
+
body = self.call("DescribeClusterSnapshot", params, headers=headers)
|
386
|
+
response = json.loads(body)
|
387
|
+
model = models.DescribeClusterSnapshotResponse()
|
388
|
+
model._deserialize(response["Response"])
|
389
|
+
return model
|
390
|
+
except Exception as e:
|
391
|
+
if isinstance(e, TencentCloudSDKException):
|
392
|
+
raise
|
393
|
+
else:
|
394
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
395
|
+
|
396
|
+
|
328
397
|
def DescribeDiagnose(self, request):
|
329
398
|
"""查询智能运维诊断结果报告
|
330
399
|
|
@@ -970,6 +1039,29 @@ class EsClient(AbstractClient):
|
|
970
1039
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
971
1040
|
|
972
1041
|
|
1042
|
+
def RestoreClusterSnapshot(self, request):
|
1043
|
+
"""快照备份恢复,从仓库中恢复快照到集群中
|
1044
|
+
|
1045
|
+
:param request: Request instance for RestoreClusterSnapshot.
|
1046
|
+
:type request: :class:`tencentcloud.es.v20180416.models.RestoreClusterSnapshotRequest`
|
1047
|
+
:rtype: :class:`tencentcloud.es.v20180416.models.RestoreClusterSnapshotResponse`
|
1048
|
+
|
1049
|
+
"""
|
1050
|
+
try:
|
1051
|
+
params = request._serialize()
|
1052
|
+
headers = request.headers
|
1053
|
+
body = self.call("RestoreClusterSnapshot", params, headers=headers)
|
1054
|
+
response = json.loads(body)
|
1055
|
+
model = models.RestoreClusterSnapshotResponse()
|
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
|
+
|
973
1065
|
def SaveAndDeployLogstashPipeline(self, request):
|
974
1066
|
"""用于下发并且部署管道
|
975
1067
|
|