tencentcloud-sdk-python 3.0.1273__py2.py3-none-any.whl → 3.0.1275__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 (53) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/apigateway/v20180808/apigateway_client.py +46 -0
  3. tencentcloud/apigateway/v20180808/models.py +362 -0
  4. tencentcloud/autoscaling/v20180419/models.py +13 -11
  5. tencentcloud/bi/v20220105/bi_client.py +46 -0
  6. tencentcloud/bi/v20220105/errorcodes.py +3 -0
  7. tencentcloud/bi/v20220105/models.py +701 -24
  8. tencentcloud/billing/v20180709/models.py +105 -114
  9. tencentcloud/cam/v20190116/models.py +2 -2
  10. tencentcloud/cdwch/v20200915/errorcodes.py +6 -0
  11. tencentcloud/cloudhsm/v20191112/models.py +10 -170
  12. tencentcloud/cls/v20201016/cls_client.py +1 -1
  13. tencentcloud/cls/v20201016/models.py +16 -4
  14. tencentcloud/config/v20220802/config_client.py +46 -0
  15. tencentcloud/config/v20220802/models.py +664 -0
  16. tencentcloud/dnspod/v20210323/dnspod_client.py +46 -0
  17. tencentcloud/dnspod/v20210323/models.py +188 -0
  18. tencentcloud/ess/v20201111/ess_client.py +1 -1
  19. tencentcloud/ess/v20201111/models.py +20 -12
  20. tencentcloud/essbasic/v20210526/essbasic_client.py +1 -1
  21. tencentcloud/essbasic/v20210526/models.py +12 -8
  22. tencentcloud/goosefs/v20220519/models.py +15 -0
  23. tencentcloud/gwlb/v20240906/models.py +2 -2
  24. tencentcloud/hunyuan/v20230901/models.py +21 -4
  25. tencentcloud/ivld/v20210903/errorcodes.py +2 -2
  26. tencentcloud/lcic/v20220817/lcic_client.py +46 -0
  27. tencentcloud/lcic/v20220817/models.py +505 -2
  28. tencentcloud/lighthouse/v20200324/errorcodes.py +3 -0
  29. tencentcloud/lighthouse/v20200324/models.py +24 -4
  30. tencentcloud/live/v20180801/errorcodes.py +12 -0
  31. tencentcloud/live/v20180801/live_client.py +142 -0
  32. tencentcloud/live/v20180801/models.py +619 -0
  33. tencentcloud/lke/v20231130/lke_client.py +1 -1
  34. tencentcloud/lke/v20231130/models.py +35 -1
  35. tencentcloud/mps/v20190612/models.py +17 -2
  36. tencentcloud/oceanus/v20190422/models.py +15 -0
  37. tencentcloud/ocr/v20181119/models.py +132 -1971
  38. tencentcloud/ocr/v20181119/ocr_client.py +0 -167
  39. tencentcloud/organization/v20210331/models.py +2 -330
  40. tencentcloud/privatedns/v20201028/errorcodes.py +0 -42
  41. tencentcloud/privatedns/v20201028/models.py +712 -2358
  42. tencentcloud/privatedns/v20201028/privatedns_client.py +0 -230
  43. tencentcloud/tke/v20220501/models.py +6 -2
  44. tencentcloud/trtc/v20190722/errorcodes.py +15 -0
  45. tencentcloud/trtc/v20190722/models.py +218 -0
  46. tencentcloud/trtc/v20190722/trtc_client.py +47 -0
  47. tencentcloud/vod/v20180717/models.py +30 -0
  48. tencentcloud/vpc/v20170312/models.py +30 -0
  49. {tencentcloud_sdk_python-3.0.1273.dist-info → tencentcloud_sdk_python-3.0.1275.dist-info}/METADATA +1 -1
  50. {tencentcloud_sdk_python-3.0.1273.dist-info → tencentcloud_sdk_python-3.0.1275.dist-info}/RECORD +53 -53
  51. {tencentcloud_sdk_python-3.0.1273.dist-info → tencentcloud_sdk_python-3.0.1275.dist-info}/LICENSE +0 -0
  52. {tencentcloud_sdk_python-3.0.1273.dist-info → tencentcloud_sdk_python-3.0.1275.dist-info}/WHEEL +0 -0
  53. {tencentcloud_sdk_python-3.0.1273.dist-info → tencentcloud_sdk_python-3.0.1275.dist-info}/top_level.txt +0 -0
@@ -764,6 +764,29 @@ class LcicClient(AbstractClient):
764
764
  raise TencentCloudSDKException(type(e).__name__, str(e))
765
765
 
766
766
 
767
+ def DescribeMarquee(self, request):
768
+ """查询跑马灯配置
769
+
770
+ :param request: Request instance for DescribeMarquee.
771
+ :type request: :class:`tencentcloud.lcic.v20220817.models.DescribeMarqueeRequest`
772
+ :rtype: :class:`tencentcloud.lcic.v20220817.models.DescribeMarqueeResponse`
773
+
774
+ """
775
+ try:
776
+ params = request._serialize()
777
+ headers = request.headers
778
+ body = self.call("DescribeMarquee", params, headers=headers)
779
+ response = json.loads(body)
780
+ model = models.DescribeMarqueeResponse()
781
+ model._deserialize(response["Response"])
782
+ return model
783
+ except Exception as e:
784
+ if isinstance(e, TencentCloudSDKException):
785
+ raise
786
+ else:
787
+ raise TencentCloudSDKException(type(e).__name__, str(e))
788
+
789
+
767
790
  def DescribeQuestionList(self, request):
768
791
  """获取房间提问列表
769
792
 
@@ -1387,6 +1410,29 @@ class LcicClient(AbstractClient):
1387
1410
  raise TencentCloudSDKException(type(e).__name__, str(e))
1388
1411
 
1389
1412
 
1413
+ def SetMarquee(self, request):
1414
+ """设置跑马灯参数设置
1415
+
1416
+ :param request: Request instance for SetMarquee.
1417
+ :type request: :class:`tencentcloud.lcic.v20220817.models.SetMarqueeRequest`
1418
+ :rtype: :class:`tencentcloud.lcic.v20220817.models.SetMarqueeResponse`
1419
+
1420
+ """
1421
+ try:
1422
+ params = request._serialize()
1423
+ headers = request.headers
1424
+ body = self.call("SetMarquee", params, headers=headers)
1425
+ response = json.loads(body)
1426
+ model = models.SetMarqueeResponse()
1427
+ model._deserialize(response["Response"])
1428
+ return model
1429
+ except Exception as e:
1430
+ if isinstance(e, TencentCloudSDKException):
1431
+ raise
1432
+ else:
1433
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1434
+
1435
+
1390
1436
  def SetWatermark(self, request):
1391
1437
  """设置水印
1392
1438
 
@@ -5243,6 +5243,250 @@ class DescribeGroupResponse(AbstractModel):
5243
5243
  self._RequestId = params.get("RequestId")
5244
5244
 
5245
5245
 
5246
+ class DescribeMarqueeRequest(AbstractModel):
5247
+ """DescribeMarquee请求参数结构体
5248
+
5249
+ """
5250
+
5251
+ def __init__(self):
5252
+ r"""
5253
+ :param _SdkAppId: 学校ID
5254
+ :type SdkAppId: int
5255
+ :param _RoomId: 房间号
5256
+ :type RoomId: int
5257
+ """
5258
+ self._SdkAppId = None
5259
+ self._RoomId = None
5260
+
5261
+ @property
5262
+ def SdkAppId(self):
5263
+ """学校ID
5264
+ :rtype: int
5265
+ """
5266
+ return self._SdkAppId
5267
+
5268
+ @SdkAppId.setter
5269
+ def SdkAppId(self, SdkAppId):
5270
+ self._SdkAppId = SdkAppId
5271
+
5272
+ @property
5273
+ def RoomId(self):
5274
+ """房间号
5275
+ :rtype: int
5276
+ """
5277
+ return self._RoomId
5278
+
5279
+ @RoomId.setter
5280
+ def RoomId(self, RoomId):
5281
+ self._RoomId = RoomId
5282
+
5283
+
5284
+ def _deserialize(self, params):
5285
+ self._SdkAppId = params.get("SdkAppId")
5286
+ self._RoomId = params.get("RoomId")
5287
+ memeber_set = set(params.keys())
5288
+ for name, value in vars(self).items():
5289
+ property_name = name[1:]
5290
+ if property_name in memeber_set:
5291
+ memeber_set.remove(property_name)
5292
+ if len(memeber_set) > 0:
5293
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5294
+
5295
+
5296
+
5297
+ class DescribeMarqueeResponse(AbstractModel):
5298
+ """DescribeMarquee返回参数结构体
5299
+
5300
+ """
5301
+
5302
+ def __init__(self):
5303
+ r"""
5304
+ :param _MarqueeType: 跑马灯类型:1为固定值,2为用户昵称,3为固定值+用户昵称,4为用户ID,5为originId+固定值,6为用户昵称(originId)
5305
+ :type MarqueeType: int
5306
+ :param _Content: 固定值内容(当MarqueeType=1或5,则展示固定值内容)
5307
+ :type Content: str
5308
+ :param _FontSize: 字体大小(数字,像素单位,范围:10到24)
5309
+ :type FontSize: int
5310
+ :param _FontWeight: 字体粗细:1为粗体,0为细体
5311
+ :type FontWeight: int
5312
+ :param _FontColor: 字体颜色(十六进制颜色值)
5313
+ :type FontColor: str
5314
+ :param _FontOpacity: 字体透明度(数字,范围 0.0 到 1.0)
5315
+ :type FontOpacity: float
5316
+ :param _BackgroundColor: 背景颜色(十六进制颜色值)
5317
+ :type BackgroundColor: str
5318
+ :param _BackgroundOpacity: 背景透明度(数字,范围 0.0 到 1.0)
5319
+ :type BackgroundOpacity: float
5320
+ :param _DisplayMode: 显示方式:1为滚动,2为闪烁
5321
+ :type DisplayMode: int
5322
+ :param _Duration: 停留时长(秒,整数,范围 1~10)
5323
+ :type Duration: int
5324
+ :param _MarqueeCount: 跑马灯个数:目前仅支持1或2, 对应显示单排或双排
5325
+ :type MarqueeCount: int
5326
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5327
+ :type RequestId: str
5328
+ """
5329
+ self._MarqueeType = None
5330
+ self._Content = None
5331
+ self._FontSize = None
5332
+ self._FontWeight = None
5333
+ self._FontColor = None
5334
+ self._FontOpacity = None
5335
+ self._BackgroundColor = None
5336
+ self._BackgroundOpacity = None
5337
+ self._DisplayMode = None
5338
+ self._Duration = None
5339
+ self._MarqueeCount = None
5340
+ self._RequestId = None
5341
+
5342
+ @property
5343
+ def MarqueeType(self):
5344
+ """ 跑马灯类型:1为固定值,2为用户昵称,3为固定值+用户昵称,4为用户ID,5为originId+固定值,6为用户昵称(originId)
5345
+ :rtype: int
5346
+ """
5347
+ return self._MarqueeType
5348
+
5349
+ @MarqueeType.setter
5350
+ def MarqueeType(self, MarqueeType):
5351
+ self._MarqueeType = MarqueeType
5352
+
5353
+ @property
5354
+ def Content(self):
5355
+ """固定值内容(当MarqueeType=1或5,则展示固定值内容)
5356
+ :rtype: str
5357
+ """
5358
+ return self._Content
5359
+
5360
+ @Content.setter
5361
+ def Content(self, Content):
5362
+ self._Content = Content
5363
+
5364
+ @property
5365
+ def FontSize(self):
5366
+ """字体大小(数字,像素单位,范围:10到24)
5367
+ :rtype: int
5368
+ """
5369
+ return self._FontSize
5370
+
5371
+ @FontSize.setter
5372
+ def FontSize(self, FontSize):
5373
+ self._FontSize = FontSize
5374
+
5375
+ @property
5376
+ def FontWeight(self):
5377
+ """字体粗细:1为粗体,0为细体
5378
+ :rtype: int
5379
+ """
5380
+ return self._FontWeight
5381
+
5382
+ @FontWeight.setter
5383
+ def FontWeight(self, FontWeight):
5384
+ self._FontWeight = FontWeight
5385
+
5386
+ @property
5387
+ def FontColor(self):
5388
+ """字体颜色(十六进制颜色值)
5389
+ :rtype: str
5390
+ """
5391
+ return self._FontColor
5392
+
5393
+ @FontColor.setter
5394
+ def FontColor(self, FontColor):
5395
+ self._FontColor = FontColor
5396
+
5397
+ @property
5398
+ def FontOpacity(self):
5399
+ """字体透明度(数字,范围 0.0 到 1.0)
5400
+ :rtype: float
5401
+ """
5402
+ return self._FontOpacity
5403
+
5404
+ @FontOpacity.setter
5405
+ def FontOpacity(self, FontOpacity):
5406
+ self._FontOpacity = FontOpacity
5407
+
5408
+ @property
5409
+ def BackgroundColor(self):
5410
+ """背景颜色(十六进制颜色值)
5411
+ :rtype: str
5412
+ """
5413
+ return self._BackgroundColor
5414
+
5415
+ @BackgroundColor.setter
5416
+ def BackgroundColor(self, BackgroundColor):
5417
+ self._BackgroundColor = BackgroundColor
5418
+
5419
+ @property
5420
+ def BackgroundOpacity(self):
5421
+ """背景透明度(数字,范围 0.0 到 1.0)
5422
+ :rtype: float
5423
+ """
5424
+ return self._BackgroundOpacity
5425
+
5426
+ @BackgroundOpacity.setter
5427
+ def BackgroundOpacity(self, BackgroundOpacity):
5428
+ self._BackgroundOpacity = BackgroundOpacity
5429
+
5430
+ @property
5431
+ def DisplayMode(self):
5432
+ """显示方式:1为滚动,2为闪烁
5433
+ :rtype: int
5434
+ """
5435
+ return self._DisplayMode
5436
+
5437
+ @DisplayMode.setter
5438
+ def DisplayMode(self, DisplayMode):
5439
+ self._DisplayMode = DisplayMode
5440
+
5441
+ @property
5442
+ def Duration(self):
5443
+ """停留时长(秒,整数,范围 1~10)
5444
+ :rtype: int
5445
+ """
5446
+ return self._Duration
5447
+
5448
+ @Duration.setter
5449
+ def Duration(self, Duration):
5450
+ self._Duration = Duration
5451
+
5452
+ @property
5453
+ def MarqueeCount(self):
5454
+ """跑马灯个数:目前仅支持1或2, 对应显示单排或双排
5455
+ :rtype: int
5456
+ """
5457
+ return self._MarqueeCount
5458
+
5459
+ @MarqueeCount.setter
5460
+ def MarqueeCount(self, MarqueeCount):
5461
+ self._MarqueeCount = MarqueeCount
5462
+
5463
+ @property
5464
+ def RequestId(self):
5465
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5466
+ :rtype: str
5467
+ """
5468
+ return self._RequestId
5469
+
5470
+ @RequestId.setter
5471
+ def RequestId(self, RequestId):
5472
+ self._RequestId = RequestId
5473
+
5474
+
5475
+ def _deserialize(self, params):
5476
+ self._MarqueeType = params.get("MarqueeType")
5477
+ self._Content = params.get("Content")
5478
+ self._FontSize = params.get("FontSize")
5479
+ self._FontWeight = params.get("FontWeight")
5480
+ self._FontColor = params.get("FontColor")
5481
+ self._FontOpacity = params.get("FontOpacity")
5482
+ self._BackgroundColor = params.get("BackgroundColor")
5483
+ self._BackgroundOpacity = params.get("BackgroundOpacity")
5484
+ self._DisplayMode = params.get("DisplayMode")
5485
+ self._Duration = params.get("Duration")
5486
+ self._MarqueeCount = params.get("MarqueeCount")
5487
+ self._RequestId = params.get("RequestId")
5488
+
5489
+
5246
5490
  class DescribeQuestionListRequest(AbstractModel):
5247
5491
  """DescribeQuestionList请求参数结构体
5248
5492
 
@@ -6993,14 +7237,17 @@ class DescribeUserRequest(AbstractModel):
6993
7237
 
6994
7238
  def __init__(self):
6995
7239
  r"""
6996
- :param _UserId: 用户Id。
7240
+ :param _UserId: 用户id。支持通过 user_id 或 OriginId 查询用户信息,优先使用 user_id 进行查询。
6997
7241
  :type UserId: str
7242
+ :param _OriginId: 用户在客户系统的Id。支持通过 user_id 或 OriginId 查询用户信息,优先使用 user_id 进行查询(UserId不为空时,OriginId不生效)。
7243
+ :type OriginId: str
6998
7244
  """
6999
7245
  self._UserId = None
7246
+ self._OriginId = None
7000
7247
 
7001
7248
  @property
7002
7249
  def UserId(self):
7003
- """用户Id。
7250
+ """用户id。支持通过 user_id 或 OriginId 查询用户信息,优先使用 user_id 进行查询。
7004
7251
  :rtype: str
7005
7252
  """
7006
7253
  return self._UserId
@@ -7009,9 +7256,21 @@ class DescribeUserRequest(AbstractModel):
7009
7256
  def UserId(self, UserId):
7010
7257
  self._UserId = UserId
7011
7258
 
7259
+ @property
7260
+ def OriginId(self):
7261
+ """用户在客户系统的Id。支持通过 user_id 或 OriginId 查询用户信息,优先使用 user_id 进行查询(UserId不为空时,OriginId不生效)。
7262
+ :rtype: str
7263
+ """
7264
+ return self._OriginId
7265
+
7266
+ @OriginId.setter
7267
+ def OriginId(self, OriginId):
7268
+ self._OriginId = OriginId
7269
+
7012
7270
 
7013
7271
  def _deserialize(self, params):
7014
7272
  self._UserId = params.get("UserId")
7273
+ self._OriginId = params.get("OriginId")
7015
7274
  memeber_set = set(params.keys())
7016
7275
  for name, value in vars(self).items():
7017
7276
  property_name = name[1:]
@@ -12332,6 +12591,250 @@ class SetAppCustomContentResponse(AbstractModel):
12332
12591
  self._RequestId = params.get("RequestId")
12333
12592
 
12334
12593
 
12594
+ class SetMarqueeRequest(AbstractModel):
12595
+ """SetMarquee请求参数结构体
12596
+
12597
+ """
12598
+
12599
+ def __init__(self):
12600
+ r"""
12601
+ :param _SdkAppId: 学校ID
12602
+ :type SdkAppId: int
12603
+ :param _RoomId: 房间号
12604
+ :type RoomId: int
12605
+ :param _MarqueeType: 跑马灯类型:1为固定值,2为用户昵称,3为固定值+用户昵称,4为用户ID,5为originId+固定值,6为用户昵称(originId)
12606
+ :type MarqueeType: int
12607
+ :param _DisplayMode: 显示方式:1为滚动,2为闪烁
12608
+ :type DisplayMode: int
12609
+ :param _Content: 固定值内容(当MarqueeType=1或5,则展示固定值内容)
12610
+ :type Content: str
12611
+ :param _FontSize: 字体大小(数字,像素单位,范围:10到24)。
12612
+ :type FontSize: int
12613
+ :param _FontWeight: 字体粗细:1为粗体,0为细体
12614
+ :type FontWeight: int
12615
+ :param _FontColor: 字体颜色(十六进制颜色值,例如:#00FF00(绿色))
12616
+ :type FontColor: str
12617
+ :param _FontOpacity: 字体透明度(数字,范围 0.0 到 1.0)
12618
+ :type FontOpacity: float
12619
+ :param _BackgroundColor: 背景颜色(十六进制颜色值,例如:#FFFF00(黄色))
12620
+ :type BackgroundColor: str
12621
+ :param _BackgroundOpacity: 背景透明度(数字,范围 0.0 到 1.0)
12622
+ :type BackgroundOpacity: float
12623
+ :param _Duration: 跑马灯文字移动/闪烁指定像素所需时间,范围:1-10;数值越小,跑马灯滚动/闪烁速度越快
12624
+ :type Duration: int
12625
+ :param _MarqueeCount: 跑马灯个数:目前仅支持1或2, 对应显示单排或双排
12626
+ :type MarqueeCount: int
12627
+ """
12628
+ self._SdkAppId = None
12629
+ self._RoomId = None
12630
+ self._MarqueeType = None
12631
+ self._DisplayMode = None
12632
+ self._Content = None
12633
+ self._FontSize = None
12634
+ self._FontWeight = None
12635
+ self._FontColor = None
12636
+ self._FontOpacity = None
12637
+ self._BackgroundColor = None
12638
+ self._BackgroundOpacity = None
12639
+ self._Duration = None
12640
+ self._MarqueeCount = None
12641
+
12642
+ @property
12643
+ def SdkAppId(self):
12644
+ """学校ID
12645
+ :rtype: int
12646
+ """
12647
+ return self._SdkAppId
12648
+
12649
+ @SdkAppId.setter
12650
+ def SdkAppId(self, SdkAppId):
12651
+ self._SdkAppId = SdkAppId
12652
+
12653
+ @property
12654
+ def RoomId(self):
12655
+ """房间号
12656
+ :rtype: int
12657
+ """
12658
+ return self._RoomId
12659
+
12660
+ @RoomId.setter
12661
+ def RoomId(self, RoomId):
12662
+ self._RoomId = RoomId
12663
+
12664
+ @property
12665
+ def MarqueeType(self):
12666
+ """ 跑马灯类型:1为固定值,2为用户昵称,3为固定值+用户昵称,4为用户ID,5为originId+固定值,6为用户昵称(originId)
12667
+ :rtype: int
12668
+ """
12669
+ return self._MarqueeType
12670
+
12671
+ @MarqueeType.setter
12672
+ def MarqueeType(self, MarqueeType):
12673
+ self._MarqueeType = MarqueeType
12674
+
12675
+ @property
12676
+ def DisplayMode(self):
12677
+ """显示方式:1为滚动,2为闪烁
12678
+ :rtype: int
12679
+ """
12680
+ return self._DisplayMode
12681
+
12682
+ @DisplayMode.setter
12683
+ def DisplayMode(self, DisplayMode):
12684
+ self._DisplayMode = DisplayMode
12685
+
12686
+ @property
12687
+ def Content(self):
12688
+ """固定值内容(当MarqueeType=1或5,则展示固定值内容)
12689
+ :rtype: str
12690
+ """
12691
+ return self._Content
12692
+
12693
+ @Content.setter
12694
+ def Content(self, Content):
12695
+ self._Content = Content
12696
+
12697
+ @property
12698
+ def FontSize(self):
12699
+ """字体大小(数字,像素单位,范围:10到24)。
12700
+ :rtype: int
12701
+ """
12702
+ return self._FontSize
12703
+
12704
+ @FontSize.setter
12705
+ def FontSize(self, FontSize):
12706
+ self._FontSize = FontSize
12707
+
12708
+ @property
12709
+ def FontWeight(self):
12710
+ """字体粗细:1为粗体,0为细体
12711
+ :rtype: int
12712
+ """
12713
+ return self._FontWeight
12714
+
12715
+ @FontWeight.setter
12716
+ def FontWeight(self, FontWeight):
12717
+ self._FontWeight = FontWeight
12718
+
12719
+ @property
12720
+ def FontColor(self):
12721
+ """字体颜色(十六进制颜色值,例如:#00FF00(绿色))
12722
+ :rtype: str
12723
+ """
12724
+ return self._FontColor
12725
+
12726
+ @FontColor.setter
12727
+ def FontColor(self, FontColor):
12728
+ self._FontColor = FontColor
12729
+
12730
+ @property
12731
+ def FontOpacity(self):
12732
+ """字体透明度(数字,范围 0.0 到 1.0)
12733
+ :rtype: float
12734
+ """
12735
+ return self._FontOpacity
12736
+
12737
+ @FontOpacity.setter
12738
+ def FontOpacity(self, FontOpacity):
12739
+ self._FontOpacity = FontOpacity
12740
+
12741
+ @property
12742
+ def BackgroundColor(self):
12743
+ """背景颜色(十六进制颜色值,例如:#FFFF00(黄色))
12744
+ :rtype: str
12745
+ """
12746
+ return self._BackgroundColor
12747
+
12748
+ @BackgroundColor.setter
12749
+ def BackgroundColor(self, BackgroundColor):
12750
+ self._BackgroundColor = BackgroundColor
12751
+
12752
+ @property
12753
+ def BackgroundOpacity(self):
12754
+ """背景透明度(数字,范围 0.0 到 1.0)
12755
+ :rtype: float
12756
+ """
12757
+ return self._BackgroundOpacity
12758
+
12759
+ @BackgroundOpacity.setter
12760
+ def BackgroundOpacity(self, BackgroundOpacity):
12761
+ self._BackgroundOpacity = BackgroundOpacity
12762
+
12763
+ @property
12764
+ def Duration(self):
12765
+ """跑马灯文字移动/闪烁指定像素所需时间,范围:1-10;数值越小,跑马灯滚动/闪烁速度越快
12766
+ :rtype: int
12767
+ """
12768
+ return self._Duration
12769
+
12770
+ @Duration.setter
12771
+ def Duration(self, Duration):
12772
+ self._Duration = Duration
12773
+
12774
+ @property
12775
+ def MarqueeCount(self):
12776
+ """跑马灯个数:目前仅支持1或2, 对应显示单排或双排
12777
+ :rtype: int
12778
+ """
12779
+ return self._MarqueeCount
12780
+
12781
+ @MarqueeCount.setter
12782
+ def MarqueeCount(self, MarqueeCount):
12783
+ self._MarqueeCount = MarqueeCount
12784
+
12785
+
12786
+ def _deserialize(self, params):
12787
+ self._SdkAppId = params.get("SdkAppId")
12788
+ self._RoomId = params.get("RoomId")
12789
+ self._MarqueeType = params.get("MarqueeType")
12790
+ self._DisplayMode = params.get("DisplayMode")
12791
+ self._Content = params.get("Content")
12792
+ self._FontSize = params.get("FontSize")
12793
+ self._FontWeight = params.get("FontWeight")
12794
+ self._FontColor = params.get("FontColor")
12795
+ self._FontOpacity = params.get("FontOpacity")
12796
+ self._BackgroundColor = params.get("BackgroundColor")
12797
+ self._BackgroundOpacity = params.get("BackgroundOpacity")
12798
+ self._Duration = params.get("Duration")
12799
+ self._MarqueeCount = params.get("MarqueeCount")
12800
+ memeber_set = set(params.keys())
12801
+ for name, value in vars(self).items():
12802
+ property_name = name[1:]
12803
+ if property_name in memeber_set:
12804
+ memeber_set.remove(property_name)
12805
+ if len(memeber_set) > 0:
12806
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12807
+
12808
+
12809
+
12810
+ class SetMarqueeResponse(AbstractModel):
12811
+ """SetMarquee返回参数结构体
12812
+
12813
+ """
12814
+
12815
+ def __init__(self):
12816
+ r"""
12817
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12818
+ :type RequestId: str
12819
+ """
12820
+ self._RequestId = None
12821
+
12822
+ @property
12823
+ def RequestId(self):
12824
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12825
+ :rtype: str
12826
+ """
12827
+ return self._RequestId
12828
+
12829
+ @RequestId.setter
12830
+ def RequestId(self, RequestId):
12831
+ self._RequestId = RequestId
12832
+
12833
+
12834
+ def _deserialize(self, params):
12835
+ self._RequestId = params.get("RequestId")
12836
+
12837
+
12335
12838
  class SetWatermarkRequest(AbstractModel):
12336
12839
  """SetWatermark请求参数结构体
12337
12840
 
@@ -752,6 +752,9 @@ UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = 'UnsupportedOperation.LatestOpe
752
752
  # 共享镜像不支持此操作。
753
753
  UNSUPPORTEDOPERATION_NOTSUPPORTSHAREDBLUEPRINT = 'UnsupportedOperation.NotSupportSharedBlueprint'
754
754
 
755
+ # 操作不支持自动生成密码。
756
+ UNSUPPORTEDOPERATION_OPERATIONNOTSUPPORTAUTOGENERATEPASSWORD = 'UnsupportedOperation.OperationNotSupportAutoGeneratePassword'
757
+
755
758
  # 国际站不支持该操作。
756
759
  UNSUPPORTEDOPERATION_OPERATIONNOTSUPPORTEDININTLSITE = 'UnsupportedOperation.OperationNotSupportedInIntlSite'
757
760
 
@@ -13745,8 +13745,18 @@ class LoginConfiguration(AbstractModel):
13745
13745
  <li>"NO"代表选择自定义密码,这时要指定Password字段。</li>
13746
13746
  :type AutoGeneratePassword: str
13747
13747
  :param _Password: 实例登录密码。具体按照操作系统的复杂度要求。
13748
- `LINUX_UNIX` 实例密码必须 8-30 位,推荐使用 12 位以上密码,不能包含空格, 不能以“/”开头,至少包含以下字符中的三种不同字符,字符种类:<br><li>小写字母:[a-z]<br><li>大写字母:[A-Z]<br><li>数字:0-9<br><li>特殊字符: ()\`\~!@#$%^&\*-+=\_|{}[]:;' <>,.?/</li>
13749
- `WINDOWS` 实例密码必须 12-30 位,不能包含空格, 不能以“/”开头且不包括用户名,至少包含以下字符中的三种不同字符<br><li>小写字母:[a-z]<br><li>大写字母:[A-Z]<br><li>数字: 0-9<br><li>特殊字符:()\`~!@#$%^&\*-+=\_|{}[]:;' <>,.?/
13748
+
13749
+ `LINUX_UNIX` 实例密码必须 8-30 位,推荐使用 12 位以上密码,不能包含空格,不能以“/”开头,至少包含以下字符中的三种不同字符,字符种类:<br>
13750
+ <li>小写字母:[a-z]</li>
13751
+ <li>大写字母:[A-Z]</li>
13752
+ <li>数字:0-9</li>
13753
+ <li>特殊字符: ()\`\~!@#$%^&\*-+=\_|{}[]:;' <>,.?/</li>
13754
+
13755
+ `WINDOWS` 实例密码必须 12-30 位,不能包含空格,不能以“/”开头且不包括用户名,至少包含以下字符中的三种不同字符:<br>
13756
+ <li>小写字母:[a-z]</li>
13757
+ <li>大写字母:[A-Z]</li>
13758
+ <li>数字:0-9</li>
13759
+ <li>特殊字符:()\`~!@#$%^&\*-+=\_|{}[]:;' <>,.?/</li>
13750
13760
  :type Password: str
13751
13761
  :param _KeyIds: 密钥ID列表,最多同时指定5个密钥。关联密钥后,就可以通过对应的私钥来访问实例。密钥与密码不能同时指定,同时WINDOWS操作系统不支持指定密钥。密钥ID列表可以通过[DescribeKeyPairs](https://cloud.tencent.com/document/product/1207/55540)接口获取。
13752
13762
  :type KeyIds: list of str
@@ -13770,8 +13780,18 @@ class LoginConfiguration(AbstractModel):
13770
13780
  @property
13771
13781
  def Password(self):
13772
13782
  """实例登录密码。具体按照操作系统的复杂度要求。
13773
- `LINUX_UNIX` 实例密码必须 8-30 位,推荐使用 12 位以上密码,不能包含空格, 不能以“/”开头,至少包含以下字符中的三种不同字符,字符种类:<br><li>小写字母:[a-z]<br><li>大写字母:[A-Z]<br><li>数字:0-9<br><li>特殊字符: ()\`\~!@#$%^&\*-+=\_|{}[]:;' <>,.?/</li>
13774
- `WINDOWS` 实例密码必须 12-30 位,不能包含空格, 不能以“/”开头且不包括用户名,至少包含以下字符中的三种不同字符<br><li>小写字母:[a-z]<br><li>大写字母:[A-Z]<br><li>数字: 0-9<br><li>特殊字符:()\`~!@#$%^&\*-+=\_|{}[]:;' <>,.?/
13783
+
13784
+ `LINUX_UNIX` 实例密码必须 8-30 位,推荐使用 12 位以上密码,不能包含空格,不能以“/”开头,至少包含以下字符中的三种不同字符,字符种类:<br>
13785
+ <li>小写字母:[a-z]</li>
13786
+ <li>大写字母:[A-Z]</li>
13787
+ <li>数字:0-9</li>
13788
+ <li>特殊字符: ()\`\~!@#$%^&\*-+=\_|{}[]:;' <>,.?/</li>
13789
+
13790
+ `WINDOWS` 实例密码必须 12-30 位,不能包含空格,不能以“/”开头且不包括用户名,至少包含以下字符中的三种不同字符:<br>
13791
+ <li>小写字母:[a-z]</li>
13792
+ <li>大写字母:[A-Z]</li>
13793
+ <li>数字:0-9</li>
13794
+ <li>特殊字符:()\`~!@#$%^&\*-+=\_|{}[]:;' <>,.?/</li>
13775
13795
  :rtype: str
13776
13796
  """
13777
13797
  return self._Password
@@ -89,6 +89,9 @@ FAILEDOPERATION_COSBUCKETNOTPERMISSION = 'FailedOperation.CosBucketNotPermission
89
89
  # Cos 角色不存在,请前往 控制台 -> 功能配置 -> 直播截图&鉴黄 页面进行授权。
90
90
  FAILEDOPERATION_COSROLENOTEXISTS = 'FailedOperation.CosRoleNotExists'
91
91
 
92
+ # 创建/更新导播台主监、预监任务失败,可能是并发操作了同一个主监或预监任务。
93
+ FAILEDOPERATION_CREATECASTERTASKFAILED = 'FailedOperation.CreateCasterTaskFailed'
94
+
92
95
  # 数据库访问异常。
93
96
  FAILEDOPERATION_DATABASENOTACCESSIBLE = 'FailedOperation.DatabaseNotAccessible'
94
97
 
@@ -191,6 +194,9 @@ FAILEDOPERATION_MONITORNOTEXIST = 'FailedOperation.MonitorNotExist'
191
194
  # 当前 CA 机构访问繁忙,请稍后重试。
192
195
  FAILEDOPERATION_NETWORKERROR = 'FailedOperation.NetworkError'
193
196
 
197
+ # 直播未配置推流或播放域名
198
+ FAILEDOPERATION_NOLVBPUSHORPLAYDOMAIN = 'FailedOperation.NoLVBPushOrPlayDomain'
199
+
194
200
  # 您没有该项目的操作权限。
195
201
  FAILEDOPERATION_NOPROJECTPERMISSION = 'FailedOperation.NoProjectPermission'
196
202
 
@@ -224,6 +230,12 @@ FAILEDOPERATION_RELATESERVERNOTACCESSIBLE = 'FailedOperation.RelateServerNotAcce
224
230
  # 输入关联的运行中的监播任务超出限制。
225
231
  FAILEDOPERATION_RELATEDRUNNINGMONITORLIMITEXCEEDED = 'FailedOperation.RelatedRunningMonitorLimitExceeded'
226
232
 
233
+ # 释放导播台失败。
234
+ FAILEDOPERATION_RELEASECASTERFAILED = 'FailedOperation.ReleaseCasterFailed'
235
+
236
+ # 启动时后台资源不足。
237
+ FAILEDOPERATION_RESOURCENOTENOUGH = 'FailedOperation.ResourceNotEnough'
238
+
227
239
  # 规则已经存在。
228
240
  FAILEDOPERATION_RULEALREADYEXIST = 'FailedOperation.RuleAlreadyExist'
229
241