tencentcloud-sdk-python 3.0.1475__py2.py3-none-any.whl → 3.0.1477__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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +2 -2
- tencentcloud/cdb/v20170320/models.py +53 -18
- tencentcloud/cdn/v20180606/models.py +12 -2
- tencentcloud/cloudhsm/v20191112/models.py +15 -15
- tencentcloud/cls/v20201016/cls_client.py +4 -4
- tencentcloud/cls/v20201016/models.py +79 -58
- tencentcloud/ctem/v20231128/models.py +45 -0
- tencentcloud/dbbrain/v20210527/models.py +33 -12
- tencentcloud/dts/v20211206/dts_client.py +1 -1
- tencentcloud/dts/v20211206/models.py +33 -10
- tencentcloud/emr/v20190103/models.py +15 -0
- tencentcloud/es/v20250101/es_client.py +23 -0
- tencentcloud/es/v20250101/models.py +259 -0
- tencentcloud/ess/v20201111/ess_client.py +97 -0
- tencentcloud/ess/v20201111/models.py +940 -10
- tencentcloud/essbasic/v20210526/models.py +19 -4
- tencentcloud/gwlb/v20240906/gwlb_client.py +23 -0
- tencentcloud/gwlb/v20240906/models.py +150 -0
- tencentcloud/hunyuan/v20230901/models.py +16 -4
- tencentcloud/ioa/v20220601/errorcodes.py +3 -0
- tencentcloud/ioa/v20220601/ioa_client.py +92 -0
- tencentcloud/ioa/v20220601/models.py +1114 -71
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +92 -0
- tencentcloud/iotexplorer/v20190423/models.py +2022 -116
- tencentcloud/lcic/v20220817/models.py +2 -2
- tencentcloud/lke/v20231130/models.py +2 -2
- tencentcloud/lkeap/v20240522/errorcodes.py +7 -7
- tencentcloud/lkeap/v20240522/models.py +2 -2
- tencentcloud/monitor/v20180724/models.py +480 -0
- tencentcloud/monitor/v20180724/monitor_client.py +23 -0
- tencentcloud/mps/v20190612/models.py +815 -2
- tencentcloud/mqtt/v20240516/models.py +15 -0
- tencentcloud/nlp/v20190408/nlp_client.py +9 -3
- tencentcloud/oceanus/v20190422/errorcodes.py +9 -0
- tencentcloud/oceanus/v20190422/models.py +250 -2
- tencentcloud/oceanus/v20190422/oceanus_client.py +46 -0
- tencentcloud/ocr/v20181119/models.py +20 -0
- tencentcloud/privatedns/v20201028/errorcodes.py +36 -0
- tencentcloud/privatedns/v20201028/models.py +1699 -86
- tencentcloud/privatedns/v20201028/privatedns_client.py +253 -0
- tencentcloud/redis/v20180412/models.py +2 -2
- tencentcloud/teo/v20220901/errorcodes.py +1 -1
- tencentcloud/teo/v20220901/models.py +422 -123
- tencentcloud/teo/v20220901/teo_client.py +2 -2
- tencentcloud/tke/v20180525/models.py +55 -26
- tencentcloud/trtc/v20190722/models.py +15 -15
- tencentcloud/tse/v20201207/models.py +50 -0
- tencentcloud/vpc/v20170312/models.py +15 -0
- tencentcloud/wedata/v20210820/errorcodes.py +3 -0
- tencentcloud/wedata/v20210820/models.py +1240 -81
- tencentcloud/wedata/v20210820/wedata_client.py +1 -1
- tencentcloud/wedata/v20250806/models.py +874 -34
- tencentcloud/wedata/v20250806/wedata_client.py +95 -3
- {tencentcloud_sdk_python-3.0.1475.dist-info → tencentcloud_sdk_python-3.0.1477.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1475.dist-info → tencentcloud_sdk_python-3.0.1477.dist-info}/RECORD +59 -59
- {tencentcloud_sdk_python-3.0.1475.dist-info → tencentcloud_sdk_python-3.0.1477.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1475.dist-info → tencentcloud_sdk_python-3.0.1477.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1475.dist-info → tencentcloud_sdk_python-3.0.1477.dist-info}/top_level.txt +0 -0
|
@@ -5284,6 +5284,8 @@ API:通过API手动注册
|
|
|
5284
5284
|
:type TopicPrefixSlashLimit: int
|
|
5285
5285
|
:param _MessageRate: 单客户端发送消息限速,单位 条/秒
|
|
5286
5286
|
:type MessageRate: int
|
|
5287
|
+
:param _TransportLayerSecurity: 服务端tls支持的协议,使用“,”分割。例如:TLSv1.3,TLSv1.2,TLSv1.1,TLSv1
|
|
5288
|
+
:type TransportLayerSecurity: str
|
|
5287
5289
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5288
5290
|
:type RequestId: str
|
|
5289
5291
|
"""
|
|
@@ -5320,6 +5322,7 @@ API:通过API手动注册
|
|
|
5320
5322
|
self._ServerCertLimit = None
|
|
5321
5323
|
self._TopicPrefixSlashLimit = None
|
|
5322
5324
|
self._MessageRate = None
|
|
5325
|
+
self._TransportLayerSecurity = None
|
|
5323
5326
|
self._RequestId = None
|
|
5324
5327
|
|
|
5325
5328
|
@property
|
|
@@ -5690,6 +5693,17 @@ API:通过API手动注册
|
|
|
5690
5693
|
def MessageRate(self, MessageRate):
|
|
5691
5694
|
self._MessageRate = MessageRate
|
|
5692
5695
|
|
|
5696
|
+
@property
|
|
5697
|
+
def TransportLayerSecurity(self):
|
|
5698
|
+
r"""服务端tls支持的协议,使用“,”分割。例如:TLSv1.3,TLSv1.2,TLSv1.1,TLSv1
|
|
5699
|
+
:rtype: str
|
|
5700
|
+
"""
|
|
5701
|
+
return self._TransportLayerSecurity
|
|
5702
|
+
|
|
5703
|
+
@TransportLayerSecurity.setter
|
|
5704
|
+
def TransportLayerSecurity(self, TransportLayerSecurity):
|
|
5705
|
+
self._TransportLayerSecurity = TransportLayerSecurity
|
|
5706
|
+
|
|
5693
5707
|
@property
|
|
5694
5708
|
def RequestId(self):
|
|
5695
5709
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -5736,6 +5750,7 @@ API:通过API手动注册
|
|
|
5736
5750
|
self._ServerCertLimit = params.get("ServerCertLimit")
|
|
5737
5751
|
self._TopicPrefixSlashLimit = params.get("TopicPrefixSlashLimit")
|
|
5738
5752
|
self._MessageRate = params.get("MessageRate")
|
|
5753
|
+
self._TransportLayerSecurity = params.get("TransportLayerSecurity")
|
|
5739
5754
|
self._RequestId = params.get("RequestId")
|
|
5740
5755
|
|
|
5741
5756
|
|
|
@@ -50,7 +50,9 @@ class NlpClient(AbstractClient):
|
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
def ClassifyContent(self, request):
|
|
53
|
-
r"""
|
|
53
|
+
r"""NLP技术的句子相似度、相似词召回、文本分类、对联生成、诗词生成、词相似度、文本润色、句子生成和文本补全API接口将于2025年10月31日下线,届时将无法正常调用。为了避免对您的业务造成影响,请您尽快做好相关业务调整。如果您有NLP技术的产品需求,推荐您调用腾讯混元大模型(https://cloud.tencent.com/product/tclm)。
|
|
54
|
+
|
|
55
|
+
文本分类接口能够对用户输入的文章进行自动分类,将其映射到具体的类目上,用户只需要提供待分类的文本,而无需关注具体实现。该功能定义了一套较为完备的[三级分类体系](https://cloud.tencent.com/document/product/271/94286),积累了数百万的语料,经过多轮迭代优化打造了较先进的深度学习模型,以保证效果不断提升。
|
|
54
56
|
|
|
55
57
|
:param request: Request instance for ClassifyContent.
|
|
56
58
|
:type request: :class:`tencentcloud.nlp.v20190408.models.ClassifyContentRequest`
|
|
@@ -73,7 +75,9 @@ class NlpClient(AbstractClient):
|
|
|
73
75
|
|
|
74
76
|
|
|
75
77
|
def ComposeCouplet(self, request):
|
|
76
|
-
r"""
|
|
78
|
+
r"""NLP技术的句子相似度、相似词召回、文本分类、对联生成、诗词生成、词相似度、文本润色、句子生成和文本补全API接口将于2025年10月31日下线,届时将无法正常调用。为了避免对您的业务造成影响,请您尽快做好相关业务调整。如果您有NLP技术的产品需求,推荐您调用腾讯混元大模型(https://cloud.tencent.com/product/tclm)。
|
|
79
|
+
|
|
80
|
+
对联生成接口根据用户输入的命题关键词,智能生成一副完整的春联,包括上联、下联和横批。该接口利用先进的自然语言处理技术,确保生成的春联既符合传统对仗、对韵、对义的要求,又具有新意和创意,为用户提供独特的春节祝福。
|
|
77
81
|
|
|
78
82
|
:param request: Request instance for ComposeCouplet.
|
|
79
83
|
:type request: :class:`tencentcloud.nlp.v20190408.models.ComposeCoupletRequest`
|
|
@@ -96,7 +100,9 @@ class NlpClient(AbstractClient):
|
|
|
96
100
|
|
|
97
101
|
|
|
98
102
|
def EvaluateSentenceSimilarity(self, request):
|
|
99
|
-
r"""
|
|
103
|
+
r"""NLP技术的句子相似度、相似词召回、文本分类、对联生成、诗词生成、词相似度、文本润色、句子生成和文本补全API接口将于2025年10月31日下线,届时将无法正常调用。为了避免对您的业务造成影响,请您尽快做好相关业务调整。如果您有NLP技术的产品需求,推荐您调用腾讯混元大模型(https://cloud.tencent.com/product/tclm)。
|
|
104
|
+
|
|
105
|
+
通过计算句子间的语义相似性,帮助您快速找到文本中重复或相似的句子,用于文本聚类、相似问题检索等应用场景。
|
|
100
106
|
|
|
101
107
|
:param request: Request instance for EvaluateSentenceSimilarity.
|
|
102
108
|
:type request: :class:`tencentcloud.nlp.v20190408.models.EvaluateSentenceSimilarityRequest`
|
|
@@ -104,6 +104,9 @@ INVALIDPARAMETER = 'InvalidParameter'
|
|
|
104
104
|
# AppId资源不匹配。
|
|
105
105
|
INVALIDPARAMETER_APPIDRESOURCENOTMATCH = 'InvalidParameter.AppIdResourceNotMatch'
|
|
106
106
|
|
|
107
|
+
# 该变量名称已存在。
|
|
108
|
+
INVALIDPARAMETER_CREATEVARIABLEEXISTS = 'InvalidParameter.CreateVariableExists'
|
|
109
|
+
|
|
107
110
|
# 空间命名重复。
|
|
108
111
|
INVALIDPARAMETER_DUPLICATEDSPACENAME = 'InvalidParameter.DuplicatedSpaceName'
|
|
109
112
|
|
|
@@ -206,6 +209,9 @@ INVALIDPARAMETERVALUE_UNSUPPORTEDCOMPOSITE = 'InvalidParameterValue.UnSupportedC
|
|
|
206
209
|
# 未知停止类型错误。
|
|
207
210
|
INVALIDPARAMETERVALUE_UNKNOWNSTOPTYPE = 'InvalidParameterValue.UnknownStopType'
|
|
208
211
|
|
|
212
|
+
# 变量参数异常。
|
|
213
|
+
INVALIDPARAMETERVALUE_VARIABLENAME = 'InvalidParameterValue.VariableName'
|
|
214
|
+
|
|
209
215
|
# 超过配额限制。
|
|
210
216
|
LIMITEXCEEDED = 'LimitExceeded'
|
|
211
217
|
|
|
@@ -218,6 +224,9 @@ LIMITEXCEEDED_JOB = 'LimitExceeded.Job'
|
|
|
218
224
|
# 作业配置超出限制。
|
|
219
225
|
LIMITEXCEEDED_JOBCONFIG = 'LimitExceeded.JobConfig'
|
|
220
226
|
|
|
227
|
+
# 变量数超过限制。
|
|
228
|
+
LIMITEXCEEDED_VARIABLES = 'LimitExceeded.Variables'
|
|
229
|
+
|
|
221
230
|
# 工作空间超阈值。
|
|
222
231
|
LIMITEXCEEDED_WORKSPACELIMITEXCEEDED = 'LimitExceeded.WorkSpaceLimitExceeded'
|
|
223
232
|
|
|
@@ -4142,6 +4142,145 @@ class CreateResourceResponse(AbstractModel):
|
|
|
4142
4142
|
self._RequestId = params.get("RequestId")
|
|
4143
4143
|
|
|
4144
4144
|
|
|
4145
|
+
class CreateVariableRequest(AbstractModel):
|
|
4146
|
+
r"""CreateVariable请求参数结构体
|
|
4147
|
+
|
|
4148
|
+
"""
|
|
4149
|
+
|
|
4150
|
+
def __init__(self):
|
|
4151
|
+
r"""
|
|
4152
|
+
:param _Name: 变量名
|
|
4153
|
+
:type Name: str
|
|
4154
|
+
:param _Value: 变量值
|
|
4155
|
+
:type Value: str
|
|
4156
|
+
:param _Type: 变量类型 1:显式 2:隐藏
|
|
4157
|
+
:type Type: int
|
|
4158
|
+
:param _Remark: 描述信息
|
|
4159
|
+
:type Remark: str
|
|
4160
|
+
:param _WorkSpaceId: 工作空间 SerialId
|
|
4161
|
+
:type WorkSpaceId: str
|
|
4162
|
+
"""
|
|
4163
|
+
self._Name = None
|
|
4164
|
+
self._Value = None
|
|
4165
|
+
self._Type = None
|
|
4166
|
+
self._Remark = None
|
|
4167
|
+
self._WorkSpaceId = None
|
|
4168
|
+
|
|
4169
|
+
@property
|
|
4170
|
+
def Name(self):
|
|
4171
|
+
r"""变量名
|
|
4172
|
+
:rtype: str
|
|
4173
|
+
"""
|
|
4174
|
+
return self._Name
|
|
4175
|
+
|
|
4176
|
+
@Name.setter
|
|
4177
|
+
def Name(self, Name):
|
|
4178
|
+
self._Name = Name
|
|
4179
|
+
|
|
4180
|
+
@property
|
|
4181
|
+
def Value(self):
|
|
4182
|
+
r"""变量值
|
|
4183
|
+
:rtype: str
|
|
4184
|
+
"""
|
|
4185
|
+
return self._Value
|
|
4186
|
+
|
|
4187
|
+
@Value.setter
|
|
4188
|
+
def Value(self, Value):
|
|
4189
|
+
self._Value = Value
|
|
4190
|
+
|
|
4191
|
+
@property
|
|
4192
|
+
def Type(self):
|
|
4193
|
+
r"""变量类型 1:显式 2:隐藏
|
|
4194
|
+
:rtype: int
|
|
4195
|
+
"""
|
|
4196
|
+
return self._Type
|
|
4197
|
+
|
|
4198
|
+
@Type.setter
|
|
4199
|
+
def Type(self, Type):
|
|
4200
|
+
self._Type = Type
|
|
4201
|
+
|
|
4202
|
+
@property
|
|
4203
|
+
def Remark(self):
|
|
4204
|
+
r"""描述信息
|
|
4205
|
+
:rtype: str
|
|
4206
|
+
"""
|
|
4207
|
+
return self._Remark
|
|
4208
|
+
|
|
4209
|
+
@Remark.setter
|
|
4210
|
+
def Remark(self, Remark):
|
|
4211
|
+
self._Remark = Remark
|
|
4212
|
+
|
|
4213
|
+
@property
|
|
4214
|
+
def WorkSpaceId(self):
|
|
4215
|
+
r"""工作空间 SerialId
|
|
4216
|
+
:rtype: str
|
|
4217
|
+
"""
|
|
4218
|
+
return self._WorkSpaceId
|
|
4219
|
+
|
|
4220
|
+
@WorkSpaceId.setter
|
|
4221
|
+
def WorkSpaceId(self, WorkSpaceId):
|
|
4222
|
+
self._WorkSpaceId = WorkSpaceId
|
|
4223
|
+
|
|
4224
|
+
|
|
4225
|
+
def _deserialize(self, params):
|
|
4226
|
+
self._Name = params.get("Name")
|
|
4227
|
+
self._Value = params.get("Value")
|
|
4228
|
+
self._Type = params.get("Type")
|
|
4229
|
+
self._Remark = params.get("Remark")
|
|
4230
|
+
self._WorkSpaceId = params.get("WorkSpaceId")
|
|
4231
|
+
memeber_set = set(params.keys())
|
|
4232
|
+
for name, value in vars(self).items():
|
|
4233
|
+
property_name = name[1:]
|
|
4234
|
+
if property_name in memeber_set:
|
|
4235
|
+
memeber_set.remove(property_name)
|
|
4236
|
+
if len(memeber_set) > 0:
|
|
4237
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4238
|
+
|
|
4239
|
+
|
|
4240
|
+
|
|
4241
|
+
class CreateVariableResponse(AbstractModel):
|
|
4242
|
+
r"""CreateVariable返回参数结构体
|
|
4243
|
+
|
|
4244
|
+
"""
|
|
4245
|
+
|
|
4246
|
+
def __init__(self):
|
|
4247
|
+
r"""
|
|
4248
|
+
:param _VariableId: 变量Id
|
|
4249
|
+
:type VariableId: str
|
|
4250
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4251
|
+
:type RequestId: str
|
|
4252
|
+
"""
|
|
4253
|
+
self._VariableId = None
|
|
4254
|
+
self._RequestId = None
|
|
4255
|
+
|
|
4256
|
+
@property
|
|
4257
|
+
def VariableId(self):
|
|
4258
|
+
r"""变量Id
|
|
4259
|
+
:rtype: str
|
|
4260
|
+
"""
|
|
4261
|
+
return self._VariableId
|
|
4262
|
+
|
|
4263
|
+
@VariableId.setter
|
|
4264
|
+
def VariableId(self, VariableId):
|
|
4265
|
+
self._VariableId = VariableId
|
|
4266
|
+
|
|
4267
|
+
@property
|
|
4268
|
+
def RequestId(self):
|
|
4269
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4270
|
+
:rtype: str
|
|
4271
|
+
"""
|
|
4272
|
+
return self._RequestId
|
|
4273
|
+
|
|
4274
|
+
@RequestId.setter
|
|
4275
|
+
def RequestId(self, RequestId):
|
|
4276
|
+
self._RequestId = RequestId
|
|
4277
|
+
|
|
4278
|
+
|
|
4279
|
+
def _deserialize(self, params):
|
|
4280
|
+
self._VariableId = params.get("VariableId")
|
|
4281
|
+
self._RequestId = params.get("RequestId")
|
|
4282
|
+
|
|
4283
|
+
|
|
4145
4284
|
class CreateWorkSpaceRequest(AbstractModel):
|
|
4146
4285
|
r"""CreateWorkSpace请求参数结构体
|
|
4147
4286
|
|
|
@@ -7897,6 +8036,70 @@ class DescribeTreeResourcesRsp(AbstractModel):
|
|
|
7897
8036
|
|
|
7898
8037
|
|
|
7899
8038
|
|
|
8039
|
+
class DescribeVariablesRequest(AbstractModel):
|
|
8040
|
+
r"""DescribeVariables请求参数结构体
|
|
8041
|
+
|
|
8042
|
+
"""
|
|
8043
|
+
|
|
8044
|
+
def __init__(self):
|
|
8045
|
+
r"""
|
|
8046
|
+
:param _WorkSpaceId: 工作空间 SerialId
|
|
8047
|
+
:type WorkSpaceId: str
|
|
8048
|
+
"""
|
|
8049
|
+
self._WorkSpaceId = None
|
|
8050
|
+
|
|
8051
|
+
@property
|
|
8052
|
+
def WorkSpaceId(self):
|
|
8053
|
+
r"""工作空间 SerialId
|
|
8054
|
+
:rtype: str
|
|
8055
|
+
"""
|
|
8056
|
+
return self._WorkSpaceId
|
|
8057
|
+
|
|
8058
|
+
@WorkSpaceId.setter
|
|
8059
|
+
def WorkSpaceId(self, WorkSpaceId):
|
|
8060
|
+
self._WorkSpaceId = WorkSpaceId
|
|
8061
|
+
|
|
8062
|
+
|
|
8063
|
+
def _deserialize(self, params):
|
|
8064
|
+
self._WorkSpaceId = params.get("WorkSpaceId")
|
|
8065
|
+
memeber_set = set(params.keys())
|
|
8066
|
+
for name, value in vars(self).items():
|
|
8067
|
+
property_name = name[1:]
|
|
8068
|
+
if property_name in memeber_set:
|
|
8069
|
+
memeber_set.remove(property_name)
|
|
8070
|
+
if len(memeber_set) > 0:
|
|
8071
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8072
|
+
|
|
8073
|
+
|
|
8074
|
+
|
|
8075
|
+
class DescribeVariablesResponse(AbstractModel):
|
|
8076
|
+
r"""DescribeVariables返回参数结构体
|
|
8077
|
+
|
|
8078
|
+
"""
|
|
8079
|
+
|
|
8080
|
+
def __init__(self):
|
|
8081
|
+
r"""
|
|
8082
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8083
|
+
:type RequestId: str
|
|
8084
|
+
"""
|
|
8085
|
+
self._RequestId = None
|
|
8086
|
+
|
|
8087
|
+
@property
|
|
8088
|
+
def RequestId(self):
|
|
8089
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8090
|
+
:rtype: str
|
|
8091
|
+
"""
|
|
8092
|
+
return self._RequestId
|
|
8093
|
+
|
|
8094
|
+
@RequestId.setter
|
|
8095
|
+
def RequestId(self, RequestId):
|
|
8096
|
+
self._RequestId = RequestId
|
|
8097
|
+
|
|
8098
|
+
|
|
8099
|
+
def _deserialize(self, params):
|
|
8100
|
+
self._RequestId = params.get("RequestId")
|
|
8101
|
+
|
|
8102
|
+
|
|
7900
8103
|
class DescribeWorkSpacesRequest(AbstractModel):
|
|
7901
8104
|
r"""DescribeWorkSpaces请求参数结构体
|
|
7902
8105
|
|
|
@@ -10090,9 +10293,11 @@ class JobV1(AbstractModel):
|
|
|
10090
10293
|
:param _ClusterName: 集群名字
|
|
10091
10294
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10092
10295
|
:type ClusterName: str
|
|
10093
|
-
:param _LatestJobConfigVersion:
|
|
10296
|
+
:param _LatestJobConfigVersion: 最新配置版本号,包括已经删除的版本
|
|
10094
10297
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10095
10298
|
:type LatestJobConfigVersion: int
|
|
10299
|
+
:param _LatestValidJobConfigVersion: 最新的版本号,不包括已经删除的版本号
|
|
10300
|
+
:type LatestValidJobConfigVersion: int
|
|
10096
10301
|
:param _PublishedJobConfigVersion: 已发布的配置版本
|
|
10097
10302
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10098
10303
|
:type PublishedJobConfigVersion: int
|
|
@@ -10159,6 +10364,8 @@ class JobV1(AbstractModel):
|
|
|
10159
10364
|
:type ProgressDesc: str
|
|
10160
10365
|
:param _ContinueAlarm: 停止持续告警
|
|
10161
10366
|
:type ContinueAlarm: int
|
|
10367
|
+
:param _RestartCount: 作业重启次数
|
|
10368
|
+
:type RestartCount: int
|
|
10162
10369
|
"""
|
|
10163
10370
|
self._JobId = None
|
|
10164
10371
|
self._Region = None
|
|
@@ -10178,6 +10385,7 @@ class JobV1(AbstractModel):
|
|
|
10178
10385
|
self._LastOpResult = None
|
|
10179
10386
|
self._ClusterName = None
|
|
10180
10387
|
self._LatestJobConfigVersion = None
|
|
10388
|
+
self._LatestValidJobConfigVersion = None
|
|
10181
10389
|
self._PublishedJobConfigVersion = None
|
|
10182
10390
|
self._RunningCuNum = None
|
|
10183
10391
|
self._CuMem = None
|
|
@@ -10200,6 +10408,7 @@ class JobV1(AbstractModel):
|
|
|
10200
10408
|
self._OpenJobDefaultAlarm = None
|
|
10201
10409
|
self._ProgressDesc = None
|
|
10202
10410
|
self._ContinueAlarm = None
|
|
10411
|
+
self._RestartCount = None
|
|
10203
10412
|
|
|
10204
10413
|
@property
|
|
10205
10414
|
def JobId(self):
|
|
@@ -10407,7 +10616,7 @@ class JobV1(AbstractModel):
|
|
|
10407
10616
|
|
|
10408
10617
|
@property
|
|
10409
10618
|
def LatestJobConfigVersion(self):
|
|
10410
|
-
r"""
|
|
10619
|
+
r"""最新配置版本号,包括已经删除的版本
|
|
10411
10620
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10412
10621
|
:rtype: int
|
|
10413
10622
|
"""
|
|
@@ -10417,6 +10626,17 @@ class JobV1(AbstractModel):
|
|
|
10417
10626
|
def LatestJobConfigVersion(self, LatestJobConfigVersion):
|
|
10418
10627
|
self._LatestJobConfigVersion = LatestJobConfigVersion
|
|
10419
10628
|
|
|
10629
|
+
@property
|
|
10630
|
+
def LatestValidJobConfigVersion(self):
|
|
10631
|
+
r"""最新的版本号,不包括已经删除的版本号
|
|
10632
|
+
:rtype: int
|
|
10633
|
+
"""
|
|
10634
|
+
return self._LatestValidJobConfigVersion
|
|
10635
|
+
|
|
10636
|
+
@LatestValidJobConfigVersion.setter
|
|
10637
|
+
def LatestValidJobConfigVersion(self, LatestValidJobConfigVersion):
|
|
10638
|
+
self._LatestValidJobConfigVersion = LatestValidJobConfigVersion
|
|
10639
|
+
|
|
10420
10640
|
@property
|
|
10421
10641
|
def PublishedJobConfigVersion(self):
|
|
10422
10642
|
r"""已发布的配置版本
|
|
@@ -10681,6 +10901,17 @@ class JobV1(AbstractModel):
|
|
|
10681
10901
|
def ContinueAlarm(self, ContinueAlarm):
|
|
10682
10902
|
self._ContinueAlarm = ContinueAlarm
|
|
10683
10903
|
|
|
10904
|
+
@property
|
|
10905
|
+
def RestartCount(self):
|
|
10906
|
+
r"""作业重启次数
|
|
10907
|
+
:rtype: int
|
|
10908
|
+
"""
|
|
10909
|
+
return self._RestartCount
|
|
10910
|
+
|
|
10911
|
+
@RestartCount.setter
|
|
10912
|
+
def RestartCount(self, RestartCount):
|
|
10913
|
+
self._RestartCount = RestartCount
|
|
10914
|
+
|
|
10684
10915
|
|
|
10685
10916
|
def _deserialize(self, params):
|
|
10686
10917
|
self._JobId = params.get("JobId")
|
|
@@ -10701,6 +10932,7 @@ class JobV1(AbstractModel):
|
|
|
10701
10932
|
self._LastOpResult = params.get("LastOpResult")
|
|
10702
10933
|
self._ClusterName = params.get("ClusterName")
|
|
10703
10934
|
self._LatestJobConfigVersion = params.get("LatestJobConfigVersion")
|
|
10935
|
+
self._LatestValidJobConfigVersion = params.get("LatestValidJobConfigVersion")
|
|
10704
10936
|
self._PublishedJobConfigVersion = params.get("PublishedJobConfigVersion")
|
|
10705
10937
|
self._RunningCuNum = params.get("RunningCuNum")
|
|
10706
10938
|
self._CuMem = params.get("CuMem")
|
|
@@ -10730,6 +10962,7 @@ class JobV1(AbstractModel):
|
|
|
10730
10962
|
self._OpenJobDefaultAlarm = params.get("OpenJobDefaultAlarm")
|
|
10731
10963
|
self._ProgressDesc = params.get("ProgressDesc")
|
|
10732
10964
|
self._ContinueAlarm = params.get("ContinueAlarm")
|
|
10965
|
+
self._RestartCount = params.get("RestartCount")
|
|
10733
10966
|
memeber_set = set(params.keys())
|
|
10734
10967
|
for name, value in vars(self).items():
|
|
10735
10968
|
property_name = name[1:]
|
|
@@ -15664,6 +15897,8 @@ class TreeJobSets(AbstractModel):
|
|
|
15664
15897
|
:param _DecodeSqlCode: sql
|
|
15665
15898
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
15666
15899
|
:type DecodeSqlCode: str
|
|
15900
|
+
:param _PublishedJobConfigId: 发布版本配置id
|
|
15901
|
+
:type PublishedJobConfigId: int
|
|
15667
15902
|
"""
|
|
15668
15903
|
self._JobId = None
|
|
15669
15904
|
self._Name = None
|
|
@@ -15674,6 +15909,7 @@ class TreeJobSets(AbstractModel):
|
|
|
15674
15909
|
self._RunningCpu = None
|
|
15675
15910
|
self._RunningMem = None
|
|
15676
15911
|
self._DecodeSqlCode = None
|
|
15912
|
+
self._PublishedJobConfigId = None
|
|
15677
15913
|
|
|
15678
15914
|
@property
|
|
15679
15915
|
def JobId(self):
|
|
@@ -15784,6 +16020,17 @@ class TreeJobSets(AbstractModel):
|
|
|
15784
16020
|
def DecodeSqlCode(self, DecodeSqlCode):
|
|
15785
16021
|
self._DecodeSqlCode = DecodeSqlCode
|
|
15786
16022
|
|
|
16023
|
+
@property
|
|
16024
|
+
def PublishedJobConfigId(self):
|
|
16025
|
+
r"""发布版本配置id
|
|
16026
|
+
:rtype: int
|
|
16027
|
+
"""
|
|
16028
|
+
return self._PublishedJobConfigId
|
|
16029
|
+
|
|
16030
|
+
@PublishedJobConfigId.setter
|
|
16031
|
+
def PublishedJobConfigId(self, PublishedJobConfigId):
|
|
16032
|
+
self._PublishedJobConfigId = PublishedJobConfigId
|
|
16033
|
+
|
|
15787
16034
|
|
|
15788
16035
|
def _deserialize(self, params):
|
|
15789
16036
|
self._JobId = params.get("JobId")
|
|
@@ -15795,6 +16042,7 @@ class TreeJobSets(AbstractModel):
|
|
|
15795
16042
|
self._RunningCpu = params.get("RunningCpu")
|
|
15796
16043
|
self._RunningMem = params.get("RunningMem")
|
|
15797
16044
|
self._DecodeSqlCode = params.get("DecodeSqlCode")
|
|
16045
|
+
self._PublishedJobConfigId = params.get("PublishedJobConfigId")
|
|
15798
16046
|
memeber_set = set(params.keys())
|
|
15799
16047
|
for name, value in vars(self).items():
|
|
15800
16048
|
property_name = name[1:]
|
|
@@ -233,6 +233,29 @@ class OceanusClient(AbstractClient):
|
|
|
233
233
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
234
234
|
|
|
235
235
|
|
|
236
|
+
def CreateVariable(self, request):
|
|
237
|
+
r"""创建变量
|
|
238
|
+
|
|
239
|
+
:param request: Request instance for CreateVariable.
|
|
240
|
+
:type request: :class:`tencentcloud.oceanus.v20190422.models.CreateVariableRequest`
|
|
241
|
+
:rtype: :class:`tencentcloud.oceanus.v20190422.models.CreateVariableResponse`
|
|
242
|
+
|
|
243
|
+
"""
|
|
244
|
+
try:
|
|
245
|
+
params = request._serialize()
|
|
246
|
+
headers = request.headers
|
|
247
|
+
body = self.call("CreateVariable", params, headers=headers)
|
|
248
|
+
response = json.loads(body)
|
|
249
|
+
model = models.CreateVariableResponse()
|
|
250
|
+
model._deserialize(response["Response"])
|
|
251
|
+
return model
|
|
252
|
+
except Exception as e:
|
|
253
|
+
if isinstance(e, TencentCloudSDKException):
|
|
254
|
+
raise
|
|
255
|
+
else:
|
|
256
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
257
|
+
|
|
258
|
+
|
|
236
259
|
def CreateWorkSpace(self, request):
|
|
237
260
|
r"""创建工作空间
|
|
238
261
|
|
|
@@ -739,6 +762,29 @@ class OceanusClient(AbstractClient):
|
|
|
739
762
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
740
763
|
|
|
741
764
|
|
|
765
|
+
def DescribeVariables(self, request):
|
|
766
|
+
r"""变量列表展示
|
|
767
|
+
|
|
768
|
+
:param request: Request instance for DescribeVariables.
|
|
769
|
+
:type request: :class:`tencentcloud.oceanus.v20190422.models.DescribeVariablesRequest`
|
|
770
|
+
:rtype: :class:`tencentcloud.oceanus.v20190422.models.DescribeVariablesResponse`
|
|
771
|
+
|
|
772
|
+
"""
|
|
773
|
+
try:
|
|
774
|
+
params = request._serialize()
|
|
775
|
+
headers = request.headers
|
|
776
|
+
body = self.call("DescribeVariables", params, headers=headers)
|
|
777
|
+
response = json.loads(body)
|
|
778
|
+
model = models.DescribeVariablesResponse()
|
|
779
|
+
model._deserialize(response["Response"])
|
|
780
|
+
return model
|
|
781
|
+
except Exception as e:
|
|
782
|
+
if isinstance(e, TencentCloudSDKException):
|
|
783
|
+
raise
|
|
784
|
+
else:
|
|
785
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
786
|
+
|
|
787
|
+
|
|
742
788
|
def DescribeWorkSpaces(self, request):
|
|
743
789
|
r"""授权工作空间列表
|
|
744
790
|
|
|
@@ -8423,12 +8423,15 @@ class ExtractDocBasicResponse(AbstractModel):
|
|
|
8423
8423
|
:type StructuralList: list of GroupInfo
|
|
8424
8424
|
:param _WordList: 还原文本信息
|
|
8425
8425
|
:type WordList: list of WordItem
|
|
8426
|
+
:param _SealInfos: 全部印章信息
|
|
8427
|
+
:type SealInfos: list of SealInfo
|
|
8426
8428
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8427
8429
|
:type RequestId: str
|
|
8428
8430
|
"""
|
|
8429
8431
|
self._Angle = None
|
|
8430
8432
|
self._StructuralList = None
|
|
8431
8433
|
self._WordList = None
|
|
8434
|
+
self._SealInfos = None
|
|
8432
8435
|
self._RequestId = None
|
|
8433
8436
|
|
|
8434
8437
|
@property
|
|
@@ -8465,6 +8468,17 @@ class ExtractDocBasicResponse(AbstractModel):
|
|
|
8465
8468
|
def WordList(self, WordList):
|
|
8466
8469
|
self._WordList = WordList
|
|
8467
8470
|
|
|
8471
|
+
@property
|
|
8472
|
+
def SealInfos(self):
|
|
8473
|
+
r"""全部印章信息
|
|
8474
|
+
:rtype: list of SealInfo
|
|
8475
|
+
"""
|
|
8476
|
+
return self._SealInfos
|
|
8477
|
+
|
|
8478
|
+
@SealInfos.setter
|
|
8479
|
+
def SealInfos(self, SealInfos):
|
|
8480
|
+
self._SealInfos = SealInfos
|
|
8481
|
+
|
|
8468
8482
|
@property
|
|
8469
8483
|
def RequestId(self):
|
|
8470
8484
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -8491,6 +8505,12 @@ class ExtractDocBasicResponse(AbstractModel):
|
|
|
8491
8505
|
obj = WordItem()
|
|
8492
8506
|
obj._deserialize(item)
|
|
8493
8507
|
self._WordList.append(obj)
|
|
8508
|
+
if params.get("SealInfos") is not None:
|
|
8509
|
+
self._SealInfos = []
|
|
8510
|
+
for item in params.get("SealInfos"):
|
|
8511
|
+
obj = SealInfo()
|
|
8512
|
+
obj._deserialize(item)
|
|
8513
|
+
self._SealInfos.append(obj)
|
|
8494
8514
|
self._RequestId = params.get("RequestId")
|
|
8495
8515
|
|
|
8496
8516
|
|
|
@@ -32,6 +32,12 @@ FAILEDOPERATION_BINDZONEVPCFAILED = 'FailedOperation.BindZoneVpcFailed'
|
|
|
32
32
|
# 记录创建失败。
|
|
33
33
|
FAILEDOPERATION_CREATERECORDFAILED = 'FailedOperation.CreateRecordFailed'
|
|
34
34
|
|
|
35
|
+
# 创建终端节点异常。
|
|
36
|
+
FAILEDOPERATION_CREATEVPCENDPOINTERROR = 'FailedOperation.CreateVpcEndPointError'
|
|
37
|
+
|
|
38
|
+
# 创建终端节点失败。
|
|
39
|
+
FAILEDOPERATION_CREATEVPCENDPOINTFAILED = 'FailedOperation.CreateVpcEndPointFailed'
|
|
40
|
+
|
|
35
41
|
# 私有域创建失败。
|
|
36
42
|
FAILEDOPERATION_CREATEZONEFAILED = 'FailedOperation.CreateZoneFailed'
|
|
37
43
|
|
|
@@ -44,9 +50,18 @@ FAILEDOPERATION_DELETELASTBINDVPCRECORDFAILED = 'FailedOperation.DeleteLastBindV
|
|
|
44
50
|
# 记录删除失败。
|
|
45
51
|
FAILEDOPERATION_DELETERECORDFAILED = 'FailedOperation.DeleteRecordFailed'
|
|
46
52
|
|
|
53
|
+
# 删除终端节点失败。
|
|
54
|
+
FAILEDOPERATION_DELETEVPCENDPOINTFAILED = 'FailedOperation.DeleteVpcEndPointFailed'
|
|
55
|
+
|
|
47
56
|
# 解析域删除失败。
|
|
48
57
|
FAILEDOPERATION_DELETEZONEFAILED = 'FailedOperation.DeleteZoneFailed'
|
|
49
58
|
|
|
59
|
+
# 获取临时凭证失败
|
|
60
|
+
FAILEDOPERATION_GETTMPCREDFAILED = 'FailedOperation.GetTmpCredFailed'
|
|
61
|
+
|
|
62
|
+
# 您的账号在同一区域内创建终端节点数量已达上限。
|
|
63
|
+
FAILEDOPERATION_INBOUNDOVERLIMIT = 'FailedOperation.InboundOverLimit'
|
|
64
|
+
|
|
50
65
|
# 记录修改失败。
|
|
51
66
|
FAILEDOPERATION_MODIFYRECORDFAILED = 'FailedOperation.ModifyRecordFailed'
|
|
52
67
|
|
|
@@ -68,6 +83,21 @@ INVALIDPARAMETER = 'InvalidParameter'
|
|
|
68
83
|
# 已经存在绑定的账号。
|
|
69
84
|
INVALIDPARAMETER_ACCOUNTEXIST = 'InvalidParameter.AccountExist'
|
|
70
85
|
|
|
86
|
+
# 终端节点已经绑定了转发规则。
|
|
87
|
+
INVALIDPARAMETER_ENDPOINTBINDFORWARDRULE = 'InvalidParameter.EndPointBindForwardRule'
|
|
88
|
+
|
|
89
|
+
# 终端节点不存在。
|
|
90
|
+
INVALIDPARAMETER_ENDPOINTNOTEXISTS = 'InvalidParameter.EndPointNotExists'
|
|
91
|
+
|
|
92
|
+
# 终端节点服务不存在。
|
|
93
|
+
INVALIDPARAMETER_ENDPOINTSERVICENOTEXIST = 'InvalidParameter.EndPointServiceNotExist'
|
|
94
|
+
|
|
95
|
+
# 转发规则不存在。
|
|
96
|
+
INVALIDPARAMETER_FORWARDRULENOTEXIST = 'InvalidParameter.ForwardRuleNotExist'
|
|
97
|
+
|
|
98
|
+
# 私有域已经绑定过转发规则。
|
|
99
|
+
INVALIDPARAMETER_FORWARDRULEZONEREPEATBIND = 'InvalidParameter.ForwardRuleZoneRepeatBind'
|
|
100
|
+
|
|
71
101
|
# 非法CIDR。
|
|
72
102
|
INVALIDPARAMETER_ILLEGALCIDR = 'InvalidParameter.IllegalCidr'
|
|
73
103
|
|
|
@@ -155,6 +185,9 @@ INVALIDPARAMETERVALUE_ILLEGALTTLVALUE = 'InvalidParameterValue.IllegalTTLValue'
|
|
|
155
185
|
# 内部保留域名,不支持创建。
|
|
156
186
|
INVALIDPARAMETERVALUE_RESERVEDDOMAIN = 'InvalidParameterValue.ReservedDomain'
|
|
157
187
|
|
|
188
|
+
# uin没有录入白名单,无权限访问
|
|
189
|
+
INVALIDPARAMETERVALUE_UINNOTINWHITELIST = 'InvalidParameterValue.UinNotInWhiteList'
|
|
190
|
+
|
|
158
191
|
# 超过配额限制。
|
|
159
192
|
LIMITEXCEEDED = 'LimitExceeded'
|
|
160
193
|
|
|
@@ -194,6 +227,9 @@ RESOURCENOTFOUND_SERVICENOTSUBSCRIBED = 'ResourceNotFound.ServiceNotSubscribed'
|
|
|
194
227
|
# 资源不可用。
|
|
195
228
|
RESOURCEUNAVAILABLE = 'ResourceUnavailable'
|
|
196
229
|
|
|
230
|
+
# 未添加平台账号到当前终端节点服务的白名单内。
|
|
231
|
+
RESOURCEUNAVAILABLE_SERVICEWHITELISTNOTADDED = 'ResourceUnavailable.ServiceWhiteListNotAdded'
|
|
232
|
+
|
|
197
233
|
# TLD增值包已过期。
|
|
198
234
|
RESOURCEUNAVAILABLE_TLDPACKAGEEXPIRED = 'ResourceUnavailable.TldPackageExpired'
|
|
199
235
|
|