tccli 3.0.1084.1__py2.py3-none-any.whl → 3.0.1086.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (213) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/aiart/v20221229/QueryTextToImageProJob.md +30 -0
  3. tccli/examples/aiart/v20221229/SubmitTextToImageProJob.md +22 -0
  4. tccli/examples/billing/v20180709/DescribeCostDetail.md +36 -33
  5. tccli/examples/billing/v20180709/DescribeCostSummaryByProject.md +25 -80
  6. tccli/examples/billing/v20180709/DescribeCostSummaryByRegion.md +23 -14
  7. tccli/examples/billing/v20180709/DescribeCostSummaryByResource.md +53 -27
  8. tccli/examples/ccc/v20200210/CreateCompanyApply.md +36 -0
  9. tccli/examples/ccc/v20200210/DescribeCompanyList.md +33 -0
  10. tccli/examples/ccc/v20200210/ModifyCompanyApply.md +36 -0
  11. tccli/examples/ckafka/v20190819/CreateInstancePost.md +9 -6
  12. tccli/examples/ckafka/v20190819/CreatePrometheus.md +29 -0
  13. tccli/examples/ckafka/v20190819/DescribePrometheus.md +25 -0
  14. tccli/examples/cynosdb/v20190107/RollbackToNewCluster.md +62 -0
  15. tccli/examples/dlc/v20210125/QueryTaskCostDetail.md +20 -0
  16. tccli/examples/essbasic/v20210526/ChannelCreateReleaseFlow.md +1 -1
  17. tccli/examples/faceid/v20180301/GetFaceIdResult.md +4 -4
  18. tccli/examples/iotexplorer/v20190423/BindCloudStorageUser.md +22 -0
  19. tccli/examples/iotexplorer/v20190423/CreateIotVideoCloudStorage.md +22 -0
  20. tccli/examples/iotexplorer/v20190423/DeleteCloudStorageEvent.md +26 -0
  21. tccli/examples/iotexplorer/v20190423/DescribeCloudStorage.md +27 -0
  22. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageDate.md +24 -0
  23. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageEvents.md +87 -0
  24. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageMultiThumbnail.md +28 -0
  25. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageOrder.md +25 -0
  26. tccli/examples/iotexplorer/v20190423/DescribeCloudStoragePackageConsumeDetails.md +21 -0
  27. tccli/examples/iotexplorer/v20190423/DescribeCloudStoragePackageConsumeStats.md +44 -0
  28. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageStreamData.md +24 -0
  29. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageThumbnail.md +24 -0
  30. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageThumbnailList.md +28 -0
  31. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageTime.md +43 -0
  32. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageUsers.md +29 -0
  33. tccli/examples/iotexplorer/v20190423/DescribeDevicePackages.md +37 -0
  34. tccli/examples/iotexplorer/v20190423/DescribePackageConsumeTask.md +21 -0
  35. tccli/examples/iotexplorer/v20190423/DescribePackageConsumeTasks.md +39 -0
  36. tccli/examples/iotexplorer/v20190423/GenerateSignedVideoURL.md +22 -0
  37. tccli/examples/iotexplorer/v20190423/InheritCloudStorageUser.md +23 -0
  38. tccli/examples/iotexplorer/v20190423/ResetCloudStorage.md +21 -0
  39. tccli/examples/iotexplorer/v20190423/ResetCloudStorageEvent.md +22 -0
  40. tccli/examples/iotexplorer/v20190423/TransferCloudStorage.md +22 -0
  41. tccli/examples/monitor/v20180724/CreateExporterIntegration.md +626 -2
  42. tccli/examples/ocr/v20181119/ReconstructDocument.md +2263 -0
  43. tccli/examples/pts/v20210728/CreateEnvironment.md +18 -0
  44. tccli/examples/pts/v20210728/DeleteEnvironments.md +18 -0
  45. tccli/examples/pts/v20210728/DescribeEnvironments.md +18 -0
  46. tccli/examples/pts/v20210728/UpdateEnvironment.md +18 -0
  47. tccli/examples/redis/v20180412/DescribeInstanceEvents.md +45 -0
  48. tccli/examples/redis/v20180412/ModifyInstanceEvent.md +25 -0
  49. tccli/examples/ssl/v20191205/UploadCertificate.md +48 -3
  50. tccli/examples/tag/v20180813/DescribeProjects.md +1 -1
  51. tccli/examples/tione/v20211111/CreateModelService.md +3 -1
  52. tccli/examples/tione/v20211111/ModifyModelService.md +62 -228
  53. tccli/examples/vrs/v20200824/DetectEnvAndSoundQuality.md +12 -4
  54. tccli/examples/wedata/v20210820/BatchCreateIntegrationTaskAlarms.md +11 -11
  55. tccli/examples/wedata/v20210820/BatchForceSuccessIntegrationTaskInstances.md +2 -2
  56. tccli/examples/wedata/v20210820/BatchKillIntegrationTaskInstances.md +2 -2
  57. tccli/examples/wedata/v20210820/BatchMakeUpIntegrationTasks.md +2 -2
  58. tccli/examples/wedata/v20210820/BatchRerunIntegrationTaskInstances.md +5 -2
  59. tccli/examples/wedata/v20210820/CheckDuplicateRuleName.md +5 -5
  60. tccli/examples/wedata/v20210820/CheckDuplicateTemplateName.md +4 -4
  61. tccli/examples/wedata/v20210820/CheckIntegrationNodeNameExists.md +4 -4
  62. tccli/examples/wedata/v20210820/CheckIntegrationTaskNameExists.md +4 -4
  63. tccli/examples/wedata/v20210820/CheckTaskNameExist.md +3 -3
  64. tccli/examples/wedata/v20210820/CommitExportTask.md +4 -4
  65. tccli/examples/wedata/v20210820/CreateInLongAgent.md +6 -6
  66. tccli/examples/wedata/v20210820/CreateOrUpdateResource.md +2 -1
  67. tccli/examples/wedata/v20210820/CreateRuleTemplate.md +1 -1
  68. tccli/examples/wedata/v20210820/CreateTaskAlarmRegular.md +11 -11
  69. tccli/examples/wedata/v20210820/DeleteInLongAgent.md +3 -3
  70. tccli/examples/wedata/v20210820/DeleteIntegrationNode.md +2 -2
  71. tccli/examples/wedata/v20210820/DeleteOfflineTask.md +4 -4
  72. tccli/examples/wedata/v20210820/DeleteRule.md +1 -1
  73. tccli/examples/wedata/v20210820/DeleteRuleTemplate.md +1 -1
  74. tccli/examples/wedata/v20210820/DescribeClusterNamespaceList.md +6 -6
  75. tccli/examples/wedata/v20210820/DescribeDataBases.md +12 -8
  76. tccli/examples/wedata/v20210820/DescribeDataCheckStat.md +5 -5
  77. tccli/examples/wedata/v20210820/DescribeDataObjects.md +6 -3
  78. tccli/examples/wedata/v20210820/DescribeExecStrategy.md +20 -16
  79. tccli/examples/wedata/v20210820/DescribeInLongAgentTaskList.md +6 -6
  80. tccli/examples/wedata/v20210820/DescribeInLongAgentVpcList.md +3 -3
  81. tccli/examples/wedata/v20210820/DescribeInstances.md +6 -6
  82. tccli/examples/wedata/v20210820/DescribeIntegrationNode.md +61 -43
  83. tccli/examples/wedata/v20210820/DescribeIntegrationStatistics.md +13 -13
  84. tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsAgentStatus.md +6 -6
  85. tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsInstanceTrend.md +8 -10
  86. tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsRecordsTrend.md +1 -1
  87. tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsTaskStatus.md +5 -5
  88. tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsTaskStatusTrend.md +8 -10
  89. tccli/examples/wedata/v20210820/DescribeMonitorsByPage.md +7 -7
  90. tccli/examples/wedata/v20210820/DescribeOfflineTaskToken.md +3 -3
  91. tccli/examples/wedata/v20210820/DescribeProdTasks.md +6 -5
  92. tccli/examples/wedata/v20210820/DescribeRealTimeTaskInstanceNodeInfo.md +9 -9
  93. tccli/examples/wedata/v20210820/DescribeRealTimeTaskSpeed.md +32 -26
  94. tccli/examples/wedata/v20210820/DescribeRule.md +118 -23
  95. tccli/examples/wedata/v20210820/DescribeRuleDataSources.md +11 -8
  96. tccli/examples/wedata/v20210820/DescribeRuleDimStat.md +3 -3
  97. tccli/examples/wedata/v20210820/DescribeRuleExecDetail.md +48 -41
  98. tccli/examples/wedata/v20210820/DescribeRuleExecExportResult.md +15 -10
  99. tccli/examples/wedata/v20210820/DescribeRuleExecLog.md +2 -2
  100. tccli/examples/wedata/v20210820/DescribeRuleExecResults.md +72 -4
  101. tccli/examples/wedata/v20210820/DescribeRuleExecResultsByPage.md +38 -33
  102. tccli/examples/wedata/v20210820/DescribeRuleExecStat.md +14 -14
  103. tccli/examples/wedata/v20210820/DescribeRuleGroup.md +50 -23
  104. tccli/examples/wedata/v20210820/DescribeRuleGroupExecResultsByPage.md +87 -14
  105. tccli/examples/wedata/v20210820/DescribeRuleGroupExecResultsByPageWithoutAuth.md +81 -12
  106. tccli/examples/wedata/v20210820/DescribeRuleGroupSubscription.md +12 -6
  107. tccli/examples/wedata/v20210820/DescribeRuleGroupTable.md +35 -27
  108. tccli/examples/wedata/v20210820/DescribeRuleGroupsByPage.md +51 -21
  109. tccli/examples/wedata/v20210820/DescribeRuleHistoryByPage.md +9 -9
  110. tccli/examples/wedata/v20210820/DescribeRuleTablesByPage.md +52 -35
  111. tccli/examples/wedata/v20210820/DescribeRuleTemplate.md +33 -16
  112. tccli/examples/wedata/v20210820/DescribeRuleTemplates.md +8 -8
  113. tccli/examples/wedata/v20210820/DescribeRuleTemplatesByPage.md +13 -13
  114. tccli/examples/wedata/v20210820/DescribeRulesByPage.md +123 -28
  115. tccli/examples/wedata/v20210820/DescribeStandardRuleDetailInfoList.md +3 -3
  116. tccli/examples/wedata/v20210820/DescribeTableInfoList.md +9 -2
  117. tccli/examples/wedata/v20210820/DescribeTaskInstance.md +35 -35
  118. tccli/examples/wedata/v20210820/DescribeTaskInstanceReportDetail.md +28 -26
  119. tccli/examples/wedata/v20210820/DescribeTaskLockStatus.md +7 -7
  120. tccli/examples/wedata/v20210820/DescribeTaskReport.md +6 -6
  121. tccli/examples/wedata/v20210820/DescribeTaskReportDetailList.md +17 -17
  122. tccli/examples/wedata/v20210820/DescribeTopTableStat.md +9 -9
  123. tccli/examples/wedata/v20210820/DescribeTrendStat.md +2 -2
  124. tccli/examples/wedata/v20210820/DryRunDIOfflineTask.md +10 -9
  125. tccli/examples/wedata/v20210820/GetIntegrationNodeColumnSchema.md +13 -11
  126. tccli/examples/wedata/v20210820/GetOfflineDIInstanceList.md +26 -26
  127. tccli/examples/wedata/v20210820/LockIntegrationTask.md +4 -4
  128. tccli/examples/wedata/v20210820/ModifyIntegrationNode.md +42 -41
  129. tccli/examples/wedata/v20210820/ModifyIntegrationTask.md +110 -58
  130. tccli/examples/wedata/v20210820/ModifyMonitorStatus.md +4 -4
  131. tccli/examples/wedata/v20210820/ModifyRule.md +24 -24
  132. tccli/examples/wedata/v20210820/ModifyRuleGroupSubscription.md +11 -13
  133. tccli/examples/wedata/v20210820/ModifyTaskAlarmRegular.md +45 -16
  134. tccli/examples/wedata/v20210820/ModifyTaskName.md +5 -5
  135. tccli/examples/wedata/v20210820/RestartInLongAgent.md +3 -3
  136. tccli/examples/wedata/v20210820/RobAndLockIntegrationTask.md +7 -7
  137. tccli/examples/wedata/v20210820/StopIntegrationTask.md +4 -4
  138. tccli/examples/wedata/v20210820/TaskLog.md +5 -15
  139. tccli/examples/wedata/v20210820/UnlockIntegrationTask.md +4 -4
  140. tccli/examples/wedata/v20210820/UpdateInLongAgent.md +5 -5
  141. tccli/services/aiart/aiart_client.py +106 -0
  142. tccli/services/aiart/v20221229/api.json +174 -0
  143. tccli/services/aiart/v20221229/examples.json +16 -0
  144. tccli/services/asr/v20190614/api.json +4 -4
  145. tccli/services/bi/v20220105/api.json +27 -0
  146. tccli/services/billing/v20180709/api.json +365 -130
  147. tccli/services/billing/v20180709/examples.json +4 -4
  148. tccli/services/ccc/ccc_client.py +159 -0
  149. tccli/services/ccc/v20200210/api.json +442 -0
  150. tccli/services/ccc/v20200210/examples.json +24 -0
  151. tccli/services/cdb/v20170320/api.json +3 -3
  152. tccli/services/cdwch/v20200915/api.json +13 -4
  153. tccli/services/cdwdoris/v20211228/api.json +127 -0
  154. tccli/services/cdwpg/v20201230/api.json +9 -0
  155. tccli/services/ckafka/ckafka_client.py +106 -0
  156. tccli/services/ckafka/v20190819/api.json +190 -12
  157. tccli/services/ckafka/v20190819/examples.json +17 -1
  158. tccli/services/clb/v20180317/api.json +2 -2
  159. tccli/services/cloudstudio/v20230508/api.json +40 -4
  160. tccli/services/cls/v20201016/api.json +30 -30
  161. tccli/services/csip/v20221121/api.json +76 -76
  162. tccli/services/cwp/v20180228/api.json +124 -8
  163. tccli/services/cynosdb/cynosdb_client.py +53 -0
  164. tccli/services/cynosdb/v20190107/api.json +255 -0
  165. tccli/services/cynosdb/v20190107/examples.json +8 -0
  166. tccli/services/dlc/dlc_client.py +53 -0
  167. tccli/services/dlc/v20210125/api.json +103 -4
  168. tccli/services/dlc/v20210125/examples.json +8 -0
  169. tccli/services/dsgc/v20190723/api.json +20 -0
  170. tccli/services/dts/v20211206/api.json +56 -2
  171. tccli/services/es/v20180416/api.json +127 -24
  172. tccli/services/ess/v20201111/api.json +20 -20
  173. tccli/services/essbasic/v20210526/api.json +14 -5
  174. tccli/services/essbasic/v20210526/examples.json +1 -1
  175. tccli/services/faceid/v20180301/api.json +23 -13
  176. tccli/services/faceid/v20180301/examples.json +1 -1
  177. tccli/services/iotexplorer/iotexplorer_client.py +1453 -234
  178. tccli/services/iotexplorer/v20190423/api.json +2179 -117
  179. tccli/services/iotexplorer/v20190423/examples.json +184 -0
  180. tccli/services/lcic/v20220817/api.json +62 -4
  181. tccli/services/live/v20180801/api.json +16 -0
  182. tccli/services/monitor/v20180724/examples.json +111 -3
  183. tccli/services/mps/v20190612/api.json +161 -27
  184. tccli/services/ms/v20180408/api.json +14 -14
  185. tccli/services/ocr/ocr_client.py +53 -0
  186. tccli/services/ocr/v20181119/api.json +276 -0
  187. tccli/services/ocr/v20181119/examples.json +8 -0
  188. tccli/services/pts/pts_client.py +212 -0
  189. tccli/services/pts/v20210728/api.json +96 -0
  190. tccli/services/pts/v20210728/examples.json +32 -0
  191. tccli/services/redis/redis_client.py +106 -0
  192. tccli/services/redis/v20180412/api.json +342 -0
  193. tccli/services/redis/v20180412/examples.json +16 -0
  194. tccli/services/ssl/v20191205/examples.json +9 -3
  195. tccli/services/tag/v20180813/examples.json +1 -1
  196. tccli/services/tdmq/v20200217/api.json +45 -0
  197. tccli/services/tione/v20211111/api.json +77 -3
  198. tccli/services/tione/v20211111/examples.json +2 -2
  199. tccli/services/tms/v20201229/api.json +1 -1
  200. tccli/services/tmt/v20180321/api.json +1 -1
  201. tccli/services/trtc/v20190722/api.json +1 -1
  202. tccli/services/tse/v20201207/api.json +286 -42
  203. tccli/services/tts/v20190823/api.json +19 -10
  204. tccli/services/vod/v20180717/api.json +6 -6
  205. tccli/services/vrs/v20200824/api.json +34 -33
  206. tccli/services/vrs/v20200824/examples.json +1 -1
  207. tccli/services/wedata/v20210820/api.json +621 -198
  208. tccli/services/wedata/v20210820/examples.json +146 -146
  209. {tccli-3.0.1084.1.dist-info → tccli-3.0.1086.1.dist-info}/METADATA +2 -2
  210. {tccli-3.0.1084.1.dist-info → tccli-3.0.1086.1.dist-info}/RECORD +213 -174
  211. {tccli-3.0.1084.1.dist-info → tccli-3.0.1086.1.dist-info}/WHEEL +0 -0
  212. {tccli-3.0.1084.1.dist-info → tccli-3.0.1086.1.dist-info}/entry_points.txt +0 -0
  213. {tccli-3.0.1084.1.dist-info → tccli-3.0.1086.1.dist-info}/license_files/LICENSE +0 -0
@@ -204,11 +204,11 @@
204
204
  "status": "online"
205
205
  },
206
206
  "DeleteAttackLogs": {
207
- "document": "删除网络攻击日志",
207
+ "document": "ModifyEventAttackStatus 接口替代\n\n删除网络攻击日志",
208
208
  "input": "DeleteAttackLogsRequest",
209
209
  "name": "删除网络攻击日志",
210
210
  "output": "DeleteAttackLogsResponse",
211
- "status": "online"
211
+ "status": "deprecated"
212
212
  },
213
213
  "DeleteBanWhiteList": {
214
214
  "document": "删除阻断白名单列表",
@@ -2696,11 +2696,11 @@
2696
2696
  "status": "online"
2697
2697
  },
2698
2698
  "ExportAttackLogs": {
2699
- "document": "导出网络攻击日志",
2699
+ "document": "ExportAttackEvents接口替代\n\n导出网络攻击日志",
2700
2700
  "input": "ExportAttackLogsRequest",
2701
2701
  "name": "导出网络攻击日志",
2702
2702
  "output": "ExportAttackLogsResponse",
2703
- "status": "online"
2703
+ "status": "deprecated"
2704
2704
  },
2705
2705
  "ExportBaselineEffectHostList": {
2706
2706
  "document": "导出基线影响主机列表",
@@ -9372,7 +9372,7 @@
9372
9372
  "example": "无",
9373
9373
  "member": "int64",
9374
9374
  "name": "CategoryId",
9375
- "required": true,
9375
+ "output_required": true,
9376
9376
  "type": "int",
9377
9377
  "value_allowed_null": false
9378
9378
  },
@@ -9382,7 +9382,7 @@
9382
9382
  "example": "无",
9383
9383
  "member": "string",
9384
9384
  "name": "CategoryName",
9385
- "required": true,
9385
+ "output_required": true,
9386
9386
  "type": "string",
9387
9387
  "value_allowed_null": false
9388
9388
  },
@@ -9392,9 +9392,19 @@
9392
9392
  "example": "1",
9393
9393
  "member": "int64",
9394
9394
  "name": "ParentCategoryId",
9395
- "required": true,
9395
+ "output_required": true,
9396
9396
  "type": "int",
9397
9397
  "value_allowed_null": false
9398
+ },
9399
+ {
9400
+ "disabled": false,
9401
+ "document": "子分类下检测项总数\n注意:此字段可能返回 null,表示取不到有效值。",
9402
+ "example": "1",
9403
+ "member": "uint64",
9404
+ "name": "ItemCount",
9405
+ "output_required": false,
9406
+ "type": "int",
9407
+ "value_allowed_null": true
9398
9408
  }
9399
9409
  ],
9400
9410
  "usage": "out"
@@ -10563,6 +10573,52 @@
10563
10573
  ],
10564
10574
  "usage": "out"
10565
10575
  },
10576
+ "BaselineItemsCategory": {
10577
+ "document": "基线检测项分类树状结构",
10578
+ "members": [
10579
+ {
10580
+ "disabled": false,
10581
+ "document": "基线检测项父分类id",
10582
+ "example": "无",
10583
+ "member": "int64",
10584
+ "name": "ParentCategoryId",
10585
+ "output_required": true,
10586
+ "type": "int",
10587
+ "value_allowed_null": false
10588
+ },
10589
+ {
10590
+ "disabled": false,
10591
+ "document": "基线检测项父分类名称",
10592
+ "example": "无",
10593
+ "member": "string",
10594
+ "name": "ParentCategoryName",
10595
+ "output_required": true,
10596
+ "type": "string",
10597
+ "value_allowed_null": false
10598
+ },
10599
+ {
10600
+ "disabled": false,
10601
+ "document": "基线检测项子分类数目",
10602
+ "example": "无",
10603
+ "member": "int64",
10604
+ "name": "CategoryCount",
10605
+ "output_required": true,
10606
+ "type": "int",
10607
+ "value_allowed_null": false
10608
+ },
10609
+ {
10610
+ "disabled": false,
10611
+ "document": "基线检测项子分类列表",
10612
+ "example": "无",
10613
+ "member": "BaselineCategory",
10614
+ "name": "CategoryLists",
10615
+ "output_required": true,
10616
+ "type": "list",
10617
+ "value_allowed_null": false
10618
+ }
10619
+ ],
10620
+ "usage": "out"
10621
+ },
10566
10622
  "BaselinePolicy": {
10567
10623
  "document": "基线策略信息",
10568
10624
  "members": [
@@ -14976,10 +15032,20 @@
14976
15032
  "example": "0",
14977
15033
  "member": "uint64",
14978
15034
  "name": "Status",
14979
- "required": true,
15035
+ "output_required": true,
14980
15036
  "type": "int",
14981
15037
  "value_allowed_null": false
14982
15038
  },
15039
+ {
15040
+ "disabled": false,
15041
+ "document": "失败原因",
15042
+ "example": "无",
15043
+ "member": "string",
15044
+ "name": "Message",
15045
+ "output_required": false,
15046
+ "type": "string",
15047
+ "value_allowed_null": false
15048
+ },
14983
15049
  {
14984
15050
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
14985
15051
  "member": "string",
@@ -22299,6 +22365,16 @@
22299
22365
  "type": "int",
22300
22366
  "value_allowed_null": false
22301
22367
  },
22368
+ {
22369
+ "disabled": false,
22370
+ "document": "基线分类列表\n注意:此字段可能返回 null,表示取不到有效值。",
22371
+ "example": "无",
22372
+ "member": "BaselineItemsCategory",
22373
+ "name": "CategoryList",
22374
+ "output_required": false,
22375
+ "type": "list",
22376
+ "value_allowed_null": true
22377
+ },
22302
22378
  {
22303
22379
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
22304
22380
  "member": "string",
@@ -43239,6 +43315,7 @@
43239
43315
  "example": "无",
43240
43316
  "member": "int64",
43241
43317
  "name": "ItemId",
43318
+ "output_required": true,
43242
43319
  "required": true,
43243
43320
  "type": "int",
43244
43321
  "value_allowed_null": false
@@ -43249,9 +43326,21 @@
43249
43326
  "example": "无",
43250
43327
  "member": "string",
43251
43328
  "name": "ItemName",
43329
+ "output_required": true,
43252
43330
  "required": false,
43253
43331
  "type": "string",
43254
43332
  "value_allowed_null": false
43333
+ },
43334
+ {
43335
+ "disabled": false,
43336
+ "document": "自定义阈值\n注意:此字段可能返回 null,表示取不到有效值。",
43337
+ "example": "无",
43338
+ "member": "uint64",
43339
+ "name": "CustomItemValues",
43340
+ "output_required": false,
43341
+ "required": false,
43342
+ "type": "list",
43343
+ "value_allowed_null": true
43255
43344
  }
43256
43345
  ],
43257
43346
  "usage": "both"
@@ -46701,6 +46790,33 @@
46701
46790
  "name": "Filters",
46702
46791
  "required": false,
46703
46792
  "type": "list"
46793
+ },
46794
+ {
46795
+ "disabled": false,
46796
+ "document": "0:检测项,1:检测项分类",
46797
+ "example": "0",
46798
+ "member": "uint64",
46799
+ "name": "IdType",
46800
+ "required": false,
46801
+ "type": "int"
46802
+ },
46803
+ {
46804
+ "disabled": false,
46805
+ "document": "需要排除的检测项id",
46806
+ "example": "无",
46807
+ "member": "uint64",
46808
+ "name": "ExcludeIds",
46809
+ "required": false,
46810
+ "type": "list"
46811
+ },
46812
+ {
46813
+ "disabled": false,
46814
+ "document": "勾选的检测项分类",
46815
+ "example": "无",
46816
+ "member": "uint64",
46817
+ "name": "CategoryIds",
46818
+ "required": false,
46819
+ "type": "list"
46704
46820
  }
46705
46821
  ],
46706
46822
  "type": "object"
@@ -2981,6 +2981,58 @@ def doCreateAccounts(args, parsed_globals):
2981
2981
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2982
2982
 
2983
2983
 
2984
+ def doRollbackToNewCluster(args, parsed_globals):
2985
+ g_param = parse_global_arg(parsed_globals)
2986
+
2987
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2988
+ cred = credential.CVMRoleCredential()
2989
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2990
+ cred = credential.STSAssumeRoleCredential(
2991
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2992
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2993
+ )
2994
+ 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):
2995
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2996
+ else:
2997
+ cred = credential.Credential(
2998
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2999
+ )
3000
+ http_profile = HttpProfile(
3001
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
3002
+ reqMethod="POST",
3003
+ endpoint=g_param[OptionsDefine.Endpoint],
3004
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
3005
+ )
3006
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
3007
+ if g_param[OptionsDefine.Language]:
3008
+ profile.language = g_param[OptionsDefine.Language]
3009
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
3010
+ client = mod.CynosdbClient(cred, g_param[OptionsDefine.Region], profile)
3011
+ client._sdkVersion += ("_CLI_" + __version__)
3012
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
3013
+ model = models.RollbackToNewClusterRequest()
3014
+ model.from_json_string(json.dumps(args))
3015
+ start_time = time.time()
3016
+ while True:
3017
+ rsp = client.RollbackToNewCluster(model)
3018
+ result = rsp.to_json_string()
3019
+ try:
3020
+ json_obj = json.loads(result)
3021
+ except TypeError as e:
3022
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
3023
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
3024
+ break
3025
+ cur_time = time.time()
3026
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
3027
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
3028
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
3029
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
3030
+ else:
3031
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
3032
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
3033
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3034
+
3035
+
2984
3036
  def doCreateResourcePackage(args, parsed_globals):
2985
3037
  g_param = parse_global_arg(parsed_globals)
2986
3038
 
@@ -7001,6 +7053,7 @@ ACTION_MAP = {
7001
7053
  "ModifyClusterParam": doModifyClusterParam,
7002
7054
  "CreateClusters": doCreateClusters,
7003
7055
  "CreateAccounts": doCreateAccounts,
7056
+ "RollbackToNewCluster": doRollbackToNewCluster,
7004
7057
  "CreateResourcePackage": doCreateResourcePackage,
7005
7058
  "DescribeAuditLogFiles": doDescribeAuditLogFiles,
7006
7059
  "DeleteClusterDatabase": doDeleteClusterDatabase,
@@ -854,6 +854,13 @@
854
854
  "output": "RollBackClusterResponse",
855
855
  "status": "online"
856
856
  },
857
+ "RollbackToNewCluster": {
858
+ "document": "回档到新集群",
859
+ "input": "RollbackToNewClusterRequest",
860
+ "name": "回档到新集群",
861
+ "output": "RollbackToNewClusterResponse",
862
+ "status": "online"
863
+ },
857
864
  "SearchClusterDatabases": {
858
865
  "document": "本接口(SearchClusterDatabases)搜索集群数据库列表",
859
866
  "input": "SearchClusterDatabasesRequest",
@@ -17112,6 +17119,254 @@
17112
17119
  ],
17113
17120
  "usage": "out"
17114
17121
  },
17122
+ "RollbackToNewClusterRequest": {
17123
+ "document": "RollbackToNewCluster请求参数结构体",
17124
+ "members": [
17125
+ {
17126
+ "disabled": false,
17127
+ "document": "可用区",
17128
+ "example": "ap-guangzhou-3",
17129
+ "member": "string",
17130
+ "name": "Zone",
17131
+ "required": true,
17132
+ "type": "string"
17133
+ },
17134
+ {
17135
+ "disabled": false,
17136
+ "document": "回档时,传入源集群ID,用于查找源poolId",
17137
+ "example": "cynosdbmysql-xxxxxxxx",
17138
+ "member": "string",
17139
+ "name": "OriginalClusterId",
17140
+ "required": true,
17141
+ "type": "string"
17142
+ },
17143
+ {
17144
+ "disabled": false,
17145
+ "document": "集群名称,长度小于64个字符,每个字符取值范围:大/小写字母,数字,特殊符号('-','_','.')",
17146
+ "example": "MyClusterName",
17147
+ "member": "string",
17148
+ "name": "ClusterName",
17149
+ "required": false,
17150
+ "type": "string"
17151
+ },
17152
+ {
17153
+ "disabled": false,
17154
+ "document": "所属VPC网络ID",
17155
+ "example": "vpc-1ptuei0b",
17156
+ "member": "string",
17157
+ "name": "UniqVpcId",
17158
+ "required": false,
17159
+ "type": "string"
17160
+ },
17161
+ {
17162
+ "disabled": false,
17163
+ "document": "所属子网ID",
17164
+ "example": "subnet-1tmw9t4o",
17165
+ "member": "string",
17166
+ "name": "UniqSubnetId",
17167
+ "required": false,
17168
+ "type": "string"
17169
+ },
17170
+ {
17171
+ "disabled": false,
17172
+ "document": "是否自动选择代金券 1是 0否 默认为0",
17173
+ "example": "0",
17174
+ "member": "int64",
17175
+ "name": "AutoVoucher",
17176
+ "required": false,
17177
+ "type": "int"
17178
+ },
17179
+ {
17180
+ "disabled": false,
17181
+ "document": "Db类型\n当DbType为MYSQL时可选(默认NORMAL):\n<li>NORMAL</li>\n<li>SERVERLESS</li>",
17182
+ "example": "NORMAL",
17183
+ "member": "string",
17184
+ "name": "DbMode",
17185
+ "required": false,
17186
+ "type": "string"
17187
+ },
17188
+ {
17189
+ "disabled": false,
17190
+ "document": "当DbMode为SEVERLESS时必填\ncpu最小值,可选范围参考DescribeServerlessInstanceSpecs接口返回",
17191
+ "example": "1.0",
17192
+ "member": "float",
17193
+ "name": "MinCpu",
17194
+ "required": false,
17195
+ "type": "float"
17196
+ },
17197
+ {
17198
+ "disabled": false,
17199
+ "document": "当DbMode为SEVERLESS时必填:\ncpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回",
17200
+ "example": "2.0",
17201
+ "member": "float",
17202
+ "name": "MaxCpu",
17203
+ "required": false,
17204
+ "type": "float"
17205
+ },
17206
+ {
17207
+ "disabled": false,
17208
+ "document": "当DbMode为SEVERLESS时,指定集群是否自动暂停,可选范围\n<li>yes</li>\n<li>no</li>\n默认值:yes",
17209
+ "example": "yes",
17210
+ "member": "string",
17211
+ "name": "AutoPause",
17212
+ "required": false,
17213
+ "type": "string"
17214
+ },
17215
+ {
17216
+ "disabled": false,
17217
+ "document": "当DbMode为SEVERLESS时,指定集群自动暂停的延迟,单位秒,可选范围[600,691200]\n默认值:600",
17218
+ "example": "600",
17219
+ "member": "int64",
17220
+ "name": "AutoPauseDelay",
17221
+ "required": false,
17222
+ "type": "int"
17223
+ },
17224
+ {
17225
+ "disabled": false,
17226
+ "document": "安全组id数组",
17227
+ "example": "无",
17228
+ "member": "string",
17229
+ "name": "SecurityGroupIds",
17230
+ "required": false,
17231
+ "type": "list"
17232
+ },
17233
+ {
17234
+ "disabled": false,
17235
+ "document": "告警策略Id数组",
17236
+ "example": "无",
17237
+ "member": "string",
17238
+ "name": "AlarmPolicyIds",
17239
+ "required": false,
17240
+ "type": "list"
17241
+ },
17242
+ {
17243
+ "disabled": false,
17244
+ "document": "参数数组,暂时支持character_set_server (utf8|latin1|gbk|utf8mb4) ,lower_case_table_names,1-大小写不敏感,0-大小写敏感",
17245
+ "example": "无",
17246
+ "member": "ParamItem",
17247
+ "name": "ClusterParams",
17248
+ "required": false,
17249
+ "type": "list"
17250
+ },
17251
+ {
17252
+ "disabled": false,
17253
+ "document": "0-下单并支付 1-下单",
17254
+ "example": "无",
17255
+ "member": "int64",
17256
+ "name": "DealMode",
17257
+ "required": false,
17258
+ "type": "int"
17259
+ },
17260
+ {
17261
+ "disabled": false,
17262
+ "document": "参数模板ID,可以通过查询参数模板信息DescribeParamTemplates获得参数模板ID",
17263
+ "example": "0",
17264
+ "member": "int64",
17265
+ "name": "ParamTemplateId",
17266
+ "required": false,
17267
+ "type": "int"
17268
+ },
17269
+ {
17270
+ "disabled": false,
17271
+ "document": "集群创建需要绑定的tag数组信息",
17272
+ "example": "无",
17273
+ "member": "Tag",
17274
+ "name": "ResourceTags",
17275
+ "required": false,
17276
+ "type": "list"
17277
+ },
17278
+ {
17279
+ "disabled": false,
17280
+ "document": "实例初始化配置信息,主要用于购买集群时选不同规格实例",
17281
+ "example": "无",
17282
+ "member": "InstanceInitInfo",
17283
+ "name": "InstanceInitInfos",
17284
+ "required": false,
17285
+ "type": "list"
17286
+ },
17287
+ {
17288
+ "disabled": false,
17289
+ "document": "快照回档,表示snapshotId;时间点回档,表示queryId,为0,表示需要判断时间点是否有效",
17290
+ "example": "0",
17291
+ "member": "uint64",
17292
+ "name": "RollbackId",
17293
+ "required": false,
17294
+ "type": "int"
17295
+ },
17296
+ {
17297
+ "disabled": false,
17298
+ "document": "时间点回档,指定时间;快照回档,快照时间",
17299
+ "example": "2021-04-26 18:13:10",
17300
+ "member": "string",
17301
+ "name": "ExpectTime",
17302
+ "required": false,
17303
+ "type": "string"
17304
+ }
17305
+ ],
17306
+ "type": "object"
17307
+ },
17308
+ "RollbackToNewClusterResponse": {
17309
+ "document": "RollbackToNewCluster返回参数结构体",
17310
+ "members": [
17311
+ {
17312
+ "disabled": false,
17313
+ "document": "冻结流水ID\n注意:此字段可能返回 null,表示取不到有效值。",
17314
+ "example": "20190522160000003106844584180998",
17315
+ "member": "string",
17316
+ "name": "TranId",
17317
+ "output_required": true,
17318
+ "type": "string",
17319
+ "value_allowed_null": true
17320
+ },
17321
+ {
17322
+ "disabled": false,
17323
+ "document": "订单号\n注意:此字段可能返回 null,表示取不到有效值。",
17324
+ "example": "[\"20190522112283\"]",
17325
+ "member": "string",
17326
+ "name": "DealNames",
17327
+ "output_required": true,
17328
+ "type": "list",
17329
+ "value_allowed_null": true
17330
+ },
17331
+ {
17332
+ "disabled": false,
17333
+ "document": "资源ID列表(该字段已不再维护,请使用dealNames字段查询接口DescribeResourcesByDealName获取资源ID)\n注意:此字段可能返回 null,表示取不到有效值。",
17334
+ "example": "[\"cynosdbpg-ins-67rmucgk\"]",
17335
+ "member": "string",
17336
+ "name": "ResourceIds",
17337
+ "output_required": true,
17338
+ "type": "list",
17339
+ "value_allowed_null": true
17340
+ },
17341
+ {
17342
+ "disabled": false,
17343
+ "document": "集群ID列表(该字段已不再维护,请使用dealNames字段查询接口DescribeResourcesByDealName获取集群ID)\n注意:此字段可能返回 null,表示取不到有效值。",
17344
+ "example": "[\"cynosdbmysql-sls-9nts65r2\"]",
17345
+ "member": "string",
17346
+ "name": "ClusterIds",
17347
+ "output_required": true,
17348
+ "type": "list",
17349
+ "value_allowed_null": true
17350
+ },
17351
+ {
17352
+ "disabled": false,
17353
+ "document": "大订单号\n注意:此字段可能返回 null,表示取不到有效值。",
17354
+ "example": "[\"xxx\"]",
17355
+ "member": "string",
17356
+ "name": "BigDealIds",
17357
+ "output_required": true,
17358
+ "type": "list",
17359
+ "value_allowed_null": true
17360
+ },
17361
+ {
17362
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
17363
+ "member": "string",
17364
+ "name": "RequestId",
17365
+ "type": "string"
17366
+ }
17367
+ ],
17368
+ "type": "object"
17369
+ },
17115
17370
  "RuleFilters": {
17116
17371
  "document": "审计规则的规则过滤条件",
17117
17372
  "members": [
@@ -1000,6 +1000,14 @@
1000
1000
  "title": "集群回档"
1001
1001
  }
1002
1002
  ],
1003
+ "RollbackToNewCluster": [
1004
+ {
1005
+ "document": "",
1006
+ "input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RollbackToNewCluster\n<公共请求参数>\n\n{\n \"Zone\": \"abc\",\n \"UniqVpcId\": \"abc\",\n \"UniqSubnetId\": \"abc\",\n \"ClusterName\": \"abc\",\n \"RollbackId\": 1,\n \"OriginalClusterId\": \"abc\",\n \"ExpectTime\": \"abc\",\n \"AutoVoucher\": 0,\n \"ResourceTags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ],\n \"DbMode\": \"abc\",\n \"MinCpu\": 0,\n \"MaxCpu\": 0,\n \"AutoPause\": \"abc\",\n \"AutoPauseDelay\": 0,\n \"SecurityGroupIds\": [\n \"abc\"\n ],\n \"AlarmPolicyIds\": [\n \"abc\"\n ],\n \"ClusterParams\": [\n {\n \"ParamName\": \"abc\",\n \"CurrentValue\": \"abc\",\n \"OldValue\": \"abc\"\n }\n ],\n \"ParamTemplateId\": 0,\n \"InstanceInitInfos\": [\n {\n \"Cpu\": 0,\n \"Memory\": 0,\n \"InstanceType\": \"abc\",\n \"InstanceCount\": 0,\n \"MinRoCount\": 0,\n \"MaxRoCount\": 0,\n \"MinRoCpu\": 0,\n \"MaxRoCpu\": 0\n }\n ],\n \"DealMode\": 0\n}",
1007
+ "output": "{\n \"Response\": {\n \"TranId\": \"abc\",\n \"DealNames\": [\n \"abc\"\n ],\n \"ResourceIds\": [\n \"abc\"\n ],\n \"ClusterIds\": [\n \"abc\"\n ],\n \"BigDealIds\": [\n \"abc\"\n ],\n \"RequestId\": \"abc\"\n }\n}",
1008
+ "title": "回档到新集群"
1009
+ }
1010
+ ],
1003
1011
  "SearchClusterDatabases": [
1004
1012
  {
1005
1013
  "document": "",
@@ -3657,6 +3657,58 @@ def doDescribeDMSTable(args, parsed_globals):
3657
3657
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3658
3658
 
3659
3659
 
3660
+ def doQueryTaskCostDetail(args, parsed_globals):
3661
+ g_param = parse_global_arg(parsed_globals)
3662
+
3663
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
3664
+ cred = credential.CVMRoleCredential()
3665
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
3666
+ cred = credential.STSAssumeRoleCredential(
3667
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
3668
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
3669
+ )
3670
+ 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):
3671
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
3672
+ else:
3673
+ cred = credential.Credential(
3674
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
3675
+ )
3676
+ http_profile = HttpProfile(
3677
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
3678
+ reqMethod="POST",
3679
+ endpoint=g_param[OptionsDefine.Endpoint],
3680
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
3681
+ )
3682
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
3683
+ if g_param[OptionsDefine.Language]:
3684
+ profile.language = g_param[OptionsDefine.Language]
3685
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
3686
+ client = mod.DlcClient(cred, g_param[OptionsDefine.Region], profile)
3687
+ client._sdkVersion += ("_CLI_" + __version__)
3688
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
3689
+ model = models.QueryTaskCostDetailRequest()
3690
+ model.from_json_string(json.dumps(args))
3691
+ start_time = time.time()
3692
+ while True:
3693
+ rsp = client.QueryTaskCostDetail(model)
3694
+ result = rsp.to_json_string()
3695
+ try:
3696
+ json_obj = json.loads(result)
3697
+ except TypeError as e:
3698
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
3699
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
3700
+ break
3701
+ cur_time = time.time()
3702
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
3703
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
3704
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
3705
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
3706
+ else:
3707
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
3708
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
3709
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3710
+
3711
+
3660
3712
  def doDropDMSPartitions(args, parsed_globals):
3661
3713
  g_param = parse_global_arg(parsed_globals)
3662
3714
 
@@ -6494,6 +6546,7 @@ ACTION_MAP = {
6494
6546
  "DescribeNotebookSessionLog": doDescribeNotebookSessionLog,
6495
6547
  "DescribeResultDownload": doDescribeResultDownload,
6496
6548
  "DescribeDMSTable": doDescribeDMSTable,
6549
+ "QueryTaskCostDetail": doQueryTaskCostDetail,
6497
6550
  "DropDMSPartitions": doDropDMSPartitions,
6498
6551
  "CreateWorkGroup": doCreateWorkGroup,
6499
6552
  "DescribeDatasourceConnection": doDescribeDatasourceConnection,