tencentcloud-sdk-python 3.0.1248__py2.py3-none-any.whl → 3.0.1250__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/cbs/v20170312/models.py +3 -3
- tencentcloud/cdn/v20180606/models.py +1 -1
- tencentcloud/cdwch/v20200915/models.py +26 -0
- tencentcloud/clb/v20180317/models.py +10 -5
- tencentcloud/cls/v20201016/models.py +81 -0
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +1 -1
- tencentcloud/cynosdb/v20190107/models.py +146 -0
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/models.py +388 -0
- tencentcloud/dsgc/v20190723/models.py +190 -26
- tencentcloud/emr/v20190103/models.py +1 -1
- tencentcloud/ess/v20201111/ess_client.py +43 -21
- tencentcloud/ess/v20201111/models.py +126 -15
- tencentcloud/essbasic/v20210526/essbasic_client.py +35 -15
- tencentcloud/essbasic/v20210526/models.py +144 -4
- tencentcloud/faceid/v20180301/models.py +1 -1
- tencentcloud/iotexplorer/v20190423/errorcodes.py +6 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +46 -0
- tencentcloud/iotexplorer/v20190423/models.py +293 -0
- tencentcloud/lke/v20231130/models.py +1 -2
- tencentcloud/mongodb/v20190725/models.py +3 -4
- tencentcloud/mps/v20190612/errorcodes.py +3 -0
- tencentcloud/mps/v20190612/models.py +981 -17
- tencentcloud/mps/v20190612/mps_client.py +93 -0
- tencentcloud/oceanus/v20190422/models.py +146 -0
- tencentcloud/oceanus/v20190422/oceanus_client.py +23 -0
- tencentcloud/redis/v20180412/models.py +98 -1
- tencentcloud/redis/v20180412/redis_client.py +24 -1
- tencentcloud/tcss/v20201101/tcss_client.py +15 -5
- tencentcloud/tke/v20180525/models.py +0 -106
- tencentcloud/tke/v20180525/tke_client.py +0 -25
- tencentcloud/tms/v20201229/errorcodes.py +3 -0
- tencentcloud/tms/v20201229/models.py +1 -1
- tencentcloud/trtc/v20190722/models.py +24 -5
- tencentcloud/vod/v20180717/vod_client.py +1 -0
- tencentcloud/vpc/v20170312/errorcodes.py +6 -0
- tencentcloud/vpc/v20170312/models.py +16 -4
- tencentcloud/vpc/v20170312/vpc_client.py +1 -1
- tencentcloud/waf/v20180125/models.py +1456 -515
- tencentcloud/waf/v20180125/waf_client.py +46 -0
- {tencentcloud_sdk_python-3.0.1248.dist-info → tencentcloud_sdk_python-3.0.1250.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1248.dist-info → tencentcloud_sdk_python-3.0.1250.dist-info}/RECORD +46 -46
- {tencentcloud_sdk_python-3.0.1248.dist-info → tencentcloud_sdk_python-3.0.1250.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1248.dist-info → tencentcloud_sdk_python-3.0.1250.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1248.dist-info → tencentcloud_sdk_python-3.0.1250.dist-info}/top_level.txt +0 -0
@@ -721,6 +721,218 @@ class AlterDMSTableResponse(AbstractModel):
|
|
721
721
|
self._RequestId = params.get("RequestId")
|
722
722
|
|
723
723
|
|
724
|
+
class AnalysisTaskResults(AbstractModel):
|
725
|
+
"""洞察分析结果返回体
|
726
|
+
|
727
|
+
"""
|
728
|
+
|
729
|
+
def __init__(self):
|
730
|
+
r"""
|
731
|
+
:param _Id: 任务Id
|
732
|
+
:type Id: str
|
733
|
+
:param _InstanceStartTime: 任务创建时间,毫秒时间戳
|
734
|
+
:type InstanceStartTime: int
|
735
|
+
:param _InstanceCompleteTime: 任务结束时间,毫秒时间戳
|
736
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
737
|
+
:type InstanceCompleteTime: int
|
738
|
+
:param _State: 任务状态:0 初始化, 1 执行中, 2 执行成功,3 数据写入中,4 排队中。-1 执行失败,-3 已取消。
|
739
|
+
:type State: int
|
740
|
+
:param _SQL: 任务SQL语句
|
741
|
+
:type SQL: str
|
742
|
+
:param _DataEngineName: 计算资源名字
|
743
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
744
|
+
:type DataEngineName: str
|
745
|
+
:param _JobTimeSum: 单位毫秒,引擎内执行耗时
|
746
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
747
|
+
:type JobTimeSum: int
|
748
|
+
:param _TaskTimeSum: 单位秒,CU资源消耗
|
749
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
750
|
+
:type TaskTimeSum: int
|
751
|
+
:param _InputRecordsSum: 数据扫描总行数
|
752
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
753
|
+
:type InputRecordsSum: int
|
754
|
+
:param _InputBytesSum: 数据扫描总 bytes
|
755
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
756
|
+
:type InputBytesSum: int
|
757
|
+
:param _OutputRecordsSum: 输出总行数
|
758
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
759
|
+
:type OutputRecordsSum: int
|
760
|
+
:param _OutputBytesSum: 输出总 bytes
|
761
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
762
|
+
:type OutputBytesSum: int
|
763
|
+
:param _ShuffleReadBytesSum: shuffle read 总 bytes
|
764
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
765
|
+
:type ShuffleReadBytesSum: int
|
766
|
+
:param _ShuffleReadRecordsSum: shuffle read 总行数
|
767
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
768
|
+
:type ShuffleReadRecordsSum: int
|
769
|
+
:param _AnalysisStatus: 洞察结果类型分类,一个 json 数组,有如下几种类型:SPARK-StageScheduleDelay(资源抢占), SPARK-ShuffleFailure(Shuffle异常), SPARK-SlowTask(慢task), SPARK-DataSkew(数据倾斜), SPARK-InsufficientResource(磁盘或内存不足)
|
770
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
771
|
+
:type AnalysisStatus: str
|
772
|
+
"""
|
773
|
+
self._Id = None
|
774
|
+
self._InstanceStartTime = None
|
775
|
+
self._InstanceCompleteTime = None
|
776
|
+
self._State = None
|
777
|
+
self._SQL = None
|
778
|
+
self._DataEngineName = None
|
779
|
+
self._JobTimeSum = None
|
780
|
+
self._TaskTimeSum = None
|
781
|
+
self._InputRecordsSum = None
|
782
|
+
self._InputBytesSum = None
|
783
|
+
self._OutputRecordsSum = None
|
784
|
+
self._OutputBytesSum = None
|
785
|
+
self._ShuffleReadBytesSum = None
|
786
|
+
self._ShuffleReadRecordsSum = None
|
787
|
+
self._AnalysisStatus = None
|
788
|
+
|
789
|
+
@property
|
790
|
+
def Id(self):
|
791
|
+
return self._Id
|
792
|
+
|
793
|
+
@Id.setter
|
794
|
+
def Id(self, Id):
|
795
|
+
self._Id = Id
|
796
|
+
|
797
|
+
@property
|
798
|
+
def InstanceStartTime(self):
|
799
|
+
return self._InstanceStartTime
|
800
|
+
|
801
|
+
@InstanceStartTime.setter
|
802
|
+
def InstanceStartTime(self, InstanceStartTime):
|
803
|
+
self._InstanceStartTime = InstanceStartTime
|
804
|
+
|
805
|
+
@property
|
806
|
+
def InstanceCompleteTime(self):
|
807
|
+
return self._InstanceCompleteTime
|
808
|
+
|
809
|
+
@InstanceCompleteTime.setter
|
810
|
+
def InstanceCompleteTime(self, InstanceCompleteTime):
|
811
|
+
self._InstanceCompleteTime = InstanceCompleteTime
|
812
|
+
|
813
|
+
@property
|
814
|
+
def State(self):
|
815
|
+
return self._State
|
816
|
+
|
817
|
+
@State.setter
|
818
|
+
def State(self, State):
|
819
|
+
self._State = State
|
820
|
+
|
821
|
+
@property
|
822
|
+
def SQL(self):
|
823
|
+
return self._SQL
|
824
|
+
|
825
|
+
@SQL.setter
|
826
|
+
def SQL(self, SQL):
|
827
|
+
self._SQL = SQL
|
828
|
+
|
829
|
+
@property
|
830
|
+
def DataEngineName(self):
|
831
|
+
return self._DataEngineName
|
832
|
+
|
833
|
+
@DataEngineName.setter
|
834
|
+
def DataEngineName(self, DataEngineName):
|
835
|
+
self._DataEngineName = DataEngineName
|
836
|
+
|
837
|
+
@property
|
838
|
+
def JobTimeSum(self):
|
839
|
+
return self._JobTimeSum
|
840
|
+
|
841
|
+
@JobTimeSum.setter
|
842
|
+
def JobTimeSum(self, JobTimeSum):
|
843
|
+
self._JobTimeSum = JobTimeSum
|
844
|
+
|
845
|
+
@property
|
846
|
+
def TaskTimeSum(self):
|
847
|
+
return self._TaskTimeSum
|
848
|
+
|
849
|
+
@TaskTimeSum.setter
|
850
|
+
def TaskTimeSum(self, TaskTimeSum):
|
851
|
+
self._TaskTimeSum = TaskTimeSum
|
852
|
+
|
853
|
+
@property
|
854
|
+
def InputRecordsSum(self):
|
855
|
+
return self._InputRecordsSum
|
856
|
+
|
857
|
+
@InputRecordsSum.setter
|
858
|
+
def InputRecordsSum(self, InputRecordsSum):
|
859
|
+
self._InputRecordsSum = InputRecordsSum
|
860
|
+
|
861
|
+
@property
|
862
|
+
def InputBytesSum(self):
|
863
|
+
return self._InputBytesSum
|
864
|
+
|
865
|
+
@InputBytesSum.setter
|
866
|
+
def InputBytesSum(self, InputBytesSum):
|
867
|
+
self._InputBytesSum = InputBytesSum
|
868
|
+
|
869
|
+
@property
|
870
|
+
def OutputRecordsSum(self):
|
871
|
+
return self._OutputRecordsSum
|
872
|
+
|
873
|
+
@OutputRecordsSum.setter
|
874
|
+
def OutputRecordsSum(self, OutputRecordsSum):
|
875
|
+
self._OutputRecordsSum = OutputRecordsSum
|
876
|
+
|
877
|
+
@property
|
878
|
+
def OutputBytesSum(self):
|
879
|
+
return self._OutputBytesSum
|
880
|
+
|
881
|
+
@OutputBytesSum.setter
|
882
|
+
def OutputBytesSum(self, OutputBytesSum):
|
883
|
+
self._OutputBytesSum = OutputBytesSum
|
884
|
+
|
885
|
+
@property
|
886
|
+
def ShuffleReadBytesSum(self):
|
887
|
+
return self._ShuffleReadBytesSum
|
888
|
+
|
889
|
+
@ShuffleReadBytesSum.setter
|
890
|
+
def ShuffleReadBytesSum(self, ShuffleReadBytesSum):
|
891
|
+
self._ShuffleReadBytesSum = ShuffleReadBytesSum
|
892
|
+
|
893
|
+
@property
|
894
|
+
def ShuffleReadRecordsSum(self):
|
895
|
+
return self._ShuffleReadRecordsSum
|
896
|
+
|
897
|
+
@ShuffleReadRecordsSum.setter
|
898
|
+
def ShuffleReadRecordsSum(self, ShuffleReadRecordsSum):
|
899
|
+
self._ShuffleReadRecordsSum = ShuffleReadRecordsSum
|
900
|
+
|
901
|
+
@property
|
902
|
+
def AnalysisStatus(self):
|
903
|
+
return self._AnalysisStatus
|
904
|
+
|
905
|
+
@AnalysisStatus.setter
|
906
|
+
def AnalysisStatus(self, AnalysisStatus):
|
907
|
+
self._AnalysisStatus = AnalysisStatus
|
908
|
+
|
909
|
+
|
910
|
+
def _deserialize(self, params):
|
911
|
+
self._Id = params.get("Id")
|
912
|
+
self._InstanceStartTime = params.get("InstanceStartTime")
|
913
|
+
self._InstanceCompleteTime = params.get("InstanceCompleteTime")
|
914
|
+
self._State = params.get("State")
|
915
|
+
self._SQL = params.get("SQL")
|
916
|
+
self._DataEngineName = params.get("DataEngineName")
|
917
|
+
self._JobTimeSum = params.get("JobTimeSum")
|
918
|
+
self._TaskTimeSum = params.get("TaskTimeSum")
|
919
|
+
self._InputRecordsSum = params.get("InputRecordsSum")
|
920
|
+
self._InputBytesSum = params.get("InputBytesSum")
|
921
|
+
self._OutputRecordsSum = params.get("OutputRecordsSum")
|
922
|
+
self._OutputBytesSum = params.get("OutputBytesSum")
|
923
|
+
self._ShuffleReadBytesSum = params.get("ShuffleReadBytesSum")
|
924
|
+
self._ShuffleReadRecordsSum = params.get("ShuffleReadRecordsSum")
|
925
|
+
self._AnalysisStatus = params.get("AnalysisStatus")
|
926
|
+
memeber_set = set(params.keys())
|
927
|
+
for name, value in vars(self).items():
|
928
|
+
property_name = name[1:]
|
929
|
+
if property_name in memeber_set:
|
930
|
+
memeber_set.remove(property_name)
|
931
|
+
if len(memeber_set) > 0:
|
932
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
933
|
+
|
934
|
+
|
935
|
+
|
724
936
|
class Asset(AbstractModel):
|
725
937
|
"""元数据基本对象
|
726
938
|
|
@@ -15516,6 +15728,182 @@ class DescribeTaskResultResponse(AbstractModel):
|
|
15516
15728
|
self._RequestId = params.get("RequestId")
|
15517
15729
|
|
15518
15730
|
|
15731
|
+
class DescribeTasksAnalysisRequest(AbstractModel):
|
15732
|
+
"""DescribeTasksAnalysis请求参数结构体
|
15733
|
+
|
15734
|
+
"""
|
15735
|
+
|
15736
|
+
def __init__(self):
|
15737
|
+
r"""
|
15738
|
+
:param _DataEngineName: 数据引擎名称,用于筛选
|
15739
|
+
:type DataEngineName: str
|
15740
|
+
:param _Limit: 返回数量,默认为10,最大值为100。
|
15741
|
+
:type Limit: int
|
15742
|
+
:param _Offset: 偏移量,默认为0。
|
15743
|
+
:type Offset: int
|
15744
|
+
:param _Filters: 过滤条件,如下支持的过滤类型,传参Name应为以下其中一个: task-id - String - (任务ID准确过滤)task-id 取值形如:e386471f-139a-4e59-877f-50ece8135b99。task-state - String - (任务状态过滤)取值范围 0(初始化), 1(运行中), 2(成功), -1(失败),rule-id - String - (洞察类型)取值范围 SPARK-StageScheduleDelay(资源抢占), SPARK-ShuffleFailure(Shuffle异常), SPARK-SlowTask(慢task), SPARK-DataSkew(数据倾斜), SPARK-InsufficientResource(磁盘或内存不足)
|
15745
|
+
:type Filters: list of Filter
|
15746
|
+
:param _SortBy: 排序字段,支持如下字段类型,instance-start-time (任务开始时间), instance-complete-time (任务结束时间),job-time-sum (单位毫秒,引擎内执行耗时),task-time-sum (CU资源消耗,单位秒),input-bytes-sum(数据扫描总大小,单位bytes),shuffle-read-bytes-sum(数据shuffle总大小,单位bytes)
|
15747
|
+
:type SortBy: str
|
15748
|
+
:param _Sorting: 排序方式,desc表示正序,asc表示反序, 默认为asc。
|
15749
|
+
:type Sorting: str
|
15750
|
+
:param _StartTime: 起始时间点,格式为yyyy-mm-dd HH:MM:SS
|
15751
|
+
:type StartTime: str
|
15752
|
+
:param _EndTime: 结束时间点,格式为yyyy-mm-dd HH:MM:SS时间跨度在(0,30天],支持最近45天数据查询。默认为当前时刻
|
15753
|
+
:type EndTime: str
|
15754
|
+
"""
|
15755
|
+
self._DataEngineName = None
|
15756
|
+
self._Limit = None
|
15757
|
+
self._Offset = None
|
15758
|
+
self._Filters = None
|
15759
|
+
self._SortBy = None
|
15760
|
+
self._Sorting = None
|
15761
|
+
self._StartTime = None
|
15762
|
+
self._EndTime = None
|
15763
|
+
|
15764
|
+
@property
|
15765
|
+
def DataEngineName(self):
|
15766
|
+
return self._DataEngineName
|
15767
|
+
|
15768
|
+
@DataEngineName.setter
|
15769
|
+
def DataEngineName(self, DataEngineName):
|
15770
|
+
self._DataEngineName = DataEngineName
|
15771
|
+
|
15772
|
+
@property
|
15773
|
+
def Limit(self):
|
15774
|
+
return self._Limit
|
15775
|
+
|
15776
|
+
@Limit.setter
|
15777
|
+
def Limit(self, Limit):
|
15778
|
+
self._Limit = Limit
|
15779
|
+
|
15780
|
+
@property
|
15781
|
+
def Offset(self):
|
15782
|
+
return self._Offset
|
15783
|
+
|
15784
|
+
@Offset.setter
|
15785
|
+
def Offset(self, Offset):
|
15786
|
+
self._Offset = Offset
|
15787
|
+
|
15788
|
+
@property
|
15789
|
+
def Filters(self):
|
15790
|
+
return self._Filters
|
15791
|
+
|
15792
|
+
@Filters.setter
|
15793
|
+
def Filters(self, Filters):
|
15794
|
+
self._Filters = Filters
|
15795
|
+
|
15796
|
+
@property
|
15797
|
+
def SortBy(self):
|
15798
|
+
return self._SortBy
|
15799
|
+
|
15800
|
+
@SortBy.setter
|
15801
|
+
def SortBy(self, SortBy):
|
15802
|
+
self._SortBy = SortBy
|
15803
|
+
|
15804
|
+
@property
|
15805
|
+
def Sorting(self):
|
15806
|
+
return self._Sorting
|
15807
|
+
|
15808
|
+
@Sorting.setter
|
15809
|
+
def Sorting(self, Sorting):
|
15810
|
+
self._Sorting = Sorting
|
15811
|
+
|
15812
|
+
@property
|
15813
|
+
def StartTime(self):
|
15814
|
+
return self._StartTime
|
15815
|
+
|
15816
|
+
@StartTime.setter
|
15817
|
+
def StartTime(self, StartTime):
|
15818
|
+
self._StartTime = StartTime
|
15819
|
+
|
15820
|
+
@property
|
15821
|
+
def EndTime(self):
|
15822
|
+
return self._EndTime
|
15823
|
+
|
15824
|
+
@EndTime.setter
|
15825
|
+
def EndTime(self, EndTime):
|
15826
|
+
self._EndTime = EndTime
|
15827
|
+
|
15828
|
+
|
15829
|
+
def _deserialize(self, params):
|
15830
|
+
self._DataEngineName = params.get("DataEngineName")
|
15831
|
+
self._Limit = params.get("Limit")
|
15832
|
+
self._Offset = params.get("Offset")
|
15833
|
+
if params.get("Filters") is not None:
|
15834
|
+
self._Filters = []
|
15835
|
+
for item in params.get("Filters"):
|
15836
|
+
obj = Filter()
|
15837
|
+
obj._deserialize(item)
|
15838
|
+
self._Filters.append(obj)
|
15839
|
+
self._SortBy = params.get("SortBy")
|
15840
|
+
self._Sorting = params.get("Sorting")
|
15841
|
+
self._StartTime = params.get("StartTime")
|
15842
|
+
self._EndTime = params.get("EndTime")
|
15843
|
+
memeber_set = set(params.keys())
|
15844
|
+
for name, value in vars(self).items():
|
15845
|
+
property_name = name[1:]
|
15846
|
+
if property_name in memeber_set:
|
15847
|
+
memeber_set.remove(property_name)
|
15848
|
+
if len(memeber_set) > 0:
|
15849
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
15850
|
+
|
15851
|
+
|
15852
|
+
|
15853
|
+
class DescribeTasksAnalysisResponse(AbstractModel):
|
15854
|
+
"""DescribeTasksAnalysis返回参数结构体
|
15855
|
+
|
15856
|
+
"""
|
15857
|
+
|
15858
|
+
def __init__(self):
|
15859
|
+
r"""
|
15860
|
+
:param _TaskList: 洞察结果分页列表
|
15861
|
+
:type TaskList: list of AnalysisTaskResults
|
15862
|
+
:param _TotalCount: 洞察结果总数
|
15863
|
+
:type TotalCount: int
|
15864
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
15865
|
+
:type RequestId: str
|
15866
|
+
"""
|
15867
|
+
self._TaskList = None
|
15868
|
+
self._TotalCount = None
|
15869
|
+
self._RequestId = None
|
15870
|
+
|
15871
|
+
@property
|
15872
|
+
def TaskList(self):
|
15873
|
+
return self._TaskList
|
15874
|
+
|
15875
|
+
@TaskList.setter
|
15876
|
+
def TaskList(self, TaskList):
|
15877
|
+
self._TaskList = TaskList
|
15878
|
+
|
15879
|
+
@property
|
15880
|
+
def TotalCount(self):
|
15881
|
+
return self._TotalCount
|
15882
|
+
|
15883
|
+
@TotalCount.setter
|
15884
|
+
def TotalCount(self, TotalCount):
|
15885
|
+
self._TotalCount = TotalCount
|
15886
|
+
|
15887
|
+
@property
|
15888
|
+
def RequestId(self):
|
15889
|
+
return self._RequestId
|
15890
|
+
|
15891
|
+
@RequestId.setter
|
15892
|
+
def RequestId(self, RequestId):
|
15893
|
+
self._RequestId = RequestId
|
15894
|
+
|
15895
|
+
|
15896
|
+
def _deserialize(self, params):
|
15897
|
+
if params.get("TaskList") is not None:
|
15898
|
+
self._TaskList = []
|
15899
|
+
for item in params.get("TaskList"):
|
15900
|
+
obj = AnalysisTaskResults()
|
15901
|
+
obj._deserialize(item)
|
15902
|
+
self._TaskList.append(obj)
|
15903
|
+
self._TotalCount = params.get("TotalCount")
|
15904
|
+
self._RequestId = params.get("RequestId")
|
15905
|
+
|
15906
|
+
|
15519
15907
|
class DescribeTasksCostInfoRequest(AbstractModel):
|
15520
15908
|
"""DescribeTasksCostInfo请求参数结构体
|
15521
15909
|
|