tencentcloud-sdk-python 3.0.1379__py2.py3-none-any.whl → 3.0.1381__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tencentcloud/__init__.py +1 -1
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +5 -6
- tencentcloud/autoscaling/v20180419/models.py +398 -294
- tencentcloud/batch/v20170312/models.py +2 -2
- tencentcloud/bh/v20230418/models.py +235 -2
- tencentcloud/bi/v20220105/models.py +32 -0
- tencentcloud/cat/v20180409/models.py +15 -0
- tencentcloud/cdb/v20170320/errorcodes.py +6 -0
- tencentcloud/cdb/v20170320/models.py +32 -2
- tencentcloud/cfs/v20190719/cfs_client.py +1 -1
- tencentcloud/cfs/v20190719/models.py +108 -104
- tencentcloud/cfw/v20190904/models.py +24 -24
- tencentcloud/clb/v20180317/clb_client.py +1 -1
- tencentcloud/clb/v20180317/models.py +8 -8
- tencentcloud/cvm/v20170312/models.py +46 -18
- tencentcloud/cynosdb/v20190107/errorcodes.py +9 -0
- tencentcloud/cynosdb/v20190107/models.py +21 -2
- tencentcloud/emr/v20190103/models.py +30 -0
- tencentcloud/ess/v20201111/models.py +15 -0
- tencentcloud/essbasic/v20210526/models.py +2 -2
- tencentcloud/lke/v20231130/models.py +2 -2
- tencentcloud/lowcode/v20210108/errorcodes.py +3 -0
- tencentcloud/mps/v20190612/models.py +2 -2
- tencentcloud/postgres/v20170312/models.py +0 -79
- tencentcloud/postgres/v20170312/postgres_client.py +12 -29
- tencentcloud/tbaas/v20180416/models.py +0 -234
- tencentcloud/tbaas/v20180416/tbaas_client.py +0 -23
- tencentcloud/tdmq/v20200217/errorcodes.py +6 -0
- tencentcloud/teo/v20220901/models.py +657 -100
- tencentcloud/teo/v20220901/teo_client.py +23 -0
- tencentcloud/tke/v20180525/models.py +247 -189
- tencentcloud/tmt/v20180321/models.py +147 -0
- tencentcloud/trtc/v20190722/trtc_client.py +2 -3
- tencentcloud/vpc/v20170312/models.py +138 -100
- tencentcloud/vpc/v20170312/vpc_client.py +1 -1
- tencentcloud/wedata/v20210820/models.py +602 -2
- tencentcloud/wedata/v20210820/wedata_client.py +69 -0
- {tencentcloud_sdk_python-3.0.1379.dist-info → tencentcloud_sdk_python-3.0.1381.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1379.dist-info → tencentcloud_sdk_python-3.0.1381.dist-info}/RECORD +42 -42
- {tencentcloud_sdk_python-3.0.1379.dist-info → tencentcloud_sdk_python-3.0.1381.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1379.dist-info → tencentcloud_sdk_python-3.0.1381.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1379.dist-info → tencentcloud_sdk_python-3.0.1381.dist-info}/top_level.txt +0 -0
@@ -3301,7 +3301,7 @@ class VpcClient(AbstractClient):
|
|
3301
3301
|
|
3302
3302
|
|
3303
3303
|
def DeleteVpcEndPointService(self, request):
|
3304
|
-
"""本接口(DeleteVpcEndPointService
|
3304
|
+
"""本接口(DeleteVpcEndPointService)用于删除终端节点服务。限制:当有终端节点关联到终端节点服务时,无法删除终端节点服务。
|
3305
3305
|
|
3306
3306
|
:param request: Request instance for DeleteVpcEndPointService.
|
3307
3307
|
:type request: :class:`tencentcloud.vpc.v20170312.models.DeleteVpcEndPointServiceRequest`
|
@@ -2553,6 +2553,100 @@ class ApproveType(AbstractModel):
|
|
2553
2553
|
|
2554
2554
|
|
2555
2555
|
|
2556
|
+
class AsyncResourceVO(AbstractModel):
|
2557
|
+
"""操作资源DTO
|
2558
|
+
|
2559
|
+
"""
|
2560
|
+
|
2561
|
+
def __init__(self):
|
2562
|
+
r"""
|
2563
|
+
:param _ProcessId: 处理Id
|
2564
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2565
|
+
:type ProcessId: int
|
2566
|
+
:param _ResourceId: 资源Id
|
2567
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2568
|
+
:type ResourceId: str
|
2569
|
+
:param _ResourceName: 资源名称
|
2570
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2571
|
+
:type ResourceName: str
|
2572
|
+
:param _ExtraInfo: 自定义信息
|
2573
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2574
|
+
:type ExtraInfo: list of ParamInfo
|
2575
|
+
"""
|
2576
|
+
self._ProcessId = None
|
2577
|
+
self._ResourceId = None
|
2578
|
+
self._ResourceName = None
|
2579
|
+
self._ExtraInfo = None
|
2580
|
+
|
2581
|
+
@property
|
2582
|
+
def ProcessId(self):
|
2583
|
+
"""处理Id
|
2584
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2585
|
+
:rtype: int
|
2586
|
+
"""
|
2587
|
+
return self._ProcessId
|
2588
|
+
|
2589
|
+
@ProcessId.setter
|
2590
|
+
def ProcessId(self, ProcessId):
|
2591
|
+
self._ProcessId = ProcessId
|
2592
|
+
|
2593
|
+
@property
|
2594
|
+
def ResourceId(self):
|
2595
|
+
"""资源Id
|
2596
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2597
|
+
:rtype: str
|
2598
|
+
"""
|
2599
|
+
return self._ResourceId
|
2600
|
+
|
2601
|
+
@ResourceId.setter
|
2602
|
+
def ResourceId(self, ResourceId):
|
2603
|
+
self._ResourceId = ResourceId
|
2604
|
+
|
2605
|
+
@property
|
2606
|
+
def ResourceName(self):
|
2607
|
+
"""资源名称
|
2608
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2609
|
+
:rtype: str
|
2610
|
+
"""
|
2611
|
+
return self._ResourceName
|
2612
|
+
|
2613
|
+
@ResourceName.setter
|
2614
|
+
def ResourceName(self, ResourceName):
|
2615
|
+
self._ResourceName = ResourceName
|
2616
|
+
|
2617
|
+
@property
|
2618
|
+
def ExtraInfo(self):
|
2619
|
+
"""自定义信息
|
2620
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2621
|
+
:rtype: list of ParamInfo
|
2622
|
+
"""
|
2623
|
+
return self._ExtraInfo
|
2624
|
+
|
2625
|
+
@ExtraInfo.setter
|
2626
|
+
def ExtraInfo(self, ExtraInfo):
|
2627
|
+
self._ExtraInfo = ExtraInfo
|
2628
|
+
|
2629
|
+
|
2630
|
+
def _deserialize(self, params):
|
2631
|
+
self._ProcessId = params.get("ProcessId")
|
2632
|
+
self._ResourceId = params.get("ResourceId")
|
2633
|
+
self._ResourceName = params.get("ResourceName")
|
2634
|
+
if params.get("ExtraInfo") is not None:
|
2635
|
+
self._ExtraInfo = []
|
2636
|
+
for item in params.get("ExtraInfo"):
|
2637
|
+
obj = ParamInfo()
|
2638
|
+
obj._deserialize(item)
|
2639
|
+
self._ExtraInfo.append(obj)
|
2640
|
+
memeber_set = set(params.keys())
|
2641
|
+
for name, value in vars(self).items():
|
2642
|
+
property_name = name[1:]
|
2643
|
+
if property_name in memeber_set:
|
2644
|
+
memeber_set.remove(property_name)
|
2645
|
+
if len(memeber_set) > 0:
|
2646
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2647
|
+
|
2648
|
+
|
2649
|
+
|
2556
2650
|
class AttributeItemDTO(AbstractModel):
|
2557
2651
|
"""aiops基础信息
|
2558
2652
|
|
@@ -7538,9 +7632,12 @@ class CodeTemplateDetail(AbstractModel):
|
|
7538
7632
|
:param _Submit: 是否提交
|
7539
7633
|
注意:此字段可能返回 null,表示取不到有效值。
|
7540
7634
|
:type Submit: bool
|
7541
|
-
:param _ScriptChange:
|
7635
|
+
:param _ScriptChange: 模版脚本是否发生变化
|
7542
7636
|
注意:此字段可能返回 null,表示取不到有效值。
|
7543
7637
|
:type ScriptChange: bool
|
7638
|
+
:param _Content: 代码模版脚本,base64编码返回
|
7639
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7640
|
+
:type Content: str
|
7544
7641
|
"""
|
7545
7642
|
self._ProjectId = None
|
7546
7643
|
self._CodeTemplateName = None
|
@@ -7559,6 +7656,7 @@ class CodeTemplateDetail(AbstractModel):
|
|
7559
7656
|
self._ResourceGroup = None
|
7560
7657
|
self._Submit = None
|
7561
7658
|
self._ScriptChange = None
|
7659
|
+
self._Content = None
|
7562
7660
|
|
7563
7661
|
@property
|
7564
7662
|
def ProjectId(self):
|
@@ -7754,7 +7852,7 @@ class CodeTemplateDetail(AbstractModel):
|
|
7754
7852
|
|
7755
7853
|
@property
|
7756
7854
|
def ScriptChange(self):
|
7757
|
-
"""
|
7855
|
+
"""模版脚本是否发生变化
|
7758
7856
|
注意:此字段可能返回 null,表示取不到有效值。
|
7759
7857
|
:rtype: bool
|
7760
7858
|
"""
|
@@ -7764,6 +7862,18 @@ class CodeTemplateDetail(AbstractModel):
|
|
7764
7862
|
def ScriptChange(self, ScriptChange):
|
7765
7863
|
self._ScriptChange = ScriptChange
|
7766
7864
|
|
7865
|
+
@property
|
7866
|
+
def Content(self):
|
7867
|
+
"""代码模版脚本,base64编码返回
|
7868
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7869
|
+
:rtype: str
|
7870
|
+
"""
|
7871
|
+
return self._Content
|
7872
|
+
|
7873
|
+
@Content.setter
|
7874
|
+
def Content(self, Content):
|
7875
|
+
self._Content = Content
|
7876
|
+
|
7767
7877
|
|
7768
7878
|
def _deserialize(self, params):
|
7769
7879
|
self._ProjectId = params.get("ProjectId")
|
@@ -7785,6 +7895,7 @@ class CodeTemplateDetail(AbstractModel):
|
|
7785
7895
|
self._ResourceGroup = params.get("ResourceGroup")
|
7786
7896
|
self._Submit = params.get("Submit")
|
7787
7897
|
self._ScriptChange = params.get("ScriptChange")
|
7898
|
+
self._Content = params.get("Content")
|
7788
7899
|
memeber_set = set(params.keys())
|
7789
7900
|
for name, value in vars(self).items():
|
7790
7901
|
property_name = name[1:]
|
@@ -22763,6 +22874,119 @@ class DescribeBatchOperateTaskResponse(AbstractModel):
|
|
22763
22874
|
self._RequestId = params.get("RequestId")
|
22764
22875
|
|
22765
22876
|
|
22877
|
+
class DescribeCodeTemplateDetailRequest(AbstractModel):
|
22878
|
+
"""DescribeCodeTemplateDetail请求参数结构体
|
22879
|
+
|
22880
|
+
"""
|
22881
|
+
|
22882
|
+
def __init__(self):
|
22883
|
+
r"""
|
22884
|
+
:param _ProjectId: 项目Id
|
22885
|
+
:type ProjectId: str
|
22886
|
+
:param _CodeTemplateId: 模版Id
|
22887
|
+
:type CodeTemplateId: str
|
22888
|
+
:param _NeedReturnScriptContent: 是否需要返回脚本内容,默认false。
|
22889
|
+
:type NeedReturnScriptContent: bool
|
22890
|
+
"""
|
22891
|
+
self._ProjectId = None
|
22892
|
+
self._CodeTemplateId = None
|
22893
|
+
self._NeedReturnScriptContent = None
|
22894
|
+
|
22895
|
+
@property
|
22896
|
+
def ProjectId(self):
|
22897
|
+
"""项目Id
|
22898
|
+
:rtype: str
|
22899
|
+
"""
|
22900
|
+
return self._ProjectId
|
22901
|
+
|
22902
|
+
@ProjectId.setter
|
22903
|
+
def ProjectId(self, ProjectId):
|
22904
|
+
self._ProjectId = ProjectId
|
22905
|
+
|
22906
|
+
@property
|
22907
|
+
def CodeTemplateId(self):
|
22908
|
+
"""模版Id
|
22909
|
+
:rtype: str
|
22910
|
+
"""
|
22911
|
+
return self._CodeTemplateId
|
22912
|
+
|
22913
|
+
@CodeTemplateId.setter
|
22914
|
+
def CodeTemplateId(self, CodeTemplateId):
|
22915
|
+
self._CodeTemplateId = CodeTemplateId
|
22916
|
+
|
22917
|
+
@property
|
22918
|
+
def NeedReturnScriptContent(self):
|
22919
|
+
"""是否需要返回脚本内容,默认false。
|
22920
|
+
:rtype: bool
|
22921
|
+
"""
|
22922
|
+
return self._NeedReturnScriptContent
|
22923
|
+
|
22924
|
+
@NeedReturnScriptContent.setter
|
22925
|
+
def NeedReturnScriptContent(self, NeedReturnScriptContent):
|
22926
|
+
self._NeedReturnScriptContent = NeedReturnScriptContent
|
22927
|
+
|
22928
|
+
|
22929
|
+
def _deserialize(self, params):
|
22930
|
+
self._ProjectId = params.get("ProjectId")
|
22931
|
+
self._CodeTemplateId = params.get("CodeTemplateId")
|
22932
|
+
self._NeedReturnScriptContent = params.get("NeedReturnScriptContent")
|
22933
|
+
memeber_set = set(params.keys())
|
22934
|
+
for name, value in vars(self).items():
|
22935
|
+
property_name = name[1:]
|
22936
|
+
if property_name in memeber_set:
|
22937
|
+
memeber_set.remove(property_name)
|
22938
|
+
if len(memeber_set) > 0:
|
22939
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
22940
|
+
|
22941
|
+
|
22942
|
+
|
22943
|
+
class DescribeCodeTemplateDetailResponse(AbstractModel):
|
22944
|
+
"""DescribeCodeTemplateDetail返回参数结构体
|
22945
|
+
|
22946
|
+
"""
|
22947
|
+
|
22948
|
+
def __init__(self):
|
22949
|
+
r"""
|
22950
|
+
:param _Data: 代码详情
|
22951
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
22952
|
+
:type Data: :class:`tencentcloud.wedata.v20210820.models.CodeTemplateDetail`
|
22953
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
22954
|
+
:type RequestId: str
|
22955
|
+
"""
|
22956
|
+
self._Data = None
|
22957
|
+
self._RequestId = None
|
22958
|
+
|
22959
|
+
@property
|
22960
|
+
def Data(self):
|
22961
|
+
"""代码详情
|
22962
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
22963
|
+
:rtype: :class:`tencentcloud.wedata.v20210820.models.CodeTemplateDetail`
|
22964
|
+
"""
|
22965
|
+
return self._Data
|
22966
|
+
|
22967
|
+
@Data.setter
|
22968
|
+
def Data(self, Data):
|
22969
|
+
self._Data = Data
|
22970
|
+
|
22971
|
+
@property
|
22972
|
+
def RequestId(self):
|
22973
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
22974
|
+
:rtype: str
|
22975
|
+
"""
|
22976
|
+
return self._RequestId
|
22977
|
+
|
22978
|
+
@RequestId.setter
|
22979
|
+
def RequestId(self, RequestId):
|
22980
|
+
self._RequestId = RequestId
|
22981
|
+
|
22982
|
+
|
22983
|
+
def _deserialize(self, params):
|
22984
|
+
if params.get("Data") is not None:
|
22985
|
+
self._Data = CodeTemplateDetail()
|
22986
|
+
self._Data._deserialize(params.get("Data"))
|
22987
|
+
self._RequestId = params.get("RequestId")
|
22988
|
+
|
22989
|
+
|
22766
22990
|
class DescribeColumnLineageRequest(AbstractModel):
|
22767
22991
|
"""DescribeColumnLineage请求参数结构体
|
22768
22992
|
|
@@ -49652,6 +49876,117 @@ class GeneralTaskParam(AbstractModel):
|
|
49652
49876
|
|
49653
49877
|
|
49654
49878
|
|
49879
|
+
class GetBatchDetailErrorLogRequest(AbstractModel):
|
49880
|
+
"""GetBatchDetailErrorLog请求参数结构体
|
49881
|
+
|
49882
|
+
"""
|
49883
|
+
|
49884
|
+
def __init__(self):
|
49885
|
+
r"""
|
49886
|
+
:param _JobId: 批量操作ID
|
49887
|
+
:type JobId: int
|
49888
|
+
:param _ResourceId: 资源对象ID
|
49889
|
+
:type ResourceId: str
|
49890
|
+
:param _ProjectId: 项目ID
|
49891
|
+
:type ProjectId: str
|
49892
|
+
"""
|
49893
|
+
self._JobId = None
|
49894
|
+
self._ResourceId = None
|
49895
|
+
self._ProjectId = None
|
49896
|
+
|
49897
|
+
@property
|
49898
|
+
def JobId(self):
|
49899
|
+
"""批量操作ID
|
49900
|
+
:rtype: int
|
49901
|
+
"""
|
49902
|
+
return self._JobId
|
49903
|
+
|
49904
|
+
@JobId.setter
|
49905
|
+
def JobId(self, JobId):
|
49906
|
+
self._JobId = JobId
|
49907
|
+
|
49908
|
+
@property
|
49909
|
+
def ResourceId(self):
|
49910
|
+
"""资源对象ID
|
49911
|
+
:rtype: str
|
49912
|
+
"""
|
49913
|
+
return self._ResourceId
|
49914
|
+
|
49915
|
+
@ResourceId.setter
|
49916
|
+
def ResourceId(self, ResourceId):
|
49917
|
+
self._ResourceId = ResourceId
|
49918
|
+
|
49919
|
+
@property
|
49920
|
+
def ProjectId(self):
|
49921
|
+
"""项目ID
|
49922
|
+
:rtype: str
|
49923
|
+
"""
|
49924
|
+
return self._ProjectId
|
49925
|
+
|
49926
|
+
@ProjectId.setter
|
49927
|
+
def ProjectId(self, ProjectId):
|
49928
|
+
self._ProjectId = ProjectId
|
49929
|
+
|
49930
|
+
|
49931
|
+
def _deserialize(self, params):
|
49932
|
+
self._JobId = params.get("JobId")
|
49933
|
+
self._ResourceId = params.get("ResourceId")
|
49934
|
+
self._ProjectId = params.get("ProjectId")
|
49935
|
+
memeber_set = set(params.keys())
|
49936
|
+
for name, value in vars(self).items():
|
49937
|
+
property_name = name[1:]
|
49938
|
+
if property_name in memeber_set:
|
49939
|
+
memeber_set.remove(property_name)
|
49940
|
+
if len(memeber_set) > 0:
|
49941
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
49942
|
+
|
49943
|
+
|
49944
|
+
|
49945
|
+
class GetBatchDetailErrorLogResponse(AbstractModel):
|
49946
|
+
"""GetBatchDetailErrorLog返回参数结构体
|
49947
|
+
|
49948
|
+
"""
|
49949
|
+
|
49950
|
+
def __init__(self):
|
49951
|
+
r"""
|
49952
|
+
:param _Data: 日志返回
|
49953
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
49954
|
+
:type Data: str
|
49955
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
49956
|
+
:type RequestId: str
|
49957
|
+
"""
|
49958
|
+
self._Data = None
|
49959
|
+
self._RequestId = None
|
49960
|
+
|
49961
|
+
@property
|
49962
|
+
def Data(self):
|
49963
|
+
"""日志返回
|
49964
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
49965
|
+
:rtype: str
|
49966
|
+
"""
|
49967
|
+
return self._Data
|
49968
|
+
|
49969
|
+
@Data.setter
|
49970
|
+
def Data(self, Data):
|
49971
|
+
self._Data = Data
|
49972
|
+
|
49973
|
+
@property
|
49974
|
+
def RequestId(self):
|
49975
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
49976
|
+
:rtype: str
|
49977
|
+
"""
|
49978
|
+
return self._RequestId
|
49979
|
+
|
49980
|
+
@RequestId.setter
|
49981
|
+
def RequestId(self, RequestId):
|
49982
|
+
self._RequestId = RequestId
|
49983
|
+
|
49984
|
+
|
49985
|
+
def _deserialize(self, params):
|
49986
|
+
self._Data = params.get("Data")
|
49987
|
+
self._RequestId = params.get("RequestId")
|
49988
|
+
|
49989
|
+
|
49655
49990
|
class GetCosTokenRequest(AbstractModel):
|
49656
49991
|
"""GetCosToken请求参数结构体
|
49657
49992
|
|
@@ -59321,6 +59656,271 @@ class LinkOpsDto(AbstractModel):
|
|
59321
59656
|
|
59322
59657
|
|
59323
59658
|
|
59659
|
+
class ListBatchDetailRequest(AbstractModel):
|
59660
|
+
"""ListBatchDetail请求参数结构体
|
59661
|
+
|
59662
|
+
"""
|
59663
|
+
|
59664
|
+
def __init__(self):
|
59665
|
+
r"""
|
59666
|
+
:param _JobId: 批量操作历史Id
|
59667
|
+
:type JobId: int
|
59668
|
+
:param _ProjectId: 项目Id
|
59669
|
+
:type ProjectId: str
|
59670
|
+
"""
|
59671
|
+
self._JobId = None
|
59672
|
+
self._ProjectId = None
|
59673
|
+
|
59674
|
+
@property
|
59675
|
+
def JobId(self):
|
59676
|
+
"""批量操作历史Id
|
59677
|
+
:rtype: int
|
59678
|
+
"""
|
59679
|
+
return self._JobId
|
59680
|
+
|
59681
|
+
@JobId.setter
|
59682
|
+
def JobId(self, JobId):
|
59683
|
+
self._JobId = JobId
|
59684
|
+
|
59685
|
+
@property
|
59686
|
+
def ProjectId(self):
|
59687
|
+
"""项目Id
|
59688
|
+
:rtype: str
|
59689
|
+
"""
|
59690
|
+
return self._ProjectId
|
59691
|
+
|
59692
|
+
@ProjectId.setter
|
59693
|
+
def ProjectId(self, ProjectId):
|
59694
|
+
self._ProjectId = ProjectId
|
59695
|
+
|
59696
|
+
|
59697
|
+
def _deserialize(self, params):
|
59698
|
+
self._JobId = params.get("JobId")
|
59699
|
+
self._ProjectId = params.get("ProjectId")
|
59700
|
+
memeber_set = set(params.keys())
|
59701
|
+
for name, value in vars(self).items():
|
59702
|
+
property_name = name[1:]
|
59703
|
+
if property_name in memeber_set:
|
59704
|
+
memeber_set.remove(property_name)
|
59705
|
+
if len(memeber_set) > 0:
|
59706
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
59707
|
+
|
59708
|
+
|
59709
|
+
|
59710
|
+
class ListBatchDetailResponse(AbstractModel):
|
59711
|
+
"""ListBatchDetail返回参数结构体
|
59712
|
+
|
59713
|
+
"""
|
59714
|
+
|
59715
|
+
def __init__(self):
|
59716
|
+
r"""
|
59717
|
+
:param _JobId: 批量操作ID
|
59718
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
59719
|
+
:type JobId: int
|
59720
|
+
:param _RunType: 运行类型:
|
59721
|
+
ASYNC-异步
|
59722
|
+
SYNC-同步
|
59723
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
59724
|
+
:type RunType: str
|
59725
|
+
:param _SuccessResource: 成功列表
|
59726
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
59727
|
+
:type SuccessResource: list of AsyncResourceVO
|
59728
|
+
:param _FailResource: 失败列表
|
59729
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
59730
|
+
:type FailResource: list of AsyncResourceVO
|
59731
|
+
:param _JobType: job类型
|
59732
|
+
BATCH_DELETE --批量删除:1、任务名称:ResourceName
|
59733
|
+
BATCH_CREATE_VERSION --批量提交:1、任务名称:ResourceId 2、资源组:GroupId
|
59734
|
+
BATCH_MODIFY_DATASOURCE --批量修改数据源:1、任务名称:ResourceName
|
59735
|
+
BATCH_MODIFY_INCHARGE --批量修改责任人:1、任务名称:ResourceName
|
59736
|
+
BATCH_MODIFY_PARAMETER --批量修改参数:1、任务名称:ResourceName
|
59737
|
+
BATCH_MODIFY_SCHEDULE --批量修改调度计划:1、任务名称:ResourceName
|
59738
|
+
BATCH_MODIFY_GROUPID --批量修改资源组:1、任务名称:ResourceName
|
59739
|
+
BATCH_MODIFY_CONFIG --批量修改高级配置:1、任务名称:ResourceName
|
59740
|
+
BATCH_MODIFY_SCHEDULE_PARAMETER --批量修改调度参数:1、任务名称:ResourceName
|
59741
|
+
FORM_CREATE_VERSION--模版提交
|
59742
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
59743
|
+
:type JobType: str
|
59744
|
+
:param _JobStatus: CREATING("CREATING", "创建中"),
|
59745
|
+
INIT("INIT", "已被创建"),
|
59746
|
+
RUNNING("RUNNING", "运行中"),
|
59747
|
+
SUCCESS("SUCCESS", "成功"),
|
59748
|
+
FAIL("FAIL", "失败"),
|
59749
|
+
PART_SUCCESS("PART_SUCCESS", "部分成功"),
|
59750
|
+
PART_SUCCESS_WITH_ALARM("PART_SUCCESS_WITH_ALARM", "部分成功有告警"),
|
59751
|
+
SUCCESS_WITH_ALARM("SUCCESS_WITH_ALARM", "成功有告警"),
|
59752
|
+
UNKNOWN("UNKNOWN", "未知状态");
|
59753
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
59754
|
+
:type JobStatus: str
|
59755
|
+
:param _TotalResource: 资源总数
|
59756
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
59757
|
+
:type TotalResource: int
|
59758
|
+
:param _NeedApprove: 批量提交是是否需要审批,其他的批量操作默认为null
|
59759
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
59760
|
+
:type NeedApprove: bool
|
59761
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
59762
|
+
:type RequestId: str
|
59763
|
+
"""
|
59764
|
+
self._JobId = None
|
59765
|
+
self._RunType = None
|
59766
|
+
self._SuccessResource = None
|
59767
|
+
self._FailResource = None
|
59768
|
+
self._JobType = None
|
59769
|
+
self._JobStatus = None
|
59770
|
+
self._TotalResource = None
|
59771
|
+
self._NeedApprove = None
|
59772
|
+
self._RequestId = None
|
59773
|
+
|
59774
|
+
@property
|
59775
|
+
def JobId(self):
|
59776
|
+
"""批量操作ID
|
59777
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
59778
|
+
:rtype: int
|
59779
|
+
"""
|
59780
|
+
return self._JobId
|
59781
|
+
|
59782
|
+
@JobId.setter
|
59783
|
+
def JobId(self, JobId):
|
59784
|
+
self._JobId = JobId
|
59785
|
+
|
59786
|
+
@property
|
59787
|
+
def RunType(self):
|
59788
|
+
"""运行类型:
|
59789
|
+
ASYNC-异步
|
59790
|
+
SYNC-同步
|
59791
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
59792
|
+
:rtype: str
|
59793
|
+
"""
|
59794
|
+
return self._RunType
|
59795
|
+
|
59796
|
+
@RunType.setter
|
59797
|
+
def RunType(self, RunType):
|
59798
|
+
self._RunType = RunType
|
59799
|
+
|
59800
|
+
@property
|
59801
|
+
def SuccessResource(self):
|
59802
|
+
"""成功列表
|
59803
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
59804
|
+
:rtype: list of AsyncResourceVO
|
59805
|
+
"""
|
59806
|
+
return self._SuccessResource
|
59807
|
+
|
59808
|
+
@SuccessResource.setter
|
59809
|
+
def SuccessResource(self, SuccessResource):
|
59810
|
+
self._SuccessResource = SuccessResource
|
59811
|
+
|
59812
|
+
@property
|
59813
|
+
def FailResource(self):
|
59814
|
+
"""失败列表
|
59815
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
59816
|
+
:rtype: list of AsyncResourceVO
|
59817
|
+
"""
|
59818
|
+
return self._FailResource
|
59819
|
+
|
59820
|
+
@FailResource.setter
|
59821
|
+
def FailResource(self, FailResource):
|
59822
|
+
self._FailResource = FailResource
|
59823
|
+
|
59824
|
+
@property
|
59825
|
+
def JobType(self):
|
59826
|
+
"""job类型
|
59827
|
+
BATCH_DELETE --批量删除:1、任务名称:ResourceName
|
59828
|
+
BATCH_CREATE_VERSION --批量提交:1、任务名称:ResourceId 2、资源组:GroupId
|
59829
|
+
BATCH_MODIFY_DATASOURCE --批量修改数据源:1、任务名称:ResourceName
|
59830
|
+
BATCH_MODIFY_INCHARGE --批量修改责任人:1、任务名称:ResourceName
|
59831
|
+
BATCH_MODIFY_PARAMETER --批量修改参数:1、任务名称:ResourceName
|
59832
|
+
BATCH_MODIFY_SCHEDULE --批量修改调度计划:1、任务名称:ResourceName
|
59833
|
+
BATCH_MODIFY_GROUPID --批量修改资源组:1、任务名称:ResourceName
|
59834
|
+
BATCH_MODIFY_CONFIG --批量修改高级配置:1、任务名称:ResourceName
|
59835
|
+
BATCH_MODIFY_SCHEDULE_PARAMETER --批量修改调度参数:1、任务名称:ResourceName
|
59836
|
+
FORM_CREATE_VERSION--模版提交
|
59837
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
59838
|
+
:rtype: str
|
59839
|
+
"""
|
59840
|
+
return self._JobType
|
59841
|
+
|
59842
|
+
@JobType.setter
|
59843
|
+
def JobType(self, JobType):
|
59844
|
+
self._JobType = JobType
|
59845
|
+
|
59846
|
+
@property
|
59847
|
+
def JobStatus(self):
|
59848
|
+
"""CREATING("CREATING", "创建中"),
|
59849
|
+
INIT("INIT", "已被创建"),
|
59850
|
+
RUNNING("RUNNING", "运行中"),
|
59851
|
+
SUCCESS("SUCCESS", "成功"),
|
59852
|
+
FAIL("FAIL", "失败"),
|
59853
|
+
PART_SUCCESS("PART_SUCCESS", "部分成功"),
|
59854
|
+
PART_SUCCESS_WITH_ALARM("PART_SUCCESS_WITH_ALARM", "部分成功有告警"),
|
59855
|
+
SUCCESS_WITH_ALARM("SUCCESS_WITH_ALARM", "成功有告警"),
|
59856
|
+
UNKNOWN("UNKNOWN", "未知状态");
|
59857
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
59858
|
+
:rtype: str
|
59859
|
+
"""
|
59860
|
+
return self._JobStatus
|
59861
|
+
|
59862
|
+
@JobStatus.setter
|
59863
|
+
def JobStatus(self, JobStatus):
|
59864
|
+
self._JobStatus = JobStatus
|
59865
|
+
|
59866
|
+
@property
|
59867
|
+
def TotalResource(self):
|
59868
|
+
"""资源总数
|
59869
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
59870
|
+
:rtype: int
|
59871
|
+
"""
|
59872
|
+
return self._TotalResource
|
59873
|
+
|
59874
|
+
@TotalResource.setter
|
59875
|
+
def TotalResource(self, TotalResource):
|
59876
|
+
self._TotalResource = TotalResource
|
59877
|
+
|
59878
|
+
@property
|
59879
|
+
def NeedApprove(self):
|
59880
|
+
"""批量提交是是否需要审批,其他的批量操作默认为null
|
59881
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
59882
|
+
:rtype: bool
|
59883
|
+
"""
|
59884
|
+
return self._NeedApprove
|
59885
|
+
|
59886
|
+
@NeedApprove.setter
|
59887
|
+
def NeedApprove(self, NeedApprove):
|
59888
|
+
self._NeedApprove = NeedApprove
|
59889
|
+
|
59890
|
+
@property
|
59891
|
+
def RequestId(self):
|
59892
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
59893
|
+
:rtype: str
|
59894
|
+
"""
|
59895
|
+
return self._RequestId
|
59896
|
+
|
59897
|
+
@RequestId.setter
|
59898
|
+
def RequestId(self, RequestId):
|
59899
|
+
self._RequestId = RequestId
|
59900
|
+
|
59901
|
+
|
59902
|
+
def _deserialize(self, params):
|
59903
|
+
self._JobId = params.get("JobId")
|
59904
|
+
self._RunType = params.get("RunType")
|
59905
|
+
if params.get("SuccessResource") is not None:
|
59906
|
+
self._SuccessResource = []
|
59907
|
+
for item in params.get("SuccessResource"):
|
59908
|
+
obj = AsyncResourceVO()
|
59909
|
+
obj._deserialize(item)
|
59910
|
+
self._SuccessResource.append(obj)
|
59911
|
+
if params.get("FailResource") is not None:
|
59912
|
+
self._FailResource = []
|
59913
|
+
for item in params.get("FailResource"):
|
59914
|
+
obj = AsyncResourceVO()
|
59915
|
+
obj._deserialize(item)
|
59916
|
+
self._FailResource.append(obj)
|
59917
|
+
self._JobType = params.get("JobType")
|
59918
|
+
self._JobStatus = params.get("JobStatus")
|
59919
|
+
self._TotalResource = params.get("TotalResource")
|
59920
|
+
self._NeedApprove = params.get("NeedApprove")
|
59921
|
+
self._RequestId = params.get("RequestId")
|
59922
|
+
|
59923
|
+
|
59324
59924
|
class ListInstancesRequest(AbstractModel):
|
59325
59925
|
"""ListInstances请求参数结构体
|
59326
59926
|
|