tencentcloud-sdk-python-dlc 3.0.1020__tar.gz → 3.0.1028__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-dlc-3.0.1020 → tencentcloud-sdk-python-dlc-3.0.1028}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-dlc-3.0.1020 → tencentcloud-sdk-python-dlc-3.0.1028}/setup.py +1 -1
- {tencentcloud-sdk-python-dlc-3.0.1020 → tencentcloud-sdk-python-dlc-3.0.1028}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-dlc-3.0.1020 → tencentcloud-sdk-python-dlc-3.0.1028}/tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- {tencentcloud-sdk-python-dlc-3.0.1020 → tencentcloud-sdk-python-dlc-3.0.1028}/tencentcloud/dlc/v20210125/errorcodes.py +3 -0
- {tencentcloud-sdk-python-dlc-3.0.1020 → tencentcloud-sdk-python-dlc-3.0.1028}/tencentcloud/dlc/v20210125/models.py +212 -0
- {tencentcloud-sdk-python-dlc-3.0.1020 → tencentcloud-sdk-python-dlc-3.0.1028}/tencentcloud_sdk_python_dlc.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-dlc-3.0.1028/tencentcloud_sdk_python_dlc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-dlc-3.0.1020/tencentcloud_sdk_python_dlc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-dlc-3.0.1020 → tencentcloud-sdk-python-dlc-3.0.1028}/README.rst +0 -0
- {tencentcloud-sdk-python-dlc-3.0.1020 → tencentcloud-sdk-python-dlc-3.0.1028}/setup.cfg +0 -0
- {tencentcloud-sdk-python-dlc-3.0.1020 → tencentcloud-sdk-python-dlc-3.0.1028}/tencentcloud/dlc/__init__.py +0 -0
- {tencentcloud-sdk-python-dlc-3.0.1020 → tencentcloud-sdk-python-dlc-3.0.1028}/tencentcloud/dlc/v20210125/__init__.py +0 -0
- {tencentcloud-sdk-python-dlc-3.0.1020 → tencentcloud-sdk-python-dlc-3.0.1028}/tencentcloud_sdk_python_dlc.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-dlc-3.0.1020 → tencentcloud-sdk-python-dlc-3.0.1028}/tencentcloud_sdk_python_dlc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-dlc-3.0.1020 → tencentcloud-sdk-python-dlc-3.0.1028}/tencentcloud_sdk_python_dlc.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-dlc',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1028"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Dlc SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1199,6 +1199,29 @@ class DlcClient(AbstractClient):
|
|
|
1199
1199
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1200
1200
|
|
|
1201
1201
|
|
|
1202
|
+
def DescribeDataEngineEvents(self, request):
|
|
1203
|
+
"""查询数据引擎事件
|
|
1204
|
+
|
|
1205
|
+
:param request: Request instance for DescribeDataEngineEvents.
|
|
1206
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeDataEngineEventsRequest`
|
|
1207
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeDataEngineEventsResponse`
|
|
1208
|
+
|
|
1209
|
+
"""
|
|
1210
|
+
try:
|
|
1211
|
+
params = request._serialize()
|
|
1212
|
+
headers = request.headers
|
|
1213
|
+
body = self.call("DescribeDataEngineEvents", params, headers=headers)
|
|
1214
|
+
response = json.loads(body)
|
|
1215
|
+
model = models.DescribeDataEngineEventsResponse()
|
|
1216
|
+
model._deserialize(response["Response"])
|
|
1217
|
+
return model
|
|
1218
|
+
except Exception as e:
|
|
1219
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1220
|
+
raise
|
|
1221
|
+
else:
|
|
1222
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1223
|
+
|
|
1224
|
+
|
|
1202
1225
|
def DescribeDataEngineImageVersions(self, request):
|
|
1203
1226
|
"""本接口(DescribeDataEngineImageVersions)用于获取独享集群大版本镜像列表。
|
|
1204
1227
|
|
|
@@ -641,6 +641,9 @@ UNAUTHORIZEDOPERATION_MODIFYUSERTYPE = 'UnauthorizedOperation.ModifyUserType'
|
|
|
641
641
|
# 子用户不是管理员,无权修改工作组信息。
|
|
642
642
|
UNAUTHORIZEDOPERATION_MODIFYWORKGROUPINFO = 'UnauthorizedOperation.ModifyWorkgroupInfo'
|
|
643
643
|
|
|
644
|
+
# 子用户无权查看引擎监控。
|
|
645
|
+
UNAUTHORIZEDOPERATION_MONITORCOMPUTINGENGINE = 'UnauthorizedOperation.MonitorComputingEngine'
|
|
646
|
+
|
|
644
647
|
# 没有支付权限。
|
|
645
648
|
UNAUTHORIZEDOPERATION_NOPAYMENTAUTHORITY = 'UnauthorizedOperation.NoPaymentAuthority'
|
|
646
649
|
|
|
@@ -9863,6 +9863,158 @@ class DescribeDMSTablesResponse(AbstractModel):
|
|
|
9863
9863
|
self._RequestId = params.get("RequestId")
|
|
9864
9864
|
|
|
9865
9865
|
|
|
9866
|
+
class DescribeDataEngineEventsRequest(AbstractModel):
|
|
9867
|
+
"""DescribeDataEngineEvents请求参数结构体
|
|
9868
|
+
|
|
9869
|
+
"""
|
|
9870
|
+
|
|
9871
|
+
def __init__(self):
|
|
9872
|
+
r"""
|
|
9873
|
+
:param _DataEngineName: 虚拟集群名称
|
|
9874
|
+
:type DataEngineName: str
|
|
9875
|
+
:param _Limit: 返回数量,默认为10,最大为100
|
|
9876
|
+
:type Limit: int
|
|
9877
|
+
:param _Offset: 偏移量,默认为0
|
|
9878
|
+
:type Offset: int
|
|
9879
|
+
"""
|
|
9880
|
+
self._DataEngineName = None
|
|
9881
|
+
self._Limit = None
|
|
9882
|
+
self._Offset = None
|
|
9883
|
+
|
|
9884
|
+
@property
|
|
9885
|
+
def DataEngineName(self):
|
|
9886
|
+
return self._DataEngineName
|
|
9887
|
+
|
|
9888
|
+
@DataEngineName.setter
|
|
9889
|
+
def DataEngineName(self, DataEngineName):
|
|
9890
|
+
self._DataEngineName = DataEngineName
|
|
9891
|
+
|
|
9892
|
+
@property
|
|
9893
|
+
def Limit(self):
|
|
9894
|
+
return self._Limit
|
|
9895
|
+
|
|
9896
|
+
@Limit.setter
|
|
9897
|
+
def Limit(self, Limit):
|
|
9898
|
+
self._Limit = Limit
|
|
9899
|
+
|
|
9900
|
+
@property
|
|
9901
|
+
def Offset(self):
|
|
9902
|
+
return self._Offset
|
|
9903
|
+
|
|
9904
|
+
@Offset.setter
|
|
9905
|
+
def Offset(self, Offset):
|
|
9906
|
+
self._Offset = Offset
|
|
9907
|
+
|
|
9908
|
+
|
|
9909
|
+
def _deserialize(self, params):
|
|
9910
|
+
self._DataEngineName = params.get("DataEngineName")
|
|
9911
|
+
self._Limit = params.get("Limit")
|
|
9912
|
+
self._Offset = params.get("Offset")
|
|
9913
|
+
memeber_set = set(params.keys())
|
|
9914
|
+
for name, value in vars(self).items():
|
|
9915
|
+
property_name = name[1:]
|
|
9916
|
+
if property_name in memeber_set:
|
|
9917
|
+
memeber_set.remove(property_name)
|
|
9918
|
+
if len(memeber_set) > 0:
|
|
9919
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9920
|
+
|
|
9921
|
+
|
|
9922
|
+
|
|
9923
|
+
class DescribeDataEngineEventsResponse(AbstractModel):
|
|
9924
|
+
"""DescribeDataEngineEvents返回参数结构体
|
|
9925
|
+
|
|
9926
|
+
"""
|
|
9927
|
+
|
|
9928
|
+
def __init__(self):
|
|
9929
|
+
r"""
|
|
9930
|
+
:param _Events: 事件详细信息
|
|
9931
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9932
|
+
:type Events: list of HouseEventsInfo
|
|
9933
|
+
:param _Page: 分页号
|
|
9934
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9935
|
+
:type Page: int
|
|
9936
|
+
:param _Size: 分页大小
|
|
9937
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9938
|
+
:type Size: int
|
|
9939
|
+
:param _TotalPages: 总页数
|
|
9940
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9941
|
+
:type TotalPages: int
|
|
9942
|
+
:param _TotalCount: 总条数
|
|
9943
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9944
|
+
:type TotalCount: int
|
|
9945
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
9946
|
+
:type RequestId: str
|
|
9947
|
+
"""
|
|
9948
|
+
self._Events = None
|
|
9949
|
+
self._Page = None
|
|
9950
|
+
self._Size = None
|
|
9951
|
+
self._TotalPages = None
|
|
9952
|
+
self._TotalCount = None
|
|
9953
|
+
self._RequestId = None
|
|
9954
|
+
|
|
9955
|
+
@property
|
|
9956
|
+
def Events(self):
|
|
9957
|
+
return self._Events
|
|
9958
|
+
|
|
9959
|
+
@Events.setter
|
|
9960
|
+
def Events(self, Events):
|
|
9961
|
+
self._Events = Events
|
|
9962
|
+
|
|
9963
|
+
@property
|
|
9964
|
+
def Page(self):
|
|
9965
|
+
return self._Page
|
|
9966
|
+
|
|
9967
|
+
@Page.setter
|
|
9968
|
+
def Page(self, Page):
|
|
9969
|
+
self._Page = Page
|
|
9970
|
+
|
|
9971
|
+
@property
|
|
9972
|
+
def Size(self):
|
|
9973
|
+
return self._Size
|
|
9974
|
+
|
|
9975
|
+
@Size.setter
|
|
9976
|
+
def Size(self, Size):
|
|
9977
|
+
self._Size = Size
|
|
9978
|
+
|
|
9979
|
+
@property
|
|
9980
|
+
def TotalPages(self):
|
|
9981
|
+
return self._TotalPages
|
|
9982
|
+
|
|
9983
|
+
@TotalPages.setter
|
|
9984
|
+
def TotalPages(self, TotalPages):
|
|
9985
|
+
self._TotalPages = TotalPages
|
|
9986
|
+
|
|
9987
|
+
@property
|
|
9988
|
+
def TotalCount(self):
|
|
9989
|
+
return self._TotalCount
|
|
9990
|
+
|
|
9991
|
+
@TotalCount.setter
|
|
9992
|
+
def TotalCount(self, TotalCount):
|
|
9993
|
+
self._TotalCount = TotalCount
|
|
9994
|
+
|
|
9995
|
+
@property
|
|
9996
|
+
def RequestId(self):
|
|
9997
|
+
return self._RequestId
|
|
9998
|
+
|
|
9999
|
+
@RequestId.setter
|
|
10000
|
+
def RequestId(self, RequestId):
|
|
10001
|
+
self._RequestId = RequestId
|
|
10002
|
+
|
|
10003
|
+
|
|
10004
|
+
def _deserialize(self, params):
|
|
10005
|
+
if params.get("Events") is not None:
|
|
10006
|
+
self._Events = []
|
|
10007
|
+
for item in params.get("Events"):
|
|
10008
|
+
obj = HouseEventsInfo()
|
|
10009
|
+
obj._deserialize(item)
|
|
10010
|
+
self._Events.append(obj)
|
|
10011
|
+
self._Page = params.get("Page")
|
|
10012
|
+
self._Size = params.get("Size")
|
|
10013
|
+
self._TotalPages = params.get("TotalPages")
|
|
10014
|
+
self._TotalCount = params.get("TotalCount")
|
|
10015
|
+
self._RequestId = params.get("RequestId")
|
|
10016
|
+
|
|
10017
|
+
|
|
9866
10018
|
class DescribeDataEngineImageVersionsRequest(AbstractModel):
|
|
9867
10019
|
"""DescribeDataEngineImageVersions请求参数结构体
|
|
9868
10020
|
|
|
@@ -15505,6 +15657,66 @@ class HiveInfo(AbstractModel):
|
|
|
15505
15657
|
|
|
15506
15658
|
|
|
15507
15659
|
|
|
15660
|
+
class HouseEventsInfo(AbstractModel):
|
|
15661
|
+
"""集群事件日志
|
|
15662
|
+
|
|
15663
|
+
"""
|
|
15664
|
+
|
|
15665
|
+
def __init__(self):
|
|
15666
|
+
r"""
|
|
15667
|
+
:param _Time: 事件时间
|
|
15668
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
15669
|
+
:type Time: list of str
|
|
15670
|
+
:param _EventsAction: 事件类型
|
|
15671
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
15672
|
+
:type EventsAction: list of str
|
|
15673
|
+
:param _ClusterInfo: 集群信息
|
|
15674
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
15675
|
+
:type ClusterInfo: list of str
|
|
15676
|
+
"""
|
|
15677
|
+
self._Time = None
|
|
15678
|
+
self._EventsAction = None
|
|
15679
|
+
self._ClusterInfo = None
|
|
15680
|
+
|
|
15681
|
+
@property
|
|
15682
|
+
def Time(self):
|
|
15683
|
+
return self._Time
|
|
15684
|
+
|
|
15685
|
+
@Time.setter
|
|
15686
|
+
def Time(self, Time):
|
|
15687
|
+
self._Time = Time
|
|
15688
|
+
|
|
15689
|
+
@property
|
|
15690
|
+
def EventsAction(self):
|
|
15691
|
+
return self._EventsAction
|
|
15692
|
+
|
|
15693
|
+
@EventsAction.setter
|
|
15694
|
+
def EventsAction(self, EventsAction):
|
|
15695
|
+
self._EventsAction = EventsAction
|
|
15696
|
+
|
|
15697
|
+
@property
|
|
15698
|
+
def ClusterInfo(self):
|
|
15699
|
+
return self._ClusterInfo
|
|
15700
|
+
|
|
15701
|
+
@ClusterInfo.setter
|
|
15702
|
+
def ClusterInfo(self, ClusterInfo):
|
|
15703
|
+
self._ClusterInfo = ClusterInfo
|
|
15704
|
+
|
|
15705
|
+
|
|
15706
|
+
def _deserialize(self, params):
|
|
15707
|
+
self._Time = params.get("Time")
|
|
15708
|
+
self._EventsAction = params.get("EventsAction")
|
|
15709
|
+
self._ClusterInfo = params.get("ClusterInfo")
|
|
15710
|
+
memeber_set = set(params.keys())
|
|
15711
|
+
for name, value in vars(self).items():
|
|
15712
|
+
property_name = name[1:]
|
|
15713
|
+
if property_name in memeber_set:
|
|
15714
|
+
memeber_set.remove(property_name)
|
|
15715
|
+
if len(memeber_set) > 0:
|
|
15716
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
15717
|
+
|
|
15718
|
+
|
|
15719
|
+
|
|
15508
15720
|
class IpPortPair(AbstractModel):
|
|
15509
15721
|
"""ip端口对信息
|
|
15510
15722
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1028
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1020
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|