tccli 3.0.1093.1__py2.py3-none-any.whl → 3.0.1095.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/examples/dasb/v20191018/ModifyCmdTemplate.md +2 -2
- tccli/examples/domain/v20180808/DescribeReservedBidInfo.md +27 -11
- tccli/examples/es/v20180416/DescribeServerlessInstances.md +346 -0
- tccli/examples/ess/v20201111/DescribeBillUsage.md +26 -0
- tccli/examples/gaap/v20180529/DescribeProxyDetail.md +136 -108
- tccli/examples/gaap/v20180529/DescribeProxyGroupDetails.md +34 -27
- tccli/examples/gaap/v20180529/DescribeRules.md +55 -70
- tccli/examples/iotexplorer/v20190423/DescribeCloudStorageAIService.md +25 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStorageAIServiceCallback.md +23 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStorageAIServiceTasks.md +40 -0
- tccli/examples/iotexplorer/v20190423/DescribeProductCloudStorageAIService.md +22 -0
- tccli/examples/iotexplorer/v20190423/ModifyCloudStorageAIService.md +23 -0
- tccli/examples/iotexplorer/v20190423/ModifyCloudStorageAIServiceCallback.md +23 -0
- tccli/examples/iotexplorer/v20190423/ModifyProductCloudStorageAIService.md +21 -0
- tccli/examples/lcic/v20220817/BatchDescribeDocument.md +3 -1
- tccli/examples/organization/v20210331/AttachPolicy.md +22 -0
- tccli/examples/organization/v20210331/CreatePolicy.md +24 -0
- tccli/examples/organization/v20210331/DeletePolicy.md +20 -0
- tccli/examples/organization/v20210331/DescribePolicy.md +27 -0
- tccli/examples/organization/v20210331/DescribePolicyConfig.md +22 -0
- tccli/examples/organization/v20210331/DetachPolicy.md +22 -0
- tccli/examples/organization/v20210331/DisablePolicyType.md +21 -0
- tccli/examples/organization/v20210331/EnablePolicyType.md +21 -0
- tccli/examples/organization/v20210331/ListPolicies.md +41 -0
- tccli/examples/organization/v20210331/ListPoliciesForTarget.md +45 -0
- tccli/examples/organization/v20210331/ListTargetsForPolicy.md +35 -0
- tccli/examples/organization/v20210331/UpdatePolicy.md +23 -0
- tccli/examples/pts/v20210728/DescribeRegions.md +4 -2
- tccli/examples/tke/v20180525/DescribeClusterNodePoolDetail.md +4 -0
- tccli/examples/tke/v20180525/DescribeClusterNodePools.md +4 -0
- tccli/examples/wedata/v20210820/BatchCreateIntegrationTaskAlarms.md +13 -13
- tccli/examples/wedata/v20210820/BatchDeleteIntegrationTasks.md +2 -2
- tccli/examples/wedata/v20210820/BatchDeleteOpsTasks.md +4 -85
- tccli/examples/wedata/v20210820/BatchForceSuccessIntegrationTaskInstances.md +4 -4
- tccli/examples/wedata/v20210820/BatchKillIntegrationTaskInstances.md +4 -4
- tccli/examples/wedata/v20210820/BatchMakeUpIntegrationTasks.md +3 -3
- tccli/examples/wedata/v20210820/BatchModifyOpsOwners.md +5 -5
- tccli/examples/wedata/v20210820/BatchRerunIntegrationTaskInstances.md +5 -5
- tccli/examples/wedata/v20210820/BatchResumeIntegrationTasks.md +1 -1
- tccli/examples/wedata/v20210820/BatchRunOpsTask.md +5 -5
- tccli/examples/wedata/v20210820/BatchStartIntegrationTasks.md +5 -5
- tccli/examples/wedata/v20210820/BatchStopIntegrationTasks.md +4 -4
- tccli/examples/wedata/v20210820/BatchStopWorkflowsByIds.md +6 -6
- tccli/examples/wedata/v20210820/BatchSuspendIntegrationTasks.md +3 -3
- tccli/examples/wedata/v20210820/BatchUpdateIntegrationTasks.md +4 -4
- tccli/examples/wedata/v20210820/CheckAlarmRegularNameExist.md +2 -2
- tccli/examples/wedata/v20210820/CheckIntegrationNodeNameExists.md +4 -4
- tccli/examples/wedata/v20210820/CheckIntegrationTaskNameExists.md +4 -4
- tccli/examples/wedata/v20210820/CheckTaskNameExist.md +3 -3
- tccli/examples/wedata/v20210820/CommitIntegrationTask.md +6 -6
- tccli/examples/wedata/v20210820/CommitRuleGroupTask.md +84 -14
- tccli/examples/wedata/v20210820/CountOpsInstanceState.md +4 -4
- tccli/examples/wedata/v20210820/CreateCustomFunction.md +8 -8
- tccli/examples/wedata/v20210820/CreateDataSource.md +8 -8
- tccli/examples/wedata/v20210820/CreateDsFolder.md +5 -5
- tccli/examples/wedata/v20210820/CreateHiveTable.md +1 -1
- tccli/examples/wedata/v20210820/CreateHiveTableByDDL.md +8 -8
- tccli/examples/wedata/v20210820/CreateIntegrationNode.md +2 -2
- tccli/examples/wedata/v20210820/CreateOfflineTask.md +12 -12
- tccli/examples/wedata/v20210820/CreateOpsMakePlan.md +2 -2
- tccli/examples/wedata/v20210820/CreateRule.md +118 -68
- tccli/examples/wedata/v20210820/CreateRuleTemplate.md +9 -9
- tccli/examples/wedata/v20210820/CreateTask.md +1 -1
- tccli/examples/wedata/v20210820/CreateTaskAlarmRegular.md +13 -13
- tccli/examples/wedata/v20210820/CreateTaskVersionDs.md +8 -10
- tccli/examples/wedata/v20210820/DagInstances.md +105 -2
- tccli/examples/wedata/v20210820/DeleteCustomFunction.md +7 -9
- tccli/examples/wedata/v20210820/DeleteDataSources.md +2 -2
- tccli/examples/wedata/v20210820/DeleteDsFolder.md +3 -3
- tccli/examples/wedata/v20210820/DeleteFile.md +3 -3
- tccli/examples/wedata/v20210820/DeleteIntegrationNode.md +3 -3
- tccli/examples/wedata/v20210820/DeleteIntegrationTask.md +4 -4
- tccli/examples/wedata/v20210820/DeleteOfflineTask.md +4 -4
- tccli/examples/wedata/v20210820/DeleteProjectParamDs.md +3 -3
- tccli/examples/wedata/v20210820/DeleteProjectUsers.md +4 -19
- tccli/examples/wedata/v20210820/DeleteResourceFile.md +3 -3
- tccli/examples/wedata/v20210820/DeleteResourceFiles.md +4 -4
- tccli/examples/wedata/v20210820/DeleteRule.md +1 -1
- tccli/examples/wedata/v20210820/DeleteRuleTemplate.md +1 -1
- tccli/examples/wedata/v20210820/DeleteTaskAlarmRegular.md +3 -3
- tccli/examples/wedata/v20210820/DeleteTaskDs.md +4 -4
- tccli/examples/wedata/v20210820/DeleteWorkflowById.md +6 -6
- tccli/examples/wedata/v20210820/DescribeAlarmEvents.md +2 -2
- tccli/examples/wedata/v20210820/DescribeAllByFolderNew.md +111 -101
- tccli/examples/wedata/v20210820/DescribeApproveList.md +19 -66
- tccli/examples/wedata/v20210820/DescribeApproveTypeList.md +1 -33
- tccli/examples/wedata/v20210820/DescribeBatchOperateTask.md +21 -19
- tccli/examples/wedata/v20210820/DescribeDataCheckStat.md +1 -1
- tccli/examples/wedata/v20210820/DescribeDataSourceInfoList.md +10 -9
- tccli/examples/wedata/v20210820/DescribeDataSourceList.md +45 -4
- tccli/examples/wedata/v20210820/DescribeDatabaseInfoList.md +8 -8
- tccli/examples/wedata/v20210820/DescribeDatasource.md +35 -12
- tccli/examples/wedata/v20210820/DescribeDependOpsTasks.md +37 -44
- tccli/examples/wedata/v20210820/DescribeDependTaskLists.md +85 -74
- tccli/examples/wedata/v20210820/DescribeDimensionScore.md +59 -10
- tccli/examples/wedata/v20210820/DescribeDsFolderTree.md +27 -27
- tccli/examples/wedata/v20210820/DescribeDsParentFolderTree.md +20 -20
- tccli/examples/wedata/v20210820/DescribeEventCases.md +35 -62
- tccli/examples/wedata/v20210820/DescribeEventConsumeTasks.md +2 -0
- tccli/examples/wedata/v20210820/DescribeExecStrategy.md +3 -3
- tccli/examples/wedata/v20210820/DescribeFolderWorkflowList.md +21 -61
- tccli/examples/wedata/v20210820/DescribeFunctionKinds.md +14 -4
- tccli/examples/wedata/v20210820/DescribeFunctionTypes.md +1 -1
- tccli/examples/wedata/v20210820/DescribeInstanceLastLog.md +4 -4
- tccli/examples/wedata/v20210820/DescribeInstanceList.md +19 -19
- tccli/examples/wedata/v20210820/DescribeInstanceLog.md +7 -7
- tccli/examples/wedata/v20210820/DescribeInstanceLogList.md +15 -15
- tccli/examples/wedata/v20210820/DescribeIntegrationNode.md +89 -51
- tccli/examples/wedata/v20210820/DescribeIntegrationStatistics.md +2 -2
- tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsInstanceTrend.md +9 -7
- tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsRecordsTrend.md +1 -1
- tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsTaskStatus.md +5 -5
- tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsTaskStatusTrend.md +10 -8
- tccli/examples/wedata/v20210820/DescribeIntegrationTask.md +181 -119
- tccli/examples/wedata/v20210820/DescribeIntegrationTasks.md +198 -239
- tccli/examples/wedata/v20210820/DescribeIntegrationVersionNodesInfo.md +117 -52
- tccli/examples/wedata/v20210820/DescribeOfflineTaskToken.md +3 -3
- tccli/examples/wedata/v20210820/DescribeOperateOpsTasks.md +91 -147
- tccli/examples/wedata/v20210820/DescribeOpsInstanceLogList.md +14 -14
- tccli/examples/wedata/v20210820/DescribeOpsMakePlanInstances.md +313 -45
- tccli/examples/wedata/v20210820/DescribeOpsMakePlanTasks.md +92 -76
- tccli/examples/wedata/v20210820/DescribeOpsMakePlans.md +13 -9
- tccli/examples/wedata/v20210820/DescribeOpsWorkflows.md +19 -29
- tccli/examples/wedata/v20210820/DescribeOrganizationalFunctions.md +2 -2
- tccli/examples/wedata/v20210820/DescribeProject.md +3 -47
- tccli/examples/wedata/v20210820/DescribeQualityScore.md +15 -15
- tccli/examples/wedata/v20210820/DescribeRealTimeTaskInstanceNodeInfo.md +8 -8
- tccli/examples/wedata/v20210820/DescribeRealTimeTaskMetricOverview.md +12 -12
- tccli/examples/wedata/v20210820/DescribeRealTimeTaskSpeed.md +13 -13
- tccli/examples/wedata/v20210820/DescribeRule.md +81 -101
- tccli/examples/wedata/v20210820/DescribeRuleExecDetail.md +42 -66
- tccli/examples/wedata/v20210820/DescribeRuleExecLog.md +2 -2
- tccli/examples/wedata/v20210820/DescribeRuleExecResults.md +34 -58
- tccli/examples/wedata/v20210820/DescribeRuleGroup.md +19 -63
- tccli/examples/wedata/v20210820/DescribeRuleGroupExecResultsByPage.md +52 -76
- tccli/examples/wedata/v20210820/DescribeRuleGroupTable.md +12 -12
- tccli/examples/wedata/v20210820/DescribeRuleGroupsByPage.md +34 -29
- tccli/examples/wedata/v20210820/DescribeRuleTemplate.md +9 -9
- tccli/examples/wedata/v20210820/DescribeRuleTemplates.md +10 -10
- tccli/examples/wedata/v20210820/DescribeRuleTemplatesByPage.md +2 -2
- tccli/examples/wedata/v20210820/DescribeRules.md +92 -33
- tccli/examples/wedata/v20210820/DescribeRulesByPage.md +12 -12
- tccli/examples/wedata/v20210820/DescribeScheduleInstances.md +8 -2
- tccli/examples/wedata/v20210820/DescribeSchedulerInstanceStatus.md +11 -66
- tccli/examples/wedata/v20210820/DescribeSchedulerRunTimeInstanceCntByStatus.md +2 -32
- tccli/examples/wedata/v20210820/DescribeSchedulerTaskCntByStatus.md +2 -24
- tccli/examples/wedata/v20210820/DescribeSchedulerTaskTypeCnt.md +12 -36
- tccli/examples/wedata/v20210820/DescribeStatisticInstanceStatusTrendOps.md +16 -73
- tccli/examples/wedata/v20210820/DescribeStreamTaskLogList.md +13 -13
- tccli/examples/wedata/v20210820/DescribeSuccessorOpsTaskInfos.md +83 -85
- tccli/examples/wedata/v20210820/DescribeTableInfoList.md +5 -5
- tccli/examples/wedata/v20210820/DescribeTableQualityDetails.md +15 -15
- tccli/examples/wedata/v20210820/DescribeTableSchemaInfo.md +5 -5
- tccli/examples/wedata/v20210820/DescribeTableScoreTrend.md +5 -5
- tccli/examples/wedata/v20210820/DescribeTaskAlarmRegulations.md +48 -31
- tccli/examples/wedata/v20210820/DescribeTaskByCycle.md +1 -26
- tccli/examples/wedata/v20210820/DescribeTaskByStatusReport.md +21 -70
- tccli/examples/wedata/v20210820/DescribeTaskLockStatus.md +6 -6
- tccli/examples/wedata/v20210820/DescribeTaskRunHistory.md +75 -70
- tccli/examples/wedata/v20210820/DescribeTaskScript.md +2 -2
- tccli/examples/wedata/v20210820/DescribeTemplateDimCount.md +23 -3
- tccli/examples/wedata/v20210820/DescribeTopTableStat.md +1 -1
- tccli/examples/wedata/v20210820/DescribeTrendStat.md +1 -1
- tccli/examples/wedata/v20210820/DescribeWorkflowCanvasInfo.md +285 -100
- tccli/examples/wedata/v20210820/DescribeWorkflowExecuteById.md +17 -11
- tccli/examples/wedata/v20210820/DescribeWorkflowInfoById.md +24 -24
- tccli/examples/wedata/v20210820/DescribeWorkflowListByProjectId.md +32 -176
- tccli/examples/wedata/v20210820/DescribeWorkflowTaskCount.md +26 -10
- tccli/examples/wedata/v20210820/DiagnosePro.md +72 -0
- tccli/examples/wedata/v20210820/DryRunDIOfflineTask.md +10 -10
- tccli/examples/wedata/v20210820/FindAllFolder.md +902 -1
- tccli/examples/wedata/v20210820/GenHiveTableDDLSql.md +22 -22
- tccli/examples/wedata/v20210820/GetIntegrationNodeColumnSchema.md +37 -15
- tccli/examples/wedata/v20210820/GetOfflineDIInstanceList.md +27 -27
- tccli/examples/wedata/v20210820/GetOfflineInstanceList.md +28 -28
- tccli/examples/wedata/v20210820/KillScheduleInstances.md +2 -2
- tccli/examples/wedata/v20210820/LockIntegrationTask.md +3 -3
- tccli/examples/wedata/v20210820/ModifyApproveStatus.md +1 -25
- tccli/examples/wedata/v20210820/ModifyDataSource.md +7 -7
- tccli/examples/wedata/v20210820/ModifyDsFolder.md +5 -5
- tccli/examples/wedata/v20210820/ModifyExecStrategy.md +16 -16
- tccli/examples/wedata/v20210820/ModifyIntegrationNode.md +42 -42
- tccli/examples/wedata/v20210820/ModifyIntegrationTask.md +132 -105
- tccli/examples/wedata/v20210820/ModifyRule.md +8 -8
- tccli/examples/wedata/v20210820/ModifyRuleTemplate.md +4 -4
- tccli/examples/wedata/v20210820/ModifyTaskAlarmRegular.md +34 -34
- tccli/examples/wedata/v20210820/ModifyTaskInfo.md +27 -54
- tccli/examples/wedata/v20210820/ModifyTaskLinks.md +9 -9
- tccli/examples/wedata/v20210820/ModifyTaskName.md +5 -5
- tccli/examples/wedata/v20210820/ModifyTaskScript.md +6 -15
- tccli/examples/wedata/v20210820/ModifyWorkflowInfo.md +7 -7
- tccli/examples/wedata/v20210820/ModifyWorkflowSchedule.md +7 -7
- tccli/examples/wedata/v20210820/RegisterEvent.md +12 -40
- tccli/examples/wedata/v20210820/RemoveWorkflowDs.md +2 -2
- tccli/examples/wedata/v20210820/ResumeIntegrationTask.md +7 -32
- tccli/examples/wedata/v20210820/RobAndLockIntegrationTask.md +5 -5
- tccli/examples/wedata/v20210820/RunForceSucScheduleInstances.md +14 -7
- tccli/examples/wedata/v20210820/RunRerunScheduleInstances.md +17 -12
- tccli/examples/wedata/v20210820/RunTasksByMultiWorkflow.md +6 -6
- tccli/examples/wedata/v20210820/SaveCustomFunction.md +1 -1
- tccli/examples/wedata/v20210820/SetTaskAlarmNew.md +12 -13
- tccli/examples/wedata/v20210820/StartIntegrationTask.md +7 -32
- tccli/examples/wedata/v20210820/StopIntegrationTask.md +3 -3
- tccli/examples/wedata/v20210820/SubmitCustomFunction.md +1 -1
- tccli/examples/wedata/v20210820/SubmitSqlTask.md +27 -28
- tccli/examples/wedata/v20210820/SubmitTask.md +8 -8
- tccli/examples/wedata/v20210820/SubmitTaskTestRun.md +6 -26
- tccli/examples/wedata/v20210820/SubmitWorkflow.md +13 -9
- tccli/examples/wedata/v20210820/SuspendIntegrationTask.md +2 -2
- tccli/examples/wedata/v20210820/TaskLog.md +5 -5
- tccli/examples/wedata/v20210820/TriggerDsEvent.md +1 -1
- tccli/examples/wedata/v20210820/TriggerEvent.md +28 -0
- tccli/examples/wedata/v20210820/UnlockIntegrationTask.md +5 -5
- tccli/examples/wedata/v20210820/UpdateWorkflowOwner.md +6 -6
- tccli/examples/wedata/v20210820/UploadContent.md +29 -29
- tccli/services/aiart/v20221229/api.json +1 -1
- tccli/services/antiddos/v20200309/api.json +19 -0
- tccli/services/cdb/v20170320/api.json +3 -3
- tccli/services/cfs/v20190719/api.json +2 -2
- tccli/services/cfw/v20190904/api.json +177 -0
- tccli/services/ckafka/v20190819/api.json +17 -17
- tccli/services/cls/v20201016/api.json +5 -3
- tccli/services/cynosdb/v20190107/api.json +70 -0
- tccli/services/dasb/v20191018/examples.json +2 -2
- tccli/services/dnspod/v20210323/api.json +3 -2
- tccli/services/domain/v20180808/api.json +40 -0
- tccli/services/domain/v20180808/examples.json +1 -1
- tccli/services/dsgc/v20190723/api.json +90 -20
- tccli/services/dts/v20180330/api.json +1 -1
- tccli/services/dts/v20211206/api.json +4 -3
- tccli/services/eb/v20210416/api.json +64 -0
- tccli/services/emr/v20190103/api.json +1 -1
- tccli/services/es/es_client.py +53 -0
- tccli/services/es/v20180416/api.json +429 -0
- tccli/services/es/v20180416/examples.json +8 -0
- tccli/services/ess/ess_client.py +57 -4
- tccli/services/ess/v20201111/api.json +179 -0
- tccli/services/ess/v20201111/examples.json +8 -0
- tccli/services/facefusion/v20220927/api.json +1 -1
- tccli/services/gaap/v20180529/api.json +68 -40
- tccli/services/gaap/v20180529/examples.json +6 -6
- tccli/services/iotexplorer/iotexplorer_client.py +375 -4
- tccli/services/iotexplorer/v20190423/api.json +589 -0
- tccli/services/iotexplorer/v20190423/examples.json +56 -0
- tccli/services/lcic/v20220817/api.json +5 -5
- tccli/services/lcic/v20220817/examples.json +1 -1
- tccli/services/live/v20180801/api.json +49 -0
- tccli/services/monitor/v20180724/api.json +20 -2
- tccli/services/oceanus/v20190422/api.json +1 -1
- tccli/services/organization/organization_client.py +783 -147
- tccli/services/organization/v20210331/api.json +1259 -207
- tccli/services/organization/v20210331/examples.json +96 -0
- tccli/services/pts/v20210728/api.json +16 -3
- tccli/services/pts/v20210728/examples.json +2 -2
- tccli/services/redis/v20180412/api.json +11 -0
- tccli/services/tke/v20180525/api.json +23 -25
- tccli/services/tke/v20180525/examples.json +2 -2
- tccli/services/trocket/trocket_client.py +8 -61
- tccli/services/trocket/v20230308/api.json +0 -34
- tccli/services/trocket/v20230308/examples.json +0 -8
- tccli/services/tse/v20201207/api.json +10 -1
- tccli/services/vod/v20180717/api.json +14 -14
- tccli/services/wedata/v20210820/api.json +20339 -35347
- tccli/services/wedata/v20210820/examples.json +406 -1282
- tccli/services/wedata/wedata_client.py +704 -5315
- {tccli-3.0.1093.1.dist-info → tccli-3.0.1095.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1093.1.dist-info → tccli-3.0.1095.1.dist-info}/RECORD +271 -249
- {tccli-3.0.1093.1.dist-info → tccli-3.0.1095.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1093.1.dist-info → tccli-3.0.1095.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1093.1.dist-info → tccli-3.0.1095.1.dist-info}/license_files/LICENSE +0 -0
@@ -1602,20 +1602,22 @@
|
|
1602
1602
|
"members": [
|
1603
1603
|
{
|
1604
1604
|
"disabled": false,
|
1605
|
-
"document": "回调时的Body",
|
1605
|
+
"document": "回调时的Body。\n可将各类告警变量放在请求内容中,详见[帮助文档](https://cloud.tencent.com/document/product/614/74718)。\n如下示例:\n\n```\n{\n\"TopicId\": \"{{ .QueryLog[0][0].topicId }}\",\n\"key\": \"{{.Alarm}}\",\n\"time\": \"{{ .QueryLog[0][0].time }}\",\n\"log\": \"{{ .QueryLog[0][0].content.__CONTENT__ }}\",\n\"namespace\": \"{{ .QueryLog[0][0].content.__TAG__.namespace }}\"\n}\n```",
|
1606
1606
|
"example": "无",
|
1607
1607
|
"member": "string",
|
1608
1608
|
"name": "Body",
|
1609
|
+
"output_required": true,
|
1609
1610
|
"required": true,
|
1610
1611
|
"type": "string",
|
1611
1612
|
"value_allowed_null": false
|
1612
1613
|
},
|
1613
1614
|
{
|
1614
1615
|
"disabled": false,
|
1615
|
-
"document": "回调时的
|
1616
|
+
"document": "回调时的HTTP请求头部字段。\n例如:下面请求头部字段来告知服务器请求主体的内容类型为JSON。\n```\n\"Content-Type: application/json\"\n```\n注意:此字段可能返回 null,表示取不到有效值。",
|
1616
1617
|
"example": "无",
|
1617
1618
|
"member": "string",
|
1618
1619
|
"name": "Headers",
|
1620
|
+
"output_required": true,
|
1619
1621
|
"required": false,
|
1620
1622
|
"type": "list",
|
1621
1623
|
"value_allowed_null": true
|
@@ -3741,7 +3743,7 @@
|
|
3741
3743
|
},
|
3742
3744
|
{
|
3743
3745
|
"disabled": false,
|
3744
|
-
"document": "
|
3746
|
+
"document": "投递的云函数名字。仅支持[事件函数](https://cloud.tencent.com/document/product/583/9694#scf-.E4.BA.8B.E4.BB.B6.E5.87.BD.E6.95.B0) ([函数类型选型](https://cloud.tencent.com/document/product/583/73483))",
|
3745
3747
|
"example": "test-report-es",
|
3746
3748
|
"member": "string",
|
3747
3749
|
"name": "FunctionName",
|
@@ -18079,6 +18079,76 @@
|
|
18079
18079
|
"output_required": true,
|
18080
18080
|
"type": "string",
|
18081
18081
|
"value_allowed_null": false
|
18082
|
+
},
|
18083
|
+
{
|
18084
|
+
"disabled": false,
|
18085
|
+
"document": "远程读取次数\n数据库内核版本大于3.1.12\n注意:此字段可能返回 null,表示取不到有效值。",
|
18086
|
+
"example": "0",
|
18087
|
+
"member": "int64",
|
18088
|
+
"name": "SyncReadCountRemote",
|
18089
|
+
"output_required": false,
|
18090
|
+
"type": "int",
|
18091
|
+
"value_allowed_null": true
|
18092
|
+
},
|
18093
|
+
{
|
18094
|
+
"disabled": false,
|
18095
|
+
"document": "远程读取的字节数\n数据库内核版本大于3.1.12\n注意:此字段可能返回 null,表示取不到有效值。",
|
18096
|
+
"example": "0",
|
18097
|
+
"member": "int64",
|
18098
|
+
"name": "SyncReadBytesRemote",
|
18099
|
+
"output_required": false,
|
18100
|
+
"type": "int",
|
18101
|
+
"value_allowed_null": true
|
18102
|
+
},
|
18103
|
+
{
|
18104
|
+
"disabled": false,
|
18105
|
+
"document": "远程读取所花费的时间(微秒)\n数据库内核版本大于3.1.12\n注意:此字段可能返回 null,表示取不到有效值。",
|
18106
|
+
"example": "0",
|
18107
|
+
"member": "int64",
|
18108
|
+
"name": "SyncReadTimeRemote",
|
18109
|
+
"output_required": false,
|
18110
|
+
"type": "int",
|
18111
|
+
"value_allowed_null": true
|
18112
|
+
},
|
18113
|
+
{
|
18114
|
+
"disabled": false,
|
18115
|
+
"document": "远程写入次数\n数据库内核版本大于3.1.12\n注意:此字段可能返回 null,表示取不到有效值。",
|
18116
|
+
"example": "0",
|
18117
|
+
"member": "int64",
|
18118
|
+
"name": "SyncWriteCountRemote",
|
18119
|
+
"output_required": false,
|
18120
|
+
"type": "int",
|
18121
|
+
"value_allowed_null": true
|
18122
|
+
},
|
18123
|
+
{
|
18124
|
+
"disabled": false,
|
18125
|
+
"document": "远程写入的字节数。\n数据库内核版本大于3.1.12\n注意:此字段可能返回 null,表示取不到有效值。",
|
18126
|
+
"example": "0",
|
18127
|
+
"member": "int64",
|
18128
|
+
"name": "SyncWriteBytesRemote",
|
18129
|
+
"output_required": false,
|
18130
|
+
"type": "int",
|
18131
|
+
"value_allowed_null": true
|
18132
|
+
},
|
18133
|
+
{
|
18134
|
+
"disabled": false,
|
18135
|
+
"document": "远程写入所花费的时间(微秒)。\n数据库内核版本大于3.1.12\n注意:此字段可能返回 null,表示取不到有效值。",
|
18136
|
+
"example": "0",
|
18137
|
+
"member": "int64",
|
18138
|
+
"name": "SyncWriteTimeRemote",
|
18139
|
+
"output_required": false,
|
18140
|
+
"type": "int",
|
18141
|
+
"value_allowed_null": true
|
18142
|
+
},
|
18143
|
+
{
|
18144
|
+
"disabled": false,
|
18145
|
+
"document": "事务提交延迟(微秒)\n数据库内核版本大于3.1.12\n注意:此字段可能返回 null,表示取不到有效值。",
|
18146
|
+
"example": "0",
|
18147
|
+
"member": "int64",
|
18148
|
+
"name": "TrxCommitDelay",
|
18149
|
+
"output_required": false,
|
18150
|
+
"type": "int",
|
18151
|
+
"value_allowed_null": true
|
18082
18152
|
}
|
18083
18153
|
],
|
18084
18154
|
"usage": "out"
|
@@ -332,8 +332,8 @@
|
|
332
332
|
],
|
333
333
|
"ModifyCmdTemplate": [
|
334
334
|
{
|
335
|
-
"document": "
|
336
|
-
"input": "POST / HTTP/1.1\nHost: dasb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyCmdTemplate\n<公共请求参数>\n\n{\n \"Id\": 1,\n \"Name\": \"
|
335
|
+
"document": "修改高危命令模板",
|
336
|
+
"input": "POST / HTTP/1.1\nHost: dasb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyCmdTemplate\n<公共请求参数>\n\n{\n \"Id\": 1,\n \"Name\": \"模板a\",\n \"CmdList\": \"cd /root\"\n}",
|
337
337
|
"output": "{\n \"Response\": {\n \"RequestId\": \"sada123\"\n }\n}",
|
338
338
|
"title": "修改高危命令模板"
|
339
339
|
}
|
@@ -260,7 +260,7 @@
|
|
260
260
|
"status": "online"
|
261
261
|
},
|
262
262
|
"DescribeRecordFilterList": {
|
263
|
-
"document": "
|
263
|
+
"document": "获取某个域名下的解析记录列表\n备注:\n1. 新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试\n2. API获取的记录总条数会比控制台多2条,原因是: 为了防止用户误操作导致解析服务不可用,对2021-10-29 14:24:26之后添加的域名,在控制台都不显示这2条NS记录。",
|
264
264
|
"input": "DescribeRecordFilterListRequest",
|
265
265
|
"name": "获取域名的解析记录筛选列表",
|
266
266
|
"output": "DescribeRecordFilterListResponse",
|
@@ -288,7 +288,7 @@
|
|
288
288
|
"status": "online"
|
289
289
|
},
|
290
290
|
"DescribeRecordList": {
|
291
|
-
"document": "获取某个域名下的解析记录列表\n
|
291
|
+
"document": "获取某个域名下的解析记录列表\n备注:\n1. 新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试\n2. API获取的记录总条数会比控制台多2条,原因是: 为了防止用户误操作导致解析服务不可用,对2021-10-29 14:24:26之后添加的域名,在控制台都不显示这2条NS记录。",
|
292
292
|
"input": "DescribeRecordListRequest",
|
293
293
|
"name": "获取域名的解析记录列表",
|
294
294
|
"output": "DescribeRecordListResponse",
|
@@ -1092,6 +1092,7 @@
|
|
1092
1092
|
"example": "11",
|
1093
1093
|
"member": "int64",
|
1094
1094
|
"name": "DomainAliasId",
|
1095
|
+
"output_required": true,
|
1095
1096
|
"type": "int",
|
1096
1097
|
"value_allowed_null": false
|
1097
1098
|
},
|
@@ -1929,6 +1929,46 @@
|
|
1929
1929
|
"type": "list",
|
1930
1930
|
"value_allowed_null": true
|
1931
1931
|
},
|
1932
|
+
{
|
1933
|
+
"disabled": false,
|
1934
|
+
"document": "竞价结束时间",
|
1935
|
+
"example": "“2024-04-17 00:00:00”",
|
1936
|
+
"member": "string",
|
1937
|
+
"name": "BidEndTime",
|
1938
|
+
"output_required": false,
|
1939
|
+
"type": "string",
|
1940
|
+
"value_allowed_null": false
|
1941
|
+
},
|
1942
|
+
{
|
1943
|
+
"disabled": false,
|
1944
|
+
"document": "是否领先",
|
1945
|
+
"example": "true",
|
1946
|
+
"member": "bool",
|
1947
|
+
"name": "IsUp",
|
1948
|
+
"output_required": false,
|
1949
|
+
"type": "bool",
|
1950
|
+
"value_allowed_null": false
|
1951
|
+
},
|
1952
|
+
{
|
1953
|
+
"disabled": false,
|
1954
|
+
"document": "下次出价金额",
|
1955
|
+
"example": "200",
|
1956
|
+
"member": "int64",
|
1957
|
+
"name": "NextPrice",
|
1958
|
+
"output_required": false,
|
1959
|
+
"type": "int",
|
1960
|
+
"value_allowed_null": false
|
1961
|
+
},
|
1962
|
+
{
|
1963
|
+
"disabled": false,
|
1964
|
+
"document": "状态:1. 等待竞价 2.竞价中 3.竞价结束",
|
1965
|
+
"example": "1",
|
1966
|
+
"member": "int64",
|
1967
|
+
"name": "Status",
|
1968
|
+
"output_required": true,
|
1969
|
+
"type": "int",
|
1970
|
+
"value_allowed_null": false
|
1971
|
+
},
|
1932
1972
|
{
|
1933
1973
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1934
1974
|
"member": "string",
|
@@ -180,7 +180,7 @@
|
|
180
180
|
{
|
181
181
|
"document": "成功示例",
|
182
182
|
"input": "POST / HTTP/1.1\nHost: domain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeReservedBidInfo\n<公共请求参数>\n\n{\n \"BusinessId\": \"P0011712825815133328\"\n}",
|
183
|
-
"output": "{\n \"Response\": {\n \"BidList\": [\n {\n \"BidStatus\": \"up\",\n \"BidTime\": \"17:
|
183
|
+
"output": "{\n \"Response\": {\n \"BidEndTime\": \"2024-04-11 18:00:00\",\n \"BidList\": [\n {\n \"BidStatus\": \"up\",\n \"BidTime\": \"2024-04-11 17:47:45\",\n \"Price\": 2542,\n \"User\": \"155***@qq.com\"\n },\n {\n \"BidStatus\": \"down\",\n \"BidTime\": \"2024-04-11 17:47:41\",\n \"Price\": 254,\n \"User\": \"155***@qq.com\"\n },\n {\n \"BidStatus\": \"down\",\n \"BidTime\": \"2024-04-11 17:47:34\",\n \"Price\": 220,\n \"User\": \"155***@qq.com\"\n },\n {\n \"BidStatus\": \"down\",\n \"BidTime\": \"2024-04-11 17:46:48\",\n \"Price\": 200,\n \"User\": \"roy***@tencent.com\"\n },\n {\n \"BidStatus\": \"down\",\n \"BidTime\": \"2024-04-11 17:46:38\",\n \"Price\": 180,\n \"User\": \"roy***@tencent.com\"\n }\n ],\n \"IsUp\": true,\n \"NextPrice\": 2552,\n \"Price\": 2542,\n \"RequestId\": \"a30e8a24-959c-43e3-a845-63772405b4eb\",\n \"Status\": 2,\n \"UpPrice\": 2542,\n \"UpUser\": \"155***@qq.com\"\n }\n}",
|
184
184
|
"title": "请求成功示例"
|
185
185
|
}
|
186
186
|
],
|
@@ -2444,6 +2444,30 @@
|
|
2444
2444
|
],
|
2445
2445
|
"usage": "out"
|
2446
2446
|
},
|
2447
|
+
"CloudResourceItem": {
|
2448
|
+
"document": "云数据库资源项",
|
2449
|
+
"members": [
|
2450
|
+
{
|
2451
|
+
"disabled": false,
|
2452
|
+
"document": "资源所处地域。",
|
2453
|
+
"example": "ap-guangzhou\t",
|
2454
|
+
"member": "string",
|
2455
|
+
"name": "Region",
|
2456
|
+
"required": true,
|
2457
|
+
"type": "string"
|
2458
|
+
},
|
2459
|
+
{
|
2460
|
+
"disabled": false,
|
2461
|
+
"document": "\t云上资源列表。",
|
2462
|
+
"example": "无",
|
2463
|
+
"member": "DspaCloudResourceMeta",
|
2464
|
+
"name": "Items",
|
2465
|
+
"required": true,
|
2466
|
+
"type": "list"
|
2467
|
+
}
|
2468
|
+
],
|
2469
|
+
"usage": "in"
|
2470
|
+
},
|
2447
2471
|
"ComplianceGroupDetail": {
|
2448
2472
|
"document": "模板详情",
|
2449
2473
|
"members": [
|
@@ -2668,6 +2692,30 @@
|
|
2668
2692
|
],
|
2669
2693
|
"usage": "out"
|
2670
2694
|
},
|
2695
|
+
"CosBucketItem": {
|
2696
|
+
"document": "cos桶资源项",
|
2697
|
+
"members": [
|
2698
|
+
{
|
2699
|
+
"disabled": false,
|
2700
|
+
"document": "资源所处地域。",
|
2701
|
+
"example": "ap-guangzhou",
|
2702
|
+
"member": "string",
|
2703
|
+
"name": "Region",
|
2704
|
+
"required": true,
|
2705
|
+
"type": "string"
|
2706
|
+
},
|
2707
|
+
{
|
2708
|
+
"disabled": false,
|
2709
|
+
"document": "COS桶列表。",
|
2710
|
+
"example": "无",
|
2711
|
+
"member": "string",
|
2712
|
+
"name": "Buckets",
|
2713
|
+
"required": true,
|
2714
|
+
"type": "list"
|
2715
|
+
}
|
2716
|
+
],
|
2717
|
+
"usage": "in"
|
2718
|
+
},
|
2671
2719
|
"CosResourceItem": {
|
2672
2720
|
"document": "COS资源的桶信息",
|
2673
2721
|
"members": [
|
@@ -3545,29 +3593,38 @@
|
|
3545
3593
|
"members": [
|
3546
3594
|
{
|
3547
3595
|
"disabled": false,
|
3548
|
-
"document": "
|
3549
|
-
"example": "
|
3596
|
+
"document": "DSPA实例ID。",
|
3597
|
+
"example": "dspa-xxxxxxxx",
|
3550
3598
|
"member": "string",
|
3551
|
-
"name": "
|
3599
|
+
"name": "DspaId",
|
3552
3600
|
"required": true,
|
3553
3601
|
"type": "string"
|
3554
3602
|
},
|
3555
3603
|
{
|
3556
|
-
"disabled":
|
3557
|
-
"document": "
|
3558
|
-
"example": "
|
3604
|
+
"disabled": true,
|
3605
|
+
"document": "资源所处地域。",
|
3606
|
+
"example": "ap-guangzhou",
|
3559
3607
|
"member": "string",
|
3560
|
-
"name": "
|
3561
|
-
"required":
|
3608
|
+
"name": "ResourceRegion",
|
3609
|
+
"required": false,
|
3562
3610
|
"type": "string"
|
3563
3611
|
},
|
3564
3612
|
{
|
3565
|
-
"disabled":
|
3613
|
+
"disabled": true,
|
3566
3614
|
"document": "COS桶列表",
|
3567
3615
|
"example": "无",
|
3568
3616
|
"member": "string",
|
3569
3617
|
"name": "Buckets",
|
3570
|
-
"required":
|
3618
|
+
"required": false,
|
3619
|
+
"type": "list"
|
3620
|
+
},
|
3621
|
+
{
|
3622
|
+
"disabled": false,
|
3623
|
+
"document": "必填,COS资源列表",
|
3624
|
+
"example": "无",
|
3625
|
+
"member": "CosBucketItem",
|
3626
|
+
"name": "CosBucketItems",
|
3627
|
+
"required": false,
|
3571
3628
|
"type": "list"
|
3572
3629
|
}
|
3573
3630
|
],
|
@@ -3607,39 +3664,48 @@
|
|
3607
3664
|
"type": "string"
|
3608
3665
|
},
|
3609
3666
|
{
|
3610
|
-
"disabled":
|
3667
|
+
"disabled": true,
|
3611
3668
|
"document": "资源所处地域。",
|
3612
3669
|
"example": "ap-guangzhou",
|
3613
3670
|
"member": "string",
|
3614
3671
|
"name": "ResourceRegion",
|
3615
|
-
"required":
|
3672
|
+
"required": false,
|
3616
3673
|
"type": "string"
|
3617
3674
|
},
|
3618
3675
|
{
|
3619
|
-
"disabled":
|
3676
|
+
"disabled": true,
|
3620
3677
|
"document": "用来标记本次更新是否已经是最后一次,可选值:continue(后续还需要更新)、finished(本次是最后一次更新)。",
|
3621
3678
|
"example": "continue",
|
3622
3679
|
"member": "string",
|
3623
3680
|
"name": "UpdateStatus",
|
3624
|
-
"required":
|
3681
|
+
"required": false,
|
3625
3682
|
"type": "string"
|
3626
3683
|
},
|
3627
3684
|
{
|
3628
|
-
"disabled":
|
3685
|
+
"disabled": true,
|
3629
3686
|
"document": "本次更新的ID号,用来标记一次完整的更新过程。",
|
3630
3687
|
"example": "无",
|
3631
3688
|
"member": "string",
|
3632
3689
|
"name": "UpdateId",
|
3633
|
-
"required":
|
3690
|
+
"required": false,
|
3634
3691
|
"type": "string"
|
3635
3692
|
},
|
3636
3693
|
{
|
3637
|
-
"disabled":
|
3694
|
+
"disabled": true,
|
3638
3695
|
"document": "云上资源列表。",
|
3639
3696
|
"example": "无",
|
3640
3697
|
"member": "DspaCloudResourceMeta",
|
3641
3698
|
"name": "Items",
|
3642
|
-
"required":
|
3699
|
+
"required": false,
|
3700
|
+
"type": "list"
|
3701
|
+
},
|
3702
|
+
{
|
3703
|
+
"disabled": false,
|
3704
|
+
"document": "必填,云数据库资源列表。",
|
3705
|
+
"example": "无",
|
3706
|
+
"member": "CloudResourceItem",
|
3707
|
+
"name": "CloudResourceItems",
|
3708
|
+
"required": false,
|
3643
3709
|
"type": "list"
|
3644
3710
|
}
|
3645
3711
|
],
|
@@ -3649,11 +3715,12 @@
|
|
3649
3715
|
"document": "CreateDSPADbMetaResources返回参数结构体",
|
3650
3716
|
"members": [
|
3651
3717
|
{
|
3652
|
-
"disabled":
|
3718
|
+
"disabled": true,
|
3653
3719
|
"document": "本次更新的ID号,用来标记一次完整的更新过程。",
|
3654
3720
|
"example": "无",
|
3655
3721
|
"member": "string",
|
3656
3722
|
"name": "UpdateId",
|
3723
|
+
"output_required": true,
|
3657
3724
|
"type": "string",
|
3658
3725
|
"value_allowed_null": false
|
3659
3726
|
},
|
@@ -3663,6 +3730,7 @@
|
|
3663
3730
|
"example": "无",
|
3664
3731
|
"member": "string",
|
3665
3732
|
"name": "MetaType",
|
3733
|
+
"output_required": true,
|
3666
3734
|
"type": "string",
|
3667
3735
|
"value_allowed_null": false
|
3668
3736
|
},
|
@@ -3672,15 +3740,17 @@
|
|
3672
3740
|
"example": "无",
|
3673
3741
|
"member": "string",
|
3674
3742
|
"name": "DspaId",
|
3743
|
+
"output_required": true,
|
3675
3744
|
"type": "string",
|
3676
3745
|
"value_allowed_null": false
|
3677
3746
|
},
|
3678
3747
|
{
|
3679
|
-
"disabled":
|
3748
|
+
"disabled": true,
|
3680
3749
|
"document": "资源所处地域。",
|
3681
3750
|
"example": "无",
|
3682
3751
|
"member": "string",
|
3683
3752
|
"name": "ResourceRegion",
|
3753
|
+
"output_required": true,
|
3684
3754
|
"type": "string",
|
3685
3755
|
"value_allowed_null": false
|
3686
3756
|
},
|
@@ -185,7 +185,7 @@
|
|
185
185
|
"DescribeSubscribeCheckJob": {
|
186
186
|
"document": "本接口(DescribeSubscribeCheckJob)用于查询订阅校验任务结果。",
|
187
187
|
"input": "DescribeSubscribeCheckJobRequest",
|
188
|
-
"name": "
|
188
|
+
"name": "查询订阅校验结果",
|
189
189
|
"output": "DescribeSubscribeCheckJobResponse",
|
190
190
|
"status": "online"
|
191
191
|
},
|
@@ -416,7 +416,7 @@
|
|
416
416
|
"ResumeSubscribe": {
|
417
417
|
"document": "本接口(ResumeSubscribe) 用于恢复报错的订阅任务。当订阅任务的状态为error时,可通过本接口尝试对任务进行恢复。",
|
418
418
|
"input": "ResumeSubscribeRequest",
|
419
|
-
"name": "
|
419
|
+
"name": "重试订阅任务",
|
420
420
|
"output": "ResumeSubscribeResponse",
|
421
421
|
"status": "online"
|
422
422
|
},
|
@@ -500,7 +500,7 @@
|
|
500
500
|
},
|
501
501
|
"metadata": {
|
502
502
|
"apiVersion": "2021-12-06",
|
503
|
-
"api_brief": "
|
503
|
+
"api_brief": "介绍如何快速使用API对数据传输服务进行数据迁移、数据同步、数据订阅操作。",
|
504
504
|
"serviceNameCN": "数据传输服务",
|
505
505
|
"serviceShortName": "dts"
|
506
506
|
},
|
@@ -1662,6 +1662,7 @@
|
|
1662
1662
|
"example": "noCheck",
|
1663
1663
|
"member": "string",
|
1664
1664
|
"name": "Mode",
|
1665
|
+
"output_required": true,
|
1665
1666
|
"required": false,
|
1666
1667
|
"type": "string",
|
1667
1668
|
"value_allowed_null": true
|
@@ -1416,6 +1416,42 @@
|
|
1416
1416
|
"name": "Time",
|
1417
1417
|
"required": false,
|
1418
1418
|
"type": "int"
|
1419
|
+
},
|
1420
|
+
{
|
1421
|
+
"disabled": false,
|
1422
|
+
"document": "事件的地域信息,没有则默认是EB所在的地域信息",
|
1423
|
+
"example": "ap-chengdu",
|
1424
|
+
"member": "string",
|
1425
|
+
"name": "Region",
|
1426
|
+
"required": false,
|
1427
|
+
"type": "string"
|
1428
|
+
},
|
1429
|
+
{
|
1430
|
+
"disabled": false,
|
1431
|
+
"document": "用于描述事件状态,非必须,默认是\"\"",
|
1432
|
+
"example": "\"-\"",
|
1433
|
+
"member": "string",
|
1434
|
+
"name": "Status",
|
1435
|
+
"required": false,
|
1436
|
+
"type": "string"
|
1437
|
+
},
|
1438
|
+
{
|
1439
|
+
"disabled": false,
|
1440
|
+
"document": "事件的唯一id,用户侧主动上传则需要保证风格一致",
|
1441
|
+
"example": "13a3f42d-7258-4ada-da6d-023a333b4662",
|
1442
|
+
"member": "string",
|
1443
|
+
"name": "Id",
|
1444
|
+
"required": false,
|
1445
|
+
"type": "string"
|
1446
|
+
},
|
1447
|
+
{
|
1448
|
+
"disabled": false,
|
1449
|
+
"document": "标签列表",
|
1450
|
+
"example": "[{\"Key\":\"k1\", \"Value\":\"v1\"}]",
|
1451
|
+
"member": "Tag",
|
1452
|
+
"name": "TagList",
|
1453
|
+
"required": false,
|
1454
|
+
"type": "list"
|
1419
1455
|
}
|
1420
1456
|
],
|
1421
1457
|
"usage": "in"
|
@@ -3055,6 +3091,34 @@
|
|
3055
3091
|
],
|
3056
3092
|
"usage": "both"
|
3057
3093
|
},
|
3094
|
+
"Tag": {
|
3095
|
+
"document": "事件总线资源标签",
|
3096
|
+
"members": [
|
3097
|
+
{
|
3098
|
+
"disabled": false,
|
3099
|
+
"document": "标签名称",
|
3100
|
+
"example": "Key",
|
3101
|
+
"member": "string",
|
3102
|
+
"name": "Key",
|
3103
|
+
"output_required": true,
|
3104
|
+
"required": true,
|
3105
|
+
"type": "string",
|
3106
|
+
"value_allowed_null": false
|
3107
|
+
},
|
3108
|
+
{
|
3109
|
+
"disabled": false,
|
3110
|
+
"document": "标签值",
|
3111
|
+
"example": "Value",
|
3112
|
+
"member": "string",
|
3113
|
+
"name": "Value",
|
3114
|
+
"output_required": true,
|
3115
|
+
"required": true,
|
3116
|
+
"type": "string",
|
3117
|
+
"value_allowed_null": false
|
3118
|
+
}
|
3119
|
+
],
|
3120
|
+
"usage": "both"
|
3121
|
+
},
|
3058
3122
|
"Target": {
|
3059
3123
|
"document": "Target信息",
|
3060
3124
|
"members": [
|
@@ -3901,7 +3901,7 @@
|
|
3901
3901
|
},
|
3902
3902
|
{
|
3903
3903
|
"disabled": false,
|
3904
|
-
"document": "
|
3904
|
+
"document": "分页偏移量,Offset=0表示第一页;如果limit=100,Offset=1,则表示第二页,数据第101条开始查询,返回100条数据;如果limit=100,Offset=2,则表示第三页,数据第201条开始查询,返回100条数据。依次类推",
|
3905
3905
|
"example": "0",
|
3906
3906
|
"member": "int64",
|
3907
3907
|
"name": "Offset",
|
tccli/services/es/es_client.py
CHANGED
@@ -2617,6 +2617,58 @@ def doDescribeInstancePluginList(args, parsed_globals):
|
|
2617
2617
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2618
2618
|
|
2619
2619
|
|
2620
|
+
def doDescribeServerlessInstances(args, parsed_globals):
|
2621
|
+
g_param = parse_global_arg(parsed_globals)
|
2622
|
+
|
2623
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2624
|
+
cred = credential.CVMRoleCredential()
|
2625
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2626
|
+
cred = credential.STSAssumeRoleCredential(
|
2627
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2628
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2629
|
+
)
|
2630
|
+
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):
|
2631
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2632
|
+
else:
|
2633
|
+
cred = credential.Credential(
|
2634
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2635
|
+
)
|
2636
|
+
http_profile = HttpProfile(
|
2637
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2638
|
+
reqMethod="POST",
|
2639
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2640
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2641
|
+
)
|
2642
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2643
|
+
if g_param[OptionsDefine.Language]:
|
2644
|
+
profile.language = g_param[OptionsDefine.Language]
|
2645
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2646
|
+
client = mod.EsClient(cred, g_param[OptionsDefine.Region], profile)
|
2647
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2648
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2649
|
+
model = models.DescribeServerlessInstancesRequest()
|
2650
|
+
model.from_json_string(json.dumps(args))
|
2651
|
+
start_time = time.time()
|
2652
|
+
while True:
|
2653
|
+
rsp = client.DescribeServerlessInstances(model)
|
2654
|
+
result = rsp.to_json_string()
|
2655
|
+
try:
|
2656
|
+
json_obj = json.loads(result)
|
2657
|
+
except TypeError as e:
|
2658
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2659
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2660
|
+
break
|
2661
|
+
cur_time = time.time()
|
2662
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2663
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2664
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2665
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2666
|
+
else:
|
2667
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2668
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2669
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2670
|
+
|
2671
|
+
|
2620
2672
|
def doDescribeIndexMeta(args, parsed_globals):
|
2621
2673
|
g_param = parse_global_arg(parsed_globals)
|
2622
2674
|
|
@@ -2834,6 +2886,7 @@ ACTION_MAP = {
|
|
2834
2886
|
"UpdateDictionaries": doUpdateDictionaries,
|
2835
2887
|
"UpgradeLicense": doUpgradeLicense,
|
2836
2888
|
"DescribeInstancePluginList": doDescribeInstancePluginList,
|
2889
|
+
"DescribeServerlessInstances": doDescribeServerlessInstances,
|
2837
2890
|
"DescribeIndexMeta": doDescribeIndexMeta,
|
2838
2891
|
"CreateServerlessInstance": doCreateServerlessInstance,
|
2839
2892
|
"InquirePriceRenewInstance": doInquirePriceRenewInstance,
|