tencentcloud-sdk-python 3.0.1465__py2.py3-none-any.whl → 3.0.1467__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 (35) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/ai3d/v20250513/ai3d_client.py +2 -2
  3. tencentcloud/ai3d/v20250513/models.py +2 -2
  4. tencentcloud/cdn/v20180606/cdn_client.py +0 -74
  5. tencentcloud/cdn/v20180606/models.py +0 -546
  6. tencentcloud/ckafka/v20190819/models.py +2 -2
  7. tencentcloud/cls/v20201016/models.py +12 -12
  8. tencentcloud/ess/v20201111/errorcodes.py +1 -1
  9. tencentcloud/ess/v20201111/models.py +25 -43
  10. tencentcloud/iotexplorer/v20190423/models.py +34 -4
  11. tencentcloud/lcic/v20220817/models.py +24 -6
  12. tencentcloud/lke/v20231130/lke_client.py +0 -46
  13. tencentcloud/lke/v20231130/models.py +0 -192
  14. tencentcloud/lkeap/v20240522/models.py +111 -24
  15. tencentcloud/mongodb/v20190725/models.py +76 -48
  16. tencentcloud/mongodb/v20190725/mongodb_client.py +1 -1
  17. tencentcloud/mps/v20190612/errorcodes.py +42 -0
  18. tencentcloud/mps/v20190612/models.py +810 -43
  19. tencentcloud/mps/v20190612/mps_client.py +92 -0
  20. tencentcloud/redis/v20180412/models.py +4 -0
  21. tencentcloud/tcss/v20201101/models.py +30 -0
  22. tencentcloud/teo/v20220901/models.py +15 -0
  23. tencentcloud/trtc/v20190722/errorcodes.py +3 -0
  24. tencentcloud/trtc/v20190722/models.py +99 -12
  25. tencentcloud/tse/v20201207/models.py +76 -0
  26. tencentcloud/tse/v20201207/tse_client.py +1 -1
  27. tencentcloud/tsf/v20180326/errorcodes.py +3 -0
  28. tencentcloud/tsf/v20180326/models.py +2 -2
  29. tencentcloud/waf/v20180125/models.py +1156 -101
  30. tencentcloud/waf/v20180125/waf_client.py +1 -1
  31. {tencentcloud_sdk_python-3.0.1465.dist-info → tencentcloud_sdk_python-3.0.1467.dist-info}/METADATA +1 -1
  32. {tencentcloud_sdk_python-3.0.1465.dist-info → tencentcloud_sdk_python-3.0.1467.dist-info}/RECORD +35 -35
  33. {tencentcloud_sdk_python-3.0.1465.dist-info → tencentcloud_sdk_python-3.0.1467.dist-info}/LICENSE +0 -0
  34. {tencentcloud_sdk_python-3.0.1465.dist-info → tencentcloud_sdk_python-3.0.1467.dist-info}/WHEEL +0 -0
  35. {tencentcloud_sdk_python-3.0.1465.dist-info → tencentcloud_sdk_python-3.0.1467.dist-info}/top_level.txt +0 -0
@@ -435,6 +435,29 @@ class MpsClient(AbstractClient):
435
435
  raise TencentCloudSDKException(type(e).__name__, str(e))
436
436
 
437
437
 
438
+ def CreateSmartEraseTemplate(self, request):
439
+ r"""创建自定义智能擦除模板
440
+
441
+ :param request: Request instance for CreateSmartEraseTemplate.
442
+ :type request: :class:`tencentcloud.mps.v20190612.models.CreateSmartEraseTemplateRequest`
443
+ :rtype: :class:`tencentcloud.mps.v20190612.models.CreateSmartEraseTemplateResponse`
444
+
445
+ """
446
+ try:
447
+ params = request._serialize()
448
+ headers = request.headers
449
+ body = self.call("CreateSmartEraseTemplate", params, headers=headers)
450
+ response = json.loads(body)
451
+ model = models.CreateSmartEraseTemplateResponse()
452
+ model._deserialize(response["Response"])
453
+ return model
454
+ except Exception as e:
455
+ if isinstance(e, TencentCloudSDKException):
456
+ raise
457
+ else:
458
+ raise TencentCloudSDKException(type(e).__name__, str(e))
459
+
460
+
438
461
  def CreateSmartSubtitleTemplate(self, request):
439
462
  r"""创建自定义智能字幕模板
440
463
 
@@ -1024,6 +1047,29 @@ class MpsClient(AbstractClient):
1024
1047
  raise TencentCloudSDKException(type(e).__name__, str(e))
1025
1048
 
1026
1049
 
1050
+ def DeleteSmartEraseTemplate(self, request):
1051
+ r"""删除用户自定义智能擦除模板。
1052
+
1053
+ :param request: Request instance for DeleteSmartEraseTemplate.
1054
+ :type request: :class:`tencentcloud.mps.v20190612.models.DeleteSmartEraseTemplateRequest`
1055
+ :rtype: :class:`tencentcloud.mps.v20190612.models.DeleteSmartEraseTemplateResponse`
1056
+
1057
+ """
1058
+ try:
1059
+ params = request._serialize()
1060
+ headers = request.headers
1061
+ body = self.call("DeleteSmartEraseTemplate", params, headers=headers)
1062
+ response = json.loads(body)
1063
+ model = models.DeleteSmartEraseTemplateResponse()
1064
+ model._deserialize(response["Response"])
1065
+ return model
1066
+ except Exception as e:
1067
+ if isinstance(e, TencentCloudSDKException):
1068
+ raise
1069
+ else:
1070
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1071
+
1072
+
1027
1073
  def DeleteSmartSubtitleTemplate(self, request):
1028
1074
  r"""删除用户自定义智能字幕模板。
1029
1075
 
@@ -1645,6 +1691,29 @@ class MpsClient(AbstractClient):
1645
1691
  raise TencentCloudSDKException(type(e).__name__, str(e))
1646
1692
 
1647
1693
 
1694
+ def DescribeSmartEraseTemplates(self, request):
1695
+ r"""根据智能擦除模板唯一标识,获取智能擦除模板详情列表。返回结果包含符合条件的所有用户自定义智能擦除模板及系统预置智能擦除模板
1696
+
1697
+ :param request: Request instance for DescribeSmartEraseTemplates.
1698
+ :type request: :class:`tencentcloud.mps.v20190612.models.DescribeSmartEraseTemplatesRequest`
1699
+ :rtype: :class:`tencentcloud.mps.v20190612.models.DescribeSmartEraseTemplatesResponse`
1700
+
1701
+ """
1702
+ try:
1703
+ params = request._serialize()
1704
+ headers = request.headers
1705
+ body = self.call("DescribeSmartEraseTemplates", params, headers=headers)
1706
+ response = json.loads(body)
1707
+ model = models.DescribeSmartEraseTemplatesResponse()
1708
+ model._deserialize(response["Response"])
1709
+ return model
1710
+ except Exception as e:
1711
+ if isinstance(e, TencentCloudSDKException):
1712
+ raise
1713
+ else:
1714
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1715
+
1716
+
1648
1717
  def DescribeSmartSubtitleTemplates(self, request):
1649
1718
  r"""根据智能字幕 模板唯一标识,获取智能字幕模板详情列表。返回结果包含符合条件的所有用户自定义智能字幕模板及系统预置智能字幕模板
1650
1719
 
@@ -2650,6 +2719,29 @@ class MpsClient(AbstractClient):
2650
2719
  raise TencentCloudSDKException(type(e).__name__, str(e))
2651
2720
 
2652
2721
 
2722
+ def ModifySmartEraseTemplate(self, request):
2723
+ r"""修改用户自定义智能擦除模板。
2724
+
2725
+ :param request: Request instance for ModifySmartEraseTemplate.
2726
+ :type request: :class:`tencentcloud.mps.v20190612.models.ModifySmartEraseTemplateRequest`
2727
+ :rtype: :class:`tencentcloud.mps.v20190612.models.ModifySmartEraseTemplateResponse`
2728
+
2729
+ """
2730
+ try:
2731
+ params = request._serialize()
2732
+ headers = request.headers
2733
+ body = self.call("ModifySmartEraseTemplate", params, headers=headers)
2734
+ response = json.loads(body)
2735
+ model = models.ModifySmartEraseTemplateResponse()
2736
+ model._deserialize(response["Response"])
2737
+ return model
2738
+ except Exception as e:
2739
+ if isinstance(e, TencentCloudSDKException):
2740
+ raise
2741
+ else:
2742
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2743
+
2744
+
2653
2745
  def ModifySmartSubtitleTemplate(self, request):
2654
2746
  r"""修改用户自定义智能字幕模板。
2655
2747
 
@@ -14014,6 +14014,8 @@ class InstanceSet(AbstractModel):
14014
14014
  :param _CloseTime: 实例隔离开始的时间。
14015
14015
  :type CloseTime: str
14016
14016
  :param _SlaveReadWeight: 从节点读取权重。
14017
+ - 0:表示关闭副本只读。
14018
+ - 100:表示开启副本只读。
14017
14019
  :type SlaveReadWeight: int
14018
14020
  :param _InstanceTags: 实例关联的标签信息。
14019
14021
  :type InstanceTags: list of InstanceTagInfo
@@ -14510,6 +14512,8 @@ class InstanceSet(AbstractModel):
14510
14512
  @property
14511
14513
  def SlaveReadWeight(self):
14512
14514
  r"""从节点读取权重。
14515
+ - 0:表示关闭副本只读。
14516
+ - 100:表示开启副本只读。
14513
14517
  :rtype: int
14514
14518
  """
14515
14519
  return self._SlaveReadWeight
@@ -79519,6 +79519,10 @@ class VulInfo(AbstractModel):
79519
79519
  :type DefenceHostCount: int
79520
79520
  :param _DefendedCount: 已防御攻击次数
79521
79521
  :type DefendedCount: int
79522
+ :param _RaspOpenNodeCount: 漏洞对应机器的应用防护开启数量
79523
+ :type RaspOpenNodeCount: int
79524
+ :param _RaspClosedNodeCount: 漏洞对应机器的应用防护关闭数量
79525
+ :type RaspClosedNodeCount: int
79522
79526
  """
79523
79527
  self._Name = None
79524
79528
  self._Tags = None
@@ -79537,6 +79541,8 @@ class VulInfo(AbstractModel):
79537
79541
  self._DefenceScope = None
79538
79542
  self._DefenceHostCount = None
79539
79543
  self._DefendedCount = None
79544
+ self._RaspOpenNodeCount = None
79545
+ self._RaspClosedNodeCount = None
79540
79546
 
79541
79547
  @property
79542
79548
  def Name(self):
@@ -79725,6 +79731,28 @@ class VulInfo(AbstractModel):
79725
79731
  def DefendedCount(self, DefendedCount):
79726
79732
  self._DefendedCount = DefendedCount
79727
79733
 
79734
+ @property
79735
+ def RaspOpenNodeCount(self):
79736
+ r"""漏洞对应机器的应用防护开启数量
79737
+ :rtype: int
79738
+ """
79739
+ return self._RaspOpenNodeCount
79740
+
79741
+ @RaspOpenNodeCount.setter
79742
+ def RaspOpenNodeCount(self, RaspOpenNodeCount):
79743
+ self._RaspOpenNodeCount = RaspOpenNodeCount
79744
+
79745
+ @property
79746
+ def RaspClosedNodeCount(self):
79747
+ r"""漏洞对应机器的应用防护关闭数量
79748
+ :rtype: int
79749
+ """
79750
+ return self._RaspClosedNodeCount
79751
+
79752
+ @RaspClosedNodeCount.setter
79753
+ def RaspClosedNodeCount(self, RaspClosedNodeCount):
79754
+ self._RaspClosedNodeCount = RaspClosedNodeCount
79755
+
79728
79756
 
79729
79757
  def _deserialize(self, params):
79730
79758
  self._Name = params.get("Name")
@@ -79744,6 +79772,8 @@ class VulInfo(AbstractModel):
79744
79772
  self._DefenceScope = params.get("DefenceScope")
79745
79773
  self._DefenceHostCount = params.get("DefenceHostCount")
79746
79774
  self._DefendedCount = params.get("DefendedCount")
79775
+ self._RaspOpenNodeCount = params.get("RaspOpenNodeCount")
79776
+ self._RaspClosedNodeCount = params.get("RaspClosedNodeCount")
79747
79777
  memeber_set = set(params.keys())
79748
79778
  for name, value in vars(self).items():
79749
79779
  property_name = name[1:]
@@ -40915,6 +40915,8 @@ class MultiPathGateway(AbstractModel):
40915
40915
  :type RegionId: str
40916
40916
  :param _Lines: 线路信息,当查询网关信息详情 DescribeMultiPathGateway 的时候会返回,当查询网关列表 DescribeMultiPathGateways 的时候不会返回。
40917
40917
  :type Lines: list of MultiPathGatewayLine
40918
+ :param _NeedConfirm: 网关回源 IP 列表发生了变化是否需要重新确认,取值有:<li>true:回源 IP 列表发生了变化,需要确认;</li><li>false:回源 IP 列表未发生变化,无需确认。</li>
40919
+ :type NeedConfirm: str
40918
40920
  """
40919
40921
  self._GatewayId = None
40920
40922
  self._GatewayName = None
@@ -40924,6 +40926,7 @@ class MultiPathGateway(AbstractModel):
40924
40926
  self._GatewayIP = None
40925
40927
  self._RegionId = None
40926
40928
  self._Lines = None
40929
+ self._NeedConfirm = None
40927
40930
 
40928
40931
  @property
40929
40932
  def GatewayId(self):
@@ -41019,6 +41022,17 @@ class MultiPathGateway(AbstractModel):
41019
41022
  def Lines(self, Lines):
41020
41023
  self._Lines = Lines
41021
41024
 
41025
+ @property
41026
+ def NeedConfirm(self):
41027
+ r"""网关回源 IP 列表发生了变化是否需要重新确认,取值有:<li>true:回源 IP 列表发生了变化,需要确认;</li><li>false:回源 IP 列表未发生变化,无需确认。</li>
41028
+ :rtype: str
41029
+ """
41030
+ return self._NeedConfirm
41031
+
41032
+ @NeedConfirm.setter
41033
+ def NeedConfirm(self, NeedConfirm):
41034
+ self._NeedConfirm = NeedConfirm
41035
+
41022
41036
 
41023
41037
  def _deserialize(self, params):
41024
41038
  self._GatewayId = params.get("GatewayId")
@@ -41034,6 +41048,7 @@ class MultiPathGateway(AbstractModel):
41034
41048
  obj = MultiPathGatewayLine()
41035
41049
  obj._deserialize(item)
41036
41050
  self._Lines.append(obj)
41051
+ self._NeedConfirm = params.get("NeedConfirm")
41037
41052
  memeber_set = set(params.keys())
41038
41053
  for name, value in vars(self).items():
41039
41054
  property_name = name[1:]
@@ -65,6 +65,9 @@ FAILEDOPERATION_REQUESTREJECTION = 'FailedOperation.RequestRejection'
65
65
  # 单用户并发过载,请联系我们增大并发路数到合理值。
66
66
  FAILEDOPERATION_RESTRICTEDCONCURRENCY = 'FailedOperation.RestrictedConcurrency'
67
67
 
68
+ # 请求过于频繁
69
+ FAILEDOPERATION_RESTRICTEDFREQUENCY = 'FailedOperation.RestrictedFrequency'
70
+
68
71
  # 房间不存在。
69
72
  FAILEDOPERATION_ROOMNOTEXIST = 'FailedOperation.RoomNotExist'
70
73
 
@@ -8566,15 +8566,19 @@ class McuLayout(AbstractModel):
8566
8566
  白色:0xFFFFFF。
8567
8567
  灰色:0x999999。
8568
8568
  :type BackGroundColor: str
8569
- :param _BackgroundImageUrl: 子画面的背景图url,填写该参数,当用户关闭摄像头或未进入TRTC房间时,会在布局位置填充为指定图片。若指定图片与布局位置尺寸比例不一致,则会对图片进行拉伸处理,优先级高于BackGroundColor。支持png、jpg、jpeg、bmp、gif、webm格式。图片大小限制不超过5MB。
8570
- 注:您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,子画面的背景图将不会生效。
8569
+ :param _BackgroundImageUrl: 子画面的占位图片url,填写该参数,当用户关闭摄像头或未进入TRTC房间时,会在布局位置填充为指定图片。若指定图片与布局位置尺寸比例不一致,则会对图片进行拉伸处理,优先级高于BackGroundColor。支持png、jpg、jpeg、bmp、gif、webm格式。图片大小限制不超过5MB。
8570
+ 注:
8571
+ 1,您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,占位图片将不会生效。
8572
+ 2,url可支持字符集:【'0-9','a-z','A-Z','-', '.', '_', '~', ':', '/', '?', '#', '[', ']','@', '!', '&', '(', ')', '*', '+', ',', '%', '=', ';', '|'】,您需要确保url字符在可支持字符集内,若存在可支持字符集外的字符,占位图片将不会生效。
8571
8573
  :type BackgroundImageUrl: str
8572
8574
  :param _CustomCrop: 客户自定义裁剪,针对原始输入流裁剪
8573
8575
  :type CustomCrop: :class:`tencentcloud.trtc.v20190722.models.McuCustomCrop`
8574
8576
  :param _BackgroundRenderMode: 子背景图在输出时的显示模式:0为裁剪,1为缩放并显示背景,2为缩放并显示黑底,3为变比例伸缩,4为自定义渲染。不填默认为3。
8575
8577
  :type BackgroundRenderMode: int
8576
8578
  :param _TransparentUrl: 子画面的透明模版url,指向一张包含透明通道的模板图片。填写该参数,后台混流时会提取该模板图片的透明通道,将其缩放作为目标画面的透明通道,再和其他画面进行混合。您可以通过透明模版实现目标画面的半透明效果和任意形状裁剪(如圆角、星形、心形等)。 支持png格式。图片大小限制不超过5MB。
8577
- 注:1,模板图片宽高比应接近目标画面宽高比,以避免缩放适配目标画面时出现模板效果变形;2,透明模版只有RenderMode为0(裁剪)时才生效;3,您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,透明模版将不会生效。
8579
+ 注:
8580
+ 1,模板图片宽高比应接近目标画面宽高比,以避免缩放适配目标画面时出现模板效果变形;2,透明模版只有RenderMode为0(裁剪)时才生效;3,您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,透明模版将不会生效。
8581
+ 2,url可支持字符集:【'0-9','a-z','A-Z','-', '.', '_', '~', ':', '/', '?', '#', '[', ']','@', '!', '&', '(', ')', '*', '+', ',', '%', '=', ';', '|'】,您需要确保url字符在可支持字符集内,若存在可支持字符集外的字符,透明模版将不会生效。
8578
8582
  :type TransparentUrl: str
8579
8583
  :param _BackgroundCustomRender: 子背景图的自定义渲染参数,当BackgroundRenderMode为4时必须配置。
8580
8584
  :type BackgroundCustomRender: :class:`tencentcloud.trtc.v20190722.models.McuBackgroundCustomRender`
@@ -8701,8 +8705,10 @@ bit1:上行流缩放是否生效。
8701
8705
 
8702
8706
  @property
8703
8707
  def BackgroundImageUrl(self):
8704
- r"""子画面的背景图url,填写该参数,当用户关闭摄像头或未进入TRTC房间时,会在布局位置填充为指定图片。若指定图片与布局位置尺寸比例不一致,则会对图片进行拉伸处理,优先级高于BackGroundColor。支持png、jpg、jpeg、bmp、gif、webm格式。图片大小限制不超过5MB。
8705
- 注:您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,子画面的背景图将不会生效。
8708
+ r"""子画面的占位图片url,填写该参数,当用户关闭摄像头或未进入TRTC房间时,会在布局位置填充为指定图片。若指定图片与布局位置尺寸比例不一致,则会对图片进行拉伸处理,优先级高于BackGroundColor。支持png、jpg、jpeg、bmp、gif、webm格式。图片大小限制不超过5MB。
8709
+ 注:
8710
+ 1,您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,占位图片将不会生效。
8711
+ 2,url可支持字符集:【'0-9','a-z','A-Z','-', '.', '_', '~', ':', '/', '?', '#', '[', ']','@', '!', '&', '(', ')', '*', '+', ',', '%', '=', ';', '|'】,您需要确保url字符在可支持字符集内,若存在可支持字符集外的字符,占位图片将不会生效。
8706
8712
  :rtype: str
8707
8713
  """
8708
8714
  return self._BackgroundImageUrl
@@ -8736,7 +8742,9 @@ bit1:上行流缩放是否生效。
8736
8742
  @property
8737
8743
  def TransparentUrl(self):
8738
8744
  r"""子画面的透明模版url,指向一张包含透明通道的模板图片。填写该参数,后台混流时会提取该模板图片的透明通道,将其缩放作为目标画面的透明通道,再和其他画面进行混合。您可以通过透明模版实现目标画面的半透明效果和任意形状裁剪(如圆角、星形、心形等)。 支持png格式。图片大小限制不超过5MB。
8739
- 注:1,模板图片宽高比应接近目标画面宽高比,以避免缩放适配目标画面时出现模板效果变形;2,透明模版只有RenderMode为0(裁剪)时才生效;3,您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,透明模版将不会生效。
8745
+ 注:
8746
+ 1,模板图片宽高比应接近目标画面宽高比,以避免缩放适配目标画面时出现模板效果变形;2,透明模版只有RenderMode为0(裁剪)时才生效;3,您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,透明模版将不会生效。
8747
+ 2,url可支持字符集:【'0-9','a-z','A-Z','-', '.', '_', '~', ':', '/', '?', '#', '[', ']','@', '!', '&', '(', ')', '*', '+', ',', '%', '=', ';', '|'】,您需要确保url字符在可支持字符集内,若存在可支持字符集外的字符,透明模版将不会生效。
8740
8748
  :rtype: str
8741
8749
  """
8742
8750
  return self._TransparentUrl
@@ -9623,8 +9631,10 @@ class McuVideoParams(AbstractModel):
9623
9631
  白色:0xFFFFFF。
9624
9632
  灰色:0x999999。
9625
9633
  :type BackGroundColor: str
9626
- :param _BackgroundImageUrl: 整个画布的背景图url,优先级高于BackGroundColor。支持png、jpg、jpeg格式。图片大小限制不超过5MB。
9627
- 注:您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,背景图将不会生效。
9634
+ :param _BackgroundImageUrl: 整个画布的背景图片url,优先级高于BackGroundColor。支持png、jpg、jpeg格式。图片大小限制不超过5MB。
9635
+ 注:
9636
+ 1,您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,背景图片将不会生效。
9637
+ 2,url可支持字符集:【'0-9','a-z','A-Z','-', '.', '_', '~', ':', '/', '?', '#', '[', ']','@', '!', '&', '(', ')', '*', '+', ',', '%', '=', ';', '|'】,您需要确保url字符在可支持字符集内,若存在可支持字符集外的字符,背景图片将不会生效。
9628
9638
  :type BackgroundImageUrl: str
9629
9639
  :param _WaterMarkList: 混流布局的水印参数。
9630
9640
  :type WaterMarkList: list of McuWaterMarkParams
@@ -9680,8 +9690,10 @@ class McuVideoParams(AbstractModel):
9680
9690
 
9681
9691
  @property
9682
9692
  def BackgroundImageUrl(self):
9683
- r"""整个画布的背景图url,优先级高于BackGroundColor。支持png、jpg、jpeg格式。图片大小限制不超过5MB。
9684
- 注:您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,背景图将不会生效。
9693
+ r"""整个画布的背景图片url,优先级高于BackGroundColor。支持png、jpg、jpeg格式。图片大小限制不超过5MB。
9694
+ 注:
9695
+ 1,您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,背景图片将不会生效。
9696
+ 2,url可支持字符集:【'0-9','a-z','A-Z','-', '.', '_', '~', ':', '/', '?', '#', '[', ']','@', '!', '&', '(', ')', '*', '+', ',', '%', '=', ';', '|'】,您需要确保url字符在可支持字符集内,若存在可支持字符集外的字符,背景图片将不会生效。
9685
9697
  :rtype: str
9686
9698
  """
9687
9699
  return self._BackgroundImageUrl
@@ -9747,7 +9759,9 @@ class McuWaterMarkImage(AbstractModel):
9747
9759
  def __init__(self):
9748
9760
  r"""
9749
9761
  :param _WaterMarkUrl: 水印图片URL地址,支持png、jpg、jpeg格式。图片大小限制不超过5MB。
9750
- 注:您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,水印图片将不会生效。
9762
+ 注:
9763
+ 1,您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,水印图片将不会生效。
9764
+ 2,url可支持字符集:【'0-9','a-z','A-Z','-', '.', '_', '~', ':', '/', '?', '#', '[', ']','@', '!', '&', '(', ')', '*', '+', ',', '%', '=', ';', '|'】,您需要确保url字符在可支持字符集内,若存在可支持字符集外的字符,水印图片将不会生效。
9751
9765
  :type WaterMarkUrl: str
9752
9766
  :param _WaterMarkWidth: 水印在输出时的宽。单位为像素值。
9753
9767
  :type WaterMarkWidth: int
@@ -9773,7 +9787,9 @@ class McuWaterMarkImage(AbstractModel):
9773
9787
  @property
9774
9788
  def WaterMarkUrl(self):
9775
9789
  r"""水印图片URL地址,支持png、jpg、jpeg格式。图片大小限制不超过5MB。
9776
- 注:您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,水印图片将不会生效。
9790
+ 注:
9791
+ 1,您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,水印图片将不会生效。
9792
+ 2,url可支持字符集:【'0-9','a-z','A-Z','-', '.', '_', '~', ':', '/', '?', '#', '[', ']','@', '!', '&', '(', ')', '*', '+', ',', '%', '=', ';', '|'】,您需要确保url字符在可支持字符集内,若存在可支持字符集外的字符,水印图片将不会生效。
9777
9793
  :rtype: str
9778
9794
  """
9779
9795
  return self._WaterMarkUrl
@@ -16785,6 +16801,57 @@ class TencentVod(AbstractModel):
16785
16801
 
16786
16802
 
16787
16803
 
16804
+ class Terminology(AbstractModel):
16805
+ r"""翻译术语
16806
+
16807
+ """
16808
+
16809
+ def __init__(self):
16810
+ r"""
16811
+ :param _Source: 源术语
16812
+ :type Source: str
16813
+ :param _Target: 目标术语翻译结果
16814
+ :type Target: str
16815
+ """
16816
+ self._Source = None
16817
+ self._Target = None
16818
+
16819
+ @property
16820
+ def Source(self):
16821
+ r"""源术语
16822
+ :rtype: str
16823
+ """
16824
+ return self._Source
16825
+
16826
+ @Source.setter
16827
+ def Source(self, Source):
16828
+ self._Source = Source
16829
+
16830
+ @property
16831
+ def Target(self):
16832
+ r"""目标术语翻译结果
16833
+ :rtype: str
16834
+ """
16835
+ return self._Target
16836
+
16837
+ @Target.setter
16838
+ def Target(self, Target):
16839
+ self._Target = Target
16840
+
16841
+
16842
+ def _deserialize(self, params):
16843
+ self._Source = params.get("Source")
16844
+ self._Target = params.get("Target")
16845
+ memeber_set = set(params.keys())
16846
+ for name, value in vars(self).items():
16847
+ property_name = name[1:]
16848
+ if property_name in memeber_set:
16849
+ memeber_set.remove(property_name)
16850
+ if len(memeber_set) > 0:
16851
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
16852
+
16853
+
16854
+
16788
16855
  class TextToSpeechRequest(AbstractModel):
16789
16856
  r"""TextToSpeech请求参数结构体
16790
16857
 
@@ -17309,10 +17376,13 @@ class TranslationConfig(AbstractModel):
17309
17376
  :type Mode: int
17310
17377
  :param _TTSConfig: 语音同传配置,开启同传时,需要传递
17311
17378
  :type TTSConfig: :class:`tencentcloud.trtc.v20190722.models.TTSConfig`
17379
+ :param _Terminology: 翻译术语集合
17380
+ :type Terminology: list of Terminology
17312
17381
  """
17313
17382
  self._TargetLanguages = None
17314
17383
  self._Mode = None
17315
17384
  self._TTSConfig = None
17385
+ self._Terminology = None
17316
17386
 
17317
17387
  @property
17318
17388
  def TargetLanguages(self):
@@ -17349,6 +17419,17 @@ class TranslationConfig(AbstractModel):
17349
17419
  def TTSConfig(self, TTSConfig):
17350
17420
  self._TTSConfig = TTSConfig
17351
17421
 
17422
+ @property
17423
+ def Terminology(self):
17424
+ r"""翻译术语集合
17425
+ :rtype: list of Terminology
17426
+ """
17427
+ return self._Terminology
17428
+
17429
+ @Terminology.setter
17430
+ def Terminology(self, Terminology):
17431
+ self._Terminology = Terminology
17432
+
17352
17433
 
17353
17434
  def _deserialize(self, params):
17354
17435
  self._TargetLanguages = params.get("TargetLanguages")
@@ -17356,6 +17437,12 @@ class TranslationConfig(AbstractModel):
17356
17437
  if params.get("TTSConfig") is not None:
17357
17438
  self._TTSConfig = TTSConfig()
17358
17439
  self._TTSConfig._deserialize(params.get("TTSConfig"))
17440
+ if params.get("Terminology") is not None:
17441
+ self._Terminology = []
17442
+ for item in params.get("Terminology"):
17443
+ obj = Terminology()
17444
+ obj._deserialize(item)
17445
+ self._Terminology.append(obj)
17359
17446
  memeber_set = set(params.keys())
17360
17447
  for name, value in vars(self).items():
17361
17448
  property_name = name[1:]
@@ -1400,6 +1400,8 @@ class CloudNativeAPIGatewayConfig(AbstractModel):
1400
1400
  :type NetworkId: str
1401
1401
  :param _IPV6FullChain: 是否为新 ipv6 CLB
1402
1402
  :type IPV6FullChain: bool
1403
+ :param _CustomizedConfigContent: 负载均衡个性化配置内容
1404
+ :type CustomizedConfigContent: str
1403
1405
  """
1404
1406
  self._ConsoleType = None
1405
1407
  self._HttpUrl = None
@@ -1423,6 +1425,7 @@ class CloudNativeAPIGatewayConfig(AbstractModel):
1423
1425
  self._SlaveZoneName = None
1424
1426
  self._NetworkId = None
1425
1427
  self._IPV6FullChain = None
1428
+ self._CustomizedConfigContent = None
1426
1429
 
1427
1430
  @property
1428
1431
  def ConsoleType(self):
@@ -1667,6 +1670,17 @@ class CloudNativeAPIGatewayConfig(AbstractModel):
1667
1670
  def IPV6FullChain(self, IPV6FullChain):
1668
1671
  self._IPV6FullChain = IPV6FullChain
1669
1672
 
1673
+ @property
1674
+ def CustomizedConfigContent(self):
1675
+ r"""负载均衡个性化配置内容
1676
+ :rtype: str
1677
+ """
1678
+ return self._CustomizedConfigContent
1679
+
1680
+ @CustomizedConfigContent.setter
1681
+ def CustomizedConfigContent(self, CustomizedConfigContent):
1682
+ self._CustomizedConfigContent = CustomizedConfigContent
1683
+
1670
1684
 
1671
1685
  def _deserialize(self, params):
1672
1686
  self._ConsoleType = params.get("ConsoleType")
@@ -1693,6 +1707,7 @@ class CloudNativeAPIGatewayConfig(AbstractModel):
1693
1707
  self._SlaveZoneName = params.get("SlaveZoneName")
1694
1708
  self._NetworkId = params.get("NetworkId")
1695
1709
  self._IPV6FullChain = params.get("IPV6FullChain")
1710
+ self._CustomizedConfigContent = params.get("CustomizedConfigContent")
1696
1711
  memeber_set = set(params.keys())
1697
1712
  for name, value in vars(self).items():
1698
1713
  property_name = name[1:]
@@ -8170,10 +8185,13 @@ class CreateNativeGatewayServiceSourceResponse(AbstractModel):
8170
8185
  r"""
8171
8186
  :param _Result: 创建是否成功
8172
8187
  :type Result: bool
8188
+ :param _SourceID: 服务来源ID
8189
+ :type SourceID: str
8173
8190
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8174
8191
  :type RequestId: str
8175
8192
  """
8176
8193
  self._Result = None
8194
+ self._SourceID = None
8177
8195
  self._RequestId = None
8178
8196
 
8179
8197
  @property
@@ -8187,6 +8205,17 @@ class CreateNativeGatewayServiceSourceResponse(AbstractModel):
8187
8205
  def Result(self, Result):
8188
8206
  self._Result = Result
8189
8207
 
8208
+ @property
8209
+ def SourceID(self):
8210
+ r"""服务来源ID
8211
+ :rtype: str
8212
+ """
8213
+ return self._SourceID
8214
+
8215
+ @SourceID.setter
8216
+ def SourceID(self, SourceID):
8217
+ self._SourceID = SourceID
8218
+
8190
8219
  @property
8191
8220
  def RequestId(self):
8192
8221
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -8201,6 +8230,7 @@ class CreateNativeGatewayServiceSourceResponse(AbstractModel):
8201
8230
 
8202
8231
  def _deserialize(self, params):
8203
8232
  self._Result = params.get("Result")
8233
+ self._SourceID = params.get("SourceID")
8204
8234
  self._RequestId = params.get("RequestId")
8205
8235
 
8206
8236
 
@@ -16661,6 +16691,8 @@ class DescribeNativeGatewayServiceSourcesRequest(AbstractModel):
16661
16691
  :type Limit: int
16662
16692
  :param _Offset: 分页偏移量
16663
16693
  :type Offset: int
16694
+ :param _SourceID: 服务来源ID
16695
+ :type SourceID: str
16664
16696
  :param _SourceName: 服务来源实例名称,模糊搜索
16665
16697
  :type SourceName: str
16666
16698
  :param _SourceTypes: 微服务引擎类型:TSE-Nacos|TSE-Consul|TSE-PolarisMesh|Customer-Nacos|Customer-Consul|Customer-PolarisMesh
@@ -16673,6 +16705,7 @@ class DescribeNativeGatewayServiceSourcesRequest(AbstractModel):
16673
16705
  self._GatewayID = None
16674
16706
  self._Limit = None
16675
16707
  self._Offset = None
16708
+ self._SourceID = None
16676
16709
  self._SourceName = None
16677
16710
  self._SourceTypes = None
16678
16711
  self._OrderField = None
@@ -16711,6 +16744,17 @@ class DescribeNativeGatewayServiceSourcesRequest(AbstractModel):
16711
16744
  def Offset(self, Offset):
16712
16745
  self._Offset = Offset
16713
16746
 
16747
+ @property
16748
+ def SourceID(self):
16749
+ r"""服务来源ID
16750
+ :rtype: str
16751
+ """
16752
+ return self._SourceID
16753
+
16754
+ @SourceID.setter
16755
+ def SourceID(self, SourceID):
16756
+ self._SourceID = SourceID
16757
+
16714
16758
  @property
16715
16759
  def SourceName(self):
16716
16760
  r"""服务来源实例名称,模糊搜索
@@ -16760,6 +16804,7 @@ class DescribeNativeGatewayServiceSourcesRequest(AbstractModel):
16760
16804
  self._GatewayID = params.get("GatewayID")
16761
16805
  self._Limit = params.get("Limit")
16762
16806
  self._Offset = params.get("Offset")
16807
+ self._SourceID = params.get("SourceID")
16763
16808
  self._SourceName = params.get("SourceName")
16764
16809
  self._SourceTypes = params.get("SourceTypes")
16765
16810
  self._OrderField = params.get("OrderField")
@@ -26815,6 +26860,16 @@ class ModifyNetworkBasicInfoRequest(AbstractModel):
26815
26860
  :type InternetMaxBandwidthOut: int
26816
26861
  :param _Description: 负载均衡描述
26817
26862
  :type Description: str
26863
+ :param _SlaType: 负载均衡的规格类型,支持:
26864
+ - 不传为共享型。
26865
+ - clb.c2.medium:标准型规格
26866
+ - clb.c3.small:高阶型1规格
26867
+ - clb.c3.medium:高阶型2规格
26868
+ - clb.c4.small:超强型1规格
26869
+ - clb.c4.medium:超强型2规格
26870
+ - clb.c4.large:超强型3规格
26871
+ - clb.c4.xlarge:超强型4规格
26872
+ :type SlaType: str
26818
26873
  """
26819
26874
  self._GatewayId = None
26820
26875
  self._GroupId = None
@@ -26822,6 +26877,7 @@ class ModifyNetworkBasicInfoRequest(AbstractModel):
26822
26877
  self._Vip = None
26823
26878
  self._InternetMaxBandwidthOut = None
26824
26879
  self._Description = None
26880
+ self._SlaType = None
26825
26881
 
26826
26882
  @property
26827
26883
  def GatewayId(self):
@@ -26892,6 +26948,25 @@ class ModifyNetworkBasicInfoRequest(AbstractModel):
26892
26948
  def Description(self, Description):
26893
26949
  self._Description = Description
26894
26950
 
26951
+ @property
26952
+ def SlaType(self):
26953
+ r"""负载均衡的规格类型,支持:
26954
+ - 不传为共享型。
26955
+ - clb.c2.medium:标准型规格
26956
+ - clb.c3.small:高阶型1规格
26957
+ - clb.c3.medium:高阶型2规格
26958
+ - clb.c4.small:超强型1规格
26959
+ - clb.c4.medium:超强型2规格
26960
+ - clb.c4.large:超强型3规格
26961
+ - clb.c4.xlarge:超强型4规格
26962
+ :rtype: str
26963
+ """
26964
+ return self._SlaType
26965
+
26966
+ @SlaType.setter
26967
+ def SlaType(self, SlaType):
26968
+ self._SlaType = SlaType
26969
+
26895
26970
 
26896
26971
  def _deserialize(self, params):
26897
26972
  self._GatewayId = params.get("GatewayId")
@@ -26900,6 +26975,7 @@ class ModifyNetworkBasicInfoRequest(AbstractModel):
26900
26975
  self._Vip = params.get("Vip")
26901
26976
  self._InternetMaxBandwidthOut = params.get("InternetMaxBandwidthOut")
26902
26977
  self._Description = params.get("Description")
26978
+ self._SlaType = params.get("SlaType")
26903
26979
  memeber_set = set(params.keys())
26904
26980
  for name, value in vars(self).items():
26905
26981
  property_name = name[1:]
@@ -2511,7 +2511,7 @@ class TseClient(AbstractClient):
2511
2511
 
2512
2512
 
2513
2513
  def ModifyNetworkBasicInfo(self, request):
2514
- r"""修改云原生API网关实例网络基本信息,例如带宽以及描述,只支持修改客户端公网/内网的信息。
2514
+ r"""修改云原生API网关实例网络基本信息,例如带宽以及描述、规格升级,只支持修改客户端公网/内网的信息。
2515
2515
 
2516
2516
  :param request: Request instance for ModifyNetworkBasicInfo.
2517
2517
  :type request: :class:`tencentcloud.tse.v20201207.models.ModifyNetworkBasicInfoRequest`
@@ -29,6 +29,9 @@ FAILEDOPERATION_APPLICATIONQUERYFAILED = 'FailedOperation.ApplicationQueryFailed
29
29
  # TSF应用性能管理调用tsf-dcfg模块失败
30
30
  FAILEDOPERATION_CALLTSFDCFGFAILED = 'FailedOperation.CallTsfDcfgFailed'
31
31
 
32
+ # TSF云API调用申请角色临时凭证调用请求失败
33
+ FAILEDOPERATION_CAMROLEREQUESTERROR = 'FailedOperation.CamRoleRequestError'
34
+
32
35
  # 调用CDI状态接口失败
33
36
  FAILEDOPERATION_CDISTATUSFAILED = 'FailedOperation.CdiStatusFailed'
34
37