tencentcloud-sdk-python 3.0.1196__py2.py3-none-any.whl → 3.0.1198__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 +398 -3
- tencentcloud/bi/v20220105/models.py +1 -1
- tencentcloud/cat/v20180409/models.py +12 -0
- tencentcloud/ccc/v20200210/models.py +3 -3
- tencentcloud/cdb/v20170320/models.py +45 -3
- tencentcloud/cdn/v20180606/models.py +141 -0
- tencentcloud/cfw/v20190904/cfw_client.py +23 -0
- tencentcloud/cfw/v20190904/models.py +391 -0
- tencentcloud/cls/v20201016/cls_client.py +0 -12
- tencentcloud/cls/v20201016/models.py +5 -1
- tencentcloud/cynosdb/v20190107/models.py +121 -0
- tencentcloud/dbbrain/v20210527/models.py +12 -0
- tencentcloud/ecm/v20190719/models.py +24 -0
- tencentcloud/emr/v20190103/emr_client.py +23 -0
- tencentcloud/emr/v20190103/models.py +469 -108
- tencentcloud/ess/v20201111/ess_client.py +2 -1
- tencentcloud/ess/v20201111/models.py +47 -21
- tencentcloud/essbasic/v20210526/models.py +1 -1
- tencentcloud/hunyuan/v20230901/errorcodes.py +12 -0
- tencentcloud/hunyuan/v20230901/models.py +199 -13
- tencentcloud/mongodb/v20190725/models.py +106 -0
- tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
- tencentcloud/monitor/v20180724/models.py +3 -8
- tencentcloud/ocr/v20181119/models.py +24 -0
- tencentcloud/redis/v20180412/models.py +2 -3
- tencentcloud/tke/v20180525/models.py +274 -0
- tencentcloud/tke/v20180525/tke_client.py +23 -0
- tencentcloud/vm/v20201229/models.py +253 -4
- tencentcloud/vm/v20201229/vm_client.py +1 -3
- tencentcloud/vm/v20210922/models.py +5 -6
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/models.py +1 -1
- tencentcloud/waf/v20180125/models.py +13 -41
- tencentcloud/wedata/v20210820/models.py +13 -0
- {tencentcloud_sdk_python-3.0.1196.dist-info → tencentcloud_sdk_python-3.0.1198.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1196.dist-info → tencentcloud_sdk_python-3.0.1198.dist-info}/RECORD +40 -40
- {tencentcloud_sdk_python-3.0.1196.dist-info → tencentcloud_sdk_python-3.0.1198.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1196.dist-info → tencentcloud_sdk_python-3.0.1198.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1196.dist-info → tencentcloud_sdk_python-3.0.1198.dist-info}/top_level.txt +0 -0
@@ -4286,9 +4286,15 @@ class CreateCLSDeliveryRequest(AbstractModel):
|
|
4286
4286
|
:type InstanceId: str
|
4287
4287
|
:param _CLSInfoList: 日志投递配置
|
4288
4288
|
:type CLSInfoList: list of CLSInfo
|
4289
|
+
:param _LogType: 日志类型
|
4290
|
+
:type LogType: str
|
4291
|
+
:param _IsInMaintainPeriod: 是否维护时间运行
|
4292
|
+
:type IsInMaintainPeriod: str
|
4289
4293
|
"""
|
4290
4294
|
self._InstanceId = None
|
4291
4295
|
self._CLSInfoList = None
|
4296
|
+
self._LogType = None
|
4297
|
+
self._IsInMaintainPeriod = None
|
4292
4298
|
|
4293
4299
|
@property
|
4294
4300
|
def InstanceId(self):
|
@@ -4306,6 +4312,22 @@ class CreateCLSDeliveryRequest(AbstractModel):
|
|
4306
4312
|
def CLSInfoList(self, CLSInfoList):
|
4307
4313
|
self._CLSInfoList = CLSInfoList
|
4308
4314
|
|
4315
|
+
@property
|
4316
|
+
def LogType(self):
|
4317
|
+
return self._LogType
|
4318
|
+
|
4319
|
+
@LogType.setter
|
4320
|
+
def LogType(self, LogType):
|
4321
|
+
self._LogType = LogType
|
4322
|
+
|
4323
|
+
@property
|
4324
|
+
def IsInMaintainPeriod(self):
|
4325
|
+
return self._IsInMaintainPeriod
|
4326
|
+
|
4327
|
+
@IsInMaintainPeriod.setter
|
4328
|
+
def IsInMaintainPeriod(self, IsInMaintainPeriod):
|
4329
|
+
self._IsInMaintainPeriod = IsInMaintainPeriod
|
4330
|
+
|
4309
4331
|
|
4310
4332
|
def _deserialize(self, params):
|
4311
4333
|
self._InstanceId = params.get("InstanceId")
|
@@ -4315,6 +4337,8 @@ class CreateCLSDeliveryRequest(AbstractModel):
|
|
4315
4337
|
obj = CLSInfo()
|
4316
4338
|
obj._deserialize(item)
|
4317
4339
|
self._CLSInfoList.append(obj)
|
4340
|
+
self._LogType = params.get("LogType")
|
4341
|
+
self._IsInMaintainPeriod = params.get("IsInMaintainPeriod")
|
4318
4342
|
memeber_set = set(params.keys())
|
4319
4343
|
for name, value in vars(self).items():
|
4320
4344
|
property_name = name[1:]
|
@@ -9711,9 +9735,15 @@ class DeleteCLSDeliveryRequest(AbstractModel):
|
|
9711
9735
|
:type InstanceId: str
|
9712
9736
|
:param _CLSTopicIds: 日志主题id
|
9713
9737
|
:type CLSTopicIds: list of str
|
9738
|
+
:param _LogType: 日志类型
|
9739
|
+
:type LogType: str
|
9740
|
+
:param _IsInMaintainPeriod: 是否维护时间运行
|
9741
|
+
:type IsInMaintainPeriod: str
|
9714
9742
|
"""
|
9715
9743
|
self._InstanceId = None
|
9716
9744
|
self._CLSTopicIds = None
|
9745
|
+
self._LogType = None
|
9746
|
+
self._IsInMaintainPeriod = None
|
9717
9747
|
|
9718
9748
|
@property
|
9719
9749
|
def InstanceId(self):
|
@@ -9731,10 +9761,28 @@ class DeleteCLSDeliveryRequest(AbstractModel):
|
|
9731
9761
|
def CLSTopicIds(self, CLSTopicIds):
|
9732
9762
|
self._CLSTopicIds = CLSTopicIds
|
9733
9763
|
|
9764
|
+
@property
|
9765
|
+
def LogType(self):
|
9766
|
+
return self._LogType
|
9767
|
+
|
9768
|
+
@LogType.setter
|
9769
|
+
def LogType(self, LogType):
|
9770
|
+
self._LogType = LogType
|
9771
|
+
|
9772
|
+
@property
|
9773
|
+
def IsInMaintainPeriod(self):
|
9774
|
+
return self._IsInMaintainPeriod
|
9775
|
+
|
9776
|
+
@IsInMaintainPeriod.setter
|
9777
|
+
def IsInMaintainPeriod(self, IsInMaintainPeriod):
|
9778
|
+
self._IsInMaintainPeriod = IsInMaintainPeriod
|
9779
|
+
|
9734
9780
|
|
9735
9781
|
def _deserialize(self, params):
|
9736
9782
|
self._InstanceId = params.get("InstanceId")
|
9737
9783
|
self._CLSTopicIds = params.get("CLSTopicIds")
|
9784
|
+
self._LogType = params.get("LogType")
|
9785
|
+
self._IsInMaintainPeriod = params.get("IsInMaintainPeriod")
|
9738
9786
|
memeber_set = set(params.keys())
|
9739
9787
|
for name, value in vars(self).items():
|
9740
9788
|
property_name = name[1:]
|
@@ -13157,8 +13205,11 @@ class DescribeInstanceCLSLogDeliveryRequest(AbstractModel):
|
|
13157
13205
|
r"""
|
13158
13206
|
:param _InstanceId: 实例id
|
13159
13207
|
:type InstanceId: str
|
13208
|
+
:param _LogType: 日志类型
|
13209
|
+
:type LogType: str
|
13160
13210
|
"""
|
13161
13211
|
self._InstanceId = None
|
13212
|
+
self._LogType = None
|
13162
13213
|
|
13163
13214
|
@property
|
13164
13215
|
def InstanceId(self):
|
@@ -13168,9 +13219,18 @@ class DescribeInstanceCLSLogDeliveryRequest(AbstractModel):
|
|
13168
13219
|
def InstanceId(self, InstanceId):
|
13169
13220
|
self._InstanceId = InstanceId
|
13170
13221
|
|
13222
|
+
@property
|
13223
|
+
def LogType(self):
|
13224
|
+
return self._LogType
|
13225
|
+
|
13226
|
+
@LogType.setter
|
13227
|
+
def LogType(self, LogType):
|
13228
|
+
self._LogType = LogType
|
13229
|
+
|
13171
13230
|
|
13172
13231
|
def _deserialize(self, params):
|
13173
13232
|
self._InstanceId = params.get("InstanceId")
|
13233
|
+
self._LogType = params.get("LogType")
|
13174
13234
|
memeber_set = set(params.keys())
|
13175
13235
|
for name, value in vars(self).items():
|
13176
13236
|
property_name = name[1:]
|
@@ -17884,6 +17944,9 @@ class InstanceCLSDeliveryInfo(AbstractModel):
|
|
17884
17944
|
|
17885
17945
|
注意:此字段可能返回 null,表示取不到有效值。
|
17886
17946
|
:type Status: str
|
17947
|
+
:param _LogType: 日志类型
|
17948
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
17949
|
+
:type LogType: str
|
17887
17950
|
"""
|
17888
17951
|
self._InstanceId = None
|
17889
17952
|
self._InstanceName = None
|
@@ -17893,6 +17956,7 @@ class InstanceCLSDeliveryInfo(AbstractModel):
|
|
17893
17956
|
self._GroupName = None
|
17894
17957
|
self._Region = None
|
17895
17958
|
self._Status = None
|
17959
|
+
self._LogType = None
|
17896
17960
|
|
17897
17961
|
@property
|
17898
17962
|
def InstanceId(self):
|
@@ -17958,6 +18022,14 @@ class InstanceCLSDeliveryInfo(AbstractModel):
|
|
17958
18022
|
def Status(self, Status):
|
17959
18023
|
self._Status = Status
|
17960
18024
|
|
18025
|
+
@property
|
18026
|
+
def LogType(self):
|
18027
|
+
return self._LogType
|
18028
|
+
|
18029
|
+
@LogType.setter
|
18030
|
+
def LogType(self, LogType):
|
18031
|
+
self._LogType = LogType
|
18032
|
+
|
17961
18033
|
|
17962
18034
|
def _deserialize(self, params):
|
17963
18035
|
self._InstanceId = params.get("InstanceId")
|
@@ -17968,6 +18040,7 @@ class InstanceCLSDeliveryInfo(AbstractModel):
|
|
17968
18040
|
self._GroupName = params.get("GroupName")
|
17969
18041
|
self._Region = params.get("Region")
|
17970
18042
|
self._Status = params.get("Status")
|
18043
|
+
self._LogType = params.get("LogType")
|
17971
18044
|
memeber_set = set(params.keys())
|
17972
18045
|
for name, value in vars(self).items():
|
17973
18046
|
property_name = name[1:]
|
@@ -29074,9 +29147,15 @@ class StartCLSDeliveryRequest(AbstractModel):
|
|
29074
29147
|
:type InstanceId: str
|
29075
29148
|
:param _CLSTopicIds: 开通的日志主题id
|
29076
29149
|
:type CLSTopicIds: list of str
|
29150
|
+
:param _LogType: 日志类型
|
29151
|
+
:type LogType: str
|
29152
|
+
:param _IsInMaintainPeriod: 是否维护时间运行
|
29153
|
+
:type IsInMaintainPeriod: str
|
29077
29154
|
"""
|
29078
29155
|
self._InstanceId = None
|
29079
29156
|
self._CLSTopicIds = None
|
29157
|
+
self._LogType = None
|
29158
|
+
self._IsInMaintainPeriod = None
|
29080
29159
|
|
29081
29160
|
@property
|
29082
29161
|
def InstanceId(self):
|
@@ -29094,10 +29173,28 @@ class StartCLSDeliveryRequest(AbstractModel):
|
|
29094
29173
|
def CLSTopicIds(self, CLSTopicIds):
|
29095
29174
|
self._CLSTopicIds = CLSTopicIds
|
29096
29175
|
|
29176
|
+
@property
|
29177
|
+
def LogType(self):
|
29178
|
+
return self._LogType
|
29179
|
+
|
29180
|
+
@LogType.setter
|
29181
|
+
def LogType(self, LogType):
|
29182
|
+
self._LogType = LogType
|
29183
|
+
|
29184
|
+
@property
|
29185
|
+
def IsInMaintainPeriod(self):
|
29186
|
+
return self._IsInMaintainPeriod
|
29187
|
+
|
29188
|
+
@IsInMaintainPeriod.setter
|
29189
|
+
def IsInMaintainPeriod(self, IsInMaintainPeriod):
|
29190
|
+
self._IsInMaintainPeriod = IsInMaintainPeriod
|
29191
|
+
|
29097
29192
|
|
29098
29193
|
def _deserialize(self, params):
|
29099
29194
|
self._InstanceId = params.get("InstanceId")
|
29100
29195
|
self._CLSTopicIds = params.get("CLSTopicIds")
|
29196
|
+
self._LogType = params.get("LogType")
|
29197
|
+
self._IsInMaintainPeriod = params.get("IsInMaintainPeriod")
|
29101
29198
|
memeber_set = set(params.keys())
|
29102
29199
|
for name, value in vars(self).items():
|
29103
29200
|
property_name = name[1:]
|
@@ -29156,9 +29253,15 @@ class StopCLSDeliveryRequest(AbstractModel):
|
|
29156
29253
|
:type InstanceId: str
|
29157
29254
|
:param _CLSTopicIds: 日志主题id
|
29158
29255
|
:type CLSTopicIds: list of str
|
29256
|
+
:param _LogType: 日志类型
|
29257
|
+
:type LogType: str
|
29258
|
+
:param _IsInMaintainPeriod: 是否维护时间运行
|
29259
|
+
:type IsInMaintainPeriod: str
|
29159
29260
|
"""
|
29160
29261
|
self._InstanceId = None
|
29161
29262
|
self._CLSTopicIds = None
|
29263
|
+
self._LogType = None
|
29264
|
+
self._IsInMaintainPeriod = None
|
29162
29265
|
|
29163
29266
|
@property
|
29164
29267
|
def InstanceId(self):
|
@@ -29176,10 +29279,28 @@ class StopCLSDeliveryRequest(AbstractModel):
|
|
29176
29279
|
def CLSTopicIds(self, CLSTopicIds):
|
29177
29280
|
self._CLSTopicIds = CLSTopicIds
|
29178
29281
|
|
29282
|
+
@property
|
29283
|
+
def LogType(self):
|
29284
|
+
return self._LogType
|
29285
|
+
|
29286
|
+
@LogType.setter
|
29287
|
+
def LogType(self, LogType):
|
29288
|
+
self._LogType = LogType
|
29289
|
+
|
29290
|
+
@property
|
29291
|
+
def IsInMaintainPeriod(self):
|
29292
|
+
return self._IsInMaintainPeriod
|
29293
|
+
|
29294
|
+
@IsInMaintainPeriod.setter
|
29295
|
+
def IsInMaintainPeriod(self, IsInMaintainPeriod):
|
29296
|
+
self._IsInMaintainPeriod = IsInMaintainPeriod
|
29297
|
+
|
29179
29298
|
|
29180
29299
|
def _deserialize(self, params):
|
29181
29300
|
self._InstanceId = params.get("InstanceId")
|
29182
29301
|
self._CLSTopicIds = params.get("CLSTopicIds")
|
29302
|
+
self._LogType = params.get("LogType")
|
29303
|
+
self._IsInMaintainPeriod = params.get("IsInMaintainPeriod")
|
29183
29304
|
memeber_set = set(params.keys())
|
29184
29305
|
for name, value in vars(self).items():
|
29185
29306
|
property_name = name[1:]
|
@@ -1667,6 +1667,8 @@ class CreateKillTaskRequest(AbstractModel):
|
|
1667
1667
|
:type Command: str
|
1668
1668
|
:param _Info: 任务过滤条件,支持单条件前缀匹配。
|
1669
1669
|
:type Info: str
|
1670
|
+
:param _Infos: 任务过滤条件,支持多个关键字匹配,与Info参数互斥。
|
1671
|
+
:type Infos: list of str
|
1670
1672
|
:param _User: 任务过滤条件,用户类型。
|
1671
1673
|
:type User: str
|
1672
1674
|
:param _Time: 任务过滤条件,会话持续时长,单位秒。
|
@@ -1680,6 +1682,7 @@ class CreateKillTaskRequest(AbstractModel):
|
|
1680
1682
|
self._DB = None
|
1681
1683
|
self._Command = None
|
1682
1684
|
self._Info = None
|
1685
|
+
self._Infos = None
|
1683
1686
|
self._User = None
|
1684
1687
|
self._Time = None
|
1685
1688
|
self._Product = None
|
@@ -1732,6 +1735,14 @@ class CreateKillTaskRequest(AbstractModel):
|
|
1732
1735
|
def Info(self, Info):
|
1733
1736
|
self._Info = Info
|
1734
1737
|
|
1738
|
+
@property
|
1739
|
+
def Infos(self):
|
1740
|
+
return self._Infos
|
1741
|
+
|
1742
|
+
@Infos.setter
|
1743
|
+
def Infos(self, Infos):
|
1744
|
+
self._Infos = Infos
|
1745
|
+
|
1735
1746
|
@property
|
1736
1747
|
def User(self):
|
1737
1748
|
return self._User
|
@@ -1764,6 +1775,7 @@ class CreateKillTaskRequest(AbstractModel):
|
|
1764
1775
|
self._DB = params.get("DB")
|
1765
1776
|
self._Command = params.get("Command")
|
1766
1777
|
self._Info = params.get("Info")
|
1778
|
+
self._Infos = params.get("Infos")
|
1767
1779
|
self._User = params.get("User")
|
1768
1780
|
self._Time = params.get("Time")
|
1769
1781
|
self._Product = params.get("Product")
|
@@ -16562,12 +16562,18 @@ class ModifyVpcAttributeRequest(AbstractModel):
|
|
16562
16562
|
:type Tags: list of Tag
|
16563
16563
|
:param _Description: 私有网络描述
|
16564
16564
|
:type Description: str
|
16565
|
+
:param _DnsServers: DNS地址,最多支持4个,第1个默认为主,其余为备。
|
16566
|
+
:type DnsServers: list of str
|
16567
|
+
:param _DomainName: 域名。
|
16568
|
+
:type DomainName: str
|
16565
16569
|
"""
|
16566
16570
|
self._VpcId = None
|
16567
16571
|
self._EcmRegion = None
|
16568
16572
|
self._VpcName = None
|
16569
16573
|
self._Tags = None
|
16570
16574
|
self._Description = None
|
16575
|
+
self._DnsServers = None
|
16576
|
+
self._DomainName = None
|
16571
16577
|
|
16572
16578
|
@property
|
16573
16579
|
def VpcId(self):
|
@@ -16609,6 +16615,22 @@ class ModifyVpcAttributeRequest(AbstractModel):
|
|
16609
16615
|
def Description(self, Description):
|
16610
16616
|
self._Description = Description
|
16611
16617
|
|
16618
|
+
@property
|
16619
|
+
def DnsServers(self):
|
16620
|
+
return self._DnsServers
|
16621
|
+
|
16622
|
+
@DnsServers.setter
|
16623
|
+
def DnsServers(self, DnsServers):
|
16624
|
+
self._DnsServers = DnsServers
|
16625
|
+
|
16626
|
+
@property
|
16627
|
+
def DomainName(self):
|
16628
|
+
return self._DomainName
|
16629
|
+
|
16630
|
+
@DomainName.setter
|
16631
|
+
def DomainName(self, DomainName):
|
16632
|
+
self._DomainName = DomainName
|
16633
|
+
|
16612
16634
|
|
16613
16635
|
def _deserialize(self, params):
|
16614
16636
|
self._VpcId = params.get("VpcId")
|
@@ -16621,6 +16643,8 @@ class ModifyVpcAttributeRequest(AbstractModel):
|
|
16621
16643
|
obj._deserialize(item)
|
16622
16644
|
self._Tags.append(obj)
|
16623
16645
|
self._Description = params.get("Description")
|
16646
|
+
self._DnsServers = params.get("DnsServers")
|
16647
|
+
self._DomainName = params.get("DomainName")
|
16624
16648
|
memeber_set = set(params.keys())
|
16625
16649
|
for name, value in vars(self).items():
|
16626
16650
|
property_name = name[1:]
|
@@ -556,6 +556,29 @@ class EmrClient(AbstractClient):
|
|
556
556
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
557
557
|
|
558
558
|
|
559
|
+
def DescribeTrinoQueryInfo(self, request):
|
560
|
+
"""获取trino查询结果
|
561
|
+
|
562
|
+
:param request: Request instance for DescribeTrinoQueryInfo.
|
563
|
+
:type request: :class:`tencentcloud.emr.v20190103.models.DescribeTrinoQueryInfoRequest`
|
564
|
+
:rtype: :class:`tencentcloud.emr.v20190103.models.DescribeTrinoQueryInfoResponse`
|
565
|
+
|
566
|
+
"""
|
567
|
+
try:
|
568
|
+
params = request._serialize()
|
569
|
+
headers = request.headers
|
570
|
+
body = self.call("DescribeTrinoQueryInfo", params, headers=headers)
|
571
|
+
response = json.loads(body)
|
572
|
+
model = models.DescribeTrinoQueryInfoResponse()
|
573
|
+
model._deserialize(response["Response"])
|
574
|
+
return model
|
575
|
+
except Exception as e:
|
576
|
+
if isinstance(e, TencentCloudSDKException):
|
577
|
+
raise
|
578
|
+
else:
|
579
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
580
|
+
|
581
|
+
|
559
582
|
def DescribeUsersForUserManager(self, request):
|
560
583
|
"""该接口支持安装了OpenLdap组件的集群。
|
561
584
|
批量导出用户。对于kerberos集群,如果需要kertab文件下载地址,可以将NeedKeytabInfo设置为true;注意SupportDownLoadKeyTab为true,但是DownLoadKeyTabUrl为空字符串,表示keytab文件在后台没有准备好(正在生成)。
|