tencentcloud-sdk-python 3.0.1050__py2.py3-none-any.whl → 3.0.1051__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.

Files changed (31) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/cdwdoris/__init__.py +0 -0
  3. tencentcloud/cdwdoris/v20211228/__init__.py +0 -0
  4. tencentcloud/cdwdoris/v20211228/cdwdoris_client.py +95 -0
  5. tencentcloud/cdwdoris/v20211228/errorcodes.py +18 -0
  6. tencentcloud/cdwdoris/v20211228/models.py +1396 -0
  7. tencentcloud/csip/v20221121/csip_client.py +23 -0
  8. tencentcloud/csip/v20221121/models.py +486 -0
  9. tencentcloud/cvm/v20170312/errorcodes.py +3 -0
  10. tencentcloud/ess/v20201111/models.py +28 -15
  11. tencentcloud/essbasic/v20210526/essbasic_client.py +5 -2
  12. tencentcloud/essbasic/v20210526/models.py +61 -44
  13. tencentcloud/lcic/v20220817/models.py +14 -1
  14. tencentcloud/monitor/v20180724/models.py +27 -18
  15. tencentcloud/monitor/v20180724/monitor_client.py +5 -5
  16. tencentcloud/privatedns/v20201028/models.py +1 -1
  17. tencentcloud/pts/v20210728/models.py +25 -25
  18. tencentcloud/ssm/v20190923/models.py +11 -5
  19. tencentcloud/tcr/v20190924/models.py +0 -270
  20. tencentcloud/tcr/v20190924/tcr_client.py +0 -25
  21. tencentcloud/teo/v20220901/errorcodes.py +18 -0
  22. tencentcloud/tke/v20180525/errorcodes.py +18 -0
  23. tencentcloud/tke/v20180525/models.py +189 -0
  24. tencentcloud/tke/v20180525/tke_client.py +46 -0
  25. tencentcloud/vod/v20180717/errorcodes.py +3 -0
  26. tencentcloud/waf/v20180125/models.py +4 -4
  27. {tencentcloud_sdk_python-3.0.1050.dist-info → tencentcloud_sdk_python-3.0.1051.dist-info}/METADATA +1 -1
  28. {tencentcloud_sdk_python-3.0.1050.dist-info → tencentcloud_sdk_python-3.0.1051.dist-info}/RECORD +31 -26
  29. {tencentcloud_sdk_python-3.0.1050.dist-info → tencentcloud_sdk_python-3.0.1051.dist-info}/LICENSE +0 -0
  30. {tencentcloud_sdk_python-3.0.1050.dist-info → tencentcloud_sdk_python-3.0.1051.dist-info}/WHEEL +0 -0
  31. {tencentcloud_sdk_python-3.0.1050.dist-info → tencentcloud_sdk_python-3.0.1051.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1050'
17
+ __version__ = '3.0.1051'
File without changes
File without changes
@@ -0,0 +1,95 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ import json
17
+
18
+ from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
19
+ from tencentcloud.common.abstract_client import AbstractClient
20
+ from tencentcloud.cdwdoris.v20211228 import models
21
+
22
+
23
+ class CdwdorisClient(AbstractClient):
24
+ _apiVersion = '2021-12-28'
25
+ _endpoint = 'cdwdoris.tencentcloudapi.com'
26
+ _service = 'cdwdoris'
27
+
28
+
29
+ def DescribeInstance(self, request):
30
+ """根据实例ID查询某个实例的具体信息
31
+
32
+ :param request: Request instance for DescribeInstance.
33
+ :type request: :class:`tencentcloud.cdwdoris.v20211228.models.DescribeInstanceRequest`
34
+ :rtype: :class:`tencentcloud.cdwdoris.v20211228.models.DescribeInstanceResponse`
35
+
36
+ """
37
+ try:
38
+ params = request._serialize()
39
+ headers = request.headers
40
+ body = self.call("DescribeInstance", params, headers=headers)
41
+ response = json.loads(body)
42
+ model = models.DescribeInstanceResponse()
43
+ model._deserialize(response["Response"])
44
+ return model
45
+ except Exception as e:
46
+ if isinstance(e, TencentCloudSDKException):
47
+ raise
48
+ else:
49
+ raise TencentCloudSDKException(type(e).__name__, str(e))
50
+
51
+
52
+ def DescribeInstanceNodes(self, request):
53
+ """获取实例节点信息列表
54
+
55
+ :param request: Request instance for DescribeInstanceNodes.
56
+ :type request: :class:`tencentcloud.cdwdoris.v20211228.models.DescribeInstanceNodesRequest`
57
+ :rtype: :class:`tencentcloud.cdwdoris.v20211228.models.DescribeInstanceNodesResponse`
58
+
59
+ """
60
+ try:
61
+ params = request._serialize()
62
+ headers = request.headers
63
+ body = self.call("DescribeInstanceNodes", params, headers=headers)
64
+ response = json.loads(body)
65
+ model = models.DescribeInstanceNodesResponse()
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
+
75
+ def DescribeInstances(self, request):
76
+ """获取实例列表
77
+
78
+ :param request: Request instance for DescribeInstances.
79
+ :type request: :class:`tencentcloud.cdwdoris.v20211228.models.DescribeInstancesRequest`
80
+ :rtype: :class:`tencentcloud.cdwdoris.v20211228.models.DescribeInstancesResponse`
81
+
82
+ """
83
+ try:
84
+ params = request._serialize()
85
+ headers = request.headers
86
+ body = self.call("DescribeInstances", params, headers=headers)
87
+ response = json.loads(body)
88
+ model = models.DescribeInstancesResponse()
89
+ model._deserialize(response["Response"])
90
+ return model
91
+ except Exception as e:
92
+ if isinstance(e, TencentCloudSDKException):
93
+ raise
94
+ else:
95
+ raise TencentCloudSDKException(type(e).__name__, str(e))
@@ -0,0 +1,18 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+
17
+ # 内部错误。
18
+ INTERNALERROR = 'InternalError'