tccli 3.0.1339.1__py2.py3-none-any.whl → 3.0.1341.1__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.
- tccli/__init__.py +1 -1
- tccli/services/bh/bh_client.py +326 -8
- tccli/services/bh/v20230418/api.json +547 -0
- tccli/services/bh/v20230418/examples.json +48 -0
- tccli/services/ccc/v20200210/api.json +1 -1
- tccli/services/cdb/v20170320/api.json +144 -144
- tccli/services/cdb/v20170320/examples.json +19 -19
- tccli/services/cdn/v20180606/examples.json +1 -1
- tccli/services/csip/v20221121/api.json +48 -10
- tccli/services/csip/v20221121/examples.json +11 -11
- tccli/services/cvm/v20170312/api.json +9 -0
- tccli/services/cwp/v20180228/api.json +106 -2
- tccli/services/cwp/v20180228/examples.json +12 -0
- tccli/services/cynosdb/v20190107/api.json +29 -2
- tccli/services/cynosdb/v20190107/examples.json +1 -1
- tccli/services/dsgc/v20190723/api.json +215 -17
- tccli/services/emr/emr_client.py +363 -310
- tccli/services/emr/v20190103/api.json +299 -0
- tccli/services/emr/v20190103/examples.json +8 -0
- tccli/services/ess/v20201111/api.json +16 -5
- tccli/services/essbasic/v20210526/api.json +1 -1
- tccli/services/gs/v20191118/api.json +10 -1
- tccli/services/ims/v20200713/api.json +1 -1
- tccli/services/ims/v20200713/examples.json +1 -1
- tccli/services/kms/kms_client.py +915 -120
- tccli/services/kms/v20190118/api.json +1104 -27
- tccli/services/kms/v20190118/examples.json +126 -0
- tccli/services/live/v20180801/api.json +9 -0
- tccli/services/live/v20180801/examples.json +4 -4
- tccli/services/lke/lke_client.py +228 -16
- tccli/services/lke/v20231130/api.json +1490 -217
- tccli/services/lke/v20231130/examples.json +33 -1
- tccli/services/mqtt/v20240516/api.json +80 -0
- tccli/services/mqtt/v20240516/examples.json +6 -0
- tccli/services/organization/v20210331/api.json +11 -0
- tccli/services/organization/v20210331/examples.json +1 -1
- tccli/services/partners/v20180321/api.json +2 -2
- tccli/services/postgres/v20170312/api.json +4 -4
- tccli/services/ses/v20201002/api.json +8 -8
- tccli/services/tcss/v20201101/api.json +10 -0
- tccli/services/thpc/v20230321/api.json +32 -2
- tccli/services/tione/v20211111/api.json +11 -0
- tccli/services/trocket/trocket_client.py +53 -0
- tccli/services/trocket/v20230308/api.json +233 -143
- tccli/services/trocket/v20230308/examples.json +14 -6
- tccli/services/vpc/v20170312/api.json +9 -0
- tccli/services/waf/v20180125/api.json +59 -21
- tccli/services/wedata/v20210820/api.json +432 -10
- tccli/services/wedata/v20210820/examples.json +17 -1
- tccli/services/wedata/wedata_client.py +114 -8
- {tccli-3.0.1339.1.dist-info → tccli-3.0.1341.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1339.1.dist-info → tccli-3.0.1341.1.dist-info}/RECORD +55 -55
- {tccli-3.0.1339.1.dist-info → tccli-3.0.1341.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1339.1.dist-info → tccli-3.0.1341.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1339.1.dist-info → tccli-3.0.1341.1.dist-info}/license_files/LICENSE +0 -0
@@ -782,6 +782,22 @@
|
|
782
782
|
"title": "查询父目录树"
|
783
783
|
}
|
784
784
|
],
|
785
|
+
"DescribeDsTaskVersionInfo": [
|
786
|
+
{
|
787
|
+
"document": "查看任务版本详情",
|
788
|
+
"input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDsTaskVersionInfo\n<公共请求参数>\n\n{\n \"TaskId\": \"abc\",\n \"TaskVersion\": \"abc\"\n}",
|
789
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"VersionId\": \"abc\",\n \"TaskId\": \"abc\",\n \"VersionNum\": \"abc\",\n \"VersionRemark\": \"abc\",\n \"Creator\": \"abc\",\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"LastSchedulerCommitTime\": \"abc\",\n \"UsedVersion\": 0,\n \"TaskInfo\": {\n \"TaskId\": \"abc\",\n \"VirtualTaskId\": \"abc\",\n \"VirtualFlag\": true,\n \"TaskName\": \"abc\",\n \"WorkflowId\": \"abc\",\n \"RealWorkflowId\": \"abc\",\n \"WorkflowName\": \"abc\",\n \"FolderId\": \"abc\",\n \"FolderName\": \"abc\",\n \"CreateTime\": \"abc\",\n \"LastUpdate\": \"abc\",\n \"Status\": \"abc\",\n \"InCharge\": \"abc\",\n \"InChargeId\": \"abc\",\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\",\n \"ExecutionStartTime\": \"abc\",\n \"ExecutionEndTime\": \"abc\",\n \"ProjectId\": \"abc\",\n \"ProjectIdent\": \"abc\",\n \"ProjectName\": \"abc\",\n \"CycleType\": \"abc\",\n \"CycleStep\": 0,\n \"CrontabExpression\": \"abc\",\n \"DelayTime\": 0,\n \"StartupTime\": 0,\n \"RetryWait\": 0,\n \"Retriable\": 0,\n \"TaskAction\": \"abc\",\n \"TryLimit\": 0,\n \"RunPriority\": 0,\n \"TaskType\": {\n \"TypeId\": 0,\n \"TypeDesc\": \"abc\",\n \"CreateTime\": \"abc\",\n \"SourceServerType\": \"abc\",\n \"TargetServerType\": \"abc\",\n \"RunJarName\": \"abc\",\n \"KillAble\": 0,\n \"TypeSort\": \"abc\",\n \"InCharge\": \"abc\",\n \"BrokerParallelism\": 0,\n \"TaskParallelism\": 0,\n \"DoRedoParallelism\": 0,\n \"DowngradePriorityTries\": 0,\n \"RetryWait\": 0,\n \"RetryLimit\": 0,\n \"DefaultAliveWait\": 0,\n \"PollingSeconds\": 0,\n \"ParamList\": \"abc\",\n \"TaskTypeExtension\": [\n {\n \"TaskTypeExtKey\": \"abc\",\n \"TaskTypeExtValue\": {\n \"TypeId\": 0,\n \"PropName\": \"abc\",\n \"PropLabel\": \"abc\",\n \"DefaultFlag\": 0,\n \"VisibleFlag\": 0,\n \"PropDesc\": \"abc\",\n \"RankId\": 0,\n \"InputType\": \"abc\",\n \"ValueType\": \"abc\",\n \"DefaultValue\": \"abc\",\n \"CandidateValues\": \"abc\",\n \"IsMandatory\": 0,\n \"MaxValue\": 0,\n \"MinValue\": 0,\n \"ConfLevel\": 0,\n \"CandidateTexts\": \"abc\",\n \"CopyKey\": 0,\n \"Regex\": \"abc\",\n \"Tip\": \"abc\"\n }\n }\n ],\n \"FileType\": \"abc\",\n \"SelectFilePath\": true,\n \"ExcludeCommonLib\": true,\n \"PostHooks\": \"abc\"\n },\n \"BrokerIp\": \"abc\",\n \"ClusterId\": \"abc\",\n \"MinDateTime\": \"abc\",\n \"MaxDateTime\": \"abc\",\n \"ExecutionTTL\": 0,\n \"SelfDepend\": 0,\n \"LeftCoordinate\": 0,\n \"TopCoordinate\": 0,\n \"TaskExt\": {\n \"TaskId\": \"abc\",\n \"Properties\": [\n {\n \"ParamKey\": \"abc\",\n \"ParamValue\": \"abc\"\n }\n ],\n \"DryRunExtAttributes\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\",\n \"Description\": \"abc\"\n }\n ],\n \"DryRunParameter\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\",\n \"Description\": \"abc\"\n }\n ]\n },\n \"Properties\": \"abc\",\n \"Notes\": \"abc\",\n \"InstanceInitStrategy\": \"abc\",\n \"YarnQueue\": \"abc\",\n \"Alarms\": [\n {\n \"AlarmId\": \"abc\",\n \"TaskId\": \"abc\",\n \"Status\": 0,\n \"AlarmType\": \"abc\",\n \"AlarmWay\": \"abc\",\n \"Creator\": \"abc\",\n \"AlarmRecipient\": \"abc\",\n \"AlarmRecipientId\": \"abc\",\n \"ModifyTime\": \"abc\",\n \"LastFailTime\": \"abc\",\n \"LastOverTime\": \"abc\",\n \"LastAlarmTime\": \"abc\",\n \"AlarmExt\": [\n {\n \"AlarmId\": \"abc\",\n \"PropName\": \"abc\",\n \"PropValue\": \"abc\",\n \"CreateTime\": \"abc\",\n \"ModifyTime\": \"abc\"\n }\n ],\n \"CreateTime\": \"abc\"\n }\n ],\n \"Alarm\": \"abc\",\n \"ScriptChange\": true,\n \"Submit\": true,\n \"LastSchedulerCommitTime\": \"abc\",\n \"NormalizedJobStartTime\": \"abc\",\n \"RecoverFreezeStartTime\": \"abc\",\n \"SourceServer\": \"abc\",\n \"TargetServer\": \"abc\",\n \"Tasks\": [\n {\n \"TaskId\": \"abc\",\n \"VirtualTaskId\": \"abc\",\n \"VirtualFlag\": true,\n \"TaskName\": \"abc\",\n \"WorkflowId\": \"abc\",\n \"RealWorkflowId\": \"abc\",\n \"WorkflowName\": \"abc\",\n \"FolderId\": \"abc\",\n \"FolderName\": \"abc\",\n \"CreateTime\": \"abc\",\n \"LastUpdate\": \"abc\",\n \"Status\": \"abc\",\n \"InCharge\": \"abc\",\n \"InChargeId\": \"abc\",\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\",\n \"ExecutionStartTime\": \"abc\",\n \"ExecutionEndTime\": \"abc\",\n \"ProjectId\": \"abc\",\n \"ProjectIdent\": \"abc\",\n \"ProjectName\": \"abc\",\n \"CycleType\": \"abc\",\n \"CycleStep\": 0,\n \"CrontabExpression\": \"abc\",\n \"DelayTime\": 0,\n \"StartupTime\": 0,\n \"RetryWait\": 0,\n \"Retriable\": 0,\n \"TaskAction\": \"abc\",\n \"TryLimit\": 0,\n \"RunPriority\": 0,\n \"TaskType\": {\n \"TypeId\": 0,\n \"TypeDesc\": \"abc\",\n \"CreateTime\": \"abc\",\n \"SourceServerType\": \"abc\",\n \"TargetServerType\": \"abc\",\n \"RunJarName\": \"abc\",\n \"KillAble\": 0,\n \"TypeSort\": \"abc\",\n \"InCharge\": \"abc\",\n \"BrokerParallelism\": 0,\n \"TaskParallelism\": 0,\n \"DoRedoParallelism\": 0,\n \"DowngradePriorityTries\": 0,\n \"RetryWait\": 0,\n \"RetryLimit\": 0,\n \"DefaultAliveWait\": 0,\n \"PollingSeconds\": 0,\n \"ParamList\": \"abc\",\n \"TaskTypeExtension\": [\n {\n \"TaskTypeExtKey\": \"abc\",\n \"TaskTypeExtValue\": {\n \"TypeId\": 0,\n \"PropName\": \"abc\",\n \"PropLabel\": \"abc\",\n \"DefaultFlag\": 0,\n \"VisibleFlag\": 0,\n \"PropDesc\": \"abc\",\n \"RankId\": 0,\n \"InputType\": \"abc\",\n \"ValueType\": \"abc\",\n \"DefaultValue\": \"abc\",\n \"CandidateValues\": \"abc\",\n \"IsMandatory\": 0,\n \"MaxValue\": 0,\n \"MinValue\": 0,\n \"ConfLevel\": 0,\n \"CandidateTexts\": \"abc\",\n \"CopyKey\": 0,\n \"Regex\": \"abc\",\n \"Tip\": \"abc\"\n }\n }\n ],\n \"FileType\": \"abc\",\n \"SelectFilePath\": true,\n \"ExcludeCommonLib\": true,\n \"PostHooks\": \"abc\"\n },\n \"BrokerIp\": \"abc\",\n \"ClusterId\": \"abc\",\n \"MinDateTime\": \"abc\",\n \"MaxDateTime\": \"abc\",\n \"ExecutionTTL\": 0,\n \"SelfDepend\": 0,\n \"LeftCoordinate\": 0,\n \"TopCoordinate\": 0,\n \"TaskExt\": {\n \"TaskId\": \"abc\",\n \"Properties\": [\n {\n \"ParamKey\": \"abc\",\n \"ParamValue\": \"abc\"\n }\n ],\n \"DryRunExtAttributes\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\",\n \"Description\": \"abc\"\n }\n ]\n },\n \"Properties\": \"abc\",\n \"Notes\": \"abc\",\n \"InstanceInitStrategy\": \"abc\",\n \"YarnQueue\": \"abc\",\n \"Alarms\": [\n {\n \"AlarmId\": \"abc\",\n \"TaskId\": \"abc\",\n \"Status\": 0,\n \"AlarmType\": \"abc\",\n \"AlarmWay\": \"abc\",\n \"Creator\": \"abc\",\n \"AlarmRecipient\": \"abc\",\n \"AlarmRecipientId\": \"abc\",\n \"ModifyTime\": \"abc\",\n \"LastFailTime\": \"abc\",\n \"LastOverTime\": \"abc\",\n \"LastAlarmTime\": \"abc\",\n \"AlarmExt\": [\n {\n \"AlarmId\": \"abc\",\n \"PropName\": \"abc\",\n \"PropValue\": \"abc\",\n \"CreateTime\": \"abc\",\n \"ModifyTime\": \"abc\"\n }\n ],\n \"CreateTime\": \"abc\"\n }\n ],\n \"Alarm\": \"abc\",\n \"ScriptChange\": true,\n \"Submit\": true,\n \"LastSchedulerCommitTime\": \"abc\",\n \"NormalizedJobStartTime\": \"abc\",\n \"RecoverFreezeStartTime\": \"abc\",\n \"SourceServer\": \"abc\",\n \"TargetServer\": \"abc\",\n \"Tasks\": [\n {\n \"TaskId\": \"abc\",\n \"VirtualTaskId\": \"abc\",\n \"VirtualFlag\": true,\n \"TaskName\": \"abc\",\n \"WorkflowId\": \"abc\",\n \"RealWorkflowId\": \"abc\",\n \"WorkflowName\": \"abc\",\n \"FolderId\": \"abc\",\n \"FolderName\": \"abc\",\n \"CreateTime\": \"abc\",\n \"LastUpdate\": \"abc\",\n \"Status\": \"abc\",\n \"InCharge\": \"abc\",\n \"InChargeId\": \"abc\",\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\",\n \"ExecutionStartTime\": \"abc\",\n \"ExecutionEndTime\": \"abc\",\n \"ProjectId\": \"abc\",\n \"ProjectIdent\": \"abc\",\n \"ProjectName\": \"abc\",\n \"CycleType\": \"abc\",\n \"CycleStep\": 0,\n \"CrontabExpression\": \"abc\",\n \"DelayTime\": 0,\n \"StartupTime\": 0,\n \"RetryWait\": 0,\n \"Retriable\": 0,\n \"TaskAction\": \"abc\",\n \"TryLimit\": 0,\n \"RunPriority\": 0,\n \"TaskType\": {\n \"TypeId\": 0,\n \"TypeDesc\": \"abc\",\n \"CreateTime\": \"abc\",\n \"SourceServerType\": \"abc\",\n \"TargetServerType\": \"abc\",\n \"RunJarName\": \"abc\",\n \"KillAble\": 0,\n \"TypeSort\": \"abc\",\n \"InCharge\": \"abc\",\n \"BrokerParallelism\": 0,\n \"TaskParallelism\": 0,\n \"DoRedoParallelism\": 0,\n \"DowngradePriorityTries\": 0,\n \"RetryWait\": 0,\n \"RetryLimit\": 0,\n \"DefaultAliveWait\": 0,\n \"PollingSeconds\": 0,\n \"ParamList\": \"abc\",\n \"TaskTypeExtension\": [\n {\n \"TaskTypeExtKey\": \"abc\",\n \"TaskTypeExtValue\": {\n \"TypeId\": 0,\n \"PropName\": \"abc\",\n \"PropLabel\": \"abc\",\n \"DefaultFlag\": 0,\n \"VisibleFlag\": 0,\n \"PropDesc\": \"abc\",\n \"RankId\": 0,\n \"InputType\": \"abc\",\n \"ValueType\": \"abc\",\n \"DefaultValue\": \"abc\",\n \"CandidateValues\": \"abc\",\n \"IsMandatory\": 0,\n \"MaxValue\": 0,\n \"MinValue\": 0,\n \"ConfLevel\": 0,\n \"CandidateTexts\": \"abc\",\n \"CopyKey\": 0,\n \"Regex\": \"abc\",\n \"Tip\": \"abc\"\n }\n }\n ],\n \"FileType\": \"abc\",\n \"SelectFilePath\": true,\n \"ExcludeCommonLib\": true,\n \"PostHooks\": \"abc\"\n },\n \"BrokerIp\": \"abc\",\n \"ClusterId\": \"abc\",\n \"MinDateTime\": \"abc\",\n \"MaxDateTime\": \"abc\",\n \"ExecutionTTL\": 0,\n \"SelfDepend\": 0,\n \"LeftCoordinate\": 0,\n \"TopCoordinate\": 0,\n \"TaskExt\": {\n \"TaskId\": \"abc\",\n \"Properties\": [\n {\n \"ParamKey\": \"abc\",\n \"ParamValue\": \"abc\"\n }\n ]\n },\n \"Properties\": \"abc\",\n \"Notes\": \"abc\",\n \"InstanceInitStrategy\": \"abc\",\n \"YarnQueue\": \"abc\",\n \"Alarms\": [\n {\n \"AlarmId\": \"abc\",\n \"TaskId\": \"abc\",\n \"Status\": 0,\n \"AlarmType\": \"abc\",\n \"AlarmWay\": \"abc\",\n \"Creator\": \"abc\",\n \"AlarmRecipient\": \"abc\",\n \"AlarmRecipientId\": \"abc\",\n \"ModifyTime\": \"abc\",\n \"LastFailTime\": \"abc\",\n \"LastOverTime\": \"abc\",\n \"LastAlarmTime\": \"abc\",\n \"AlarmExt\": [\n {\n \"AlarmId\": \"abc\",\n \"PropName\": \"abc\",\n \"PropValue\": \"abc\",\n \"CreateTime\": \"abc\",\n \"ModifyTime\": \"abc\"\n }\n ],\n \"CreateTime\": \"abc\"\n }\n ],\n \"Alarm\": \"abc\",\n \"ScriptChange\": true,\n \"Submit\": true,\n \"LastSchedulerCommitTime\": \"abc\",\n \"NormalizedJobStartTime\": \"abc\",\n \"RecoverFreezeStartTime\": \"abc\",\n \"SourceServer\": \"abc\",\n \"TargetServer\": \"abc\",\n \"Creater\": \"abc\",\n \"DependencyRel\": \"abc\",\n \"DependencyWorkflow\": \"abc\",\n \"EventListenerConfig\": \"abc\",\n \"EventPublisherConfig\": \"abc\",\n \"DependencyConfigList\": [\n {\n \"MainCyclicConfig\": \"abc\",\n \"SubordinateCyclicConfig\": \"abc\",\n \"DependencyStrategy\": {\n \"PollingNullStrategy\": \"abc\"\n }\n }\n ],\n \"VirtualTaskStatus\": \"abc\",\n \"RecycleTips\": \"abc\",\n \"RecycleUser\": \"abc\",\n \"NewOrUpdate\": \"abc\",\n \"Params\": [\n {\n \"TaskId\": \"abc\",\n \"ParamKey\": \"abc\",\n \"ParamDefine\": \"abc\",\n \"ParamValue\": \"abc\",\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\"\n }\n ],\n \"TaskLinkInfo\": [\n {\n \"TaskTo\": \"abc\",\n \"TaskFrom\": \"abc\",\n \"LinkType\": \"abc\",\n \"LinkKey\": \"abc\",\n \"Id\": \"abc\",\n \"InCharge\": \"abc\",\n \"LinkDependencyType\": \"abc\",\n \"Offset\": 0,\n \"WorkflowId\": \"abc\",\n \"RealFromTaskId\": \"abc\",\n \"RealFromTaskName\": \"abc\",\n \"RealFromWorkflowId\": \"abc\",\n \"RealFromWorkflowName\": \"abc\",\n \"RealProjectId\": \"abc\",\n \"RealProjectIdent\": \"abc\",\n \"RealProjectName\": \"abc\"\n }\n ],\n \"ImportResult\": true,\n \"ImportErrMsg\": \"abc\",\n \"ContentType\": \"abc\",\n \"TaskAutoSubmit\": true,\n \"ProductName\": \"abc\",\n \"OwnId\": \"abc\",\n \"UserId\": \"abc\",\n \"TenantId\": \"abc\",\n \"UpdateUser\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"UpdateUserId\": \"abc\",\n \"SchedulerDesc\": \"abc\",\n \"ResourceGroup\": \"abc\",\n \"VersionDesc\": \"abc\",\n \"LinkId\": \"abc\",\n \"UserFileId\": \"abc\"\n }\n ],\n \"Creater\": \"abc\",\n \"DependencyRel\": \"abc\",\n \"DependencyWorkflow\": \"abc\",\n \"EventListenerConfig\": \"abc\",\n \"EventPublisherConfig\": \"abc\",\n \"DependencyConfigList\": [\n {\n \"MainCyclicConfig\": \"abc\",\n \"SubordinateCyclicConfig\": \"abc\",\n \"DependencyStrategy\": {\n \"PollingNullStrategy\": \"abc\"\n }\n }\n ],\n \"VirtualTaskStatus\": \"abc\",\n \"RecycleTips\": \"abc\",\n \"RecycleUser\": \"abc\",\n \"NewOrUpdate\": \"abc\",\n \"Params\": [\n {\n \"TaskId\": \"abc\",\n \"ParamKey\": \"abc\",\n \"ParamDefine\": \"abc\",\n \"ParamValue\": \"abc\",\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\"\n }\n ],\n \"TaskLinkInfo\": [\n {\n \"TaskTo\": \"abc\",\n \"TaskFrom\": \"abc\",\n \"LinkType\": \"abc\",\n \"LinkKey\": \"abc\",\n \"Id\": \"abc\",\n \"InCharge\": \"abc\",\n \"LinkDependencyType\": \"abc\",\n \"Offset\": 0,\n \"WorkflowId\": \"abc\",\n \"RealFromTaskId\": \"abc\",\n \"RealFromTaskName\": \"abc\",\n \"RealFromWorkflowId\": \"abc\",\n \"RealFromWorkflowName\": \"abc\",\n \"RealProjectId\": \"abc\",\n \"RealProjectIdent\": \"abc\",\n \"RealProjectName\": \"abc\"\n }\n ],\n \"ImportResult\": true,\n \"ImportErrMsg\": \"abc\",\n \"ContentType\": \"abc\",\n \"TaskAutoSubmit\": true,\n \"ProductName\": \"abc\",\n \"OwnId\": \"abc\",\n \"UserId\": \"abc\",\n \"TenantId\": \"abc\",\n \"UpdateUser\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"UpdateUserId\": \"abc\",\n \"SchedulerDesc\": \"abc\",\n \"ResourceGroup\": \"abc\",\n \"VersionDesc\": \"abc\",\n \"LinkId\": \"abc\",\n \"UserFileId\": \"abc\"\n }\n ],\n \"Creater\": \"abc\",\n \"DependencyRel\": \"abc\",\n \"DependencyWorkflow\": \"abc\",\n \"EventListenerConfig\": \"abc\",\n \"EventPublisherConfig\": \"abc\",\n \"DependencyConfigList\": [\n {\n \"MainCyclicConfig\": \"abc\",\n \"SubordinateCyclicConfig\": \"abc\",\n \"DependencyStrategy\": {\n \"PollingNullStrategy\": \"abc\"\n }\n }\n ],\n \"VirtualTaskStatus\": \"abc\",\n \"RecycleTips\": \"abc\",\n \"RecycleUser\": \"abc\",\n \"NewOrUpdate\": \"abc\",\n \"Params\": [\n {\n \"TaskId\": \"abc\",\n \"ParamKey\": \"abc\",\n \"ParamDefine\": \"abc\",\n \"ParamValue\": \"abc\",\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\"\n }\n ],\n \"TaskLinkInfo\": [\n {\n \"TaskTo\": \"abc\",\n \"TaskFrom\": \"abc\",\n \"LinkType\": \"abc\",\n \"LinkKey\": \"abc\",\n \"Id\": \"abc\",\n \"InCharge\": \"abc\",\n \"LinkDependencyType\": \"abc\",\n \"Offset\": 0,\n \"WorkflowId\": \"abc\",\n \"RealFromTaskId\": \"abc\",\n \"RealFromTaskName\": \"abc\",\n \"RealFromWorkflowId\": \"abc\",\n \"RealFromWorkflowName\": \"abc\",\n \"RealProjectId\": \"abc\",\n \"RealProjectIdent\": \"abc\",\n \"RealProjectName\": \"abc\"\n }\n ],\n \"ImportResult\": true,\n \"ImportErrMsg\": \"abc\",\n \"ContentType\": \"abc\",\n \"TaskAutoSubmit\": true,\n \"ProductName\": \"abc\",\n \"OwnId\": \"abc\",\n \"UserId\": \"abc\",\n \"TenantId\": \"abc\",\n \"UpdateUser\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"UpdateUserId\": \"abc\",\n \"SchedulerDesc\": \"abc\",\n \"ResourceGroup\": \"abc\",\n \"VersionDesc\": \"abc\",\n \"LinkId\": \"abc\",\n \"UserFileId\": \"abc\"\n },\n \"TaskInputParam\": [\n {\n \"Id\": 0,\n \"TaskId\": \"abc\",\n \"ParamKey\": \"abc\",\n \"ParamDesc\": \"abc\",\n \"FromTaskId\": \"abc\",\n \"FromParamKey\": \"abc\",\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"FromTaskName\": \"abc\",\n \"FromProjectId\": \"abc\",\n \"FromProjectName\": \"abc\"\n }\n ],\n \"TaskOutputParam\": [\n {\n \"Id\": 0,\n \"TaskId\": \"abc\",\n \"ParamKey\": \"abc\",\n \"ParamDesc\": \"abc\",\n \"ParamDefine\": \"abc\",\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"TaskName\": \"abc\",\n \"ProjectId\": \"abc\",\n \"ProjectName\": \"abc\"\n }\n ],\n \"ApproveStatus\": \"abc\"\n },\n \"RequestId\": \"abc\"\n }\n}",
|
790
|
+
"title": "查看任务版本详情"
|
791
|
+
}
|
792
|
+
],
|
793
|
+
"DescribeDsTaskVersionList": [
|
794
|
+
{
|
795
|
+
"document": "拉取任务版本列表",
|
796
|
+
"input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDsTaskVersionList\n<公共请求参数>\n\n{\n \"ProjectId\": \"1212\",\n \"TaskId\": \"12321312\"\n}",
|
797
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"VersionId\": \"213213\",\n \"TaskId\": \"21312321\",\n \"VersionNum\": \"1\",\n \"VersionRemark\": \"1\",\n \"Creator\": \"12312\",\n \"CreateTime\": \"null\",\n \"UpdateTime\": \"null\",\n \"LastSchedulerCommitTime\": \"131231\",\n \"UsedVersion\": 0,\n \"TaskInfo\": {\n \"TaskId\": \"12312\",\n \"VirtualTaskId\": \"12312\",\n \"VirtualFlag\": true,\n \"TaskName\": \"12312\",\n \"WorkflowId\": \"12312\",\n \"RealWorkflowId\": \"12312\",\n \"WorkflowName\": \"12312\",\n \"FolderId\": \"1212\",\n \"FolderName\": \"321312\",\n \"CreateTime\": \"1231231\",\n \"LastUpdate\": \"1231231\",\n \"Status\": \"1231231\",\n \"InCharge\": \"1231231\",\n \"InChargeId\": \"1231231\",\n \"StartTime\": \"null\",\n \"EndTime\": \"null\",\n \"ExecutionStartTime\": \"null\",\n \"ExecutionEndTime\": \"null\",\n \"ProjectId\": \"1231231\",\n \"ProjectIdent\": \"1231231\",\n \"ProjectName\": \"1231231\",\n \"CycleType\": \"1231231\",\n \"CycleStep\": 0,\n \"CrontabExpression\": \"1231231\",\n \"DelayTime\": 0,\n \"StartupTime\": 0,\n \"RetryWait\": 0,\n \"Retriable\": 0,\n \"TaskAction\": \"1231231\",\n \"TryLimit\": 0,\n \"RunPriority\": 0,\n \"TaskType\": {\n \"TypeId\": 0,\n \"TypeDesc\": \"1231231\",\n \"CreateTime\": \"1231231\",\n \"SourceServerType\": \"1231231\",\n \"TargetServerType\": \"1231231\",\n \"RunJarName\": \"1231231\",\n \"KillAble\": 0,\n \"TypeSort\": \"1231231\",\n \"InCharge\": \"1231231\",\n \"BrokerParallelism\": 0,\n \"TaskParallelism\": 0,\n \"DoRedoParallelism\": 0,\n \"DowngradePriorityTries\": 0,\n \"RetryWait\": 0,\n \"RetryLimit\": 0,\n \"DefaultAliveWait\": 0,\n \"PollingSeconds\": 0,\n \"ParamList\": \"1231231\",\n \"TaskTypeExtension\": [\n {\n \"TaskTypeExtKey\": \"1231231\",\n \"TaskTypeExtValue\": {\n \"TypeId\": 0,\n \"PropName\": \"1231231\",\n \"PropLabel\": \"1231231\",\n \"DefaultFlag\": 0,\n \"VisibleFlag\": 0,\n \"PropDesc\": \"1231231\",\n \"RankId\": 0,\n \"InputType\": \"1231231\",\n \"ValueType\": \"1231231\",\n \"DefaultValue\": \"1231231\",\n \"CandidateValues\": \"1231231\",\n \"IsMandatory\": 0,\n \"MaxValue\": 0,\n \"MinValue\": 0,\n \"ConfLevel\": 0,\n \"CandidateTexts\": \"1231231\",\n \"CopyKey\": 0,\n \"Regex\": \"1231231\",\n \"Tip\": \"1231231\",\n \"Candidates\": [\n {\n \"Value\": \"1231231\",\n \"ValueDesc\": \"1231231\"\n }\n ]\n }\n }\n ],\n \"FileType\": \"1231231\",\n \"SelectFilePath\": true,\n \"ExcludeCommonLib\": true,\n \"PostHooks\": \"1231231\"\n },\n \"BrokerIp\": \"1231231\",\n \"ClusterId\": \"1231231\",\n \"MinDateTime\": \"1231231\",\n \"MaxDateTime\": \"1231231\",\n \"ExecutionTTL\": 0,\n \"SelfDepend\": \"1231231\",\n \"LeftCoordinate\": 0,\n \"TopCoordinate\": 0,\n \"TaskExt\": {\n \"TaskId\": \"1231231\",\n \"Properties\": [\n {\n \"ParamKey\": \"1231231\",\n \"ParamValue\": \"1231231\"\n }\n ],\n \"DryRunExtAttributes\": [\n {\n \"Key\": \"1231231\",\n \"Value\": \"1231231\",\n \"Description\": \"1231231\"\n }\n ],\n \"DryRunParameter\": [\n {\n \"Key\": \"1231231\",\n \"Value\": \"1231231\",\n \"Description\": \"1231231\"\n }\n ]\n },\n \"Properties\": \"1231231\",\n \"Notes\": \"1231231\",\n \"InstanceInitStrategy\": \"1231231\",\n \"YarnQueue\": \"1231231\",\n \"Alarms\": [\n {\n \"AlarmId\": \"1231231\",\n \"TaskId\": \"1231231\",\n \"Status\": 0,\n \"AlarmType\": \"1231231\",\n \"AlarmWay\": \"1231231\",\n \"Creator\": \"1231231\",\n \"AlarmRecipient\": \"1231231\",\n \"AlarmRecipientId\": \"1231231\",\n \"ModifyTime\": \"1231231\",\n \"LastFailTime\": \"1231231\",\n \"LastOverTime\": \"1231231\",\n \"LastAlarmTime\": \"1231231\",\n \"AlarmExt\": [\n {\n \"AlarmId\": \"1231231\",\n \"PropName\": \"1231231\",\n \"PropValue\": \"1231231\",\n \"CreateTime\": \"1231231\",\n \"ModifyTime\": \"1231231\"\n }\n ],\n \"CreateTime\": \"1231231\"\n }\n ],\n \"Alarm\": \"1231231\",\n \"ScriptChange\": true,\n \"Submit\": true,\n \"LastSchedulerCommitTime\": \"1231231\",\n \"NormalizedJobStartTime\": \"1231231\",\n \"RecoverFreezeStartTime\": \"1231231\",\n \"SourceServer\": \"1231231\",\n \"TargetServer\": \"1231231\",\n \"Tasks\": null,\n \"Creater\": \"1231231\",\n \"DependencyRel\": \"1231231\",\n \"DependencyWorkflow\": \"1231231\",\n \"EventListenerConfig\": \"1231231\",\n \"EventPublisherConfig\": \"1231231\",\n \"DependencyConfigList\": [],\n \"VirtualTaskStatus\": \"1231231\",\n \"RecycleTips\": \"1231231\",\n \"RecycleUser\": \"1231231\",\n \"NewOrUpdate\": \"1231231\",\n \"Params\": [\n {\n \"TaskId\": \"1231231\",\n \"ParamKey\": \"1231231\",\n \"ParamDefine\": \"1231231\",\n \"ParamValue\": \"1231231\",\n \"CreateTime\": \"1231231\",\n \"UpdateTime\": \"1231231\"\n }\n ],\n \"TaskLinkInfo\": [\n {\n \"TaskTo\": \"1231231\",\n \"TaskFrom\": \"1231231\",\n \"LinkType\": \"1231231\",\n \"LinkKey\": \"1231231\",\n \"Id\": \"1231231\",\n \"InCharge\": \"1231231\",\n \"LinkDependencyType\": \"1231231\",\n \"Offset\": 0,\n \"WorkflowId\": \"1231231\",\n \"RealFromTaskId\": \"1231231\",\n \"RealFromTaskName\": \"1231231\",\n \"RealFromWorkflowId\": \"1231231\",\n \"RealFromWorkflowName\": \"1231231\",\n \"RealProjectId\": \"1231231\",\n \"RealProjectIdent\": \"1231231\",\n \"RealProjectName\": \"1231231\"\n }\n ],\n \"ImportResult\": true,\n \"ImportErrMsg\": \"1231231\",\n \"ContentType\": \"1231231\",\n \"TaskAutoSubmit\": true,\n \"ProductName\": \"1231231\",\n \"OwnId\": \"1231231\",\n \"UserId\": \"1231231\",\n \"TenantId\": \"1231231\",\n \"UpdateUser\": \"1231231\",\n \"UpdateTime\": \"1231231\",\n \"UpdateUserId\": \"1231231\",\n \"SchedulerDesc\": \"1231231\",\n \"ResourceGroup\": \"1231231\",\n \"VersionDesc\": \"1231231\",\n \"LinkId\": \"1231231\",\n \"UserFileId\": \"1231231\",\n \"SourceServiceId\": \"1231231\",\n \"SourceServiceType\": \"1231231\",\n \"TargetServiceId\": \"1231231\",\n \"TargetServiceType\": \"1231231\",\n \"ParamInList\": [\n {\n \"Id\": 0,\n \"TaskId\": \"1231231\",\n \"ParamKey\": \"1231231\",\n \"ParamDesc\": \"1231231\",\n \"FromTaskId\": \"1231231\",\n \"FromParamKey\": \"1231231\",\n \"CreateTime\": \"1231231\",\n \"UpdateTime\": \"1231231\",\n \"FromTaskName\": \"1231231\",\n \"FromProjectId\": \"1231231\",\n \"FromProjectName\": \"1231231\"\n }\n ],\n \"ParamOutList\": [\n {\n \"Id\": 0,\n \"TaskId\": \"1231231\",\n \"ParamKey\": \"1231231\",\n \"ParamDesc\": \"1231231\",\n \"ParamDefine\": \"1231231\",\n \"CreateTime\": \"1231231\",\n \"UpdateTime\": \"1231231\",\n \"TaskName\": \"1231231\",\n \"ProjectId\": \"1231231\",\n \"ProjectName\": \"1231231\"\n }\n ],\n \"TaskFolderId\": \"1231231\"\n },\n \"ApproveStatus\": \"1231231\",\n \"ApproveName\": \"1231231\",\n \"TaskEventPublisher\": [],\n \"TaskRegisterOutputTable\": [],\n \"TaskLinkInfo\": null,\n \"TaskInputParam\": null,\n \"TaskOutputParam\": null,\n \"TaskParaInfo\": null\n }\n ],\n \"RequestId\": \"1231231\"\n }\n}",
|
798
|
+
"title": "拉取任务版本列表"
|
799
|
+
}
|
800
|
+
],
|
785
801
|
"DescribeDutyScheduleDetails": [
|
786
802
|
{
|
787
803
|
"document": "获取轮流值班",
|
@@ -1612,7 +1628,7 @@
|
|
1612
1628
|
{
|
1613
1629
|
"document": "查询任务脚本",
|
1614
1630
|
"input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTaskScript\n<公共请求参数>\n\n{\n \"ProjectId\": \"1\",\n \"TaskId\": \"20220727140613327\"\n}",
|
1615
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"3100df93-5da5-45d1-b06b-dd08612f8224\",\n \"Data\": {\n \"ScriptContent\": \"#!/bin/bash\\n#******************************************************************#\\n##author: TBDS\\n##create time: 2022-07-27 14:06:13\\n#******************************************************************#\\necho \\\"222\\\"\"\n }\n }\n}",
|
1631
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"3100df93-5da5-45d1-b06b-dd08612f8224\",\n \"Data\": {\n \"ScriptContent\": \"[note: BASE64 encoding] #!/bin/bash\\n#******************************************************************#\\n##author: TBDS\\n##create time: 2022-07-27 14:06:13\\n#******************************************************************#\\necho \\\"222\\\"\"\n }\n }\n}",
|
1616
1632
|
"title": "查询任务脚本范例"
|
1617
1633
|
}
|
1618
1634
|
],
|
@@ -8597,6 +8597,58 @@ def doCheckAlarmRegularNameExist(args, parsed_globals):
|
|
8597
8597
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
8598
8598
|
|
8599
8599
|
|
8600
|
+
def doDescribeInstanceLastLog(args, parsed_globals):
|
8601
|
+
g_param = parse_global_arg(parsed_globals)
|
8602
|
+
|
8603
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
8604
|
+
cred = credential.CVMRoleCredential()
|
8605
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
8606
|
+
cred = credential.STSAssumeRoleCredential(
|
8607
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
8608
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
8609
|
+
)
|
8610
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
8611
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
8612
|
+
else:
|
8613
|
+
cred = credential.Credential(
|
8614
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
8615
|
+
)
|
8616
|
+
http_profile = HttpProfile(
|
8617
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
8618
|
+
reqMethod="POST",
|
8619
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
8620
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
8621
|
+
)
|
8622
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
8623
|
+
if g_param[OptionsDefine.Language]:
|
8624
|
+
profile.language = g_param[OptionsDefine.Language]
|
8625
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
8626
|
+
client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
|
8627
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
8628
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
8629
|
+
model = models.DescribeInstanceLastLogRequest()
|
8630
|
+
model.from_json_string(json.dumps(args))
|
8631
|
+
start_time = time.time()
|
8632
|
+
while True:
|
8633
|
+
rsp = client.DescribeInstanceLastLog(model)
|
8634
|
+
result = rsp.to_json_string()
|
8635
|
+
try:
|
8636
|
+
json_obj = json.loads(result)
|
8637
|
+
except TypeError as e:
|
8638
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
8639
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
8640
|
+
break
|
8641
|
+
cur_time = time.time()
|
8642
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
8643
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
8644
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
8645
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
8646
|
+
else:
|
8647
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
8648
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
8649
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
8650
|
+
|
8651
|
+
|
8600
8652
|
def doCheckIntegrationTaskNameExists(args, parsed_globals):
|
8601
8653
|
g_param = parse_global_arg(parsed_globals)
|
8602
8654
|
|
@@ -9013,6 +9065,58 @@ def doDescribeRulesByPage(args, parsed_globals):
|
|
9013
9065
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
9014
9066
|
|
9015
9067
|
|
9068
|
+
def doDescribeDsTaskVersionList(args, parsed_globals):
|
9069
|
+
g_param = parse_global_arg(parsed_globals)
|
9070
|
+
|
9071
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
9072
|
+
cred = credential.CVMRoleCredential()
|
9073
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
9074
|
+
cred = credential.STSAssumeRoleCredential(
|
9075
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
9076
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
9077
|
+
)
|
9078
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
9079
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
9080
|
+
else:
|
9081
|
+
cred = credential.Credential(
|
9082
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
9083
|
+
)
|
9084
|
+
http_profile = HttpProfile(
|
9085
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
9086
|
+
reqMethod="POST",
|
9087
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
9088
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
9089
|
+
)
|
9090
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
9091
|
+
if g_param[OptionsDefine.Language]:
|
9092
|
+
profile.language = g_param[OptionsDefine.Language]
|
9093
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
9094
|
+
client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
|
9095
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
9096
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
9097
|
+
model = models.DescribeDsTaskVersionListRequest()
|
9098
|
+
model.from_json_string(json.dumps(args))
|
9099
|
+
start_time = time.time()
|
9100
|
+
while True:
|
9101
|
+
rsp = client.DescribeDsTaskVersionList(model)
|
9102
|
+
result = rsp.to_json_string()
|
9103
|
+
try:
|
9104
|
+
json_obj = json.loads(result)
|
9105
|
+
except TypeError as e:
|
9106
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
9107
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
9108
|
+
break
|
9109
|
+
cur_time = time.time()
|
9110
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
9111
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
9112
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
9113
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
9114
|
+
else:
|
9115
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
9116
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
9117
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
9118
|
+
|
9119
|
+
|
9016
9120
|
def doDescribeCodeTemplateDetail(args, parsed_globals):
|
9017
9121
|
g_param = parse_global_arg(parsed_globals)
|
9018
9122
|
|
@@ -12497,7 +12601,7 @@ def doBatchRunOpsTask(args, parsed_globals):
|
|
12497
12601
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
12498
12602
|
|
12499
12603
|
|
12500
|
-
def
|
12604
|
+
def doDescribeDsTaskVersionInfo(args, parsed_globals):
|
12501
12605
|
g_param = parse_global_arg(parsed_globals)
|
12502
12606
|
|
12503
12607
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -12526,11 +12630,11 @@ def doDescribeQualityScoreTrend(args, parsed_globals):
|
|
12526
12630
|
client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
|
12527
12631
|
client._sdkVersion += ("_CLI_" + __version__)
|
12528
12632
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
12529
|
-
model = models.
|
12633
|
+
model = models.DescribeDsTaskVersionInfoRequest()
|
12530
12634
|
model.from_json_string(json.dumps(args))
|
12531
12635
|
start_time = time.time()
|
12532
12636
|
while True:
|
12533
|
-
rsp = client.
|
12637
|
+
rsp = client.DescribeDsTaskVersionInfo(model)
|
12534
12638
|
result = rsp.to_json_string()
|
12535
12639
|
try:
|
12536
12640
|
json_obj = json.loads(result)
|
@@ -13173,7 +13277,7 @@ def doDescribeRuleTemplate(args, parsed_globals):
|
|
13173
13277
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
13174
13278
|
|
13175
13279
|
|
13176
|
-
def
|
13280
|
+
def doDescribeQualityScoreTrend(args, parsed_globals):
|
13177
13281
|
g_param = parse_global_arg(parsed_globals)
|
13178
13282
|
|
13179
13283
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -13202,11 +13306,11 @@ def doDescribeInstanceLastLog(args, parsed_globals):
|
|
13202
13306
|
client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
|
13203
13307
|
client._sdkVersion += ("_CLI_" + __version__)
|
13204
13308
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
13205
|
-
model = models.
|
13309
|
+
model = models.DescribeQualityScoreTrendRequest()
|
13206
13310
|
model.from_json_string(json.dumps(args))
|
13207
13311
|
start_time = time.time()
|
13208
13312
|
while True:
|
13209
|
-
rsp = client.
|
13313
|
+
rsp = client.DescribeQualityScoreTrend(model)
|
13210
13314
|
result = rsp.to_json_string()
|
13211
13315
|
try:
|
13212
13316
|
json_obj = json.loads(result)
|
@@ -14701,6 +14805,7 @@ ACTION_MAP = {
|
|
14701
14805
|
"DescribeDutyScheduleList": doDescribeDutyScheduleList,
|
14702
14806
|
"DeleteRule": doDeleteRule,
|
14703
14807
|
"CheckAlarmRegularNameExist": doCheckAlarmRegularNameExist,
|
14808
|
+
"DescribeInstanceLastLog": doDescribeInstanceLastLog,
|
14704
14809
|
"CheckIntegrationTaskNameExists": doCheckIntegrationTaskNameExists,
|
14705
14810
|
"DescribeTablePartitions": doDescribeTablePartitions,
|
14706
14811
|
"UploadResource": doUploadResource,
|
@@ -14709,6 +14814,7 @@ ACTION_MAP = {
|
|
14709
14814
|
"GetOfflineDIInstanceList": doGetOfflineDIInstanceList,
|
14710
14815
|
"BatchMakeUpIntegrationTasks": doBatchMakeUpIntegrationTasks,
|
14711
14816
|
"DescribeRulesByPage": doDescribeRulesByPage,
|
14817
|
+
"DescribeDsTaskVersionList": doDescribeDsTaskVersionList,
|
14712
14818
|
"DescribeCodeTemplateDetail": doDescribeCodeTemplateDetail,
|
14713
14819
|
"DescribeRule": doDescribeRule,
|
14714
14820
|
"ModifyWorkflowInfo": doModifyWorkflowInfo,
|
@@ -14776,7 +14882,7 @@ ACTION_MAP = {
|
|
14776
14882
|
"ListInstances": doListInstances,
|
14777
14883
|
"CommitRuleGroupTask": doCommitRuleGroupTask,
|
14778
14884
|
"BatchRunOpsTask": doBatchRunOpsTask,
|
14779
|
-
"
|
14885
|
+
"DescribeDsTaskVersionInfo": doDescribeDsTaskVersionInfo,
|
14780
14886
|
"ModifyTaskLinks": doModifyTaskLinks,
|
14781
14887
|
"RenewWorkflowSchedulerInfoDs": doRenewWorkflowSchedulerInfoDs,
|
14782
14888
|
"DescribeOpsMakePlans": doDescribeOpsMakePlans,
|
@@ -14789,7 +14895,7 @@ ACTION_MAP = {
|
|
14789
14895
|
"BatchResumeIntegrationTasks": doBatchResumeIntegrationTasks,
|
14790
14896
|
"GetInstanceLog": doGetInstanceLog,
|
14791
14897
|
"DescribeRuleTemplate": doDescribeRuleTemplate,
|
14792
|
-
"
|
14898
|
+
"DescribeQualityScoreTrend": doDescribeQualityScoreTrend,
|
14793
14899
|
"SubmitSqlTask": doSubmitSqlTask,
|
14794
14900
|
"DescribeDataSourceInfoList": doDescribeDataSourceInfoList,
|
14795
14901
|
"DescribeTemplateDimCount": doDescribeTemplateDimCount,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tccli
|
3
|
-
Version: 3.0.
|
3
|
+
Version: 3.0.1341.1
|
4
4
|
Summary: Universal Command Line Environment for Tencent Cloud
|
5
5
|
Project-URL: Bug Tracker, https://github.com/TencentCloud/tencentcloud-cli/issues
|
6
6
|
Project-URL: Homepage, https://github.com/TencentCloud/tencentcloud-cli
|
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
13
13
|
Classifier: Programming Language :: Python :: 3
|
14
14
|
Requires-Dist: jmespath==0.10.0
|
15
15
|
Requires-Dist: six==1.16.0
|
16
|
-
Requires-Dist: tencentcloud-sdk-python>=3.0.
|
16
|
+
Requires-Dist: tencentcloud-sdk-python>=3.0.1341
|
17
17
|
Description-Content-Type: text/markdown
|
18
18
|
|
19
19
|
# 命令行工具简介
|