tencentcloud-sdk-python 3.0.1409__py2.py3-none-any.whl → 3.0.1410__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/bh/v20230418/bh_client.py +138 -0
- tencentcloud/bh/v20230418/errorcodes.py +3 -0
- tencentcloud/bh/v20230418/models.py +991 -67
- tencentcloud/ccc/v20200210/models.py +2 -2
- tencentcloud/cdb/v20170320/cdb_client.py +25 -19
- tencentcloud/cdb/v20170320/errorcodes.py +0 -3
- tencentcloud/cdb/v20170320/models.py +274 -202
- tencentcloud/cwp/v20180228/models.py +165 -0
- tencentcloud/cynosdb/v20190107/models.py +45 -0
- tencentcloud/dsgc/v20190723/dsgc_client.py +1 -3
- tencentcloud/dsgc/v20190723/models.py +342 -15
- tencentcloud/emr/v20190103/models.py +155 -0
- tencentcloud/es/v20180416/errorcodes.py +42 -0
- tencentcloud/ess/v20201111/models.py +33 -4
- tencentcloud/kms/v20190118/errorcodes.py +36 -0
- tencentcloud/kms/v20190118/kms_client.py +345 -0
- tencentcloud/kms/v20190118/models.py +3437 -1534
- tencentcloud/lighthouse/v20200324/errorcodes.py +9 -0
- tencentcloud/lke/v20231130/lke_client.py +92 -0
- tencentcloud/lke/v20231130/models.py +2702 -572
- tencentcloud/ses/v20201002/models.py +0 -8
- tencentcloud/tcss/v20201101/models.py +15 -0
- tencentcloud/thpc/v20230321/models.py +47 -2
- tencentcloud/tione/v20211111/models.py +15 -0
- tencentcloud/trocket/v20230308/models.py +470 -234
- tencentcloud/trocket/v20230308/trocket_client.py +26 -3
- tencentcloud/vpc/v20170312/models.py +15 -0
- tencentcloud/waf/v20180125/models.py +110 -18
- tencentcloud/wedata/v20210820/models.py +764 -4
- tencentcloud/wedata/v20210820/wedata_client.py +48 -2
- {tencentcloud_sdk_python-3.0.1409.dist-info → tencentcloud_sdk_python-3.0.1410.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1409.dist-info → tencentcloud_sdk_python-3.0.1410.dist-info}/RECORD +36 -36
- {tencentcloud_sdk_python-3.0.1409.dist-info → tencentcloud_sdk_python-3.0.1410.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1409.dist-info → tencentcloud_sdk_python-3.0.1410.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1409.dist-info → tencentcloud_sdk_python-3.0.1410.dist-info}/top_level.txt +0 -0
@@ -215,12 +215,18 @@ INVALIDPARAMETER_FIREWALLRULESDUPLICATED = 'InvalidParameter.FirewallRulesDuplic
|
|
215
215
|
# 参数非法,防火墙规则已存在。
|
216
216
|
INVALIDPARAMETER_FIREWALLRULESEXIST = 'InvalidParameter.FirewallRulesExist'
|
217
217
|
|
218
|
+
# 游戏专区实例镜像无效。
|
219
|
+
INVALIDPARAMETER_GAMEPORTALINSTANCEBLUEPRINTINVALID = 'InvalidParameter.GamePortalInstanceBlueprintInvalid'
|
220
|
+
|
218
221
|
# 游戏专区实例仅支持当前镜像。
|
219
222
|
INVALIDPARAMETER_GAMEPORTALINSTANCEONLYSUPPORTCURRENTBLUEPRINT = 'InvalidParameter.GamePortalInstanceOnlySupportCurrentBlueprint'
|
220
223
|
|
221
224
|
# 实例展示区域不支持该参数。
|
222
225
|
INVALIDPARAMETER_INSTANCEDISPLAYAREANOTSUPPORTPARAMETER = 'InvalidParameter.InstanceDisplayAreaNotSupportParameter'
|
223
226
|
|
227
|
+
# 实例当前的操作不支持该操作。
|
228
|
+
INVALIDPARAMETER_INSTANCEOPERATIONUNSUPPORTEDPARAMETER = 'InvalidParameter.InstanceOperationUnsupportedParameter'
|
229
|
+
|
224
230
|
# 参数非法,Filter 参数非法。
|
225
231
|
INVALIDPARAMETER_INVALIDFILTER = 'InvalidParameter.InvalidFilter'
|
226
232
|
|
@@ -602,6 +608,9 @@ RESOURCENOTFOUND_FIREWALLTEMPLATENOTFOUND = 'ResourceNotFound.FirewallTemplateNo
|
|
602
608
|
# 防火墙模板规则不存在。
|
603
609
|
RESOURCENOTFOUND_FIREWALLTEMPLATERULENOTFOUND = 'ResourceNotFound.FirewallTemplateRuleNotFound'
|
604
610
|
|
611
|
+
# 实例镜像不存在。
|
612
|
+
RESOURCENOTFOUND_INSTANCEBLUEPRINTNOTFOUND = 'ResourceNotFound.InstanceBlueprintNotFound'
|
613
|
+
|
605
614
|
# 实例不存在挂载的数据盘。
|
606
615
|
RESOURCENOTFOUND_INSTANCEDATADISKNOTFOUND = 'ResourceNotFound.InstanceDataDiskNotFound'
|
607
616
|
|
@@ -97,6 +97,29 @@ class LkeClient(AbstractClient):
|
|
97
97
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
98
98
|
|
99
99
|
|
100
|
+
def CreateAgent(self, request):
|
101
|
+
"""你创建一个Agent
|
102
|
+
|
103
|
+
:param request: Request instance for CreateAgent.
|
104
|
+
:type request: :class:`tencentcloud.lke.v20231130.models.CreateAgentRequest`
|
105
|
+
:rtype: :class:`tencentcloud.lke.v20231130.models.CreateAgentResponse`
|
106
|
+
|
107
|
+
"""
|
108
|
+
try:
|
109
|
+
params = request._serialize()
|
110
|
+
headers = request.headers
|
111
|
+
body = self.call("CreateAgent", params, headers=headers)
|
112
|
+
response = json.loads(body)
|
113
|
+
model = models.CreateAgentResponse()
|
114
|
+
model._deserialize(response["Response"])
|
115
|
+
return model
|
116
|
+
except Exception as e:
|
117
|
+
if isinstance(e, TencentCloudSDKException):
|
118
|
+
raise
|
119
|
+
else:
|
120
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
121
|
+
|
122
|
+
|
100
123
|
def CreateApp(self, request):
|
101
124
|
"""创建知识引擎应用。
|
102
125
|
|
@@ -351,6 +374,29 @@ class LkeClient(AbstractClient):
|
|
351
374
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
352
375
|
|
353
376
|
|
377
|
+
def DeleteAgent(self, request):
|
378
|
+
"""删除Agent
|
379
|
+
|
380
|
+
:param request: Request instance for DeleteAgent.
|
381
|
+
:type request: :class:`tencentcloud.lke.v20231130.models.DeleteAgentRequest`
|
382
|
+
:rtype: :class:`tencentcloud.lke.v20231130.models.DeleteAgentResponse`
|
383
|
+
|
384
|
+
"""
|
385
|
+
try:
|
386
|
+
params = request._serialize()
|
387
|
+
headers = request.headers
|
388
|
+
body = self.call("DeleteAgent", params, headers=headers)
|
389
|
+
response = json.loads(body)
|
390
|
+
model = models.DeleteAgentResponse()
|
391
|
+
model._deserialize(response["Response"])
|
392
|
+
return model
|
393
|
+
except Exception as e:
|
394
|
+
if isinstance(e, TencentCloudSDKException):
|
395
|
+
raise
|
396
|
+
else:
|
397
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
398
|
+
|
399
|
+
|
354
400
|
def DeleteApp(self, request):
|
355
401
|
"""删除应用
|
356
402
|
|
@@ -581,6 +627,29 @@ class LkeClient(AbstractClient):
|
|
581
627
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
582
628
|
|
583
629
|
|
630
|
+
def DescribeAppAgentList(self, request):
|
631
|
+
"""查询指定应用下的Agent列表
|
632
|
+
|
633
|
+
:param request: Request instance for DescribeAppAgentList.
|
634
|
+
:type request: :class:`tencentcloud.lke.v20231130.models.DescribeAppAgentListRequest`
|
635
|
+
:rtype: :class:`tencentcloud.lke.v20231130.models.DescribeAppAgentListResponse`
|
636
|
+
|
637
|
+
"""
|
638
|
+
try:
|
639
|
+
params = request._serialize()
|
640
|
+
headers = request.headers
|
641
|
+
body = self.call("DescribeAppAgentList", params, headers=headers)
|
642
|
+
response = json.loads(body)
|
643
|
+
model = models.DescribeAppAgentListResponse()
|
644
|
+
model._deserialize(response["Response"])
|
645
|
+
return model
|
646
|
+
except Exception as e:
|
647
|
+
if isinstance(e, TencentCloudSDKException):
|
648
|
+
raise
|
649
|
+
else:
|
650
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
651
|
+
|
652
|
+
|
584
653
|
def DescribeAttributeLabel(self, request):
|
585
654
|
"""查询属性标签详情
|
586
655
|
|
@@ -2010,6 +2079,29 @@ class LkeClient(AbstractClient):
|
|
2010
2079
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2011
2080
|
|
2012
2081
|
|
2082
|
+
def ModifyAgent(self, request):
|
2083
|
+
"""修改Agent信息
|
2084
|
+
|
2085
|
+
:param request: Request instance for ModifyAgent.
|
2086
|
+
:type request: :class:`tencentcloud.lke.v20231130.models.ModifyAgentRequest`
|
2087
|
+
:rtype: :class:`tencentcloud.lke.v20231130.models.ModifyAgentResponse`
|
2088
|
+
|
2089
|
+
"""
|
2090
|
+
try:
|
2091
|
+
params = request._serialize()
|
2092
|
+
headers = request.headers
|
2093
|
+
body = self.call("ModifyAgent", params, headers=headers)
|
2094
|
+
response = json.loads(body)
|
2095
|
+
model = models.ModifyAgentResponse()
|
2096
|
+
model._deserialize(response["Response"])
|
2097
|
+
return model
|
2098
|
+
except Exception as e:
|
2099
|
+
if isinstance(e, TencentCloudSDKException):
|
2100
|
+
raise
|
2101
|
+
else:
|
2102
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2103
|
+
|
2104
|
+
|
2013
2105
|
def ModifyApp(self, request):
|
2014
2106
|
"""修改应用请求结构体
|
2015
2107
|
|