tccli 3.0.1084.1__py2.py3-none-any.whl → 3.0.1085.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 (199) 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/ssl/v20191205/UploadCertificate.md +48 -3
  48. tccli/examples/tag/v20180813/DescribeProjects.md +1 -1
  49. tccli/examples/tione/v20211111/CreateModelService.md +3 -1
  50. tccli/examples/tione/v20211111/ModifyModelService.md +62 -228
  51. tccli/examples/wedata/v20210820/BatchCreateIntegrationTaskAlarms.md +11 -11
  52. tccli/examples/wedata/v20210820/BatchForceSuccessIntegrationTaskInstances.md +2 -2
  53. tccli/examples/wedata/v20210820/BatchKillIntegrationTaskInstances.md +2 -2
  54. tccli/examples/wedata/v20210820/BatchMakeUpIntegrationTasks.md +2 -2
  55. tccli/examples/wedata/v20210820/BatchRerunIntegrationTaskInstances.md +5 -2
  56. tccli/examples/wedata/v20210820/CheckDuplicateRuleName.md +5 -5
  57. tccli/examples/wedata/v20210820/CheckDuplicateTemplateName.md +4 -4
  58. tccli/examples/wedata/v20210820/CheckIntegrationNodeNameExists.md +4 -4
  59. tccli/examples/wedata/v20210820/CheckIntegrationTaskNameExists.md +4 -4
  60. tccli/examples/wedata/v20210820/CheckTaskNameExist.md +3 -3
  61. tccli/examples/wedata/v20210820/CommitExportTask.md +4 -4
  62. tccli/examples/wedata/v20210820/CreateInLongAgent.md +6 -6
  63. tccli/examples/wedata/v20210820/CreateOrUpdateResource.md +2 -1
  64. tccli/examples/wedata/v20210820/CreateRuleTemplate.md +1 -1
  65. tccli/examples/wedata/v20210820/CreateTaskAlarmRegular.md +11 -11
  66. tccli/examples/wedata/v20210820/DeleteInLongAgent.md +3 -3
  67. tccli/examples/wedata/v20210820/DeleteIntegrationNode.md +2 -2
  68. tccli/examples/wedata/v20210820/DeleteOfflineTask.md +4 -4
  69. tccli/examples/wedata/v20210820/DeleteRule.md +1 -1
  70. tccli/examples/wedata/v20210820/DeleteRuleTemplate.md +1 -1
  71. tccli/examples/wedata/v20210820/DescribeClusterNamespaceList.md +6 -6
  72. tccli/examples/wedata/v20210820/DescribeDataBases.md +12 -8
  73. tccli/examples/wedata/v20210820/DescribeDataCheckStat.md +5 -5
  74. tccli/examples/wedata/v20210820/DescribeDataObjects.md +6 -3
  75. tccli/examples/wedata/v20210820/DescribeExecStrategy.md +20 -16
  76. tccli/examples/wedata/v20210820/DescribeInLongAgentTaskList.md +6 -6
  77. tccli/examples/wedata/v20210820/DescribeInLongAgentVpcList.md +3 -3
  78. tccli/examples/wedata/v20210820/DescribeInstances.md +6 -6
  79. tccli/examples/wedata/v20210820/DescribeIntegrationNode.md +61 -43
  80. tccli/examples/wedata/v20210820/DescribeIntegrationStatistics.md +13 -13
  81. tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsAgentStatus.md +6 -6
  82. tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsInstanceTrend.md +8 -10
  83. tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsRecordsTrend.md +1 -1
  84. tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsTaskStatus.md +5 -5
  85. tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsTaskStatusTrend.md +8 -10
  86. tccli/examples/wedata/v20210820/DescribeMonitorsByPage.md +7 -7
  87. tccli/examples/wedata/v20210820/DescribeOfflineTaskToken.md +3 -3
  88. tccli/examples/wedata/v20210820/DescribeProdTasks.md +6 -5
  89. tccli/examples/wedata/v20210820/DescribeRealTimeTaskInstanceNodeInfo.md +9 -9
  90. tccli/examples/wedata/v20210820/DescribeRealTimeTaskSpeed.md +32 -26
  91. tccli/examples/wedata/v20210820/DescribeRule.md +118 -23
  92. tccli/examples/wedata/v20210820/DescribeRuleDataSources.md +11 -8
  93. tccli/examples/wedata/v20210820/DescribeRuleDimStat.md +3 -3
  94. tccli/examples/wedata/v20210820/DescribeRuleExecDetail.md +48 -41
  95. tccli/examples/wedata/v20210820/DescribeRuleExecExportResult.md +15 -10
  96. tccli/examples/wedata/v20210820/DescribeRuleExecLog.md +2 -2
  97. tccli/examples/wedata/v20210820/DescribeRuleExecResults.md +72 -4
  98. tccli/examples/wedata/v20210820/DescribeRuleExecResultsByPage.md +38 -33
  99. tccli/examples/wedata/v20210820/DescribeRuleExecStat.md +14 -14
  100. tccli/examples/wedata/v20210820/DescribeRuleGroup.md +50 -23
  101. tccli/examples/wedata/v20210820/DescribeRuleGroupExecResultsByPage.md +87 -14
  102. tccli/examples/wedata/v20210820/DescribeRuleGroupExecResultsByPageWithoutAuth.md +81 -12
  103. tccli/examples/wedata/v20210820/DescribeRuleGroupSubscription.md +12 -6
  104. tccli/examples/wedata/v20210820/DescribeRuleGroupTable.md +35 -27
  105. tccli/examples/wedata/v20210820/DescribeRuleGroupsByPage.md +51 -21
  106. tccli/examples/wedata/v20210820/DescribeRuleHistoryByPage.md +9 -9
  107. tccli/examples/wedata/v20210820/DescribeRuleTablesByPage.md +52 -35
  108. tccli/examples/wedata/v20210820/DescribeRuleTemplate.md +33 -16
  109. tccli/examples/wedata/v20210820/DescribeRuleTemplates.md +8 -8
  110. tccli/examples/wedata/v20210820/DescribeRuleTemplatesByPage.md +13 -13
  111. tccli/examples/wedata/v20210820/DescribeRulesByPage.md +123 -28
  112. tccli/examples/wedata/v20210820/DescribeStandardRuleDetailInfoList.md +3 -3
  113. tccli/examples/wedata/v20210820/DescribeTableInfoList.md +9 -2
  114. tccli/examples/wedata/v20210820/DescribeTaskInstance.md +35 -35
  115. tccli/examples/wedata/v20210820/DescribeTaskInstanceReportDetail.md +28 -26
  116. tccli/examples/wedata/v20210820/DescribeTaskLockStatus.md +7 -7
  117. tccli/examples/wedata/v20210820/DescribeTaskReport.md +6 -6
  118. tccli/examples/wedata/v20210820/DescribeTaskReportDetailList.md +17 -17
  119. tccli/examples/wedata/v20210820/DescribeTopTableStat.md +9 -9
  120. tccli/examples/wedata/v20210820/DescribeTrendStat.md +2 -2
  121. tccli/examples/wedata/v20210820/DryRunDIOfflineTask.md +10 -9
  122. tccli/examples/wedata/v20210820/GetIntegrationNodeColumnSchema.md +13 -11
  123. tccli/examples/wedata/v20210820/GetOfflineDIInstanceList.md +26 -26
  124. tccli/examples/wedata/v20210820/LockIntegrationTask.md +4 -4
  125. tccli/examples/wedata/v20210820/ModifyIntegrationNode.md +42 -41
  126. tccli/examples/wedata/v20210820/ModifyIntegrationTask.md +110 -58
  127. tccli/examples/wedata/v20210820/ModifyMonitorStatus.md +4 -4
  128. tccli/examples/wedata/v20210820/ModifyRule.md +24 -24
  129. tccli/examples/wedata/v20210820/ModifyRuleGroupSubscription.md +11 -13
  130. tccli/examples/wedata/v20210820/ModifyTaskAlarmRegular.md +45 -16
  131. tccli/examples/wedata/v20210820/ModifyTaskName.md +5 -5
  132. tccli/examples/wedata/v20210820/RestartInLongAgent.md +3 -3
  133. tccli/examples/wedata/v20210820/RobAndLockIntegrationTask.md +7 -7
  134. tccli/examples/wedata/v20210820/StopIntegrationTask.md +4 -4
  135. tccli/examples/wedata/v20210820/TaskLog.md +5 -15
  136. tccli/examples/wedata/v20210820/UnlockIntegrationTask.md +4 -4
  137. tccli/examples/wedata/v20210820/UpdateInLongAgent.md +5 -5
  138. tccli/services/aiart/aiart_client.py +106 -0
  139. tccli/services/aiart/v20221229/api.json +174 -0
  140. tccli/services/aiart/v20221229/examples.json +16 -0
  141. tccli/services/asr/v20190614/api.json +4 -4
  142. tccli/services/bi/v20220105/api.json +27 -0
  143. tccli/services/billing/v20180709/api.json +365 -130
  144. tccli/services/billing/v20180709/examples.json +4 -4
  145. tccli/services/ccc/ccc_client.py +159 -0
  146. tccli/services/ccc/v20200210/api.json +442 -0
  147. tccli/services/ccc/v20200210/examples.json +24 -0
  148. tccli/services/cdb/v20170320/api.json +3 -3
  149. tccli/services/cdwpg/v20201230/api.json +9 -0
  150. tccli/services/ckafka/ckafka_client.py +106 -0
  151. tccli/services/ckafka/v20190819/api.json +190 -12
  152. tccli/services/ckafka/v20190819/examples.json +17 -1
  153. tccli/services/clb/v20180317/api.json +2 -2
  154. tccli/services/cloudstudio/v20230508/api.json +40 -4
  155. tccli/services/cls/v20201016/api.json +30 -30
  156. tccli/services/csip/v20221121/api.json +76 -76
  157. tccli/services/cwp/v20180228/api.json +124 -8
  158. tccli/services/cynosdb/cynosdb_client.py +53 -0
  159. tccli/services/cynosdb/v20190107/api.json +255 -0
  160. tccli/services/cynosdb/v20190107/examples.json +8 -0
  161. tccli/services/dlc/dlc_client.py +53 -0
  162. tccli/services/dlc/v20210125/api.json +103 -4
  163. tccli/services/dlc/v20210125/examples.json +8 -0
  164. tccli/services/dsgc/v20190723/api.json +20 -0
  165. tccli/services/dts/v20211206/api.json +56 -2
  166. tccli/services/es/v20180416/api.json +127 -24
  167. tccli/services/ess/v20201111/api.json +19 -19
  168. tccli/services/essbasic/v20210526/api.json +13 -4
  169. tccli/services/essbasic/v20210526/examples.json +1 -1
  170. tccli/services/faceid/v20180301/api.json +23 -13
  171. tccli/services/faceid/v20180301/examples.json +1 -1
  172. tccli/services/iotexplorer/iotexplorer_client.py +1453 -234
  173. tccli/services/iotexplorer/v20190423/api.json +2179 -117
  174. tccli/services/iotexplorer/v20190423/examples.json +184 -0
  175. tccli/services/lcic/v20220817/api.json +62 -4
  176. tccli/services/monitor/v20180724/examples.json +111 -3
  177. tccli/services/mps/v20190612/api.json +53 -27
  178. tccli/services/ms/v20180408/api.json +14 -14
  179. tccli/services/ocr/ocr_client.py +53 -0
  180. tccli/services/ocr/v20181119/api.json +276 -0
  181. tccli/services/ocr/v20181119/examples.json +8 -0
  182. tccli/services/pts/pts_client.py +212 -0
  183. tccli/services/pts/v20210728/api.json +96 -0
  184. tccli/services/pts/v20210728/examples.json +32 -0
  185. tccli/services/ssl/v20191205/examples.json +9 -3
  186. tccli/services/tag/v20180813/examples.json +1 -1
  187. tccli/services/tione/v20211111/api.json +77 -3
  188. tccli/services/tione/v20211111/examples.json +2 -2
  189. tccli/services/tms/v20201229/api.json +1 -1
  190. tccli/services/trtc/v20190722/api.json +1 -1
  191. tccli/services/tts/v20190823/api.json +10 -1
  192. tccli/services/vod/v20180717/api.json +6 -6
  193. tccli/services/wedata/v20210820/api.json +621 -198
  194. tccli/services/wedata/v20210820/examples.json +146 -146
  195. {tccli-3.0.1084.1.dist-info → tccli-3.0.1085.1.dist-info}/METADATA +2 -2
  196. {tccli-3.0.1084.1.dist-info → tccli-3.0.1085.1.dist-info}/RECORD +199 -162
  197. {tccli-3.0.1084.1.dist-info → tccli-3.0.1085.1.dist-info}/WHEEL +0 -0
  198. {tccli-3.0.1084.1.dist-info → tccli-3.0.1085.1.dist-info}/entry_points.txt +0 -0
  199. {tccli-3.0.1084.1.dist-info → tccli-3.0.1085.1.dist-info}/license_files/LICENSE +0 -0
@@ -1057,6 +1057,58 @@ def doModifyDatahubTask(args, parsed_globals):
1057
1057
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1058
1058
 
1059
1059
 
1060
+ def doDescribePrometheus(args, parsed_globals):
1061
+ g_param = parse_global_arg(parsed_globals)
1062
+
1063
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1064
+ cred = credential.CVMRoleCredential()
1065
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1066
+ cred = credential.STSAssumeRoleCredential(
1067
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1068
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1069
+ )
1070
+ 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):
1071
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1072
+ else:
1073
+ cred = credential.Credential(
1074
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1075
+ )
1076
+ http_profile = HttpProfile(
1077
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1078
+ reqMethod="POST",
1079
+ endpoint=g_param[OptionsDefine.Endpoint],
1080
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1081
+ )
1082
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1083
+ if g_param[OptionsDefine.Language]:
1084
+ profile.language = g_param[OptionsDefine.Language]
1085
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1086
+ client = mod.CkafkaClient(cred, g_param[OptionsDefine.Region], profile)
1087
+ client._sdkVersion += ("_CLI_" + __version__)
1088
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1089
+ model = models.DescribePrometheusRequest()
1090
+ model.from_json_string(json.dumps(args))
1091
+ start_time = time.time()
1092
+ while True:
1093
+ rsp = client.DescribePrometheus(model)
1094
+ result = rsp.to_json_string()
1095
+ try:
1096
+ json_obj = json.loads(result)
1097
+ except TypeError as e:
1098
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1099
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1100
+ break
1101
+ cur_time = time.time()
1102
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1103
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1104
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1105
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1106
+ else:
1107
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1108
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1109
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1110
+
1111
+
1060
1112
  def doDescribeDatahubTasks(args, parsed_globals):
1061
1113
  g_param = parse_global_arg(parsed_globals)
1062
1114
 
@@ -2929,6 +2981,58 @@ def doDescribeAppInfo(args, parsed_globals):
2929
2981
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2930
2982
 
2931
2983
 
2984
+ def doCreatePrometheus(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.CkafkaClient(cred, g_param[OptionsDefine.Region], profile)
3011
+ client._sdkVersion += ("_CLI_" + __version__)
3012
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
3013
+ model = models.CreatePrometheusRequest()
3014
+ model.from_json_string(json.dumps(args))
3015
+ start_time = time.time()
3016
+ while True:
3017
+ rsp = client.CreatePrometheus(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
+
2932
3036
  def doInstanceScalingDown(args, parsed_globals):
2933
3037
  g_param = parse_global_arg(parsed_globals)
2934
3038
 
@@ -4260,6 +4364,7 @@ ACTION_MAP = {
4260
4364
  "DeleteConnectResource": doDeleteConnectResource,
4261
4365
  "DescribeGroup": doDescribeGroup,
4262
4366
  "ModifyDatahubTask": doModifyDatahubTask,
4367
+ "DescribePrometheus": doDescribePrometheus,
4263
4368
  "DescribeDatahubTasks": doDescribeDatahubTasks,
4264
4369
  "DescribeInstances": doDescribeInstances,
4265
4370
  "DescribeDatahubTopic": doDescribeDatahubTopic,
@@ -4296,6 +4401,7 @@ ACTION_MAP = {
4296
4401
  "CancelAuthorizationToken": doCancelAuthorizationToken,
4297
4402
  "DeleteAcl": doDeleteAcl,
4298
4403
  "DescribeAppInfo": doDescribeAppInfo,
4404
+ "CreatePrometheus": doCreatePrometheus,
4299
4405
  "InstanceScalingDown": doInstanceScalingDown,
4300
4406
  "DescribeGroupOffsets": doDescribeGroupOffsets,
4301
4407
  "DeleteInstancePre": doDeleteInstancePre,
@@ -119,6 +119,13 @@
119
119
  "output": "CreatePostPaidInstanceResponse",
120
120
  "status": "online"
121
121
  },
122
+ "CreatePrometheus": {
123
+ "document": "添加普罗米修斯监控1",
124
+ "input": "CreatePrometheusRequest",
125
+ "name": "添加普罗米修斯监控",
126
+ "output": "CreatePrometheusResponse",
127
+ "status": "online"
128
+ },
122
129
  "CreateRoute": {
123
130
  "document": "添加实例路由",
124
131
  "input": "CreateRouteRequest",
@@ -371,6 +378,13 @@
371
378
  "output": "DescribeInstancesDetailResponse",
372
379
  "status": "online"
373
380
  },
381
+ "DescribePrometheus": {
382
+ "document": "获取实例Prometheus信息",
383
+ "input": "DescribePrometheusRequest",
384
+ "name": "获取实例Prometheus信息",
385
+ "output": "DescribePrometheusResponse",
386
+ "status": "online"
387
+ },
374
388
  "DescribeRegion": {
375
389
  "document": "枚举地域,只支持广州地域",
376
390
  "input": "DescribeRegionRequest",
@@ -3396,22 +3410,13 @@
3396
3410
  "required": true,
3397
3411
  "type": "string"
3398
3412
  },
3399
- {
3400
- "disabled": false,
3401
- "document": "实例内网峰值带宽。单位 MB/s。标准版需传入当前实例规格所对应的峰值带宽。注意如果创建的实例为专业版实例,峰值带宽,分区数等参数配置需要满足专业版的计费规格。",
3402
- "example": "20",
3403
- "member": "int64",
3404
- "name": "BandWidth",
3405
- "required": true,
3406
- "type": "int"
3407
- },
3408
3413
  {
3409
3414
  "disabled": false,
3410
3415
  "document": "创建的实例默认接入点所在的 vpc 对应 vpcId。目前不支持创建基础网络实例,因此该参数必填",
3411
3416
  "example": "vpc-xxxxxxxx",
3412
3417
  "member": "string",
3413
3418
  "name": "VpcId",
3414
- "required": false,
3419
+ "required": true,
3415
3420
  "type": "string"
3416
3421
  },
3417
3422
  {
@@ -3420,9 +3425,18 @@
3420
3425
  "example": "subnet-xxxxxxxx",
3421
3426
  "member": "string",
3422
3427
  "name": "SubnetId",
3423
- "required": false,
3428
+ "required": true,
3424
3429
  "type": "string"
3425
3430
  },
3431
+ {
3432
+ "disabled": false,
3433
+ "document": "实例内网峰值带宽。单位 MB/s。标准版需传入当前实例规格所对应的峰值带宽。注意如果创建的实例为专业版实例,峰值带宽,分区数等参数配置需要满足专业版的计费规格。",
3434
+ "example": "20",
3435
+ "member": "int64",
3436
+ "name": "BandWidth",
3437
+ "required": true,
3438
+ "type": "int"
3439
+ },
3426
3440
  {
3427
3441
  "disabled": false,
3428
3442
  "document": "国际站标准版实例规格。目前只有国际站标准版使用当前字段区分规格,国内站标准版使用峰值带宽区分规格。除了国际站标准版外的所有实例填写 1 即可。国际站标准版实例:入门型(general)]填写1;[标准型(standard)]填写2;[进阶型(advanced)]填写3;[容量型(capacity)]填写4;[高阶型1(specialized-1)]填写5;[高阶型2(specialized-2)]填写6;[高阶型3(specialized-3)]填写7;[高阶型4(specialized-4)]填写8。",
@@ -4163,6 +4177,61 @@
4163
4177
  ],
4164
4178
  "type": "object"
4165
4179
  },
4180
+ "CreatePrometheusRequest": {
4181
+ "document": "CreatePrometheus请求参数结构体",
4182
+ "members": [
4183
+ {
4184
+ "disabled": false,
4185
+ "document": "ckafka实例id",
4186
+ "example": "ckafka-xxx",
4187
+ "member": "string",
4188
+ "name": "InstanceId",
4189
+ "required": true,
4190
+ "type": "string"
4191
+ },
4192
+ {
4193
+ "disabled": false,
4194
+ "document": "vpc地址",
4195
+ "example": "vpc-xxxx",
4196
+ "member": "string",
4197
+ "name": "VpcId",
4198
+ "required": true,
4199
+ "type": "string"
4200
+ },
4201
+ {
4202
+ "disabled": false,
4203
+ "document": "子网地址",
4204
+ "example": "subnet-xxxx",
4205
+ "member": "string",
4206
+ "name": "SubnetId",
4207
+ "required": true,
4208
+ "type": "string"
4209
+ }
4210
+ ],
4211
+ "type": "object"
4212
+ },
4213
+ "CreatePrometheusResponse": {
4214
+ "document": "CreatePrometheus返回参数结构体",
4215
+ "members": [
4216
+ {
4217
+ "disabled": false,
4218
+ "document": "打通普罗米修斯",
4219
+ "example": "data",
4220
+ "member": "PrometheusResult",
4221
+ "name": "Result",
4222
+ "required": true,
4223
+ "type": "object",
4224
+ "value_allowed_null": false
4225
+ },
4226
+ {
4227
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
4228
+ "member": "string",
4229
+ "name": "RequestId",
4230
+ "type": "string"
4231
+ }
4232
+ ],
4233
+ "type": "object"
4234
+ },
4166
4235
  "CreateRouteRequest": {
4167
4236
  "document": "CreateRoute请求参数结构体",
4168
4237
  "members": [
@@ -7417,7 +7486,7 @@
7417
7486
  },
7418
7487
  {
7419
7488
  "disabled": false,
7420
- "document": "Kafka 消费分组,Consumer-group,这里是数组形式,格式:GroupList.0=xxx&GroupList.1=yyy",
7489
+ "document": "Kafka 消费分组,Consumer-group,这里是数组形式,示例:[\"xxx\",\"yyy\"]",
7421
7490
  "example": "无",
7422
7491
  "member": "string",
7423
7492
  "name": "GroupList",
@@ -7840,6 +7909,43 @@
7840
7909
  ],
7841
7910
  "type": "object"
7842
7911
  },
7912
+ "DescribePrometheusRequest": {
7913
+ "document": "DescribePrometheus请求参数结构体",
7914
+ "members": [
7915
+ {
7916
+ "disabled": false,
7917
+ "document": "ckafka实例Id",
7918
+ "example": "ckafka-xxx",
7919
+ "member": "string",
7920
+ "name": "InstanceId",
7921
+ "required": true,
7922
+ "type": "string"
7923
+ }
7924
+ ],
7925
+ "type": "object"
7926
+ },
7927
+ "DescribePrometheusResponse": {
7928
+ "document": "DescribePrometheus返回参数结构体",
7929
+ "members": [
7930
+ {
7931
+ "disabled": false,
7932
+ "document": "Prometheus监控映射列表",
7933
+ "example": "data",
7934
+ "member": "PrometheusDTO",
7935
+ "name": "Result",
7936
+ "required": true,
7937
+ "type": "list",
7938
+ "value_allowed_null": false
7939
+ },
7940
+ {
7941
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
7942
+ "member": "string",
7943
+ "name": "RequestId",
7944
+ "type": "string"
7945
+ }
7946
+ ],
7947
+ "type": "object"
7948
+ },
7843
7949
  "DescribeRegionRequest": {
7844
7950
  "document": "DescribeRegion请求参数结构体",
7845
7951
  "members": [
@@ -14617,6 +14723,78 @@
14617
14723
  ],
14618
14724
  "usage": "in"
14619
14725
  },
14726
+ "PrometheusDTO": {
14727
+ "document": "普罗米修斯打通的vipVport",
14728
+ "members": [
14729
+ {
14730
+ "disabled": false,
14731
+ "document": "export类型(jmx_export\\node_export)",
14732
+ "example": "jmx_export",
14733
+ "member": "string",
14734
+ "name": "Type",
14735
+ "required": true,
14736
+ "type": "string",
14737
+ "value_allowed_null": false
14738
+ },
14739
+ {
14740
+ "disabled": false,
14741
+ "document": "vip",
14742
+ "example": "10.0.0.1",
14743
+ "member": "string",
14744
+ "name": "SourceIp",
14745
+ "required": true,
14746
+ "type": "string",
14747
+ "value_allowed_null": false
14748
+ },
14749
+ {
14750
+ "disabled": false,
14751
+ "document": "vport",
14752
+ "example": "60002",
14753
+ "member": "int64",
14754
+ "name": "SourcePort",
14755
+ "required": true,
14756
+ "type": "int",
14757
+ "value_allowed_null": false
14758
+ }
14759
+ ],
14760
+ "usage": "out"
14761
+ },
14762
+ "PrometheusResult": {
14763
+ "document": "Prometheus 监控返回",
14764
+ "members": [
14765
+ {
14766
+ "disabled": false,
14767
+ "document": "返回的code,0为正常,非0为错误",
14768
+ "example": "0",
14769
+ "member": "string",
14770
+ "name": "ReturnCode",
14771
+ "required": true,
14772
+ "type": "string",
14773
+ "value_allowed_null": false
14774
+ },
14775
+ {
14776
+ "disabled": false,
14777
+ "document": "成功消息",
14778
+ "example": "1",
14779
+ "member": "string",
14780
+ "name": "ReturnMessage",
14781
+ "required": true,
14782
+ "type": "string",
14783
+ "value_allowed_null": false
14784
+ },
14785
+ {
14786
+ "disabled": false,
14787
+ "document": "操作型返回的Data数据,可能有flowId等",
14788
+ "example": "1",
14789
+ "member": "OperateResponseData",
14790
+ "name": "Data",
14791
+ "required": true,
14792
+ "type": "object",
14793
+ "value_allowed_null": false
14794
+ }
14795
+ ],
14796
+ "usage": "out"
14797
+ },
14620
14798
  "RecordMapping": {
14621
14799
  "document": "record 与数据库表的映射关系",
14622
14800
  "members": [
@@ -132,7 +132,7 @@
132
132
  {
133
133
  "document": "创建峰值带宽为 20MB/s,硬盘大小 200GB 的专业版实例",
134
134
  "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateInstancePost\n<公共请求参数>\n\n{\n \"InstanceName\": \"test45\",\n \"VpcId\": \"vpc-xxxxxxxx\",\n \"SubnetId\": \"subnet-xxxxxxxx\",\n \"KafkaVersion\": \"2.4.2\",\n \"SpecificationsType\": \"profession\",\n \"DiskType\": \"CLOUD_BASIC\",\n \"BandWidth\": 20,\n \"DiskSize\": 200,\n \"Partition\": 400,\n \"TopicNum\": 200,\n \"ZoneId\": 450001\n}",
135
- "output": "{\n \"Response\": {\n \"RequestId\": \"9432af9d-8c3e-4474-b5eb-0f5298dbb6e5\",\n \"Result\": {\n \"Data\": {\n \"FlowId\": 0\n },\n \"ReturnCode\": \"0\",\n \"ReturnMessage\": \"ok[apply ok]\"\n }\n }\n}",
135
+ "output": "{\n \"Response\": {\n \"Result\": {\n \"ReturnCode\": \"abc\",\n \"ReturnMessage\": \"abc\",\n \"Data\": {\n \"FlowId\": 0,\n \"RouteDTO\": {\n \"RouteId\": 0\n }\n }\n },\n \"RequestId\": \"abc\"\n }\n}",
136
136
  "title": "创建专业版实例"
137
137
  }
138
138
  ],
@@ -178,6 +178,14 @@
178
178
  "title": "创建后付费多可用区专业版实例"
179
179
  }
180
180
  ],
181
+ "CreatePrometheus": [
182
+ {
183
+ "document": "",
184
+ "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePrometheus\n<公共请求参数>\n\n{\n \"InstanceId\": \"xx\",\n \"SubnetId\": \"xx\",\n \"VpcId\": \"xx\"\n}",
185
+ "output": "{\n \"Response\": {\n \"Result\": {\n \"ReturnMessage\": \"xx\",\n \"ReturnCode\": \"xx\",\n \"Data\": {\n \"FlowId\": 0\n }\n },\n \"RequestId\": \"xx\"\n }\n}",
186
+ "title": "打通普罗米修斯监控"
187
+ }
188
+ ],
181
189
  "CreateRoute": [
182
190
  {
183
191
  "document": "",
@@ -466,6 +474,14 @@
466
474
  "title": "获取实例列表详情"
467
475
  }
468
476
  ],
477
+ "DescribePrometheus": [
478
+ {
479
+ "document": "",
480
+ "input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheus\n<公共请求参数>\n\n{\n \"InstanceId\": \"ckafka-xxx\"\n}",
481
+ "output": "{\n \"Response\": {\n \"Result\": [\n {\n \"Type\": \"xx\"\n }\n ],\n \"RequestId\": \"xx\"\n }\n}",
482
+ "title": "获取实例Prometheus信息"
483
+ }
484
+ ],
469
485
  "DescribeRegion": [
470
486
  {
471
487
  "document": "",
@@ -1075,13 +1075,13 @@
1075
1075
  "members": [
1076
1076
  {
1077
1077
  "disabled": false,
1078
- "document": "绑定失败的监听器ID,如为空表示全部绑定成功。\n注意:此字段可能返回 null,表示取不到有效值。",
1078
+ "document": "绑定失败的监听器ID,如为空表示全部绑定成功。",
1079
1079
  "example": "[]",
1080
1080
  "member": "string",
1081
1081
  "name": "FailListenerIdSet",
1082
1082
  "output_required": true,
1083
1083
  "type": "list",
1084
- "value_allowed_null": true
1084
+ "value_allowed_null": false
1085
1085
  },
1086
1086
  {
1087
1087
  "disabled": false,
@@ -76,7 +76,7 @@
76
76
  "members": [
77
77
  {
78
78
  "disabled": false,
79
- "document": "工作空间名称",
79
+ "document": "工作空间名称, 长度限制 2~64",
80
80
  "example": "workspace-name",
81
81
  "member": "string",
82
82
  "name": "Name",
@@ -85,7 +85,7 @@
85
85
  },
86
86
  {
87
87
  "disabled": false,
88
- "document": "工作空间描述",
88
+ "document": "工作空间描述, 长度限制 0~255",
89
89
  "example": "this is a worksapce",
90
90
  "member": "string",
91
91
  "name": "Description",
@@ -103,7 +103,7 @@
103
103
  },
104
104
  {
105
105
  "disabled": false,
106
- "document": "工作空间基础镜像名称, 默认会使用 All In One 镜像",
106
+ "document": "工作空间基础镜像名称, 默认会使用 All In One 镜像, 长度限制 1~255",
107
107
  "example": "cloudstudio-devops-docker.pkg.coding.net/artifacts/workspace/go-1.20:2023-04-25.0943",
108
108
  "member": "string",
109
109
  "name": "Image",
@@ -130,7 +130,7 @@
130
130
  },
131
131
  {
132
132
  "disabled": false,
133
- "document": "预装插件. 工作空间启动时, 会自动安装这些插件 ",
133
+ "document": "预装插件. 工作空间启动时, 会自动安装这些插件。长度限制: 0~10",
134
134
  "example": "[\"cloudstudio.tencent-cloud-toolkit@1.3.0\"]",
135
135
  "member": "string",
136
136
  "name": "Extensions",
@@ -145,6 +145,42 @@
145
145
  "name": "Lifecycle",
146
146
  "required": false,
147
147
  "type": "object"
148
+ },
149
+ {
150
+ "disabled": false,
151
+ "document": "应用名称",
152
+ "example": "1303697168",
153
+ "member": "int64",
154
+ "name": "AppId",
155
+ "required": false,
156
+ "type": "int"
157
+ },
158
+ {
159
+ "disabled": false,
160
+ "document": "用户UIN",
161
+ "example": "100015915015",
162
+ "member": "string",
163
+ "name": "Uin",
164
+ "required": false,
165
+ "type": "string"
166
+ },
167
+ {
168
+ "disabled": false,
169
+ "document": "VPCID",
170
+ "example": "vpc-rdfkabjj",
171
+ "member": "string",
172
+ "name": "UniqVpcId",
173
+ "required": false,
174
+ "type": "string"
175
+ },
176
+ {
177
+ "disabled": false,
178
+ "document": "子网ID",
179
+ "example": "subnet-bx88somq",
180
+ "member": "string",
181
+ "name": "SubnetId",
182
+ "required": false,
183
+ "type": "string"
148
184
  }
149
185
  ],
150
186
  "type": "object"
@@ -624,7 +624,7 @@
624
624
  "status": "online"
625
625
  },
626
626
  "SearchLog": {
627
- "document": "本接口用于检索分析日志, 该接口除受默认接口请求频率限制外,针对单个日志主题,查询并发数不能超过15。\n\nAPI返回数据包最大49MB,建议启用 gzip 压缩(HTTP Request Header Accept-Encoding:gzip)。",
627
+ "document": "本接口用于检索分析日志,使用该接口时请注意如下事项:\n1. 该接口除受默认接口请求频率限制外,针对单个日志主题,查询并发数不能超过15。\n2. 检索语法建议使用CQL语法规则,请使用SyntaxRule参数,将值设置为1。\n3. API返回数据包最大49MB,建议启用 gzip 压缩(HTTP Request Header Accept-Encoding:gzip)。",
628
628
  "input": "SearchLogRequest",
629
629
  "name": "检索分析日志",
630
630
  "output": "SearchLogResponse",
@@ -12322,6 +12322,15 @@
12322
12322
  "required": true,
12323
12323
  "type": "string"
12324
12324
  },
12325
+ {
12326
+ "disabled": false,
12327
+ "document": "检索语法规则,默认值为0,推荐使用1 (CQL语法)。\n0:Lucene语法,1:CQL语法。\n详细说明参见<a href=\"https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules\" target=\"_blank\">检索条件语法规则</a>",
12328
+ "example": "1",
12329
+ "member": "uint64",
12330
+ "name": "SyntaxRule",
12331
+ "required": false,
12332
+ "type": "int"
12333
+ },
12325
12334
  {
12326
12335
  "disabled": false,
12327
12336
  "document": "- 要检索分析的日志主题ID,仅能指定一个日志主题。\n- 如需同时检索多个日志主题,请使用Topics参数。",
@@ -12331,6 +12340,15 @@
12331
12340
  "required": false,
12332
12341
  "type": "string"
12333
12342
  },
12343
+ {
12344
+ "disabled": false,
12345
+ "document": "- 要检索分析的日志主题列表,最大支持20个日志主题。\n- 检索单个日志主题时请使用TopicId。\n- 不能同时使用TopicId和Topics。",
12346
+ "example": "无",
12347
+ "member": "MultiTopicSearchInformation",
12348
+ "name": "Topics",
12349
+ "required": false,
12350
+ "type": "list"
12351
+ },
12334
12352
  {
12335
12353
  "disabled": false,
12336
12354
  "document": "表示单次查询返回的原始日志条数,默认为100,最大值为1000,获取后续日志需使用Context参数\n注意:\n* 仅当检索分析语句(Query)不包含SQL时有效\n* SQL结果条数指定方式参考<a href=\"https://cloud.tencent.com/document/product/614/58977\" target=\"_blank\">SQL LIMIT语法</a>",
@@ -12340,15 +12358,6 @@
12340
12358
  "required": false,
12341
12359
  "type": "int"
12342
12360
  },
12343
- {
12344
- "disabled": false,
12345
- "document": "透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时。\n注意:\n* 透传该参数时,请勿修改除该参数外的其它参数\n* 仅适用于单日志主题检索,检索多个日志主题时,请使用Topics中的Context\n* 仅当检索分析语句(Query)不包含SQL时有效,SQL获取后续结果参考<a href=\"https://cloud.tencent.com/document/product/614/58977\" target=\"_blank\">SQL LIMIT语法</a>",
12346
- "example": "Y29udGV4dC04MjMzNWRkMi01YmMxLTQ4NGYtYjQ4MS04MDg0NzAwYjQ1NDUxNjcy",
12347
- "member": "string",
12348
- "name": "Context",
12349
- "required": false,
12350
- "type": "string"
12351
- },
12352
12361
  {
12353
12362
  "disabled": false,
12354
12363
  "document": "原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc\n注意:\n* 仅当检索分析语句(Query)不包含SQL时有效\n* SQL结果排序方式参考<a href=\"https://cloud.tencent.com/document/product/614/58978\" target=\"_blank\">SQL ORDER BY语法</a>",
@@ -12360,12 +12369,12 @@
12360
12369
  },
12361
12370
  {
12362
12371
  "disabled": false,
12363
- "document": "为true代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns有效\n为false时代表使用老的检索结果返回方式, 输出AnalysisResults和ColNames有效\n两种返回方式在编码格式上有少量区别,建议使用true",
12364
- "example": "false",
12365
- "member": "bool",
12366
- "name": "UseNewAnalysis",
12372
+ "document": "透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时。\n注意:\n* 透传该参数时,请勿修改除该参数外的其它参数\n* 仅适用于单日志主题检索,检索多个日志主题时,请使用Topics中的Context\n* 仅当检索分析语句(Query)不包含SQL时有效,SQL获取后续结果参考<a href=\"https://cloud.tencent.com/document/product/614/58977\" target=\"_blank\">SQL LIMIT语法</a>",
12373
+ "example": "Y29udGV4dC04MjMzNWRkMi01YmMxLTQ4NGYtYjQ4MS04MDg0NzAwYjQ1NDUxNjcy",
12374
+ "member": "string",
12375
+ "name": "Context",
12367
12376
  "required": false,
12368
- "type": "bool"
12377
+ "type": "string"
12369
12378
  },
12370
12379
  {
12371
12380
  "disabled": false,
@@ -12378,21 +12387,12 @@
12378
12387
  },
12379
12388
  {
12380
12389
  "disabled": false,
12381
- "document": "检索语法规则,默认值为0。\n0:Lucene语法,1:CQL语法。\n详细说明参见<a href=\"https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules\" target=\"_blank\">检索条件语法规则</a>",
12382
- "example": "1",
12383
- "member": "uint64",
12384
- "name": "SyntaxRule",
12385
- "required": false,
12386
- "type": "int"
12387
- },
12388
- {
12389
- "disabled": false,
12390
- "document": "- 要检索分析的日志主题列表,最大支持20个日志主题。\n- 检索单个日志主题时请使用TopicId。\n- 不能同时使用TopicId和Topics。",
12391
- "example": "无",
12392
- "member": "MultiTopicSearchInformation",
12393
- "name": "Topics",
12390
+ "document": "为true代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns有效\n为false时代表使用老的检索结果返回方式, 输出AnalysisResults和ColNames有效\n两种返回方式在编码格式上有少量区别,建议使用true",
12391
+ "example": "false",
12392
+ "member": "bool",
12393
+ "name": "UseNewAnalysis",
12394
12394
  "required": false,
12395
- "type": "list"
12395
+ "type": "bool"
12396
12396
  }
12397
12397
  ],
12398
12398
  "type": "object"
@@ -12413,7 +12413,7 @@
12413
12413
  {
12414
12414
  "disabled": false,
12415
12415
  "document": "符合检索条件的日志是否已全部返回,如未全部返回可使用Context参数获取后续更多日志\n注意:仅当检索分析语句(Query)不包含SQL时有效",
12416
- "example": "1",
12416
+ "example": "false",
12417
12417
  "member": "bool",
12418
12418
  "name": "ListOver",
12419
12419
  "output_required": true,