tencentcloud-sdk-python 3.0.1363__py2.py3-none-any.whl → 3.0.1372__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/ams_client.py +17 -6
- tencentcloud/ams/v20201229/models.py +8 -6
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +2 -1
- tencentcloud/autoscaling/v20180419/models.py +198 -102
- tencentcloud/bi/v20220105/models.py +15 -0
- tencentcloud/cam/v20190116/models.py +0 -2
- tencentcloud/cat/v20180409/cat_client.py +23 -0
- tencentcloud/cat/v20180409/models.py +509 -0
- tencentcloud/cbs/v20170312/cbs_client.py +1 -1
- tencentcloud/cbs/v20170312/models.py +67 -56
- tencentcloud/ccc/v20200210/models.py +105 -56
- tencentcloud/cdb/v20170320/cdb_client.py +2 -2
- tencentcloud/cdb/v20170320/models.py +10 -10
- tencentcloud/cdc/v20201214/cdc_client.py +46 -0
- tencentcloud/cdc/v20201214/errorcodes.py +18 -0
- tencentcloud/cdc/v20201214/models.py +173 -0
- tencentcloud/cdn/v20180606/cdn_client.py +70 -24
- tencentcloud/cdn/v20180606/models.py +19 -4
- tencentcloud/cdwch/v20200915/errorcodes.py +15 -0
- tencentcloud/cdwpg/v20201230/models.py +0 -12
- tencentcloud/cfs/v20190719/models.py +15 -0
- tencentcloud/chc/v20230418/models.py +15 -0
- tencentcloud/ckafka/v20190819/models.py +0 -8
- tencentcloud/clb/v20180317/clb_client.py +1 -1
- tencentcloud/clb/v20180317/models.py +264 -370
- tencentcloud/cls/v20201016/models.py +35 -0
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/errorcodes.py +19 -1
- tencentcloud/cvm/v20170312/models.py +335 -40
- tencentcloud/cynosdb/v20190107/models.py +0 -6
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/models.py +109 -0
- tencentcloud/dc/v20180410/models.py +25 -12
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/models.py +124 -0
- tencentcloud/domain/v20180808/domain_client.py +4 -2
- tencentcloud/domain/v20180808/errorcodes.py +3 -0
- tencentcloud/domain/v20180808/models.py +584 -158
- tencentcloud/dsgc/v20190723/models.py +15 -0
- tencentcloud/dts/v20211206/models.py +1 -16
- tencentcloud/ecdn/v20191012/ecdn_client.py +18 -6
- tencentcloud/emr/v20190103/models.py +15 -0
- tencentcloud/ess/v20201111/models.py +16 -12
- tencentcloud/gs/v20191118/errorcodes.py +3 -0
- tencentcloud/gs/v20191118/gs_client.py +46 -0
- tencentcloud/gs/v20191118/models.py +295 -6
- tencentcloud/gwlb/v20240906/errorcodes.py +3 -0
- tencentcloud/gwlb/v20240906/gwlb_client.py +0 -1
- tencentcloud/gwlb/v20240906/models.py +4 -32
- tencentcloud/hai/v20230812/errorcodes.py +6 -0
- tencentcloud/hai/v20230812/hai_client.py +23 -0
- tencentcloud/hai/v20230812/models.py +109 -0
- tencentcloud/hunyuan/v20230901/models.py +2 -2
- tencentcloud/ims/v20201229/models.py +25 -4
- tencentcloud/ioa/v20220601/ioa_client.py +46 -0
- tencentcloud/ioa/v20220601/models.py +557 -4
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +3 -1
- tencentcloud/iotexplorer/v20190423/models.py +94 -4
- tencentcloud/iotvideoindustry/v20201201/models.py +15 -0
- tencentcloud/iss/v20230517/errorcodes.py +6 -0
- tencentcloud/iss/v20230517/iss_client.py +115 -0
- tencentcloud/iss/v20230517/models.py +1095 -12
- tencentcloud/lcic/v20220817/errorcodes.py +1 -1
- tencentcloud/lighthouse/v20200324/models.py +2 -0
- tencentcloud/live/v20180801/models.py +2 -2
- tencentcloud/lke/v20231130/errorcodes.py +3 -0
- tencentcloud/lke/v20231130/lke_client.py +4 -2
- tencentcloud/lke/v20231130/models.py +251 -16
- tencentcloud/lkeap/v20240522/lkeap_client.py +3 -3
- tencentcloud/lkeap/v20240522/models.py +193 -2
- tencentcloud/monitor/v20180724/models.py +8 -8
- tencentcloud/monitor/v20180724/monitor_client.py +1 -1
- tencentcloud/mps/v20190612/errorcodes.py +6 -0
- tencentcloud/mps/v20190612/models.py +135 -10
- tencentcloud/ocr/v20181119/models.py +38 -2
- tencentcloud/postgres/v20170312/models.py +36 -106
- tencentcloud/postgres/v20170312/postgres_client.py +15 -5
- tencentcloud/redis/v20180412/models.py +159 -6
- tencentcloud/ses/v20201002/models.py +15 -0
- tencentcloud/soe/v20180724/models.py +4 -2
- tencentcloud/ssm/v20190923/models.py +45 -0
- tencentcloud/tat/v20201028/errorcodes.py +6 -0
- tencentcloud/tat/v20201028/models.py +78 -32
- tencentcloud/tcss/v20201101/models.py +45 -0
- tencentcloud/tdmq/v20200217/models.py +115 -95
- tencentcloud/tdmq/v20200217/tdmq_client.py +3 -3
- tencentcloud/tds/v20220801/models.py +441 -0
- tencentcloud/tds/v20220801/tds_client.py +23 -0
- tencentcloud/tem/v20210701/models.py +0 -498
- tencentcloud/teo/v20220901/errorcodes.py +3 -0
- tencentcloud/teo/v20220901/models.py +47 -126
- tencentcloud/tione/v20211111/errorcodes.py +3 -0
- tencentcloud/tione/v20211111/models.py +744 -0
- tencentcloud/tione/v20211111/tione_client.py +23 -0
- tencentcloud/trtc/v20190722/models.py +4 -10
- tencentcloud/tse/v20201207/models.py +90 -0
- tencentcloud/tsf/v20180326/models.py +15 -0
- tencentcloud/tts/v20190823/tts_client.py +2 -2
- tencentcloud/vm/v20210922/models.py +2 -2
- tencentcloud/vm/v20210922/vm_client.py +16 -8
- tencentcloud/vod/v20180717/models.py +24 -12
- tencentcloud/vpc/v20170312/models.py +758 -84
- tencentcloud/vpc/v20170312/vpc_client.py +115 -0
- tencentcloud/waf/v20180125/models.py +378 -0
- tencentcloud/wedata/v20210820/models.py +391 -26
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/RECORD +112 -112
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/top_level.txt +0 -0
@@ -242,14 +242,17 @@ class ChatCompletionsRequest(AbstractModel):
|
|
242
242
|
:type Stream: bool
|
243
243
|
:param _Temperature: 控制生成的随机性,较高的值会产生更多样化的输出。
|
244
244
|
:type Temperature: float
|
245
|
-
:param _MaxTokens: 最大生成的token
|
245
|
+
:param _MaxTokens: 最大生成的token数量,默认为4096,最大可设置为16384
|
246
246
|
:type MaxTokens: int
|
247
|
+
:param _EnableSearch: 是否启用联网搜索
|
248
|
+
:type EnableSearch: bool
|
247
249
|
"""
|
248
250
|
self._Model = None
|
249
251
|
self._Messages = None
|
250
252
|
self._Stream = None
|
251
253
|
self._Temperature = None
|
252
254
|
self._MaxTokens = None
|
255
|
+
self._EnableSearch = None
|
253
256
|
|
254
257
|
@property
|
255
258
|
def Model(self):
|
@@ -302,7 +305,7 @@ class ChatCompletionsRequest(AbstractModel):
|
|
302
305
|
|
303
306
|
@property
|
304
307
|
def MaxTokens(self):
|
305
|
-
"""最大生成的token
|
308
|
+
"""最大生成的token数量,默认为4096,最大可设置为16384
|
306
309
|
:rtype: int
|
307
310
|
"""
|
308
311
|
return self._MaxTokens
|
@@ -311,6 +314,17 @@ class ChatCompletionsRequest(AbstractModel):
|
|
311
314
|
def MaxTokens(self, MaxTokens):
|
312
315
|
self._MaxTokens = MaxTokens
|
313
316
|
|
317
|
+
@property
|
318
|
+
def EnableSearch(self):
|
319
|
+
"""是否启用联网搜索
|
320
|
+
:rtype: bool
|
321
|
+
"""
|
322
|
+
return self._EnableSearch
|
323
|
+
|
324
|
+
@EnableSearch.setter
|
325
|
+
def EnableSearch(self, EnableSearch):
|
326
|
+
self._EnableSearch = EnableSearch
|
327
|
+
|
314
328
|
|
315
329
|
def _deserialize(self, params):
|
316
330
|
self._Model = params.get("Model")
|
@@ -323,6 +337,7 @@ class ChatCompletionsRequest(AbstractModel):
|
|
323
337
|
self._Stream = params.get("Stream")
|
324
338
|
self._Temperature = params.get("Temperature")
|
325
339
|
self._MaxTokens = params.get("MaxTokens")
|
340
|
+
self._EnableSearch = params.get("EnableSearch")
|
326
341
|
memeber_set = set(params.keys())
|
327
342
|
for name, value in vars(self).items():
|
328
343
|
property_name = name[1:]
|
@@ -2163,10 +2178,16 @@ class DocumentUsage(AbstractModel):
|
|
2163
2178
|
:type TotalToken: int
|
2164
2179
|
:param _TotalTokens: 文档拆分任务消耗的总token数
|
2165
2180
|
:type TotalTokens: int
|
2181
|
+
:param _SplitTokens: 拆分消耗的token数
|
2182
|
+
:type SplitTokens: int
|
2183
|
+
:param _MllmTokens: mllm消耗的token数
|
2184
|
+
:type MllmTokens: int
|
2166
2185
|
"""
|
2167
2186
|
self._PageNumber = None
|
2168
2187
|
self._TotalToken = None
|
2169
2188
|
self._TotalTokens = None
|
2189
|
+
self._SplitTokens = None
|
2190
|
+
self._MllmTokens = None
|
2170
2191
|
|
2171
2192
|
@property
|
2172
2193
|
def PageNumber(self):
|
@@ -2205,11 +2226,35 @@ class DocumentUsage(AbstractModel):
|
|
2205
2226
|
def TotalTokens(self, TotalTokens):
|
2206
2227
|
self._TotalTokens = TotalTokens
|
2207
2228
|
|
2229
|
+
@property
|
2230
|
+
def SplitTokens(self):
|
2231
|
+
"""拆分消耗的token数
|
2232
|
+
:rtype: int
|
2233
|
+
"""
|
2234
|
+
return self._SplitTokens
|
2235
|
+
|
2236
|
+
@SplitTokens.setter
|
2237
|
+
def SplitTokens(self, SplitTokens):
|
2238
|
+
self._SplitTokens = SplitTokens
|
2239
|
+
|
2240
|
+
@property
|
2241
|
+
def MllmTokens(self):
|
2242
|
+
"""mllm消耗的token数
|
2243
|
+
:rtype: int
|
2244
|
+
"""
|
2245
|
+
return self._MllmTokens
|
2246
|
+
|
2247
|
+
@MllmTokens.setter
|
2248
|
+
def MllmTokens(self, MllmTokens):
|
2249
|
+
self._MllmTokens = MllmTokens
|
2250
|
+
|
2208
2251
|
|
2209
2252
|
def _deserialize(self, params):
|
2210
2253
|
self._PageNumber = params.get("PageNumber")
|
2211
2254
|
self._TotalToken = params.get("TotalToken")
|
2212
2255
|
self._TotalTokens = params.get("TotalTokens")
|
2256
|
+
self._SplitTokens = params.get("SplitTokens")
|
2257
|
+
self._MllmTokens = params.get("MllmTokens")
|
2213
2258
|
memeber_set = set(params.keys())
|
2214
2259
|
for name, value in vars(self).items():
|
2215
2260
|
property_name = name[1:]
|
@@ -3290,10 +3335,13 @@ class Message(AbstractModel):
|
|
3290
3335
|
:param _ReasoningContent: 思维链内容。
|
3291
3336
|
ReasoningConent参数仅支持出参,且只有deepseek-r1模型会返回。
|
3292
3337
|
:type ReasoningContent: str
|
3338
|
+
:param _SearchResults: 搜索结果
|
3339
|
+
:type SearchResults: list of SearchResult
|
3293
3340
|
"""
|
3294
3341
|
self._Role = None
|
3295
3342
|
self._Content = None
|
3296
3343
|
self._ReasoningContent = None
|
3344
|
+
self._SearchResults = None
|
3297
3345
|
|
3298
3346
|
@property
|
3299
3347
|
def Role(self):
|
@@ -3329,11 +3377,28 @@ ReasoningConent参数仅支持出参,且只有deepseek-r1模型会返回。
|
|
3329
3377
|
def ReasoningContent(self, ReasoningContent):
|
3330
3378
|
self._ReasoningContent = ReasoningContent
|
3331
3379
|
|
3380
|
+
@property
|
3381
|
+
def SearchResults(self):
|
3382
|
+
"""搜索结果
|
3383
|
+
:rtype: list of SearchResult
|
3384
|
+
"""
|
3385
|
+
return self._SearchResults
|
3386
|
+
|
3387
|
+
@SearchResults.setter
|
3388
|
+
def SearchResults(self, SearchResults):
|
3389
|
+
self._SearchResults = SearchResults
|
3390
|
+
|
3332
3391
|
|
3333
3392
|
def _deserialize(self, params):
|
3334
3393
|
self._Role = params.get("Role")
|
3335
3394
|
self._Content = params.get("Content")
|
3336
3395
|
self._ReasoningContent = params.get("ReasoningContent")
|
3396
|
+
if params.get("SearchResults") is not None:
|
3397
|
+
self._SearchResults = []
|
3398
|
+
for item in params.get("SearchResults"):
|
3399
|
+
obj = SearchResult()
|
3400
|
+
obj._deserialize(item)
|
3401
|
+
self._SearchResults.append(obj)
|
3337
3402
|
memeber_set = set(params.keys())
|
3338
3403
|
for name, value in vars(self).items():
|
3339
3404
|
property_name = name[1:]
|
@@ -4759,6 +4824,132 @@ class RunRerankResponse(AbstractModel):
|
|
4759
4824
|
self._RequestId = params.get("RequestId")
|
4760
4825
|
|
4761
4826
|
|
4827
|
+
class SearchResult(AbstractModel):
|
4828
|
+
"""搜索结果
|
4829
|
+
|
4830
|
+
"""
|
4831
|
+
|
4832
|
+
def __init__(self):
|
4833
|
+
r"""
|
4834
|
+
:param _Index: 索引
|
4835
|
+
:type Index: int
|
4836
|
+
:param _Url: 链接地址
|
4837
|
+
:type Url: str
|
4838
|
+
:param _Name: 标题
|
4839
|
+
:type Name: str
|
4840
|
+
:param _Snippet: 摘要
|
4841
|
+
:type Snippet: str
|
4842
|
+
:param _Icon: 图标
|
4843
|
+
:type Icon: str
|
4844
|
+
:param _Site: 站点
|
4845
|
+
:type Site: str
|
4846
|
+
:param _PublishedTime: 1740412800
|
4847
|
+
:type PublishedTime: int
|
4848
|
+
"""
|
4849
|
+
self._Index = None
|
4850
|
+
self._Url = None
|
4851
|
+
self._Name = None
|
4852
|
+
self._Snippet = None
|
4853
|
+
self._Icon = None
|
4854
|
+
self._Site = None
|
4855
|
+
self._PublishedTime = None
|
4856
|
+
|
4857
|
+
@property
|
4858
|
+
def Index(self):
|
4859
|
+
"""索引
|
4860
|
+
:rtype: int
|
4861
|
+
"""
|
4862
|
+
return self._Index
|
4863
|
+
|
4864
|
+
@Index.setter
|
4865
|
+
def Index(self, Index):
|
4866
|
+
self._Index = Index
|
4867
|
+
|
4868
|
+
@property
|
4869
|
+
def Url(self):
|
4870
|
+
"""链接地址
|
4871
|
+
:rtype: str
|
4872
|
+
"""
|
4873
|
+
return self._Url
|
4874
|
+
|
4875
|
+
@Url.setter
|
4876
|
+
def Url(self, Url):
|
4877
|
+
self._Url = Url
|
4878
|
+
|
4879
|
+
@property
|
4880
|
+
def Name(self):
|
4881
|
+
"""标题
|
4882
|
+
:rtype: str
|
4883
|
+
"""
|
4884
|
+
return self._Name
|
4885
|
+
|
4886
|
+
@Name.setter
|
4887
|
+
def Name(self, Name):
|
4888
|
+
self._Name = Name
|
4889
|
+
|
4890
|
+
@property
|
4891
|
+
def Snippet(self):
|
4892
|
+
"""摘要
|
4893
|
+
:rtype: str
|
4894
|
+
"""
|
4895
|
+
return self._Snippet
|
4896
|
+
|
4897
|
+
@Snippet.setter
|
4898
|
+
def Snippet(self, Snippet):
|
4899
|
+
self._Snippet = Snippet
|
4900
|
+
|
4901
|
+
@property
|
4902
|
+
def Icon(self):
|
4903
|
+
"""图标
|
4904
|
+
:rtype: str
|
4905
|
+
"""
|
4906
|
+
return self._Icon
|
4907
|
+
|
4908
|
+
@Icon.setter
|
4909
|
+
def Icon(self, Icon):
|
4910
|
+
self._Icon = Icon
|
4911
|
+
|
4912
|
+
@property
|
4913
|
+
def Site(self):
|
4914
|
+
"""站点
|
4915
|
+
:rtype: str
|
4916
|
+
"""
|
4917
|
+
return self._Site
|
4918
|
+
|
4919
|
+
@Site.setter
|
4920
|
+
def Site(self, Site):
|
4921
|
+
self._Site = Site
|
4922
|
+
|
4923
|
+
@property
|
4924
|
+
def PublishedTime(self):
|
4925
|
+
"""1740412800
|
4926
|
+
:rtype: int
|
4927
|
+
"""
|
4928
|
+
return self._PublishedTime
|
4929
|
+
|
4930
|
+
@PublishedTime.setter
|
4931
|
+
def PublishedTime(self, PublishedTime):
|
4932
|
+
self._PublishedTime = PublishedTime
|
4933
|
+
|
4934
|
+
|
4935
|
+
def _deserialize(self, params):
|
4936
|
+
self._Index = params.get("Index")
|
4937
|
+
self._Url = params.get("Url")
|
4938
|
+
self._Name = params.get("Name")
|
4939
|
+
self._Snippet = params.get("Snippet")
|
4940
|
+
self._Icon = params.get("Icon")
|
4941
|
+
self._Site = params.get("Site")
|
4942
|
+
self._PublishedTime = params.get("PublishedTime")
|
4943
|
+
memeber_set = set(params.keys())
|
4944
|
+
for name, value in vars(self).items():
|
4945
|
+
property_name = name[1:]
|
4946
|
+
if property_name in memeber_set:
|
4947
|
+
memeber_set.remove(property_name)
|
4948
|
+
if len(memeber_set) > 0:
|
4949
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
4950
|
+
|
4951
|
+
|
4952
|
+
|
4762
4953
|
class SegmentationConfig(AbstractModel):
|
4763
4954
|
"""分段配置
|
4764
4955
|
|
@@ -38568,7 +38568,7 @@ class UpdateAlertRuleRequest(AbstractModel):
|
|
38568
38568
|
|
38569
38569
|
def __init__(self):
|
38570
38570
|
r"""
|
38571
|
-
:param _RuleId: Prometheus
|
38571
|
+
:param _RuleId: Prometheus 告警规则 ID
|
38572
38572
|
:type RuleId: str
|
38573
38573
|
:param _InstanceId: Prometheus 实例 ID
|
38574
38574
|
:type InstanceId: str
|
@@ -38586,13 +38586,13 @@ class UpdateAlertRuleRequest(AbstractModel):
|
|
38586
38586
|
:type Duration: str
|
38587
38587
|
:param _Receivers: 告警规则接收组列表(当前规则绑定的接收组列表可通过 DescribeAlertRules 接口获取;用户已有的接收组列表可通过 DescribeAlarmNotices 接口获取)
|
38588
38588
|
:type Receivers: list of str
|
38589
|
-
:param _Labels:
|
38589
|
+
:param _Labels: 告警规则标签列表
|
38590
38590
|
:type Labels: list of PrometheusRuleKV
|
38591
|
-
:param _Annotations:
|
38591
|
+
:param _Annotations: 告警规则注释列表。
|
38592
38592
|
|
38593
38593
|
告警对象和告警消息是 Prometheus Rule Annotations 的特殊字段,需要通过 annotations 来传递,对应的 Key 分别为summary/description。
|
38594
38594
|
:type Annotations: list of PrometheusRuleKV
|
38595
|
-
:param _Type:
|
38595
|
+
:param _Type: 告警策略模板分类(自定义,可不填)
|
38596
38596
|
:type Type: str
|
38597
38597
|
"""
|
38598
38598
|
self._RuleId = None
|
@@ -38608,7 +38608,7 @@ class UpdateAlertRuleRequest(AbstractModel):
|
|
38608
38608
|
|
38609
38609
|
@property
|
38610
38610
|
def RuleId(self):
|
38611
|
-
"""Prometheus
|
38611
|
+
"""Prometheus 告警规则 ID
|
38612
38612
|
:rtype: str
|
38613
38613
|
"""
|
38614
38614
|
return self._RuleId
|
@@ -38689,7 +38689,7 @@ class UpdateAlertRuleRequest(AbstractModel):
|
|
38689
38689
|
|
38690
38690
|
@property
|
38691
38691
|
def Labels(self):
|
38692
|
-
"""
|
38692
|
+
"""告警规则标签列表
|
38693
38693
|
:rtype: list of PrometheusRuleKV
|
38694
38694
|
"""
|
38695
38695
|
return self._Labels
|
@@ -38700,7 +38700,7 @@ class UpdateAlertRuleRequest(AbstractModel):
|
|
38700
38700
|
|
38701
38701
|
@property
|
38702
38702
|
def Annotations(self):
|
38703
|
-
"""
|
38703
|
+
"""告警规则注释列表。
|
38704
38704
|
|
38705
38705
|
告警对象和告警消息是 Prometheus Rule Annotations 的特殊字段,需要通过 annotations 来传递,对应的 Key 分别为summary/description。
|
38706
38706
|
:rtype: list of PrometheusRuleKV
|
@@ -38713,7 +38713,7 @@ class UpdateAlertRuleRequest(AbstractModel):
|
|
38713
38713
|
|
38714
38714
|
@property
|
38715
38715
|
def Type(self):
|
38716
|
-
"""
|
38716
|
+
"""告警策略模板分类(自定义,可不填)
|
38717
38717
|
:rtype: str
|
38718
38718
|
"""
|
38719
38719
|
return self._Type
|
@@ -3391,7 +3391,7 @@ class MonitorClient(AbstractClient):
|
|
3391
3391
|
def UpdateAlertRule(self, request):
|
3392
3392
|
"""更新 Prometheus 的告警规则。
|
3393
3393
|
|
3394
|
-
请注意,**告警对象和告警消息是 Prometheus Rule Annotations 的特殊字段,需要通过 annotations 来传递,对应的 Key 分别为summary/description
|
3394
|
+
请注意,**告警对象和告警消息是 Prometheus Rule Annotations 的特殊字段,需要通过 annotations 来传递,对应的 Key 分别为summary/description**,请参考 [Prometheus Rule更多配置请参考](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/)。
|
3395
3395
|
|
3396
3396
|
:param request: Request instance for UpdateAlertRule.
|
3397
3397
|
:type request: :class:`tencentcloud.monitor.v20180724.models.UpdateAlertRuleRequest`
|
@@ -398,6 +398,12 @@ INVALIDPARAMETERVALUE_XPOS = 'InvalidParameterValue.XPos'
|
|
398
398
|
# 水印原点距离视频图像坐标原点的垂直位置。支持 %、px 两种格式。
|
399
399
|
INVALIDPARAMETERVALUE_YPOS = 'InvalidParameterValue.YPos'
|
400
400
|
|
401
|
+
# 热词库创建数量到达默认上限
|
402
|
+
LIMITEXCEEDED_TOOMUCHHOTWORDS = 'LimitExceeded.TooMuchHotWords'
|
403
|
+
|
404
|
+
# 大型热词库创建到达上限
|
405
|
+
LIMITEXCEEDED_TOOMUCHLARGEHOTWORDS = 'LimitExceeded.TooMuchLargeHotWords'
|
406
|
+
|
401
407
|
# 超过限制值:模板数超限。
|
402
408
|
LIMITEXCEEDED_TOOMUCHTEMPLATE = 'LimitExceeded.TooMuchTemplate'
|
403
409
|
|
@@ -17363,20 +17363,23 @@ class CreateLiveRecordTemplateRequest(AbstractModel):
|
|
17363
17363
|
|
17364
17364
|
def __init__(self):
|
17365
17365
|
r"""
|
17366
|
-
:param _HLSConfigure: HLS
|
17366
|
+
:param _HLSConfigure: HLS配置参数,和MP4Configure需要二选一必填。
|
17367
17367
|
:type HLSConfigure: :class:`tencentcloud.mps.v20190612.models.HLSConfigureInfo`
|
17368
|
+
:param _MP4Configure: MP4配置参数,和HLSConfigure需要二选一必填。
|
17369
|
+
:type MP4Configure: :class:`tencentcloud.mps.v20190612.models.MP4ConfigureInfo`
|
17368
17370
|
:param _Name: 录制模板名称,长度限制:64 个字符。
|
17369
17371
|
:type Name: str
|
17370
17372
|
:param _Comment: 模板描述信息,长度限制:256 个字符。
|
17371
17373
|
:type Comment: str
|
17372
17374
|
"""
|
17373
17375
|
self._HLSConfigure = None
|
17376
|
+
self._MP4Configure = None
|
17374
17377
|
self._Name = None
|
17375
17378
|
self._Comment = None
|
17376
17379
|
|
17377
17380
|
@property
|
17378
17381
|
def HLSConfigure(self):
|
17379
|
-
"""HLS
|
17382
|
+
"""HLS配置参数,和MP4Configure需要二选一必填。
|
17380
17383
|
:rtype: :class:`tencentcloud.mps.v20190612.models.HLSConfigureInfo`
|
17381
17384
|
"""
|
17382
17385
|
return self._HLSConfigure
|
@@ -17385,6 +17388,17 @@ class CreateLiveRecordTemplateRequest(AbstractModel):
|
|
17385
17388
|
def HLSConfigure(self, HLSConfigure):
|
17386
17389
|
self._HLSConfigure = HLSConfigure
|
17387
17390
|
|
17391
|
+
@property
|
17392
|
+
def MP4Configure(self):
|
17393
|
+
"""MP4配置参数,和HLSConfigure需要二选一必填。
|
17394
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.MP4ConfigureInfo`
|
17395
|
+
"""
|
17396
|
+
return self._MP4Configure
|
17397
|
+
|
17398
|
+
@MP4Configure.setter
|
17399
|
+
def MP4Configure(self, MP4Configure):
|
17400
|
+
self._MP4Configure = MP4Configure
|
17401
|
+
|
17388
17402
|
@property
|
17389
17403
|
def Name(self):
|
17390
17404
|
"""录制模板名称,长度限制:64 个字符。
|
@@ -17412,6 +17426,9 @@ class CreateLiveRecordTemplateRequest(AbstractModel):
|
|
17412
17426
|
if params.get("HLSConfigure") is not None:
|
17413
17427
|
self._HLSConfigure = HLSConfigureInfo()
|
17414
17428
|
self._HLSConfigure._deserialize(params.get("HLSConfigure"))
|
17429
|
+
if params.get("MP4Configure") is not None:
|
17430
|
+
self._MP4Configure = MP4ConfigureInfo()
|
17431
|
+
self._MP4Configure._deserialize(params.get("MP4Configure"))
|
17415
17432
|
self._Name = params.get("Name")
|
17416
17433
|
self._Comment = params.get("Comment")
|
17417
17434
|
memeber_set = set(params.keys())
|
@@ -27392,7 +27409,7 @@ class DescribeSmartSubtitleTemplatesRequest(AbstractModel):
|
|
27392
27409
|
|
27393
27410
|
def __init__(self):
|
27394
27411
|
r"""
|
27395
|
-
:param _Definitions: 智能字幕模板唯一标识过滤条件,数组长度限制:
|
27412
|
+
:param _Definitions: 智能字幕模板唯一标识过滤条件,数组长度限制:100。
|
27396
27413
|
:type Definitions: list of int
|
27397
27414
|
:param _Offset: 分页偏移量,默认值:0。
|
27398
27415
|
:type Offset: int
|
@@ -27413,7 +27430,7 @@ class DescribeSmartSubtitleTemplatesRequest(AbstractModel):
|
|
27413
27430
|
|
27414
27431
|
@property
|
27415
27432
|
def Definitions(self):
|
27416
|
-
"""智能字幕模板唯一标识过滤条件,数组长度限制:
|
27433
|
+
"""智能字幕模板唯一标识过滤条件,数组长度限制:100。
|
27417
27434
|
:rtype: list of int
|
27418
27435
|
"""
|
27419
27436
|
return self._Definitions
|
@@ -36110,6 +36127,8 @@ class LiveRecordTemplate(AbstractModel):
|
|
36110
36127
|
:type Definition: int
|
36111
36128
|
:param _HLSConfigure: HLS 配置参数
|
36112
36129
|
:type HLSConfigure: :class:`tencentcloud.mps.v20190612.models.HLSConfigureInfo`
|
36130
|
+
:param _MP4Configure: MP4配置参数
|
36131
|
+
:type MP4Configure: :class:`tencentcloud.mps.v20190612.models.MP4ConfigureInfo`
|
36113
36132
|
:param _Name: 录制模板名称。
|
36114
36133
|
:type Name: str
|
36115
36134
|
:param _Comment: 模板描述信息。
|
@@ -36125,6 +36144,7 @@ class LiveRecordTemplate(AbstractModel):
|
|
36125
36144
|
"""
|
36126
36145
|
self._Definition = None
|
36127
36146
|
self._HLSConfigure = None
|
36147
|
+
self._MP4Configure = None
|
36128
36148
|
self._Name = None
|
36129
36149
|
self._Comment = None
|
36130
36150
|
self._Type = None
|
@@ -36153,6 +36173,17 @@ class LiveRecordTemplate(AbstractModel):
|
|
36153
36173
|
def HLSConfigure(self, HLSConfigure):
|
36154
36174
|
self._HLSConfigure = HLSConfigure
|
36155
36175
|
|
36176
|
+
@property
|
36177
|
+
def MP4Configure(self):
|
36178
|
+
"""MP4配置参数
|
36179
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.MP4ConfigureInfo`
|
36180
|
+
"""
|
36181
|
+
return self._MP4Configure
|
36182
|
+
|
36183
|
+
@MP4Configure.setter
|
36184
|
+
def MP4Configure(self, MP4Configure):
|
36185
|
+
self._MP4Configure = MP4Configure
|
36186
|
+
|
36156
36187
|
@property
|
36157
36188
|
def Name(self):
|
36158
36189
|
"""录制模板名称。
|
@@ -36216,6 +36247,9 @@ class LiveRecordTemplate(AbstractModel):
|
|
36216
36247
|
if params.get("HLSConfigure") is not None:
|
36217
36248
|
self._HLSConfigure = HLSConfigureInfo()
|
36218
36249
|
self._HLSConfigure._deserialize(params.get("HLSConfigure"))
|
36250
|
+
if params.get("MP4Configure") is not None:
|
36251
|
+
self._MP4Configure = MP4ConfigureInfo()
|
36252
|
+
self._MP4Configure._deserialize(params.get("MP4Configure"))
|
36219
36253
|
self._Name = params.get("Name")
|
36220
36254
|
self._Comment = params.get("Comment")
|
36221
36255
|
self._Type = params.get("Type")
|
@@ -39030,6 +39064,42 @@ class LowLightEnhanceConfig(AbstractModel):
|
|
39030
39064
|
|
39031
39065
|
|
39032
39066
|
|
39067
|
+
class MP4ConfigureInfo(AbstractModel):
|
39068
|
+
"""MP4配置参数
|
39069
|
+
|
39070
|
+
"""
|
39071
|
+
|
39072
|
+
def __init__(self):
|
39073
|
+
r"""
|
39074
|
+
:param _Interval: 录制周期,单位:秒,取值范围 10 分钟到720分钟。默认值:60分钟(3600秒)。
|
39075
|
+
:type Interval: int
|
39076
|
+
"""
|
39077
|
+
self._Interval = None
|
39078
|
+
|
39079
|
+
@property
|
39080
|
+
def Interval(self):
|
39081
|
+
"""录制周期,单位:秒,取值范围 10 分钟到720分钟。默认值:60分钟(3600秒)。
|
39082
|
+
:rtype: int
|
39083
|
+
"""
|
39084
|
+
return self._Interval
|
39085
|
+
|
39086
|
+
@Interval.setter
|
39087
|
+
def Interval(self, Interval):
|
39088
|
+
self._Interval = Interval
|
39089
|
+
|
39090
|
+
|
39091
|
+
def _deserialize(self, params):
|
39092
|
+
self._Interval = params.get("Interval")
|
39093
|
+
memeber_set = set(params.keys())
|
39094
|
+
for name, value in vars(self).items():
|
39095
|
+
property_name = name[1:]
|
39096
|
+
if property_name in memeber_set:
|
39097
|
+
memeber_set.remove(property_name)
|
39098
|
+
if len(memeber_set) > 0:
|
39099
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
39100
|
+
|
39101
|
+
|
39102
|
+
|
39033
39103
|
class ManageTaskRequest(AbstractModel):
|
39034
39104
|
"""ManageTask请求参数结构体
|
39035
39105
|
|
@@ -43659,7 +43729,10 @@ class ModifyAsrHotwordsRequest(AbstractModel):
|
|
43659
43729
|
|
43660
43730
|
def __init__(self):
|
43661
43731
|
r"""
|
43662
|
-
:param _HotwordsId: 热词库 id
|
43732
|
+
:param _HotwordsId: 热词库 id
|
43733
|
+
如果热词库是文本热词:Name 和 Content 至少填一个
|
43734
|
+
如果热词库是:Name、FileContent 和 FileName 至少填一个
|
43735
|
+
|
43663
43736
|
:type HotwordsId: str
|
43664
43737
|
:param _Name: 热词库名称
|
43665
43738
|
:type Name: str
|
@@ -43681,7 +43754,10 @@ class ModifyAsrHotwordsRequest(AbstractModel):
|
|
43681
43754
|
|
43682
43755
|
@property
|
43683
43756
|
def HotwordsId(self):
|
43684
|
-
"""热词库 id
|
43757
|
+
"""热词库 id
|
43758
|
+
如果热词库是文本热词:Name 和 Content 至少填一个
|
43759
|
+
如果热词库是:Name、FileContent 和 FileName 至少填一个
|
43760
|
+
|
43685
43761
|
:rtype: str
|
43686
43762
|
"""
|
43687
43763
|
return self._HotwordsId
|
@@ -44520,8 +44596,10 @@ class ModifyLiveRecordTemplateRequest(AbstractModel):
|
|
44520
44596
|
r"""
|
44521
44597
|
:param _Definition: 录制模板唯一标识。
|
44522
44598
|
:type Definition: int
|
44523
|
-
:param _HLSConfigure: HLS
|
44599
|
+
:param _HLSConfigure: HLS配置参数,和MP4Configure需要二选一必填。
|
44524
44600
|
:type HLSConfigure: :class:`tencentcloud.mps.v20190612.models.HLSConfigureInfo`
|
44601
|
+
:param _MP4Configure: MP4配置参数,和HLSConfigure需要二选一必填。
|
44602
|
+
:type MP4Configure: :class:`tencentcloud.mps.v20190612.models.MP4ConfigureInfo`
|
44525
44603
|
:param _Name: 录制模板名称,长度限制:64 个字符。
|
44526
44604
|
:type Name: str
|
44527
44605
|
:param _Comment: 模板描述信息,长度限制:256 个字符。
|
@@ -44529,6 +44607,7 @@ class ModifyLiveRecordTemplateRequest(AbstractModel):
|
|
44529
44607
|
"""
|
44530
44608
|
self._Definition = None
|
44531
44609
|
self._HLSConfigure = None
|
44610
|
+
self._MP4Configure = None
|
44532
44611
|
self._Name = None
|
44533
44612
|
self._Comment = None
|
44534
44613
|
|
@@ -44545,7 +44624,7 @@ class ModifyLiveRecordTemplateRequest(AbstractModel):
|
|
44545
44624
|
|
44546
44625
|
@property
|
44547
44626
|
def HLSConfigure(self):
|
44548
|
-
"""HLS
|
44627
|
+
"""HLS配置参数,和MP4Configure需要二选一必填。
|
44549
44628
|
:rtype: :class:`tencentcloud.mps.v20190612.models.HLSConfigureInfo`
|
44550
44629
|
"""
|
44551
44630
|
return self._HLSConfigure
|
@@ -44554,6 +44633,17 @@ class ModifyLiveRecordTemplateRequest(AbstractModel):
|
|
44554
44633
|
def HLSConfigure(self, HLSConfigure):
|
44555
44634
|
self._HLSConfigure = HLSConfigure
|
44556
44635
|
|
44636
|
+
@property
|
44637
|
+
def MP4Configure(self):
|
44638
|
+
"""MP4配置参数,和HLSConfigure需要二选一必填。
|
44639
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.MP4ConfigureInfo`
|
44640
|
+
"""
|
44641
|
+
return self._MP4Configure
|
44642
|
+
|
44643
|
+
@MP4Configure.setter
|
44644
|
+
def MP4Configure(self, MP4Configure):
|
44645
|
+
self._MP4Configure = MP4Configure
|
44646
|
+
|
44557
44647
|
@property
|
44558
44648
|
def Name(self):
|
44559
44649
|
"""录制模板名称,长度限制:64 个字符。
|
@@ -44582,6 +44672,9 @@ class ModifyLiveRecordTemplateRequest(AbstractModel):
|
|
44582
44672
|
if params.get("HLSConfigure") is not None:
|
44583
44673
|
self._HLSConfigure = HLSConfigureInfo()
|
44584
44674
|
self._HLSConfigure._deserialize(params.get("HLSConfigure"))
|
44675
|
+
if params.get("MP4Configure") is not None:
|
44676
|
+
self._MP4Configure = MP4ConfigureInfo()
|
44677
|
+
self._MP4Configure._deserialize(params.get("MP4Configure"))
|
44585
44678
|
self._Name = params.get("Name")
|
44586
44679
|
self._Comment = params.get("Comment")
|
44587
44680
|
memeber_set = set(params.keys())
|
@@ -50839,9 +50932,12 @@ class QualityControlData(AbstractModel):
|
|
50839
50932
|
:param _NoVideo: 为true时表示视频无视频轨。
|
50840
50933
|
注意:此字段可能返回 null,表示取不到有效值。
|
50841
50934
|
:type NoVideo: bool
|
50842
|
-
:param _QualityEvaluationScore:
|
50935
|
+
:param _QualityEvaluationScore: 视频无参考质量评分,百分制。
|
50843
50936
|
注意:此字段可能返回 null,表示取不到有效值。
|
50844
50937
|
:type QualityEvaluationScore: int
|
50938
|
+
:param _QualityEvaluationMeanOpinionScore: 视频无参考质量评分,MOS分数。
|
50939
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
50940
|
+
:type QualityEvaluationMeanOpinionScore: float
|
50845
50941
|
:param _QualityControlResultSet: 内容质检检出异常项。
|
50846
50942
|
注意:此字段可能返回 null,表示取不到有效值。
|
50847
50943
|
:type QualityControlResultSet: list of QualityControlResult
|
@@ -50852,6 +50948,7 @@ class QualityControlData(AbstractModel):
|
|
50852
50948
|
self._NoAudio = None
|
50853
50949
|
self._NoVideo = None
|
50854
50950
|
self._QualityEvaluationScore = None
|
50951
|
+
self._QualityEvaluationMeanOpinionScore = None
|
50855
50952
|
self._QualityControlResultSet = None
|
50856
50953
|
self._ContainerDiagnoseResultSet = None
|
50857
50954
|
|
@@ -50881,7 +50978,7 @@ class QualityControlData(AbstractModel):
|
|
50881
50978
|
|
50882
50979
|
@property
|
50883
50980
|
def QualityEvaluationScore(self):
|
50884
|
-
"""
|
50981
|
+
"""视频无参考质量评分,百分制。
|
50885
50982
|
注意:此字段可能返回 null,表示取不到有效值。
|
50886
50983
|
:rtype: int
|
50887
50984
|
"""
|
@@ -50891,6 +50988,18 @@ class QualityControlData(AbstractModel):
|
|
50891
50988
|
def QualityEvaluationScore(self, QualityEvaluationScore):
|
50892
50989
|
self._QualityEvaluationScore = QualityEvaluationScore
|
50893
50990
|
|
50991
|
+
@property
|
50992
|
+
def QualityEvaluationMeanOpinionScore(self):
|
50993
|
+
"""视频无参考质量评分,MOS分数。
|
50994
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
50995
|
+
:rtype: float
|
50996
|
+
"""
|
50997
|
+
return self._QualityEvaluationMeanOpinionScore
|
50998
|
+
|
50999
|
+
@QualityEvaluationMeanOpinionScore.setter
|
51000
|
+
def QualityEvaluationMeanOpinionScore(self, QualityEvaluationMeanOpinionScore):
|
51001
|
+
self._QualityEvaluationMeanOpinionScore = QualityEvaluationMeanOpinionScore
|
51002
|
+
|
50894
51003
|
@property
|
50895
51004
|
def QualityControlResultSet(self):
|
50896
51005
|
"""内容质检检出异常项。
|
@@ -50920,6 +51029,7 @@ class QualityControlData(AbstractModel):
|
|
50920
51029
|
self._NoAudio = params.get("NoAudio")
|
50921
51030
|
self._NoVideo = params.get("NoVideo")
|
50922
51031
|
self._QualityEvaluationScore = params.get("QualityEvaluationScore")
|
51032
|
+
self._QualityEvaluationMeanOpinionScore = params.get("QualityEvaluationMeanOpinionScore")
|
50923
51033
|
if params.get("QualityControlResultSet") is not None:
|
50924
51034
|
self._QualityControlResultSet = []
|
50925
51035
|
for item in params.get("QualityControlResultSet"):
|
@@ -62711,10 +62821,13 @@ class WordResult(AbstractModel):
|
|
62711
62821
|
:type Start: float
|
62712
62822
|
:param _End: 字词结束时间戳,单位秒。
|
62713
62823
|
:type End: float
|
62824
|
+
:param _Trans: 翻译文本
|
62825
|
+
:type Trans: str
|
62714
62826
|
"""
|
62715
62827
|
self._Word = None
|
62716
62828
|
self._Start = None
|
62717
62829
|
self._End = None
|
62830
|
+
self._Trans = None
|
62718
62831
|
|
62719
62832
|
@property
|
62720
62833
|
def Word(self):
|
@@ -62749,11 +62862,23 @@ class WordResult(AbstractModel):
|
|
62749
62862
|
def End(self, End):
|
62750
62863
|
self._End = End
|
62751
62864
|
|
62865
|
+
@property
|
62866
|
+
def Trans(self):
|
62867
|
+
"""翻译文本
|
62868
|
+
:rtype: str
|
62869
|
+
"""
|
62870
|
+
return self._Trans
|
62871
|
+
|
62872
|
+
@Trans.setter
|
62873
|
+
def Trans(self, Trans):
|
62874
|
+
self._Trans = Trans
|
62875
|
+
|
62752
62876
|
|
62753
62877
|
def _deserialize(self, params):
|
62754
62878
|
self._Word = params.get("Word")
|
62755
62879
|
self._Start = params.get("Start")
|
62756
62880
|
self._End = params.get("End")
|
62881
|
+
self._Trans = params.get("Trans")
|
62757
62882
|
memeber_set = set(params.keys())
|
62758
62883
|
for name, value in vars(self).items():
|
62759
62884
|
property_name = name[1:]
|