tencentcloud-sdk-python 3.0.1358__py2.py3-none-any.whl → 3.0.1360__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 +14 -44
- tencentcloud/bh/v20230418/bh_client.py +92 -0
- tencentcloud/bh/v20230418/models.py +855 -61
- tencentcloud/cbs/v20170312/models.py +2 -2
- tencentcloud/ccc/v20200210/ccc_client.py +69 -0
- tencentcloud/ccc/v20200210/models.py +559 -0
- tencentcloud/cdwpg/v20201230/models.py +0 -8
- tencentcloud/ckafka/v20190819/ckafka_client.py +46 -0
- tencentcloud/ckafka/v20190819/models.py +367 -0
- tencentcloud/clb/v20180317/models.py +17 -0
- tencentcloud/cvm/v20170312/cvm_client.py +10 -7
- tencentcloud/cvm/v20170312/errorcodes.py +3 -0
- tencentcloud/cvm/v20170312/models.py +166 -164
- tencentcloud/cwp/v20180228/cwp_client.py +1 -1
- tencentcloud/cwp/v20180228/models.py +2 -2
- tencentcloud/cynosdb/v20190107/models.py +60 -0
- tencentcloud/ess/v20201111/ess_client.py +5 -4
- tencentcloud/essbasic/v20210526/essbasic_client.py +4 -4
- tencentcloud/gs/v20191118/errorcodes.py +24 -0
- tencentcloud/gs/v20191118/gs_client.py +138 -0
- tencentcloud/gs/v20191118/models.py +683 -21
- tencentcloud/gwlb/v20240906/gwlb_client.py +5 -7
- tencentcloud/gwlb/v20240906/models.py +72 -54
- tencentcloud/hunyuan/v20230901/errorcodes.py +27 -0
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +46 -0
- tencentcloud/hunyuan/v20230901/models.py +345 -0
- tencentcloud/live/v20180801/models.py +2 -14
- tencentcloud/lke/v20231130/models.py +232 -2
- tencentcloud/lkeap/v20240522/lkeap_client.py +3 -3
- tencentcloud/monitor/v20180724/errorcodes.py +3 -0
- tencentcloud/monitor/v20180724/models.py +34 -0
- tencentcloud/monitor/v20180724/monitor_client.py +23 -0
- tencentcloud/mps/v20190612/models.py +46 -26
- tencentcloud/privatedns/v20201028/models.py +30 -0
- tencentcloud/tcb/v20180608/models.py +60 -0
- tencentcloud/tione/v20211111/errorcodes.py +3 -0
- tencentcloud/tione/v20211111/models.py +53 -0
- tencentcloud/trtc/v20190722/models.py +4 -10
- tencentcloud/trtc/v20190722/trtc_client.py +4 -0
- tencentcloud/tse/v20201207/models.py +0 -2
- tencentcloud/vclm/v20240523/models.py +2 -2
- tencentcloud/vpc/v20170312/models.py +263 -81
- tencentcloud/vpc/v20170312/vpc_client.py +25 -2
- tencentcloud/wedata/v20210820/models.py +2691 -4
- tencentcloud/wedata/v20210820/wedata_client.py +69 -0
- {tencentcloud_sdk_python-3.0.1358.dist-info → tencentcloud_sdk_python-3.0.1360.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1358.dist-info → tencentcloud_sdk_python-3.0.1360.dist-info}/RECORD +51 -51
- {tencentcloud_sdk_python-3.0.1358.dist-info → tencentcloud_sdk_python-3.0.1360.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1358.dist-info → tencentcloud_sdk_python-3.0.1360.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1358.dist-info → tencentcloud_sdk_python-3.0.1360.dist-info}/top_level.txt +0 -0
@@ -2547,10 +2547,13 @@ class DescribeRequestDataRequest(AbstractModel):
|
|
2547
2547
|
:type Filters: list of Filter
|
2548
2548
|
:param _TimeRangeEnd: 请求量统计结束时间,格式:2020-11-22 23:59:59
|
2549
2549
|
:type TimeRangeEnd: str
|
2550
|
+
:param _Export: 是否导出:true导出,false不导出
|
2551
|
+
:type Export: bool
|
2550
2552
|
"""
|
2551
2553
|
self._TimeRangeBegin = None
|
2552
2554
|
self._Filters = None
|
2553
2555
|
self._TimeRangeEnd = None
|
2556
|
+
self._Export = None
|
2554
2557
|
|
2555
2558
|
@property
|
2556
2559
|
def TimeRangeBegin(self):
|
@@ -2585,6 +2588,17 @@ class DescribeRequestDataRequest(AbstractModel):
|
|
2585
2588
|
def TimeRangeEnd(self, TimeRangeEnd):
|
2586
2589
|
self._TimeRangeEnd = TimeRangeEnd
|
2587
2590
|
|
2591
|
+
@property
|
2592
|
+
def Export(self):
|
2593
|
+
"""是否导出:true导出,false不导出
|
2594
|
+
:rtype: bool
|
2595
|
+
"""
|
2596
|
+
return self._Export
|
2597
|
+
|
2598
|
+
@Export.setter
|
2599
|
+
def Export(self, Export):
|
2600
|
+
self._Export = Export
|
2601
|
+
|
2588
2602
|
|
2589
2603
|
def _deserialize(self, params):
|
2590
2604
|
self._TimeRangeBegin = params.get("TimeRangeBegin")
|
@@ -2595,6 +2609,7 @@ class DescribeRequestDataRequest(AbstractModel):
|
|
2595
2609
|
obj._deserialize(item)
|
2596
2610
|
self._Filters.append(obj)
|
2597
2611
|
self._TimeRangeEnd = params.get("TimeRangeEnd")
|
2612
|
+
self._Export = params.get("Export")
|
2598
2613
|
memeber_set = set(params.keys())
|
2599
2614
|
for name, value in vars(self).items():
|
2600
2615
|
property_name = name[1:]
|
@@ -2616,11 +2631,14 @@ class DescribeRequestDataResponse(AbstractModel):
|
|
2616
2631
|
:type Data: list of MetricData
|
2617
2632
|
:param _Interval: 请求量单位时间: Day:天,Hour:小时
|
2618
2633
|
:type Interval: str
|
2634
|
+
:param _Url: 导出数据下载地址
|
2635
|
+
:type Url: str
|
2619
2636
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2620
2637
|
:type RequestId: str
|
2621
2638
|
"""
|
2622
2639
|
self._Data = None
|
2623
2640
|
self._Interval = None
|
2641
|
+
self._Url = None
|
2624
2642
|
self._RequestId = None
|
2625
2643
|
|
2626
2644
|
@property
|
@@ -2645,6 +2663,17 @@ class DescribeRequestDataResponse(AbstractModel):
|
|
2645
2663
|
def Interval(self, Interval):
|
2646
2664
|
self._Interval = Interval
|
2647
2665
|
|
2666
|
+
@property
|
2667
|
+
def Url(self):
|
2668
|
+
"""导出数据下载地址
|
2669
|
+
:rtype: str
|
2670
|
+
"""
|
2671
|
+
return self._Url
|
2672
|
+
|
2673
|
+
@Url.setter
|
2674
|
+
def Url(self, Url):
|
2675
|
+
self._Url = Url
|
2676
|
+
|
2648
2677
|
@property
|
2649
2678
|
def RequestId(self):
|
2650
2679
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -2665,6 +2694,7 @@ class DescribeRequestDataResponse(AbstractModel):
|
|
2665
2694
|
obj._deserialize(item)
|
2666
2695
|
self._Data.append(obj)
|
2667
2696
|
self._Interval = params.get("Interval")
|
2697
|
+
self._Url = params.get("Url")
|
2668
2698
|
self._RequestId = params.get("RequestId")
|
2669
2699
|
|
2670
2700
|
|
@@ -11796,6 +11796,66 @@ class DescribeCloudBaseRunVersionRsByConditionRequest(AbstractModel):
|
|
11796
11796
|
|
11797
11797
|
"""
|
11798
11798
|
|
11799
|
+
def __init__(self):
|
11800
|
+
r"""
|
11801
|
+
:param _EnvId: 环境ID;EnvId和ClusterId不能同时为空
|
11802
|
+
:type EnvId: str
|
11803
|
+
:param _ClusterId: 集群ID;EnvId和ClusterId不能同时为空
|
11804
|
+
:type ClusterId: str
|
11805
|
+
:param _FilterGwSwitch: 过滤网关服务开关
|
11806
|
+
:type FilterGwSwitch: bool
|
11807
|
+
"""
|
11808
|
+
self._EnvId = None
|
11809
|
+
self._ClusterId = None
|
11810
|
+
self._FilterGwSwitch = None
|
11811
|
+
|
11812
|
+
@property
|
11813
|
+
def EnvId(self):
|
11814
|
+
"""环境ID;EnvId和ClusterId不能同时为空
|
11815
|
+
:rtype: str
|
11816
|
+
"""
|
11817
|
+
return self._EnvId
|
11818
|
+
|
11819
|
+
@EnvId.setter
|
11820
|
+
def EnvId(self, EnvId):
|
11821
|
+
self._EnvId = EnvId
|
11822
|
+
|
11823
|
+
@property
|
11824
|
+
def ClusterId(self):
|
11825
|
+
"""集群ID;EnvId和ClusterId不能同时为空
|
11826
|
+
:rtype: str
|
11827
|
+
"""
|
11828
|
+
return self._ClusterId
|
11829
|
+
|
11830
|
+
@ClusterId.setter
|
11831
|
+
def ClusterId(self, ClusterId):
|
11832
|
+
self._ClusterId = ClusterId
|
11833
|
+
|
11834
|
+
@property
|
11835
|
+
def FilterGwSwitch(self):
|
11836
|
+
"""过滤网关服务开关
|
11837
|
+
:rtype: bool
|
11838
|
+
"""
|
11839
|
+
return self._FilterGwSwitch
|
11840
|
+
|
11841
|
+
@FilterGwSwitch.setter
|
11842
|
+
def FilterGwSwitch(self, FilterGwSwitch):
|
11843
|
+
self._FilterGwSwitch = FilterGwSwitch
|
11844
|
+
|
11845
|
+
|
11846
|
+
def _deserialize(self, params):
|
11847
|
+
self._EnvId = params.get("EnvId")
|
11848
|
+
self._ClusterId = params.get("ClusterId")
|
11849
|
+
self._FilterGwSwitch = params.get("FilterGwSwitch")
|
11850
|
+
memeber_set = set(params.keys())
|
11851
|
+
for name, value in vars(self).items():
|
11852
|
+
property_name = name[1:]
|
11853
|
+
if property_name in memeber_set:
|
11854
|
+
memeber_set.remove(property_name)
|
11855
|
+
if len(memeber_set) > 0:
|
11856
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
11857
|
+
|
11858
|
+
|
11799
11859
|
|
11800
11860
|
class DescribeCloudBaseRunVersionRsByConditionResponse(AbstractModel):
|
11801
11861
|
"""DescribeCloudBaseRunVersionRsByCondition返回参数结构体
|
@@ -170,6 +170,9 @@ FAILEDOPERATION_RELEASESSHPORTFAILED = 'FailedOperation.ReleaseSSHPortFailed'
|
|
170
170
|
# 存储库有绑定的实例,请先删除绑定的实例。
|
171
171
|
FAILEDOPERATION_REPOBINDBYINSTANCE = 'FailedOperation.RepoBindByInstance'
|
172
172
|
|
173
|
+
# 查询第三方机房信息失败
|
174
|
+
FAILEDOPERATION_SERVERROOMQUERYFAILED = 'FailedOperation.ServerRoomQueryFailed'
|
175
|
+
|
173
176
|
# 停止实例失败。
|
174
177
|
FAILEDOPERATION_STOPJOBINSTANCEFAILED = 'FailedOperation.StopJobInstanceFailed'
|
175
178
|
|
@@ -3452,6 +3452,8 @@ class DataConfig(AbstractModel):
|
|
3452
3452
|
:param _CBSSource: CBS配置信息
|
3453
3453
|
注意:此字段可能返回 null,表示取不到有效值。
|
3454
3454
|
:type CBSSource: :class:`tencentcloud.tione.v20211111.models.CBSConfig`
|
3455
|
+
:param _HostPathSource: 主机路径信息
|
3456
|
+
:type HostPathSource: :class:`tencentcloud.tione.v20211111.models.HostPath`
|
3455
3457
|
"""
|
3456
3458
|
self._MappingPath = None
|
3457
3459
|
self._DataSourceUsage = None
|
@@ -3464,6 +3466,7 @@ class DataConfig(AbstractModel):
|
|
3464
3466
|
self._CFSTurboSource = None
|
3465
3467
|
self._LocalDiskSource = None
|
3466
3468
|
self._CBSSource = None
|
3469
|
+
self._HostPathSource = None
|
3467
3470
|
|
3468
3471
|
@property
|
3469
3472
|
def MappingPath(self):
|
@@ -3597,6 +3600,17 @@ class DataConfig(AbstractModel):
|
|
3597
3600
|
def CBSSource(self, CBSSource):
|
3598
3601
|
self._CBSSource = CBSSource
|
3599
3602
|
|
3603
|
+
@property
|
3604
|
+
def HostPathSource(self):
|
3605
|
+
"""主机路径信息
|
3606
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.HostPath`
|
3607
|
+
"""
|
3608
|
+
return self._HostPathSource
|
3609
|
+
|
3610
|
+
@HostPathSource.setter
|
3611
|
+
def HostPathSource(self, HostPathSource):
|
3612
|
+
self._HostPathSource = HostPathSource
|
3613
|
+
|
3600
3614
|
|
3601
3615
|
def _deserialize(self, params):
|
3602
3616
|
self._MappingPath = params.get("MappingPath")
|
@@ -3626,6 +3640,9 @@ class DataConfig(AbstractModel):
|
|
3626
3640
|
if params.get("CBSSource") is not None:
|
3627
3641
|
self._CBSSource = CBSConfig()
|
3628
3642
|
self._CBSSource._deserialize(params.get("CBSSource"))
|
3643
|
+
if params.get("HostPathSource") is not None:
|
3644
|
+
self._HostPathSource = HostPath()
|
3645
|
+
self._HostPathSource._deserialize(params.get("HostPathSource"))
|
3629
3646
|
memeber_set = set(params.keys())
|
3630
3647
|
for name, value in vars(self).items():
|
3631
3648
|
property_name = name[1:]
|
@@ -9500,6 +9517,42 @@ class HorizontalPodAutoscaler(AbstractModel):
|
|
9500
9517
|
|
9501
9518
|
|
9502
9519
|
|
9520
|
+
class HostPath(AbstractModel):
|
9521
|
+
"""主机路径挂载配置
|
9522
|
+
|
9523
|
+
"""
|
9524
|
+
|
9525
|
+
def __init__(self):
|
9526
|
+
r"""
|
9527
|
+
:param _Path: 需要挂载的主机路径
|
9528
|
+
:type Path: str
|
9529
|
+
"""
|
9530
|
+
self._Path = None
|
9531
|
+
|
9532
|
+
@property
|
9533
|
+
def Path(self):
|
9534
|
+
"""需要挂载的主机路径
|
9535
|
+
:rtype: str
|
9536
|
+
"""
|
9537
|
+
return self._Path
|
9538
|
+
|
9539
|
+
@Path.setter
|
9540
|
+
def Path(self, Path):
|
9541
|
+
self._Path = Path
|
9542
|
+
|
9543
|
+
|
9544
|
+
def _deserialize(self, params):
|
9545
|
+
self._Path = params.get("Path")
|
9546
|
+
memeber_set = set(params.keys())
|
9547
|
+
for name, value in vars(self).items():
|
9548
|
+
property_name = name[1:]
|
9549
|
+
if property_name in memeber_set:
|
9550
|
+
memeber_set.remove(property_name)
|
9551
|
+
if len(memeber_set) > 0:
|
9552
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
9553
|
+
|
9554
|
+
|
9555
|
+
|
9503
9556
|
class HyperParameter(AbstractModel):
|
9504
9557
|
"""模型专业参数
|
9505
9558
|
|
@@ -11823,12 +11823,9 @@ class StartAITranscriptionRequest(AbstractModel):
|
|
11823
11823
|
:type RoomId: str
|
11824
11824
|
:param _TranscriptionParams: 转录机器人的参数。
|
11825
11825
|
:type TranscriptionParams: :class:`tencentcloud.trtc.v20190722.models.TranscriptionParams`
|
11826
|
-
:param _SessionId: 调用方传入的唯一Id
|
11826
|
+
:param _SessionId: 调用方传入的唯一Id,服务端用来任务去重,重复的任务会发起失败。服务端固定使用SdkAppId+RoomId+RoomIdType+RobotUserId来去重,如果传入了SessionId,也会使用SessionId去重。
|
11827
11827
|
注意:
|
11828
|
-
|
11829
|
-
如果不传该参数,服务端的去重策略如下:
|
11830
|
-
- 如果TranscriptionMode字段是0,则一个房间只能开启一个任务
|
11831
|
-
- 如果TranscriptionMode字段是1,则一个TargetUserId只能开启一个任务
|
11828
|
+
TranscriptionMode为0时,需要保证一个房间内只发起一个任务,如果发起多个任务,则机器人之间会相互订阅,除非主动停止任务,否则只有10小时后任务才会超时退出,这种情况下建议填写SessionId,保证后续重复发起的任务失败。
|
11832
11829
|
:type SessionId: str
|
11833
11830
|
:param _RoomIdType: TRTC房间号的类型,0代表数字房间号,1代表字符串房间号。不填默认是数字房间号。
|
11834
11831
|
:type RoomIdType: int
|
@@ -11877,12 +11874,9 @@ class StartAITranscriptionRequest(AbstractModel):
|
|
11877
11874
|
|
11878
11875
|
@property
|
11879
11876
|
def SessionId(self):
|
11880
|
-
"""调用方传入的唯一Id
|
11877
|
+
"""调用方传入的唯一Id,服务端用来任务去重,重复的任务会发起失败。服务端固定使用SdkAppId+RoomId+RoomIdType+RobotUserId来去重,如果传入了SessionId,也会使用SessionId去重。
|
11881
11878
|
注意:
|
11882
|
-
|
11883
|
-
如果不传该参数,服务端的去重策略如下:
|
11884
|
-
- 如果TranscriptionMode字段是0,则一个房间只能开启一个任务
|
11885
|
-
- 如果TranscriptionMode字段是1,则一个TargetUserId只能开启一个任务
|
11879
|
+
TranscriptionMode为0时,需要保证一个房间内只发起一个任务,如果发起多个任务,则机器人之间会相互订阅,除非主动停止任务,否则只有10小时后任务才会超时退出,这种情况下建议填写SessionId,保证后续重复发起的任务失败。
|
11886
11880
|
:rtype: str
|
11887
11881
|
"""
|
11888
11882
|
return self._SessionId
|
@@ -1094,6 +1094,10 @@ class TrtcClient(AbstractClient):
|
|
1094
1094
|
|
1095
1095
|
服务端通过TRTC的自定义消息实时下发字幕以及转录消息,CmdId固定是1。客户端只需监听自定义消息的回调即可,比如[c++回调](https://cloud.tencent.com/document/product/647/79637#4cd82f4edb24992a15a25187089e1565)。其他客户端比如安卓、Web等同样可在该链接处找到。
|
1096
1096
|
|
1097
|
+
|
1098
|
+
**注意:**
|
1099
|
+
TranscriptionMode为0时,需要保证一个房间内只发起一个任务,如果发起多个任务,则机器人之间会相互订阅,除非主动停止任务,否则只有10小时后任务才会超时退出,这种情况下建议填写SessionId,保证后续重复发起的任务失败。
|
1100
|
+
|
1097
1101
|
:param request: Request instance for StartAITranscription.
|
1098
1102
|
:type request: :class:`tencentcloud.trtc.v20190722.models.StartAITranscriptionRequest`
|
1099
1103
|
:rtype: :class:`tencentcloud.trtc.v20190722.models.StartAITranscriptionResponse`
|
@@ -1013,7 +1013,6 @@ Standard|Lane
|
|
1013
1013
|
:param _MatchMode: 泳道匹配规则:严格STRICT|宽松PERMISSIVE
|
1014
1014
|
:type MatchMode: str
|
1015
1015
|
:param _LaneTag: 泳道标签
|
1016
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1017
1016
|
:type LaneTag: str
|
1018
1017
|
"""
|
1019
1018
|
self._Priority = None
|
@@ -1179,7 +1178,6 @@ Standard|Lane
|
|
1179
1178
|
@property
|
1180
1179
|
def LaneTag(self):
|
1181
1180
|
"""泳道标签
|
1182
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1183
1181
|
:rtype: str
|
1184
1182
|
"""
|
1185
1183
|
return self._LaneTag
|
@@ -1051,7 +1051,7 @@ Pet:宠物模式,支持宠物等非人像图片,固定生成512:512分辨
|
|
1051
1051
|
|
1052
1052
|
宠物模式下,如果不传该参数,默认将脸部唱演视频回贴原图,生成视频分辨率与原图一致。如不需要脸部回贴,仅保留脸部唱演视频,可传入512:512。
|
1053
1053
|
:type Resolution: str
|
1054
|
-
:param _LogoAdd: 为生成视频添加标识的开关,默认为
|
1054
|
+
:param _LogoAdd: 为生成视频添加标识的开关,默认为1。
|
1055
1055
|
1:添加标识;
|
1056
1056
|
0:不添加标识;
|
1057
1057
|
其他数值:默认按1处理。
|
@@ -1139,7 +1139,7 @@ Pet:宠物模式,支持宠物等非人像图片,固定生成512:512分辨
|
|
1139
1139
|
|
1140
1140
|
@property
|
1141
1141
|
def LogoAdd(self):
|
1142
|
-
"""为生成视频添加标识的开关,默认为
|
1142
|
+
"""为生成视频添加标识的开关,默认为1。
|
1143
1143
|
1:添加标识;
|
1144
1144
|
0:不添加标识;
|
1145
1145
|
其他数值:默认按1处理。
|