tencentcloud-sdk-python 3.0.1315__py2.py3-none-any.whl → 3.0.1316__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/batch/v20170312/models.py +2 -2
- tencentcloud/bh/v20230418/models.py +783 -2
- tencentcloud/cbs/v20170312/models.py +21 -4
- tencentcloud/chdfs/v20201112/models.py +0 -6
- tencentcloud/cls/v20201016/models.py +25 -4
- tencentcloud/cvm/v20170312/models.py +2 -2
- tencentcloud/facefusion/v20220927/models.py +4 -4
- tencentcloud/lighthouse/v20200324/models.py +0 -6
- tencentcloud/mna/v20210119/models.py +0 -16
- tencentcloud/mps/v20190612/models.py +136 -0
- tencentcloud/mqtt/v20240516/errorcodes.py +6 -0
- tencentcloud/mqtt/v20240516/models.py +2003 -195
- tencentcloud/mqtt/v20240516/mqtt_client.py +255 -0
- tencentcloud/ocr/v20181119/models.py +45 -0
- tencentcloud/ssl/v20191205/errorcodes.py +3 -0
- tencentcloud/ssl/v20191205/models.py +758 -0
- tencentcloud/ssl/v20191205/ssl_client.py +46 -0
- tencentcloud/tcr/v20190924/models.py +4 -0
- tencentcloud/tmt/v20180321/models.py +4 -0
- tencentcloud/trtc/v20190722/models.py +0 -4
- {tencentcloud_sdk_python-3.0.1315.dist-info → tencentcloud_sdk_python-3.0.1316.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1315.dist-info → tencentcloud_sdk_python-3.0.1316.dist-info}/RECORD +26 -26
- {tencentcloud_sdk_python-3.0.1315.dist-info → tencentcloud_sdk_python-3.0.1316.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1315.dist-info → tencentcloud_sdk_python-3.0.1316.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1315.dist-info → tencentcloud_sdk_python-3.0.1316.dist-info}/top_level.txt +0 -0
@@ -1579,7 +1579,7 @@ class CreateDisksRequest(AbstractModel):
|
|
1579
1579
|
:type DiskCount: int
|
1580
1580
|
:param _ThroughputPerformance: 可选参数。使用此参数可给云硬盘购买额外的性能。<br>当前仅支持极速型云盘(CLOUD_TSSD)和增强型SSD云硬盘(CLOUD_HSSD)
|
1581
1581
|
:type ThroughputPerformance: int
|
1582
|
-
:param _DiskSize: 云硬盘大小,单位为
|
1582
|
+
:param _DiskSize: 云硬盘大小,单位为GiB。<br><li>如果传入`SnapshotId`则可不传`DiskSize`,此时新建云盘的大小为快照大小</li><br><li>如果传入`SnapshotId`同时传入`DiskSize`,则云盘大小必须大于或等于快照大小</li><br><li>云盘大小取值范围参见云硬盘[产品分类](/document/product/362/2353)的说明。</li>
|
1583
1583
|
:type DiskSize: int
|
1584
1584
|
:param _Shareable: 可选参数,默认为False。传入True时,云盘将创建为共享型云盘。
|
1585
1585
|
:type Shareable: bool
|
@@ -1709,7 +1709,7 @@ class CreateDisksRequest(AbstractModel):
|
|
1709
1709
|
|
1710
1710
|
@property
|
1711
1711
|
def DiskSize(self):
|
1712
|
-
"""云硬盘大小,单位为
|
1712
|
+
"""云硬盘大小,单位为GiB。<br><li>如果传入`SnapshotId`则可不传`DiskSize`,此时新建云盘的大小为快照大小</li><br><li>如果传入`SnapshotId`同时传入`DiskSize`,则云盘大小必须大于或等于快照大小</li><br><li>云盘大小取值范围参见云硬盘[产品分类](/document/product/362/2353)的说明。</li>
|
1713
1713
|
:rtype: int
|
1714
1714
|
"""
|
1715
1715
|
return self._DiskSize
|
@@ -4072,7 +4072,7 @@ class Disk(AbstractModel):
|
|
4072
4072
|
:type DeadlineTime: str
|
4073
4073
|
:param _Attached: 云盘是否挂载到云主机上。取值范围:<br><li>false:表示未挂载</li><li>true:表示已挂载。</li>
|
4074
4074
|
:type Attached: bool
|
4075
|
-
:param _DiskSize: 云硬盘大小,单位
|
4075
|
+
:param _DiskSize: 云硬盘大小,单位GiB。
|
4076
4076
|
:type DiskSize: int
|
4077
4077
|
:param _MigratePercent: 云盘类型变更的迁移进度,取值0到100。
|
4078
4078
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -4117,6 +4117,9 @@ class Disk(AbstractModel):
|
|
4117
4117
|
:param _BurstPerformance: 云盘是否开启性能突发
|
4118
4118
|
注意:此字段可能返回 null,表示取不到有效值。
|
4119
4119
|
:type BurstPerformance: bool
|
4120
|
+
:param _EncryptType: 云硬盘加密类型,值为ENCRYPT_V1和ENCRYPT_V2,分别表示第一代和第二代加密技术,两种加密技术互不兼容
|
4121
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4122
|
+
:type EncryptType: str
|
4120
4123
|
"""
|
4121
4124
|
self._DeleteWithInstance = None
|
4122
4125
|
self._RenewFlag = None
|
@@ -4160,6 +4163,7 @@ class Disk(AbstractModel):
|
|
4160
4163
|
self._LastAttachInsId = None
|
4161
4164
|
self._ErrorPrompt = None
|
4162
4165
|
self._BurstPerformance = None
|
4166
|
+
self._EncryptType = None
|
4163
4167
|
|
4164
4168
|
@property
|
4165
4169
|
def DeleteWithInstance(self):
|
@@ -4425,7 +4429,7 @@ class Disk(AbstractModel):
|
|
4425
4429
|
|
4426
4430
|
@property
|
4427
4431
|
def DiskSize(self):
|
4428
|
-
"""云硬盘大小,单位
|
4432
|
+
"""云硬盘大小,单位GiB。
|
4429
4433
|
:rtype: int
|
4430
4434
|
"""
|
4431
4435
|
return self._DiskSize
|
@@ -4639,6 +4643,18 @@ class Disk(AbstractModel):
|
|
4639
4643
|
def BurstPerformance(self, BurstPerformance):
|
4640
4644
|
self._BurstPerformance = BurstPerformance
|
4641
4645
|
|
4646
|
+
@property
|
4647
|
+
def EncryptType(self):
|
4648
|
+
"""云硬盘加密类型,值为ENCRYPT_V1和ENCRYPT_V2,分别表示第一代和第二代加密技术,两种加密技术互不兼容
|
4649
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4650
|
+
:rtype: str
|
4651
|
+
"""
|
4652
|
+
return self._EncryptType
|
4653
|
+
|
4654
|
+
@EncryptType.setter
|
4655
|
+
def EncryptType(self, EncryptType):
|
4656
|
+
self._EncryptType = EncryptType
|
4657
|
+
|
4642
4658
|
|
4643
4659
|
def _deserialize(self, params):
|
4644
4660
|
self._DeleteWithInstance = params.get("DeleteWithInstance")
|
@@ -4690,6 +4706,7 @@ class Disk(AbstractModel):
|
|
4690
4706
|
self._LastAttachInsId = params.get("LastAttachInsId")
|
4691
4707
|
self._ErrorPrompt = params.get("ErrorPrompt")
|
4692
4708
|
self._BurstPerformance = params.get("BurstPerformance")
|
4709
|
+
self._EncryptType = params.get("EncryptType")
|
4693
4710
|
memeber_set = set(params.keys())
|
4694
4711
|
for name, value in vars(self).items():
|
4695
4712
|
property_name = name[1:]
|
@@ -494,7 +494,6 @@ class CreateAccessRulesResponse(AbstractModel):
|
|
494
494
|
def __init__(self):
|
495
495
|
r"""
|
496
496
|
:param _AccessRules: 权限规则列表
|
497
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
498
497
|
:type AccessRules: list of AccessRule
|
499
498
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
500
499
|
:type RequestId: str
|
@@ -505,7 +504,6 @@ class CreateAccessRulesResponse(AbstractModel):
|
|
505
504
|
@property
|
506
505
|
def AccessRules(self):
|
507
506
|
"""权限规则列表
|
508
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
509
507
|
:rtype: list of AccessRule
|
510
508
|
"""
|
511
509
|
return self._AccessRules
|
@@ -2417,10 +2415,8 @@ class FileSystem(AbstractModel):
|
|
2417
2415
|
:param _PosixAcl: POSIX权限控制
|
2418
2416
|
:type PosixAcl: bool
|
2419
2417
|
:param _EnableRanger: 是否打开Ranger地址校验
|
2420
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2421
2418
|
:type EnableRanger: bool
|
2422
2419
|
:param _RangerServiceAddresses: Ranger地址列表
|
2423
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2424
2420
|
:type RangerServiceAddresses: list of str
|
2425
2421
|
"""
|
2426
2422
|
self._AppId = None
|
@@ -2561,7 +2557,6 @@ class FileSystem(AbstractModel):
|
|
2561
2557
|
@property
|
2562
2558
|
def EnableRanger(self):
|
2563
2559
|
"""是否打开Ranger地址校验
|
2564
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2565
2560
|
:rtype: bool
|
2566
2561
|
"""
|
2567
2562
|
return self._EnableRanger
|
@@ -2573,7 +2568,6 @@ class FileSystem(AbstractModel):
|
|
2573
2568
|
@property
|
2574
2569
|
def RangerServiceAddresses(self):
|
2575
2570
|
"""Ranger地址列表
|
2576
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2577
2571
|
:rtype: list of str
|
2578
2572
|
"""
|
2579
2573
|
return self._RangerServiceAddresses
|
@@ -9266,8 +9266,9 @@ class CreateTopicRequest(AbstractModel):
|
|
9266
9266
|
:type MaxSplitPartitions: int
|
9267
9267
|
:param _StorageType: 日志主题的存储类型,可选值 hot(标准存储),cold(低频存储);默认为hot。
|
9268
9268
|
:type StorageType: str
|
9269
|
-
:param _Period:
|
9270
|
-
|
9269
|
+
:param _Period: 存储时间,单位天。
|
9270
|
+
- 日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。
|
9271
|
+
- 日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。
|
9271
9272
|
:type Period: int
|
9272
9273
|
:param _Describes: 日志主题描述
|
9273
9274
|
:type Describes: str
|
@@ -9275,6 +9276,10 @@ class CreateTopicRequest(AbstractModel):
|
|
9275
9276
|
非0:开启日志沉降后标准存储的天数,HotPeriod需要大于等于7,且小于Period。
|
9276
9277
|
仅在StorageType为 hot 时生效。
|
9277
9278
|
:type HotPeriod: int
|
9279
|
+
:param _TopicId: 主题自定义ID,格式为:用户自定义部分-APPID。未填写该参数时将自动生成ID。
|
9280
|
+
- 用户自定义部分仅支持小写字母、数字和-,且不能以-开头和结尾,长度为3至40字符
|
9281
|
+
- APPID可在https://console.cloud.tencent.com/developer页面查询
|
9282
|
+
:type TopicId: str
|
9278
9283
|
:param _IsWebTracking: 免鉴权开关。 false:关闭; true:开启。默认为false。
|
9279
9284
|
开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
|
9280
9285
|
:type IsWebTracking: bool
|
@@ -9291,6 +9296,7 @@ class CreateTopicRequest(AbstractModel):
|
|
9291
9296
|
self._Period = None
|
9292
9297
|
self._Describes = None
|
9293
9298
|
self._HotPeriod = None
|
9299
|
+
self._TopicId = None
|
9294
9300
|
self._IsWebTracking = None
|
9295
9301
|
self._Extends = None
|
9296
9302
|
|
@@ -9373,8 +9379,9 @@ class CreateTopicRequest(AbstractModel):
|
|
9373
9379
|
|
9374
9380
|
@property
|
9375
9381
|
def Period(self):
|
9376
|
-
"""
|
9377
|
-
|
9382
|
+
"""存储时间,单位天。
|
9383
|
+
- 日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。
|
9384
|
+
- 日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。
|
9378
9385
|
:rtype: int
|
9379
9386
|
"""
|
9380
9387
|
return self._Period
|
@@ -9407,6 +9414,19 @@ class CreateTopicRequest(AbstractModel):
|
|
9407
9414
|
def HotPeriod(self, HotPeriod):
|
9408
9415
|
self._HotPeriod = HotPeriod
|
9409
9416
|
|
9417
|
+
@property
|
9418
|
+
def TopicId(self):
|
9419
|
+
"""主题自定义ID,格式为:用户自定义部分-APPID。未填写该参数时将自动生成ID。
|
9420
|
+
- 用户自定义部分仅支持小写字母、数字和-,且不能以-开头和结尾,长度为3至40字符
|
9421
|
+
- APPID可在https://console.cloud.tencent.com/developer页面查询
|
9422
|
+
:rtype: str
|
9423
|
+
"""
|
9424
|
+
return self._TopicId
|
9425
|
+
|
9426
|
+
@TopicId.setter
|
9427
|
+
def TopicId(self, TopicId):
|
9428
|
+
self._TopicId = TopicId
|
9429
|
+
|
9410
9430
|
@property
|
9411
9431
|
def IsWebTracking(self):
|
9412
9432
|
"""免鉴权开关。 false:关闭; true:开启。默认为false。
|
@@ -9447,6 +9467,7 @@ class CreateTopicRequest(AbstractModel):
|
|
9447
9467
|
self._Period = params.get("Period")
|
9448
9468
|
self._Describes = params.get("Describes")
|
9449
9469
|
self._HotPeriod = params.get("HotPeriod")
|
9470
|
+
self._TopicId = params.get("TopicId")
|
9450
9471
|
self._IsWebTracking = params.get("IsWebTracking")
|
9451
9472
|
if params.get("Extends") is not None:
|
9452
9473
|
self._Extends = TopicExtendInfo()
|
@@ -3751,7 +3751,7 @@ class DataDisk(AbstractModel):
|
|
3751
3751
|
:type DiskSize: int
|
3752
3752
|
:param _DiskType: 数据盘类型。数据盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br /><li>LOCAL_BASIC:本地硬盘<br /> <li>LOCAL_SSD:本地SSD硬盘<br /><li>LOCAL_NVME:本地NVME硬盘,与InstanceType强相关,不支持指定<br /><li>LOCAL_PRO:本地HDD硬盘,与InstanceType强相关,不支持指定<br /><li>CLOUD_BASIC:普通云硬盘<br /><li> CLOUD_PREMIUM:高性能云硬盘<br /><li>CLOUD_SSD:SSD云硬盘<br /><li> CLOUD_HSSD:增强型SSD云硬盘<br /> <li>CLOUD_TSSD:极速型SSD云硬盘<br /><li>CLOUD_BSSD:通用型SSD云硬盘<br /><br />默认取值:LOCAL_BASIC。<br /><br />该参数对`ResizeInstanceDisk`接口无效。</li></li></li> </li> </li></li></li></li></li></li>
|
3753
3753
|
:type DiskType: str
|
3754
|
-
:param _DiskId: 数据盘ID。
|
3754
|
+
:param _DiskId: 数据盘ID。
|
3755
3755
|
该参数目前仅用于`DescribeInstances`等查询类接口的返回参数,不可用于`RunInstances`等写接口的入参。
|
3756
3756
|
:type DiskId: str
|
3757
3757
|
:param _DeleteWithInstance: 数据盘是否随子机销毁。取值范围:
|
@@ -3832,7 +3832,7 @@ class DataDisk(AbstractModel):
|
|
3832
3832
|
|
3833
3833
|
@property
|
3834
3834
|
def DiskId(self):
|
3835
|
-
"""数据盘ID。
|
3835
|
+
"""数据盘ID。
|
3836
3836
|
该参数目前仅用于`DescribeInstances`等查询类接口的返回参数,不可用于`RunInstances`等写接口的入参。
|
3837
3837
|
:rtype: str
|
3838
3838
|
"""
|
@@ -826,12 +826,12 @@ class FusionUltraParam(AbstractModel):
|
|
826
826
|
该参数仅对SwapModelType(模型类型)取值1-5生效
|
827
827
|
:type WarpRadio: float
|
828
828
|
:param _EnhanceRadio: 人脸增强强度。对整个人脸进行增强,增加清晰度,改善质量。当生成的人脸不够清晰,质感不够好的时候可以设置。取值越大增强强度越大。
|
829
|
-
取值范围:0-1之间。默认取值
|
829
|
+
取值范围:0-1之间。默认取值0.5。
|
830
830
|
|
831
831
|
该参数仅对SwapModelType(模型类型)取值1-5生效
|
832
832
|
:type EnhanceRadio: float
|
833
833
|
:param _MpRadio: 磨皮强度。当生成脸的图像面部显脏时,可进行设置。
|
834
|
-
取值范围:0-1之间。默认取值
|
834
|
+
取值范围:0-1之间。默认取值0.5。
|
835
835
|
|
836
836
|
该参数仅对SwapModelType(模型类型)取值1-5生效
|
837
837
|
:type MpRadio: float
|
@@ -877,7 +877,7 @@ class FusionUltraParam(AbstractModel):
|
|
877
877
|
@property
|
878
878
|
def EnhanceRadio(self):
|
879
879
|
"""人脸增强强度。对整个人脸进行增强,增加清晰度,改善质量。当生成的人脸不够清晰,质感不够好的时候可以设置。取值越大增强强度越大。
|
880
|
-
取值范围:0-1之间。默认取值
|
880
|
+
取值范围:0-1之间。默认取值0.5。
|
881
881
|
|
882
882
|
该参数仅对SwapModelType(模型类型)取值1-5生效
|
883
883
|
:rtype: float
|
@@ -891,7 +891,7 @@ class FusionUltraParam(AbstractModel):
|
|
891
891
|
@property
|
892
892
|
def MpRadio(self):
|
893
893
|
"""磨皮强度。当生成脸的图像面部显脏时,可进行设置。
|
894
|
-
取值范围:0-1之间。默认取值
|
894
|
+
取值范围:0-1之间。默认取值0.5。
|
895
895
|
|
896
896
|
该参数仅对SwapModelType(模型类型)取值1-5生效
|
897
897
|
:rtype: float
|
@@ -4423,7 +4423,6 @@ class DescribeCcnAttachedInstancesResponse(AbstractModel):
|
|
4423
4423
|
def __init__(self):
|
4424
4424
|
r"""
|
4425
4425
|
:param _CcnAttachedInstanceSet: 云联网关联的实例列表。
|
4426
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4427
4426
|
:type CcnAttachedInstanceSet: list of CcnAttachedInstance
|
4428
4427
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4429
4428
|
:type RequestId: str
|
@@ -4434,7 +4433,6 @@ class DescribeCcnAttachedInstancesResponse(AbstractModel):
|
|
4434
4433
|
@property
|
4435
4434
|
def CcnAttachedInstanceSet(self):
|
4436
4435
|
"""云联网关联的实例列表。
|
4437
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4438
4436
|
:rtype: list of CcnAttachedInstance
|
4439
4437
|
"""
|
4440
4438
|
return self._CcnAttachedInstanceSet
|
@@ -12298,10 +12296,8 @@ class InquirePriceRenewInstancesResponse(AbstractModel):
|
|
12298
12296
|
:param _Price: 询价信息。默认为列表中第一个实例的价格信息。
|
12299
12297
|
:type Price: :class:`tencentcloud.lighthouse.v20200324.models.Price`
|
12300
12298
|
:param _DataDiskPriceSet: 数据盘价格信息列表。
|
12301
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
12302
12299
|
:type DataDiskPriceSet: list of DataDiskPrice
|
12303
12300
|
:param _InstancePriceDetailSet: 待续费实例价格列表。
|
12304
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
12305
12301
|
:type InstancePriceDetailSet: list of InstancePriceDetail
|
12306
12302
|
:param _TotalPrice: 总计价格。
|
12307
12303
|
:type TotalPrice: :class:`tencentcloud.lighthouse.v20200324.models.TotalPrice`
|
@@ -12328,7 +12324,6 @@ class InquirePriceRenewInstancesResponse(AbstractModel):
|
|
12328
12324
|
@property
|
12329
12325
|
def DataDiskPriceSet(self):
|
12330
12326
|
"""数据盘价格信息列表。
|
12331
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
12332
12327
|
:rtype: list of DataDiskPrice
|
12333
12328
|
"""
|
12334
12329
|
return self._DataDiskPriceSet
|
@@ -12340,7 +12335,6 @@ class InquirePriceRenewInstancesResponse(AbstractModel):
|
|
12340
12335
|
@property
|
12341
12336
|
def InstancePriceDetailSet(self):
|
12342
12337
|
"""待续费实例价格列表。
|
12343
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
12344
12338
|
:rtype: list of InstancePriceDetail
|
12345
12339
|
"""
|
12346
12340
|
return self._InstancePriceDetailSet
|
@@ -2261,13 +2261,10 @@ class DeviceNetInfo(AbstractModel):
|
|
2261
2261
|
5:5G
|
2262
2262
|
:type Rat: int
|
2263
2263
|
:param _NetInfoName: 网卡名
|
2264
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2265
2264
|
:type NetInfoName: str
|
2266
2265
|
:param _DownRate: 下行实时速率(浮点数类型代替上一版本DataRx的整型)
|
2267
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2268
2266
|
:type DownRate: float
|
2269
2267
|
:param _UpRate: 上行实时速率(浮点数类型代替上一版本TxRate的整型)
|
2270
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2271
2268
|
:type UpRate: float
|
2272
2269
|
"""
|
2273
2270
|
self._Type = None
|
@@ -2423,7 +2420,6 @@ class DeviceNetInfo(AbstractModel):
|
|
2423
2420
|
@property
|
2424
2421
|
def NetInfoName(self):
|
2425
2422
|
"""网卡名
|
2426
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2427
2423
|
:rtype: str
|
2428
2424
|
"""
|
2429
2425
|
return self._NetInfoName
|
@@ -2435,7 +2431,6 @@ class DeviceNetInfo(AbstractModel):
|
|
2435
2431
|
@property
|
2436
2432
|
def DownRate(self):
|
2437
2433
|
"""下行实时速率(浮点数类型代替上一版本DataRx的整型)
|
2438
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2439
2434
|
:rtype: float
|
2440
2435
|
"""
|
2441
2436
|
return self._DownRate
|
@@ -2447,7 +2442,6 @@ class DeviceNetInfo(AbstractModel):
|
|
2447
2442
|
@property
|
2448
2443
|
def UpRate(self):
|
2449
2444
|
"""上行实时速率(浮点数类型代替上一版本TxRate的整型)
|
2450
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2451
2445
|
:rtype: float
|
2452
2446
|
"""
|
2453
2447
|
return self._UpRate
|
@@ -2643,19 +2637,14 @@ class FlowDetails(AbstractModel):
|
|
2643
2637
|
def __init__(self):
|
2644
2638
|
r"""
|
2645
2639
|
:param _NetDetails: 流量数据点
|
2646
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2647
2640
|
:type NetDetails: list of NetDetails
|
2648
2641
|
:param _DeviceId: 设备ID
|
2649
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2650
2642
|
:type DeviceId: str
|
2651
2643
|
:param _MaxValue: 流量最大值(单位:bytes)
|
2652
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2653
2644
|
:type MaxValue: float
|
2654
2645
|
:param _AvgValue: 流量平均值(单位:bytes)
|
2655
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2656
2646
|
:type AvgValue: float
|
2657
2647
|
:param _TotalValue: 流量总值(单位:bytes)
|
2658
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2659
2648
|
:type TotalValue: float
|
2660
2649
|
"""
|
2661
2650
|
self._NetDetails = None
|
@@ -2667,7 +2656,6 @@ class FlowDetails(AbstractModel):
|
|
2667
2656
|
@property
|
2668
2657
|
def NetDetails(self):
|
2669
2658
|
"""流量数据点
|
2670
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2671
2659
|
:rtype: list of NetDetails
|
2672
2660
|
"""
|
2673
2661
|
return self._NetDetails
|
@@ -2679,7 +2667,6 @@ class FlowDetails(AbstractModel):
|
|
2679
2667
|
@property
|
2680
2668
|
def DeviceId(self):
|
2681
2669
|
"""设备ID
|
2682
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2683
2670
|
:rtype: str
|
2684
2671
|
"""
|
2685
2672
|
return self._DeviceId
|
@@ -2691,7 +2678,6 @@ class FlowDetails(AbstractModel):
|
|
2691
2678
|
@property
|
2692
2679
|
def MaxValue(self):
|
2693
2680
|
"""流量最大值(单位:bytes)
|
2694
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2695
2681
|
:rtype: float
|
2696
2682
|
"""
|
2697
2683
|
return self._MaxValue
|
@@ -2703,7 +2689,6 @@ class FlowDetails(AbstractModel):
|
|
2703
2689
|
@property
|
2704
2690
|
def AvgValue(self):
|
2705
2691
|
"""流量平均值(单位:bytes)
|
2706
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2707
2692
|
:rtype: float
|
2708
2693
|
"""
|
2709
2694
|
return self._AvgValue
|
@@ -2715,7 +2700,6 @@ class FlowDetails(AbstractModel):
|
|
2715
2700
|
@property
|
2716
2701
|
def TotalValue(self):
|
2717
2702
|
"""流量总值(单位:bytes)
|
2718
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2719
2703
|
:rtype: float
|
2720
2704
|
"""
|
2721
2705
|
return self._TotalValue
|
@@ -16844,6 +16844,8 @@ class CreateOutputInfo(AbstractModel):
|
|
16844
16844
|
:type OutputType: str
|
16845
16845
|
:param _RISTSettings: 输出的RIST的配置。
|
16846
16846
|
:type RISTSettings: :class:`tencentcloud.mps.v20190612.models.CreateOutputRistSettings`
|
16847
|
+
:param _PidSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道
|
16848
|
+
:type PidSelector: :class:`tencentcloud.mps.v20190612.models.PidSelector`
|
16847
16849
|
"""
|
16848
16850
|
self._OutputName = None
|
16849
16851
|
self._Description = None
|
@@ -16858,6 +16860,7 @@ class CreateOutputInfo(AbstractModel):
|
|
16858
16860
|
self._Zones = None
|
16859
16861
|
self._OutputType = None
|
16860
16862
|
self._RISTSettings = None
|
16863
|
+
self._PidSelector = None
|
16861
16864
|
|
16862
16865
|
@property
|
16863
16866
|
def OutputName(self):
|
@@ -17003,6 +17006,17 @@ class CreateOutputInfo(AbstractModel):
|
|
17003
17006
|
def RISTSettings(self, RISTSettings):
|
17004
17007
|
self._RISTSettings = RISTSettings
|
17005
17008
|
|
17009
|
+
@property
|
17010
|
+
def PidSelector(self):
|
17011
|
+
"""对于含有多个音/视频轨的流,可以指定需要使用的轨道
|
17012
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.PidSelector`
|
17013
|
+
"""
|
17014
|
+
return self._PidSelector
|
17015
|
+
|
17016
|
+
@PidSelector.setter
|
17017
|
+
def PidSelector(self, PidSelector):
|
17018
|
+
self._PidSelector = PidSelector
|
17019
|
+
|
17006
17020
|
|
17007
17021
|
def _deserialize(self, params):
|
17008
17022
|
self._OutputName = params.get("OutputName")
|
@@ -17026,6 +17040,9 @@ class CreateOutputInfo(AbstractModel):
|
|
17026
17040
|
if params.get("RISTSettings") is not None:
|
17027
17041
|
self._RISTSettings = CreateOutputRistSettings()
|
17028
17042
|
self._RISTSettings._deserialize(params.get("RISTSettings"))
|
17043
|
+
if params.get("PidSelector") is not None:
|
17044
|
+
self._PidSelector = PidSelector()
|
17045
|
+
self._PidSelector._deserialize(params.get("PidSelector"))
|
17029
17046
|
memeber_set = set(params.keys())
|
17030
17047
|
for name, value in vars(self).items():
|
17031
17048
|
property_name = name[1:]
|
@@ -22265,6 +22282,10 @@ class DescribeFlow(AbstractModel):
|
|
22265
22282
|
:type EventId: str
|
22266
22283
|
:param _Region: 媒体传输输入流所属的区域,取值和InputRegion相同。
|
22267
22284
|
:type Region: str
|
22285
|
+
:param _AllowedInputProtocols: 该Flow允许创建的输入协议
|
22286
|
+
:type AllowedInputProtocols: list of str
|
22287
|
+
:param _AllowedOutputProtocols: 该Flow允许创建的输出协议
|
22288
|
+
:type AllowedOutputProtocols: list of str
|
22268
22289
|
"""
|
22269
22290
|
self._FlowId = None
|
22270
22291
|
self._FlowName = None
|
@@ -22274,6 +22295,8 @@ class DescribeFlow(AbstractModel):
|
|
22274
22295
|
self._OutputGroup = None
|
22275
22296
|
self._EventId = None
|
22276
22297
|
self._Region = None
|
22298
|
+
self._AllowedInputProtocols = None
|
22299
|
+
self._AllowedOutputProtocols = None
|
22277
22300
|
|
22278
22301
|
@property
|
22279
22302
|
def FlowId(self):
|
@@ -22364,6 +22387,28 @@ class DescribeFlow(AbstractModel):
|
|
22364
22387
|
def Region(self, Region):
|
22365
22388
|
self._Region = Region
|
22366
22389
|
|
22390
|
+
@property
|
22391
|
+
def AllowedInputProtocols(self):
|
22392
|
+
"""该Flow允许创建的输入协议
|
22393
|
+
:rtype: list of str
|
22394
|
+
"""
|
22395
|
+
return self._AllowedInputProtocols
|
22396
|
+
|
22397
|
+
@AllowedInputProtocols.setter
|
22398
|
+
def AllowedInputProtocols(self, AllowedInputProtocols):
|
22399
|
+
self._AllowedInputProtocols = AllowedInputProtocols
|
22400
|
+
|
22401
|
+
@property
|
22402
|
+
def AllowedOutputProtocols(self):
|
22403
|
+
"""该Flow允许创建的输出协议
|
22404
|
+
:rtype: list of str
|
22405
|
+
"""
|
22406
|
+
return self._AllowedOutputProtocols
|
22407
|
+
|
22408
|
+
@AllowedOutputProtocols.setter
|
22409
|
+
def AllowedOutputProtocols(self, AllowedOutputProtocols):
|
22410
|
+
self._AllowedOutputProtocols = AllowedOutputProtocols
|
22411
|
+
|
22367
22412
|
|
22368
22413
|
def _deserialize(self, params):
|
22369
22414
|
self._FlowId = params.get("FlowId")
|
@@ -22384,6 +22429,8 @@ class DescribeFlow(AbstractModel):
|
|
22384
22429
|
self._OutputGroup.append(obj)
|
22385
22430
|
self._EventId = params.get("EventId")
|
22386
22431
|
self._Region = params.get("Region")
|
22432
|
+
self._AllowedInputProtocols = params.get("AllowedInputProtocols")
|
22433
|
+
self._AllowedOutputProtocols = params.get("AllowedOutputProtocols")
|
22387
22434
|
memeber_set = set(params.keys())
|
22388
22435
|
for name, value in vars(self).items():
|
22389
22436
|
property_name = name[1:]
|
@@ -23823,6 +23870,8 @@ class DescribeOutput(AbstractModel):
|
|
23823
23870
|
:param _RISTSettings: 输出的RIST配置信息。
|
23824
23871
|
注意:此字段可能返回 null,表示取不到有效值。
|
23825
23872
|
:type RISTSettings: :class:`tencentcloud.mps.v20190612.models.DescribeOutputRISTSettings`
|
23873
|
+
:param _PidSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道
|
23874
|
+
:type PidSelector: :class:`tencentcloud.mps.v20190612.models.PidSelector`
|
23826
23875
|
"""
|
23827
23876
|
self._OutputId = None
|
23828
23877
|
self._OutputName = None
|
@@ -23842,6 +23891,7 @@ class DescribeOutput(AbstractModel):
|
|
23842
23891
|
self._SecurityGroupIds = None
|
23843
23892
|
self._Zones = None
|
23844
23893
|
self._RISTSettings = None
|
23894
|
+
self._PidSelector = None
|
23845
23895
|
|
23846
23896
|
@property
|
23847
23897
|
def OutputId(self):
|
@@ -24053,6 +24103,17 @@ class DescribeOutput(AbstractModel):
|
|
24053
24103
|
def RISTSettings(self, RISTSettings):
|
24054
24104
|
self._RISTSettings = RISTSettings
|
24055
24105
|
|
24106
|
+
@property
|
24107
|
+
def PidSelector(self):
|
24108
|
+
"""对于含有多个音/视频轨的流,可以指定需要使用的轨道
|
24109
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.PidSelector`
|
24110
|
+
"""
|
24111
|
+
return self._PidSelector
|
24112
|
+
|
24113
|
+
@PidSelector.setter
|
24114
|
+
def PidSelector(self, PidSelector):
|
24115
|
+
self._PidSelector = PidSelector
|
24116
|
+
|
24056
24117
|
|
24057
24118
|
def _deserialize(self, params):
|
24058
24119
|
self._OutputId = params.get("OutputId")
|
@@ -24092,6 +24153,9 @@ class DescribeOutput(AbstractModel):
|
|
24092
24153
|
if params.get("RISTSettings") is not None:
|
24093
24154
|
self._RISTSettings = DescribeOutputRISTSettings()
|
24094
24155
|
self._RISTSettings._deserialize(params.get("RISTSettings"))
|
24156
|
+
if params.get("PidSelector") is not None:
|
24157
|
+
self._PidSelector = PidSelector()
|
24158
|
+
self._PidSelector._deserialize(params.get("PidSelector"))
|
24095
24159
|
memeber_set = set(params.keys())
|
24096
24160
|
for name, value in vars(self).items():
|
24097
24161
|
property_name = name[1:]
|
@@ -42425,6 +42489,8 @@ class ModifyOutputInfo(AbstractModel):
|
|
42425
42489
|
:type RISTSettings: :class:`tencentcloud.mps.v20190612.models.CreateOutputRistSettings`
|
42426
42490
|
:param _OutputType: 输出类型:Internet/TencentCSS/StreamLive
|
42427
42491
|
:type OutputType: str
|
42492
|
+
:param _PidSelector: 对于含有多个音/视频轨的流,可以指定需要使用的轨道
|
42493
|
+
:type PidSelector: :class:`tencentcloud.mps.v20190612.models.PidSelector`
|
42428
42494
|
"""
|
42429
42495
|
self._OutputId = None
|
42430
42496
|
self._OutputName = None
|
@@ -42439,6 +42505,7 @@ class ModifyOutputInfo(AbstractModel):
|
|
42439
42505
|
self._Zones = None
|
42440
42506
|
self._RISTSettings = None
|
42441
42507
|
self._OutputType = None
|
42508
|
+
self._PidSelector = None
|
42442
42509
|
|
42443
42510
|
@property
|
42444
42511
|
def OutputId(self):
|
@@ -42584,6 +42651,17 @@ class ModifyOutputInfo(AbstractModel):
|
|
42584
42651
|
def OutputType(self, OutputType):
|
42585
42652
|
self._OutputType = OutputType
|
42586
42653
|
|
42654
|
+
@property
|
42655
|
+
def PidSelector(self):
|
42656
|
+
"""对于含有多个音/视频轨的流,可以指定需要使用的轨道
|
42657
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.PidSelector`
|
42658
|
+
"""
|
42659
|
+
return self._PidSelector
|
42660
|
+
|
42661
|
+
@PidSelector.setter
|
42662
|
+
def PidSelector(self, PidSelector):
|
42663
|
+
self._PidSelector = PidSelector
|
42664
|
+
|
42587
42665
|
|
42588
42666
|
def _deserialize(self, params):
|
42589
42667
|
self._OutputId = params.get("OutputId")
|
@@ -42607,6 +42685,9 @@ class ModifyOutputInfo(AbstractModel):
|
|
42607
42685
|
self._RISTSettings = CreateOutputRistSettings()
|
42608
42686
|
self._RISTSettings._deserialize(params.get("RISTSettings"))
|
42609
42687
|
self._OutputType = params.get("OutputType")
|
42688
|
+
if params.get("PidSelector") is not None:
|
42689
|
+
self._PidSelector = PidSelector()
|
42690
|
+
self._PidSelector._deserialize(params.get("PidSelector"))
|
42610
42691
|
memeber_set = set(params.keys())
|
42611
42692
|
for name, value in vars(self).items():
|
42612
42693
|
property_name = name[1:]
|
@@ -45846,6 +45927,61 @@ class ParseNotificationResponse(AbstractModel):
|
|
45846
45927
|
self._RequestId = params.get("RequestId")
|
45847
45928
|
|
45848
45929
|
|
45930
|
+
class PidSelector(AbstractModel):
|
45931
|
+
"""对于含有多个音/视频轨的流,可以指定需要使用的轨道
|
45932
|
+
|
45933
|
+
"""
|
45934
|
+
|
45935
|
+
def __init__(self):
|
45936
|
+
r"""
|
45937
|
+
:param _AudioPID: 对于含有多音轨的流, 可以通过输入PID来指定需要使用的音轨,PID可以输入1到8191之间的正整数。
|
45938
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
45939
|
+
:type AudioPID: list of int
|
45940
|
+
:param _VideoPID: 对于含有多个视频轨的流,可以通过输入PID来指定需要使用的视频轨,PID可以输入1到8191之间的正整数。
|
45941
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
45942
|
+
:type VideoPID: list of int
|
45943
|
+
"""
|
45944
|
+
self._AudioPID = None
|
45945
|
+
self._VideoPID = None
|
45946
|
+
|
45947
|
+
@property
|
45948
|
+
def AudioPID(self):
|
45949
|
+
"""对于含有多音轨的流, 可以通过输入PID来指定需要使用的音轨,PID可以输入1到8191之间的正整数。
|
45950
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
45951
|
+
:rtype: list of int
|
45952
|
+
"""
|
45953
|
+
return self._AudioPID
|
45954
|
+
|
45955
|
+
@AudioPID.setter
|
45956
|
+
def AudioPID(self, AudioPID):
|
45957
|
+
self._AudioPID = AudioPID
|
45958
|
+
|
45959
|
+
@property
|
45960
|
+
def VideoPID(self):
|
45961
|
+
"""对于含有多个视频轨的流,可以通过输入PID来指定需要使用的视频轨,PID可以输入1到8191之间的正整数。
|
45962
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
45963
|
+
:rtype: list of int
|
45964
|
+
"""
|
45965
|
+
return self._VideoPID
|
45966
|
+
|
45967
|
+
@VideoPID.setter
|
45968
|
+
def VideoPID(self, VideoPID):
|
45969
|
+
self._VideoPID = VideoPID
|
45970
|
+
|
45971
|
+
|
45972
|
+
def _deserialize(self, params):
|
45973
|
+
self._AudioPID = params.get("AudioPID")
|
45974
|
+
self._VideoPID = params.get("VideoPID")
|
45975
|
+
memeber_set = set(params.keys())
|
45976
|
+
for name, value in vars(self).items():
|
45977
|
+
property_name = name[1:]
|
45978
|
+
if property_name in memeber_set:
|
45979
|
+
memeber_set.remove(property_name)
|
45980
|
+
if len(memeber_set) > 0:
|
45981
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
45982
|
+
|
45983
|
+
|
45984
|
+
|
45849
45985
|
class PoliticalAsrReviewTemplateInfo(AbstractModel):
|
45850
45986
|
"""语音涉敏任务控制参数
|
45851
45987
|
|
@@ -32,6 +32,9 @@ MISSINGPARAMETER = 'MissingParameter'
|
|
32
32
|
# 操作被拒绝。
|
33
33
|
OPERATIONDENIED = 'OperationDenied'
|
34
34
|
|
35
|
+
# 资源被占用。
|
36
|
+
RESOURCEINUSE = 'ResourceInUse'
|
37
|
+
|
35
38
|
# ResourceNotFound.Instance
|
36
39
|
RESOURCENOTFOUND_INSTANCE = 'ResourceNotFound.Instance'
|
37
40
|
|
@@ -41,5 +44,8 @@ RESOURCENOTFOUND_ROLE = 'ResourceNotFound.Role'
|
|
41
44
|
# ResourceNotFound.Topic
|
42
45
|
RESOURCENOTFOUND_TOPIC = 'ResourceNotFound.Topic'
|
43
46
|
|
47
|
+
# 资源不可用。
|
48
|
+
RESOURCEUNAVAILABLE = 'ResourceUnavailable'
|
49
|
+
|
44
50
|
# UnsupportedOperation.ResourceAlreadyExists
|
45
51
|
UNSUPPORTEDOPERATION_RESOURCEALREADYEXISTS = 'UnsupportedOperation.ResourceAlreadyExists'
|