tencentcloud-sdk-python-es 3.0.1256__tar.gz → 3.0.1291__tar.gz
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-sdk-python-es-3.0.1256 → tencentcloud-sdk-python-es-3.0.1291}/PKG-INFO +3 -3
- {tencentcloud-sdk-python-es-3.0.1256 → tencentcloud-sdk-python-es-3.0.1291}/setup.cfg +0 -1
- {tencentcloud-sdk-python-es-3.0.1256 → tencentcloud-sdk-python-es-3.0.1291}/setup.py +1 -1
- {tencentcloud-sdk-python-es-3.0.1256 → tencentcloud-sdk-python-es-3.0.1291}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-es-3.0.1256 → tencentcloud-sdk-python-es-3.0.1291}/tencentcloud/es/v20180416/errorcodes.py +7 -1
- {tencentcloud-sdk-python-es-3.0.1256 → tencentcloud-sdk-python-es-3.0.1291}/tencentcloud/es/v20180416/es_client.py +92 -0
- {tencentcloud-sdk-python-es-3.0.1256 → tencentcloud-sdk-python-es-3.0.1291}/tencentcloud/es/v20180416/models.py +4478 -32
- {tencentcloud-sdk-python-es-3.0.1256 → tencentcloud-sdk-python-es-3.0.1291}/tencentcloud_sdk_python_es.egg-info/PKG-INFO +3 -3
- tencentcloud-sdk-python-es-3.0.1291/tencentcloud_sdk_python_es.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-es-3.0.1256/tencentcloud_sdk_python_es.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-es-3.0.1256 → tencentcloud-sdk-python-es-3.0.1291}/README.rst +0 -0
- {tencentcloud-sdk-python-es-3.0.1256 → tencentcloud-sdk-python-es-3.0.1291}/tencentcloud/es/__init__.py +0 -0
- {tencentcloud-sdk-python-es-3.0.1256 → tencentcloud-sdk-python-es-3.0.1291}/tencentcloud/es/v20180416/__init__.py +0 -0
- {tencentcloud-sdk-python-es-3.0.1256 → tencentcloud-sdk-python-es-3.0.1291}/tencentcloud_sdk_python_es.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-es-3.0.1256 → tencentcloud-sdk-python-es-3.0.1291}/tencentcloud_sdk_python_es.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-es-3.0.1256 → tencentcloud-sdk-python-es-3.0.1291}/tencentcloud_sdk_python_es.egg-info/top_level.txt +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
Metadata-Version: 1.
|
|
1
|
+
Metadata-Version: 1.2
|
|
2
2
|
Name: tencentcloud-sdk-python-es
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1291
|
|
4
4
|
Summary: Tencent Cloud Es SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
7
|
-
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
8
|
License: Apache License 2.0
|
|
9
9
|
Description: ============================
|
|
10
10
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-es',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1291"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Es SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -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
|
|
|
@@ -530,6 +533,9 @@ UNSUPPORTEDOPERATION_CLUSTERSTATEUNHEALTH = 'UnsupportedOperation.ClusterStateUn
|
|
|
530
533
|
# 该版本不支持cos备份。集群需要重启来允许cos备份。
|
|
531
534
|
UNSUPPORTEDOPERATION_COSBACKUP = 'UnsupportedOperation.CosBackUp'
|
|
532
535
|
|
|
536
|
+
# 有关机的cvm
|
|
537
|
+
UNSUPPORTEDOPERATION_CVMSTATUSSTOPPED = 'UnsupportedOperation.CvmStatusStopped'
|
|
538
|
+
|
|
533
539
|
# 不支持该智能诊断任务。
|
|
534
540
|
UNSUPPORTEDOPERATION_DIAGNOSEJOB = 'UnsupportedOperation.DiagnoseJob'
|
|
535
541
|
|
|
@@ -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
|
|