tencentcloud-sdk-python-wedata 3.1.166__tar.gz → 3.1.178__tar.gz
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_sdk_python_wedata-3.1.166 → tencentcloud_sdk_python_wedata-3.1.178}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_wedata-3.1.166 → tencentcloud_sdk_python_wedata-3.1.178}/setup.py +1 -1
- {tencentcloud_sdk_python_wedata-3.1.166 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_wedata-3.1.166 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud/wedata/v20210820/models.py +275 -0
- {tencentcloud_sdk_python_wedata-3.1.166 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python_wedata-3.1.166 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud/wedata/v20210820/wedata_client_async.py +18 -0
- {tencentcloud_sdk_python_wedata-3.1.166 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud/wedata/v20250806/errorcodes.py +6 -0
- {tencentcloud_sdk_python_wedata-3.1.166 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud/wedata/v20250806/models.py +115 -302
- {tencentcloud_sdk_python_wedata-3.1.166 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud_sdk_python_wedata.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_wedata-3.1.178/tencentcloud_sdk_python_wedata.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_wedata-3.1.166/tencentcloud_sdk_python_wedata.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_wedata-3.1.166 → tencentcloud_sdk_python_wedata-3.1.178}/README.rst +0 -0
- {tencentcloud_sdk_python_wedata-3.1.166 → tencentcloud_sdk_python_wedata-3.1.178}/setup.cfg +0 -0
- {tencentcloud_sdk_python_wedata-3.1.166 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud/wedata/__init__.py +0 -0
- {tencentcloud_sdk_python_wedata-3.1.166 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud/wedata/v20210820/__init__.py +0 -0
- {tencentcloud_sdk_python_wedata-3.1.166 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud/wedata/v20210820/errorcodes.py +0 -0
- {tencentcloud_sdk_python_wedata-3.1.166 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud/wedata/v20250806/__init__.py +0 -0
- {tencentcloud_sdk_python_wedata-3.1.166 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud/wedata/v20250806/wedata_client.py +0 -0
- {tencentcloud_sdk_python_wedata-3.1.166 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud/wedata/v20250806/wedata_client_async.py +0 -0
- {tencentcloud_sdk_python_wedata-3.1.166 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud_sdk_python_wedata.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_wedata-3.1.166 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud_sdk_python_wedata.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_wedata-3.1.166 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud_sdk_python_wedata.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-wedata
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.178
|
|
4
4
|
Summary: Tencent Cloud Wedata SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.178
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-wedata',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.178,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Wedata SDK for Python',
|
|
@@ -9065,6 +9065,175 @@ class BizParams(AbstractModel):
|
|
|
9065
9065
|
|
|
9066
9066
|
|
|
9067
9067
|
|
|
9068
|
+
class BooleanResponse(AbstractModel):
|
|
9069
|
+
r"""BooleanResponse
|
|
9070
|
+
|
|
9071
|
+
"""
|
|
9072
|
+
|
|
9073
|
+
def __init__(self):
|
|
9074
|
+
r"""
|
|
9075
|
+
:param _Success: 是否成功
|
|
9076
|
+
:type Success: bool
|
|
9077
|
+
:param _Message: 失败返回提示信息
|
|
9078
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9079
|
+
:type Message: str
|
|
9080
|
+
:param _BaselineId: 基线Id
|
|
9081
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9082
|
+
:type BaselineId: int
|
|
9083
|
+
:param _Code: 错误码
|
|
9084
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9085
|
+
:type Code: str
|
|
9086
|
+
"""
|
|
9087
|
+
self._Success = None
|
|
9088
|
+
self._Message = None
|
|
9089
|
+
self._BaselineId = None
|
|
9090
|
+
self._Code = None
|
|
9091
|
+
|
|
9092
|
+
@property
|
|
9093
|
+
def Success(self):
|
|
9094
|
+
r"""是否成功
|
|
9095
|
+
:rtype: bool
|
|
9096
|
+
"""
|
|
9097
|
+
return self._Success
|
|
9098
|
+
|
|
9099
|
+
@Success.setter
|
|
9100
|
+
def Success(self, Success):
|
|
9101
|
+
self._Success = Success
|
|
9102
|
+
|
|
9103
|
+
@property
|
|
9104
|
+
def Message(self):
|
|
9105
|
+
r"""失败返回提示信息
|
|
9106
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9107
|
+
:rtype: str
|
|
9108
|
+
"""
|
|
9109
|
+
return self._Message
|
|
9110
|
+
|
|
9111
|
+
@Message.setter
|
|
9112
|
+
def Message(self, Message):
|
|
9113
|
+
self._Message = Message
|
|
9114
|
+
|
|
9115
|
+
@property
|
|
9116
|
+
def BaselineId(self):
|
|
9117
|
+
r"""基线Id
|
|
9118
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9119
|
+
:rtype: int
|
|
9120
|
+
"""
|
|
9121
|
+
return self._BaselineId
|
|
9122
|
+
|
|
9123
|
+
@BaselineId.setter
|
|
9124
|
+
def BaselineId(self, BaselineId):
|
|
9125
|
+
self._BaselineId = BaselineId
|
|
9126
|
+
|
|
9127
|
+
@property
|
|
9128
|
+
def Code(self):
|
|
9129
|
+
r"""错误码
|
|
9130
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9131
|
+
:rtype: str
|
|
9132
|
+
"""
|
|
9133
|
+
return self._Code
|
|
9134
|
+
|
|
9135
|
+
@Code.setter
|
|
9136
|
+
def Code(self, Code):
|
|
9137
|
+
self._Code = Code
|
|
9138
|
+
|
|
9139
|
+
|
|
9140
|
+
def _deserialize(self, params):
|
|
9141
|
+
self._Success = params.get("Success")
|
|
9142
|
+
self._Message = params.get("Message")
|
|
9143
|
+
self._BaselineId = params.get("BaselineId")
|
|
9144
|
+
self._Code = params.get("Code")
|
|
9145
|
+
memeber_set = set(params.keys())
|
|
9146
|
+
for name, value in vars(self).items():
|
|
9147
|
+
property_name = name[1:]
|
|
9148
|
+
if property_name in memeber_set:
|
|
9149
|
+
memeber_set.remove(property_name)
|
|
9150
|
+
if len(memeber_set) > 0:
|
|
9151
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9152
|
+
|
|
9153
|
+
|
|
9154
|
+
|
|
9155
|
+
class BundleResource(AbstractModel):
|
|
9156
|
+
r"""boundle 绑定/解绑操作资源信息
|
|
9157
|
+
|
|
9158
|
+
"""
|
|
9159
|
+
|
|
9160
|
+
def __init__(self):
|
|
9161
|
+
r"""
|
|
9162
|
+
:param _ResourceType: <p>资源类型,取值范围:</p>
|
|
9163
|
+
<ul>
|
|
9164
|
+
<li>WORKFLOW 工作流</li>
|
|
9165
|
+
<li>TASK 任务</li>
|
|
9166
|
+
<li>CODE_TEMPLATE 代码模版</li>
|
|
9167
|
+
<li>RESOURCE 资源信息</li>
|
|
9168
|
+
<li>EVENT 事件</li>
|
|
9169
|
+
<li>PROJECT_PARAM 项目参数</li>
|
|
9170
|
+
</ul>
|
|
9171
|
+
:type ResourceType: str
|
|
9172
|
+
:param _ResourceId: 资源id
|
|
9173
|
+
:type ResourceId: str
|
|
9174
|
+
:param _ResourceName: 资源名称
|
|
9175
|
+
:type ResourceName: str
|
|
9176
|
+
"""
|
|
9177
|
+
self._ResourceType = None
|
|
9178
|
+
self._ResourceId = None
|
|
9179
|
+
self._ResourceName = None
|
|
9180
|
+
|
|
9181
|
+
@property
|
|
9182
|
+
def ResourceType(self):
|
|
9183
|
+
r"""<p>资源类型,取值范围:</p>
|
|
9184
|
+
<ul>
|
|
9185
|
+
<li>WORKFLOW 工作流</li>
|
|
9186
|
+
<li>TASK 任务</li>
|
|
9187
|
+
<li>CODE_TEMPLATE 代码模版</li>
|
|
9188
|
+
<li>RESOURCE 资源信息</li>
|
|
9189
|
+
<li>EVENT 事件</li>
|
|
9190
|
+
<li>PROJECT_PARAM 项目参数</li>
|
|
9191
|
+
</ul>
|
|
9192
|
+
:rtype: str
|
|
9193
|
+
"""
|
|
9194
|
+
return self._ResourceType
|
|
9195
|
+
|
|
9196
|
+
@ResourceType.setter
|
|
9197
|
+
def ResourceType(self, ResourceType):
|
|
9198
|
+
self._ResourceType = ResourceType
|
|
9199
|
+
|
|
9200
|
+
@property
|
|
9201
|
+
def ResourceId(self):
|
|
9202
|
+
r"""资源id
|
|
9203
|
+
:rtype: str
|
|
9204
|
+
"""
|
|
9205
|
+
return self._ResourceId
|
|
9206
|
+
|
|
9207
|
+
@ResourceId.setter
|
|
9208
|
+
def ResourceId(self, ResourceId):
|
|
9209
|
+
self._ResourceId = ResourceId
|
|
9210
|
+
|
|
9211
|
+
@property
|
|
9212
|
+
def ResourceName(self):
|
|
9213
|
+
r"""资源名称
|
|
9214
|
+
:rtype: str
|
|
9215
|
+
"""
|
|
9216
|
+
return self._ResourceName
|
|
9217
|
+
|
|
9218
|
+
@ResourceName.setter
|
|
9219
|
+
def ResourceName(self, ResourceName):
|
|
9220
|
+
self._ResourceName = ResourceName
|
|
9221
|
+
|
|
9222
|
+
|
|
9223
|
+
def _deserialize(self, params):
|
|
9224
|
+
self._ResourceType = params.get("ResourceType")
|
|
9225
|
+
self._ResourceId = params.get("ResourceId")
|
|
9226
|
+
self._ResourceName = params.get("ResourceName")
|
|
9227
|
+
memeber_set = set(params.keys())
|
|
9228
|
+
for name, value in vars(self).items():
|
|
9229
|
+
property_name = name[1:]
|
|
9230
|
+
if property_name in memeber_set:
|
|
9231
|
+
memeber_set.remove(property_name)
|
|
9232
|
+
if len(memeber_set) > 0:
|
|
9233
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9234
|
+
|
|
9235
|
+
|
|
9236
|
+
|
|
9068
9237
|
class BytesSpeed(AbstractModel):
|
|
9069
9238
|
r"""实时任务同步速度 字节/s
|
|
9070
9239
|
|
|
@@ -120123,6 +120292,112 @@ class TriggerManualTasksResponse(AbstractModel):
|
|
|
120123
120292
|
self._RequestId = params.get("RequestId")
|
|
120124
120293
|
|
|
120125
120294
|
|
|
120295
|
+
class UnbindingResourceRequest(AbstractModel):
|
|
120296
|
+
r"""UnbindingResource请求参数结构体
|
|
120297
|
+
|
|
120298
|
+
"""
|
|
120299
|
+
|
|
120300
|
+
def __init__(self):
|
|
120301
|
+
r"""
|
|
120302
|
+
:param _ProjectId: 项目id
|
|
120303
|
+
:type ProjectId: str
|
|
120304
|
+
:param _ResourceList: 资源列表
|
|
120305
|
+
:type ResourceList: list of BundleResource
|
|
120306
|
+
"""
|
|
120307
|
+
self._ProjectId = None
|
|
120308
|
+
self._ResourceList = None
|
|
120309
|
+
|
|
120310
|
+
@property
|
|
120311
|
+
def ProjectId(self):
|
|
120312
|
+
r"""项目id
|
|
120313
|
+
:rtype: str
|
|
120314
|
+
"""
|
|
120315
|
+
return self._ProjectId
|
|
120316
|
+
|
|
120317
|
+
@ProjectId.setter
|
|
120318
|
+
def ProjectId(self, ProjectId):
|
|
120319
|
+
self._ProjectId = ProjectId
|
|
120320
|
+
|
|
120321
|
+
@property
|
|
120322
|
+
def ResourceList(self):
|
|
120323
|
+
r"""资源列表
|
|
120324
|
+
:rtype: list of BundleResource
|
|
120325
|
+
"""
|
|
120326
|
+
return self._ResourceList
|
|
120327
|
+
|
|
120328
|
+
@ResourceList.setter
|
|
120329
|
+
def ResourceList(self, ResourceList):
|
|
120330
|
+
self._ResourceList = ResourceList
|
|
120331
|
+
|
|
120332
|
+
|
|
120333
|
+
def _deserialize(self, params):
|
|
120334
|
+
self._ProjectId = params.get("ProjectId")
|
|
120335
|
+
if params.get("ResourceList") is not None:
|
|
120336
|
+
self._ResourceList = []
|
|
120337
|
+
for item in params.get("ResourceList"):
|
|
120338
|
+
obj = BundleResource()
|
|
120339
|
+
obj._deserialize(item)
|
|
120340
|
+
self._ResourceList.append(obj)
|
|
120341
|
+
memeber_set = set(params.keys())
|
|
120342
|
+
for name, value in vars(self).items():
|
|
120343
|
+
property_name = name[1:]
|
|
120344
|
+
if property_name in memeber_set:
|
|
120345
|
+
memeber_set.remove(property_name)
|
|
120346
|
+
if len(memeber_set) > 0:
|
|
120347
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
120348
|
+
|
|
120349
|
+
|
|
120350
|
+
|
|
120351
|
+
class UnbindingResourceResponse(AbstractModel):
|
|
120352
|
+
r"""UnbindingResource返回参数结构体
|
|
120353
|
+
|
|
120354
|
+
"""
|
|
120355
|
+
|
|
120356
|
+
def __init__(self):
|
|
120357
|
+
r"""
|
|
120358
|
+
:param _Data: 操作结果
|
|
120359
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
120360
|
+
:type Data: list of BooleanResponse
|
|
120361
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
120362
|
+
:type RequestId: str
|
|
120363
|
+
"""
|
|
120364
|
+
self._Data = None
|
|
120365
|
+
self._RequestId = None
|
|
120366
|
+
|
|
120367
|
+
@property
|
|
120368
|
+
def Data(self):
|
|
120369
|
+
r"""操作结果
|
|
120370
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
120371
|
+
:rtype: list of BooleanResponse
|
|
120372
|
+
"""
|
|
120373
|
+
return self._Data
|
|
120374
|
+
|
|
120375
|
+
@Data.setter
|
|
120376
|
+
def Data(self, Data):
|
|
120377
|
+
self._Data = Data
|
|
120378
|
+
|
|
120379
|
+
@property
|
|
120380
|
+
def RequestId(self):
|
|
120381
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
120382
|
+
:rtype: str
|
|
120383
|
+
"""
|
|
120384
|
+
return self._RequestId
|
|
120385
|
+
|
|
120386
|
+
@RequestId.setter
|
|
120387
|
+
def RequestId(self, RequestId):
|
|
120388
|
+
self._RequestId = RequestId
|
|
120389
|
+
|
|
120390
|
+
|
|
120391
|
+
def _deserialize(self, params):
|
|
120392
|
+
if params.get("Data") is not None:
|
|
120393
|
+
self._Data = []
|
|
120394
|
+
for item in params.get("Data"):
|
|
120395
|
+
obj = BooleanResponse()
|
|
120396
|
+
obj._deserialize(item)
|
|
120397
|
+
self._Data.append(obj)
|
|
120398
|
+
self._RequestId = params.get("RequestId")
|
|
120399
|
+
|
|
120400
|
+
|
|
120126
120401
|
class UnboundProjectExecutorResourceRequest(AbstractModel):
|
|
120127
120402
|
r"""UnboundProjectExecutorResource请求参数结构体
|
|
120128
120403
|
|
|
@@ -6916,6 +6916,29 @@ class WedataClient(AbstractClient):
|
|
|
6916
6916
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
6917
6917
|
|
|
6918
6918
|
|
|
6919
|
+
def UnbindingResource(self, request):
|
|
6920
|
+
r"""解绑bundle绑定的资源
|
|
6921
|
+
|
|
6922
|
+
:param request: Request instance for UnbindingResource.
|
|
6923
|
+
:type request: :class:`tencentcloud.wedata.v20210820.models.UnbindingResourceRequest`
|
|
6924
|
+
:rtype: :class:`tencentcloud.wedata.v20210820.models.UnbindingResourceResponse`
|
|
6925
|
+
|
|
6926
|
+
"""
|
|
6927
|
+
try:
|
|
6928
|
+
params = request._serialize()
|
|
6929
|
+
headers = request.headers
|
|
6930
|
+
body = self.call("UnbindingResource", params, headers=headers)
|
|
6931
|
+
response = json.loads(body)
|
|
6932
|
+
model = models.UnbindingResourceResponse()
|
|
6933
|
+
model._deserialize(response["Response"])
|
|
6934
|
+
return model
|
|
6935
|
+
except Exception as e:
|
|
6936
|
+
if isinstance(e, TencentCloudSDKException):
|
|
6937
|
+
raise
|
|
6938
|
+
else:
|
|
6939
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
6940
|
+
|
|
6941
|
+
|
|
6919
6942
|
def UnboundProjectExecutorResource(self, request):
|
|
6920
6943
|
r"""商业化版本:执行资源组/资源包解除绑定项目
|
|
6921
6944
|
|
|
@@ -5420,6 +5420,24 @@ class WedataClient(AbstractClient):
|
|
|
5420
5420
|
|
|
5421
5421
|
return await self.call_and_deserialize(**kwargs)
|
|
5422
5422
|
|
|
5423
|
+
async def UnbindingResource(
|
|
5424
|
+
self,
|
|
5425
|
+
request: models.UnbindingResourceRequest,
|
|
5426
|
+
opts: Dict = None,
|
|
5427
|
+
) -> models.UnbindingResourceResponse:
|
|
5428
|
+
"""
|
|
5429
|
+
解绑bundle绑定的资源
|
|
5430
|
+
"""
|
|
5431
|
+
|
|
5432
|
+
kwargs = {}
|
|
5433
|
+
kwargs["action"] = "UnbindingResource"
|
|
5434
|
+
kwargs["params"] = request._serialize()
|
|
5435
|
+
kwargs["resp_cls"] = models.UnbindingResourceResponse
|
|
5436
|
+
kwargs["headers"] = request.headers
|
|
5437
|
+
kwargs["opts"] = opts or {}
|
|
5438
|
+
|
|
5439
|
+
return await self.call_and_deserialize(**kwargs)
|
|
5440
|
+
|
|
5423
5441
|
async def UnboundProjectExecutorResource(
|
|
5424
5442
|
self,
|
|
5425
5443
|
request: models.UnboundProjectExecutorResourceRequest,
|
|
@@ -47,6 +47,9 @@ INVALIDPARAMETER_DUPLICATENAME = 'InvalidParameter.DuplicateName'
|
|
|
47
47
|
# 查询过滤条件参数错误。
|
|
48
48
|
INVALIDPARAMETER_INVALIDFILTERPARAMETER = 'InvalidParameter.InvalidFilterParameter'
|
|
49
49
|
|
|
50
|
+
# 任务状态不允许该操作。任务仍处于排队或运行中等非终态时无法获取查询结果。
|
|
51
|
+
INVALIDPARAMETER_INVALIDJOBSTATE = 'InvalidParameter.InvalidJobState'
|
|
52
|
+
|
|
50
53
|
# 非法参数
|
|
51
54
|
INVALIDPARAMETER_INVALIDPARAMSERROR = 'InvalidParameter.InvalidParamsError'
|
|
52
55
|
|
|
@@ -98,6 +101,9 @@ RESOURCEINUSE = 'ResourceInUse'
|
|
|
98
101
|
# 资源不存在。
|
|
99
102
|
RESOURCENOTFOUND = 'ResourceNotFound'
|
|
100
103
|
|
|
104
|
+
# 任务结果已过期。查询结果与日志默认保留7天,超期后由后台任务清理。
|
|
105
|
+
RESOURCENOTFOUND_RESULTEXPIRED = 'ResourceNotFound.ResultExpired'
|
|
106
|
+
|
|
101
107
|
# 未授权操作。
|
|
102
108
|
UNAUTHORIZEDOPERATION = 'UnauthorizedOperation'
|
|
103
109
|
|
|
@@ -4429,7 +4429,7 @@ class CreateDataSourceRequest(AbstractModel):
|
|
|
4429
4429
|
:type Name: str
|
|
4430
4430
|
:param _Type: <p>数据源类型:枚举值- MYSQL- TENCENT_MYSQL- POSTGRE- ORACLE- SQLSERVER- FTP- HIVE- HUDI- HDFS- ICEBERG- KAFKA- DTS_KAFKA- HBASE- SPARK- TBASE- DB2- DM- GAUSSDB- GBASE- IMPALA- ES- TENCENT_ES- GREENPLUM- SAP_HANA- SFTP- OCEANBASE- CLICKHOUSE- KUDU- VERTICA- REDIS- COS- DLC- DORIS- CKAFKA- S3_DATAINSIGHT- TDSQL- TDSQL_MYSQL- MONGODB- TENCENT_MONGODB- REST_API- TiDB- StarRocks- Trino- Kyuubi- TCHOUSE_X- TCHOUSE_P- TCHOUSE_C- TCHOUSE_D- INFLUXDB- BIG_QUERY- SSH- BLOB- TDSQL_POSTGRE- GDB- TDENGINE- TDSQLC- FileSystem- TCLake- TDSQL_BOUNDLESS</p>
|
|
4431
4431
|
:type Type: str
|
|
4432
|
-
:param _ProdConProperties: <p>数据源的配置信息,以JSON KV存储,根据每个数据源类型不同,而KV存储信息不同</p><blockquote><p>deployType:<br>CONNSTR_PUBLICDB(公网实例)<br>CONNSTR_CVMDB(自建实例)<br>INSTANCE(云实例)</p></blockquote><p><pre><code>mysql: 自建实例{ "deployType": "CONNSTR_CVMDB", "url": "jdbc:mysql
|
|
4432
|
+
:param _ProdConProperties: <p>数据源的配置信息,以JSON KV存储,根据每个数据源类型不同,而KV存储信息不同</p><blockquote><p>deployType:<br>CONNSTR_PUBLICDB(公网实例)<br>CONNSTR_CVMDB(自建实例)<br>INSTANCE(云实例)</p></blockquote><p><pre><code>mysql: 自建实例{ "deployType": "CONNSTR_CVMDB", "url": "jdbc:mysql://<host>:<port>/<database>", "username": "<username>", "password": "<password>", "region": "ap-shanghai", "vpcId": "<vpcId>", "type": "MYSQL"}mysql: 云实例{ "instanceid": "<instanceId>", "db": "<database>", "region": "ap-shanghai", "username": "<username>", "password": "<password>", "deployType": "INSTANCE", "type": "TENCENT_MYSQL"}sql_server:{ "deployType": "CONNSTR_PUBLICDB", "url": "jdbc:sqlserver://<host>:<port>;DatabaseName=<database>", "username": "<username>", "password": "<password>", "type": "SQLSERVER"}redis: redisType: -NO_ACCOUT(免账号) -SELF_ACCOUNT(自定义账号){ "deployType": "CONNSTR_PUBLICDB", "username": "<username>", "password": "<password>", "ip": "<host>", "port": "<port>", "redisType": "NO_ACCOUT", "type": "REDIS"}oracle:{ "deployType": "CONNSTR_CVMDB", "url": "jdbc:oracle:thin:@<host>:<port>:<sid>", "username": "<username>", "password": "<password>", "region": "ap-shanghai", "vpcId": "<vpcId>", "type": "ORACLE"}mongodb: advanceParams(自定义参数,会拼接至url后){ "advanceParams": [ { "key": "authSource", "value": "admin" } ], "db": "<database>", "deployType": "CONNSTR_PUBLICDB", "username": "<username>", "password": "<password>", "type": "MONGODB", "host": "<host>:<port>"}postgresql:{ "deployType": "CONNSTR_PUBLICDB", "url": "jdbc:postgresql://<host>:<port>/<database>", "username": "<username>", "password": "<password>", "type": "POSTGRE"}kafka: authType: - sasl - jaas - sasl_plaintext - sasl_ssl - GSSAPI ssl: -PLAIN -GSSAPI{ "deployType": "CONNSTR_PUBLICDB", "host": "<host>:<port>", "ssl": "GSSAPI", "authType": "sasl", "type": "KAFKA", "principal": "<principal>", "serviceName": "kafka"}cos:{ "region": "ap-shanghai", "deployType": "INSTANCE", "secretId": "<secretId>", "secretKey": "<secretKey>", "bucket": "<bucket>", "type": "COS"}</code></pre></p>
|
|
4433
4433
|
:type ProdConProperties: str
|
|
4434
4434
|
:param _DevConProperties: <p>开发环境数据源配置信息,若项目为标准模式,则此字段必填</p>
|
|
4435
4435
|
:type DevConProperties: str
|
|
@@ -4487,7 +4487,7 @@ class CreateDataSourceRequest(AbstractModel):
|
|
|
4487
4487
|
|
|
4488
4488
|
@property
|
|
4489
4489
|
def ProdConProperties(self):
|
|
4490
|
-
r"""<p>数据源的配置信息,以JSON KV存储,根据每个数据源类型不同,而KV存储信息不同</p><blockquote><p>deployType:<br>CONNSTR_PUBLICDB(公网实例)<br>CONNSTR_CVMDB(自建实例)<br>INSTANCE(云实例)</p></blockquote><p><pre><code>mysql: 自建实例{ "deployType": "CONNSTR_CVMDB", "url": "jdbc:mysql
|
|
4490
|
+
r"""<p>数据源的配置信息,以JSON KV存储,根据每个数据源类型不同,而KV存储信息不同</p><blockquote><p>deployType:<br>CONNSTR_PUBLICDB(公网实例)<br>CONNSTR_CVMDB(自建实例)<br>INSTANCE(云实例)</p></blockquote><p><pre><code>mysql: 自建实例{ "deployType": "CONNSTR_CVMDB", "url": "jdbc:mysql://<host>:<port>/<database>", "username": "<username>", "password": "<password>", "region": "ap-shanghai", "vpcId": "<vpcId>", "type": "MYSQL"}mysql: 云实例{ "instanceid": "<instanceId>", "db": "<database>", "region": "ap-shanghai", "username": "<username>", "password": "<password>", "deployType": "INSTANCE", "type": "TENCENT_MYSQL"}sql_server:{ "deployType": "CONNSTR_PUBLICDB", "url": "jdbc:sqlserver://<host>:<port>;DatabaseName=<database>", "username": "<username>", "password": "<password>", "type": "SQLSERVER"}redis: redisType: -NO_ACCOUT(免账号) -SELF_ACCOUNT(自定义账号){ "deployType": "CONNSTR_PUBLICDB", "username": "<username>", "password": "<password>", "ip": "<host>", "port": "<port>", "redisType": "NO_ACCOUT", "type": "REDIS"}oracle:{ "deployType": "CONNSTR_CVMDB", "url": "jdbc:oracle:thin:@<host>:<port>:<sid>", "username": "<username>", "password": "<password>", "region": "ap-shanghai", "vpcId": "<vpcId>", "type": "ORACLE"}mongodb: advanceParams(自定义参数,会拼接至url后){ "advanceParams": [ { "key": "authSource", "value": "admin" } ], "db": "<database>", "deployType": "CONNSTR_PUBLICDB", "username": "<username>", "password": "<password>", "type": "MONGODB", "host": "<host>:<port>"}postgresql:{ "deployType": "CONNSTR_PUBLICDB", "url": "jdbc:postgresql://<host>:<port>/<database>", "username": "<username>", "password": "<password>", "type": "POSTGRE"}kafka: authType: - sasl - jaas - sasl_plaintext - sasl_ssl - GSSAPI ssl: -PLAIN -GSSAPI{ "deployType": "CONNSTR_PUBLICDB", "host": "<host>:<port>", "ssl": "GSSAPI", "authType": "sasl", "type": "KAFKA", "principal": "<principal>", "serviceName": "kafka"}cos:{ "region": "ap-shanghai", "deployType": "INSTANCE", "secretId": "<secretId>", "secretKey": "<secretKey>", "bucket": "<bucket>", "type": "COS"}</code></pre></p>
|
|
4491
4491
|
:rtype: str
|
|
4492
4492
|
"""
|
|
4493
4493
|
return self._ProdConProperties
|
|
@@ -20276,6 +20276,9 @@ class JobExecutionDto(AbstractModel):
|
|
|
20276
20276
|
:param _ResultPreviewFilePath: 预览结果路径
|
|
20277
20277
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
20278
20278
|
:type ResultPreviewFilePath: str
|
|
20279
|
+
:param _SchemaInfoFilePath: 结果集schema信息文件cos路径
|
|
20280
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20281
|
+
:type SchemaInfoFilePath: str
|
|
20279
20282
|
:param _ResultTotalCount: 任务执行的结果总行数
|
|
20280
20283
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
20281
20284
|
:type ResultTotalCount: int
|
|
@@ -20303,6 +20306,9 @@ class JobExecutionDto(AbstractModel):
|
|
|
20303
20306
|
:param _ScriptContentTruncate: 是否需要截断脚本内容
|
|
20304
20307
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
20305
20308
|
:type ScriptContentTruncate: bool
|
|
20309
|
+
:param _CollectedPreviewResult: 预览结果集是否收集完成
|
|
20310
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20311
|
+
:type CollectedPreviewResult: bool
|
|
20306
20312
|
"""
|
|
20307
20313
|
self._JobId = None
|
|
20308
20314
|
self._JobExecutionId = None
|
|
@@ -20314,6 +20320,7 @@ class JobExecutionDto(AbstractModel):
|
|
|
20314
20320
|
self._LogFilePath = None
|
|
20315
20321
|
self._ResultFilePath = None
|
|
20316
20322
|
self._ResultPreviewFilePath = None
|
|
20323
|
+
self._SchemaInfoFilePath = None
|
|
20317
20324
|
self._ResultTotalCount = None
|
|
20318
20325
|
self._UpdateTime = None
|
|
20319
20326
|
self._EndTime = None
|
|
@@ -20323,6 +20330,7 @@ class JobExecutionDto(AbstractModel):
|
|
|
20323
20330
|
self._ResultEffectCount = None
|
|
20324
20331
|
self._CollectingTotalResult = None
|
|
20325
20332
|
self._ScriptContentTruncate = None
|
|
20333
|
+
self._CollectedPreviewResult = None
|
|
20326
20334
|
|
|
20327
20335
|
@property
|
|
20328
20336
|
def JobId(self):
|
|
@@ -20444,6 +20452,18 @@ class JobExecutionDto(AbstractModel):
|
|
|
20444
20452
|
def ResultPreviewFilePath(self, ResultPreviewFilePath):
|
|
20445
20453
|
self._ResultPreviewFilePath = ResultPreviewFilePath
|
|
20446
20454
|
|
|
20455
|
+
@property
|
|
20456
|
+
def SchemaInfoFilePath(self):
|
|
20457
|
+
r"""结果集schema信息文件cos路径
|
|
20458
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20459
|
+
:rtype: str
|
|
20460
|
+
"""
|
|
20461
|
+
return self._SchemaInfoFilePath
|
|
20462
|
+
|
|
20463
|
+
@SchemaInfoFilePath.setter
|
|
20464
|
+
def SchemaInfoFilePath(self, SchemaInfoFilePath):
|
|
20465
|
+
self._SchemaInfoFilePath = SchemaInfoFilePath
|
|
20466
|
+
|
|
20447
20467
|
@property
|
|
20448
20468
|
def ResultTotalCount(self):
|
|
20449
20469
|
r"""任务执行的结果总行数
|
|
@@ -20552,6 +20572,18 @@ class JobExecutionDto(AbstractModel):
|
|
|
20552
20572
|
def ScriptContentTruncate(self, ScriptContentTruncate):
|
|
20553
20573
|
self._ScriptContentTruncate = ScriptContentTruncate
|
|
20554
20574
|
|
|
20575
|
+
@property
|
|
20576
|
+
def CollectedPreviewResult(self):
|
|
20577
|
+
r"""预览结果集是否收集完成
|
|
20578
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20579
|
+
:rtype: bool
|
|
20580
|
+
"""
|
|
20581
|
+
return self._CollectedPreviewResult
|
|
20582
|
+
|
|
20583
|
+
@CollectedPreviewResult.setter
|
|
20584
|
+
def CollectedPreviewResult(self, CollectedPreviewResult):
|
|
20585
|
+
self._CollectedPreviewResult = CollectedPreviewResult
|
|
20586
|
+
|
|
20555
20587
|
|
|
20556
20588
|
def _deserialize(self, params):
|
|
20557
20589
|
self._JobId = params.get("JobId")
|
|
@@ -20564,6 +20596,7 @@ class JobExecutionDto(AbstractModel):
|
|
|
20564
20596
|
self._LogFilePath = params.get("LogFilePath")
|
|
20565
20597
|
self._ResultFilePath = params.get("ResultFilePath")
|
|
20566
20598
|
self._ResultPreviewFilePath = params.get("ResultPreviewFilePath")
|
|
20599
|
+
self._SchemaInfoFilePath = params.get("SchemaInfoFilePath")
|
|
20567
20600
|
self._ResultTotalCount = params.get("ResultTotalCount")
|
|
20568
20601
|
self._UpdateTime = params.get("UpdateTime")
|
|
20569
20602
|
self._EndTime = params.get("EndTime")
|
|
@@ -20573,6 +20606,7 @@ class JobExecutionDto(AbstractModel):
|
|
|
20573
20606
|
self._ResultEffectCount = params.get("ResultEffectCount")
|
|
20574
20607
|
self._CollectingTotalResult = params.get("CollectingTotalResult")
|
|
20575
20608
|
self._ScriptContentTruncate = params.get("ScriptContentTruncate")
|
|
20609
|
+
self._CollectedPreviewResult = params.get("CollectedPreviewResult")
|
|
20576
20610
|
memeber_set = set(params.keys())
|
|
20577
20611
|
for name, value in vars(self).items():
|
|
20578
20612
|
property_name = name[1:]
|
|
@@ -25062,37 +25096,31 @@ class ListOpsWorkflowsRequest(AbstractModel):
|
|
|
25062
25096
|
|
|
25063
25097
|
def __init__(self):
|
|
25064
25098
|
r"""
|
|
25065
|
-
:param _ProjectId:
|
|
25099
|
+
:param _ProjectId: <p>项目Id</p>
|
|
25066
25100
|
:type ProjectId: str
|
|
25067
|
-
:param _PageNumber:
|
|
25101
|
+
:param _PageNumber: <p>分页页码</p>
|
|
25068
25102
|
:type PageNumber: int
|
|
25069
|
-
:param _PageSize:
|
|
25103
|
+
:param _PageSize: <p>分页大小</p>
|
|
25070
25104
|
:type PageSize: int
|
|
25071
|
-
:param _FolderId:
|
|
25105
|
+
:param _FolderId: <p>文件Id</p>
|
|
25072
25106
|
:type FolderId: str
|
|
25073
|
-
:param _Status:
|
|
25074
|
-
* ALL_RUNNING : 全部调度中
|
|
25075
|
-
* ALL_FREEZED : 全部已暂停
|
|
25076
|
-
* ALL_STOPPTED : 全部已下线
|
|
25077
|
-
* PART_RUNNING : 部分调度中
|
|
25078
|
-
* ALL_NO_RUNNING : 全部未调度
|
|
25079
|
-
* ALL_INVALID : 全部已失效
|
|
25107
|
+
:param _Status: <p>工作流状态筛选</p><ul><li>ALL_RUNNING : 全部调度中</li><li>ALL_FREEZED : 全部已暂停</li><li>ALL_STOPPTED : 全部已下线</li><li>PART_RUNNING : 部分调度中</li><li>ALL_NO_RUNNING : 全部未调度</li><li>ALL_INVALID : 全部已失效</li></ul>
|
|
25080
25108
|
:type Status: str
|
|
25081
|
-
:param _OwnerUin:
|
|
25109
|
+
:param _OwnerUin: <p>负责人Id</p>
|
|
25082
25110
|
:type OwnerUin: str
|
|
25083
|
-
:param _WorkflowType:
|
|
25111
|
+
:param _WorkflowType: <p>工作流类型筛选, 支持值 Cycle或Manual. 默认只查询 Cycle</p>
|
|
25084
25112
|
:type WorkflowType: str
|
|
25085
|
-
:param _KeyWord:
|
|
25113
|
+
:param _KeyWord: <p>工作流关键词过滤,支持工作流 Id/name 模糊匹配</p>
|
|
25086
25114
|
:type KeyWord: str
|
|
25087
|
-
:param _SortItem:
|
|
25115
|
+
:param _SortItem: <p>排序项,可选CreateTime、TaskCount</p>
|
|
25088
25116
|
:type SortItem: str
|
|
25089
|
-
:param _SortType:
|
|
25117
|
+
:param _SortType: <p>排序方式,DESC或ASC, 大写</p>
|
|
25090
25118
|
:type SortType: str
|
|
25091
|
-
:param _CreateUserUin:
|
|
25119
|
+
:param _CreateUserUin: <p>创建人Id</p>
|
|
25092
25120
|
:type CreateUserUin: str
|
|
25093
|
-
:param _ModifyTime:
|
|
25121
|
+
:param _ModifyTime: <p>更新时间,格式yyyy-MM-dd HH:mm:ss</p>
|
|
25094
25122
|
:type ModifyTime: str
|
|
25095
|
-
:param _CreateTime:
|
|
25123
|
+
:param _CreateTime: <p>创建时间,格式yyyy-MM-dd HH:mm:ss</p>
|
|
25096
25124
|
:type CreateTime: str
|
|
25097
25125
|
"""
|
|
25098
25126
|
self._ProjectId = None
|
|
@@ -25111,7 +25139,7 @@ class ListOpsWorkflowsRequest(AbstractModel):
|
|
|
25111
25139
|
|
|
25112
25140
|
@property
|
|
25113
25141
|
def ProjectId(self):
|
|
25114
|
-
r"""
|
|
25142
|
+
r"""<p>项目Id</p>
|
|
25115
25143
|
:rtype: str
|
|
25116
25144
|
"""
|
|
25117
25145
|
return self._ProjectId
|
|
@@ -25122,7 +25150,7 @@ class ListOpsWorkflowsRequest(AbstractModel):
|
|
|
25122
25150
|
|
|
25123
25151
|
@property
|
|
25124
25152
|
def PageNumber(self):
|
|
25125
|
-
r"""
|
|
25153
|
+
r"""<p>分页页码</p>
|
|
25126
25154
|
:rtype: int
|
|
25127
25155
|
"""
|
|
25128
25156
|
return self._PageNumber
|
|
@@ -25133,7 +25161,7 @@ class ListOpsWorkflowsRequest(AbstractModel):
|
|
|
25133
25161
|
|
|
25134
25162
|
@property
|
|
25135
25163
|
def PageSize(self):
|
|
25136
|
-
r"""
|
|
25164
|
+
r"""<p>分页大小</p>
|
|
25137
25165
|
:rtype: int
|
|
25138
25166
|
"""
|
|
25139
25167
|
return self._PageSize
|
|
@@ -25144,7 +25172,7 @@ class ListOpsWorkflowsRequest(AbstractModel):
|
|
|
25144
25172
|
|
|
25145
25173
|
@property
|
|
25146
25174
|
def FolderId(self):
|
|
25147
|
-
r"""
|
|
25175
|
+
r"""<p>文件Id</p>
|
|
25148
25176
|
:rtype: str
|
|
25149
25177
|
"""
|
|
25150
25178
|
return self._FolderId
|
|
@@ -25155,13 +25183,7 @@ class ListOpsWorkflowsRequest(AbstractModel):
|
|
|
25155
25183
|
|
|
25156
25184
|
@property
|
|
25157
25185
|
def Status(self):
|
|
25158
|
-
r"""
|
|
25159
|
-
* ALL_RUNNING : 全部调度中
|
|
25160
|
-
* ALL_FREEZED : 全部已暂停
|
|
25161
|
-
* ALL_STOPPTED : 全部已下线
|
|
25162
|
-
* PART_RUNNING : 部分调度中
|
|
25163
|
-
* ALL_NO_RUNNING : 全部未调度
|
|
25164
|
-
* ALL_INVALID : 全部已失效
|
|
25186
|
+
r"""<p>工作流状态筛选</p><ul><li>ALL_RUNNING : 全部调度中</li><li>ALL_FREEZED : 全部已暂停</li><li>ALL_STOPPTED : 全部已下线</li><li>PART_RUNNING : 部分调度中</li><li>ALL_NO_RUNNING : 全部未调度</li><li>ALL_INVALID : 全部已失效</li></ul>
|
|
25165
25187
|
:rtype: str
|
|
25166
25188
|
"""
|
|
25167
25189
|
return self._Status
|
|
@@ -25172,7 +25194,7 @@ class ListOpsWorkflowsRequest(AbstractModel):
|
|
|
25172
25194
|
|
|
25173
25195
|
@property
|
|
25174
25196
|
def OwnerUin(self):
|
|
25175
|
-
r"""
|
|
25197
|
+
r"""<p>负责人Id</p>
|
|
25176
25198
|
:rtype: str
|
|
25177
25199
|
"""
|
|
25178
25200
|
return self._OwnerUin
|
|
@@ -25183,7 +25205,7 @@ class ListOpsWorkflowsRequest(AbstractModel):
|
|
|
25183
25205
|
|
|
25184
25206
|
@property
|
|
25185
25207
|
def WorkflowType(self):
|
|
25186
|
-
r"""
|
|
25208
|
+
r"""<p>工作流类型筛选, 支持值 Cycle或Manual. 默认只查询 Cycle</p>
|
|
25187
25209
|
:rtype: str
|
|
25188
25210
|
"""
|
|
25189
25211
|
return self._WorkflowType
|
|
@@ -25194,7 +25216,7 @@ class ListOpsWorkflowsRequest(AbstractModel):
|
|
|
25194
25216
|
|
|
25195
25217
|
@property
|
|
25196
25218
|
def KeyWord(self):
|
|
25197
|
-
r"""
|
|
25219
|
+
r"""<p>工作流关键词过滤,支持工作流 Id/name 模糊匹配</p>
|
|
25198
25220
|
:rtype: str
|
|
25199
25221
|
"""
|
|
25200
25222
|
return self._KeyWord
|
|
@@ -25205,7 +25227,7 @@ class ListOpsWorkflowsRequest(AbstractModel):
|
|
|
25205
25227
|
|
|
25206
25228
|
@property
|
|
25207
25229
|
def SortItem(self):
|
|
25208
|
-
r"""
|
|
25230
|
+
r"""<p>排序项,可选CreateTime、TaskCount</p>
|
|
25209
25231
|
:rtype: str
|
|
25210
25232
|
"""
|
|
25211
25233
|
return self._SortItem
|
|
@@ -25216,7 +25238,7 @@ class ListOpsWorkflowsRequest(AbstractModel):
|
|
|
25216
25238
|
|
|
25217
25239
|
@property
|
|
25218
25240
|
def SortType(self):
|
|
25219
|
-
r"""
|
|
25241
|
+
r"""<p>排序方式,DESC或ASC, 大写</p>
|
|
25220
25242
|
:rtype: str
|
|
25221
25243
|
"""
|
|
25222
25244
|
return self._SortType
|
|
@@ -25227,7 +25249,7 @@ class ListOpsWorkflowsRequest(AbstractModel):
|
|
|
25227
25249
|
|
|
25228
25250
|
@property
|
|
25229
25251
|
def CreateUserUin(self):
|
|
25230
|
-
r"""
|
|
25252
|
+
r"""<p>创建人Id</p>
|
|
25231
25253
|
:rtype: str
|
|
25232
25254
|
"""
|
|
25233
25255
|
return self._CreateUserUin
|
|
@@ -25238,7 +25260,7 @@ class ListOpsWorkflowsRequest(AbstractModel):
|
|
|
25238
25260
|
|
|
25239
25261
|
@property
|
|
25240
25262
|
def ModifyTime(self):
|
|
25241
|
-
r"""
|
|
25263
|
+
r"""<p>更新时间,格式yyyy-MM-dd HH:mm:ss</p>
|
|
25242
25264
|
:rtype: str
|
|
25243
25265
|
"""
|
|
25244
25266
|
return self._ModifyTime
|
|
@@ -25249,7 +25271,7 @@ class ListOpsWorkflowsRequest(AbstractModel):
|
|
|
25249
25271
|
|
|
25250
25272
|
@property
|
|
25251
25273
|
def CreateTime(self):
|
|
25252
|
-
r"""
|
|
25274
|
+
r"""<p>创建时间,格式yyyy-MM-dd HH:mm:ss</p>
|
|
25253
25275
|
:rtype: str
|
|
25254
25276
|
"""
|
|
25255
25277
|
return self._CreateTime
|
|
@@ -25290,7 +25312,7 @@ class ListOpsWorkflowsResponse(AbstractModel):
|
|
|
25290
25312
|
|
|
25291
25313
|
def __init__(self):
|
|
25292
25314
|
r"""
|
|
25293
|
-
:param _Data:
|
|
25315
|
+
:param _Data: <p>工作流列表</p>
|
|
25294
25316
|
:type Data: :class:`tencentcloud.wedata.v20250806.models.OpsWorkflows`
|
|
25295
25317
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
25296
25318
|
:type RequestId: str
|
|
@@ -25300,7 +25322,7 @@ class ListOpsWorkflowsResponse(AbstractModel):
|
|
|
25300
25322
|
|
|
25301
25323
|
@property
|
|
25302
25324
|
def Data(self):
|
|
25303
|
-
r"""
|
|
25325
|
+
r"""<p>工作流列表</p>
|
|
25304
25326
|
:rtype: :class:`tencentcloud.wedata.v20250806.models.OpsWorkflows`
|
|
25305
25327
|
"""
|
|
25306
25328
|
return self._Data
|
|
@@ -46960,23 +46982,37 @@ class RunSQLScriptRequest(AbstractModel):
|
|
|
46960
46982
|
|
|
46961
46983
|
def __init__(self):
|
|
46962
46984
|
r"""
|
|
46963
|
-
:param _ScriptId: 脚本id
|
|
46964
|
-
:type ScriptId: str
|
|
46965
46985
|
:param _ProjectId: 项目ID
|
|
46966
46986
|
:type ProjectId: str
|
|
46967
|
-
:param
|
|
46987
|
+
:param _ScriptId: 脚本id。如果不填则需要传入 ScriptConfig、ScriptContent,此时为免脚本临时运行模式,服务端不保存脚本
|
|
46988
|
+
:type ScriptId: str
|
|
46989
|
+
:param _ScriptConfig: 脚本配置。免脚本临时运行模式(未传 ScriptId)下必填,其中 DatasourceId 必填、ExecutorGroupId 选填(缺省时使用项目管理-数据分析配置中的执行资源组);传入 ScriptId 时本字段被忽略,配置取自已保存的脚本
|
|
46990
|
+
:type ScriptConfig: :class:`tencentcloud.wedata.v20250806.models.SQLScriptConfig`
|
|
46991
|
+
:param _ScriptContent: 脚本内容,支持传递代码原文或者 Base64 编码,服务端自动识别。传 ScriptId 时不传则执行已保存的全量脚本内容;免脚本临时运行模式下必填。注意:若原文恰好由 Base64 字符集组成且长度为 4 的倍数(如 descTBLS),会被识别为已编码,此类内容请显式 Base64 编码后传入
|
|
46968
46992
|
:type ScriptContent: str
|
|
46969
|
-
:param _Params:
|
|
46993
|
+
:param _Params: 高级运行参数,支持传递 JSON 格式原文或者 Base64 编码,服务端自动识别。示例:{"executorNum":1} 或 eyJleGVjdXRvck51bSI6MX0=
|
|
46970
46994
|
:type Params: str
|
|
46971
46995
|
"""
|
|
46972
|
-
self._ScriptId = None
|
|
46973
46996
|
self._ProjectId = None
|
|
46997
|
+
self._ScriptId = None
|
|
46998
|
+
self._ScriptConfig = None
|
|
46974
46999
|
self._ScriptContent = None
|
|
46975
47000
|
self._Params = None
|
|
46976
47001
|
|
|
47002
|
+
@property
|
|
47003
|
+
def ProjectId(self):
|
|
47004
|
+
r"""项目ID
|
|
47005
|
+
:rtype: str
|
|
47006
|
+
"""
|
|
47007
|
+
return self._ProjectId
|
|
47008
|
+
|
|
47009
|
+
@ProjectId.setter
|
|
47010
|
+
def ProjectId(self, ProjectId):
|
|
47011
|
+
self._ProjectId = ProjectId
|
|
47012
|
+
|
|
46977
47013
|
@property
|
|
46978
47014
|
def ScriptId(self):
|
|
46979
|
-
r"""脚本id
|
|
47015
|
+
r"""脚本id。如果不填则需要传入 ScriptConfig、ScriptContent,此时为免脚本临时运行模式,服务端不保存脚本
|
|
46980
47016
|
:rtype: str
|
|
46981
47017
|
"""
|
|
46982
47018
|
return self._ScriptId
|
|
@@ -46986,19 +47022,19 @@ class RunSQLScriptRequest(AbstractModel):
|
|
|
46986
47022
|
self._ScriptId = ScriptId
|
|
46987
47023
|
|
|
46988
47024
|
@property
|
|
46989
|
-
def
|
|
46990
|
-
r"""
|
|
46991
|
-
:rtype:
|
|
47025
|
+
def ScriptConfig(self):
|
|
47026
|
+
r"""脚本配置。免脚本临时运行模式(未传 ScriptId)下必填,其中 DatasourceId 必填、ExecutorGroupId 选填(缺省时使用项目管理-数据分析配置中的执行资源组);传入 ScriptId 时本字段被忽略,配置取自已保存的脚本
|
|
47027
|
+
:rtype: :class:`tencentcloud.wedata.v20250806.models.SQLScriptConfig`
|
|
46992
47028
|
"""
|
|
46993
|
-
return self.
|
|
47029
|
+
return self._ScriptConfig
|
|
46994
47030
|
|
|
46995
|
-
@
|
|
46996
|
-
def
|
|
46997
|
-
self.
|
|
47031
|
+
@ScriptConfig.setter
|
|
47032
|
+
def ScriptConfig(self, ScriptConfig):
|
|
47033
|
+
self._ScriptConfig = ScriptConfig
|
|
46998
47034
|
|
|
46999
47035
|
@property
|
|
47000
47036
|
def ScriptContent(self):
|
|
47001
|
-
r"""
|
|
47037
|
+
r"""脚本内容,支持传递代码原文或者 Base64 编码,服务端自动识别。传 ScriptId 时不传则执行已保存的全量脚本内容;免脚本临时运行模式下必填。注意:若原文恰好由 Base64 字符集组成且长度为 4 的倍数(如 descTBLS),会被识别为已编码,此类内容请显式 Base64 编码后传入
|
|
47002
47038
|
:rtype: str
|
|
47003
47039
|
"""
|
|
47004
47040
|
return self._ScriptContent
|
|
@@ -47009,7 +47045,7 @@ class RunSQLScriptRequest(AbstractModel):
|
|
|
47009
47045
|
|
|
47010
47046
|
@property
|
|
47011
47047
|
def Params(self):
|
|
47012
|
-
r"""
|
|
47048
|
+
r"""高级运行参数,支持传递 JSON 格式原文或者 Base64 编码,服务端自动识别。示例:{"executorNum":1} 或 eyJleGVjdXRvck51bSI6MX0=
|
|
47013
47049
|
:rtype: str
|
|
47014
47050
|
"""
|
|
47015
47051
|
return self._Params
|
|
@@ -47020,8 +47056,11 @@ class RunSQLScriptRequest(AbstractModel):
|
|
|
47020
47056
|
|
|
47021
47057
|
|
|
47022
47058
|
def _deserialize(self, params):
|
|
47023
|
-
self._ScriptId = params.get("ScriptId")
|
|
47024
47059
|
self._ProjectId = params.get("ProjectId")
|
|
47060
|
+
self._ScriptId = params.get("ScriptId")
|
|
47061
|
+
if params.get("ScriptConfig") is not None:
|
|
47062
|
+
self._ScriptConfig = SQLScriptConfig()
|
|
47063
|
+
self._ScriptConfig._deserialize(params.get("ScriptConfig"))
|
|
47025
47064
|
self._ScriptContent = params.get("ScriptContent")
|
|
47026
47065
|
self._Params = params.get("Params")
|
|
47027
47066
|
memeber_set = set(params.keys())
|
|
@@ -59330,134 +59369,21 @@ class UpdateDataSourceRequest(AbstractModel):
|
|
|
59330
59369
|
|
|
59331
59370
|
def __init__(self):
|
|
59332
59371
|
r"""
|
|
59333
|
-
:param _Id:
|
|
59372
|
+
:param _Id: <p>数据源id</p>
|
|
59334
59373
|
:type Id: int
|
|
59335
|
-
:param _ProjectId:
|
|
59374
|
+
:param _ProjectId: <p>项目id</p>
|
|
59336
59375
|
:type ProjectId: str
|
|
59337
|
-
:param _ProdConProperties:
|
|
59338
|
-
|
|
59339
|
-
> deployType:
|
|
59340
|
-
CONNSTR_PUBLICDB(公网实例)
|
|
59341
|
-
CONNSTR_CVMDB(自建实例)
|
|
59342
|
-
INSTANCE(云实例)
|
|
59343
|
-
|
|
59344
|
-
```
|
|
59345
|
-
mysql: 自建实例
|
|
59346
|
-
{
|
|
59347
|
-
"deployType": "CONNSTR_CVMDB",
|
|
59348
|
-
"url": "jdbc:mysql://1.1.1.1:1111/example#test#123456",
|
|
59349
|
-
"username": "root",
|
|
59350
|
-
"password": "example#test#123456",
|
|
59351
|
-
"region": "ap-shanghai",
|
|
59352
|
-
"vpcId": "vpc-kprq42yo",
|
|
59353
|
-
"type": "MYSQL"
|
|
59354
|
-
}
|
|
59355
|
-
mysql: 云实例
|
|
59356
|
-
{
|
|
59357
|
-
"instanceid": "cdb-12uxdo5e",
|
|
59358
|
-
"db": "db",
|
|
59359
|
-
"region": "ap-shanghai",
|
|
59360
|
-
"username": "msyql",
|
|
59361
|
-
"password": "example#test#123456",
|
|
59362
|
-
"deployType": "INSTANCE",
|
|
59363
|
-
"type": "TENCENT_MYSQL"
|
|
59364
|
-
}
|
|
59365
|
-
sql_server:
|
|
59366
|
-
{
|
|
59367
|
-
"deployType": "CONNSTR_PUBLICDB",
|
|
59368
|
-
"url": "jdbc:sqlserver://1.1.1.1:223;example#test#123456",
|
|
59369
|
-
"username": "user_1",
|
|
59370
|
-
"password": "example#test#123456",
|
|
59371
|
-
"type": "SQLSERVER"
|
|
59372
|
-
}
|
|
59373
|
-
redis:
|
|
59374
|
-
redisType:
|
|
59375
|
-
-NO_ACCOUT(免账号)
|
|
59376
|
-
-SELF_ACCOUNT(自定义账号)
|
|
59377
|
-
{
|
|
59378
|
-
"deployType": "CONNSTR_PUBLICDB",
|
|
59379
|
-
"username":""
|
|
59380
|
-
"password": "example#test#123456",
|
|
59381
|
-
"ip": "1.1.1.1",
|
|
59382
|
-
"port": "6379",
|
|
59383
|
-
"redisType": "NO_ACCOUT",
|
|
59384
|
-
"type": "REDIS"
|
|
59385
|
-
}
|
|
59386
|
-
oracle:
|
|
59387
|
-
{
|
|
59388
|
-
"deployType": "CONNSTR_CVMDB",
|
|
59389
|
-
"url": "jdbc:oracle:thin:@1.1.1.1:1521:example#test#123456",
|
|
59390
|
-
"username": "oracle",
|
|
59391
|
-
"password": "example#test#123456",
|
|
59392
|
-
"region": "ap-shanghai",
|
|
59393
|
-
"vpcId": "vpc-kprq42yo",
|
|
59394
|
-
"type": "ORACLE"
|
|
59395
|
-
}
|
|
59396
|
-
mongodb:
|
|
59397
|
-
advanceParams(自定义参数,会拼接至url后)
|
|
59398
|
-
{
|
|
59399
|
-
"advanceParams": [
|
|
59400
|
-
{
|
|
59401
|
-
"key": "authSource",
|
|
59402
|
-
"value": "auth"
|
|
59403
|
-
}
|
|
59404
|
-
],
|
|
59405
|
-
"db": "admin",
|
|
59406
|
-
"deployType": "CONNSTR_PUBLICDB",
|
|
59407
|
-
"username": "user",
|
|
59408
|
-
"password": "example#test#123456",
|
|
59409
|
-
"type": "MONGODB",
|
|
59410
|
-
"host": "1.1.1.1:9200"
|
|
59411
|
-
}
|
|
59412
|
-
postgresql:
|
|
59413
|
-
{
|
|
59414
|
-
"deployType": "CONNSTR_PUBLICDB",
|
|
59415
|
-
"url": "jdbc:postgresql://1.1.1.1:1921/example#test#123456",
|
|
59416
|
-
"username": "user",
|
|
59417
|
-
"password": "example#test#123456",
|
|
59418
|
-
"type": "POSTGRE"
|
|
59419
|
-
}
|
|
59420
|
-
kafka:
|
|
59421
|
-
authType:
|
|
59422
|
-
- sasl
|
|
59423
|
-
- jaas
|
|
59424
|
-
- sasl_plaintext
|
|
59425
|
-
- sasl_ssl
|
|
59426
|
-
- GSSAPI
|
|
59427
|
-
ssl:
|
|
59428
|
-
-PLAIN
|
|
59429
|
-
-GSSAPI
|
|
59430
|
-
{
|
|
59431
|
-
"deployType": "CONNSTR_PUBLICDB",
|
|
59432
|
-
"host": "1.1.1.1:9092",
|
|
59433
|
-
"ssl": "GSSAPI",
|
|
59434
|
-
"authType": "sasl",
|
|
59435
|
-
"type": "KAFKA",
|
|
59436
|
-
"principal": "aaaa",
|
|
59437
|
-
"serviceName": "kafka"
|
|
59438
|
-
}
|
|
59439
|
-
|
|
59440
|
-
cos:
|
|
59441
|
-
{
|
|
59442
|
-
"region": "ap-shanghai",
|
|
59443
|
-
"deployType": "INSTANCE",
|
|
59444
|
-
"secretId": "aaaaa",
|
|
59445
|
-
"secretKey": "example#test#123456",
|
|
59446
|
-
"bucket": "aaa",
|
|
59447
|
-
"type": "COS"
|
|
59448
|
-
}
|
|
59449
|
-
|
|
59450
|
-
```
|
|
59376
|
+
:param _ProdConProperties: <p>数据源的配置信息,以JSON KV存储,根据每个数据源类型不同,而KV存储信息不同</p><blockquote><p>deployType:<br>CONNSTR_PUBLICDB(公网实例)<br>CONNSTR_CVMDB(自建实例)<br>INSTANCE(云实例)</p></blockquote><p><pre><code>mysql: 自建实例{ "deployType": "CONNSTR_CVMDB", "url": "jdbc:mysql://<host>:<port>/<database>", "username": "<username>", "password": "<password>", "region": "ap-shanghai", "vpcId": "<vpcId>", "type": "MYSQL"}mysql: 云实例{ "instanceid": "<instanceId>", "db": "<database>", "region": "ap-shanghai", "username": "<username>", "password": "<password>", "deployType": "INSTANCE", "type": "TENCENT_MYSQL"}sql_server:{ "deployType": "CONNSTR_PUBLICDB", "url": "jdbc:sqlserver://<host>:<port>;DatabaseName=<database>", "username": "<username>", "password": "<password>", "type": "SQLSERVER"}redis: redisType: -NO_ACCOUT(免账号) -SELF_ACCOUNT(自定义账号){ "deployType": "CONNSTR_PUBLICDB", "username": "<username>", "password": "<password>", "ip": "<host>", "port": "<port>", "redisType": "NO_ACCOUT", "type": "REDIS"}oracle:{ "deployType": "CONNSTR_CVMDB", "url": "jdbc:oracle:thin:@<host>:<port>:<sid>", "username": "<username>", "password": "<password>", "region": "ap-shanghai", "vpcId": "<vpcId>", "type": "ORACLE"}mongodb: advanceParams(自定义参数,会拼接至url后){ "advanceParams": [ { "key": "authSource", "value": "admin" } ], "db": "<database>", "deployType": "CONNSTR_PUBLICDB", "username": "<username>", "password": "<password>", "type": "MONGODB", "host": "<host>:<port>"}postgresql:{ "deployType": "CONNSTR_PUBLICDB", "url": "jdbc:postgresql://<host>:<port>/<database>", "username": "<username>", "password": "<password>", "type": "POSTGRE"}kafka: authType: - sasl - jaas - sasl_plaintext - sasl_ssl - GSSAPI ssl: -PLAIN -GSSAPI{ "deployType": "CONNSTR_PUBLICDB", "host": "<host>:<port>", "ssl": "GSSAPI", "authType": "sasl", "type": "KAFKA", "principal": "<principal>", "serviceName": "kafka"}cos:{ "region": "ap-shanghai", "deployType": "INSTANCE", "secretId": "<secretId>", "secretKey": "<secretKey>", "bucket": "<bucket>", "type": "COS"}</code></pre></p>
|
|
59451
59377
|
:type ProdConProperties: str
|
|
59452
|
-
:param _DevConProperties:
|
|
59378
|
+
:param _DevConProperties: <p>若项目为标准模式,则此字段必填</p>
|
|
59453
59379
|
:type DevConProperties: str
|
|
59454
|
-
:param _ProdFileUpload:
|
|
59380
|
+
:param _ProdFileUpload: <p>生产环境数据源文件上传</p>
|
|
59455
59381
|
:type ProdFileUpload: :class:`tencentcloud.wedata.v20250806.models.DataSourceFileUpload`
|
|
59456
|
-
:param _DevFileUpload:
|
|
59382
|
+
:param _DevFileUpload: <p>开发环境数据源文件上传</p>
|
|
59457
59383
|
:type DevFileUpload: :class:`tencentcloud.wedata.v20250806.models.DataSourceFileUpload`
|
|
59458
|
-
:param _DisplayName:
|
|
59384
|
+
:param _DisplayName: <p>数据源展示名,为了可视化查看</p>
|
|
59459
59385
|
:type DisplayName: str
|
|
59460
|
-
:param _Description:
|
|
59386
|
+
:param _Description: <p>数据源描述信息</p>
|
|
59461
59387
|
:type Description: str
|
|
59462
59388
|
"""
|
|
59463
59389
|
self._Id = None
|
|
@@ -59471,7 +59397,7 @@ cos:
|
|
|
59471
59397
|
|
|
59472
59398
|
@property
|
|
59473
59399
|
def Id(self):
|
|
59474
|
-
r"""
|
|
59400
|
+
r"""<p>数据源id</p>
|
|
59475
59401
|
:rtype: int
|
|
59476
59402
|
"""
|
|
59477
59403
|
return self._Id
|
|
@@ -59482,7 +59408,7 @@ cos:
|
|
|
59482
59408
|
|
|
59483
59409
|
@property
|
|
59484
59410
|
def ProjectId(self):
|
|
59485
|
-
r"""
|
|
59411
|
+
r"""<p>项目id</p>
|
|
59486
59412
|
:rtype: str
|
|
59487
59413
|
"""
|
|
59488
59414
|
return self._ProjectId
|
|
@@ -59493,120 +59419,7 @@ cos:
|
|
|
59493
59419
|
|
|
59494
59420
|
@property
|
|
59495
59421
|
def ProdConProperties(self):
|
|
59496
|
-
r"""
|
|
59497
|
-
|
|
59498
|
-
> deployType:
|
|
59499
|
-
CONNSTR_PUBLICDB(公网实例)
|
|
59500
|
-
CONNSTR_CVMDB(自建实例)
|
|
59501
|
-
INSTANCE(云实例)
|
|
59502
|
-
|
|
59503
|
-
```
|
|
59504
|
-
mysql: 自建实例
|
|
59505
|
-
{
|
|
59506
|
-
"deployType": "CONNSTR_CVMDB",
|
|
59507
|
-
"url": "jdbc:mysql://1.1.1.1:1111/example#test#123456",
|
|
59508
|
-
"username": "root",
|
|
59509
|
-
"password": "example#test#123456",
|
|
59510
|
-
"region": "ap-shanghai",
|
|
59511
|
-
"vpcId": "vpc-kprq42yo",
|
|
59512
|
-
"type": "MYSQL"
|
|
59513
|
-
}
|
|
59514
|
-
mysql: 云实例
|
|
59515
|
-
{
|
|
59516
|
-
"instanceid": "cdb-12uxdo5e",
|
|
59517
|
-
"db": "db",
|
|
59518
|
-
"region": "ap-shanghai",
|
|
59519
|
-
"username": "msyql",
|
|
59520
|
-
"password": "example#test#123456",
|
|
59521
|
-
"deployType": "INSTANCE",
|
|
59522
|
-
"type": "TENCENT_MYSQL"
|
|
59523
|
-
}
|
|
59524
|
-
sql_server:
|
|
59525
|
-
{
|
|
59526
|
-
"deployType": "CONNSTR_PUBLICDB",
|
|
59527
|
-
"url": "jdbc:sqlserver://1.1.1.1:223;example#test#123456",
|
|
59528
|
-
"username": "user_1",
|
|
59529
|
-
"password": "example#test#123456",
|
|
59530
|
-
"type": "SQLSERVER"
|
|
59531
|
-
}
|
|
59532
|
-
redis:
|
|
59533
|
-
redisType:
|
|
59534
|
-
-NO_ACCOUT(免账号)
|
|
59535
|
-
-SELF_ACCOUNT(自定义账号)
|
|
59536
|
-
{
|
|
59537
|
-
"deployType": "CONNSTR_PUBLICDB",
|
|
59538
|
-
"username":""
|
|
59539
|
-
"password": "example#test#123456",
|
|
59540
|
-
"ip": "1.1.1.1",
|
|
59541
|
-
"port": "6379",
|
|
59542
|
-
"redisType": "NO_ACCOUT",
|
|
59543
|
-
"type": "REDIS"
|
|
59544
|
-
}
|
|
59545
|
-
oracle:
|
|
59546
|
-
{
|
|
59547
|
-
"deployType": "CONNSTR_CVMDB",
|
|
59548
|
-
"url": "jdbc:oracle:thin:@1.1.1.1:1521:example#test#123456",
|
|
59549
|
-
"username": "oracle",
|
|
59550
|
-
"password": "example#test#123456",
|
|
59551
|
-
"region": "ap-shanghai",
|
|
59552
|
-
"vpcId": "vpc-kprq42yo",
|
|
59553
|
-
"type": "ORACLE"
|
|
59554
|
-
}
|
|
59555
|
-
mongodb:
|
|
59556
|
-
advanceParams(自定义参数,会拼接至url后)
|
|
59557
|
-
{
|
|
59558
|
-
"advanceParams": [
|
|
59559
|
-
{
|
|
59560
|
-
"key": "authSource",
|
|
59561
|
-
"value": "auth"
|
|
59562
|
-
}
|
|
59563
|
-
],
|
|
59564
|
-
"db": "admin",
|
|
59565
|
-
"deployType": "CONNSTR_PUBLICDB",
|
|
59566
|
-
"username": "user",
|
|
59567
|
-
"password": "example#test#123456",
|
|
59568
|
-
"type": "MONGODB",
|
|
59569
|
-
"host": "1.1.1.1:9200"
|
|
59570
|
-
}
|
|
59571
|
-
postgresql:
|
|
59572
|
-
{
|
|
59573
|
-
"deployType": "CONNSTR_PUBLICDB",
|
|
59574
|
-
"url": "jdbc:postgresql://1.1.1.1:1921/example#test#123456",
|
|
59575
|
-
"username": "user",
|
|
59576
|
-
"password": "example#test#123456",
|
|
59577
|
-
"type": "POSTGRE"
|
|
59578
|
-
}
|
|
59579
|
-
kafka:
|
|
59580
|
-
authType:
|
|
59581
|
-
- sasl
|
|
59582
|
-
- jaas
|
|
59583
|
-
- sasl_plaintext
|
|
59584
|
-
- sasl_ssl
|
|
59585
|
-
- GSSAPI
|
|
59586
|
-
ssl:
|
|
59587
|
-
-PLAIN
|
|
59588
|
-
-GSSAPI
|
|
59589
|
-
{
|
|
59590
|
-
"deployType": "CONNSTR_PUBLICDB",
|
|
59591
|
-
"host": "1.1.1.1:9092",
|
|
59592
|
-
"ssl": "GSSAPI",
|
|
59593
|
-
"authType": "sasl",
|
|
59594
|
-
"type": "KAFKA",
|
|
59595
|
-
"principal": "aaaa",
|
|
59596
|
-
"serviceName": "kafka"
|
|
59597
|
-
}
|
|
59598
|
-
|
|
59599
|
-
cos:
|
|
59600
|
-
{
|
|
59601
|
-
"region": "ap-shanghai",
|
|
59602
|
-
"deployType": "INSTANCE",
|
|
59603
|
-
"secretId": "aaaaa",
|
|
59604
|
-
"secretKey": "example#test#123456",
|
|
59605
|
-
"bucket": "aaa",
|
|
59606
|
-
"type": "COS"
|
|
59607
|
-
}
|
|
59608
|
-
|
|
59609
|
-
```
|
|
59422
|
+
r"""<p>数据源的配置信息,以JSON KV存储,根据每个数据源类型不同,而KV存储信息不同</p><blockquote><p>deployType:<br>CONNSTR_PUBLICDB(公网实例)<br>CONNSTR_CVMDB(自建实例)<br>INSTANCE(云实例)</p></blockquote><p><pre><code>mysql: 自建实例{ "deployType": "CONNSTR_CVMDB", "url": "jdbc:mysql://<host>:<port>/<database>", "username": "<username>", "password": "<password>", "region": "ap-shanghai", "vpcId": "<vpcId>", "type": "MYSQL"}mysql: 云实例{ "instanceid": "<instanceId>", "db": "<database>", "region": "ap-shanghai", "username": "<username>", "password": "<password>", "deployType": "INSTANCE", "type": "TENCENT_MYSQL"}sql_server:{ "deployType": "CONNSTR_PUBLICDB", "url": "jdbc:sqlserver://<host>:<port>;DatabaseName=<database>", "username": "<username>", "password": "<password>", "type": "SQLSERVER"}redis: redisType: -NO_ACCOUT(免账号) -SELF_ACCOUNT(自定义账号){ "deployType": "CONNSTR_PUBLICDB", "username": "<username>", "password": "<password>", "ip": "<host>", "port": "<port>", "redisType": "NO_ACCOUT", "type": "REDIS"}oracle:{ "deployType": "CONNSTR_CVMDB", "url": "jdbc:oracle:thin:@<host>:<port>:<sid>", "username": "<username>", "password": "<password>", "region": "ap-shanghai", "vpcId": "<vpcId>", "type": "ORACLE"}mongodb: advanceParams(自定义参数,会拼接至url后){ "advanceParams": [ { "key": "authSource", "value": "admin" } ], "db": "<database>", "deployType": "CONNSTR_PUBLICDB", "username": "<username>", "password": "<password>", "type": "MONGODB", "host": "<host>:<port>"}postgresql:{ "deployType": "CONNSTR_PUBLICDB", "url": "jdbc:postgresql://<host>:<port>/<database>", "username": "<username>", "password": "<password>", "type": "POSTGRE"}kafka: authType: - sasl - jaas - sasl_plaintext - sasl_ssl - GSSAPI ssl: -PLAIN -GSSAPI{ "deployType": "CONNSTR_PUBLICDB", "host": "<host>:<port>", "ssl": "GSSAPI", "authType": "sasl", "type": "KAFKA", "principal": "<principal>", "serviceName": "kafka"}cos:{ "region": "ap-shanghai", "deployType": "INSTANCE", "secretId": "<secretId>", "secretKey": "<secretKey>", "bucket": "<bucket>", "type": "COS"}</code></pre></p>
|
|
59610
59423
|
:rtype: str
|
|
59611
59424
|
"""
|
|
59612
59425
|
return self._ProdConProperties
|
|
@@ -59617,7 +59430,7 @@ cos:
|
|
|
59617
59430
|
|
|
59618
59431
|
@property
|
|
59619
59432
|
def DevConProperties(self):
|
|
59620
|
-
r"""
|
|
59433
|
+
r"""<p>若项目为标准模式,则此字段必填</p>
|
|
59621
59434
|
:rtype: str
|
|
59622
59435
|
"""
|
|
59623
59436
|
return self._DevConProperties
|
|
@@ -59628,7 +59441,7 @@ cos:
|
|
|
59628
59441
|
|
|
59629
59442
|
@property
|
|
59630
59443
|
def ProdFileUpload(self):
|
|
59631
|
-
r"""
|
|
59444
|
+
r"""<p>生产环境数据源文件上传</p>
|
|
59632
59445
|
:rtype: :class:`tencentcloud.wedata.v20250806.models.DataSourceFileUpload`
|
|
59633
59446
|
"""
|
|
59634
59447
|
return self._ProdFileUpload
|
|
@@ -59639,7 +59452,7 @@ cos:
|
|
|
59639
59452
|
|
|
59640
59453
|
@property
|
|
59641
59454
|
def DevFileUpload(self):
|
|
59642
|
-
r"""
|
|
59455
|
+
r"""<p>开发环境数据源文件上传</p>
|
|
59643
59456
|
:rtype: :class:`tencentcloud.wedata.v20250806.models.DataSourceFileUpload`
|
|
59644
59457
|
"""
|
|
59645
59458
|
return self._DevFileUpload
|
|
@@ -59650,7 +59463,7 @@ cos:
|
|
|
59650
59463
|
|
|
59651
59464
|
@property
|
|
59652
59465
|
def DisplayName(self):
|
|
59653
|
-
r"""
|
|
59466
|
+
r"""<p>数据源展示名,为了可视化查看</p>
|
|
59654
59467
|
:rtype: str
|
|
59655
59468
|
"""
|
|
59656
59469
|
return self._DisplayName
|
|
@@ -59661,7 +59474,7 @@ cos:
|
|
|
59661
59474
|
|
|
59662
59475
|
@property
|
|
59663
59476
|
def Description(self):
|
|
59664
|
-
r"""
|
|
59477
|
+
r"""<p>数据源描述信息</p>
|
|
59665
59478
|
:rtype: str
|
|
59666
59479
|
"""
|
|
59667
59480
|
return self._Description
|
|
@@ -59701,7 +59514,7 @@ class UpdateDataSourceResponse(AbstractModel):
|
|
|
59701
59514
|
|
|
59702
59515
|
def __init__(self):
|
|
59703
59516
|
r"""
|
|
59704
|
-
:param _Data:
|
|
59517
|
+
:param _Data: <p>操作是否成功</p>
|
|
59705
59518
|
:type Data: :class:`tencentcloud.wedata.v20250806.models.DataSourceStatus`
|
|
59706
59519
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
59707
59520
|
:type RequestId: str
|
|
@@ -59711,7 +59524,7 @@ class UpdateDataSourceResponse(AbstractModel):
|
|
|
59711
59524
|
|
|
59712
59525
|
@property
|
|
59713
59526
|
def Data(self):
|
|
59714
|
-
r"""
|
|
59527
|
+
r"""<p>操作是否成功</p>
|
|
59715
59528
|
:rtype: :class:`tencentcloud.wedata.v20250806.models.DataSourceStatus`
|
|
59716
59529
|
"""
|
|
59717
59530
|
return self._Data
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-wedata
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.178
|
|
4
4
|
Summary: Tencent Cloud Wedata SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.178
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.178
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.166
|
{tencentcloud_sdk_python_wedata-3.1.166 → tencentcloud_sdk_python_wedata-3.1.178}/README.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|