tencentcloud-sdk-python 3.0.1256__py2.py3-none-any.whl → 3.0.1258__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/apm/v20210622/models.py +26 -0
- tencentcloud/asr/v20190614/models.py +3 -2
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +7 -1
- tencentcloud/autoscaling/v20180419/errorcodes.py +3 -0
- tencentcloud/autoscaling/v20180419/models.py +18 -2
- tencentcloud/bi/v20220105/models.py +44 -4
- tencentcloud/billing/v20180709/billing_client.py +23 -0
- tencentcloud/billing/v20180709/errorcodes.py +6 -0
- tencentcloud/billing/v20180709/models.py +424 -0
- tencentcloud/bsca/v20210811/models.py +306 -1
- tencentcloud/ccc/v20200210/ccc_client.py +23 -0
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +249 -136
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +25 -1
- tencentcloud/cdn/v20180606/models.py +1 -1
- tencentcloud/cdwdoris/v20211228/models.py +29 -2
- tencentcloud/cfw/v20190904/cfw_client.py +6 -30
- tencentcloud/cfw/v20190904/models.py +267 -479
- tencentcloud/ciam/v20220331/models.py +13 -0
- tencentcloud/ckafka/v20190819/models.py +5 -5
- tencentcloud/clb/v20180317/models.py +1 -1
- tencentcloud/cloudaudit/v20190319/cloudaudit_client.py +30 -34
- tencentcloud/cloudaudit/v20190319/errorcodes.py +0 -39
- tencentcloud/cloudaudit/v20190319/models.py +328 -254
- tencentcloud/cls/v20201016/cls_client.py +8 -1
- tencentcloud/cls/v20201016/models.py +551 -109
- tencentcloud/csip/v20221121/models.py +225 -12
- tencentcloud/cvm/v20170312/errorcodes.py +6 -0
- tencentcloud/cvm/v20170312/models.py +78 -0
- tencentcloud/cwp/v20180228/cwp_client.py +3 -1
- tencentcloud/cwp/v20180228/models.py +206 -52
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +27 -27
- tencentcloud/cynosdb/v20190107/models.py +78 -0
- tencentcloud/dasb/v20191018/models.py +155 -0
- tencentcloud/dlc/v20210125/models.py +13 -0
- tencentcloud/domain/v20180808/errorcodes.py +45 -0
- tencentcloud/eb/v20210416/models.py +19 -19
- tencentcloud/emr/v20190103/models.py +12 -0
- tencentcloud/es/v20180416/errorcodes.py +4 -1
- tencentcloud/es/v20180416/es_client.py +92 -0
- tencentcloud/es/v20180416/models.py +770 -12
- tencentcloud/ess/v20201111/ess_client.py +71 -4
- tencentcloud/ess/v20201111/models.py +260 -10
- tencentcloud/essbasic/v20210526/essbasic_client.py +135 -51
- tencentcloud/essbasic/v20210526/models.py +390 -21
- tencentcloud/gaap/v20180529/models.py +40 -3
- tencentcloud/hunyuan/v20230901/models.py +12 -0
- tencentcloud/ioa/v20220601/errorcodes.py +15 -0
- tencentcloud/ioa/v20220601/ioa_client.py +26 -2
- tencentcloud/ioa/v20220601/models.py +516 -46
- tencentcloud/iotexplorer/v20190423/models.py +52 -0
- tencentcloud/iotvideo/v20191126/iotvideo_client.py +46 -0
- tencentcloud/iotvideo/v20191126/models.py +379 -0
- tencentcloud/iss/v20230517/models.py +25 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +1 -1
- tencentcloud/live/v20180801/models.py +51 -0
- tencentcloud/mongodb/v20190725/models.py +3 -7
- tencentcloud/mqtt/v20240516/models.py +4 -4
- tencentcloud/ocr/v20181119/models.py +7 -16
- tencentcloud/ocr/v20181119/ocr_client.py +1 -0
- tencentcloud/organization/v20210331/errorcodes.py +31 -1
- tencentcloud/organization/v20210331/models.py +674 -0
- tencentcloud/organization/v20210331/organization_client.py +138 -0
- tencentcloud/partners/v20180321/models.py +71 -0
- tencentcloud/partners/v20180321/partners_client.py +23 -0
- tencentcloud/privatedns/v20201028/errorcodes.py +12 -0
- tencentcloud/privatedns/v20201028/models.py +858 -4
- tencentcloud/privatedns/v20201028/privatedns_client.py +92 -0
- tencentcloud/region/v20220627/models.py +0 -1
- tencentcloud/scf/v20180416/models.py +889 -8
- tencentcloud/scf/v20180416/scf_client.py +115 -0
- tencentcloud/smop/v20201203/models.py +17 -17
- tencentcloud/ssl/v20191205/models.py +44 -3
- tencentcloud/ssm/v20190923/models.py +84 -0
- tencentcloud/tat/v20201028/models.py +1 -29
- tencentcloud/tcss/v20201101/models.py +815 -33
- tencentcloud/tcss/v20201101/tcss_client.py +1 -1
- tencentcloud/tdmq/v20200217/models.py +7 -7
- tencentcloud/tem/v20210701/models.py +202 -198
- tencentcloud/teo/v20220901/errorcodes.py +51 -0
- tencentcloud/teo/v20220901/models.py +1470 -97
- tencentcloud/teo/v20220901/teo_client.py +115 -0
- tencentcloud/tke/v20180525/models.py +70 -0
- tencentcloud/tke/v20180525/tke_client.py +23 -0
- tencentcloud/tms/v20201229/models.py +0 -558
- tencentcloud/tms/v20201229/tms_client.py +0 -23
- tencentcloud/trp/v20210515/models.py +6 -6
- tencentcloud/trtc/v20190722/models.py +353 -4
- tencentcloud/tse/v20201207/models.py +94 -0
- tencentcloud/tse/v20201207/tse_client.py +23 -0
- tencentcloud/vclm/v20240523/models.py +166 -0
- tencentcloud/vpc/v20170312/models.py +137 -6
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/waf/v20180125/models.py +99 -0
- tencentcloud/waf/v20180125/waf_client.py +23 -0
- tencentcloud/wedata/v20210820/models.py +991 -0
- tencentcloud/wedata/v20210820/wedata_client.py +46 -0
- {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/RECORD +104 -109
- tencentcloud/cr/__init__.py +0 -0
- tencentcloud/cr/v20180321/__init__.py +0 -0
- tencentcloud/cr/v20180321/cr_client.py +0 -672
- tencentcloud/cr/v20180321/errorcodes.py +0 -114
- tencentcloud/cr/v20180321/models.py +0 -4966
- {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/top_level.txt +0 -0
@@ -5252,6 +5252,41 @@ class McuBackgroundCustomRender(AbstractModel):
|
|
5252
5252
|
|
5253
5253
|
|
5254
5254
|
|
5255
|
+
class McuCloudVod(AbstractModel):
|
5256
|
+
"""Mcu转推录制,点播相关参数。
|
5257
|
+
|
5258
|
+
"""
|
5259
|
+
|
5260
|
+
def __init__(self):
|
5261
|
+
r"""
|
5262
|
+
:param _McuTencentVod: 腾讯云点播相关参数。
|
5263
|
+
:type McuTencentVod: :class:`tencentcloud.trtc.v20190722.models.McuTencentVod`
|
5264
|
+
"""
|
5265
|
+
self._McuTencentVod = None
|
5266
|
+
|
5267
|
+
@property
|
5268
|
+
def McuTencentVod(self):
|
5269
|
+
return self._McuTencentVod
|
5270
|
+
|
5271
|
+
@McuTencentVod.setter
|
5272
|
+
def McuTencentVod(self, McuTencentVod):
|
5273
|
+
self._McuTencentVod = McuTencentVod
|
5274
|
+
|
5275
|
+
|
5276
|
+
def _deserialize(self, params):
|
5277
|
+
if params.get("McuTencentVod") is not None:
|
5278
|
+
self._McuTencentVod = McuTencentVod()
|
5279
|
+
self._McuTencentVod._deserialize(params.get("McuTencentVod"))
|
5280
|
+
memeber_set = set(params.keys())
|
5281
|
+
for name, value in vars(self).items():
|
5282
|
+
property_name = name[1:]
|
5283
|
+
if property_name in memeber_set:
|
5284
|
+
memeber_set.remove(property_name)
|
5285
|
+
if len(memeber_set) > 0:
|
5286
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
5287
|
+
|
5288
|
+
|
5289
|
+
|
5255
5290
|
class McuCustomCrop(AbstractModel):
|
5256
5291
|
"""混流自定义裁剪参数
|
5257
5292
|
|
@@ -5609,11 +5644,11 @@ class McuLayoutParams(AbstractModel):
|
|
5609
5644
|
|
5610
5645
|
def __init__(self):
|
5611
5646
|
r"""
|
5612
|
-
:param _MixLayoutMode: 布局模式:动态布局(1:悬浮布局(默认),2:屏幕分享布局,3:九宫格布局),静态布局(4
|
5647
|
+
:param _MixLayoutMode: 布局模式:动态布局(1:悬浮布局(默认),2:屏幕分享布局,3:九宫格布局),静态布局(4:自定义布局)。最多支持混入16路音视频流,如果用户只上行音频,也会被算作一路;自定义布局中,如果子画面只设置占位图,也被算作一路。
|
5613
5648
|
:type MixLayoutMode: int
|
5614
5649
|
:param _PureAudioHoldPlaceMode: 纯音频上行是否占布局位置,只在动态布局中有效。0表示纯音频不占布局位置,1表示纯音频占布局位置,不填默认为0。
|
5615
5650
|
:type PureAudioHoldPlaceMode: int
|
5616
|
-
:param _MixLayoutList:
|
5651
|
+
:param _MixLayoutList: 自定义模板中有效,指定用户视频在混合画面中的位置,最多支持设置16个输入流。
|
5617
5652
|
:type MixLayoutList: list of McuLayout
|
5618
5653
|
:param _MaxVideoUser: 指定动态布局中悬浮布局和屏幕分享布局的大画面信息,只在悬浮布局和屏幕分享布局有效。
|
5619
5654
|
:type MaxVideoUser: :class:`tencentcloud.trtc.v20190722.models.MaxVideoUser`
|
@@ -5887,6 +5922,137 @@ class McuPublishCdnParam(AbstractModel):
|
|
5887
5922
|
|
5888
5923
|
|
5889
5924
|
|
5925
|
+
class McuRecordParams(AbstractModel):
|
5926
|
+
"""转推录制参数
|
5927
|
+
|
5928
|
+
"""
|
5929
|
+
|
5930
|
+
def __init__(self):
|
5931
|
+
r"""
|
5932
|
+
:param _UniRecord: 转推录制模式,
|
5933
|
+
0/不填: 暂不支持,行为未定义;
|
5934
|
+
1: 不开启录制;
|
5935
|
+
2: 开启录制(使用控制台自动录制模板参数,参考:[跳转文档](https://cloud.tencent.com/document/product/647/111748#.E5.BD.95.E5.88.B6.E6.8E.A7.E5.88.B6.E6.96.B9.E6.A1.88));
|
5936
|
+
3: 开启录制(使用API指定参数)。
|
5937
|
+
:type UniRecord: int
|
5938
|
+
:param _RecordKey: 录制任务 key,标识一个录制任务;您可以通过该参数,将多个转推任务录制成一个文件。不指定该参数时,只录制当前转推任务。
|
5939
|
+
【限制长度为128字节,只允许包含大小写英文字母(a-zA-Z)、数字(0-9)及下划线(_)和连词符(-)】
|
5940
|
+
:type RecordKey: str
|
5941
|
+
:param _RecordWaitTime: 【仅当UniRecord=3时此参数有效】
|
5942
|
+
续录等待时间,对应录制模板“续录等待时长”,单位:秒。该值需大于等于 5,且小于等于 86400(24小时),默认值为 30。启用续录时,录制任务空闲超过RecordWaitTime的时长,自动结束。
|
5943
|
+
:type RecordWaitTime: int
|
5944
|
+
:param _RecordFormat: 【仅当UniRecord=3时此参数有效】
|
5945
|
+
录制输出文件格式列表,对应录制模板“文件格式”,支持“hls”、"mp4"、"aac"三种格式,默认值为"mp4"。其中"mp4"和"aac"格式,不能同时指定。
|
5946
|
+
只录制 mp4格式,示例值:["mp4"]。同时录制mp4 和 HLS 格式,示例值:["mp4","hls"]。
|
5947
|
+
:type RecordFormat: list of str
|
5948
|
+
:param _MaxMediaFileDuration: 【仅当UniRecord=3时此参数有效】
|
5949
|
+
单个文件录制时长,对应录制模板“单个录制文件时长”,单位:分钟。该值需大于等于 1,且小于等于 1440(24小时),默认值为 1440。只对"mp4"或"aac"格式生效。实际单文件录制时长还受单文件大小不超过 2G 限制,超过2G则强制拆分。
|
5950
|
+
:type MaxMediaFileDuration: int
|
5951
|
+
:param _StreamType: 【仅当UniRecord=3时此参数有效】
|
5952
|
+
录制的音视频类型,对应录制模板“录制格式”,0:音视频,1:纯音频,2:纯视频。最终录制文件内容是录制指定类型和转推内容的交集。
|
5953
|
+
:type StreamType: int
|
5954
|
+
:param _UserDefineRecordPrefix: 录制文件名前缀,不超过64字符。只有存储为vod时生效。
|
5955
|
+
【限制长度为64字节,只允许包含大小写英文字母(a-zA-Z)、数字(0-9)及下划线(_)和连词符(-)】
|
5956
|
+
:type UserDefineRecordPrefix: str
|
5957
|
+
:param _McuStorageParams: 【仅当UniRecord=3时此参数有效】
|
5958
|
+
录制文件存储参数,对应控制台“存储位置”及相关参数。目前支持云点播VOD和对象存储COS两种存储方式,只能填写一种。
|
5959
|
+
:type McuStorageParams: :class:`tencentcloud.trtc.v20190722.models.McuStorageParams`
|
5960
|
+
"""
|
5961
|
+
self._UniRecord = None
|
5962
|
+
self._RecordKey = None
|
5963
|
+
self._RecordWaitTime = None
|
5964
|
+
self._RecordFormat = None
|
5965
|
+
self._MaxMediaFileDuration = None
|
5966
|
+
self._StreamType = None
|
5967
|
+
self._UserDefineRecordPrefix = None
|
5968
|
+
self._McuStorageParams = None
|
5969
|
+
|
5970
|
+
@property
|
5971
|
+
def UniRecord(self):
|
5972
|
+
return self._UniRecord
|
5973
|
+
|
5974
|
+
@UniRecord.setter
|
5975
|
+
def UniRecord(self, UniRecord):
|
5976
|
+
self._UniRecord = UniRecord
|
5977
|
+
|
5978
|
+
@property
|
5979
|
+
def RecordKey(self):
|
5980
|
+
return self._RecordKey
|
5981
|
+
|
5982
|
+
@RecordKey.setter
|
5983
|
+
def RecordKey(self, RecordKey):
|
5984
|
+
self._RecordKey = RecordKey
|
5985
|
+
|
5986
|
+
@property
|
5987
|
+
def RecordWaitTime(self):
|
5988
|
+
return self._RecordWaitTime
|
5989
|
+
|
5990
|
+
@RecordWaitTime.setter
|
5991
|
+
def RecordWaitTime(self, RecordWaitTime):
|
5992
|
+
self._RecordWaitTime = RecordWaitTime
|
5993
|
+
|
5994
|
+
@property
|
5995
|
+
def RecordFormat(self):
|
5996
|
+
return self._RecordFormat
|
5997
|
+
|
5998
|
+
@RecordFormat.setter
|
5999
|
+
def RecordFormat(self, RecordFormat):
|
6000
|
+
self._RecordFormat = RecordFormat
|
6001
|
+
|
6002
|
+
@property
|
6003
|
+
def MaxMediaFileDuration(self):
|
6004
|
+
return self._MaxMediaFileDuration
|
6005
|
+
|
6006
|
+
@MaxMediaFileDuration.setter
|
6007
|
+
def MaxMediaFileDuration(self, MaxMediaFileDuration):
|
6008
|
+
self._MaxMediaFileDuration = MaxMediaFileDuration
|
6009
|
+
|
6010
|
+
@property
|
6011
|
+
def StreamType(self):
|
6012
|
+
return self._StreamType
|
6013
|
+
|
6014
|
+
@StreamType.setter
|
6015
|
+
def StreamType(self, StreamType):
|
6016
|
+
self._StreamType = StreamType
|
6017
|
+
|
6018
|
+
@property
|
6019
|
+
def UserDefineRecordPrefix(self):
|
6020
|
+
return self._UserDefineRecordPrefix
|
6021
|
+
|
6022
|
+
@UserDefineRecordPrefix.setter
|
6023
|
+
def UserDefineRecordPrefix(self, UserDefineRecordPrefix):
|
6024
|
+
self._UserDefineRecordPrefix = UserDefineRecordPrefix
|
6025
|
+
|
6026
|
+
@property
|
6027
|
+
def McuStorageParams(self):
|
6028
|
+
return self._McuStorageParams
|
6029
|
+
|
6030
|
+
@McuStorageParams.setter
|
6031
|
+
def McuStorageParams(self, McuStorageParams):
|
6032
|
+
self._McuStorageParams = McuStorageParams
|
6033
|
+
|
6034
|
+
|
6035
|
+
def _deserialize(self, params):
|
6036
|
+
self._UniRecord = params.get("UniRecord")
|
6037
|
+
self._RecordKey = params.get("RecordKey")
|
6038
|
+
self._RecordWaitTime = params.get("RecordWaitTime")
|
6039
|
+
self._RecordFormat = params.get("RecordFormat")
|
6040
|
+
self._MaxMediaFileDuration = params.get("MaxMediaFileDuration")
|
6041
|
+
self._StreamType = params.get("StreamType")
|
6042
|
+
self._UserDefineRecordPrefix = params.get("UserDefineRecordPrefix")
|
6043
|
+
if params.get("McuStorageParams") is not None:
|
6044
|
+
self._McuStorageParams = McuStorageParams()
|
6045
|
+
self._McuStorageParams._deserialize(params.get("McuStorageParams"))
|
6046
|
+
memeber_set = set(params.keys())
|
6047
|
+
for name, value in vars(self).items():
|
6048
|
+
property_name = name[1:]
|
6049
|
+
if property_name in memeber_set:
|
6050
|
+
memeber_set.remove(property_name)
|
6051
|
+
if len(memeber_set) > 0:
|
6052
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
6053
|
+
|
6054
|
+
|
6055
|
+
|
5890
6056
|
class McuSeiParams(AbstractModel):
|
5891
6057
|
"""混流SEI参数
|
5892
6058
|
|
@@ -5936,6 +6102,161 @@ class McuSeiParams(AbstractModel):
|
|
5936
6102
|
|
5937
6103
|
|
5938
6104
|
|
6105
|
+
class McuStorageParams(AbstractModel):
|
6106
|
+
"""Mcu转推录制,第三方存储参数。
|
6107
|
+
|
6108
|
+
"""
|
6109
|
+
|
6110
|
+
def __init__(self):
|
6111
|
+
r"""
|
6112
|
+
:param _CloudStorage: 第三方云存储的账号信息(特别说明:若您选择存储至对象存储COS将会收取录制文件投递至COS的费用,详见云端录制收费说明,存储至VOD将不收取此项费用。)。
|
6113
|
+
:type CloudStorage: :class:`tencentcloud.trtc.v20190722.models.CloudStorage`
|
6114
|
+
:param _McuCloudVod: 腾讯云云点播的账号信息。
|
6115
|
+
:type McuCloudVod: :class:`tencentcloud.trtc.v20190722.models.McuCloudVod`
|
6116
|
+
"""
|
6117
|
+
self._CloudStorage = None
|
6118
|
+
self._McuCloudVod = None
|
6119
|
+
|
6120
|
+
@property
|
6121
|
+
def CloudStorage(self):
|
6122
|
+
return self._CloudStorage
|
6123
|
+
|
6124
|
+
@CloudStorage.setter
|
6125
|
+
def CloudStorage(self, CloudStorage):
|
6126
|
+
self._CloudStorage = CloudStorage
|
6127
|
+
|
6128
|
+
@property
|
6129
|
+
def McuCloudVod(self):
|
6130
|
+
return self._McuCloudVod
|
6131
|
+
|
6132
|
+
@McuCloudVod.setter
|
6133
|
+
def McuCloudVod(self, McuCloudVod):
|
6134
|
+
self._McuCloudVod = McuCloudVod
|
6135
|
+
|
6136
|
+
|
6137
|
+
def _deserialize(self, params):
|
6138
|
+
if params.get("CloudStorage") is not None:
|
6139
|
+
self._CloudStorage = CloudStorage()
|
6140
|
+
self._CloudStorage._deserialize(params.get("CloudStorage"))
|
6141
|
+
if params.get("McuCloudVod") is not None:
|
6142
|
+
self._McuCloudVod = McuCloudVod()
|
6143
|
+
self._McuCloudVod._deserialize(params.get("McuCloudVod"))
|
6144
|
+
memeber_set = set(params.keys())
|
6145
|
+
for name, value in vars(self).items():
|
6146
|
+
property_name = name[1:]
|
6147
|
+
if property_name in memeber_set:
|
6148
|
+
memeber_set.remove(property_name)
|
6149
|
+
if len(memeber_set) > 0:
|
6150
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
6151
|
+
|
6152
|
+
|
6153
|
+
|
6154
|
+
class McuTencentVod(AbstractModel):
|
6155
|
+
"""Mcu转推录制,腾讯云点播相关参数。
|
6156
|
+
|
6157
|
+
"""
|
6158
|
+
|
6159
|
+
def __init__(self):
|
6160
|
+
r"""
|
6161
|
+
:param _Procedure: 媒体后续任务处理操作,即完成媒体上传后,可自动发起任务流操作。参数值为任务流模板名,云点播支持 创建任务流模板 并为模板命名。
|
6162
|
+
:type Procedure: str
|
6163
|
+
:param _ExpireTime: 媒体文件过期时间,为当前时间的绝对过期时间;保存一天,就填"86400",永久保存就填"0",默认永久保存。
|
6164
|
+
:type ExpireTime: int
|
6165
|
+
:param _StorageRegion: 指定上传园区,仅适用于对上传地域有特殊需求的用户。
|
6166
|
+
:type StorageRegion: str
|
6167
|
+
:param _ClassId: 分类ID,用于对媒体进行分类管理,可通过 创建分类 接口,创建分类,获得分类 ID。
|
6168
|
+
默认值:0,表示其他分类。
|
6169
|
+
:type ClassId: int
|
6170
|
+
:param _SubAppId: 点播 子应用 ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
6171
|
+
:type SubAppId: int
|
6172
|
+
:param _SessionContext: 任务流上下文,任务完成回调时透传。
|
6173
|
+
:type SessionContext: str
|
6174
|
+
:param _SourceContext: 上传上下文,上传完成回调时透传。
|
6175
|
+
:type SourceContext: str
|
6176
|
+
"""
|
6177
|
+
self._Procedure = None
|
6178
|
+
self._ExpireTime = None
|
6179
|
+
self._StorageRegion = None
|
6180
|
+
self._ClassId = None
|
6181
|
+
self._SubAppId = None
|
6182
|
+
self._SessionContext = None
|
6183
|
+
self._SourceContext = None
|
6184
|
+
|
6185
|
+
@property
|
6186
|
+
def Procedure(self):
|
6187
|
+
return self._Procedure
|
6188
|
+
|
6189
|
+
@Procedure.setter
|
6190
|
+
def Procedure(self, Procedure):
|
6191
|
+
self._Procedure = Procedure
|
6192
|
+
|
6193
|
+
@property
|
6194
|
+
def ExpireTime(self):
|
6195
|
+
return self._ExpireTime
|
6196
|
+
|
6197
|
+
@ExpireTime.setter
|
6198
|
+
def ExpireTime(self, ExpireTime):
|
6199
|
+
self._ExpireTime = ExpireTime
|
6200
|
+
|
6201
|
+
@property
|
6202
|
+
def StorageRegion(self):
|
6203
|
+
return self._StorageRegion
|
6204
|
+
|
6205
|
+
@StorageRegion.setter
|
6206
|
+
def StorageRegion(self, StorageRegion):
|
6207
|
+
self._StorageRegion = StorageRegion
|
6208
|
+
|
6209
|
+
@property
|
6210
|
+
def ClassId(self):
|
6211
|
+
return self._ClassId
|
6212
|
+
|
6213
|
+
@ClassId.setter
|
6214
|
+
def ClassId(self, ClassId):
|
6215
|
+
self._ClassId = ClassId
|
6216
|
+
|
6217
|
+
@property
|
6218
|
+
def SubAppId(self):
|
6219
|
+
return self._SubAppId
|
6220
|
+
|
6221
|
+
@SubAppId.setter
|
6222
|
+
def SubAppId(self, SubAppId):
|
6223
|
+
self._SubAppId = SubAppId
|
6224
|
+
|
6225
|
+
@property
|
6226
|
+
def SessionContext(self):
|
6227
|
+
return self._SessionContext
|
6228
|
+
|
6229
|
+
@SessionContext.setter
|
6230
|
+
def SessionContext(self, SessionContext):
|
6231
|
+
self._SessionContext = SessionContext
|
6232
|
+
|
6233
|
+
@property
|
6234
|
+
def SourceContext(self):
|
6235
|
+
return self._SourceContext
|
6236
|
+
|
6237
|
+
@SourceContext.setter
|
6238
|
+
def SourceContext(self, SourceContext):
|
6239
|
+
self._SourceContext = SourceContext
|
6240
|
+
|
6241
|
+
|
6242
|
+
def _deserialize(self, params):
|
6243
|
+
self._Procedure = params.get("Procedure")
|
6244
|
+
self._ExpireTime = params.get("ExpireTime")
|
6245
|
+
self._StorageRegion = params.get("StorageRegion")
|
6246
|
+
self._ClassId = params.get("ClassId")
|
6247
|
+
self._SubAppId = params.get("SubAppId")
|
6248
|
+
self._SessionContext = params.get("SessionContext")
|
6249
|
+
self._SourceContext = params.get("SourceContext")
|
6250
|
+
memeber_set = set(params.keys())
|
6251
|
+
for name, value in vars(self).items():
|
6252
|
+
property_name = name[1:]
|
6253
|
+
if property_name in memeber_set:
|
6254
|
+
memeber_set.remove(property_name)
|
6255
|
+
if len(memeber_set) > 0:
|
6256
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
6257
|
+
|
6258
|
+
|
6259
|
+
|
5939
6260
|
class McuUserInfoParams(AbstractModel):
|
5940
6261
|
"""混流用户参数
|
5941
6262
|
|
@@ -9352,12 +9673,14 @@ class StartPublishCdnStreamRequest(AbstractModel):
|
|
9352
9673
|
:type VideoParams: :class:`tencentcloud.trtc.v20190722.models.McuVideoParams`
|
9353
9674
|
:param _SingleSubscribeParams: 需要单流旁路转推的用户上行参数,单流旁路转推时,WithTranscoding需要设置为0。
|
9354
9675
|
:type SingleSubscribeParams: :class:`tencentcloud.trtc.v20190722.models.SingleSubscribeParams`
|
9355
|
-
:param _PublishCdnParams: 转推的CDN
|
9676
|
+
:param _PublishCdnParams: 转推的CDN参数,一个任务最多支持10个推流URL。和回推房间参数必须要有一个。
|
9356
9677
|
:type PublishCdnParams: list of McuPublishCdnParam
|
9357
9678
|
:param _SeiParams: 混流SEI参数
|
9358
9679
|
:type SeiParams: :class:`tencentcloud.trtc.v20190722.models.McuSeiParams`
|
9359
|
-
:param _FeedBackRoomParams:
|
9680
|
+
:param _FeedBackRoomParams: 回推房间信息,一个任务最多支持回推10个房间,和转推CDN参数必须要有一个。注:回推房间需使用10.4及以上SDK版本,如您有需求,请联系腾讯云技术支持。
|
9360
9681
|
:type FeedBackRoomParams: list of McuFeedBackRoomParams
|
9682
|
+
:param _RecordParams: 转推录制参数,[参考文档](https://cloud.tencent.com/document/product/647/111748)。
|
9683
|
+
:type RecordParams: :class:`tencentcloud.trtc.v20190722.models.McuRecordParams`
|
9361
9684
|
"""
|
9362
9685
|
self._SdkAppId = None
|
9363
9686
|
self._RoomId = None
|
@@ -9370,6 +9693,7 @@ class StartPublishCdnStreamRequest(AbstractModel):
|
|
9370
9693
|
self._PublishCdnParams = None
|
9371
9694
|
self._SeiParams = None
|
9372
9695
|
self._FeedBackRoomParams = None
|
9696
|
+
self._RecordParams = None
|
9373
9697
|
|
9374
9698
|
@property
|
9375
9699
|
def SdkAppId(self):
|
@@ -9459,6 +9783,14 @@ class StartPublishCdnStreamRequest(AbstractModel):
|
|
9459
9783
|
def FeedBackRoomParams(self, FeedBackRoomParams):
|
9460
9784
|
self._FeedBackRoomParams = FeedBackRoomParams
|
9461
9785
|
|
9786
|
+
@property
|
9787
|
+
def RecordParams(self):
|
9788
|
+
return self._RecordParams
|
9789
|
+
|
9790
|
+
@RecordParams.setter
|
9791
|
+
def RecordParams(self, RecordParams):
|
9792
|
+
self._RecordParams = RecordParams
|
9793
|
+
|
9462
9794
|
|
9463
9795
|
def _deserialize(self, params):
|
9464
9796
|
self._SdkAppId = params.get("SdkAppId")
|
@@ -9492,6 +9824,9 @@ class StartPublishCdnStreamRequest(AbstractModel):
|
|
9492
9824
|
obj = McuFeedBackRoomParams()
|
9493
9825
|
obj._deserialize(item)
|
9494
9826
|
self._FeedBackRoomParams.append(obj)
|
9827
|
+
if params.get("RecordParams") is not None:
|
9828
|
+
self._RecordParams = McuRecordParams()
|
9829
|
+
self._RecordParams._deserialize(params.get("RecordParams"))
|
9495
9830
|
memeber_set = set(params.keys())
|
9496
9831
|
for name, value in vars(self).items():
|
9497
9832
|
property_name = name[1:]
|
@@ -10220,9 +10555,14 @@ class StopPublishCdnStreamRequest(AbstractModel):
|
|
10220
10555
|
:type SdkAppId: int
|
10221
10556
|
:param _TaskId: 唯一标识转推任务。
|
10222
10557
|
:type TaskId: str
|
10558
|
+
:param _RecordKey: 录制任务 key,标识一个录制任务,对应转推任务发起时指定 RecordKey;
|
10559
|
+
如果填写该参数,表示调用者希望立即结束该录制任务。当RecordKey 指定的录制任务正在录制当前转推任务时,录制任务立即结束,否则录制任务不受影响。
|
10560
|
+
如果没有填写该参数,但是转推任务发起时填写了 RecordKey,则表示在续录等待时间结束后才结束录制任务,续录等待期间可以使用相同的 RecordKey 发起新的转推任务,和当前转推任务录制到同一文件。
|
10561
|
+
:type RecordKey: str
|
10223
10562
|
"""
|
10224
10563
|
self._SdkAppId = None
|
10225
10564
|
self._TaskId = None
|
10565
|
+
self._RecordKey = None
|
10226
10566
|
|
10227
10567
|
@property
|
10228
10568
|
def SdkAppId(self):
|
@@ -10240,10 +10580,19 @@ class StopPublishCdnStreamRequest(AbstractModel):
|
|
10240
10580
|
def TaskId(self, TaskId):
|
10241
10581
|
self._TaskId = TaskId
|
10242
10582
|
|
10583
|
+
@property
|
10584
|
+
def RecordKey(self):
|
10585
|
+
return self._RecordKey
|
10586
|
+
|
10587
|
+
@RecordKey.setter
|
10588
|
+
def RecordKey(self, RecordKey):
|
10589
|
+
self._RecordKey = RecordKey
|
10590
|
+
|
10243
10591
|
|
10244
10592
|
def _deserialize(self, params):
|
10245
10593
|
self._SdkAppId = params.get("SdkAppId")
|
10246
10594
|
self._TaskId = params.get("TaskId")
|
10595
|
+
self._RecordKey = params.get("RecordKey")
|
10247
10596
|
memeber_set = set(params.keys())
|
10248
10597
|
for name, value in vars(self).items():
|
10249
10598
|
property_name = name[1:]
|
@@ -22537,6 +22537,100 @@ class ReleaseVersion(AbstractModel):
|
|
22537
22537
|
|
22538
22538
|
|
22539
22539
|
|
22540
|
+
class RestartSREInstanceRequest(AbstractModel):
|
22541
|
+
"""RestartSREInstance请求参数结构体
|
22542
|
+
|
22543
|
+
"""
|
22544
|
+
|
22545
|
+
def __init__(self):
|
22546
|
+
r"""
|
22547
|
+
:param _InstanceId: 微服务引擎实例Id
|
22548
|
+
:type InstanceId: str
|
22549
|
+
:param _EnvTypes: 重启的环境类型(PROD,DEV,UAT等)
|
22550
|
+
:type EnvTypes: list of str
|
22551
|
+
:param _NodeName: 指定需要重启的实例节点(当前仅支持zk单节点重启)
|
22552
|
+
:type NodeName: str
|
22553
|
+
"""
|
22554
|
+
self._InstanceId = None
|
22555
|
+
self._EnvTypes = None
|
22556
|
+
self._NodeName = None
|
22557
|
+
|
22558
|
+
@property
|
22559
|
+
def InstanceId(self):
|
22560
|
+
return self._InstanceId
|
22561
|
+
|
22562
|
+
@InstanceId.setter
|
22563
|
+
def InstanceId(self, InstanceId):
|
22564
|
+
self._InstanceId = InstanceId
|
22565
|
+
|
22566
|
+
@property
|
22567
|
+
def EnvTypes(self):
|
22568
|
+
return self._EnvTypes
|
22569
|
+
|
22570
|
+
@EnvTypes.setter
|
22571
|
+
def EnvTypes(self, EnvTypes):
|
22572
|
+
self._EnvTypes = EnvTypes
|
22573
|
+
|
22574
|
+
@property
|
22575
|
+
def NodeName(self):
|
22576
|
+
return self._NodeName
|
22577
|
+
|
22578
|
+
@NodeName.setter
|
22579
|
+
def NodeName(self, NodeName):
|
22580
|
+
self._NodeName = NodeName
|
22581
|
+
|
22582
|
+
|
22583
|
+
def _deserialize(self, params):
|
22584
|
+
self._InstanceId = params.get("InstanceId")
|
22585
|
+
self._EnvTypes = params.get("EnvTypes")
|
22586
|
+
self._NodeName = params.get("NodeName")
|
22587
|
+
memeber_set = set(params.keys())
|
22588
|
+
for name, value in vars(self).items():
|
22589
|
+
property_name = name[1:]
|
22590
|
+
if property_name in memeber_set:
|
22591
|
+
memeber_set.remove(property_name)
|
22592
|
+
if len(memeber_set) > 0:
|
22593
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
22594
|
+
|
22595
|
+
|
22596
|
+
|
22597
|
+
class RestartSREInstanceResponse(AbstractModel):
|
22598
|
+
"""RestartSREInstance返回参数结构体
|
22599
|
+
|
22600
|
+
"""
|
22601
|
+
|
22602
|
+
def __init__(self):
|
22603
|
+
r"""
|
22604
|
+
:param _TaskId: 任务ID
|
22605
|
+
:type TaskId: str
|
22606
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
22607
|
+
:type RequestId: str
|
22608
|
+
"""
|
22609
|
+
self._TaskId = None
|
22610
|
+
self._RequestId = None
|
22611
|
+
|
22612
|
+
@property
|
22613
|
+
def TaskId(self):
|
22614
|
+
return self._TaskId
|
22615
|
+
|
22616
|
+
@TaskId.setter
|
22617
|
+
def TaskId(self, TaskId):
|
22618
|
+
self._TaskId = TaskId
|
22619
|
+
|
22620
|
+
@property
|
22621
|
+
def RequestId(self):
|
22622
|
+
return self._RequestId
|
22623
|
+
|
22624
|
+
@RequestId.setter
|
22625
|
+
def RequestId(self, RequestId):
|
22626
|
+
self._RequestId = RequestId
|
22627
|
+
|
22628
|
+
|
22629
|
+
def _deserialize(self, params):
|
22630
|
+
self._TaskId = params.get("TaskId")
|
22631
|
+
self._RequestId = params.get("RequestId")
|
22632
|
+
|
22633
|
+
|
22540
22634
|
class RollbackConfigFileReleasesRequest(AbstractModel):
|
22541
22635
|
"""RollbackConfigFileReleases请求参数结构体
|
22542
22636
|
|
@@ -2441,6 +2441,29 @@ class TseClient(AbstractClient):
|
|
2441
2441
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2442
2442
|
|
2443
2443
|
|
2444
|
+
def RestartSREInstance(self, request):
|
2445
|
+
"""重启微服务引擎实例
|
2446
|
+
|
2447
|
+
:param request: Request instance for RestartSREInstance.
|
2448
|
+
:type request: :class:`tencentcloud.tse.v20201207.models.RestartSREInstanceRequest`
|
2449
|
+
:rtype: :class:`tencentcloud.tse.v20201207.models.RestartSREInstanceResponse`
|
2450
|
+
|
2451
|
+
"""
|
2452
|
+
try:
|
2453
|
+
params = request._serialize()
|
2454
|
+
headers = request.headers
|
2455
|
+
body = self.call("RestartSREInstance", params, headers=headers)
|
2456
|
+
response = json.loads(body)
|
2457
|
+
model = models.RestartSREInstanceResponse()
|
2458
|
+
model._deserialize(response["Response"])
|
2459
|
+
return model
|
2460
|
+
except Exception as e:
|
2461
|
+
if isinstance(e, TencentCloudSDKException):
|
2462
|
+
raise
|
2463
|
+
else:
|
2464
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2465
|
+
|
2466
|
+
|
2444
2467
|
def RollbackConfigFileReleases(self, request):
|
2445
2468
|
"""回滚配置发布
|
2446
2469
|
|