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
@@ -40,6 +40,14 @@
|
|
40
40
|
"title": "添加共享单元资源"
|
41
41
|
}
|
42
42
|
],
|
43
|
+
"AttachPolicy": [
|
44
|
+
{
|
45
|
+
"document": "绑定策略",
|
46
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AttachPolicy\n<公共请求参数>\n\n{\n \"TargetId\": 10001,\n \"TargetType\": \"NODE\",\n \"PolicyId\": 100001\n}",
|
47
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"fd498970-3ffb-440e-a3bf-f6faa43eeb08\"\n }\n}",
|
48
|
+
"title": "绑定策略"
|
49
|
+
}
|
50
|
+
],
|
43
51
|
"BindOrganizationMemberAuthAccount": [
|
44
52
|
{
|
45
53
|
"document": "",
|
@@ -112,6 +120,14 @@
|
|
112
120
|
"title": "创建组织成员访问策略"
|
113
121
|
}
|
114
122
|
],
|
123
|
+
"CreatePolicy": [
|
124
|
+
{
|
125
|
+
"document": "创建策略",
|
126
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePolicy\n<公共请求参数>\n\n{\n \"Content\": \"{\\\"version\\\":\\\"2.0\\\",\\\"statement\\\":[{\\\"effect\\\":\\\"allow\\\",\\\"action\\\":\\\"*\\\",\\\"resource\\\":\\\"*\\\"}]}\",\n \"Description\": \"FullAccessPolicy\",\n \"Name\": \"FullAccessPolicy\",\n \"Type\": \"SERVICE_CONTROL_POLICY\"\n}",
|
127
|
+
"output": "{\n \"Response\": {\n \"PolicyId\": 100001,\n \"RequestId\": \"fd498970-3ffb-440e-a3bf-f6faa43eeb08\"\n }\n}",
|
128
|
+
"title": "创建策略"
|
129
|
+
}
|
130
|
+
],
|
115
131
|
"DeleteAccount": [
|
116
132
|
{
|
117
133
|
"document": "删除成员账号",
|
@@ -168,6 +184,14 @@
|
|
168
184
|
"title": "批量删除企业组织节点"
|
169
185
|
}
|
170
186
|
],
|
187
|
+
"DeletePolicy": [
|
188
|
+
{
|
189
|
+
"document": "删除策略",
|
190
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeletePolicy\n<公共请求参数>\n\n{\n \"PolicyId\": 100001\n}",
|
191
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"fd498970-3ffb-440e-a3bf-f6faa43eeb08\"\n }\n}",
|
192
|
+
"title": "删除策略"
|
193
|
+
}
|
194
|
+
],
|
171
195
|
"DeleteShareUnit": [
|
172
196
|
{
|
173
197
|
"document": "",
|
@@ -280,6 +304,22 @@
|
|
280
304
|
"title": "获取节点列表"
|
281
305
|
}
|
282
306
|
],
|
307
|
+
"DescribePolicy": [
|
308
|
+
{
|
309
|
+
"document": "查看一个策略的详情",
|
310
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePolicy\n<公共请求参数>\n\n{\n \"PolicyId\": 1001\n}",
|
311
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"152482ca-5968-4557-ac1d-1e7ac28ce0da\",\n \"AddTime\": \"2022-08-04 16:04:17\",\n \"Description\": \"test\",\n \"PolicyDocument\": \"{\\\"strategyInfo\\\":{\\\"version\\\":\\\"2.0\\\",\\\"statement\\\":[{\\\"effect\\\":\\\"allow\\\",\\\"action\\\":\\\"*\\\",\\\"resource\\\":\\\"qcs::cam::*:*\\\"}]},\\\"version\\\":\\\"2.0\\\"}\",\n \"PolicyId\": 1001,\n \"PolicyName\": \"test-1\",\n \"Type\": 3,\n \"UpdateTime\": \"2022-08-04 17:04:17\"\n }\n}",
|
312
|
+
"title": "查看一个策略的详情"
|
313
|
+
}
|
314
|
+
],
|
315
|
+
"DescribePolicyConfig": [
|
316
|
+
{
|
317
|
+
"document": "查看企业组织策略配置",
|
318
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePolicyConfig\n<公共请求参数>\n\n{\n \"OrganizationId\": 80001\n}",
|
319
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"20678896-12d1-11ed-a2cd-525400fed39d\",\n \"Status\": 1,\n \"Type\": \"SERVICE_CONTROL_POLICY\"\n }\n}",
|
320
|
+
"title": "查看企业组织策略配置"
|
321
|
+
}
|
322
|
+
],
|
283
323
|
"DescribeShareAreas": [
|
284
324
|
{
|
285
325
|
"document": "",
|
@@ -312,6 +352,30 @@
|
|
312
352
|
"title": "获取共享单元列表"
|
313
353
|
}
|
314
354
|
],
|
355
|
+
"DetachPolicy": [
|
356
|
+
{
|
357
|
+
"document": "解绑策略",
|
358
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetachPolicy\n<公共请求参数>\n\n{\n \"TargetId\": 10001,\n \"TargetType\": \"NODE\",\n \"PolicyId\": 100001\n}",
|
359
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"fd498970-3ffb-440e-a3bf-f6faa43eeb08\"\n }\n}",
|
360
|
+
"title": "解绑策略"
|
361
|
+
}
|
362
|
+
],
|
363
|
+
"DisablePolicyType": [
|
364
|
+
{
|
365
|
+
"document": "禁用策略类型",
|
366
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DisablePolicyType\n<公共请求参数>\n\n{\n \"OrganizationId\": 80001,\n \"PolicyType\": \"SERVICE_CONTROL_POLICY\"\n}",
|
367
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"fd498970-3ffb-440e-a3bf-f6faa43eeb08\"\n }\n}",
|
368
|
+
"title": "禁用策略类型"
|
369
|
+
}
|
370
|
+
],
|
371
|
+
"EnablePolicyType": [
|
372
|
+
{
|
373
|
+
"document": "启用策略类型",
|
374
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnablePolicyType\n<公共请求参数>\n\n{\n \"OrganizationId\": 80001,\n \"PolicyType\": \"SERVICE_CONTROL_POLICY\"\n}",
|
375
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"fd498970-3ffb-440e-a3bf-f6faa43eeb08\"\n }\n}",
|
376
|
+
"title": "启用策略类型"
|
377
|
+
}
|
378
|
+
],
|
315
379
|
"ListOrganizationIdentity": [
|
316
380
|
{
|
317
381
|
"document": "获取组织成员访问身份列表",
|
@@ -320,6 +384,30 @@
|
|
320
384
|
"title": "获取组织成员访问身份列表"
|
321
385
|
}
|
322
386
|
],
|
387
|
+
"ListPolicies": [
|
388
|
+
{
|
389
|
+
"document": "查看策略列表数据",
|
390
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListPolicies\n<公共请求参数>\n\n{\n \"Scope\": \"Local\"\n}",
|
391
|
+
"output": "{\n \"Response\": {\n \"List\": [\n {\n \"AddTime\": \"2022-08-04 16:04:17\",\n \"AttachedTimes\": 0,\n \"Description\": \"test\",\n \"PolicyId\": 133766838,\n \"PolicyName\": \"test-1\",\n \"Type\": 1,\n \"UpdateTime\": \"2022-08-04 16:04:17\"\n },\n {\n \"AddTime\": \"2022-08-04 15:06:07\",\n \"AttachedTimes\": 0,\n \"Description\": \"test-c\",\n \"PolicyId\": 133760482,\n \"PolicyName\": \"test-3\",\n \"Type\": 1,\n \"UpdateTime\": \"2022-08-04 16:03:53\"\n }\n ],\n \"RequestId\": \"152482ca-5968-4557-ac1d-1e7ac28ce0da\",\n \"TotalNum\": 2\n }\n}",
|
392
|
+
"title": "查看策略列表数据"
|
393
|
+
}
|
394
|
+
],
|
395
|
+
"ListPoliciesForTarget": [
|
396
|
+
{
|
397
|
+
"document": "查询目标关联的策略列表",
|
398
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListPoliciesForTarget\n<公共请求参数>\n\n{\n \"TargetId\": 111111111111\n}",
|
399
|
+
"output": "{\n \"Response\": {\n \"List\": [\n {\n \"StrategyId\": 134173928,\n \"StrategyName\": \"policy-test-1\",\n \"AddTime\": \"2022-08-07 20:20:09\",\n \"UpdateTime\": \"2022-08-07 20:20:09\",\n \"AttachTime\": \"2022-08-08 14:49:59\",\n \"Type\": 2,\n \"Remark\": \"test1\",\n \"Uin\": 111111111111,\n \"Name\": \"test\"\n },\n {\n \"StrategyId\": 1000,\n \"StrategyName\": \"FullQcloudAccess\",\n \"AddTime\": \"2022-08-08 14:45:50\",\n \"UpdateTime\": \"2022-08-08 14:49:59\",\n \"AttachTime\": \"2022-08-08 14:49:59\",\n \"Type\": 2,\n \"Remark\": \"允许授权所有操作,用于企业组织服务控制策略。\",\n \"Uin\": 111111111111,\n \"Name\": \"test\"\n }\n ],\n \"TotalNum\": 2,\n \"RequestId\": \"2f76e3a5-225f-4deb-8d98-4efb0f1ae0ea\"\n }\n}",
|
400
|
+
"title": "查询目标关联的策略列表"
|
401
|
+
}
|
402
|
+
],
|
403
|
+
"ListTargetsForPolicy": [
|
404
|
+
{
|
405
|
+
"document": "查询某个指定策略关联的目标列表",
|
406
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListTargetsForPolicy\n<公共请求参数>\n\n{\n \"PolicyId\": \"134173928\"\n}",
|
407
|
+
"output": "{\n \"Response\": {\n \"List\": [\n {\n \"AddTime\": \"2022-08-09 17:08:35\",\n \"Name\": \"T0\",\n \"RelatedType\": 1,\n \"Uin\": 222222222222\n },\n {\n \"AddTime\": \"2022-08-09 17:11:54\",\n \"Name\": \"33\",\n \"RelatedType\": 2,\n \"Uin\": 111111111111\n }\n ],\n \"RequestId\": \"676ed1a2-8a98-4834-8d7a-19538980ad0e\",\n \"TotalNum\": 5\n }\n}",
|
408
|
+
"title": "查询某个指定策略关联的目标列表"
|
409
|
+
}
|
410
|
+
],
|
323
411
|
"MoveOrganizationNodeMembers": [
|
324
412
|
{
|
325
413
|
"document": "",
|
@@ -368,6 +456,14 @@
|
|
368
456
|
"title": "更新企业组织节点"
|
369
457
|
}
|
370
458
|
],
|
459
|
+
"UpdatePolicy": [
|
460
|
+
{
|
461
|
+
"document": "编辑策略",
|
462
|
+
"input": "POST / HTTP/1.1\nHost: organization.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdatePolicy\n<公共请求参数>\n\n{\n \"Content\": \"{\\\"version\\\":\\\"2.0\\\",\\\"statement\\\":[{\\\"effect\\\":\\\"allow\\\",\\\"action\\\":\\\"*\\\",\\\"resource\\\":\\\"*\\\"}]}\",\n \"Description\": \"FullAccessPolicy\",\n \"Name\": \"FullAccessPolicy\",\n \"PolicyId\": 100001\n}",
|
463
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"fd498970-3ffb-440e-a3bf-f6faa43eeb08\"\n }\n}",
|
464
|
+
"title": "编辑策略"
|
465
|
+
}
|
466
|
+
],
|
371
467
|
"UpdateShareUnit": [
|
372
468
|
{
|
373
469
|
"document": "",
|
@@ -3254,7 +3254,17 @@
|
|
3254
3254
|
},
|
3255
3255
|
"DescribeRegionsRequest": {
|
3256
3256
|
"document": "DescribeRegions请求参数结构体",
|
3257
|
-
"members": [
|
3257
|
+
"members": [
|
3258
|
+
{
|
3259
|
+
"disabled": false,
|
3260
|
+
"document": "通过该参数指定不同压测网络环境,在不同网络环境下,PTS可用的地域不一样",
|
3261
|
+
"example": "0: 公网压测可用地域, 1: VPC私有网络压测可用地域,2: DevCloud环境可用地域",
|
3262
|
+
"member": "uint64",
|
3263
|
+
"name": "LoadType",
|
3264
|
+
"required": false,
|
3265
|
+
"type": "int"
|
3266
|
+
}
|
3267
|
+
],
|
3258
3268
|
"type": "object"
|
3259
3269
|
},
|
3260
3270
|
"DescribeRegionsResponse": {
|
@@ -3266,7 +3276,7 @@
|
|
3266
3276
|
"example": "无",
|
3267
3277
|
"member": "RegionDetail",
|
3268
3278
|
"name": "RegionSet",
|
3269
|
-
"
|
3279
|
+
"output_required": true,
|
3270
3280
|
"type": "list",
|
3271
3281
|
"value_allowed_null": true
|
3272
3282
|
},
|
@@ -5207,6 +5217,7 @@
|
|
5207
5217
|
"example": "无",
|
5208
5218
|
"member": "LoadSpec",
|
5209
5219
|
"name": "LoadSpec",
|
5220
|
+
"output_required": true,
|
5210
5221
|
"required": false,
|
5211
5222
|
"type": "object",
|
5212
5223
|
"value_allowed_null": true
|
@@ -5217,16 +5228,18 @@
|
|
5217
5228
|
"example": "无",
|
5218
5229
|
"member": "VpcLoadDistribution",
|
5219
5230
|
"name": "VpcLoadDistribution",
|
5231
|
+
"output_required": true,
|
5220
5232
|
"required": false,
|
5221
5233
|
"type": "object",
|
5222
5234
|
"value_allowed_null": true
|
5223
5235
|
},
|
5224
5236
|
{
|
5225
5237
|
"disabled": false,
|
5226
|
-
"document": "
|
5238
|
+
"document": "多地域压力分布\n注意:此字段可能返回 null,表示取不到有效值。",
|
5227
5239
|
"example": "无",
|
5228
5240
|
"member": "GeoRegionsLoadItem",
|
5229
5241
|
"name": "GeoRegionsLoadDistribution",
|
5242
|
+
"output_required": true,
|
5230
5243
|
"required": false,
|
5231
5244
|
"type": "list",
|
5232
5245
|
"value_allowed_null": true
|
@@ -243,8 +243,8 @@
|
|
243
243
|
"DescribeRegions": [
|
244
244
|
{
|
245
245
|
"document": "",
|
246
|
-
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRegions\n<公共请求参数>\n\n{}",
|
247
|
-
"output": "{\n \"Response\": {\n \"RegionSet\": [\n {\n \"CreatedAt\": \"2021-08-20T16:33:00+08:00\",\n \"UpdatedAt\": \"2021-08-20T16:33:00+08:00\",\n \"RegionId\": 1,\n \"Region\": \"ap-guangzhou\",\n \"RegionShortName\": \"gz\",\n \"RegionState\": 1,\n \"RegionName\": \"广州\",\n \"Area\": \"华南地区\"\n },\n {\n \"CreatedAt\": \"2021-08-20T16:33:00+08:00\",\n \"UpdatedAt\": \"2021-08-20T16:33:00+08:00\",\n \"RegionId\": 37,\n \"Region\": \"ap-shenzhen\",\n \"RegionShortName\": \"szx\",\n \"RegionState\": 1,\n \"RegionName\": \"深圳\",\n \"Area\": \"华南地区\"\n }\n ],\n \"RequestId\": \"
|
246
|
+
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRegions\n<公共请求参数>\n\n{\n \"LoadType\": 0\n}",
|
247
|
+
"output": "{\n \"Response\": {\n \"RegionSet\": [\n {\n \"CreatedAt\": \"2021-08-20T16:33:00+08:00\",\n \"UpdatedAt\": \"2021-08-20T16:33:00+08:00\",\n \"RegionId\": 1,\n \"Region\": \"ap-guangzhou\",\n \"RegionShortName\": \"gz\",\n \"RegionState\": 1,\n \"RegionName\": \"广州\",\n \"Area\": \"华南地区\"\n },\n {\n \"CreatedAt\": \"2021-08-20T16:33:00+08:00\",\n \"UpdatedAt\": \"2021-08-20T16:33:00+08:00\",\n \"RegionId\": 37,\n \"Region\": \"ap-shenzhen\",\n \"RegionShortName\": \"szx\",\n \"RegionState\": 1,\n \"RegionName\": \"深圳\",\n \"Area\": \"华南地区\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
248
248
|
"title": "查询地域列表"
|
249
249
|
}
|
250
250
|
],
|
@@ -1947,6 +1947,15 @@
|
|
1947
1947
|
"name": "RedisClusterId",
|
1948
1948
|
"required": false,
|
1949
1949
|
"type": "string"
|
1950
|
+
},
|
1951
|
+
{
|
1952
|
+
"disabled": false,
|
1953
|
+
"document": "告警策略 ID 数组。\n\n- 请登录[腾讯云可观测平台-告警管理-策略管理](https://console.cloud.tencent.com/monitor/alarm/policy)获取告警策略 ID。\n- 若不配置该参数,则绑定默认告警策略。默认告警策略具体信息,请登录[腾讯云可观测平台-告警管理-策略管理](https://console.cloud.tencent.com/monitor/alarm/policy)查看。",
|
1954
|
+
"example": "[\"policy-6e6wodv4\"]",
|
1955
|
+
"member": "string",
|
1956
|
+
"name": "AlarmPolicyList",
|
1957
|
+
"required": false,
|
1958
|
+
"type": "list"
|
1950
1959
|
}
|
1951
1960
|
],
|
1952
1961
|
"type": "object"
|
@@ -1960,6 +1969,7 @@
|
|
1960
1969
|
"example": "199878234",
|
1961
1970
|
"member": "string",
|
1962
1971
|
"name": "DealId",
|
1972
|
+
"output_required": true,
|
1963
1973
|
"type": "string",
|
1964
1974
|
"value_allowed_null": false
|
1965
1975
|
},
|
@@ -1969,6 +1979,7 @@
|
|
1969
1979
|
"example": "crs-3sz5wdav",
|
1970
1980
|
"member": "string",
|
1971
1981
|
"name": "InstanceIds",
|
1982
|
+
"output_required": true,
|
1972
1983
|
"type": "list",
|
1973
1984
|
"value_allowed_null": false
|
1974
1985
|
},
|
@@ -3202,18 +3202,16 @@
|
|
3202
3202
|
"member": "string",
|
3203
3203
|
"name": "ClusterOs",
|
3204
3204
|
"required": false,
|
3205
|
-
"type": "string"
|
3206
|
-
"value_allowed_null": false
|
3205
|
+
"type": "string"
|
3207
3206
|
},
|
3208
3207
|
{
|
3209
3208
|
"disabled": false,
|
3210
3209
|
"document": "集群版本,默认值为1.10.5",
|
3211
|
-
"example": "
|
3210
|
+
"example": "1.18.4",
|
3212
3211
|
"member": "string",
|
3213
3212
|
"name": "ClusterVersion",
|
3214
3213
|
"required": false,
|
3215
|
-
"type": "string"
|
3216
|
-
"value_allowed_null": false
|
3214
|
+
"type": "string"
|
3217
3215
|
},
|
3218
3216
|
{
|
3219
3217
|
"disabled": false,
|
@@ -3222,8 +3220,7 @@
|
|
3222
3220
|
"member": "string",
|
3223
3221
|
"name": "ClusterName",
|
3224
3222
|
"required": false,
|
3225
|
-
"type": "string"
|
3226
|
-
"value_allowed_null": false
|
3223
|
+
"type": "string"
|
3227
3224
|
},
|
3228
3225
|
{
|
3229
3226
|
"disabled": false,
|
@@ -3232,8 +3229,7 @@
|
|
3232
3229
|
"member": "string",
|
3233
3230
|
"name": "ClusterDescription",
|
3234
3231
|
"required": false,
|
3235
|
-
"type": "string"
|
3236
|
-
"value_allowed_null": false
|
3232
|
+
"type": "string"
|
3237
3233
|
},
|
3238
3234
|
{
|
3239
3235
|
"disabled": false,
|
@@ -3242,8 +3238,7 @@
|
|
3242
3238
|
"member": "string",
|
3243
3239
|
"name": "VpcId",
|
3244
3240
|
"required": false,
|
3245
|
-
"type": "string"
|
3246
|
-
"value_allowed_null": false
|
3241
|
+
"type": "string"
|
3247
3242
|
},
|
3248
3243
|
{
|
3249
3244
|
"disabled": false,
|
@@ -3252,8 +3247,7 @@
|
|
3252
3247
|
"member": "int64",
|
3253
3248
|
"name": "ProjectId",
|
3254
3249
|
"required": false,
|
3255
|
-
"type": "int"
|
3256
|
-
"value_allowed_null": false
|
3250
|
+
"type": "int"
|
3257
3251
|
},
|
3258
3252
|
{
|
3259
3253
|
"disabled": false,
|
@@ -3262,8 +3256,7 @@
|
|
3262
3256
|
"member": "TagSpecification",
|
3263
3257
|
"name": "TagSpecification",
|
3264
3258
|
"required": false,
|
3265
|
-
"type": "list"
|
3266
|
-
"value_allowed_null": false
|
3259
|
+
"type": "list"
|
3267
3260
|
},
|
3268
3261
|
{
|
3269
3262
|
"disabled": false,
|
@@ -3272,8 +3265,7 @@
|
|
3272
3265
|
"member": "string",
|
3273
3266
|
"name": "OsCustomizeType",
|
3274
3267
|
"required": false,
|
3275
|
-
"type": "string"
|
3276
|
-
"value_allowed_null": false
|
3268
|
+
"type": "string"
|
3277
3269
|
},
|
3278
3270
|
{
|
3279
3271
|
"disabled": false,
|
@@ -3282,8 +3274,7 @@
|
|
3282
3274
|
"member": "bool",
|
3283
3275
|
"name": "NeedWorkSecurityGroup",
|
3284
3276
|
"required": false,
|
3285
|
-
"type": "bool"
|
3286
|
-
"value_allowed_null": false
|
3277
|
+
"type": "bool"
|
3287
3278
|
},
|
3288
3279
|
{
|
3289
3280
|
"disabled": false,
|
@@ -3292,8 +3283,7 @@
|
|
3292
3283
|
"member": "string",
|
3293
3284
|
"name": "SubnetId",
|
3294
3285
|
"required": false,
|
3295
|
-
"type": "string"
|
3296
|
-
"value_allowed_null": false
|
3286
|
+
"type": "string"
|
3297
3287
|
},
|
3298
3288
|
{
|
3299
3289
|
"disabled": false,
|
@@ -3302,8 +3292,7 @@
|
|
3302
3292
|
"member": "string",
|
3303
3293
|
"name": "ClusterLevel",
|
3304
3294
|
"required": false,
|
3305
|
-
"type": "string"
|
3306
|
-
"value_allowed_null": false
|
3295
|
+
"type": "string"
|
3307
3296
|
},
|
3308
3297
|
{
|
3309
3298
|
"disabled": false,
|
@@ -3312,8 +3301,7 @@
|
|
3312
3301
|
"member": "AutoUpgradeClusterLevel",
|
3313
3302
|
"name": "AutoUpgradeClusterLevel",
|
3314
3303
|
"required": false,
|
3315
|
-
"type": "object"
|
3316
|
-
"value_allowed_null": false
|
3304
|
+
"type": "object"
|
3317
3305
|
}
|
3318
3306
|
],
|
3319
3307
|
"usage": "in"
|
@@ -19266,6 +19254,16 @@
|
|
19266
19254
|
"type": "int",
|
19267
19255
|
"value_allowed_null": true
|
19268
19256
|
},
|
19257
|
+
{
|
19258
|
+
"disabled": false,
|
19259
|
+
"document": "运行时描述\n注意:此字段可能返回 null,表示取不到有效值。",
|
19260
|
+
"example": "{\"RuntimeType\":\"\",\"RuntimeVersion\":\"\"}",
|
19261
|
+
"member": "RuntimeConfig",
|
19262
|
+
"name": "RuntimeConfig",
|
19263
|
+
"output_required": true,
|
19264
|
+
"type": "object",
|
19265
|
+
"value_allowed_null": true
|
19266
|
+
},
|
19269
19267
|
{
|
19270
19268
|
"disabled": false,
|
19271
19269
|
"document": "节点池osName\n注意:此字段可能返回 null,表示取不到有效值。",
|
@@ -722,7 +722,7 @@
|
|
722
722
|
{
|
723
723
|
"document": "查询节点池详情",
|
724
724
|
"input": "https://tke.tencentcloudapi.com/?Action=DescribeClusterNodePoolDetail\n&ClusterId=cls-xxxxxx\n&NodePoolId=np-xxxxxxxx\n&<公共请求参数>",
|
725
|
-
"output": "{\n \"Response\": {\n \"NodePool\": {\n \"AutoscalingGroupId\": \"asg-xxx\",\n \"AutoscalingGroupStatus\": \"disabled\",\n \"ClusterInstanceId\": \"cls-xxx\",\n \"DataDisks\": null,\n \"DeletionProtection\": true,\n \"DesiredNodesNum\": 2,\n \"DesiredPodNum\": 64,\n \"DockerGraphPath\": \"\",\n \"ExtraArgs\": {\n \"Kubelet\": []\n },\n \"GPUArgs\": {\n \"CUDA\": {\n \"Name\": \"\",\n \"Version\": \"\"\n },\n \"CUDNN\": {\n \"DevName\": \"\",\n \"DocName\": \"\",\n \"Name\": \"\",\n \"Version\": \"\"\n },\n \"CustomDriver\": {\n \"Address\": \"\"\n },\n \"Driver\": {\n \"Name\": \"\",\n \"Version\": \"\"\n },\n \"MIGEnable\": false\n },\n \"ImageId\": \"\",\n \"Labels\": [],\n \"LaunchConfigurationId\": \"asc-xxx\",\n \"LifeState\": \"normal\",\n \"MaxNodesNum\": 3,\n \"MinNodesNum\": 0,\n \"Name\": \"xxx\",\n \"NodeCountSummary\": {\n \"AutoscalingAdded\": {\n \"Initializing\": 0,\n \"Joining\": 0,\n \"Normal\": 2,\n \"Total\": 2\n },\n \"ManuallyAdded\": {\n \"Initializing\": 0,\n \"Joining\": 0,\n \"Normal\": 1,\n \"Total\": 1\n }\n },\n \"NodePoolId\": \"np-xxx\",\n \"NodePoolOs\": \"tlinux_xxx\",\n \"OsCustomizeType\": \"GENERAL\",\n \"PreStartUserScript\": \"#!/bin/sh\\ntouch /tmp/before\",\n \"Tags\": null,\n \"Taints\": [],\n \"Unschedulable\": 0,\n \"UserScript\": \"#!/bin/sh\\ntouch /tmp/after\"\n },\n \"RequestId\": \"68b7b080-7c57-4869-bc54-a518b4902b2d\"\n }\n}",
|
725
|
+
"output": "{\n \"Response\": {\n \"NodePool\": {\n \"AutoscalingGroupId\": \"asg-xxx\",\n \"AutoscalingGroupStatus\": \"disabled\",\n \"ClusterInstanceId\": \"cls-xxx\",\n \"DataDisks\": null,\n \"DeletionProtection\": true,\n \"DesiredNodesNum\": 2,\n \"DesiredPodNum\": 64,\n \"DockerGraphPath\": \"\",\n \"ExtraArgs\": {\n \"Kubelet\": []\n },\n \"GPUArgs\": {\n \"CUDA\": {\n \"Name\": \"\",\n \"Version\": \"\"\n },\n \"CUDNN\": {\n \"DevName\": \"\",\n \"DocName\": \"\",\n \"Name\": \"\",\n \"Version\": \"\"\n },\n \"CustomDriver\": {\n \"Address\": \"\"\n },\n \"Driver\": {\n \"Name\": \"\",\n \"Version\": \"\"\n },\n \"MIGEnable\": false\n },\n \"ImageId\": \"\",\n \"Labels\": [],\n \"LaunchConfigurationId\": \"asc-xxx\",\n \"LifeState\": \"normal\",\n \"MaxNodesNum\": 3,\n \"MinNodesNum\": 0,\n \"Name\": \"xxx\",\n \"NodeCountSummary\": {\n \"AutoscalingAdded\": {\n \"Initializing\": 0,\n \"Joining\": 0,\n \"Normal\": 2,\n \"Total\": 2\n },\n \"ManuallyAdded\": {\n \"Initializing\": 0,\n \"Joining\": 0,\n \"Normal\": 1,\n \"Total\": 1\n }\n },\n \"NodePoolId\": \"np-xxx\",\n \"NodePoolOs\": \"tlinux_xxx\",\n \"OsCustomizeType\": \"GENERAL\",\n \"PreStartUserScript\": \"#!/bin/sh\\ntouch /tmp/before\",\n \"RuntimeConfig\": {\n \"RuntimeType\": \"containerd\",\n \"RuntimeVersion\": \"1.6.9\"\n },\n \"Tags\": null,\n \"Taints\": [],\n \"Unschedulable\": 0,\n \"UserScript\": \"#!/bin/sh\\ntouch /tmp/after\"\n },\n \"RequestId\": \"68b7b080-7c57-4869-bc54-a518b4902b2d\"\n }\n}",
|
726
726
|
"title": "查询节点池详情"
|
727
727
|
}
|
728
728
|
],
|
@@ -730,7 +730,7 @@
|
|
730
730
|
{
|
731
731
|
"document": "查询节点池列表",
|
732
732
|
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterNodePools\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-xxxxxx\"\n}",
|
733
|
-
"output": "{\n \"Response\": {\n \"NodePoolSet\": [\n {\n \"AutoscalingGroupId\": \"asg-xxx\",\n \"AutoscalingGroupStatus\": \"disabled\",\n \"ClusterInstanceId\": \"cls-xxxx\",\n \"DataDisks\": null,\n \"DeletionProtection\": true,\n \"DesiredNodesNum\": 2,\n \"DesiredPodNum\": 64,\n \"DockerGraphPath\": \"\",\n \"ExtraArgs\": {\n \"Kubelet\": []\n },\n \"GPUArgs\": {\n \"CUDA\": {\n \"Name\": \"\",\n \"Version\": \"\"\n },\n \"CUDNN\": {\n \"DevName\": \"\",\n \"DocName\": \"\",\n \"Name\": \"\",\n \"Version\": \"\"\n },\n \"CustomDriver\": {\n \"Address\": \"\"\n },\n \"Driver\": {\n \"Name\": \"\",\n \"Version\": \"\"\n },\n \"MIGEnable\": false\n },\n \"ImageId\": \"\",\n \"Labels\": [],\n \"LaunchConfigurationId\": \"asc-xxx\",\n \"LifeState\": \"normal\",\n \"MaxNodesNum\": 3,\n \"MinNodesNum\": 0,\n \"Name\": \"xxx\",\n \"NodeCountSummary\": {\n \"AutoscalingAdded\": {\n \"Initializing\": 0,\n \"Joining\": 0,\n \"Normal\": 2,\n \"Total\": 2\n },\n \"ManuallyAdded\": {\n \"Initializing\": 0,\n \"Joining\": 0,\n \"Normal\": 1,\n \"Total\": 1\n }\n },\n \"NodePoolId\": \"np-xxx\",\n \"NodePoolOs\": \"tlinux_xxx\",\n \"OsCustomizeType\": \"GENERAL\",\n \"PreStartUserScript\": \"#!/bin/sh\\ntouch /tmp/before\",\n \"Tags\": null,\n \"Taints\": [],\n \"Unschedulable\": 0,\n \"UserScript\": \"#!/bin/sh\\ntouch /tmp/after\"\n }\n ],\n \"RequestId\": \"efb810cb-d5a2-4147-88ec-cd1e28c5202e\",\n \"TotalCount\": 1\n }\n}",
|
733
|
+
"output": "{\n \"Response\": {\n \"NodePoolSet\": [\n {\n \"AutoscalingGroupId\": \"asg-xxx\",\n \"AutoscalingGroupStatus\": \"disabled\",\n \"ClusterInstanceId\": \"cls-xxxx\",\n \"DataDisks\": null,\n \"DeletionProtection\": true,\n \"DesiredNodesNum\": 2,\n \"DesiredPodNum\": 64,\n \"DockerGraphPath\": \"\",\n \"ExtraArgs\": {\n \"Kubelet\": []\n },\n \"GPUArgs\": {\n \"CUDA\": {\n \"Name\": \"\",\n \"Version\": \"\"\n },\n \"CUDNN\": {\n \"DevName\": \"\",\n \"DocName\": \"\",\n \"Name\": \"\",\n \"Version\": \"\"\n },\n \"CustomDriver\": {\n \"Address\": \"\"\n },\n \"Driver\": {\n \"Name\": \"\",\n \"Version\": \"\"\n },\n \"MIGEnable\": false\n },\n \"ImageId\": \"\",\n \"Labels\": [],\n \"LaunchConfigurationId\": \"asc-xxx\",\n \"LifeState\": \"normal\",\n \"MaxNodesNum\": 3,\n \"MinNodesNum\": 0,\n \"Name\": \"xxx\",\n \"NodeCountSummary\": {\n \"AutoscalingAdded\": {\n \"Initializing\": 0,\n \"Joining\": 0,\n \"Normal\": 2,\n \"Total\": 2\n },\n \"ManuallyAdded\": {\n \"Initializing\": 0,\n \"Joining\": 0,\n \"Normal\": 1,\n \"Total\": 1\n }\n },\n \"NodePoolId\": \"np-xxx\",\n \"NodePoolOs\": \"tlinux_xxx\",\n \"OsCustomizeType\": \"GENERAL\",\n \"PreStartUserScript\": \"#!/bin/sh\\ntouch /tmp/before\",\n \"RuntimeConfig\": {\n \"RuntimeType\": \"containerd\",\n \"RuntimeVersion\": \"1.6.x\"\n },\n \"Tags\": null,\n \"Taints\": [],\n \"Unschedulable\": 0,\n \"UserScript\": \"#!/bin/sh\\ntouch /tmp/after\"\n }\n ],\n \"RequestId\": \"efb810cb-d5a2-4147-88ec-cd1e28c5202e\",\n \"TotalCount\": 1\n }\n}",
|
734
734
|
"title": "查询节点池列表"
|
735
735
|
}
|
736
736
|
],
|
@@ -485,58 +485,6 @@ def doDescribeMQTTProductSKUList(args, parsed_globals):
|
|
485
485
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
486
486
|
|
487
487
|
|
488
|
-
def doDescribeTopicStatsOp(args, parsed_globals):
|
489
|
-
g_param = parse_global_arg(parsed_globals)
|
490
|
-
|
491
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
492
|
-
cred = credential.CVMRoleCredential()
|
493
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
494
|
-
cred = credential.STSAssumeRoleCredential(
|
495
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
496
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
497
|
-
)
|
498
|
-
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):
|
499
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
500
|
-
else:
|
501
|
-
cred = credential.Credential(
|
502
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
503
|
-
)
|
504
|
-
http_profile = HttpProfile(
|
505
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
506
|
-
reqMethod="POST",
|
507
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
508
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
509
|
-
)
|
510
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
511
|
-
if g_param[OptionsDefine.Language]:
|
512
|
-
profile.language = g_param[OptionsDefine.Language]
|
513
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
514
|
-
client = mod.TrocketClient(cred, g_param[OptionsDefine.Region], profile)
|
515
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
516
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
517
|
-
model = models.DescribeTopicStatsOpRequest()
|
518
|
-
model.from_json_string(json.dumps(args))
|
519
|
-
start_time = time.time()
|
520
|
-
while True:
|
521
|
-
rsp = client.DescribeTopicStatsOp(model)
|
522
|
-
result = rsp.to_json_string()
|
523
|
-
try:
|
524
|
-
json_obj = json.loads(result)
|
525
|
-
except TypeError as e:
|
526
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
527
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
528
|
-
break
|
529
|
-
cur_time = time.time()
|
530
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
531
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
532
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
533
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
534
|
-
else:
|
535
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
536
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
537
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
538
|
-
|
539
|
-
|
540
488
|
def doDescribeMQTTUserList(args, parsed_globals):
|
541
489
|
g_param = parse_global_arg(parsed_globals)
|
542
490
|
|
@@ -1109,7 +1057,7 @@ def doModifyMQTTInstance(args, parsed_globals):
|
|
1109
1057
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1110
1058
|
|
1111
1059
|
|
1112
|
-
def
|
1060
|
+
def doImportSourceClusterTopics(args, parsed_globals):
|
1113
1061
|
g_param = parse_global_arg(parsed_globals)
|
1114
1062
|
|
1115
1063
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1138,11 +1086,11 @@ def doDescribeMQTTTopic(args, parsed_globals):
|
|
1138
1086
|
client = mod.TrocketClient(cred, g_param[OptionsDefine.Region], profile)
|
1139
1087
|
client._sdkVersion += ("_CLI_" + __version__)
|
1140
1088
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1141
|
-
model = models.
|
1089
|
+
model = models.ImportSourceClusterTopicsRequest()
|
1142
1090
|
model.from_json_string(json.dumps(args))
|
1143
1091
|
start_time = time.time()
|
1144
1092
|
while True:
|
1145
|
-
rsp = client.
|
1093
|
+
rsp = client.ImportSourceClusterTopics(model)
|
1146
1094
|
result = rsp.to_json_string()
|
1147
1095
|
try:
|
1148
1096
|
json_obj = json.loads(result)
|
@@ -1837,7 +1785,7 @@ def doDescribeMQTTInstanceList(args, parsed_globals):
|
|
1837
1785
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1838
1786
|
|
1839
1787
|
|
1840
|
-
def
|
1788
|
+
def doDescribeMQTTTopic(args, parsed_globals):
|
1841
1789
|
g_param = parse_global_arg(parsed_globals)
|
1842
1790
|
|
1843
1791
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1866,11 +1814,11 @@ def doImportSourceClusterTopics(args, parsed_globals):
|
|
1866
1814
|
client = mod.TrocketClient(cred, g_param[OptionsDefine.Region], profile)
|
1867
1815
|
client._sdkVersion += ("_CLI_" + __version__)
|
1868
1816
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1869
|
-
model = models.
|
1817
|
+
model = models.DescribeMQTTTopicRequest()
|
1870
1818
|
model.from_json_string(json.dumps(args))
|
1871
1819
|
start_time = time.time()
|
1872
1820
|
while True:
|
1873
|
-
rsp = client.
|
1821
|
+
rsp = client.DescribeMQTTTopic(model)
|
1874
1822
|
result = rsp.to_json_string()
|
1875
1823
|
try:
|
1876
1824
|
json_obj = json.loads(result)
|
@@ -2481,7 +2429,6 @@ ACTION_MAP = {
|
|
2481
2429
|
"DeleteInstance": doDeleteInstance,
|
2482
2430
|
"CreateConsumerGroup": doCreateConsumerGroup,
|
2483
2431
|
"DescribeMQTTProductSKUList": doDescribeMQTTProductSKUList,
|
2484
|
-
"DescribeTopicStatsOp": doDescribeTopicStatsOp,
|
2485
2432
|
"DescribeMQTTUserList": doDescribeMQTTUserList,
|
2486
2433
|
"DeleteMQTTInsPublicEndpoint": doDeleteMQTTInsPublicEndpoint,
|
2487
2434
|
"DescribeRoleList": doDescribeRoleList,
|
@@ -2493,7 +2440,7 @@ ACTION_MAP = {
|
|
2493
2440
|
"DescribeMQTTMessage": doDescribeMQTTMessage,
|
2494
2441
|
"ImportSourceClusterConsumerGroups": doImportSourceClusterConsumerGroups,
|
2495
2442
|
"ModifyMQTTInstance": doModifyMQTTInstance,
|
2496
|
-
"
|
2443
|
+
"ImportSourceClusterTopics": doImportSourceClusterTopics,
|
2497
2444
|
"ModifyMQTTInsPublicEndpoint": doModifyMQTTInsPublicEndpoint,
|
2498
2445
|
"DescribeConsumerGroup": doDescribeConsumerGroup,
|
2499
2446
|
"CreateTopic": doCreateTopic,
|
@@ -2507,7 +2454,7 @@ ACTION_MAP = {
|
|
2507
2454
|
"DescribeMQTTInstanceCert": doDescribeMQTTInstanceCert,
|
2508
2455
|
"ModifyMQTTInstanceCertBinding": doModifyMQTTInstanceCertBinding,
|
2509
2456
|
"DescribeMQTTInstanceList": doDescribeMQTTInstanceList,
|
2510
|
-
"
|
2457
|
+
"DescribeMQTTTopic": doDescribeMQTTTopic,
|
2511
2458
|
"CreateMQTTInstance": doCreateMQTTInstance,
|
2512
2459
|
"DescribeInstanceList": doDescribeInstanceList,
|
2513
2460
|
"DescribeMQTTInsPublicEndpoints": doDescribeMQTTInsPublicEndpoints,
|
@@ -245,13 +245,6 @@
|
|
245
245
|
"output": "DescribeTopicListResponse",
|
246
246
|
"status": "online"
|
247
247
|
},
|
248
|
-
"DescribeTopicStatsOp": {
|
249
|
-
"document": "运营端查询topicStata",
|
250
|
-
"input": "DescribeTopicStatsOpRequest",
|
251
|
-
"name": "运营端查询topicStata",
|
252
|
-
"output": "DescribeTopicStatsOpResponse",
|
253
|
-
"status": "online"
|
254
|
-
},
|
255
248
|
"ImportSourceClusterConsumerGroups": {
|
256
249
|
"document": "导入消费者组列表",
|
257
250
|
"input": "ImportSourceClusterConsumerGroupsRequest",
|
@@ -3279,33 +3272,6 @@
|
|
3279
3272
|
],
|
3280
3273
|
"type": "object"
|
3281
3274
|
},
|
3282
|
-
"DescribeTopicStatsOpRequest": {
|
3283
|
-
"document": "DescribeTopicStatsOp请求参数结构体",
|
3284
|
-
"members": [
|
3285
|
-
{
|
3286
|
-
"disabled": false,
|
3287
|
-
"document": "主题",
|
3288
|
-
"example": "test",
|
3289
|
-
"member": "string",
|
3290
|
-
"name": "Topic",
|
3291
|
-
"required": true,
|
3292
|
-
"type": "string"
|
3293
|
-
}
|
3294
|
-
],
|
3295
|
-
"type": "object"
|
3296
|
-
},
|
3297
|
-
"DescribeTopicStatsOpResponse": {
|
3298
|
-
"document": "DescribeTopicStatsOp返回参数结构体",
|
3299
|
-
"members": [
|
3300
|
-
{
|
3301
|
-
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3302
|
-
"member": "string",
|
3303
|
-
"name": "RequestId",
|
3304
|
-
"type": "string"
|
3305
|
-
}
|
3306
|
-
],
|
3307
|
-
"type": "object"
|
3308
|
-
},
|
3309
3275
|
"Endpoint": {
|
3310
3276
|
"document": "接入点信息",
|
3311
3277
|
"members": [
|
@@ -298,14 +298,6 @@
|
|
298
298
|
"title": "查询主题列表"
|
299
299
|
}
|
300
300
|
],
|
301
|
-
"DescribeTopicStatsOp": [
|
302
|
-
{
|
303
|
-
"document": "1",
|
304
|
-
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopicStats\n<公共请求参数>\n\n{\n \"Topic\": \"MQ_INST_rocketmq3w4a73aw3bkn_STONE_MQ_ONLINE%TOPIC_BYTEDANCE_INFO\"\n}",
|
305
|
-
"output": "{\n \"Code\": 20000,\n \"DataSources\": 0,\n \"RequestId\": \"915f901a-257b-4a13-8ca5-56e5e09189d9\",\n \"Response\": {\n \"RequestId\": \"915f901a-257b-4a13-8ca5-56e5e09389d9\"\n }\n}",
|
306
|
-
"title": "1"
|
307
|
-
}
|
308
|
-
],
|
309
301
|
"ImportSourceClusterConsumerGroups": [
|
310
302
|
{
|
311
303
|
"document": "",
|