tencentcloud-sdk-python 3.0.1333__py2.py3-none-any.whl → 3.0.1335__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/acp/v20220105/models.py +0 -32
- tencentcloud/aiart/v20221229/models.py +2 -0
- tencentcloud/antiddos/v20200309/models.py +2 -2
- tencentcloud/apm/v20210622/models.py +63 -55
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +3 -2
- tencentcloud/billing/v20180709/models.py +30 -474
- tencentcloud/cat/v20180409/models.py +2 -2
- tencentcloud/ciam/v20220331/models.py +0 -92
- tencentcloud/cls/v20201016/models.py +0 -2
- tencentcloud/common/abstract_client.py +3 -0
- tencentcloud/controlcenter/v20230110/controlcenter_client.py +92 -0
- tencentcloud/controlcenter/v20230110/errorcodes.py +9 -0
- tencentcloud/controlcenter/v20230110/models.py +947 -3
- tencentcloud/csip/v20221121/models.py +94 -4
- tencentcloud/cvm/v20170312/cvm_client.py +92 -0
- tencentcloud/cvm/v20170312/errorcodes.py +9 -0
- tencentcloud/cvm/v20170312/models.py +1627 -332
- tencentcloud/cynosdb/v20190107/models.py +17 -2
- tencentcloud/dbbrain/v20191016/models.py +0 -6
- tencentcloud/dbbrain/v20210527/models.py +0 -12
- tencentcloud/dlc/v20210125/models.py +32 -0
- tencentcloud/emr/v20190103/models.py +17 -0
- tencentcloud/es/v20180416/models.py +15 -0
- tencentcloud/goosefs/v20220519/models.py +0 -10
- tencentcloud/gwlb/v20240906/models.py +34 -2
- tencentcloud/ims/v20201229/ims_client.py +18 -12
- tencentcloud/iotcloud/v20210408/models.py +15 -15
- tencentcloud/keewidb/v20220308/models.py +0 -78
- tencentcloud/lcic/v20220817/models.py +75 -54
- tencentcloud/live/v20180801/models.py +8 -58
- tencentcloud/lke/v20231130/errorcodes.py +0 -12
- tencentcloud/lke/v20231130/lke_client.py +46 -50
- tencentcloud/lke/v20231130/models.py +385 -284
- tencentcloud/lowcode/v20210108/models.py +182 -2
- tencentcloud/mariadb/v20170312/models.py +10 -10
- tencentcloud/mongodb/v20190725/models.py +10 -4
- tencentcloud/mqtt/v20240516/models.py +238 -0
- tencentcloud/mqtt/v20240516/mqtt_client.py +46 -0
- tencentcloud/ocr/v20181119/errorcodes.py +3 -0
- tencentcloud/ocr/v20181119/models.py +32 -28
- tencentcloud/ocr/v20181119/ocr_client.py +1 -1
- tencentcloud/partners/v20180321/models.py +197 -0
- tencentcloud/partners/v20180321/partners_client.py +23 -0
- tencentcloud/pts/v20210728/models.py +68 -6
- tencentcloud/redis/v20180412/models.py +0 -66
- tencentcloud/rum/v20210622/models.py +150 -0
- tencentcloud/tag/v20180813/models.py +2 -2
- tencentcloud/tat/v20201028/models.py +494 -180
- tencentcloud/tat/v20201028/tat_client.py +2 -2
- tencentcloud/tdmq/v20200217/models.py +192 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
- tencentcloud/teo/v20220901/models.py +14 -4
- tencentcloud/tke/v20180525/models.py +0 -312
- tencentcloud/tke/v20220501/models.py +0 -2
- tencentcloud/tms/v20201229/models.py +15 -0
- tencentcloud/tsf/v20180326/models.py +0 -880
- tencentcloud/vdb/v20230616/models.py +0 -12
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/waf/v20180125/models.py +0 -6
- tencentcloud/wedata/v20210820/models.py +173 -0
- {tencentcloud_sdk_python-3.0.1333.dist-info → tencentcloud_sdk_python-3.0.1335.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1333.dist-info → tencentcloud_sdk_python-3.0.1335.dist-info}/RECORD +66 -66
- {tencentcloud_sdk_python-3.0.1333.dist-info → tencentcloud_sdk_python-3.0.1335.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1333.dist-info → tencentcloud_sdk_python-3.0.1335.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1333.dist-info → tencentcloud_sdk_python-3.0.1335.dist-info}/top_level.txt +0 -0
@@ -1102,29 +1102,23 @@ class BackupStreamDetailData(AbstractModel):
|
|
1102
1102
|
def __init__(self):
|
1103
1103
|
r"""
|
1104
1104
|
:param _DomainName: 推流域名。
|
1105
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1106
1105
|
:type DomainName: str
|
1107
1106
|
:param _AppName: 推流路径。
|
1108
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1109
1107
|
:type AppName: str
|
1110
1108
|
:param _PublishTime: UTC 格式,例如:2018-06-29T19:00:00Z。
|
1111
1109
|
注意:和北京时间相差8小时。
|
1112
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1113
1110
|
:type PublishTime: str
|
1114
1111
|
:param _UpstreamSequence: 推流唯一标识。
|
1115
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1116
1112
|
:type UpstreamSequence: str
|
1117
1113
|
:param _SourceFrom: 推流来源。示例:
|
1118
1114
|
直推流;
|
1119
1115
|
拉流转推(1234);
|
1120
1116
|
注意:拉流转推来源括号中为拉流转推的任务
|
1121
1117
|
ID。
|
1122
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1123
1118
|
:type SourceFrom: str
|
1124
1119
|
:param _MasterFlag: 主备标识。
|
1125
1120
|
当前流为主流:1,
|
1126
1121
|
当前流为备流: 0。
|
1127
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1128
1122
|
:type MasterFlag: int
|
1129
1123
|
"""
|
1130
1124
|
self._DomainName = None
|
@@ -1137,7 +1131,6 @@ class BackupStreamDetailData(AbstractModel):
|
|
1137
1131
|
@property
|
1138
1132
|
def DomainName(self):
|
1139
1133
|
"""推流域名。
|
1140
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1141
1134
|
:rtype: str
|
1142
1135
|
"""
|
1143
1136
|
return self._DomainName
|
@@ -1149,7 +1142,6 @@ class BackupStreamDetailData(AbstractModel):
|
|
1149
1142
|
@property
|
1150
1143
|
def AppName(self):
|
1151
1144
|
"""推流路径。
|
1152
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1153
1145
|
:rtype: str
|
1154
1146
|
"""
|
1155
1147
|
return self._AppName
|
@@ -1162,7 +1154,6 @@ class BackupStreamDetailData(AbstractModel):
|
|
1162
1154
|
def PublishTime(self):
|
1163
1155
|
""" UTC 格式,例如:2018-06-29T19:00:00Z。
|
1164
1156
|
注意:和北京时间相差8小时。
|
1165
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1166
1157
|
:rtype: str
|
1167
1158
|
"""
|
1168
1159
|
return self._PublishTime
|
@@ -1174,7 +1165,6 @@ class BackupStreamDetailData(AbstractModel):
|
|
1174
1165
|
@property
|
1175
1166
|
def UpstreamSequence(self):
|
1176
1167
|
"""推流唯一标识。
|
1177
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1178
1168
|
:rtype: str
|
1179
1169
|
"""
|
1180
1170
|
return self._UpstreamSequence
|
@@ -1190,7 +1180,6 @@ class BackupStreamDetailData(AbstractModel):
|
|
1190
1180
|
拉流转推(1234);
|
1191
1181
|
注意:拉流转推来源括号中为拉流转推的任务
|
1192
1182
|
ID。
|
1193
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1194
1183
|
:rtype: str
|
1195
1184
|
"""
|
1196
1185
|
return self._SourceFrom
|
@@ -1204,7 +1193,6 @@ class BackupStreamDetailData(AbstractModel):
|
|
1204
1193
|
"""主备标识。
|
1205
1194
|
当前流为主流:1,
|
1206
1195
|
当前流为备流: 0。
|
1207
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1208
1196
|
:rtype: int
|
1209
1197
|
"""
|
1210
1198
|
return self._MasterFlag
|
@@ -1239,18 +1227,14 @@ class BackupStreamGroupInfo(AbstractModel):
|
|
1239
1227
|
def __init__(self):
|
1240
1228
|
r"""
|
1241
1229
|
:param _StreamName: 流名称。
|
1242
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1243
1230
|
:type StreamName: str
|
1244
1231
|
:param _BackupList: 主备流信息。
|
1245
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1246
1232
|
:type BackupList: list of BackupStreamDetailData
|
1247
1233
|
:param _OptimalEnable: 是否对该流开启了择优调度。
|
1248
1234
|
0 - 未开启。
|
1249
1235
|
1 - 已开启。
|
1250
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1251
1236
|
:type OptimalEnable: int
|
1252
1237
|
:param _HostGroupName: 域名分组的分组名称。
|
1253
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1254
1238
|
:type HostGroupName: str
|
1255
1239
|
"""
|
1256
1240
|
self._StreamName = None
|
@@ -1261,7 +1245,6 @@ class BackupStreamGroupInfo(AbstractModel):
|
|
1261
1245
|
@property
|
1262
1246
|
def StreamName(self):
|
1263
1247
|
"""流名称。
|
1264
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1265
1248
|
:rtype: str
|
1266
1249
|
"""
|
1267
1250
|
return self._StreamName
|
@@ -1273,7 +1256,6 @@ class BackupStreamGroupInfo(AbstractModel):
|
|
1273
1256
|
@property
|
1274
1257
|
def BackupList(self):
|
1275
1258
|
"""主备流信息。
|
1276
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1277
1259
|
:rtype: list of BackupStreamDetailData
|
1278
1260
|
"""
|
1279
1261
|
return self._BackupList
|
@@ -1287,7 +1269,6 @@ class BackupStreamGroupInfo(AbstractModel):
|
|
1287
1269
|
"""是否对该流开启了择优调度。
|
1288
1270
|
0 - 未开启。
|
1289
1271
|
1 - 已开启。
|
1290
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1291
1272
|
:rtype: int
|
1292
1273
|
"""
|
1293
1274
|
return self._OptimalEnable
|
@@ -1299,7 +1280,6 @@ class BackupStreamGroupInfo(AbstractModel):
|
|
1299
1280
|
@property
|
1300
1281
|
def HostGroupName(self):
|
1301
1282
|
"""域名分组的分组名称。
|
1302
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1303
1283
|
:rtype: str
|
1304
1284
|
"""
|
1305
1285
|
return self._HostGroupName
|
@@ -17956,13 +17936,9 @@ class DescribeLiveStreamEventListRequest(AbstractModel):
|
|
17956
17936
|
|
17957
17937
|
def __init__(self):
|
17958
17938
|
r"""
|
17959
|
-
:param _StartTime: 起始时间。
|
17960
|
-
UTC 格式,例如:2018-12-29T19:00:00Z。
|
17961
|
-
支持查询60天内的历史记录。
|
17939
|
+
:param _StartTime: 起始时间。 UTC 格式,例如:2018-12-29T19:00:00Z。支持查询2个月内的历史记录。
|
17962
17940
|
:type StartTime: str
|
17963
|
-
:param _EndTime: 结束时间。
|
17964
|
-
UTC 格式,例如:2018-12-29T20:00:00Z。
|
17965
|
-
不超过当前时间,且和起始时间相差不得超过30天。
|
17941
|
+
:param _EndTime: 结束时间。UTC 格式,例如:2018-12-29T20:00:00Z。不超过当前时间,且和起始时间相差不得超过1个月。
|
17966
17942
|
:type EndTime: str
|
17967
17943
|
:param _AppName: 推流路径,与推流和播放地址中的AppName保持一致,默认为 live。
|
17968
17944
|
:type AppName: str
|
@@ -18008,9 +17984,7 @@ UTC 格式,例如:2018-12-29T20:00:00Z。
|
|
18008
17984
|
|
18009
17985
|
@property
|
18010
17986
|
def StartTime(self):
|
18011
|
-
"""起始时间。
|
18012
|
-
UTC 格式,例如:2018-12-29T19:00:00Z。
|
18013
|
-
支持查询60天内的历史记录。
|
17987
|
+
"""起始时间。 UTC 格式,例如:2018-12-29T19:00:00Z。支持查询2个月内的历史记录。
|
18014
17988
|
:rtype: str
|
18015
17989
|
"""
|
18016
17990
|
return self._StartTime
|
@@ -18021,9 +17995,7 @@ UTC 格式,例如:2018-12-29T19:00:00Z。
|
|
18021
17995
|
|
18022
17996
|
@property
|
18023
17997
|
def EndTime(self):
|
18024
|
-
"""结束时间。
|
18025
|
-
UTC 格式,例如:2018-12-29T20:00:00Z。
|
18026
|
-
不超过当前时间,且和起始时间相差不得超过30天。
|
17998
|
+
"""结束时间。UTC 格式,例如:2018-12-29T20:00:00Z。不超过当前时间,且和起始时间相差不得超过1个月。
|
18027
17999
|
:rtype: str
|
18028
18000
|
"""
|
18029
18001
|
return self._EndTime
|
@@ -18676,14 +18648,9 @@ class DescribeLiveStreamPublishedListRequest(AbstractModel):
|
|
18676
18648
|
r"""
|
18677
18649
|
:param _DomainName: 您的推流域名。
|
18678
18650
|
:type DomainName: str
|
18679
|
-
:param _EndTime: 结束时间。
|
18680
|
-
UTC 格式,例如:2016-06-30T19:00:00Z。
|
18681
|
-
不超过当前时间。
|
18682
|
-
注意:EndTime和StartTime相差不可超过30天。
|
18651
|
+
:param _EndTime: 结束时间。UTC 格式,例如:2016-06-30T19:00:00Z。不超过当前时间。注意:EndTime和StartTime相差不可超过1个月。
|
18683
18652
|
:type EndTime: str
|
18684
|
-
:param _StartTime: 起始时间。
|
18685
|
-
UTC 格式,例如:2016-06-29T19:00:00Z。
|
18686
|
-
最长支持查询60天内数据。
|
18653
|
+
:param _StartTime: 起始时间。 UTC 格式,例如:2016-06-29T19:00:00Z。最长支持查询2个月内数据。
|
18687
18654
|
:type StartTime: str
|
18688
18655
|
:param _AppName: 推流路径,与推流和播放地址中的 AppName 保持一致,默认为 live。不支持模糊匹配。
|
18689
18656
|
:type AppName: str
|
@@ -18719,10 +18686,7 @@ UTC 格式,例如:2016-06-29T19:00:00Z。
|
|
18719
18686
|
|
18720
18687
|
@property
|
18721
18688
|
def EndTime(self):
|
18722
|
-
"""结束时间。
|
18723
|
-
UTC 格式,例如:2016-06-30T19:00:00Z。
|
18724
|
-
不超过当前时间。
|
18725
|
-
注意:EndTime和StartTime相差不可超过30天。
|
18689
|
+
"""结束时间。UTC 格式,例如:2016-06-30T19:00:00Z。不超过当前时间。注意:EndTime和StartTime相差不可超过1个月。
|
18726
18690
|
:rtype: str
|
18727
18691
|
"""
|
18728
18692
|
return self._EndTime
|
@@ -18733,9 +18697,7 @@ UTC 格式,例如:2016-06-30T19:00:00Z。
|
|
18733
18697
|
|
18734
18698
|
@property
|
18735
18699
|
def StartTime(self):
|
18736
|
-
"""起始时间。
|
18737
|
-
UTC 格式,例如:2016-06-29T19:00:00Z。
|
18738
|
-
最长支持查询60天内数据。
|
18700
|
+
"""起始时间。 UTC 格式,例如:2016-06-29T19:00:00Z。最长支持查询2个月内数据。
|
18739
18701
|
:rtype: str
|
18740
18702
|
"""
|
18741
18703
|
return self._StartTime
|
@@ -24952,10 +24914,8 @@ class DomainCertInfo(AbstractModel):
|
|
24952
24914
|
:type Status: int
|
24953
24915
|
:param _CertDomains: 证书本身标识的域名列表。
|
24954
24916
|
比如: ["*.x.com"]
|
24955
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
24956
24917
|
:type CertDomains: list of str
|
24957
24918
|
:param _CloudCertId: 腾讯云ssl的证书Id
|
24958
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
24959
24919
|
:type CloudCertId: str
|
24960
24920
|
"""
|
24961
24921
|
self._CertId = None
|
@@ -25077,7 +25037,6 @@ class DomainCertInfo(AbstractModel):
|
|
25077
25037
|
def CertDomains(self):
|
25078
25038
|
"""证书本身标识的域名列表。
|
25079
25039
|
比如: ["*.x.com"]
|
25080
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25081
25040
|
:rtype: list of str
|
25082
25041
|
"""
|
25083
25042
|
return self._CertDomains
|
@@ -25089,7 +25048,6 @@ class DomainCertInfo(AbstractModel):
|
|
25089
25048
|
@property
|
25090
25049
|
def CloudCertId(self):
|
25091
25050
|
"""腾讯云ssl的证书Id
|
25092
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25093
25051
|
:rtype: str
|
25094
25052
|
"""
|
25095
25053
|
return self._CloudCertId
|
@@ -25265,7 +25223,6 @@ class DomainInfo(AbstractModel):
|
|
25265
25223
|
:type RentExpireTime: str
|
25266
25224
|
:param _IsMiniProgramLive: 0: 标准直播。
|
25267
25225
|
1: 小程序直播。
|
25268
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25269
25226
|
:type IsMiniProgramLive: int
|
25270
25227
|
"""
|
25271
25228
|
self._Name = None
|
@@ -25419,7 +25376,6 @@ class DomainInfo(AbstractModel):
|
|
25419
25376
|
def IsMiniProgramLive(self):
|
25420
25377
|
"""0: 标准直播。
|
25421
25378
|
1: 小程序直播。
|
25422
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
25423
25379
|
:rtype: int
|
25424
25380
|
"""
|
25425
25381
|
return self._IsMiniProgramLive
|
@@ -39372,13 +39328,10 @@ class XP2PDetailInfo(AbstractModel):
|
|
39372
39328
|
:param _Time: 时间,一分钟粒度,utc格式:yyyy-mm-ddTHH:MM:SSZ,参考https://cloud.tencent.com/document/product/266/11732#I。。
|
39373
39329
|
:type Time: str
|
39374
39330
|
:param _Type: 类型,分live和vod两种。
|
39375
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
39376
39331
|
:type Type: str
|
39377
39332
|
:param _StreamName: 流ID。
|
39378
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
39379
39333
|
:type StreamName: str
|
39380
39334
|
:param _AppId: AppId。
|
39381
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
39382
39335
|
:type AppId: str
|
39383
39336
|
"""
|
39384
39337
|
self._CdnBytes = None
|
@@ -39484,7 +39437,6 @@ class XP2PDetailInfo(AbstractModel):
|
|
39484
39437
|
@property
|
39485
39438
|
def Type(self):
|
39486
39439
|
"""类型,分live和vod两种。
|
39487
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
39488
39440
|
:rtype: str
|
39489
39441
|
"""
|
39490
39442
|
return self._Type
|
@@ -39496,7 +39448,6 @@ class XP2PDetailInfo(AbstractModel):
|
|
39496
39448
|
@property
|
39497
39449
|
def StreamName(self):
|
39498
39450
|
"""流ID。
|
39499
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
39500
39451
|
:rtype: str
|
39501
39452
|
"""
|
39502
39453
|
return self._StreamName
|
@@ -39508,7 +39459,6 @@ class XP2PDetailInfo(AbstractModel):
|
|
39508
39459
|
@property
|
39509
39460
|
def AppId(self):
|
39510
39461
|
"""AppId。
|
39511
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
39512
39462
|
:rtype: str
|
39513
39463
|
"""
|
39514
39464
|
return self._AppId
|
@@ -41,27 +41,15 @@ FAILEDOPERATION_UNKNOWFILETYPEERROR = 'FailedOperation.UnKnowFileTypeError'
|
|
41
41
|
# 服务未开通。
|
42
42
|
FAILEDOPERATION_UNOPENERROR = 'FailedOperation.UnOpenError'
|
43
43
|
|
44
|
-
# 内部错误。
|
45
|
-
INTERNALERROR = 'InternalError'
|
46
|
-
|
47
|
-
# 参数错误。
|
48
|
-
INVALIDPARAMETER = 'InvalidParameter'
|
49
|
-
|
50
44
|
# 参数值错误。
|
51
45
|
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUELIMIT = 'InvalidParameterValue.InvalidParameterValueLimit'
|
52
46
|
|
53
|
-
# 超过配额限制。
|
54
|
-
LIMITEXCEEDED = 'LimitExceeded'
|
55
|
-
|
56
47
|
# 文件内容太大。
|
57
48
|
LIMITEXCEEDED_TOOLARGEFILEERROR = 'LimitExceeded.TooLargeFileError'
|
58
49
|
|
59
50
|
# 缺少参数错误。
|
60
51
|
MISSINGPARAMETER = 'MissingParameter'
|
61
52
|
|
62
|
-
# 请求的次数超过了频率限制。
|
63
|
-
REQUESTLIMITEXCEEDED = 'RequestLimitExceeded'
|
64
|
-
|
65
53
|
# 账号已欠费。
|
66
54
|
RESOURCEUNAVAILABLE_INARREARS = 'ResourceUnavailable.InArrears'
|
67
55
|
|
@@ -307,6 +307,29 @@ class LkeClient(AbstractClient):
|
|
307
307
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
308
308
|
|
309
309
|
|
310
|
+
def CreateVar(self, request):
|
311
|
+
"""创建变量
|
312
|
+
|
313
|
+
:param request: Request instance for CreateVar.
|
314
|
+
:type request: :class:`tencentcloud.lke.v20231130.models.CreateVarRequest`
|
315
|
+
:rtype: :class:`tencentcloud.lke.v20231130.models.CreateVarResponse`
|
316
|
+
|
317
|
+
"""
|
318
|
+
try:
|
319
|
+
params = request._serialize()
|
320
|
+
headers = request.headers
|
321
|
+
body = self.call("CreateVar", params, headers=headers)
|
322
|
+
response = json.loads(body)
|
323
|
+
model = models.CreateVarResponse()
|
324
|
+
model._deserialize(response["Response"])
|
325
|
+
return model
|
326
|
+
except Exception as e:
|
327
|
+
if isinstance(e, TencentCloudSDKException):
|
328
|
+
raise
|
329
|
+
else:
|
330
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
331
|
+
|
332
|
+
|
310
333
|
def DeleteApp(self, request):
|
311
334
|
"""删除应用
|
312
335
|
|
@@ -1228,6 +1251,29 @@ class LkeClient(AbstractClient):
|
|
1228
1251
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1229
1252
|
|
1230
1253
|
|
1254
|
+
def GetVarList(self, request):
|
1255
|
+
"""查询自定义变量列表
|
1256
|
+
|
1257
|
+
:param request: Request instance for GetVarList.
|
1258
|
+
:type request: :class:`tencentcloud.lke.v20231130.models.GetVarListRequest`
|
1259
|
+
:rtype: :class:`tencentcloud.lke.v20231130.models.GetVarListResponse`
|
1260
|
+
|
1261
|
+
"""
|
1262
|
+
try:
|
1263
|
+
params = request._serialize()
|
1264
|
+
headers = request.headers
|
1265
|
+
body = self.call("GetVarList", params, headers=headers)
|
1266
|
+
response = json.loads(body)
|
1267
|
+
model = models.GetVarListResponse()
|
1268
|
+
model._deserialize(response["Response"])
|
1269
|
+
return model
|
1270
|
+
except Exception as e:
|
1271
|
+
if isinstance(e, TencentCloudSDKException):
|
1272
|
+
raise
|
1273
|
+
else:
|
1274
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1275
|
+
|
1276
|
+
|
1231
1277
|
def GetWsToken(self, request):
|
1232
1278
|
"""获取ws token
|
1233
1279
|
|
@@ -1964,56 +2010,6 @@ class LkeClient(AbstractClient):
|
|
1964
2010
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1965
2011
|
|
1966
2012
|
|
1967
|
-
def ParseDoc(self, request):
|
1968
|
-
"""接口已迁移到新接口了,无调用量
|
1969
|
-
|
1970
|
-
接口即将下线,请切换使用新接口:[文档解析](https://cloud.tencent.com/document/product/1759/107504)
|
1971
|
-
|
1972
|
-
:param request: Request instance for ParseDoc.
|
1973
|
-
:type request: :class:`tencentcloud.lke.v20231130.models.ParseDocRequest`
|
1974
|
-
:rtype: :class:`tencentcloud.lke.v20231130.models.ParseDocResponse`
|
1975
|
-
|
1976
|
-
"""
|
1977
|
-
try:
|
1978
|
-
params = request._serialize()
|
1979
|
-
headers = request.headers
|
1980
|
-
body = self.call("ParseDoc", params, headers=headers)
|
1981
|
-
response = json.loads(body)
|
1982
|
-
model = models.ParseDocResponse()
|
1983
|
-
model._deserialize(response["Response"])
|
1984
|
-
return model
|
1985
|
-
except Exception as e:
|
1986
|
-
if isinstance(e, TencentCloudSDKException):
|
1987
|
-
raise
|
1988
|
-
else:
|
1989
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1990
|
-
|
1991
|
-
|
1992
|
-
def QueryParseDocResult(self, request):
|
1993
|
-
"""接口已迁移到新接口了,无调用量
|
1994
|
-
|
1995
|
-
查询文档解析结果。该接口需开通文档解析原子能力后调用。文档解析原子能力内测中,如有需要请联系架构师或[联系客服](https://cloud.tencent.com/act/event/Online_service) 。
|
1996
|
-
|
1997
|
-
:param request: Request instance for QueryParseDocResult.
|
1998
|
-
:type request: :class:`tencentcloud.lke.v20231130.models.QueryParseDocResultRequest`
|
1999
|
-
:rtype: :class:`tencentcloud.lke.v20231130.models.QueryParseDocResultResponse`
|
2000
|
-
|
2001
|
-
"""
|
2002
|
-
try:
|
2003
|
-
params = request._serialize()
|
2004
|
-
headers = request.headers
|
2005
|
-
body = self.call("QueryParseDocResult", params, headers=headers)
|
2006
|
-
response = json.loads(body)
|
2007
|
-
model = models.QueryParseDocResultResponse()
|
2008
|
-
model._deserialize(response["Response"])
|
2009
|
-
return model
|
2010
|
-
except Exception as e:
|
2011
|
-
if isinstance(e, TencentCloudSDKException):
|
2012
|
-
raise
|
2013
|
-
else:
|
2014
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2015
|
-
|
2016
|
-
|
2017
2013
|
def QueryRewrite(self, request):
|
2018
2014
|
"""多轮改写(QueryRewrite)主要用于多轮对话中,进行指代消解和省略补全。使用本接口,无需输入prompt描述,根据对话历史即可生成更精确的用户查询。在应用场景上,本接口可应用于智能问答、对话式搜索等多种场景。
|
2019
2015
|
本接口(QueryRewrite)有单账号调用上限控制,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。
|