tencentcloud-sdk-python 3.0.1437__py2.py3-none-any.whl → 3.0.1439__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/apm/v20210622/models.py +15 -0
- tencentcloud/cdn/v20180606/models.py +8 -0
- tencentcloud/cfw/v20190904/cfw_client.py +0 -75
- tencentcloud/cfw/v20190904/models.py +107 -702
- tencentcloud/ciam/v20220331/errorcodes.py +1 -1
- tencentcloud/cls/v20201016/models.py +38 -24
- tencentcloud/cwp/v20180228/cwp_client.py +2 -2
- tencentcloud/cwp/v20180228/models.py +8 -8
- tencentcloud/dlc/v20210125/models.py +120 -15
- tencentcloud/es/v20180416/errorcodes.py +3 -0
- tencentcloud/es/v20180416/models.py +225 -0
- tencentcloud/ess/v20201111/ess_client.py +0 -3
- tencentcloud/essbasic/v20210526/essbasic_client.py +0 -1
- tencentcloud/essbasic/v20210526/models.py +4 -0
- tencentcloud/iotexplorer/v20190423/errorcodes.py +12 -0
- tencentcloud/iotexplorer/v20190423/models.py +204 -4
- tencentcloud/lighthouse/v20200324/errorcodes.py +3 -0
- tencentcloud/mna/v20210119/errorcodes.py +1 -1
- tencentcloud/ocr/v20181119/models.py +2 -2
- tencentcloud/sqlserver/v20180328/models.py +6 -6
- tencentcloud/sqlserver/v20180328/sqlserver_client.py +2 -2
- tencentcloud/ssl/v20191205/errorcodes.py +3 -0
- tencentcloud/ssl/v20191205/models.py +60 -0
- tencentcloud/sts/v20180813/sts_client.py +16 -4
- tencentcloud/tdmq/v20200217/models.py +102 -0
- tencentcloud/teo/v20220901/models.py +14 -94
- tencentcloud/teo/v20220901/teo_client.py +8 -2
- tencentcloud/thpc/v20230321/errorcodes.py +24 -0
- tencentcloud/thpc/v20230321/models.py +1398 -132
- tencentcloud/thpc/v20230321/thpc_client.py +138 -0
- tencentcloud/trocket/v20230308/models.py +70 -0
- tencentcloud/tsf/v20180326/errorcodes.py +4 -4
- tencentcloud/tsf/v20180326/models.py +1211 -0
- tencentcloud/tsf/v20180326/tsf_client.py +69 -0
- tencentcloud/vod/v20180717/models.py +12 -4
- tencentcloud/wedata/v20210820/models.py +285 -19
- {tencentcloud_sdk_python-3.0.1437.dist-info → tencentcloud_sdk_python-3.0.1439.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1437.dist-info → tencentcloud_sdk_python-3.0.1439.dist-info}/RECORD +42 -42
- {tencentcloud_sdk_python-3.0.1437.dist-info → tencentcloud_sdk_python-3.0.1439.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1437.dist-info → tencentcloud_sdk_python-3.0.1439.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1437.dist-info → tencentcloud_sdk_python-3.0.1439.dist-info}/top_level.txt +0 -0
|
@@ -2864,6 +2864,52 @@ class TsfClient(AbstractClient):
|
|
|
2864
2864
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2865
2865
|
|
|
2866
2866
|
|
|
2867
|
+
def DescribeLicenses(self, request):
|
|
2868
|
+
"""查询许可列表
|
|
2869
|
+
|
|
2870
|
+
:param request: Request instance for DescribeLicenses.
|
|
2871
|
+
:type request: :class:`tencentcloud.tsf.v20180326.models.DescribeLicensesRequest`
|
|
2872
|
+
:rtype: :class:`tencentcloud.tsf.v20180326.models.DescribeLicensesResponse`
|
|
2873
|
+
|
|
2874
|
+
"""
|
|
2875
|
+
try:
|
|
2876
|
+
params = request._serialize()
|
|
2877
|
+
headers = request.headers
|
|
2878
|
+
body = self.call("DescribeLicenses", params, headers=headers)
|
|
2879
|
+
response = json.loads(body)
|
|
2880
|
+
model = models.DescribeLicensesResponse()
|
|
2881
|
+
model._deserialize(response["Response"])
|
|
2882
|
+
return model
|
|
2883
|
+
except Exception as e:
|
|
2884
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2885
|
+
raise
|
|
2886
|
+
else:
|
|
2887
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2888
|
+
|
|
2889
|
+
|
|
2890
|
+
def DescribeLogCapacity(self, request):
|
|
2891
|
+
"""获取用户日志使用量
|
|
2892
|
+
|
|
2893
|
+
:param request: Request instance for DescribeLogCapacity.
|
|
2894
|
+
:type request: :class:`tencentcloud.tsf.v20180326.models.DescribeLogCapacityRequest`
|
|
2895
|
+
:rtype: :class:`tencentcloud.tsf.v20180326.models.DescribeLogCapacityResponse`
|
|
2896
|
+
|
|
2897
|
+
"""
|
|
2898
|
+
try:
|
|
2899
|
+
params = request._serialize()
|
|
2900
|
+
headers = request.headers
|
|
2901
|
+
body = self.call("DescribeLogCapacity", params, headers=headers)
|
|
2902
|
+
response = json.loads(body)
|
|
2903
|
+
model = models.DescribeLogCapacityResponse()
|
|
2904
|
+
model._deserialize(response["Response"])
|
|
2905
|
+
return model
|
|
2906
|
+
except Exception as e:
|
|
2907
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2908
|
+
raise
|
|
2909
|
+
else:
|
|
2910
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2911
|
+
|
|
2912
|
+
|
|
2867
2913
|
def DescribeMicroservice(self, request):
|
|
2868
2914
|
"""查询微服务详情
|
|
2869
2915
|
|
|
@@ -3301,6 +3347,29 @@ class TsfClient(AbstractClient):
|
|
|
3301
3347
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3302
3348
|
|
|
3303
3349
|
|
|
3350
|
+
def DescribeResourceConfig(self, request):
|
|
3351
|
+
"""无
|
|
3352
|
+
|
|
3353
|
+
:param request: Request instance for DescribeResourceConfig.
|
|
3354
|
+
:type request: :class:`tencentcloud.tsf.v20180326.models.DescribeResourceConfigRequest`
|
|
3355
|
+
:rtype: :class:`tencentcloud.tsf.v20180326.models.DescribeResourceConfigResponse`
|
|
3356
|
+
|
|
3357
|
+
"""
|
|
3358
|
+
try:
|
|
3359
|
+
params = request._serialize()
|
|
3360
|
+
headers = request.headers
|
|
3361
|
+
body = self.call("DescribeResourceConfig", params, headers=headers)
|
|
3362
|
+
response = json.loads(body)
|
|
3363
|
+
model = models.DescribeResourceConfigResponse()
|
|
3364
|
+
model._deserialize(response["Response"])
|
|
3365
|
+
return model
|
|
3366
|
+
except Exception as e:
|
|
3367
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3368
|
+
raise
|
|
3369
|
+
else:
|
|
3370
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3371
|
+
|
|
3372
|
+
|
|
3304
3373
|
def DescribeResourceTaskStatus(self, request):
|
|
3305
3374
|
"""资源任务的执行状态描述接口
|
|
3306
3375
|
|
|
@@ -28467,8 +28467,9 @@ class DescribeLicenseUsageDataRequest(AbstractModel):
|
|
|
28467
28467
|
:type StartTime: str
|
|
28468
28468
|
:param _EndTime: 结束日期,需大于等于起始日期。使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#52)。
|
|
28469
28469
|
:type EndTime: str
|
|
28470
|
-
:param _LicenseType: License 类型,默认为
|
|
28471
|
-
<li>
|
|
28470
|
+
:param _LicenseType: License 类型,默认为 CommercialDRMLicense 。目前支持的 License 类型包括:
|
|
28471
|
+
<li> CommercialDRMLicense: 商业级 DRM License</li>
|
|
28472
|
+
<li> JITEncryptionDRMLicense: 即时加密 DRM License</li>
|
|
28472
28473
|
:type LicenseType: str
|
|
28473
28474
|
:param _SubAppId: <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
|
|
28474
28475
|
:type SubAppId: int
|
|
@@ -28502,8 +28503,9 @@ class DescribeLicenseUsageDataRequest(AbstractModel):
|
|
|
28502
28503
|
|
|
28503
28504
|
@property
|
|
28504
28505
|
def LicenseType(self):
|
|
28505
|
-
"""License 类型,默认为
|
|
28506
|
-
<li>
|
|
28506
|
+
"""License 类型,默认为 CommercialDRMLicense 。目前支持的 License 类型包括:
|
|
28507
|
+
<li> CommercialDRMLicense: 商业级 DRM License</li>
|
|
28508
|
+
<li> JITEncryptionDRMLicense: 即时加密 DRM License</li>
|
|
28507
28509
|
:rtype: str
|
|
28508
28510
|
"""
|
|
28509
28511
|
return self._LicenseType
|
|
@@ -28927,6 +28929,8 @@ class DescribeMediaProcessUsageDataRequest(AbstractModel):
|
|
|
28927
28929
|
<li>VoiceTranslation: 语音翻译</li>
|
|
28928
28930
|
<li>JITTranscoding: 即时转码</li>
|
|
28929
28931
|
<li>VideoSnapshot: 视频截图</li>
|
|
28932
|
+
<li>JITEncryption: 即时加密</li>
|
|
28933
|
+
|
|
28930
28934
|
:type Type: str
|
|
28931
28935
|
"""
|
|
28932
28936
|
self._StartTime = None
|
|
@@ -28993,6 +28997,8 @@ class DescribeMediaProcessUsageDataRequest(AbstractModel):
|
|
|
28993
28997
|
<li>VoiceTranslation: 语音翻译</li>
|
|
28994
28998
|
<li>JITTranscoding: 即时转码</li>
|
|
28995
28999
|
<li>VideoSnapshot: 视频截图</li>
|
|
29000
|
+
<li>JITEncryption: 即时加密</li>
|
|
29001
|
+
|
|
28996
29002
|
:rtype: str
|
|
28997
29003
|
"""
|
|
28998
29004
|
return self._Type
|
|
@@ -70680,6 +70686,7 @@ class TaskStatData(AbstractModel):
|
|
|
70680
70686
|
<li>VoiceTranslation: 语音翻译</li>
|
|
70681
70687
|
<li>JITTranscoding: 即时转码</li>
|
|
70682
70688
|
<li>VideoSnapshot: 视频截图</li>
|
|
70689
|
+
<li>JITEncryption: 即时加密</li>
|
|
70683
70690
|
:type TaskType: str
|
|
70684
70691
|
:param _Summary: 任务数统计数据概览,用量单位为秒。
|
|
70685
70692
|
:type Summary: list of TaskStatDataItem
|
|
@@ -70772,6 +70779,7 @@ class TaskStatData(AbstractModel):
|
|
|
70772
70779
|
<li>VoiceTranslation: 语音翻译</li>
|
|
70773
70780
|
<li>JITTranscoding: 即时转码</li>
|
|
70774
70781
|
<li>VideoSnapshot: 视频截图</li>
|
|
70782
|
+
<li>JITEncryption: 即时加密</li>
|
|
70775
70783
|
:rtype: str
|
|
70776
70784
|
"""
|
|
70777
70785
|
return self._TaskType
|
|
@@ -3471,6 +3471,180 @@ class BaseClusterInfo(AbstractModel):
|
|
|
3471
3471
|
|
|
3472
3472
|
|
|
3473
3473
|
|
|
3474
|
+
class BaseProject(AbstractModel):
|
|
3475
|
+
"""项目信息
|
|
3476
|
+
|
|
3477
|
+
"""
|
|
3478
|
+
|
|
3479
|
+
def __init__(self):
|
|
3480
|
+
r"""
|
|
3481
|
+
:param _ProjectName: 项目标识,英文名
|
|
3482
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3483
|
+
:type ProjectName: str
|
|
3484
|
+
:param _DisplayName: 项目显示名称,可以为中文名
|
|
3485
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3486
|
+
:type DisplayName: str
|
|
3487
|
+
:param _Region: 地域
|
|
3488
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3489
|
+
:type Region: str
|
|
3490
|
+
:param _TenantId: 项目的所在租户ID
|
|
3491
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3492
|
+
:type TenantId: str
|
|
3493
|
+
:param _ProjectId: 项目id
|
|
3494
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3495
|
+
:type ProjectId: str
|
|
3496
|
+
:param _Description: 备注
|
|
3497
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3498
|
+
:type Description: str
|
|
3499
|
+
:param _CreateTime: 创建时间
|
|
3500
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3501
|
+
:type CreateTime: str
|
|
3502
|
+
:param _Status: 项目状态:0:禁用,1:启用,-3:禁用中,2:启用中
|
|
3503
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3504
|
+
:type Status: int
|
|
3505
|
+
:param _Model: 项目类型,SIMPLE:简单模式 STANDARD:标准模式
|
|
3506
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3507
|
+
:type Model: str
|
|
3508
|
+
"""
|
|
3509
|
+
self._ProjectName = None
|
|
3510
|
+
self._DisplayName = None
|
|
3511
|
+
self._Region = None
|
|
3512
|
+
self._TenantId = None
|
|
3513
|
+
self._ProjectId = None
|
|
3514
|
+
self._Description = None
|
|
3515
|
+
self._CreateTime = None
|
|
3516
|
+
self._Status = None
|
|
3517
|
+
self._Model = None
|
|
3518
|
+
|
|
3519
|
+
@property
|
|
3520
|
+
def ProjectName(self):
|
|
3521
|
+
"""项目标识,英文名
|
|
3522
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3523
|
+
:rtype: str
|
|
3524
|
+
"""
|
|
3525
|
+
return self._ProjectName
|
|
3526
|
+
|
|
3527
|
+
@ProjectName.setter
|
|
3528
|
+
def ProjectName(self, ProjectName):
|
|
3529
|
+
self._ProjectName = ProjectName
|
|
3530
|
+
|
|
3531
|
+
@property
|
|
3532
|
+
def DisplayName(self):
|
|
3533
|
+
"""项目显示名称,可以为中文名
|
|
3534
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3535
|
+
:rtype: str
|
|
3536
|
+
"""
|
|
3537
|
+
return self._DisplayName
|
|
3538
|
+
|
|
3539
|
+
@DisplayName.setter
|
|
3540
|
+
def DisplayName(self, DisplayName):
|
|
3541
|
+
self._DisplayName = DisplayName
|
|
3542
|
+
|
|
3543
|
+
@property
|
|
3544
|
+
def Region(self):
|
|
3545
|
+
"""地域
|
|
3546
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3547
|
+
:rtype: str
|
|
3548
|
+
"""
|
|
3549
|
+
return self._Region
|
|
3550
|
+
|
|
3551
|
+
@Region.setter
|
|
3552
|
+
def Region(self, Region):
|
|
3553
|
+
self._Region = Region
|
|
3554
|
+
|
|
3555
|
+
@property
|
|
3556
|
+
def TenantId(self):
|
|
3557
|
+
"""项目的所在租户ID
|
|
3558
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3559
|
+
:rtype: str
|
|
3560
|
+
"""
|
|
3561
|
+
return self._TenantId
|
|
3562
|
+
|
|
3563
|
+
@TenantId.setter
|
|
3564
|
+
def TenantId(self, TenantId):
|
|
3565
|
+
self._TenantId = TenantId
|
|
3566
|
+
|
|
3567
|
+
@property
|
|
3568
|
+
def ProjectId(self):
|
|
3569
|
+
"""项目id
|
|
3570
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3571
|
+
:rtype: str
|
|
3572
|
+
"""
|
|
3573
|
+
return self._ProjectId
|
|
3574
|
+
|
|
3575
|
+
@ProjectId.setter
|
|
3576
|
+
def ProjectId(self, ProjectId):
|
|
3577
|
+
self._ProjectId = ProjectId
|
|
3578
|
+
|
|
3579
|
+
@property
|
|
3580
|
+
def Description(self):
|
|
3581
|
+
"""备注
|
|
3582
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3583
|
+
:rtype: str
|
|
3584
|
+
"""
|
|
3585
|
+
return self._Description
|
|
3586
|
+
|
|
3587
|
+
@Description.setter
|
|
3588
|
+
def Description(self, Description):
|
|
3589
|
+
self._Description = Description
|
|
3590
|
+
|
|
3591
|
+
@property
|
|
3592
|
+
def CreateTime(self):
|
|
3593
|
+
"""创建时间
|
|
3594
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3595
|
+
:rtype: str
|
|
3596
|
+
"""
|
|
3597
|
+
return self._CreateTime
|
|
3598
|
+
|
|
3599
|
+
@CreateTime.setter
|
|
3600
|
+
def CreateTime(self, CreateTime):
|
|
3601
|
+
self._CreateTime = CreateTime
|
|
3602
|
+
|
|
3603
|
+
@property
|
|
3604
|
+
def Status(self):
|
|
3605
|
+
"""项目状态:0:禁用,1:启用,-3:禁用中,2:启用中
|
|
3606
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3607
|
+
:rtype: int
|
|
3608
|
+
"""
|
|
3609
|
+
return self._Status
|
|
3610
|
+
|
|
3611
|
+
@Status.setter
|
|
3612
|
+
def Status(self, Status):
|
|
3613
|
+
self._Status = Status
|
|
3614
|
+
|
|
3615
|
+
@property
|
|
3616
|
+
def Model(self):
|
|
3617
|
+
"""项目类型,SIMPLE:简单模式 STANDARD:标准模式
|
|
3618
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3619
|
+
:rtype: str
|
|
3620
|
+
"""
|
|
3621
|
+
return self._Model
|
|
3622
|
+
|
|
3623
|
+
@Model.setter
|
|
3624
|
+
def Model(self, Model):
|
|
3625
|
+
self._Model = Model
|
|
3626
|
+
|
|
3627
|
+
|
|
3628
|
+
def _deserialize(self, params):
|
|
3629
|
+
self._ProjectName = params.get("ProjectName")
|
|
3630
|
+
self._DisplayName = params.get("DisplayName")
|
|
3631
|
+
self._Region = params.get("Region")
|
|
3632
|
+
self._TenantId = params.get("TenantId")
|
|
3633
|
+
self._ProjectId = params.get("ProjectId")
|
|
3634
|
+
self._Description = params.get("Description")
|
|
3635
|
+
self._CreateTime = params.get("CreateTime")
|
|
3636
|
+
self._Status = params.get("Status")
|
|
3637
|
+
self._Model = params.get("Model")
|
|
3638
|
+
memeber_set = set(params.keys())
|
|
3639
|
+
for name, value in vars(self).items():
|
|
3640
|
+
property_name = name[1:]
|
|
3641
|
+
if property_name in memeber_set:
|
|
3642
|
+
memeber_set.remove(property_name)
|
|
3643
|
+
if len(memeber_set) > 0:
|
|
3644
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3645
|
+
|
|
3646
|
+
|
|
3647
|
+
|
|
3474
3648
|
class BaseRole(AbstractModel):
|
|
3475
3649
|
"""基础角色对象
|
|
3476
3650
|
|
|
@@ -11695,6 +11869,38 @@ class CreateBaseProjectRequest(AbstractModel):
|
|
|
11695
11869
|
|
|
11696
11870
|
"""
|
|
11697
11871
|
|
|
11872
|
+
def __init__(self):
|
|
11873
|
+
r"""
|
|
11874
|
+
:param _Project: 项目信息
|
|
11875
|
+
:type Project: :class:`tencentcloud.wedata.v20210820.models.BaseProject`
|
|
11876
|
+
"""
|
|
11877
|
+
self._Project = None
|
|
11878
|
+
|
|
11879
|
+
@property
|
|
11880
|
+
def Project(self):
|
|
11881
|
+
"""项目信息
|
|
11882
|
+
:rtype: :class:`tencentcloud.wedata.v20210820.models.BaseProject`
|
|
11883
|
+
"""
|
|
11884
|
+
return self._Project
|
|
11885
|
+
|
|
11886
|
+
@Project.setter
|
|
11887
|
+
def Project(self, Project):
|
|
11888
|
+
self._Project = Project
|
|
11889
|
+
|
|
11890
|
+
|
|
11891
|
+
def _deserialize(self, params):
|
|
11892
|
+
if params.get("Project") is not None:
|
|
11893
|
+
self._Project = BaseProject()
|
|
11894
|
+
self._Project._deserialize(params.get("Project"))
|
|
11895
|
+
memeber_set = set(params.keys())
|
|
11896
|
+
for name, value in vars(self).items():
|
|
11897
|
+
property_name = name[1:]
|
|
11898
|
+
if property_name in memeber_set:
|
|
11899
|
+
memeber_set.remove(property_name)
|
|
11900
|
+
if len(memeber_set) > 0:
|
|
11901
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
11902
|
+
|
|
11903
|
+
|
|
11698
11904
|
|
|
11699
11905
|
class CreateBaseProjectResponse(AbstractModel):
|
|
11700
11906
|
"""CreateBaseProject返回参数结构体
|
|
@@ -15400,6 +15606,8 @@ class CreateTaskNewRequest(AbstractModel):
|
|
|
15400
15606
|
:type TaskName: str
|
|
15401
15607
|
:param _TaskType: 26离线同步,30Python,31PySpark,32DLC,33Impala,34Hive SQL,35Shell,36Spark SQL,39Spark,40CDW PG,92MapReduce
|
|
15402
15608
|
:type TaskType: int
|
|
15609
|
+
:param _Content: (必填参数)指定脚本内容,base64编码
|
|
15610
|
+
:type Content: str
|
|
15403
15611
|
:param _TaskExt: 扩展属性
|
|
15404
15612
|
:type TaskExt: list of TaskExtInfo
|
|
15405
15613
|
:param _ProductName: 产品名称
|
|
@@ -15412,8 +15620,6 @@ class CreateTaskNewRequest(AbstractModel):
|
|
|
15412
15620
|
:type TopCoordinate: float
|
|
15413
15621
|
:param _TaskFolderId: 工作流目录ID
|
|
15414
15622
|
:type TaskFolderId: str
|
|
15415
|
-
:param _Content: (必填参数)指定脚本内容,base64编码
|
|
15416
|
-
:type Content: str
|
|
15417
15623
|
:param _CodeTemplateId: 代码模板ID
|
|
15418
15624
|
:type CodeTemplateId: str
|
|
15419
15625
|
"""
|
|
@@ -15421,13 +15627,13 @@ class CreateTaskNewRequest(AbstractModel):
|
|
|
15421
15627
|
self._WorkflowId = None
|
|
15422
15628
|
self._TaskName = None
|
|
15423
15629
|
self._TaskType = None
|
|
15630
|
+
self._Content = None
|
|
15424
15631
|
self._TaskExt = None
|
|
15425
15632
|
self._ProductName = None
|
|
15426
15633
|
self._InstanceInitStrategy = None
|
|
15427
15634
|
self._LeftCoordinate = None
|
|
15428
15635
|
self._TopCoordinate = None
|
|
15429
15636
|
self._TaskFolderId = None
|
|
15430
|
-
self._Content = None
|
|
15431
15637
|
self._CodeTemplateId = None
|
|
15432
15638
|
|
|
15433
15639
|
@property
|
|
@@ -15474,6 +15680,17 @@ class CreateTaskNewRequest(AbstractModel):
|
|
|
15474
15680
|
def TaskType(self, TaskType):
|
|
15475
15681
|
self._TaskType = TaskType
|
|
15476
15682
|
|
|
15683
|
+
@property
|
|
15684
|
+
def Content(self):
|
|
15685
|
+
"""(必填参数)指定脚本内容,base64编码
|
|
15686
|
+
:rtype: str
|
|
15687
|
+
"""
|
|
15688
|
+
return self._Content
|
|
15689
|
+
|
|
15690
|
+
@Content.setter
|
|
15691
|
+
def Content(self, Content):
|
|
15692
|
+
self._Content = Content
|
|
15693
|
+
|
|
15477
15694
|
@property
|
|
15478
15695
|
def TaskExt(self):
|
|
15479
15696
|
"""扩展属性
|
|
@@ -15540,17 +15757,6 @@ class CreateTaskNewRequest(AbstractModel):
|
|
|
15540
15757
|
def TaskFolderId(self, TaskFolderId):
|
|
15541
15758
|
self._TaskFolderId = TaskFolderId
|
|
15542
15759
|
|
|
15543
|
-
@property
|
|
15544
|
-
def Content(self):
|
|
15545
|
-
"""(必填参数)指定脚本内容,base64编码
|
|
15546
|
-
:rtype: str
|
|
15547
|
-
"""
|
|
15548
|
-
return self._Content
|
|
15549
|
-
|
|
15550
|
-
@Content.setter
|
|
15551
|
-
def Content(self, Content):
|
|
15552
|
-
self._Content = Content
|
|
15553
|
-
|
|
15554
15760
|
@property
|
|
15555
15761
|
def CodeTemplateId(self):
|
|
15556
15762
|
"""代码模板ID
|
|
@@ -15568,6 +15774,7 @@ class CreateTaskNewRequest(AbstractModel):
|
|
|
15568
15774
|
self._WorkflowId = params.get("WorkflowId")
|
|
15569
15775
|
self._TaskName = params.get("TaskName")
|
|
15570
15776
|
self._TaskType = params.get("TaskType")
|
|
15777
|
+
self._Content = params.get("Content")
|
|
15571
15778
|
if params.get("TaskExt") is not None:
|
|
15572
15779
|
self._TaskExt = []
|
|
15573
15780
|
for item in params.get("TaskExt"):
|
|
@@ -15579,7 +15786,6 @@ class CreateTaskNewRequest(AbstractModel):
|
|
|
15579
15786
|
self._LeftCoordinate = params.get("LeftCoordinate")
|
|
15580
15787
|
self._TopCoordinate = params.get("TopCoordinate")
|
|
15581
15788
|
self._TaskFolderId = params.get("TaskFolderId")
|
|
15582
|
-
self._Content = params.get("Content")
|
|
15583
15789
|
self._CodeTemplateId = params.get("CodeTemplateId")
|
|
15584
15790
|
memeber_set = set(params.keys())
|
|
15585
15791
|
for name, value in vars(self).items():
|
|
@@ -17458,6 +17664,8 @@ class DataSourceInfo(AbstractModel):
|
|
|
17458
17664
|
:param _DataSourceEnvInfos: 数据源环境信息
|
|
17459
17665
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
17460
17666
|
:type DataSourceEnvInfos: list of DataSourceEnvInfo
|
|
17667
|
+
:param _ForbidProbe: 禁止数据探查
|
|
17668
|
+
:type ForbidProbe: bool
|
|
17461
17669
|
"""
|
|
17462
17670
|
self._DatabaseName = None
|
|
17463
17671
|
self._Description = None
|
|
@@ -17499,6 +17707,7 @@ class DataSourceInfo(AbstractModel):
|
|
|
17499
17707
|
self._DatasourceUrn = None
|
|
17500
17708
|
self._Model = None
|
|
17501
17709
|
self._DataSourceEnvInfos = None
|
|
17710
|
+
self._ForbidProbe = None
|
|
17502
17711
|
|
|
17503
17712
|
@property
|
|
17504
17713
|
def DatabaseName(self):
|
|
@@ -17980,6 +18189,17 @@ class DataSourceInfo(AbstractModel):
|
|
|
17980
18189
|
def DataSourceEnvInfos(self, DataSourceEnvInfos):
|
|
17981
18190
|
self._DataSourceEnvInfos = DataSourceEnvInfos
|
|
17982
18191
|
|
|
18192
|
+
@property
|
|
18193
|
+
def ForbidProbe(self):
|
|
18194
|
+
"""禁止数据探查
|
|
18195
|
+
:rtype: bool
|
|
18196
|
+
"""
|
|
18197
|
+
return self._ForbidProbe
|
|
18198
|
+
|
|
18199
|
+
@ForbidProbe.setter
|
|
18200
|
+
def ForbidProbe(self, ForbidProbe):
|
|
18201
|
+
self._ForbidProbe = ForbidProbe
|
|
18202
|
+
|
|
17983
18203
|
|
|
17984
18204
|
def _deserialize(self, params):
|
|
17985
18205
|
self._DatabaseName = params.get("DatabaseName")
|
|
@@ -18029,6 +18249,7 @@ class DataSourceInfo(AbstractModel):
|
|
|
18029
18249
|
obj = DataSourceEnvInfo()
|
|
18030
18250
|
obj._deserialize(item)
|
|
18031
18251
|
self._DataSourceEnvInfos.append(obj)
|
|
18252
|
+
self._ForbidProbe = params.get("ForbidProbe")
|
|
18032
18253
|
memeber_set = set(params.keys())
|
|
18033
18254
|
for name, value in vars(self).items():
|
|
18034
18255
|
property_name = name[1:]
|
|
@@ -25451,7 +25672,7 @@ class DescribeDataSourceInfoListRequest(AbstractModel):
|
|
|
25451
25672
|
:type Filters: :class:`tencentcloud.wedata.v20210820.models.Filter`
|
|
25452
25673
|
:param _OrderFields: 排序配置
|
|
25453
25674
|
:type OrderFields: :class:`tencentcloud.wedata.v20210820.models.OrderField`
|
|
25454
|
-
:param _Type:
|
|
25675
|
+
:param _Type: 数据源类型,MYSQL,TENCENT_MYSQL,TDSQL_MYSQL,HIVE,KAFKA,POSTGRE,CDW,ORACLE,SQLSERVER,FTP,HDFS,ICEBERG,HBASE,TDSQL,TDSQLC,SPARK,VIRTUAL,TBASE,DB2,DM,TDENGINE,GAUSSDB,GBASE,IMPALA,ES,TENCENT_ES,S3_DATAINSIGHT,GREENPLUM,PHOENIX,SAP_HANA,SFTP,OCEANBASE,CLICKHOUSE,TCHOUSE_C,KUDU,VERTICA,REDIS,COS,S3,DLC,DORIS,CKAFKA,TDMQ_PULSAR,MONGODB,TENCENT_MONGODB,FTP_FILE,HDFS_FILE,DTS_KAFKA,REST_API,FILE,TIDB,SYBASE,TCHOUSE_X,TDSQL_POSTGRE,TCHOUSE_P,TCHOUSE_D,STARROCKS,EMR_STARROCKS,TBDS_STARROCKS,TRINO,KYUUBI,GDB,INFLUXDB,BIG_QUERY,BLOB,FILESYSTEM,SHAREPOINT,KINGBASEES,HUDI等
|
|
25455
25676
|
:type Type: str
|
|
25456
25677
|
:param _DatasourceName: 数据源名称过滤
|
|
25457
25678
|
:type DatasourceName: str
|
|
@@ -25521,7 +25742,7 @@ class DescribeDataSourceInfoListRequest(AbstractModel):
|
|
|
25521
25742
|
|
|
25522
25743
|
@property
|
|
25523
25744
|
def Type(self):
|
|
25524
|
-
"""
|
|
25745
|
+
"""数据源类型,MYSQL,TENCENT_MYSQL,TDSQL_MYSQL,HIVE,KAFKA,POSTGRE,CDW,ORACLE,SQLSERVER,FTP,HDFS,ICEBERG,HBASE,TDSQL,TDSQLC,SPARK,VIRTUAL,TBASE,DB2,DM,TDENGINE,GAUSSDB,GBASE,IMPALA,ES,TENCENT_ES,S3_DATAINSIGHT,GREENPLUM,PHOENIX,SAP_HANA,SFTP,OCEANBASE,CLICKHOUSE,TCHOUSE_C,KUDU,VERTICA,REDIS,COS,S3,DLC,DORIS,CKAFKA,TDMQ_PULSAR,MONGODB,TENCENT_MONGODB,FTP_FILE,HDFS_FILE,DTS_KAFKA,REST_API,FILE,TIDB,SYBASE,TCHOUSE_X,TDSQL_POSTGRE,TCHOUSE_P,TCHOUSE_D,STARROCKS,EMR_STARROCKS,TBDS_STARROCKS,TRINO,KYUUBI,GDB,INFLUXDB,BIG_QUERY,BLOB,FILESYSTEM,SHAREPOINT,KINGBASEES,HUDI等
|
|
25525
25746
|
:rtype: str
|
|
25526
25747
|
"""
|
|
25527
25748
|
return self._Type
|
|
@@ -69460,6 +69681,10 @@ class ModifyProjectRequest(AbstractModel):
|
|
|
69460
69681
|
r"""
|
|
69461
69682
|
:param _ProjectId: 目标修改的项目ID
|
|
69462
69683
|
:type ProjectId: str
|
|
69684
|
+
:param _DisplayName: 项目显示名称,可以为中文名,需要租户范围内唯一
|
|
69685
|
+
:type DisplayName: str
|
|
69686
|
+
:param _Description: 备注
|
|
69687
|
+
:type Description: str
|
|
69463
69688
|
:param _TaskSubmitApproval: true/false则修改,不带该参数不修改。
|
|
69464
69689
|
:type TaskSubmitApproval: bool
|
|
69465
69690
|
:param _ResourcePoolInfo: 资源池信息
|
|
@@ -69474,8 +69699,12 @@ class ModifyProjectRequest(AbstractModel):
|
|
|
69474
69699
|
:type Model: str
|
|
69475
69700
|
:param _ProjectOwner: 项目负责人
|
|
69476
69701
|
:type ProjectOwner: list of str
|
|
69702
|
+
:param _ModifyType: 更新类型
|
|
69703
|
+
:type ModifyType: str
|
|
69477
69704
|
"""
|
|
69478
69705
|
self._ProjectId = None
|
|
69706
|
+
self._DisplayName = None
|
|
69707
|
+
self._Description = None
|
|
69479
69708
|
self._TaskSubmitApproval = None
|
|
69480
69709
|
self._ResourcePoolInfo = None
|
|
69481
69710
|
self._ProjectManagers = None
|
|
@@ -69483,6 +69712,7 @@ class ModifyProjectRequest(AbstractModel):
|
|
|
69483
69712
|
self._ExtraOptions = None
|
|
69484
69713
|
self._Model = None
|
|
69485
69714
|
self._ProjectOwner = None
|
|
69715
|
+
self._ModifyType = None
|
|
69486
69716
|
|
|
69487
69717
|
@property
|
|
69488
69718
|
def ProjectId(self):
|
|
@@ -69495,6 +69725,28 @@ class ModifyProjectRequest(AbstractModel):
|
|
|
69495
69725
|
def ProjectId(self, ProjectId):
|
|
69496
69726
|
self._ProjectId = ProjectId
|
|
69497
69727
|
|
|
69728
|
+
@property
|
|
69729
|
+
def DisplayName(self):
|
|
69730
|
+
"""项目显示名称,可以为中文名,需要租户范围内唯一
|
|
69731
|
+
:rtype: str
|
|
69732
|
+
"""
|
|
69733
|
+
return self._DisplayName
|
|
69734
|
+
|
|
69735
|
+
@DisplayName.setter
|
|
69736
|
+
def DisplayName(self, DisplayName):
|
|
69737
|
+
self._DisplayName = DisplayName
|
|
69738
|
+
|
|
69739
|
+
@property
|
|
69740
|
+
def Description(self):
|
|
69741
|
+
"""备注
|
|
69742
|
+
:rtype: str
|
|
69743
|
+
"""
|
|
69744
|
+
return self._Description
|
|
69745
|
+
|
|
69746
|
+
@Description.setter
|
|
69747
|
+
def Description(self, Description):
|
|
69748
|
+
self._Description = Description
|
|
69749
|
+
|
|
69498
69750
|
@property
|
|
69499
69751
|
def TaskSubmitApproval(self):
|
|
69500
69752
|
"""true/false则修改,不带该参数不修改。
|
|
@@ -69572,9 +69824,22 @@ class ModifyProjectRequest(AbstractModel):
|
|
|
69572
69824
|
def ProjectOwner(self, ProjectOwner):
|
|
69573
69825
|
self._ProjectOwner = ProjectOwner
|
|
69574
69826
|
|
|
69827
|
+
@property
|
|
69828
|
+
def ModifyType(self):
|
|
69829
|
+
"""更新类型
|
|
69830
|
+
:rtype: str
|
|
69831
|
+
"""
|
|
69832
|
+
return self._ModifyType
|
|
69833
|
+
|
|
69834
|
+
@ModifyType.setter
|
|
69835
|
+
def ModifyType(self, ModifyType):
|
|
69836
|
+
self._ModifyType = ModifyType
|
|
69837
|
+
|
|
69575
69838
|
|
|
69576
69839
|
def _deserialize(self, params):
|
|
69577
69840
|
self._ProjectId = params.get("ProjectId")
|
|
69841
|
+
self._DisplayName = params.get("DisplayName")
|
|
69842
|
+
self._Description = params.get("Description")
|
|
69578
69843
|
self._TaskSubmitApproval = params.get("TaskSubmitApproval")
|
|
69579
69844
|
if params.get("ResourcePoolInfo") is not None:
|
|
69580
69845
|
self._ResourcePoolInfo = ResourcePoolInfo()
|
|
@@ -69584,6 +69849,7 @@ class ModifyProjectRequest(AbstractModel):
|
|
|
69584
69849
|
self._ExtraOptions = params.get("ExtraOptions")
|
|
69585
69850
|
self._Model = params.get("Model")
|
|
69586
69851
|
self._ProjectOwner = params.get("ProjectOwner")
|
|
69852
|
+
self._ModifyType = params.get("ModifyType")
|
|
69587
69853
|
memeber_set = set(params.keys())
|
|
69588
69854
|
for name, value in vars(self).items():
|
|
69589
69855
|
property_name = name[1:]
|
|
@@ -72342,7 +72608,7 @@ class ModifyTaskScriptRequest(AbstractModel):
|
|
|
72342
72608
|
:type ProjectId: str
|
|
72343
72609
|
:param _TaskId: 任务ID
|
|
72344
72610
|
:type TaskId: str
|
|
72345
|
-
:param _ScriptContent:
|
|
72611
|
+
:param _ScriptContent: 存在脚本的任务必填(shell任务、Hive任务、python任务等),脚本内容 base64编码
|
|
72346
72612
|
:type ScriptContent: str
|
|
72347
72613
|
:param _IntegrationNodeDetails: 集成任务脚本配置
|
|
72348
72614
|
:type IntegrationNodeDetails: list of IntegrationNodeDetail
|
|
@@ -72376,7 +72642,7 @@ class ModifyTaskScriptRequest(AbstractModel):
|
|
|
72376
72642
|
|
|
72377
72643
|
@property
|
|
72378
72644
|
def ScriptContent(self):
|
|
72379
|
-
"""
|
|
72645
|
+
"""存在脚本的任务必填(shell任务、Hive任务、python任务等),脚本内容 base64编码
|
|
72380
72646
|
:rtype: str
|
|
72381
72647
|
"""
|
|
72382
72648
|
return self._ScriptContent
|