tencentcloud-sdk-python 3.0.1325__py2.py3-none-any.whl → 3.0.1327__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/asr/v20190614/asr_client.py +1 -1
- tencentcloud/batch/v20170312/models.py +0 -60
- tencentcloud/ccc/v20200210/ccc_client.py +5 -1
- tencentcloud/ccc/v20200210/models.py +4 -4
- tencentcloud/clb/v20180317/clb_client.py +115 -0
- tencentcloud/clb/v20180317/models.py +522 -0
- tencentcloud/cvm/v20170312/models.py +0 -64
- tencentcloud/cwp/v20180228/models.py +4 -40
- tencentcloud/dts/v20211206/models.py +2 -2
- tencentcloud/emr/v20190103/emr_client.py +23 -0
- tencentcloud/emr/v20190103/models.py +197 -0
- tencentcloud/ess/v20201111/models.py +4 -4
- tencentcloud/essbasic/v20210526/models.py +4 -4
- tencentcloud/hai/v20230812/errorcodes.py +12 -0
- tencentcloud/live/v20180801/models.py +15 -0
- tencentcloud/lkeap/v20240522/lkeap_client.py +8 -5
- tencentcloud/rce/v20201103/models.py +30 -130
- tencentcloud/tcr/v20190924/models.py +0 -14
- tencentcloud/trtc/v20190722/models.py +15 -62
- tencentcloud/waf/v20180125/errorcodes.py +6 -0
- tencentcloud/waf/v20180125/models.py +348 -37
- {tencentcloud_sdk_python-3.0.1325.dist-info → tencentcloud_sdk_python-3.0.1327.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1325.dist-info → tencentcloud_sdk_python-3.0.1327.dist-info}/RECORD +27 -27
- {tencentcloud_sdk_python-3.0.1325.dist-info → tencentcloud_sdk_python-3.0.1327.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1325.dist-info → tencentcloud_sdk_python-3.0.1327.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1325.dist-info → tencentcloud_sdk_python-3.0.1327.dist-info}/top_level.txt +0 -0
@@ -6026,6 +6026,72 @@ class CustomServiceDefine(AbstractModel):
|
|
6026
6026
|
|
6027
6027
|
|
6028
6028
|
|
6029
|
+
class DAGInfo(AbstractModel):
|
6030
|
+
"""DAG信息
|
6031
|
+
|
6032
|
+
"""
|
6033
|
+
|
6034
|
+
def __init__(self):
|
6035
|
+
r"""
|
6036
|
+
:param _ID: 查询ID
|
6037
|
+
:type ID: str
|
6038
|
+
:param _Type: DAG类型,目前只支持starrocks
|
6039
|
+
:type Type: str
|
6040
|
+
:param _Content: 返回的DAG的JSON字符串
|
6041
|
+
:type Content: str
|
6042
|
+
"""
|
6043
|
+
self._ID = None
|
6044
|
+
self._Type = None
|
6045
|
+
self._Content = None
|
6046
|
+
|
6047
|
+
@property
|
6048
|
+
def ID(self):
|
6049
|
+
"""查询ID
|
6050
|
+
:rtype: str
|
6051
|
+
"""
|
6052
|
+
return self._ID
|
6053
|
+
|
6054
|
+
@ID.setter
|
6055
|
+
def ID(self, ID):
|
6056
|
+
self._ID = ID
|
6057
|
+
|
6058
|
+
@property
|
6059
|
+
def Type(self):
|
6060
|
+
"""DAG类型,目前只支持starrocks
|
6061
|
+
:rtype: str
|
6062
|
+
"""
|
6063
|
+
return self._Type
|
6064
|
+
|
6065
|
+
@Type.setter
|
6066
|
+
def Type(self, Type):
|
6067
|
+
self._Type = Type
|
6068
|
+
|
6069
|
+
@property
|
6070
|
+
def Content(self):
|
6071
|
+
"""返回的DAG的JSON字符串
|
6072
|
+
:rtype: str
|
6073
|
+
"""
|
6074
|
+
return self._Content
|
6075
|
+
|
6076
|
+
@Content.setter
|
6077
|
+
def Content(self, Content):
|
6078
|
+
self._Content = Content
|
6079
|
+
|
6080
|
+
|
6081
|
+
def _deserialize(self, params):
|
6082
|
+
self._ID = params.get("ID")
|
6083
|
+
self._Type = params.get("Type")
|
6084
|
+
self._Content = params.get("Content")
|
6085
|
+
memeber_set = set(params.keys())
|
6086
|
+
for name, value in vars(self).items():
|
6087
|
+
property_name = name[1:]
|
6088
|
+
if property_name in memeber_set:
|
6089
|
+
memeber_set.remove(property_name)
|
6090
|
+
if len(memeber_set) > 0:
|
6091
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
6092
|
+
|
6093
|
+
|
6094
|
+
|
6029
6095
|
class DayRepeatStrategy(AbstractModel):
|
6030
6096
|
"""弹性扩缩容按天重复任务描述
|
6031
6097
|
|
@@ -7743,6 +7809,137 @@ class DescribeCvmQuotaResponse(AbstractModel):
|
|
7743
7809
|
self._RequestId = params.get("RequestId")
|
7744
7810
|
|
7745
7811
|
|
7812
|
+
class DescribeDAGInfoRequest(AbstractModel):
|
7813
|
+
"""DescribeDAGInfo请求参数结构体
|
7814
|
+
|
7815
|
+
"""
|
7816
|
+
|
7817
|
+
def __init__(self):
|
7818
|
+
r"""
|
7819
|
+
:param _InstanceID: 集群ID
|
7820
|
+
:type InstanceID: str
|
7821
|
+
:param _Type: DAG类型,目前只支持STARROCKS
|
7822
|
+
:type Type: str
|
7823
|
+
:param _IDList: 查询ID列表,最大长度为1
|
7824
|
+
:type IDList: list of str
|
7825
|
+
"""
|
7826
|
+
self._InstanceID = None
|
7827
|
+
self._Type = None
|
7828
|
+
self._IDList = None
|
7829
|
+
|
7830
|
+
@property
|
7831
|
+
def InstanceID(self):
|
7832
|
+
"""集群ID
|
7833
|
+
:rtype: str
|
7834
|
+
"""
|
7835
|
+
return self._InstanceID
|
7836
|
+
|
7837
|
+
@InstanceID.setter
|
7838
|
+
def InstanceID(self, InstanceID):
|
7839
|
+
self._InstanceID = InstanceID
|
7840
|
+
|
7841
|
+
@property
|
7842
|
+
def Type(self):
|
7843
|
+
"""DAG类型,目前只支持STARROCKS
|
7844
|
+
:rtype: str
|
7845
|
+
"""
|
7846
|
+
return self._Type
|
7847
|
+
|
7848
|
+
@Type.setter
|
7849
|
+
def Type(self, Type):
|
7850
|
+
self._Type = Type
|
7851
|
+
|
7852
|
+
@property
|
7853
|
+
def IDList(self):
|
7854
|
+
"""查询ID列表,最大长度为1
|
7855
|
+
:rtype: list of str
|
7856
|
+
"""
|
7857
|
+
return self._IDList
|
7858
|
+
|
7859
|
+
@IDList.setter
|
7860
|
+
def IDList(self, IDList):
|
7861
|
+
self._IDList = IDList
|
7862
|
+
|
7863
|
+
|
7864
|
+
def _deserialize(self, params):
|
7865
|
+
self._InstanceID = params.get("InstanceID")
|
7866
|
+
self._Type = params.get("Type")
|
7867
|
+
self._IDList = params.get("IDList")
|
7868
|
+
memeber_set = set(params.keys())
|
7869
|
+
for name, value in vars(self).items():
|
7870
|
+
property_name = name[1:]
|
7871
|
+
if property_name in memeber_set:
|
7872
|
+
memeber_set.remove(property_name)
|
7873
|
+
if len(memeber_set) > 0:
|
7874
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
7875
|
+
|
7876
|
+
|
7877
|
+
|
7878
|
+
class DescribeDAGInfoResponse(AbstractModel):
|
7879
|
+
"""DescribeDAGInfo返回参数结构体
|
7880
|
+
|
7881
|
+
"""
|
7882
|
+
|
7883
|
+
def __init__(self):
|
7884
|
+
r"""
|
7885
|
+
:param _TotalCount: 总数,分页查询时使用
|
7886
|
+
:type TotalCount: int
|
7887
|
+
:param _DAGInfoList: Starrocks 查询信息列表
|
7888
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7889
|
+
:type DAGInfoList: list of DAGInfo
|
7890
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7891
|
+
:type RequestId: str
|
7892
|
+
"""
|
7893
|
+
self._TotalCount = None
|
7894
|
+
self._DAGInfoList = None
|
7895
|
+
self._RequestId = None
|
7896
|
+
|
7897
|
+
@property
|
7898
|
+
def TotalCount(self):
|
7899
|
+
"""总数,分页查询时使用
|
7900
|
+
:rtype: int
|
7901
|
+
"""
|
7902
|
+
return self._TotalCount
|
7903
|
+
|
7904
|
+
@TotalCount.setter
|
7905
|
+
def TotalCount(self, TotalCount):
|
7906
|
+
self._TotalCount = TotalCount
|
7907
|
+
|
7908
|
+
@property
|
7909
|
+
def DAGInfoList(self):
|
7910
|
+
"""Starrocks 查询信息列表
|
7911
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7912
|
+
:rtype: list of DAGInfo
|
7913
|
+
"""
|
7914
|
+
return self._DAGInfoList
|
7915
|
+
|
7916
|
+
@DAGInfoList.setter
|
7917
|
+
def DAGInfoList(self, DAGInfoList):
|
7918
|
+
self._DAGInfoList = DAGInfoList
|
7919
|
+
|
7920
|
+
@property
|
7921
|
+
def RequestId(self):
|
7922
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7923
|
+
:rtype: str
|
7924
|
+
"""
|
7925
|
+
return self._RequestId
|
7926
|
+
|
7927
|
+
@RequestId.setter
|
7928
|
+
def RequestId(self, RequestId):
|
7929
|
+
self._RequestId = RequestId
|
7930
|
+
|
7931
|
+
|
7932
|
+
def _deserialize(self, params):
|
7933
|
+
self._TotalCount = params.get("TotalCount")
|
7934
|
+
if params.get("DAGInfoList") is not None:
|
7935
|
+
self._DAGInfoList = []
|
7936
|
+
for item in params.get("DAGInfoList"):
|
7937
|
+
obj = DAGInfo()
|
7938
|
+
obj._deserialize(item)
|
7939
|
+
self._DAGInfoList.append(obj)
|
7940
|
+
self._RequestId = params.get("RequestId")
|
7941
|
+
|
7942
|
+
|
7746
7943
|
class DescribeEmrApplicationStaticsRequest(AbstractModel):
|
7747
7944
|
"""DescribeEmrApplicationStatics请求参数结构体
|
7748
7945
|
|
@@ -26594,11 +26594,11 @@ class Intention(AbstractModel):
|
|
26594
26594
|
|
26595
26595
|
注: `视频认证为白名单功能,使用前请联系对接的客户经理沟通。`
|
26596
26596
|
:type IntentionType: int
|
26597
|
-
:param _IntentionQuestions:
|
26597
|
+
:param _IntentionQuestions: 意愿核身语音问答模式(即语音播报+语音回答)使用的文案,包括:系统语音播报的文本、需要核验的标准文本。支持传入1~10轮问答,最多为10轮。
|
26598
26598
|
|
26599
26599
|
注:`选择问答模式时,此字段可不传,不传则使用默认语音文本:请问,您是否同意签署本协议?可语音回复“同意”或“不同意”。`
|
26600
26600
|
:type IntentionQuestions: list of IntentionQuestion
|
26601
|
-
:param _IntentionActions:
|
26601
|
+
:param _IntentionActions: 意愿核身(点头确认模式)使用的文案,若未使用意愿核身(点头确认模式),则该字段无需传入。支持传入1~10轮点头确认文本,最多支持10轮。
|
26602
26602
|
|
26603
26603
|
注:`选择点头模式时,此字段可不传,不传则使用默认语音文本:请问,您是否同意签署本协议?可点头同意。`
|
26604
26604
|
:type IntentionActions: list of IntentionAction
|
@@ -26624,7 +26624,7 @@ class Intention(AbstractModel):
|
|
26624
26624
|
|
26625
26625
|
@property
|
26626
26626
|
def IntentionQuestions(self):
|
26627
|
-
"""
|
26627
|
+
"""意愿核身语音问答模式(即语音播报+语音回答)使用的文案,包括:系统语音播报的文本、需要核验的标准文本。支持传入1~10轮问答,最多为10轮。
|
26628
26628
|
|
26629
26629
|
注:`选择问答模式时,此字段可不传,不传则使用默认语音文本:请问,您是否同意签署本协议?可语音回复“同意”或“不同意”。`
|
26630
26630
|
:rtype: list of IntentionQuestion
|
@@ -26637,7 +26637,7 @@ class Intention(AbstractModel):
|
|
26637
26637
|
|
26638
26638
|
@property
|
26639
26639
|
def IntentionActions(self):
|
26640
|
-
"""
|
26640
|
+
"""意愿核身(点头确认模式)使用的文案,若未使用意愿核身(点头确认模式),则该字段无需传入。支持传入1~10轮点头确认文本,最多支持10轮。
|
26641
26641
|
|
26642
26642
|
注:`选择点头模式时,此字段可不传,不传则使用默认语音文本:请问,您是否同意签署本协议?可点头同意。`
|
26643
26643
|
:rtype: list of IntentionAction
|
@@ -23664,11 +23664,11 @@ class Intention(AbstractModel):
|
|
23664
23664
|
|
23665
23665
|
注: `视频认证为白名单功能,使用前请联系对接的客户经理沟通。`
|
23666
23666
|
:type IntentionType: int
|
23667
|
-
:param _IntentionQuestions:
|
23667
|
+
:param _IntentionQuestions: 意愿核身语音问答模式(即语音播报+语音回答)使用的文案,包括:系统语音播报的文本、需要核验的标准文本。支持传入1~10轮问答,最多支持10轮。
|
23668
23668
|
|
23669
23669
|
注:`选择问答模式时,此字段可不传,不传则使用默认语音文本:请问,您是否同意签署本协议?可语音回复“同意”或“不同意”。`
|
23670
23670
|
:type IntentionQuestions: list of IntentionQuestion
|
23671
|
-
:param _IntentionActions:
|
23671
|
+
:param _IntentionActions: 意愿核身(点头确认模式)使用的文案,若未使用意愿核身(点头确认模式),则该字段无需传入。支持传入1~10轮点头确认文本,最多支持10轮。
|
23672
23672
|
|
23673
23673
|
注:`选择点头模式时,此字段可不传,不传则使用默认语音文本:请问,您是否同意签署本协议?可点头同意。`
|
23674
23674
|
:type IntentionActions: list of IntentionAction
|
@@ -23694,7 +23694,7 @@ class Intention(AbstractModel):
|
|
23694
23694
|
|
23695
23695
|
@property
|
23696
23696
|
def IntentionQuestions(self):
|
23697
|
-
"""
|
23697
|
+
"""意愿核身语音问答模式(即语音播报+语音回答)使用的文案,包括:系统语音播报的文本、需要核验的标准文本。支持传入1~10轮问答,最多支持10轮。
|
23698
23698
|
|
23699
23699
|
注:`选择问答模式时,此字段可不传,不传则使用默认语音文本:请问,您是否同意签署本协议?可语音回复“同意”或“不同意”。`
|
23700
23700
|
:rtype: list of IntentionQuestion
|
@@ -23707,7 +23707,7 @@ class Intention(AbstractModel):
|
|
23707
23707
|
|
23708
23708
|
@property
|
23709
23709
|
def IntentionActions(self):
|
23710
|
-
"""
|
23710
|
+
"""意愿核身(点头确认模式)使用的文案,若未使用意愿核身(点头确认模式),则该字段无需传入。支持传入1~10轮点头确认文本,最多支持10轮。
|
23711
23711
|
|
23712
23712
|
注:`选择点头模式时,此字段可不传,不传则使用默认语音文本:请问,您是否同意签署本协议?可点头同意。`
|
23713
23713
|
:rtype: list of IntentionAction
|
@@ -86,6 +86,18 @@ INVALIDPARAMETERVALUE_INVALIDSCENEIDMALFORMED = 'InvalidParameterValue.InvalidSc
|
|
86
86
|
# 地域非法
|
87
87
|
INVALIDPARAMETERVALUE_REGIONINVALID = 'InvalidParameterValue.RegionInvalid'
|
88
88
|
|
89
|
+
# 无法找到指定的安全组
|
90
|
+
INVALIDPARAMETERVALUE_SECURITYGROUPNOTFOUND = 'InvalidParameterValue.SecurityGroupNotFound'
|
91
|
+
|
92
|
+
# 入参中若存在子网ID,则必须同时存在VPC ID。
|
93
|
+
INVALIDPARAMETERVALUE_SUBNETMUSTCOEXISTWITHVPC = 'InvalidParameterValue.SubnetMustCoexistWithVpc'
|
94
|
+
|
95
|
+
# 无法找到指定的子网,或该子网不属于指定的VPC
|
96
|
+
INVALIDPARAMETERVALUE_SUBNETNOTFOUND = 'InvalidParameterValue.SubnetNotFound'
|
97
|
+
|
98
|
+
# 无法找到指定的VPC
|
99
|
+
INVALIDPARAMETERVALUE_VPCNOTFOUND = 'InvalidParameterValue.VpcNotFound'
|
100
|
+
|
89
101
|
# 没有配额去为HAI创建新的安全组
|
90
102
|
LIMITEXCEEDED_SECURITYGROUPLIMITEXCEEDED = 'LimitExceeded.SecurityGroupLimitExceeded'
|
91
103
|
|
@@ -27530,6 +27530,8 @@ class LiveStreamMonitorInputInfo(AbstractModel):
|
|
27530
27530
|
:type CasterInputIndex: int
|
27531
27531
|
:param _NeedMonitor: 该输入源是否正在监播
|
27532
27532
|
:type NeedMonitor: bool
|
27533
|
+
:param _CdnStreamId: 导播台pvw pgm的cdn流id
|
27534
|
+
:type CdnStreamId: str
|
27533
27535
|
"""
|
27534
27536
|
self._InputStreamName = None
|
27535
27537
|
self._InputDomain = None
|
@@ -27538,6 +27540,7 @@ class LiveStreamMonitorInputInfo(AbstractModel):
|
|
27538
27540
|
self._Description = None
|
27539
27541
|
self._CasterInputIndex = None
|
27540
27542
|
self._NeedMonitor = None
|
27543
|
+
self._CdnStreamId = None
|
27541
27544
|
|
27542
27545
|
@property
|
27543
27546
|
def InputStreamName(self):
|
@@ -27621,6 +27624,17 @@ class LiveStreamMonitorInputInfo(AbstractModel):
|
|
27621
27624
|
def NeedMonitor(self, NeedMonitor):
|
27622
27625
|
self._NeedMonitor = NeedMonitor
|
27623
27626
|
|
27627
|
+
@property
|
27628
|
+
def CdnStreamId(self):
|
27629
|
+
"""导播台pvw pgm的cdn流id
|
27630
|
+
:rtype: str
|
27631
|
+
"""
|
27632
|
+
return self._CdnStreamId
|
27633
|
+
|
27634
|
+
@CdnStreamId.setter
|
27635
|
+
def CdnStreamId(self, CdnStreamId):
|
27636
|
+
self._CdnStreamId = CdnStreamId
|
27637
|
+
|
27624
27638
|
|
27625
27639
|
def _deserialize(self, params):
|
27626
27640
|
self._InputStreamName = params.get("InputStreamName")
|
@@ -27630,6 +27644,7 @@ class LiveStreamMonitorInputInfo(AbstractModel):
|
|
27630
27644
|
self._Description = params.get("Description")
|
27631
27645
|
self._CasterInputIndex = params.get("CasterInputIndex")
|
27632
27646
|
self._NeedMonitor = params.get("NeedMonitor")
|
27647
|
+
self._CdnStreamId = params.get("CdnStreamId")
|
27633
27648
|
memeber_set = set(params.keys())
|
27634
27649
|
for name, value in vars(self).items():
|
27635
27650
|
property_name = name[1:]
|
@@ -27,11 +27,14 @@ class LkeapClient(AbstractClient):
|
|
27
27
|
|
28
28
|
|
29
29
|
def ChatCompletions(self, request):
|
30
|
-
"""
|
30
|
+
"""### 接口功能
|
31
31
|
|
32
|
-
|
32
|
+
调用接口,发起一次对话请求。单账号限制接口并发上限为5。
|
33
33
|
如需使用OpenAI兼容接口, 请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)
|
34
34
|
|
35
|
+
#### 在线体验
|
36
|
+
如您希望在网页内直接体验 DeepSeek 模型对话,推荐您前往[腾讯云大模型知识引擎](https://cloud.tencent.com/product/lke),使用[ DeepSeek 联网助手](https://lke.cloud.tencent.com/webim_exp/#/chat/wQrAwR)。
|
37
|
+
|
35
38
|
#### 已支持的模型
|
36
39
|
- DeepSeek-V3(model 参数值为**deepseek-v3**)
|
37
40
|
- DeepSeek-V3为671B参数MoE模型,在百科知识、数学推理等多项任务上优势突出,评测成绩在主流榜单中位列开源模型榜首。
|
@@ -40,10 +43,10 @@ class LkeapClient(AbstractClient):
|
|
40
43
|
- DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。
|
41
44
|
- 支持64K上下文长度,最大输入56k,最大输出8k(不含思维链)。
|
42
45
|
|
43
|
-
|
46
|
+
### 计费说明
|
44
47
|
- 限时免费
|
45
48
|
|
46
|
-
本接口调用DeepSeek系列模型限时免费。即日至北京时间2025年2月25日23:59:59,所有腾讯云用户均可享受DeepSeek-V3、DeepSeek-R1模型限时免费服务,单账号限制接口并发上限为5
|
49
|
+
本接口调用DeepSeek系列模型限时免费。即日至北京时间2025年2月25日23:59:59,所有腾讯云用户均可享受DeepSeek-V3、DeepSeek-R1模型限时免费服务,单账号限制接口并发上限为5。在此之后,模型价格将恢复至原价,单账号限制接口并发上限为5。
|
47
50
|
- 标准计费(2025年2月26日起生效)
|
48
51
|
|
49
52
|

|
@@ -55,7 +58,7 @@ class LkeapClient(AbstractClient):
|
|
55
58
|
> api_key的获取请参考[API KEY管理](https://cloud.tencent.com/document/product/1772/115970)
|
56
59
|
|
57
60
|
|
58
|
-
|
61
|
+
### 快速接入
|
59
62
|
1. 完成[实名认证](https://console.cloud.tencent.com/developer/auth)。
|
60
63
|
2. 主账户前往[控制台](https://console.cloud.tencent.com/lkeap)开通服务。若为子账户,需由主账号在[权限管理](https://console.cloud.tencent.com/cam)中为子账号授权,关联预设策略,策略名称:QcloudLKEAPFullAccess。
|
61
64
|
3. 通过API Explorer[在线调试](https://console.cloud.tencent.com/api/explorer?Product=lkeap&Version=2024-05-22&Action=ChatCompletions)。
|