tencentcloud-sdk-python 3.0.1049__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/cam/v20190116/models.py +12 -0
- tencentcloud/cdwdoris/__init__.py +0 -0
- tencentcloud/cdwdoris/v20211228/__init__.py +0 -0
- tencentcloud/cdwdoris/v20211228/cdwdoris_client.py +95 -0
- tencentcloud/cdwdoris/v20211228/errorcodes.py +18 -0
- tencentcloud/cdwdoris/v20211228/models.py +1396 -0
- tencentcloud/csip/v20221121/csip_client.py +23 -0
- tencentcloud/csip/v20221121/models.py +486 -0
- tencentcloud/cvm/v20170312/errorcodes.py +3 -0
- tencentcloud/ess/v20201111/models.py +30 -17
- tencentcloud/essbasic/v20210526/essbasic_client.py +27 -1
- tencentcloud/essbasic/v20210526/models.py +386 -15
- tencentcloud/lcic/v20220817/models.py +14 -1
- tencentcloud/monitor/v20180724/models.py +167 -18
- tencentcloud/monitor/v20180724/monitor_client.py +5 -5
- tencentcloud/privatedns/v20201028/models.py +84 -0
- tencentcloud/privatedns/v20201028/privatedns_client.py +23 -0
- tencentcloud/pts/v20210728/models.py +25 -25
- tencentcloud/redis/v20180412/models.py +246 -0
- tencentcloud/redis/v20180412/redis_client.py +69 -0
- tencentcloud/ssm/v20190923/models.py +11 -5
- tencentcloud/tcr/v20190924/models.py +0 -270
- tencentcloud/tcr/v20190924/tcr_client.py +0 -25
- tencentcloud/tdmq/v20200217/models.py +31 -0
- tencentcloud/teo/v20220901/errorcodes.py +18 -0
- tencentcloud/teo/v20220901/models.py +1 -1
- tencentcloud/tke/v20180525/errorcodes.py +18 -0
- tencentcloud/tke/v20180525/models.py +189 -0
- tencentcloud/tke/v20180525/tke_client.py +46 -0
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/waf/v20180125/models.py +4 -4
- {tencentcloud_sdk_python-3.0.1049.dist-info → tencentcloud_sdk_python-3.0.1051.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1049.dist-info → tencentcloud_sdk_python-3.0.1051.dist-info}/RECORD +37 -32
- {tencentcloud_sdk_python-3.0.1049.dist-info → tencentcloud_sdk_python-3.0.1051.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1049.dist-info → tencentcloud_sdk_python-3.0.1051.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1049.dist-info → tencentcloud_sdk_python-3.0.1051.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -7894,12 +7894,15 @@ class LoginActionFlag(AbstractModel):
|
|
|
7894
7894
|
:type Wechat: int
|
|
7895
7895
|
:param _Custom: 自定义
|
|
7896
7896
|
:type Custom: int
|
|
7897
|
+
:param _Mail: 邮箱
|
|
7898
|
+
:type Mail: int
|
|
7897
7899
|
"""
|
|
7898
7900
|
self._Phone = None
|
|
7899
7901
|
self._Token = None
|
|
7900
7902
|
self._Stoken = None
|
|
7901
7903
|
self._Wechat = None
|
|
7902
7904
|
self._Custom = None
|
|
7905
|
+
self._Mail = None
|
|
7903
7906
|
|
|
7904
7907
|
@property
|
|
7905
7908
|
def Phone(self):
|
|
@@ -7941,6 +7944,14 @@ class LoginActionFlag(AbstractModel):
|
|
|
7941
7944
|
def Custom(self, Custom):
|
|
7942
7945
|
self._Custom = Custom
|
|
7943
7946
|
|
|
7947
|
+
@property
|
|
7948
|
+
def Mail(self):
|
|
7949
|
+
return self._Mail
|
|
7950
|
+
|
|
7951
|
+
@Mail.setter
|
|
7952
|
+
def Mail(self, Mail):
|
|
7953
|
+
self._Mail = Mail
|
|
7954
|
+
|
|
7944
7955
|
|
|
7945
7956
|
def _deserialize(self, params):
|
|
7946
7957
|
self._Phone = params.get("Phone")
|
|
@@ -7948,6 +7959,7 @@ class LoginActionFlag(AbstractModel):
|
|
|
7948
7959
|
self._Stoken = params.get("Stoken")
|
|
7949
7960
|
self._Wechat = params.get("Wechat")
|
|
7950
7961
|
self._Custom = params.get("Custom")
|
|
7962
|
+
self._Mail = params.get("Mail")
|
|
7951
7963
|
memeber_set = set(params.keys())
|
|
7952
7964
|
for name, value in vars(self).items():
|
|
7953
7965
|
property_name = name[1:]
|
|
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'
|