tencentcloud-sdk-python 3.0.1144__py2.py3-none-any.whl → 3.0.1146__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/antiddos/v20200309/models.py +2 -2
- tencentcloud/asr/v20190614/models.py +5 -5
- tencentcloud/cdb/v20170320/models.py +23 -2
- tencentcloud/cdwdoris/v20211228/models.py +96 -0
- tencentcloud/clb/v20180317/models.py +12 -0
- tencentcloud/cynosdb/v20190107/models.py +511 -0
- tencentcloud/dsgc/v20190723/models.py +1 -1
- tencentcloud/dts/v20211206/models.py +1 -1
- tencentcloud/emr/v20190103/models.py +39 -0
- tencentcloud/es/v20180416/models.py +13 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +6 -79
- tencentcloud/essbasic/v20210526/models.py +2 -47
- tencentcloud/faceid/v20180301/models.py +2 -0
- tencentcloud/ocr/v20181119/errorcodes.py +3 -0
- tencentcloud/ocr/v20181119/models.py +101 -13
- tencentcloud/tione/v20191022/models.py +0 -84
- tencentcloud/tione/v20191022/tione_client.py +0 -23
- tencentcloud/tione/v20211111/errorcodes.py +6 -0
- tencentcloud/tione/v20211111/models.py +49 -0
- tencentcloud/tke/v20220501/models.py +1 -1
- tencentcloud/trtc/v20190722/models.py +12 -0
- tencentcloud/tse/v20201207/models.py +64 -0
- tencentcloud/vod/v20180717/models.py +3 -2
- {tencentcloud_sdk_python-3.0.1144.dist-info → tencentcloud_sdk_python-3.0.1146.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1144.dist-info → tencentcloud_sdk_python-3.0.1146.dist-info}/RECORD +29 -29
- {tencentcloud_sdk_python-3.0.1144.dist-info → tencentcloud_sdk_python-3.0.1146.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1144.dist-info → tencentcloud_sdk_python-3.0.1146.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1144.dist-info → tencentcloud_sdk_python-3.0.1146.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -6984,9 +6984,9 @@ class DescribeBgpBizTrendRequest(AbstractModel):
|
|
6984
6984
|
r"""
|
6985
6985
|
:param _Business: DDoS防护子产品代号(bgp-multip表示高防包)
|
6986
6986
|
:type Business: str
|
6987
|
-
:param _StartTime: 统计开始时间。 例:“2020-09-22 00:00:00
|
6987
|
+
:param _StartTime: 统计开始时间。 例:“2020-09-22 00:00:00”,注意该时间必须为5分钟的倍数
|
6988
6988
|
:type StartTime: str
|
6989
|
-
:param _EndTime: 统计结束时间。 例:“2020-09-22 00:00:00
|
6989
|
+
:param _EndTime: 统计结束时间。 例:“2020-09-22 00:00:00”,注意该时间必须为5分钟的倍数
|
6990
6990
|
:type EndTime: str
|
6991
6991
|
:param _MetricName: 统计纬度,可取值intraffic, outtraffic, inpkg, outpkg
|
6992
6992
|
:type MetricName: str
|
@@ -721,31 +721,31 @@ class CreateRecTaskRequest(AbstractModel):
|
|
721
721
|
1:开启;
|
722
722
|
默认值为0
|
723
723
|
:type EmotionalEnergy: int
|
724
|
-
:param _ConvertNumMode:
|
724
|
+
:param _ConvertNumMode: 阿拉伯数字智能转换(目前支持中文普通话引擎)
|
725
725
|
0:不转换,直接输出中文数字;
|
726
726
|
1:根据场景智能转换为阿拉伯数字;
|
727
727
|
3:打开数学相关数字转换(如:阿尔法转写为α);
|
728
728
|
默认值为 1
|
729
729
|
:type ConvertNumMode: int
|
730
|
-
:param _FilterDirty:
|
730
|
+
:param _FilterDirty: 脏词过滤(目前支持中文普通话引擎)
|
731
731
|
0:不过滤脏词;
|
732
732
|
1:过滤脏词;
|
733
733
|
2:将脏词替换为 * ;
|
734
734
|
默认值为 0
|
735
735
|
:type FilterDirty: int
|
736
|
-
:param _FilterPunc:
|
736
|
+
:param _FilterPunc: 标点符号过滤(目前支持中文普通话引擎)
|
737
737
|
0:不过滤标点;
|
738
738
|
1:过滤句末标点;
|
739
739
|
2:过滤所有标点;
|
740
740
|
默认值为 0
|
741
741
|
:type FilterPunc: int
|
742
|
-
:param _FilterModal:
|
742
|
+
:param _FilterModal: 语气词过滤(目前支持中文普通话引擎)
|
743
743
|
0:不过滤语气词;
|
744
744
|
1:过滤部分语气词;
|
745
745
|
2:严格过滤语气词;
|
746
746
|
默认值为 0
|
747
747
|
:type FilterModal: int
|
748
|
-
:param _SentenceMaxLength:
|
748
|
+
:param _SentenceMaxLength: 单标点最多字数(目前支持中文普通话引擎)
|
749
749
|
**可控制单行字幕最大字数,适用于字幕生成场景**,取值范围:[6,40]
|
750
750
|
0:不开启该功能;
|
751
751
|
默认值为0
|
@@ -648,6 +648,13 @@ class AdjustCdbProxyRequest(AbstractModel):
|
|
648
648
|
:param _ProxyGroupId: 代理组ID
|
649
649
|
:type ProxyGroupId: str
|
650
650
|
:param _ProxyNodeCustom: 节点规格配置
|
651
|
+
备注:数据库代理支持的节点规格为:2C4000MB、4C8000MB、8C16000MB。
|
652
|
+
示例中参数说明:
|
653
|
+
NodeCount:节点个数
|
654
|
+
Region:节点地域
|
655
|
+
Zone:节点可用区
|
656
|
+
Cpu:单个代理节点核数(单位:核)
|
657
|
+
Mem:单个代理节点内存数(单位:MB)
|
651
658
|
:type ProxyNodeCustom: list of ProxyNodeCustom
|
652
659
|
:param _ReloadBalance: 重新负载均衡:auto(自动),manual(手动)
|
653
660
|
:type ReloadBalance: str
|
@@ -5808,12 +5815,20 @@ class CreateCdbProxyRequest(AbstractModel):
|
|
5808
5815
|
:param _UniqSubnetId: 私有子网ID
|
5809
5816
|
:type UniqSubnetId: str
|
5810
5817
|
:param _ProxyNodeCustom: 节点规格配置
|
5818
|
+
备注:数据库代理支持的节点规格为:2C4000MB、4C8000MB、8C16000MB。
|
5819
|
+
示例中参数说明:
|
5820
|
+
NodeCount:节点个数。
|
5821
|
+
Region:节点地域。
|
5822
|
+
Zone:节点可用区。
|
5823
|
+
Cpu:单个代理节点核数(单位:核)。
|
5824
|
+
Mem:单个代理节点内存数(单位:MB)。
|
5811
5825
|
:type ProxyNodeCustom: list of ProxyNodeCustom
|
5812
5826
|
:param _SecurityGroup: 安全组
|
5813
5827
|
:type SecurityGroup: list of str
|
5814
5828
|
:param _Desc: 描述
|
5815
5829
|
:type Desc: str
|
5816
5830
|
:param _ConnectionPoolLimit: 连接池阈值
|
5831
|
+
注意:如需使用数据库代理连接池能力,MySQL 8.0 主实例的内核小版本要大于等于 MySQL 8.0 20230630。
|
5817
5832
|
:type ConnectionPoolLimit: int
|
5818
5833
|
:param _ProxyVersion: 指定要购买的 proxy 内核版本。不填则默认发货最新版本的 proxy。
|
5819
5834
|
:type ProxyVersion: str
|
@@ -6482,7 +6497,8 @@ class CreateDBInstanceHourRequest(AbstractModel):
|
|
6482
6497
|
:type ClientToken: str
|
6483
6498
|
:param _DeviceType: 实例隔离类型。支持值包括: "UNIVERSAL" - 通用型实例, "EXCLUSIVE" - 独享型实例, "BASIC_V2" - ONTKE单节点实例。 不指定则默认为通用型实例。
|
6484
6499
|
:type DeviceType: str
|
6485
|
-
:param _ParamTemplateId: 参数模板id。
|
6500
|
+
:param _ParamTemplateId: 参数模板 id。
|
6501
|
+
备注:如您使用自定义参数模板 id,可传入自定义参数模板 id;如您计划使用默认参数模板,该参数模板 id 传入 id 无效,需设置 ParamTemplateType。
|
6486
6502
|
:type ParamTemplateId: int
|
6487
6503
|
:param _AlarmPolicyList: 告警策略id数组。腾讯云可观测平台DescribeAlarmPolicy接口返回的OriginId。
|
6488
6504
|
:type AlarmPolicyList: list of int
|
@@ -6495,6 +6511,7 @@ class CreateDBInstanceHourRequest(AbstractModel):
|
|
6495
6511
|
:param _CageId: 金融围拢 ID 。
|
6496
6512
|
:type CageId: str
|
6497
6513
|
:param _ParamTemplateType: 默认参数模板类型。支持值包括:"HIGH_STABILITY" - 高稳定模板,"HIGH_PERFORMANCE" - 高性能模板,默认值是:"HIGH_STABILITY"。
|
6514
|
+
备注:如您需使用云数据库 MySQL 默认参数模板,请设置 ParamTemplateType。
|
6498
6515
|
:type ParamTemplateType: str
|
6499
6516
|
:param _AlarmPolicyIdList: 告警策略名数组,例如:["policy-uyoee9wg"],AlarmPolicyList不为空时该参数无效。
|
6500
6517
|
:type AlarmPolicyIdList: list of str
|
@@ -7010,7 +7027,8 @@ class CreateDBInstanceRequest(AbstractModel):
|
|
7010
7027
|
:type ClientToken: str
|
7011
7028
|
:param _DeviceType: 实例隔离类型。支持值包括: "UNIVERSAL" - 通用型实例, "EXCLUSIVE" - 独享型实例, "BASIC_V2" - ONTKE单节点实例。 不指定则默认为通用型实例。
|
7012
7029
|
:type DeviceType: str
|
7013
|
-
:param _ParamTemplateId: 参数模板id。
|
7030
|
+
:param _ParamTemplateId: 参数模板 id。
|
7031
|
+
备注:如您使用自定义参数模板 id,可传入自定义参数模板 id;如您计划使用默认参数模板,该参数模板 id 传入 id 无效,需设置 ParamTemplateType。
|
7014
7032
|
:type ParamTemplateId: int
|
7015
7033
|
:param _AlarmPolicyList: 告警策略id数组。腾讯云可观测平台DescribeAlarmPolicy接口返回的OriginId。
|
7016
7034
|
:type AlarmPolicyList: list of int
|
@@ -7023,6 +7041,7 @@ class CreateDBInstanceRequest(AbstractModel):
|
|
7023
7041
|
:param _CageId: 金融围拢 ID。
|
7024
7042
|
:type CageId: str
|
7025
7043
|
:param _ParamTemplateType: 默认参数模板类型。支持值包括:"HIGH_STABILITY" - 高稳定模板,"HIGH_PERFORMANCE" - 高性能模板。
|
7044
|
+
备注:如您需使用云数据库 MySQL 默认参数模板,请设置 ParamTemplateType。
|
7026
7045
|
:type ParamTemplateType: str
|
7027
7046
|
:param _AlarmPolicyIdList: 告警策略名数组,例如:["policy-uyoee9wg"],AlarmPolicyList不为空时该参数无效。
|
7028
7047
|
:type AlarmPolicyIdList: list of str
|
@@ -22091,6 +22110,7 @@ class ModifyCdbProxyParamRequest(AbstractModel):
|
|
22091
22110
|
:param _ProxyGroupId: 代理组ID
|
22092
22111
|
:type ProxyGroupId: str
|
22093
22112
|
:param _ConnectionPoolLimit: 连接池阈值
|
22113
|
+
注意:如需使用数据库代理连接池能力,MySQL 8.0 主实例的内核小版本要大于等于 MySQL 8.0 20230630。
|
22094
22114
|
:type ConnectionPoolLimit: int
|
22095
22115
|
"""
|
22096
22116
|
self._InstanceId = None
|
@@ -29601,6 +29621,7 @@ class UpgradeDBInstanceRequest(AbstractModel):
|
|
29601
29621
|
:param _WaitSwitch: 切换访问新实例的方式,默认为 0。支持值包括:0 - 立刻切换,1 - 时间窗切换;当该值为 1 时,升级过程中,切换访问新实例的流程将会在时间窗内进行,或者用户主动调用接口 [切换访问新实例](https://cloud.tencent.com/document/product/236/15864) 触发该流程。
|
29602
29622
|
:type WaitSwitch: int
|
29603
29623
|
:param _BackupZone: 备库 2 的可用区信息,默认为空,升级主实例时可指定该参数,升级只读实例或者灾备实例时指定该参数无意义。
|
29624
|
+
备注:如您要将三节点降级至双节点,将该参数设置为空值即可实现。
|
29604
29625
|
:type BackupZone: str
|
29605
29626
|
:param _InstanceRole: 实例类型,默认为 master,支持值包括:master - 表示主实例,dr - 表示灾备实例,ro - 表示只读实例。
|
29606
29627
|
:type InstanceRole: str
|
@@ -2133,12 +2133,24 @@ class DescribeSlowQueryRecordsDownloadRequest(AbstractModel):
|
|
2133
2133
|
:type EndTime: str
|
2134
2134
|
:param _DurationMs: 排序参数
|
2135
2135
|
:type DurationMs: str
|
2136
|
+
:param _Sql: 查询sql
|
2137
|
+
:type Sql: str
|
2138
|
+
:param _ReadRows: 排序参数
|
2139
|
+
:type ReadRows: str
|
2140
|
+
:param _ResultBytes: 排序参数
|
2141
|
+
:type ResultBytes: str
|
2142
|
+
:param _MemoryUsage: 排序参数
|
2143
|
+
:type MemoryUsage: str
|
2136
2144
|
"""
|
2137
2145
|
self._InstanceId = None
|
2138
2146
|
self._QueryDurationMs = None
|
2139
2147
|
self._StartTime = None
|
2140
2148
|
self._EndTime = None
|
2141
2149
|
self._DurationMs = None
|
2150
|
+
self._Sql = None
|
2151
|
+
self._ReadRows = None
|
2152
|
+
self._ResultBytes = None
|
2153
|
+
self._MemoryUsage = None
|
2142
2154
|
|
2143
2155
|
@property
|
2144
2156
|
def InstanceId(self):
|
@@ -2180,6 +2192,38 @@ class DescribeSlowQueryRecordsDownloadRequest(AbstractModel):
|
|
2180
2192
|
def DurationMs(self, DurationMs):
|
2181
2193
|
self._DurationMs = DurationMs
|
2182
2194
|
|
2195
|
+
@property
|
2196
|
+
def Sql(self):
|
2197
|
+
return self._Sql
|
2198
|
+
|
2199
|
+
@Sql.setter
|
2200
|
+
def Sql(self, Sql):
|
2201
|
+
self._Sql = Sql
|
2202
|
+
|
2203
|
+
@property
|
2204
|
+
def ReadRows(self):
|
2205
|
+
return self._ReadRows
|
2206
|
+
|
2207
|
+
@ReadRows.setter
|
2208
|
+
def ReadRows(self, ReadRows):
|
2209
|
+
self._ReadRows = ReadRows
|
2210
|
+
|
2211
|
+
@property
|
2212
|
+
def ResultBytes(self):
|
2213
|
+
return self._ResultBytes
|
2214
|
+
|
2215
|
+
@ResultBytes.setter
|
2216
|
+
def ResultBytes(self, ResultBytes):
|
2217
|
+
self._ResultBytes = ResultBytes
|
2218
|
+
|
2219
|
+
@property
|
2220
|
+
def MemoryUsage(self):
|
2221
|
+
return self._MemoryUsage
|
2222
|
+
|
2223
|
+
@MemoryUsage.setter
|
2224
|
+
def MemoryUsage(self, MemoryUsage):
|
2225
|
+
self._MemoryUsage = MemoryUsage
|
2226
|
+
|
2183
2227
|
|
2184
2228
|
def _deserialize(self, params):
|
2185
2229
|
self._InstanceId = params.get("InstanceId")
|
@@ -2187,6 +2231,10 @@ class DescribeSlowQueryRecordsDownloadRequest(AbstractModel):
|
|
2187
2231
|
self._StartTime = params.get("StartTime")
|
2188
2232
|
self._EndTime = params.get("EndTime")
|
2189
2233
|
self._DurationMs = params.get("DurationMs")
|
2234
|
+
self._Sql = params.get("Sql")
|
2235
|
+
self._ReadRows = params.get("ReadRows")
|
2236
|
+
self._ResultBytes = params.get("ResultBytes")
|
2237
|
+
self._MemoryUsage = params.get("MemoryUsage")
|
2190
2238
|
memeber_set = set(params.keys())
|
2191
2239
|
for name, value in vars(self).items():
|
2192
2240
|
property_name = name[1:]
|
@@ -2261,6 +2309,14 @@ class DescribeSlowQueryRecordsRequest(AbstractModel):
|
|
2261
2309
|
:type IsQuery: int
|
2262
2310
|
:param _CatalogName: catalog名称
|
2263
2311
|
:type CatalogName: list of str
|
2312
|
+
:param _Sql: sql名
|
2313
|
+
:type Sql: str
|
2314
|
+
:param _ReadRows: ReadRows排序字段
|
2315
|
+
:type ReadRows: str
|
2316
|
+
:param _ResultBytes: ResultBytes排序字段
|
2317
|
+
:type ResultBytes: str
|
2318
|
+
:param _MemoryUsage: MemoryUsage排序字段
|
2319
|
+
:type MemoryUsage: str
|
2264
2320
|
"""
|
2265
2321
|
self._InstanceId = None
|
2266
2322
|
self._QueryDurationMs = None
|
@@ -2272,6 +2328,10 @@ class DescribeSlowQueryRecordsRequest(AbstractModel):
|
|
2272
2328
|
self._DbName = None
|
2273
2329
|
self._IsQuery = None
|
2274
2330
|
self._CatalogName = None
|
2331
|
+
self._Sql = None
|
2332
|
+
self._ReadRows = None
|
2333
|
+
self._ResultBytes = None
|
2334
|
+
self._MemoryUsage = None
|
2275
2335
|
|
2276
2336
|
@property
|
2277
2337
|
def InstanceId(self):
|
@@ -2353,6 +2413,38 @@ class DescribeSlowQueryRecordsRequest(AbstractModel):
|
|
2353
2413
|
def CatalogName(self, CatalogName):
|
2354
2414
|
self._CatalogName = CatalogName
|
2355
2415
|
|
2416
|
+
@property
|
2417
|
+
def Sql(self):
|
2418
|
+
return self._Sql
|
2419
|
+
|
2420
|
+
@Sql.setter
|
2421
|
+
def Sql(self, Sql):
|
2422
|
+
self._Sql = Sql
|
2423
|
+
|
2424
|
+
@property
|
2425
|
+
def ReadRows(self):
|
2426
|
+
return self._ReadRows
|
2427
|
+
|
2428
|
+
@ReadRows.setter
|
2429
|
+
def ReadRows(self, ReadRows):
|
2430
|
+
self._ReadRows = ReadRows
|
2431
|
+
|
2432
|
+
@property
|
2433
|
+
def ResultBytes(self):
|
2434
|
+
return self._ResultBytes
|
2435
|
+
|
2436
|
+
@ResultBytes.setter
|
2437
|
+
def ResultBytes(self, ResultBytes):
|
2438
|
+
self._ResultBytes = ResultBytes
|
2439
|
+
|
2440
|
+
@property
|
2441
|
+
def MemoryUsage(self):
|
2442
|
+
return self._MemoryUsage
|
2443
|
+
|
2444
|
+
@MemoryUsage.setter
|
2445
|
+
def MemoryUsage(self, MemoryUsage):
|
2446
|
+
self._MemoryUsage = MemoryUsage
|
2447
|
+
|
2356
2448
|
|
2357
2449
|
def _deserialize(self, params):
|
2358
2450
|
self._InstanceId = params.get("InstanceId")
|
@@ -2365,6 +2457,10 @@ class DescribeSlowQueryRecordsRequest(AbstractModel):
|
|
2365
2457
|
self._DbName = params.get("DbName")
|
2366
2458
|
self._IsQuery = params.get("IsQuery")
|
2367
2459
|
self._CatalogName = params.get("CatalogName")
|
2460
|
+
self._Sql = params.get("Sql")
|
2461
|
+
self._ReadRows = params.get("ReadRows")
|
2462
|
+
self._ResultBytes = params.get("ResultBytes")
|
2463
|
+
self._MemoryUsage = params.get("MemoryUsage")
|
2368
2464
|
memeber_set = set(params.keys())
|
2369
2465
|
for name, value in vars(self).items():
|
2370
2466
|
property_name = name[1:]
|
@@ -16736,11 +16736,14 @@ class TargetGroupAssociation(AbstractModel):
|
|
16736
16736
|
:type ListenerId: str
|
16737
16737
|
:param _LocationId: 转发规则ID
|
16738
16738
|
:type LocationId: str
|
16739
|
+
:param _Weight: 目标组权重,范围[0, 100]。仅绑定v2目标组时生效,如果不存在,则默认为10。
|
16740
|
+
:type Weight: int
|
16739
16741
|
"""
|
16740
16742
|
self._LoadBalancerId = None
|
16741
16743
|
self._TargetGroupId = None
|
16742
16744
|
self._ListenerId = None
|
16743
16745
|
self._LocationId = None
|
16746
|
+
self._Weight = None
|
16744
16747
|
|
16745
16748
|
@property
|
16746
16749
|
def LoadBalancerId(self):
|
@@ -16774,12 +16777,21 @@ class TargetGroupAssociation(AbstractModel):
|
|
16774
16777
|
def LocationId(self, LocationId):
|
16775
16778
|
self._LocationId = LocationId
|
16776
16779
|
|
16780
|
+
@property
|
16781
|
+
def Weight(self):
|
16782
|
+
return self._Weight
|
16783
|
+
|
16784
|
+
@Weight.setter
|
16785
|
+
def Weight(self, Weight):
|
16786
|
+
self._Weight = Weight
|
16787
|
+
|
16777
16788
|
|
16778
16789
|
def _deserialize(self, params):
|
16779
16790
|
self._LoadBalancerId = params.get("LoadBalancerId")
|
16780
16791
|
self._TargetGroupId = params.get("TargetGroupId")
|
16781
16792
|
self._ListenerId = params.get("ListenerId")
|
16782
16793
|
self._LocationId = params.get("LocationId")
|
16794
|
+
self._Weight = params.get("Weight")
|
16783
16795
|
memeber_set = set(params.keys())
|
16784
16796
|
for name, value in vars(self).items():
|
16785
16797
|
property_name = name[1:]
|