tencentcloud-sdk-python 3.0.1343__py2.py3-none-any.whl → 3.0.1344__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.
Files changed (38) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/billing/v20180709/models.py +0 -14
  3. tencentcloud/cdb/v20170320/cdb_client.py +23 -0
  4. tencentcloud/cdb/v20170320/models.py +117 -0
  5. tencentcloud/clb/v20180317/models.py +39 -10
  6. tencentcloud/cls/v20201016/models.py +17 -186
  7. tencentcloud/cynosdb/v20190107/models.py +2 -2
  8. tencentcloud/dbbrain/v20191016/models.py +0 -16
  9. tencentcloud/dbbrain/v20210527/models.py +0 -14
  10. tencentcloud/domain/v20180808/models.py +0 -8
  11. tencentcloud/ess/v20201111/models.py +4 -2
  12. tencentcloud/essbasic/v20210526/models.py +4 -2
  13. tencentcloud/fmu/v20191213/errorcodes.py +3 -0
  14. tencentcloud/fmu/v20191213/models.py +4 -4
  15. tencentcloud/goosefs/v20220519/models.py +0 -2
  16. tencentcloud/gwlb/v20240906/models.py +4 -4
  17. tencentcloud/hai/v20230812/errorcodes.py +1 -1
  18. tencentcloud/iotcloud/v20210408/models.py +2 -4
  19. tencentcloud/lighthouse/v20200324/models.py +12 -20
  20. tencentcloud/lke/v20231130/models.py +15 -0
  21. tencentcloud/lowcode/v20210108/models.py +0 -2
  22. tencentcloud/monitor/v20180724/models.py +251 -0
  23. tencentcloud/monitor/v20180724/monitor_client.py +23 -0
  24. tencentcloud/mps/v20190612/errorcodes.py +34 -0
  25. tencentcloud/mps/v20190612/models.py +4129 -429
  26. tencentcloud/mps/v20190612/mps_client.py +208 -0
  27. tencentcloud/redis/v20180412/models.py +64 -0
  28. tencentcloud/redis/v20180412/redis_client.py +23 -0
  29. tencentcloud/tcb/v20180608/models.py +109 -153
  30. tencentcloud/tcb/v20180608/tcb_client.py +23 -0
  31. tencentcloud/tdmq/v20200217/models.py +158 -282
  32. tencentcloud/wedata/v20210820/models.py +90 -0
  33. tencentcloud/weilingwith/v20230427/models.py +0 -964
  34. {tencentcloud_sdk_python-3.0.1343.dist-info → tencentcloud_sdk_python-3.0.1344.dist-info}/METADATA +1 -1
  35. {tencentcloud_sdk_python-3.0.1343.dist-info → tencentcloud_sdk_python-3.0.1344.dist-info}/RECORD +38 -38
  36. {tencentcloud_sdk_python-3.0.1343.dist-info → tencentcloud_sdk_python-3.0.1344.dist-info}/LICENSE +0 -0
  37. {tencentcloud_sdk_python-3.0.1343.dist-info → tencentcloud_sdk_python-3.0.1344.dist-info}/WHEEL +0 -0
  38. {tencentcloud_sdk_python-3.0.1343.dist-info → tencentcloud_sdk_python-3.0.1344.dist-info}/top_level.txt +0 -0
@@ -21835,6 +21835,90 @@ class DescribePrometheusInstancesResponse(AbstractModel):
21835
21835
  self._RequestId = params.get("RequestId")
21836
21836
 
21837
21837
 
21838
+ class DescribePrometheusIntegrationMetricsRequest(AbstractModel):
21839
+ """DescribePrometheusIntegrationMetrics请求参数结构体
21840
+
21841
+ """
21842
+
21843
+ def __init__(self):
21844
+ r"""
21845
+ :param _IntegrationCode: 集成类型标识。取值参考DescribePrometheusIntegrations接口返回中IntegrationSet[i].Code参数
21846
+ :type IntegrationCode: str
21847
+ """
21848
+ self._IntegrationCode = None
21849
+
21850
+ @property
21851
+ def IntegrationCode(self):
21852
+ """集成类型标识。取值参考DescribePrometheusIntegrations接口返回中IntegrationSet[i].Code参数
21853
+ :rtype: str
21854
+ """
21855
+ return self._IntegrationCode
21856
+
21857
+ @IntegrationCode.setter
21858
+ def IntegrationCode(self, IntegrationCode):
21859
+ self._IntegrationCode = IntegrationCode
21860
+
21861
+
21862
+ def _deserialize(self, params):
21863
+ self._IntegrationCode = params.get("IntegrationCode")
21864
+ memeber_set = set(params.keys())
21865
+ for name, value in vars(self).items():
21866
+ property_name = name[1:]
21867
+ if property_name in memeber_set:
21868
+ memeber_set.remove(property_name)
21869
+ if len(memeber_set) > 0:
21870
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
21871
+
21872
+
21873
+
21874
+ class DescribePrometheusIntegrationMetricsResponse(AbstractModel):
21875
+ """DescribePrometheusIntegrationMetrics返回参数结构体
21876
+
21877
+ """
21878
+
21879
+ def __init__(self):
21880
+ r"""
21881
+ :param _IntegrationMetricSet: 集成指标详情分组
21882
+ :type IntegrationMetricSet: list of IntegrationMetricGroup
21883
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
21884
+ :type RequestId: str
21885
+ """
21886
+ self._IntegrationMetricSet = None
21887
+ self._RequestId = None
21888
+
21889
+ @property
21890
+ def IntegrationMetricSet(self):
21891
+ """集成指标详情分组
21892
+ :rtype: list of IntegrationMetricGroup
21893
+ """
21894
+ return self._IntegrationMetricSet
21895
+
21896
+ @IntegrationMetricSet.setter
21897
+ def IntegrationMetricSet(self, IntegrationMetricSet):
21898
+ self._IntegrationMetricSet = IntegrationMetricSet
21899
+
21900
+ @property
21901
+ def RequestId(self):
21902
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
21903
+ :rtype: str
21904
+ """
21905
+ return self._RequestId
21906
+
21907
+ @RequestId.setter
21908
+ def RequestId(self, RequestId):
21909
+ self._RequestId = RequestId
21910
+
21911
+
21912
+ def _deserialize(self, params):
21913
+ if params.get("IntegrationMetricSet") is not None:
21914
+ self._IntegrationMetricSet = []
21915
+ for item in params.get("IntegrationMetricSet"):
21916
+ obj = IntegrationMetricGroup()
21917
+ obj._deserialize(item)
21918
+ self._IntegrationMetricSet.append(obj)
21919
+ self._RequestId = params.get("RequestId")
21920
+
21921
+
21838
21922
  class DescribePrometheusRecordRulesRequest(AbstractModel):
21839
21923
  """DescribePrometheusRecordRules请求参数结构体
21840
21924
 
@@ -26180,6 +26264,173 @@ class IntegrationConfiguration(AbstractModel):
26180
26264
 
26181
26265
 
26182
26266
 
26267
+ class IntegrationMetric(AbstractModel):
26268
+ """prometheus集成指标详情
26269
+
26270
+ """
26271
+
26272
+ def __init__(self):
26273
+ r"""
26274
+ :param _MetricName: 指标名
26275
+ :type MetricName: str
26276
+ :param _Name: 指标名称
26277
+ :type Name: str
26278
+ :param _MetricType: 统计类型
26279
+ :type MetricType: str
26280
+ :param _Unit: 单位
26281
+ :type Unit: str
26282
+ :param _Description: 指标详细描述
26283
+ :type Description: str
26284
+ """
26285
+ self._MetricName = None
26286
+ self._Name = None
26287
+ self._MetricType = None
26288
+ self._Unit = None
26289
+ self._Description = None
26290
+
26291
+ @property
26292
+ def MetricName(self):
26293
+ """指标名
26294
+ :rtype: str
26295
+ """
26296
+ return self._MetricName
26297
+
26298
+ @MetricName.setter
26299
+ def MetricName(self, MetricName):
26300
+ self._MetricName = MetricName
26301
+
26302
+ @property
26303
+ def Name(self):
26304
+ """指标名称
26305
+ :rtype: str
26306
+ """
26307
+ return self._Name
26308
+
26309
+ @Name.setter
26310
+ def Name(self, Name):
26311
+ self._Name = Name
26312
+
26313
+ @property
26314
+ def MetricType(self):
26315
+ """统计类型
26316
+ :rtype: str
26317
+ """
26318
+ return self._MetricType
26319
+
26320
+ @MetricType.setter
26321
+ def MetricType(self, MetricType):
26322
+ self._MetricType = MetricType
26323
+
26324
+ @property
26325
+ def Unit(self):
26326
+ """单位
26327
+ :rtype: str
26328
+ """
26329
+ return self._Unit
26330
+
26331
+ @Unit.setter
26332
+ def Unit(self, Unit):
26333
+ self._Unit = Unit
26334
+
26335
+ @property
26336
+ def Description(self):
26337
+ """指标详细描述
26338
+ :rtype: str
26339
+ """
26340
+ return self._Description
26341
+
26342
+ @Description.setter
26343
+ def Description(self, Description):
26344
+ self._Description = Description
26345
+
26346
+
26347
+ def _deserialize(self, params):
26348
+ self._MetricName = params.get("MetricName")
26349
+ self._Name = params.get("Name")
26350
+ self._MetricType = params.get("MetricType")
26351
+ self._Unit = params.get("Unit")
26352
+ self._Description = params.get("Description")
26353
+ memeber_set = set(params.keys())
26354
+ for name, value in vars(self).items():
26355
+ property_name = name[1:]
26356
+ if property_name in memeber_set:
26357
+ memeber_set.remove(property_name)
26358
+ if len(memeber_set) > 0:
26359
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
26360
+
26361
+
26362
+
26363
+ class IntegrationMetricGroup(AbstractModel):
26364
+ """prometheus集成分组指标
26365
+
26366
+ """
26367
+
26368
+ def __init__(self):
26369
+ r"""
26370
+ :param _Group: 分组标识
26371
+ :type Group: str
26372
+ :param _Metrics: 指标详情
26373
+ :type Metrics: list of IntegrationMetric
26374
+ :param _GroupName: 分组名称
26375
+ :type GroupName: str
26376
+ """
26377
+ self._Group = None
26378
+ self._Metrics = None
26379
+ self._GroupName = None
26380
+
26381
+ @property
26382
+ def Group(self):
26383
+ """分组标识
26384
+ :rtype: str
26385
+ """
26386
+ return self._Group
26387
+
26388
+ @Group.setter
26389
+ def Group(self, Group):
26390
+ self._Group = Group
26391
+
26392
+ @property
26393
+ def Metrics(self):
26394
+ """指标详情
26395
+ :rtype: list of IntegrationMetric
26396
+ """
26397
+ return self._Metrics
26398
+
26399
+ @Metrics.setter
26400
+ def Metrics(self, Metrics):
26401
+ self._Metrics = Metrics
26402
+
26403
+ @property
26404
+ def GroupName(self):
26405
+ """分组名称
26406
+ :rtype: str
26407
+ """
26408
+ return self._GroupName
26409
+
26410
+ @GroupName.setter
26411
+ def GroupName(self, GroupName):
26412
+ self._GroupName = GroupName
26413
+
26414
+
26415
+ def _deserialize(self, params):
26416
+ self._Group = params.get("Group")
26417
+ if params.get("Metrics") is not None:
26418
+ self._Metrics = []
26419
+ for item in params.get("Metrics"):
26420
+ obj = IntegrationMetric()
26421
+ obj._deserialize(item)
26422
+ self._Metrics.append(obj)
26423
+ self._GroupName = params.get("GroupName")
26424
+ memeber_set = set(params.keys())
26425
+ for name, value in vars(self).items():
26426
+ property_name = name[1:]
26427
+ if property_name in memeber_set:
26428
+ memeber_set.remove(property_name)
26429
+ if len(memeber_set) > 0:
26430
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
26431
+
26432
+
26433
+
26183
26434
  class Label(AbstractModel):
26184
26435
  """k8s中标签,一般以数组的方式存在
26185
26436
 
@@ -2203,6 +2203,29 @@ class MonitorClient(AbstractClient):
2203
2203
  raise TencentCloudSDKException(type(e).__name__, str(e))
2204
2204
 
2205
2205
 
2206
+ def DescribePrometheusIntegrationMetrics(self, request):
2207
+ """获取prometheus集成指标
2208
+
2209
+ :param request: Request instance for DescribePrometheusIntegrationMetrics.
2210
+ :type request: :class:`tencentcloud.monitor.v20180724.models.DescribePrometheusIntegrationMetricsRequest`
2211
+ :rtype: :class:`tencentcloud.monitor.v20180724.models.DescribePrometheusIntegrationMetricsResponse`
2212
+
2213
+ """
2214
+ try:
2215
+ params = request._serialize()
2216
+ headers = request.headers
2217
+ body = self.call("DescribePrometheusIntegrationMetrics", params, headers=headers)
2218
+ response = json.loads(body)
2219
+ model = models.DescribePrometheusIntegrationMetricsResponse()
2220
+ model._deserialize(response["Response"])
2221
+ return model
2222
+ except Exception as e:
2223
+ if isinstance(e, TencentCloudSDKException):
2224
+ raise
2225
+ else:
2226
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2227
+
2228
+
2206
2229
  def DescribePrometheusRecordRules(self, request):
2207
2230
  """获取聚合规则列表,包含关联集群内crd资源创建的record rule
2208
2231
 
@@ -125,6 +125,15 @@ INVALIDPARAMETER_WHITELIST = 'InvalidParameter.Whitelist'
125
125
  # 参数取值错误。
126
126
  INVALIDPARAMETERVALUE = 'InvalidParameterValue'
127
127
 
128
+ # 参数值错误:热词库配置
129
+ INVALIDPARAMETERVALUE_ASRHOTWORDSCONFIGURE = 'InvalidParameterValue.AsrHotWordsConfigure'
130
+
131
+ # 参数值错误:热词库ID
132
+ INVALIDPARAMETERVALUE_ASRHOTWORDSLIBRARYID = 'InvalidParameterValue.AsrHotWordsLibraryId'
133
+
134
+ # 参数值错误:热词库开关
135
+ INVALIDPARAMETERVALUE_ASRHOTWORDSSWITCH = 'InvalidParameterValue.AsrHotWordsSwitch'
136
+
128
137
  # 参数错误:音频流码率。
129
138
  INVALIDPARAMETERVALUE_AUDIOBITRATE = 'InvalidParameterValue.AudioBitrate'
130
139
 
@@ -230,12 +239,25 @@ INVALIDPARAMETERVALUE_GOP = 'InvalidParameterValue.Gop'
230
239
  # 参数错误:高度。
231
240
  INVALIDPARAMETERVALUE_HEIGHT = 'InvalidParameterValue.Height'
232
241
 
242
+ # 参数错误:热词库不存在
243
+ INVALIDPARAMETERVALUE_HOTWORDSNOTEXIST = 'InvalidParameterValue.HotWordsNotExist'
244
+
245
+ # HotwordsFormatError
246
+ 热词库格式错误,每行的格式为word|weight,即以英文符号|为分割,左边为词,右边为权重,如:你好|5
247
+
248
+ 热词字符串通过逗号分割,文件中换行分割。
249
+ 腾讯云|10,语音识别|5,ASR|10
250
+ INVALIDPARAMETERVALUE_HOTWORDSFORMATERROR = 'InvalidParameterValue.HotwordsFormatError'
251
+
233
252
  # ImageContent参数值无效。
234
253
  INVALIDPARAMETERVALUE_IMAGECONTENT = 'InvalidParameterValue.ImageContent'
235
254
 
236
255
  # 参数错误:图片水印模板。
237
256
  INVALIDPARAMETERVALUE_IMAGETEMPLATE = 'InvalidParameterValue.ImageTemplate'
238
257
 
258
+ # 输入参数有误
259
+ INVALIDPARAMETERVALUE_INPUTINFO = 'InvalidParameterValue.InputInfo'
260
+
239
261
  # 解析内容 Content 的值不合法。
240
262
  INVALIDPARAMETERVALUE_INVALIDCONTENT = 'InvalidParameterValue.InvalidContent'
241
263
 
@@ -317,6 +339,9 @@ INVALIDPARAMETERVALUE_SRCFILE = 'InvalidParameterValue.SrcFile'
317
339
  # 参数值错误:SubtitleFormat 参数非法。
318
340
  INVALIDPARAMETERVALUE_SUBTITLEFORMAT = 'InvalidParameterValue.SubtitleFormat'
319
341
 
342
+ # 参数值错误:字幕语言类型
343
+ INVALIDPARAMETERVALUE_SUBTITLETYPE = 'InvalidParameterValue.SubtitleType'
344
+
320
345
  # 参数值错误:SVG 为空。
321
346
  INVALIDPARAMETERVALUE_SVGTEMPLATE = 'InvalidParameterValue.SvgTemplate'
322
347
 
@@ -344,6 +369,12 @@ INVALIDPARAMETERVALUE_TEXTALPHA = 'InvalidParameterValue.TextAlpha'
344
369
  # 参数错误:文字模板。
345
370
  INVALIDPARAMETERVALUE_TEXTTEMPLATE = 'InvalidParameterValue.TextTemplate'
346
371
 
372
+ # 参数值错误:翻译目标语言
373
+ INVALIDPARAMETERVALUE_TRANSLATEDSTLANGUAGE = 'InvalidParameterValue.TranslateDstLanguage'
374
+
375
+ # 参数值错误:翻译开关
376
+ INVALIDPARAMETERVALUE_TRANSLATESWITCH = 'InvalidParameterValue.TranslateSwitch'
377
+
347
378
  # 参数错误:Type 参数值错误。
348
379
  INVALIDPARAMETERVALUE_TYPE = 'InvalidParameterValue.Type'
349
380
 
@@ -359,6 +390,9 @@ INVALIDPARAMETERVALUE_VIDEOBITRATE = 'InvalidParameterValue.VideoBitrate'
359
390
  # 参数错误:视频流的编码格式。
360
391
  INVALIDPARAMETERVALUE_VIDEOCODEC = 'InvalidParameterValue.VideoCodec'
361
392
 
393
+ # 参数值错误:视频源语言错误
394
+ INVALIDPARAMETERVALUE_VIDEOSRCLANGUAGE = 'InvalidParameterValue.VideoSrcLanguage'
395
+
362
396
  # 参数错误:宽度。
363
397
  INVALIDPARAMETERVALUE_WIDTH = 'InvalidParameterValue.Width'
364
398