tencentcloud-sdk-python 3.0.1412__py2.py3-none-any.whl → 3.0.1414__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/ams/v20201229/models.py +2 -14
- tencentcloud/batch/v20170312/batch_client.py +23 -0
- tencentcloud/batch/v20170312/models.py +236 -0
- tencentcloud/bh/v20230418/models.py +424 -0
- tencentcloud/bi/v20220105/models.py +15 -0
- tencentcloud/ccc/v20200210/models.py +17 -0
- tencentcloud/cdb/v20170320/cdb_client.py +6 -5
- tencentcloud/cdb/v20170320/models.py +50 -42
- tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
- tencentcloud/cdwch/v20200915/models.py +700 -0
- tencentcloud/cdwdoris/v20211228/models.py +36 -2
- tencentcloud/cfg/v20210820/models.py +123 -0
- tencentcloud/ckafka/v20190819/models.py +32 -2
- tencentcloud/csip/v20221121/csip_client.py +73 -4
- tencentcloud/csip/v20221121/models.py +1510 -227
- tencentcloud/cvm/v20170312/models.py +17 -4
- tencentcloud/dlc/v20210125/models.py +101 -0
- tencentcloud/emr/v20190103/emr_client.py +69 -0
- tencentcloud/emr/v20190103/errorcodes.py +54 -0
- tencentcloud/emr/v20190103/models.py +1536 -98
- tencentcloud/ess/v20201111/models.py +57 -10
- tencentcloud/essbasic/v20210526/models.py +2 -2
- tencentcloud/gs/v20191118/models.py +67 -2
- tencentcloud/hai/v20230812/errorcodes.py +3 -0
- tencentcloud/igtm/__init__.py +0 -0
- tencentcloud/igtm/v20231024/__init__.py +0 -0
- tencentcloud/igtm/v20231024/errorcodes.py +264 -0
- tencentcloud/igtm/v20231024/igtm_client.py +555 -0
- tencentcloud/igtm/v20231024/models.py +6234 -0
- tencentcloud/ims/v20201229/models.py +0 -4
- tencentcloud/ioa/v20220601/errorcodes.py +9 -0
- tencentcloud/ioa/v20220601/ioa_client.py +46 -0
- tencentcloud/ioa/v20220601/models.py +396 -0
- tencentcloud/iss/v20230517/models.py +17 -2
- tencentcloud/kms/v20190118/models.py +10 -22
- tencentcloud/mps/v20190612/models.py +82 -2
- tencentcloud/ocr/v20181119/models.py +247 -842
- tencentcloud/partners/v20180321/models.py +6 -2
- tencentcloud/securitylake/__init__.py +0 -0
- tencentcloud/securitylake/v20240117/__init__.py +0 -0
- tencentcloud/securitylake/v20240117/errorcodes.py +75 -0
- tencentcloud/securitylake/v20240117/models.py +1152 -0
- tencentcloud/securitylake/v20240117/securitylake_client.py +49 -0
- tencentcloud/sms/v20190711/errorcodes.py +2 -2
- tencentcloud/sms/v20210111/errorcodes.py +2 -2
- tencentcloud/tcbr/v20220217/models.py +113 -0
- tencentcloud/tdmq/v20200217/models.py +437 -10
- tencentcloud/teo/v20220901/models.py +47 -28
- tencentcloud/teo/v20220901/teo_client.py +3 -1
- tencentcloud/tione/v20211111/models.py +491 -2
- tencentcloud/tione/v20211111/tione_client.py +23 -0
- tencentcloud/tke/v20180525/models.py +79 -54
- tencentcloud/trocket/v20230308/models.py +148 -148
- tencentcloud/trocket/v20230308/trocket_client.py +46 -18
- tencentcloud/tsf/v20180326/models.py +6363 -4491
- tencentcloud/tsf/v20180326/tsf_client.py +23 -0
- tencentcloud/vdb/v20230616/models.py +75 -0
- tencentcloud/vm/v20210922/models.py +0 -8
- tencentcloud/vpc/v20170312/errorcodes.py +6 -0
- tencentcloud/wav/v20210129/models.py +6 -6
- tencentcloud/wedata/v20210820/models.py +15 -0
- {tencentcloud_sdk_python-3.0.1412.dist-info → tencentcloud_sdk_python-3.0.1414.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1412.dist-info → tencentcloud_sdk_python-3.0.1414.dist-info}/RECORD +67 -57
- {tencentcloud_sdk_python-3.0.1412.dist-info → tencentcloud_sdk_python-3.0.1414.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1412.dist-info → tencentcloud_sdk_python-3.0.1414.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1412.dist-info → tencentcloud_sdk_python-3.0.1414.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,49 @@
|
|
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.securitylake.v20240117 import models
|
21
|
+
|
22
|
+
|
23
|
+
class SecuritylakeClient(AbstractClient):
|
24
|
+
_apiVersion = '2024-01-17'
|
25
|
+
_endpoint = 'securitylake.tencentcloudapi.com'
|
26
|
+
_service = 'securitylake'
|
27
|
+
|
28
|
+
|
29
|
+
def DescribeSecurityAlarmTableList(self, request):
|
30
|
+
"""查询告警列表
|
31
|
+
|
32
|
+
:param request: Request instance for DescribeSecurityAlarmTableList.
|
33
|
+
:type request: :class:`tencentcloud.securitylake.v20240117.models.DescribeSecurityAlarmTableListRequest`
|
34
|
+
:rtype: :class:`tencentcloud.securitylake.v20240117.models.DescribeSecurityAlarmTableListResponse`
|
35
|
+
|
36
|
+
"""
|
37
|
+
try:
|
38
|
+
params = request._serialize()
|
39
|
+
headers = request.headers
|
40
|
+
body = self.call("DescribeSecurityAlarmTableList", params, headers=headers)
|
41
|
+
response = json.loads(body)
|
42
|
+
model = models.DescribeSecurityAlarmTableListResponse()
|
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))
|
@@ -164,7 +164,7 @@ INVALIDPARAMETERVALUE_MARKETINGTEMPLATEWITHOUTUNSUBSCRIBE = 'InvalidParameterVal
|
|
164
164
|
# 无法识别签名,请确认是否已有签名通过申请,一般是签名未通过申请,可以查看 [签名审核](https://cloud.tencent.com/document/product/382/37745#.E6.AD.A5.E9.AA.A43.EF.BC.9A.E7.AD.89.E5.BE.85.E5.AE.A1.E6.A0.B8) 。
|
165
165
|
INVALIDPARAMETERVALUE_MISSINGSIGNATURELIST = 'InvalidParameterValue.MissingSignatureList'
|
166
166
|
|
167
|
-
# 禁止在模板变量中使用 URL。您可以参考正文模板审核标准下关于 [变量规范](https://cloud.tencent.com/document/product/382/39023
|
167
|
+
# 禁止在模板变量中使用 URL。您可以参考正文模板审核标准下关于 [变量规范](https://cloud.tencent.com/document/product/382/39023#variable) 的描述
|
168
168
|
INVALIDPARAMETERVALUE_PROHIBITEDUSEURLINTEMPLATEPARAMETER = 'InvalidParameterValue.ProhibitedUseUrlInTemplateParameter'
|
169
169
|
|
170
170
|
# 资质ID未找到。资质 ID 信息可前往国内短信的 [实名资质管理](https://console.cloud.tencent.com/smsv2/enterprise) 页查看。
|
@@ -185,7 +185,7 @@ INVALIDPARAMETERVALUE_SIGNNAMELENGTHTOOLONG = 'InvalidParameterValue.SignNameLen
|
|
185
185
|
# 验证码模板参数格式错误,验证码类模板,模板变量只能传入0 - 6位(包括6位)纯数字。
|
186
186
|
INVALIDPARAMETERVALUE_TEMPLATEPARAMETERFORMATERROR = 'InvalidParameterValue.TemplateParameterFormatError'
|
187
187
|
|
188
|
-
# 单个模板变量字符数超过规定的限制数。您可以参考 <a href="https://cloud.tencent.com/document/product/382/39023
|
188
|
+
# 单个模板变量字符数超过规定的限制数。您可以参考 <a href="https://cloud.tencent.com/document/product/382/39023#variable">正文模板审核标准</a>下变量规范中关于长度的描述,对于长期未使用的账号及2024年1月25日后开通新账号默认最长支持6个字符,您的账号具体可支持字符长度以<a href="https://console.cloud.tencent.com/smsv2/csms-template/create">控制台显示为准</a>。更多疑问可联系 <a href="https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81">腾讯云短信小助手</a> 。
|
189
189
|
INVALIDPARAMETERVALUE_TEMPLATEPARAMETERLENGTHLIMIT = 'InvalidParameterValue.TemplateParameterLengthLimit'
|
190
190
|
|
191
191
|
# 申请国内短信通知和营销短信模板不支持添加变量。可参考 [控制台说明](https://console.cloud.tencent.com/smsv2/csms-template),更多疑问可咨询 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)
|
@@ -182,7 +182,7 @@ INVALIDPARAMETERVALUE_MARKETINGTEMPLATEWITHOUTUNSUBSCRIBE = 'InvalidParameterVal
|
|
182
182
|
# 参数 Offset 校验失败。
|
183
183
|
INVALIDPARAMETERVALUE_OFFSETVERIFYFAIL = 'InvalidParameterValue.OffsetVerifyFail'
|
184
184
|
|
185
|
-
# 禁止在模板变量中使用 URL。您可以参考正文模板审核标准下关于 [变量规范](https://cloud.tencent.com/document/product/382/39023
|
185
|
+
# 禁止在模板变量中使用 URL。您可以参考正文模板审核标准下关于 [变量规范](https://cloud.tencent.com/document/product/382/39023#variable) 的描述
|
186
186
|
INVALIDPARAMETERVALUE_PROHIBITEDUSEURLINTEMPLATEPARAMETER = 'InvalidParameterValue.ProhibitedUseUrlInTemplateParameter'
|
187
187
|
|
188
188
|
# 资质ID未找到。资质 ID 信息可前往国内短信的 [实名资质管理](https://console.cloud.tencent.com/smsv2/enterprise) 页查看。
|
@@ -203,7 +203,7 @@ INVALIDPARAMETERVALUE_SIGNNAMELENGTHTOOLONG = 'InvalidParameterValue.SignNameLen
|
|
203
203
|
# 验证码模板参数格式错误,验证码类模板,模板变量只能传入0 - 6位(包括6位)纯数字。
|
204
204
|
INVALIDPARAMETERVALUE_TEMPLATEPARAMETERFORMATERROR = 'InvalidParameterValue.TemplateParameterFormatError'
|
205
205
|
|
206
|
-
# 单个模板变量字符数超过规定的限制数。您可以参考 <a href="https://cloud.tencent.com/document/product/382/39023
|
206
|
+
# 单个模板变量字符数超过规定的限制数。您可以参考 <a href="https://cloud.tencent.com/document/product/382/39023#variable">正文模板审核标准</a>下变量规范中关于长度的描述,对于长期未使用的账号及2024年1月25日后开通新账号默认最长支持6个字符,您的账号具体可支持字符长度以<a href="https://console.cloud.tencent.com/smsv2/csms-template/create">控制台显示为准</a>。更多疑问可联系 <a href="https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81">腾讯云短信小助手</a> 。
|
207
207
|
INVALIDPARAMETERVALUE_TEMPLATEPARAMETERLENGTHLIMIT = 'InvalidParameterValue.TemplateParameterLengthLimit'
|
208
208
|
|
209
209
|
# 模板内容存在敏感词,请参考[正文模板审核标准](https://cloud.tencent.com/document/product/382/39023)。
|
@@ -2695,6 +2695,8 @@ class ServerBaseConfig(AbstractModel):
|
|
2695
2695
|
:param _SessionAffinity: 会话亲和性开关
|
2696
2696
|
注意:此字段可能返回 null,表示取不到有效值。
|
2697
2697
|
:type SessionAffinity: str
|
2698
|
+
:param _VpcConf: Vpc 配置参数
|
2699
|
+
:type VpcConf: :class:`tencentcloud.tcbr.v20220217.models.VpcConf`
|
2698
2700
|
"""
|
2699
2701
|
self._EnvId = None
|
2700
2702
|
self._ServerName = None
|
@@ -2724,6 +2726,7 @@ class ServerBaseConfig(AbstractModel):
|
|
2724
2726
|
self._EntryPoint = None
|
2725
2727
|
self._Cmd = None
|
2726
2728
|
self._SessionAffinity = None
|
2729
|
+
self._VpcConf = None
|
2727
2730
|
|
2728
2731
|
@property
|
2729
2732
|
def EnvId(self):
|
@@ -3034,6 +3037,17 @@ class ServerBaseConfig(AbstractModel):
|
|
3034
3037
|
def SessionAffinity(self, SessionAffinity):
|
3035
3038
|
self._SessionAffinity = SessionAffinity
|
3036
3039
|
|
3040
|
+
@property
|
3041
|
+
def VpcConf(self):
|
3042
|
+
"""Vpc 配置参数
|
3043
|
+
:rtype: :class:`tencentcloud.tcbr.v20220217.models.VpcConf`
|
3044
|
+
"""
|
3045
|
+
return self._VpcConf
|
3046
|
+
|
3047
|
+
@VpcConf.setter
|
3048
|
+
def VpcConf(self, VpcConf):
|
3049
|
+
self._VpcConf = VpcConf
|
3050
|
+
|
3037
3051
|
|
3038
3052
|
def _deserialize(self, params):
|
3039
3053
|
self._EnvId = params.get("EnvId")
|
@@ -3074,6 +3088,9 @@ class ServerBaseConfig(AbstractModel):
|
|
3074
3088
|
self._EntryPoint = params.get("EntryPoint")
|
3075
3089
|
self._Cmd = params.get("Cmd")
|
3076
3090
|
self._SessionAffinity = params.get("SessionAffinity")
|
3091
|
+
if params.get("VpcConf") is not None:
|
3092
|
+
self._VpcConf = VpcConf()
|
3093
|
+
self._VpcConf._deserialize(params.get("VpcConf"))
|
3077
3094
|
memeber_set = set(params.keys())
|
3078
3095
|
for name, value in vars(self).items():
|
3079
3096
|
property_name = name[1:]
|
@@ -3979,11 +3996,14 @@ class UpdateCloudRunServerRequest(AbstractModel):
|
|
3979
3996
|
:type DeployInfo: :class:`tencentcloud.tcbr.v20220217.models.DeployParam`
|
3980
3997
|
:param _ServerConfig: 服务配置信息
|
3981
3998
|
:type ServerConfig: :class:`tencentcloud.tcbr.v20220217.models.ServerBaseConfig`
|
3999
|
+
:param _Business: 业务类型,默认tcr
|
4000
|
+
:type Business: str
|
3982
4001
|
"""
|
3983
4002
|
self._EnvId = None
|
3984
4003
|
self._ServerName = None
|
3985
4004
|
self._DeployInfo = None
|
3986
4005
|
self._ServerConfig = None
|
4006
|
+
self._Business = None
|
3987
4007
|
|
3988
4008
|
@property
|
3989
4009
|
def EnvId(self):
|
@@ -4029,6 +4049,17 @@ class UpdateCloudRunServerRequest(AbstractModel):
|
|
4029
4049
|
def ServerConfig(self, ServerConfig):
|
4030
4050
|
self._ServerConfig = ServerConfig
|
4031
4051
|
|
4052
|
+
@property
|
4053
|
+
def Business(self):
|
4054
|
+
"""业务类型,默认tcr
|
4055
|
+
:rtype: str
|
4056
|
+
"""
|
4057
|
+
return self._Business
|
4058
|
+
|
4059
|
+
@Business.setter
|
4060
|
+
def Business(self, Business):
|
4061
|
+
self._Business = Business
|
4062
|
+
|
4032
4063
|
|
4033
4064
|
def _deserialize(self, params):
|
4034
4065
|
self._EnvId = params.get("EnvId")
|
@@ -4039,6 +4070,7 @@ class UpdateCloudRunServerRequest(AbstractModel):
|
|
4039
4070
|
if params.get("ServerConfig") is not None:
|
4040
4071
|
self._ServerConfig = ServerBaseConfig()
|
4041
4072
|
self._ServerConfig._deserialize(params.get("ServerConfig"))
|
4073
|
+
self._Business = params.get("Business")
|
4042
4074
|
memeber_set = set(params.keys())
|
4043
4075
|
for name, value in vars(self).items():
|
4044
4076
|
property_name = name[1:]
|
@@ -4202,4 +4234,85 @@ class VersionFlowInfo(AbstractModel):
|
|
4202
4234
|
memeber_set.remove(property_name)
|
4203
4235
|
if len(memeber_set) > 0:
|
4204
4236
|
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
4237
|
+
|
4238
|
+
|
4239
|
+
|
4240
|
+
class VpcConf(AbstractModel):
|
4241
|
+
"""云托管服务 Vpc 配置
|
4242
|
+
|
4243
|
+
"""
|
4244
|
+
|
4245
|
+
def __init__(self):
|
4246
|
+
r"""
|
4247
|
+
:param _VpcId: vpc id
|
4248
|
+
:type VpcId: str
|
4249
|
+
:param _VpcCIDR: vpc 网段
|
4250
|
+
:type VpcCIDR: str
|
4251
|
+
:param _SubnetId: subnet id
|
4252
|
+
:type SubnetId: str
|
4253
|
+
:param _SubnetCIDR: subnet 网段
|
4254
|
+
:type SubnetCIDR: str
|
4255
|
+
"""
|
4256
|
+
self._VpcId = None
|
4257
|
+
self._VpcCIDR = None
|
4258
|
+
self._SubnetId = None
|
4259
|
+
self._SubnetCIDR = None
|
4260
|
+
|
4261
|
+
@property
|
4262
|
+
def VpcId(self):
|
4263
|
+
"""vpc id
|
4264
|
+
:rtype: str
|
4265
|
+
"""
|
4266
|
+
return self._VpcId
|
4267
|
+
|
4268
|
+
@VpcId.setter
|
4269
|
+
def VpcId(self, VpcId):
|
4270
|
+
self._VpcId = VpcId
|
4271
|
+
|
4272
|
+
@property
|
4273
|
+
def VpcCIDR(self):
|
4274
|
+
"""vpc 网段
|
4275
|
+
:rtype: str
|
4276
|
+
"""
|
4277
|
+
return self._VpcCIDR
|
4278
|
+
|
4279
|
+
@VpcCIDR.setter
|
4280
|
+
def VpcCIDR(self, VpcCIDR):
|
4281
|
+
self._VpcCIDR = VpcCIDR
|
4282
|
+
|
4283
|
+
@property
|
4284
|
+
def SubnetId(self):
|
4285
|
+
"""subnet id
|
4286
|
+
:rtype: str
|
4287
|
+
"""
|
4288
|
+
return self._SubnetId
|
4289
|
+
|
4290
|
+
@SubnetId.setter
|
4291
|
+
def SubnetId(self, SubnetId):
|
4292
|
+
self._SubnetId = SubnetId
|
4293
|
+
|
4294
|
+
@property
|
4295
|
+
def SubnetCIDR(self):
|
4296
|
+
"""subnet 网段
|
4297
|
+
:rtype: str
|
4298
|
+
"""
|
4299
|
+
return self._SubnetCIDR
|
4300
|
+
|
4301
|
+
@SubnetCIDR.setter
|
4302
|
+
def SubnetCIDR(self, SubnetCIDR):
|
4303
|
+
self._SubnetCIDR = SubnetCIDR
|
4304
|
+
|
4305
|
+
|
4306
|
+
def _deserialize(self, params):
|
4307
|
+
self._VpcId = params.get("VpcId")
|
4308
|
+
self._VpcCIDR = params.get("VpcCIDR")
|
4309
|
+
self._SubnetId = params.get("SubnetId")
|
4310
|
+
self._SubnetCIDR = params.get("SubnetCIDR")
|
4311
|
+
memeber_set = set(params.keys())
|
4312
|
+
for name, value in vars(self).items():
|
4313
|
+
property_name = name[1:]
|
4314
|
+
if property_name in memeber_set:
|
4315
|
+
memeber_set.remove(property_name)
|
4316
|
+
if len(memeber_set) > 0:
|
4317
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
4205
4318
|
|