From c6988cca06e8418d9416be1bb12cac86497c4234 Mon Sep 17 00:00:00 2001 From: tencentcloudapi Date: Wed, 25 Sep 2024 04:08:49 +0800 Subject: [PATCH] release 3.0.1199.1 --- CHANGELOG.md | 334 +++ SERVICE_CHANGELOG.md | 561 +++- products.md | 36 +- pyproject.toml | 4 +- tccli/__init__.py | 2 +- tccli/examples/ccc/v20200210/CreateAICall.md | 28 + .../examples/ims/v20201229/ImageModeration.md | 8 +- .../postgres/v20170312/DescribeDBInstances.md | 12 +- .../v20170312/DescribeDedicatedClusters.md | 91 + .../DescribeAssetImageRegistryAssetStatus.md | 7 +- .../DescribeAssetImageRegistrySummary.md | 3 +- .../v20201101/DescribeAssetImageScanTask.md | 7 +- .../tcss/v20201101/DescribeAssetSummary.md | 5 + .../v20201101/DescribeImageAuthorizedInfo.md | 10 + .../vpc/v20170312/AllocateAddresses.md | 24 + tccli/services/ccc/ccc_client.py | 61 +- tccli/services/ccc/v20200210/api.json | 188 ++ tccli/services/ccc/v20200210/examples.json | 8 + tccli/services/clb/v20180317/api.json | 20 +- tccli/services/cme/v20191029/api.json | 26 +- tccli/services/cynosdb/cynosdb_client.py | 53 - tccli/services/cynosdb/v20190107/api.json | 92 - .../services/cynosdb/v20190107/examples.json | 8 - tccli/services/emr/v20190103/api.json | 8 +- tccli/services/faceid/v20180301/api.json | 9 + tccli/services/iecp/iecp_client.py | 1656 ++--------- tccli/services/iecp/v20210914/api.json | 2472 ++--------------- tccli/services/iecp/v20210914/examples.json | 166 -- tccli/services/ims/v20201229/api.json | 18 +- tccli/services/ims/v20201229/examples.json | 4 +- tccli/services/monitor/monitor_client.py | 122 +- tccli/services/monitor/v20180724/api.json | 85 - .../services/monitor/v20180724/examples.json | 16 - tccli/services/ocr/v20181119/api.json | 6 +- tccli/services/postgres/postgres_client.py | 53 + tccli/services/postgres/v20170312/api.json | 191 ++ .../services/postgres/v20170312/examples.json | 18 +- tccli/services/rce/v20201103/api.json | 25 +- tccli/services/tcss/v20201101/api.json | 202 +- tccli/services/tcss/v20201101/examples.json | 10 +- tccli/services/teo/v20220901/api.json | 50 + tccli/services/tke/v20180525/api.json | 18 +- tccli/services/tke/v20220501/api.json | 10 +- tccli/services/tse/v20201207/api.json | 22 + tccli/services/tsf/tsf_client.py | 61 +- tccli/services/tsf/v20180326/api.json | 34 - tccli/services/tsf/v20180326/examples.json | 8 - tccli/services/vpc/v20170312/examples.json | 6 + tccli/services/wedata/v20210820/api.json | 11 + 49 files changed, 2459 insertions(+), 4410 deletions(-) create mode 100644 tccli/examples/ccc/v20200210/CreateAICall.md create mode 100644 tccli/examples/postgres/v20170312/DescribeDedicatedClusters.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 555d3fb9ee..312f04b3ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,337 @@ +# Release 3.0.1199.1 + +## 云联络中心(ccc) 版本:2020-02-10 + +### 第 74 次发布 + +发布时间:2024-09-24 13:17:26 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [CreateAICall](https://cloud.tencent.com/document/api/679/111211) + + + +## 负载均衡(clb) 版本:2018-03-17 + +### 第 111 次发布 + +发布时间:2024-09-25 01:12:46 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateListener](https://cloud.tencent.com/document/api/214/30693) + + * 新增入参:H2cSwitch, SslCloseSwitch + + + + +## 多媒体创作引擎(cme) 版本:2019-10-29 + +### 第 59 次发布 + +发布时间:2024-09-25 01:13:30 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [SlotInfo](https://cloud.tencent.com/document/api/1156/40360#SlotInfo) + + * 新增成员:StartTime + + + + +## TDSQL-C MySQL 版(cynosdb) 版本:2019-01-07 + +### 第 104 次发布 + +发布时间:2024-09-25 01:15:47 + +本次发布包含了以下内容: + +改善已有的文档。 + +**删除接口**: + +* DescribeRollbackTimeValidity + + + +## 人脸核身(faceid) 版本:2018-03-01 + +### 第 80 次发布 + +发布时间:2024-09-25 01:20:56 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [GetEidTokenConfig](https://cloud.tencent.com/document/api/1007/41958#GetEidTokenConfig) + + * 新增成员:Speed + + + + +## 物联网边缘计算平台(iecp) 版本:2021-09-14 + +### 第 9 次发布 + +发布时间:2024-09-25 01:22:07 + +本次发布包含了以下内容: + +改善已有的文档。 + +**删除接口**: + +* ApplyMarketComponent +* CreateApplicationVisualization +* CreateEdgeUnitApplicationVisualization +* CreateEdgeUnitApplicationYaml +* DeleteApplications +* DeleteEdgeUnitApplications +* DescribeApplicationVisualization +* DescribeApplicationYaml +* DescribeApplicationYamlError +* DescribeApplications +* DescribeEdgeUnitApplicationEvents +* DescribeEdgeUnitApplicationLogs +* DescribeEdgeUnitApplicationPodContainers +* DescribeEdgeUnitApplicationPods +* DescribeEdgeUnitApplicationVisualization +* DescribeEdgeUnitApplicationYaml +* DescribeEdgeUnitApplicationYamlError +* DescribeEdgeUnitCloud +* ModifyApplicationBasicInfo +* ModifyApplicationVisualization + +**删除数据结构**: + +* ApplicationTemplate +* ContainerStatus +* EdgeUnitStatisticItem +* Event +* PodStatus + + + +## 腾讯云可观测平台(monitor) 版本:2018-07-24 + +### 第 121 次发布 + +发布时间:2024-09-25 01:26:32 + +本次发布包含了以下内容: + +改善已有的文档。 + +**删除接口**: + +* CheckIsPrometheusNewUser +* DescribePrometheusRecordRuleYaml + + + +## 云数据库 PostgreSQL(postgres) 版本:2017-03-12 + +### 第 46 次发布 + +发布时间:2024-09-25 01:28:57 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeDedicatedClusters](https://cloud.tencent.com/document/api/409/111242) + +修改接口: + +* [CreateReadOnlyDBInstance](https://cloud.tencent.com/document/api/409/52602) + + * 新增入参:DedicatedClusterId + + +新增数据结构: + +* [DedicatedCluster](https://cloud.tencent.com/document/api/409/16778#DedicatedCluster) + +修改数据结构: + +* [DBNode](https://cloud.tencent.com/document/api/409/16778#DBNode) + + * 新增成员:DedicatedClusterId + + + + +## 全栈式风控引擎(rce) 版本:2020-11-03 + +### 第 14 次发布 + +发布时间:2024-09-25 01:29:30 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [DataAuthorizationInfo](https://cloud.tencent.com/document/api/1343/52566#DataAuthorizationInfo) + + * 新增成员:IsOrderHandling + + * **修改成员**:IsPersonalData + + + + +## 容器安全服务(tcss) 版本:2020-11-01 + +### 第 66 次发布 + +发布时间:2024-09-25 01:32:38 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeAssetImageRegistryAssetStatus](https://cloud.tencent.com/document/api/1285/65502) + + * 新增出参:LatestSyncSuccessTime + +* [DescribeAssetImageRegistrySummary](https://cloud.tencent.com/document/api/1285/65494) + + * 新增出参:UnScannedImageCnt + +* [DescribeAssetImageScanSetting](https://cloud.tencent.com/document/api/1285/65487) + + * 新增出参:LastScanTime, ScanResult + +* [DescribeAssetImageScanTask](https://cloud.tencent.com/document/api/1285/65485) + + * 新增出参:LastScanTime, Status, SubStatus + +* [DescribeAssetSummary](https://cloud.tencent.com/document/api/1285/65477) + + * 新增出参:UnScannedImageCnt + +* [DescribeImageAuthorizedInfo](https://cloud.tencent.com/document/api/1285/65473) + + * 新增出参:ImageScanInquireInfo, RepeatImageIdCnt + +* [DescribeImageRegistryTimingScanTask](https://cloud.tencent.com/document/api/1285/65472) + + * 新增出参:LastScanTime, ScanResult + + +新增数据结构: + +* [ImageScanInquireInfo](https://cloud.tencent.com/document/api/1285/65614#ImageScanInquireInfo) + + + +## 边缘安全加速平台(teo) 版本:2022-09-01 + +### 第 85 次发布 + +发布时间:2024-09-25 01:34:27 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增数据结构: + +* [L4ProxyRemoteAuth](https://cloud.tencent.com/document/api/1552/80721#L4ProxyRemoteAuth) + +修改数据结构: + +* [L4ProxyRule](https://cloud.tencent.com/document/api/1552/80721#L4ProxyRule) + + * 新增成员:RemoteAuth + + + + +## 边缘安全加速平台(teo) 版本:2022-01-06 + + + +## 微服务引擎(tse) 版本:2020-12-07 + +### 第 77 次发布 + +发布时间:2024-09-25 01:36:42 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [RuleFilter](https://cloud.tencent.com/document/api/1364/54942#RuleFilter) + + * 新增成员:Operator, Name + + + + +## 微服务平台 TSF(tsf) 版本:2018-03-26 + +### 第 114 次发布 + +发布时间:2024-09-25 01:37:11 + +本次发布包含了以下内容: + +改善已有的文档。 + +**删除接口**: + +* DescribeApplicationBusinessLogConfig + + + +## 数据开发治理平台 WeData(wedata) 版本:2021-08-20 + +### 第 107 次发布 + +发布时间:2024-09-25 01:40:14 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [TaskOpsDto](https://cloud.tencent.com/document/api/1267/76336#TaskOpsDto) + + * 新增成员:NewParentTaskInfos + + + + # Release 3.0.1198.1 ## API 网关(apigateway) 版本:2018-08-08 diff --git a/SERVICE_CHANGELOG.md b/SERVICE_CHANGELOG.md index a8f496266d..bc29d889c9 100644 --- a/SERVICE_CHANGELOG.md +++ b/SERVICE_CHANGELOG.md @@ -1,10 +1,10 @@ # 本版本更新包含以下内容: -## API 网关(apigateway) 版本:2018-08-08 +## 云联络中心(ccc) 版本:2020-02-10 -### 第 49 次发布 +### 第 74 次发布 -发布时间:2024-09-24 01:08:10 +发布时间:2024-09-24 13:17:26 本次发布包含了以下内容: @@ -12,15 +12,34 @@ 新增接口: -* [DescribeExclusiveInstanceRegions](https://cloud.tencent.com/document/api/628/111203) +* [CreateAICall](https://cloud.tencent.com/document/api/679/111211) -## 云服务器(cvm) 版本:2017-03-12 +## 负载均衡(clb) 版本:2018-03-17 -### 第 130 次发布 +### 第 111 次发布 -发布时间:2024-09-24 01:13:45 +发布时间:2024-09-25 01:12:46 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateListener](https://cloud.tencent.com/document/api/214/30693) + + * 新增入参:H2cSwitch, SslCloseSwitch + + + + +## 多媒体创作引擎(cme) 版本:2019-10-29 + +### 第 59 次发布 + +发布时间:2024-09-25 01:13:30 本次发布包含了以下内容: @@ -28,79 +47,168 @@ 修改数据结构: -* [RepairTaskInfo](https://cloud.tencent.com/document/api/213/15753#RepairTaskInfo) +* [SlotInfo](https://cloud.tencent.com/document/api/1156/40360#SlotInfo) - * **修改成员**:TaskTypeName, DeviceStatus, OperateStatus, VpcId, VpcName, SubnetId, SubnetName, WanIp, LanIp, Product, TaskSubType, AuthType, AuthSource + * 新增成员:StartTime -## 弹性 MapReduce(emr) 版本:2019-01-03 +## TDSQL-C MySQL 版(cynosdb) 版本:2019-01-07 -### 第 77 次发布 +### 第 104 次发布 -发布时间:2024-09-24 01:18:41 +发布时间:2024-09-25 01:15:47 本次发布包含了以下内容: 改善已有的文档。 -新增接口: +**删除接口**: -* [DescribeGlobalConfig](https://cloud.tencent.com/document/api/589/111205) -* [ModifyGlobalConfig](https://cloud.tencent.com/document/api/589/111204) +* DescribeRollbackTimeValidity -新增数据结构: -* [CapacityGlobalConfig](https://cloud.tencent.com/document/api/589/33981#CapacityGlobalConfig) -* [DefaultSetting](https://cloud.tencent.com/document/api/589/33981#DefaultSetting) -* [FairGlobalConfig](https://cloud.tencent.com/document/api/589/33981#FairGlobalConfig) + +## 人脸核身(faceid) 版本:2018-03-01 + +### 第 80 次发布 + +发布时间:2024-09-25 01:20:56 + +本次发布包含了以下内容: + +改善已有的文档。 修改数据结构: -* [DiskSpecInfo](https://cloud.tencent.com/document/api/589/33981#DiskSpecInfo) +* [GetEidTokenConfig](https://cloud.tencent.com/document/api/1007/41958#GetEidTokenConfig) - * 新增成员:ExtraPerformance + * 新增成员:Speed -* [MultiDiskMC](https://cloud.tencent.com/document/api/589/33981#MultiDiskMC) - * 新增成员:Size -* [NodeHardwareInfo](https://cloud.tencent.com/document/api/589/33981#NodeHardwareInfo) - * 新增成员:SharedClusterId, SharedClusterIdDesc +## 物联网边缘计算平台(iecp) 版本:2021-09-14 +### 第 9 次发布 +发布时间:2024-09-25 01:22:07 +本次发布包含了以下内容: -## 腾讯电子签企业版(ess) 版本:2020-11-11 +改善已有的文档。 + +**删除接口**: + +* ApplyMarketComponent +* CreateApplicationVisualization +* CreateEdgeUnitApplicationVisualization +* CreateEdgeUnitApplicationYaml +* DeleteApplications +* DeleteEdgeUnitApplications +* DescribeApplicationVisualization +* DescribeApplicationYaml +* DescribeApplicationYamlError +* DescribeApplications +* DescribeEdgeUnitApplicationEvents +* DescribeEdgeUnitApplicationLogs +* DescribeEdgeUnitApplicationPodContainers +* DescribeEdgeUnitApplicationPods +* DescribeEdgeUnitApplicationVisualization +* DescribeEdgeUnitApplicationYaml +* DescribeEdgeUnitApplicationYamlError +* DescribeEdgeUnitCloud +* ModifyApplicationBasicInfo +* ModifyApplicationVisualization + +**删除数据结构**: + +* ApplicationTemplate +* ContainerStatus +* EdgeUnitStatisticItem +* Event +* PodStatus + + + +## 腾讯云可观测平台(monitor) 版本:2018-07-24 + +### 第 121 次发布 + +发布时间:2024-09-25 01:26:32 + +本次发布包含了以下内容: + +改善已有的文档。 + +**删除接口**: + +* CheckIsPrometheusNewUser +* DescribePrometheusRecordRuleYaml -### 第 188 次发布 -发布时间:2024-09-24 01:19:13 + +## 云数据库 PostgreSQL(postgres) 版本:2017-03-12 + +### 第 46 次发布 + +发布时间:2024-09-25 01:28:57 本次发布包含了以下内容: 改善已有的文档。 +新增接口: + +* [DescribeDedicatedClusters](https://cloud.tencent.com/document/api/409/111242) + 修改接口: -* [CreateBatchQuickSignUrl](https://cloud.tencent.com/document/api/1323/101058) +* [CreateReadOnlyDBInstance](https://cloud.tencent.com/document/api/409/52602) - * 新增入参:FlowBatchUrlInfo + * 新增入参:DedicatedClusterId -* [CreatePrepareFlow](https://cloud.tencent.com/document/api/1323/83412) - * 新增入参:FlowDisplayType +新增数据结构: +* [DedicatedCluster](https://cloud.tencent.com/document/api/409/16778#DedicatedCluster) +修改数据结构: +* [DBNode](https://cloud.tencent.com/document/api/409/16778#DBNode) -## 腾讯电子签(基础版)(essbasic) 版本:2021-05-26 + * 新增成员:DedicatedClusterId -### 第 184 次发布 -发布时间:2024-09-24 01:19:36 + + +## 全栈式风控引擎(rce) 版本:2020-11-03 + +### 第 14 次发布 + +发布时间:2024-09-25 01:29:30 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [DataAuthorizationInfo](https://cloud.tencent.com/document/api/1343/52566#DataAuthorizationInfo) + + * 新增成员:IsOrderHandling + + * **修改成员**:IsPersonalData + + + + +## 容器安全服务(tcss) 版本:2020-11-01 + +### 第 66 次发布 + +发布时间:2024-09-25 01:32:38 本次发布包含了以下内容: @@ -108,29 +216,73 @@ 修改接口: -* [ChannelCreateBatchQuickSignUrl](https://cloud.tencent.com/document/api/1420/101059) +* [DescribeAssetImageRegistryAssetStatus](https://cloud.tencent.com/document/api/1285/65502) + + * 新增出参:LatestSyncSuccessTime + +* [DescribeAssetImageRegistrySummary](https://cloud.tencent.com/document/api/1285/65494) + + * 新增出参:UnScannedImageCnt + +* [DescribeAssetImageScanSetting](https://cloud.tencent.com/document/api/1285/65487) + + * 新增出参:LastScanTime, ScanResult + +* [DescribeAssetImageScanTask](https://cloud.tencent.com/document/api/1285/65485) + + * 新增出参:LastScanTime, Status, SubStatus + +* [DescribeAssetSummary](https://cloud.tencent.com/document/api/1285/65477) + + * 新增出参:UnScannedImageCnt + +* [DescribeImageAuthorizedInfo](https://cloud.tencent.com/document/api/1285/65473) + + * 新增出参:ImageScanInquireInfo, RepeatImageIdCnt + +* [DescribeImageRegistryTimingScanTask](https://cloud.tencent.com/document/api/1285/65472) + + * 新增出参:LastScanTime, ScanResult - * 新增入参:FlowBatchUrlInfo +新增数据结构: + +* [ImageScanInquireInfo](https://cloud.tencent.com/document/api/1285/65614#ImageScanInquireInfo) + + + +## 边缘安全加速平台(teo) 版本:2022-09-01 + +### 第 85 次发布 + +发布时间:2024-09-25 01:34:27 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增数据结构: + +* [L4ProxyRemoteAuth](https://cloud.tencent.com/document/api/1552/80721#L4ProxyRemoteAuth) 修改数据结构: -* [BaseFlowInfo](https://cloud.tencent.com/document/api/1420/61525#BaseFlowInfo) +* [L4ProxyRule](https://cloud.tencent.com/document/api/1552/80721#L4ProxyRule) - * 新增成员:FlowDisplayType + * 新增成员:RemoteAuth -## 腾讯电子签(基础版)(essbasic) 版本:2020-12-22 +## 边缘安全加速平台(teo) 版本:2022-01-06 -## 人脸核身(faceid) 版本:2018-03-01 +## 微服务引擎(tse) 版本:2020-12-07 -### 第 79 次发布 +### 第 77 次发布 -发布时间:2024-09-24 01:19:58 +发布时间:2024-09-25 01:36:42 本次发布包含了以下内容: @@ -138,38 +290,45 @@ 修改数据结构: -* [RuleIdConfig](https://cloud.tencent.com/document/api/1007/41958#RuleIdConfig) +* [RuleFilter](https://cloud.tencent.com/document/api/1364/54942#RuleFilter) - * 新增成员:Speed + * 新增成员:Operator, Name -## 云数据库 PostgreSQL(postgres) 版本:2017-03-12 +## 微服务平台 TSF(tsf) 版本:2018-03-26 -### 第 45 次发布 +### 第 114 次发布 -发布时间:2024-09-24 01:27:27 +发布时间:2024-09-25 01:37:11 本次发布包含了以下内容: 改善已有的文档。 -新增接口: +**删除接口**: -* [CreateDatabase](https://cloud.tencent.com/document/api/409/111207) -* [ModifyDatabaseOwner](https://cloud.tencent.com/document/api/409/111206) +* DescribeApplicationBusinessLogConfig -修改接口: -* [DescribeDatabases](https://cloud.tencent.com/document/api/409/43353) - * 新增出参:Databases +## 数据开发治理平台 WeData(wedata) 版本:2021-08-20 +### 第 107 次发布 -新增数据结构: +发布时间:2024-09-25 01:40:14 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [TaskOpsDto](https://cloud.tencent.com/document/api/1267/76336#TaskOpsDto) + + * 新增成员:NewParentTaskInfos -* [Database](https://cloud.tencent.com/document/api/409/16778#Database) @@ -3790,7 +3949,7 @@ 新增接口: -* [[DescribeExclusiveInstanceRegions](https://cloud.tencent.com/document/api/628/111203)](https://cloud.tencent.com/document/api/#/#) +* [DescribeExclusiveInstanceRegions](https://cloud.tencent.com/document/api/628/111203) ### 第 48 次发布 @@ -15853,6 +16012,18 @@ ## 云联络中心(ccc) 版本:2020-02-10 +### 第 74 次发布 + +发布时间:2024-09-24 13:17:26 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[CreateAICall](https://cloud.tencent.com/document/api/679/111211)](https://cloud.tencent.com/document/api/#/#) + ### 第 73 次发布 发布时间:2024-08-22 01:10:57 @@ -30249,6 +30420,21 @@ ## 负载均衡(clb) 版本:2018-03-17 +### 第 111 次发布 + +发布时间:2024-09-25 01:12:46 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateListener](https://cloud.tencent.com/document/api/214/30693) + + * 新增入参:H2cSwitch, SslCloseSwitch + + ### 第 110 次发布 发布时间:2024-09-03 01:25:28 @@ -35165,6 +35351,21 @@ ## 多媒体创作引擎(cme) 版本:2019-10-29 +### 第 59 次发布 + +发布时间:2024-09-25 01:13:30 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [SlotInfo](https://cloud.tencent.com/document/api/1156/40360#SlotInfo) + + * 新增成员:StartTime + + ### 第 58 次发布 发布时间:2024-07-29 01:23:21 @@ -47058,6 +47259,18 @@ ## TDSQL-C MySQL 版(cynosdb) 版本:2019-01-07 +### 第 104 次发布 + +发布时间:2024-09-25 01:15:47 + +本次发布包含了以下内容: + +改善已有的文档。 + +**删除接口**: + +* DescribeRollbackTimeValidity + ### 第 103 次发布 发布时间:2024-09-05 01:24:31 @@ -62288,14 +62501,14 @@ 新增接口: -* [[DescribeGlobalConfig](https://cloud.tencent.com/document/api/589/111205)](https://cloud.tencent.com/document/api/#/#) -* [[ModifyGlobalConfig](https://cloud.tencent.com/document/api/589/111204)](https://cloud.tencent.com/document/api/#/#) +* [DescribeGlobalConfig](https://cloud.tencent.com/document/api/589/111205) +* [ModifyGlobalConfig](https://cloud.tencent.com/document/api/589/111204) 新增数据结构: -* [[CapacityGlobalConfig](https://cloud.tencent.com/document/api/589/33981#CapacityGlobalConfig)](https://cloud.tencent.com/document/api/589/33981#[CapacityGlobalConfig](https://cloud.tencent.com/document/api/589/33981#CapacityGlobalConfig)) -* [[DefaultSetting](https://cloud.tencent.com/document/api/589/33981#DefaultSetting)](https://cloud.tencent.com/document/api/589/33981#[DefaultSetting](https://cloud.tencent.com/document/api/589/33981#DefaultSetting)) -* [[FairGlobalConfig](https://cloud.tencent.com/document/api/589/33981#FairGlobalConfig)](https://cloud.tencent.com/document/api/589/33981#[FairGlobalConfig](https://cloud.tencent.com/document/api/589/33981#FairGlobalConfig)) +* [CapacityGlobalConfig](https://cloud.tencent.com/document/api/589/33981#CapacityGlobalConfig) +* [DefaultSetting](https://cloud.tencent.com/document/api/589/33981#DefaultSetting) +* [FairGlobalConfig](https://cloud.tencent.com/document/api/589/33981#FairGlobalConfig) 修改数据结构: @@ -72816,6 +73029,21 @@ ## 人脸核身(faceid) 版本:2018-03-01 +### 第 80 次发布 + +发布时间:2024-09-25 01:20:56 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [GetEidTokenConfig](https://cloud.tencent.com/document/api/1007/41958#GetEidTokenConfig) + + * 新增成员:Speed + + ### 第 79 次发布 发布时间:2024-09-24 01:19:58 @@ -79544,6 +79772,45 @@ ## 物联网边缘计算平台(iecp) 版本:2021-09-14 +### 第 9 次发布 + +发布时间:2024-09-25 01:22:07 + +本次发布包含了以下内容: + +改善已有的文档。 + +**删除接口**: + +* ApplyMarketComponent +* CreateApplicationVisualization +* CreateEdgeUnitApplicationVisualization +* CreateEdgeUnitApplicationYaml +* DeleteApplications +* DeleteEdgeUnitApplications +* DescribeApplicationVisualization +* DescribeApplicationYaml +* DescribeApplicationYamlError +* DescribeApplications +* DescribeEdgeUnitApplicationEvents +* DescribeEdgeUnitApplicationLogs +* DescribeEdgeUnitApplicationPodContainers +* DescribeEdgeUnitApplicationPods +* DescribeEdgeUnitApplicationVisualization +* DescribeEdgeUnitApplicationYaml +* DescribeEdgeUnitApplicationYamlError +* DescribeEdgeUnitCloud +* ModifyApplicationBasicInfo +* ModifyApplicationVisualization + +**删除数据结构**: + +* ApplicationTemplate +* ContainerStatus +* EdgeUnitStatisticItem +* Event +* PodStatus + ### 第 8 次发布 发布时间:2024-06-20 01:46:44 @@ -95610,6 +95877,19 @@ ## 腾讯云可观测平台(monitor) 版本:2018-07-24 +### 第 121 次发布 + +发布时间:2024-09-25 01:26:32 + +本次发布包含了以下内容: + +改善已有的文档。 + +**删除接口**: + +* CheckIsPrometheusNewUser +* DescribePrometheusRecordRuleYaml + ### 第 120 次发布 发布时间:2024-08-23 01:56:12 @@ -109108,6 +109388,36 @@ ## 云数据库 PostgreSQL(postgres) 版本:2017-03-12 +### 第 46 次发布 + +发布时间:2024-09-25 01:28:57 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[DescribeDedicatedClusters](https://cloud.tencent.com/document/api/409/111242)](https://cloud.tencent.com/document/api/#/#) + +修改接口: + +* [CreateReadOnlyDBInstance](https://cloud.tencent.com/document/api/409/52602) + + * 新增入参:DedicatedClusterId + + +新增数据结构: + +* [[DedicatedCluster](https://cloud.tencent.com/document/api/409/16778#DedicatedCluster)](https://cloud.tencent.com/document/api/409/16778#[DedicatedCluster](https://cloud.tencent.com/document/api/409/16778#DedicatedCluster)) + +修改数据结构: + +* [DBNode](https://cloud.tencent.com/document/api/409/16778#DBNode) + + * 新增成员:DedicatedClusterId + + ### 第 45 次发布 发布时间:2024-09-24 01:27:27 @@ -109118,8 +109428,8 @@ 新增接口: -* [[CreateDatabase](https://cloud.tencent.com/document/api/409/111207)](https://cloud.tencent.com/document/api/#/#) -* [[ModifyDatabaseOwner](https://cloud.tencent.com/document/api/409/111206)](https://cloud.tencent.com/document/api/#/#) +* [CreateDatabase](https://cloud.tencent.com/document/api/409/111207) +* [ModifyDatabaseOwner](https://cloud.tencent.com/document/api/409/111206) 修改接口: @@ -109130,7 +109440,7 @@ 新增数据结构: -* [[Database](https://cloud.tencent.com/document/api/409/16778#Database)](https://cloud.tencent.com/document/api/409/16778#[Database](https://cloud.tencent.com/document/api/409/16778#Database)) +* [Database](https://cloud.tencent.com/document/api/409/16778#Database) ### 第 44 次发布 @@ -110830,6 +111140,23 @@ ## 全栈式风控引擎(rce) 版本:2020-11-03 +### 第 14 次发布 + +发布时间:2024-09-25 01:29:30 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [DataAuthorizationInfo](https://cloud.tencent.com/document/api/1343/52566#DataAuthorizationInfo) + + * 新增成员:IsOrderHandling + + * **修改成员**:IsPersonalData + + ### 第 13 次发布 发布时间:2024-08-01 02:05:51 @@ -126365,6 +126692,49 @@ ## 容器安全服务(tcss) 版本:2020-11-01 +### 第 66 次发布 + +发布时间:2024-09-25 01:32:38 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeAssetImageRegistryAssetStatus](https://cloud.tencent.com/document/api/1285/65502) + + * 新增出参:LatestSyncSuccessTime + +* [DescribeAssetImageRegistrySummary](https://cloud.tencent.com/document/api/1285/65494) + + * 新增出参:UnScannedImageCnt + +* [DescribeAssetImageScanSetting](https://cloud.tencent.com/document/api/1285/65487) + + * 新增出参:LastScanTime, ScanResult + +* [DescribeAssetImageScanTask](https://cloud.tencent.com/document/api/1285/65485) + + * 新增出参:LastScanTime, Status, SubStatus + +* [DescribeAssetSummary](https://cloud.tencent.com/document/api/1285/65477) + + * 新增出参:UnScannedImageCnt + +* [DescribeImageAuthorizedInfo](https://cloud.tencent.com/document/api/1285/65473) + + * 新增出参:ImageScanInquireInfo, RepeatImageIdCnt + +* [DescribeImageRegistryTimingScanTask](https://cloud.tencent.com/document/api/1285/65472) + + * 新增出参:LastScanTime, ScanResult + + +新增数据结构: + +* [[ImageScanInquireInfo](https://cloud.tencent.com/document/api/1285/65614#ImageScanInquireInfo)](https://cloud.tencent.com/document/api/1285/65614#[ImageScanInquireInfo](https://cloud.tencent.com/document/api/1285/65614#ImageScanInquireInfo)) + ### 第 65 次发布 发布时间:2024-09-20 13:11:46 @@ -134030,6 +134400,25 @@ ## 边缘安全加速平台(teo) 版本:2022-09-01 +### 第 85 次发布 + +发布时间:2024-09-25 01:34:27 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增数据结构: + +* [[L4ProxyRemoteAuth](https://cloud.tencent.com/document/api/1552/80721#L4ProxyRemoteAuth)](https://cloud.tencent.com/document/api/1552/80721#[L4ProxyRemoteAuth](https://cloud.tencent.com/document/api/1552/80721#L4ProxyRemoteAuth)) + +修改数据结构: + +* [L4ProxyRule](https://cloud.tencent.com/document/api/1552/80721#L4ProxyRule) + + * 新增成员:RemoteAuth + + ### 第 84 次发布 发布时间:2024-09-11 02:18:47 @@ -148246,6 +148635,21 @@ ## 微服务引擎(tse) 版本:2020-12-07 +### 第 77 次发布 + +发布时间:2024-09-25 01:36:42 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [RuleFilter](https://cloud.tencent.com/document/api/1364/54942#RuleFilter) + + * 新增成员:Operator, Name + + ### 第 76 次发布 发布时间:2024-09-10 02:19:25 @@ -149833,6 +150237,18 @@ ## 微服务平台 TSF(tsf) 版本:2018-03-26 +### 第 114 次发布 + +发布时间:2024-09-25 01:37:11 + +本次发布包含了以下内容: + +改善已有的文档。 + +**删除接口**: + +* DescribeApplicationBusinessLogConfig + ### 第 113 次发布 发布时间:2024-09-11 02:25:39 @@ -166211,6 +166627,21 @@ ## 数据开发治理平台 WeData(wedata) 版本:2021-08-20 +### 第 107 次发布 + +发布时间:2024-09-25 01:40:14 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [TaskOpsDto](https://cloud.tencent.com/document/api/1267/76336#TaskOpsDto) + + * 新增成员:NewParentTaskInfos + + ### 第 106 次发布 发布时间:2024-08-29 20:07:34 diff --git a/products.md b/products.md index 0025cfa257..52bd7e892b 100644 --- a/products.md +++ b/products.md @@ -39,7 +39,7 @@ | car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2024-06-19 01:14:59 | | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2024-07-26 01:15:04 | | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2024-08-28 01:11:56 | -| ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-08-22 01:10:57 | +| ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-09-24 13:17:26 | | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-09-19 01:11:20 | | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-08-28 01:14:49 | | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-07-26 01:17:46 | @@ -57,13 +57,13 @@ | cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 | | cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 | | ckafka | [消息队列 CKafka 版](https://cloud.tencent.com/document/product/597) | 2024-09-16 01:22:56 | -| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2024-09-03 01:25:28 | +| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2024-09-25 01:12:46 | | cloudapp | [云应用](https://cloud.tencent.com/document/product/1689) | 2024-07-18 10:12:45 | | cloudaudit | [操作审计](https://cloud.tencent.com/document/product/629) | 2024-01-15 01:09:37 | | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2024-03-20 01:11:31 | | cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2024-08-23 01:19:08 | | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2024-09-16 01:25:08 | -| cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2024-07-29 01:23:21 | +| cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2024-09-25 01:13:30 | | cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2024-08-28 01:24:04 | | cms | [内容安全](https://cloud.tencent.com/document/product/669) | 2024-06-20 01:24:47 | | config | [配置审计](https://cloud.tencent.com/document/product/1579) | 2024-03-20 01:12:18 | @@ -75,7 +75,7 @@ | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-09-24 01:13:45 | | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-09-20 12:58:49 | | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 | -| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-09-19 01:26:29 | +| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-09-25 01:15:47 | | dasb | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-09-13 01:25:56 | | dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 | | dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 | @@ -97,12 +97,12 @@ | ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2024-08-20 01:35:54 | | eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2024-06-25 01:14:34 | | eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 | -| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-09-24 01:18:41 | +| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-09-25 01:19:43 | | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-09-10 15:12:32 | | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-09-24 01:19:13 | | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-09-24 01:19:36 | | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-09-11 01:42:57 | -| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-09-24 01:19:58 | +| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-09-25 01:20:56 | | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-07-05 01:10:44 | | ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2024-03-20 01:17:13 | | gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2024-09-12 01:43:09 | @@ -120,9 +120,9 @@ | ic | [图片瘦身](https://cloud.tencent.com/document/product/636) | 2023-03-02 01:23:21 | | icr | [对话机器人](https://cloud.tencent.com/document/product/1268) | 2024-04-22 01:17:48 | | ie | [智能编辑](https://cloud.tencent.com/document/product/1186) | 2023-08-17 03:20:18 | -| iecp | [物联网边缘计算平台](https://cloud.tencent.com/document/product/1118) | 2024-06-20 01:46:44 | +| iecp | [物联网边缘计算平台](https://cloud.tencent.com/document/product/1118) | 2024-09-25 01:22:07 | | iir | [智能识图](https://cloud.tencent.com/document/product/1217) | 2022-04-04 06:48:05 | -| ims | [图片内容安全](https://cloud.tencent.com/document/product/1125) | 2024-09-20 13:04:24 | +| ims | [图片内容安全](https://cloud.tencent.com/document/product/1125) | 2024-09-25 01:22:24 | | ioa | [iOA 零信任安全管理系统](https://cloud.tencent.com/document/product/1092) | 2024-08-13 01:52:20 | | iot | [加速物联网套件](https://cloud.tencent.com/document/product/568) | 2023-07-17 01:22:28 | | iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2024-06-05 01:47:50 | @@ -149,7 +149,7 @@ | mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2024-07-02 01:19:41 | | mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2024-08-23 01:55:12 | | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-08-28 02:04:37 | -| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-08-28 02:05:12 | +| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-09-25 01:26:32 | | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-09-20 13:07:52 | | mqtt | [消息队列 MQTT 版](https://cloud.tencent.com/document/product/1778) | 2024-09-23 01:21:43 | | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-09-20 13:08:23 | @@ -159,15 +159,15 @@ | nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2024-05-07 01:22:11 | | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 | | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-09-04 01:54:37 | -| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-09-16 02:10:16 | +| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-09-25 01:28:00 | | omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-09-16 02:11:25 | | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-09-23 12:16:37 | | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-06-26 01:21:35 | | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2023-05-18 01:44:14 | -| postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2024-09-24 01:27:27 | +| postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2024-09-25 01:28:57 | | privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2024-08-28 02:14:34 | | pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2024-08-09 02:01:53 | -| rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2024-09-10 02:00:15 | +| rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2024-09-25 01:29:30 | | redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2024-09-11 02:05:34 | | region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2024-09-13 02:02:09 | | rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2023-12-25 00:16:39 | @@ -204,13 +204,13 @@ | tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 | | tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2024-06-18 02:13:19 | | tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2024-09-05 02:07:24 | -| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2024-09-20 13:11:46 | +| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2024-09-25 01:32:38 | | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2024-07-10 01:25:35 | | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2024-06-04 02:17:43 | | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-09-13 02:12:41 | | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2024-08-07 02:22:38 | | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2024-07-24 02:14:59 | -| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-09-24 01:32:25 | +| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-09-25 01:34:27 | | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2024-09-05 02:14:49 | | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 | | tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 | @@ -220,7 +220,7 @@ | tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2024-08-19 02:22:39 | | tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2024-06-07 02:37:51 | | tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2024-03-20 01:27:28 | -| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2024-09-12 02:23:02 | +| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2024-09-25 01:35:57 | | tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 | | tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2024-08-27 10:28:06 | | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2024-09-13 02:18:44 | @@ -230,8 +230,8 @@ | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2024-09-09 02:22:32 | | trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-07-31 02:17:29 | | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-09-23 10:17:53 | -| tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-09-10 02:19:25 | -| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-09-11 02:25:39 | +| tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-09-25 01:36:42 | +| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-09-25 01:37:11 | | tsi | [腾讯同传系统](https://cloud.tencent.com/document/product/1399) | 2024-08-02 02:22:13 | | tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2024-03-20 01:30:06 | | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2024-08-21 02:26:53 | @@ -247,7 +247,7 @@ | vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-09-10 02:27:11 | | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-09-09 02:31:32 | | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2024-03-20 01:32:09 | -| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-09-13 02:29:56 | +| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-09-25 01:40:14 | | weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2024-05-15 01:38:36 | | wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 | | yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2024-06-05 02:38:46 | diff --git a/pyproject.toml b/pyproject.toml index 5e8f26fc78..18cb509c35 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ exclude = ["tccli/examples"] [project] name = "tccli" -version = "3.0.1198.1" +version = "3.0.1199.1" authors = [ { name="tencentcloudapi", email="tencentcloudapi@tencent.com" }, ] @@ -24,7 +24,7 @@ classifiers = [ dependencies = [ "jmespath==0.10.0", "six==1.16.0", - "tencentcloud-sdk-python>=3.0.1198", + "tencentcloud-sdk-python>=3.0.1199", ] [project.urls] diff --git a/tccli/__init__.py b/tccli/__init__.py index add2ae96ea..12ca53412c 100644 --- a/tccli/__init__.py +++ b/tccli/__init__.py @@ -1 +1 @@ -__version__ = '3.0.1198.1' +__version__ = '3.0.1199.1' diff --git a/tccli/examples/ccc/v20200210/CreateAICall.md b/tccli/examples/ccc/v20200210/CreateAICall.md new file mode 100644 index 0000000000..05cae848ad --- /dev/null +++ b/tccli/examples/ccc/v20200210/CreateAICall.md @@ -0,0 +1,28 @@ +**Example 1: 创建ai 会话示例** + + + +Input: + +``` +tccli ccc CreateAICall --cli-unfold-argument \ + --Callee 008612300000000 \ + --SdkAppId 1400000000 \ + --SystemPrompt 你是一只机器人 \ + --LLMType openai \ + --Model gpt3 \ + --APIKey 114514 \ + --APIUrl https://xxx/v1/chat/completions \ + --VoiceType ZhiMei +``` + +Output: +``` +{ + "Response": { + "RequestId": "6bb56a09-2787-40bc-80c5-dc6dab783eff", + "SessionId": "6bb56a09278740bc80c5dc6dab783eff" + } +} +``` + diff --git a/tccli/examples/ims/v20201229/ImageModeration.md b/tccli/examples/ims/v20201229/ImageModeration.md index 0f0ecf9f70..1dfd6dce78 100644 --- a/tccli/examples/ims/v20201229/ImageModeration.md +++ b/tccli/examples/ims/v20201229/ImageModeration.md @@ -6,9 +6,9 @@ Input: ``` tccli ims ImageModeration --cli-unfold-argument \ - --BizType test_1001 \ - --DataId 1213 \ - --FileUrl https://xxx.jpg + --BizType 182600012300002017 \ + --DataId a61237dd-c2a0-43e7-a3da-d27022d39ba7 \ + --FileUrl https://cmstest-123.cos.ap-guangzhou.myqcloud.com/image.jpg ``` Output: @@ -17,7 +17,7 @@ Output: "Response": { "RequestId": "a61237dd-c2a0-43e7-a3da-d27022d39ba7", "DataId": "a61237dd-c2a0-43e7-a3da-d27022d39ba7", - "BizType": "test_1001", + "BizType": "182600012300002017", "Suggestion": "Block", "FileMD5": "", "Label": "Porn", diff --git a/tccli/examples/postgres/v20170312/DescribeDBInstances.md b/tccli/examples/postgres/v20170312/DescribeDBInstances.md index 3b2fc25954..400091cfee 100644 --- a/tccli/examples/postgres/v20170312/DescribeDBInstances.md +++ b/tccli/examples/postgres/v20170312/DescribeDBInstances.md @@ -59,11 +59,13 @@ Output: "DBNodeSet": [ { "Role": "Primary", - "Zone": "ap-guangzhou-6" + "Zone": "ap-guangzhou-6", + "DedicatedClusterId": "" }, { "Role": "Standby", - "Zone": "ap-guangzhou-6" + "Zone": "ap-guangzhou-6", + "DedicatedClusterId": "" } ], "DBVersion": "13.3", @@ -161,11 +163,13 @@ Output: "DBNodeSet": [ { "Role": "Primary", - "Zone": "ap-guangzhou-6" + "Zone": "ap-guangzhou-6", + "DedicatedClusterId": "" }, { "Role": "Standby", - "Zone": "ap-guangzhou-6" + "Zone": "ap-guangzhou-6", + "DedicatedClusterId": "" } ], "DBVersion": "13.3", diff --git a/tccli/examples/postgres/v20170312/DescribeDedicatedClusters.md b/tccli/examples/postgres/v20170312/DescribeDedicatedClusters.md new file mode 100644 index 0000000000..f3ebb187c5 --- /dev/null +++ b/tccli/examples/postgres/v20170312/DescribeDedicatedClusters.md @@ -0,0 +1,91 @@ +**Example 1: 查询所有专属集群** + +查询所有专属集群 + +Input: + +``` +tccli postgres DescribeDedicatedClusters --cli-unfold-argument ``` + +Output: +``` +{ + "Response": { + "DedicatedClusterSet": [ + { + "CpuAvailable": 192, + "CpuTotal": 192, + "DedicatedClusterId": "cluster-0jend45y", + "DiskAvailable": 1000, + "DiskTotal": 1000, + "InstanceCount": 0, + "MemAvailable": 512, + "MemTotal": 512, + "Name": "", + "StandbyDedicatedClusterSet": [ + "[\"cluster-0jend45y\"", + "\"cluster-d8htgb6k\"]" + ], + "Zone": "ap-guangzhou-2" + }, + { + "CpuAvailable": 192, + "CpuTotal": 192, + "DedicatedClusterId": "cluster-d8htgb6k", + "DiskAvailable": 1000, + "DiskTotal": 1000, + "InstanceCount": 0, + "MemAvailable": 512, + "MemTotal": 512, + "Name": "", + "StandbyDedicatedClusterSet": [ + "[\"cluster-0jend45y\"", + "\"cluster-d8htgb6k\"]" + ], + "Zone": "ap-guangzhou-2" + } + ], + "RequestId": "187a6206-4811-447d-b223-87a8dd470c8c" + } +} +``` + +**Example 2: 查询特定专属集群** + +查询专属集群cluster-0jend45y + +Input: + +``` +tccli postgres DescribeDedicatedClusters --cli-unfold-argument \ + --Filters.0.Name dedicated-cluster-id \ + --Filters.0.Values cluster-0jend45y +``` + +Output: +``` +{ + "Response": { + "DedicatedClusterSet": [ + { + "CpuAvailable": 192, + "CpuTotal": 192, + "DedicatedClusterId": "cluster-0jend45y", + "DiskAvailable": 1000, + "DiskTotal": 1000, + "InstanceCount": 0, + "MemAvailable": 512, + "MemTotal": 512, + "Name": "", + "StandbyDedicatedClusterSet": [ + "[\"cluster-0jend45y\"", + "\"cluster-d8htgb6k\"]" + ], + "Zone": "ap-guangzhou-2" + } + ], + "RequestId": "04fcd633-8e56-4c2f-9783-7c49e00647f6" + } +} +``` + diff --git a/tccli/examples/tcss/v20201101/DescribeAssetImageRegistryAssetStatus.md b/tccli/examples/tcss/v20201101/DescribeAssetImageRegistryAssetStatus.md index a40289fd5b..ceda7b9078 100644 --- a/tccli/examples/tcss/v20201101/DescribeAssetImageRegistryAssetStatus.md +++ b/tccli/examples/tcss/v20201101/DescribeAssetImageRegistryAssetStatus.md @@ -11,9 +11,10 @@ Output: ``` { "Response": { - "RequestId": "33ec689a-e026-4700-8dc4-b559b97f0667", - "Status": "doing", - "Err": "xx" + "Status": "abc", + "Err": "abc", + "LatestSyncSuccessTime": "abc", + "RequestId": "abc" } } ``` diff --git a/tccli/examples/tcss/v20201101/DescribeAssetImageRegistrySummary.md b/tccli/examples/tcss/v20201101/DescribeAssetImageRegistrySummary.md index 01a9b4b5aa..b4555b9240 100644 --- a/tccli/examples/tcss/v20201101/DescribeAssetImageRegistrySummary.md +++ b/tccli/examples/tcss/v20201101/DescribeAssetImageRegistrySummary.md @@ -11,7 +11,8 @@ Output: ``` { "Response": { - "RequestId": "5247d905-bf3c-41b4-9d6f-f93a008d9efb" + "UnScannedImageCnt": 1, + "RequestId": "abc" } } ``` diff --git a/tccli/examples/tcss/v20201101/DescribeAssetImageScanTask.md b/tccli/examples/tcss/v20201101/DescribeAssetImageScanTask.md index 955878aa38..2a99119439 100644 --- a/tccli/examples/tcss/v20201101/DescribeAssetImageScanTask.md +++ b/tccli/examples/tcss/v20201101/DescribeAssetImageScanTask.md @@ -11,8 +11,11 @@ Output: ``` { "Response": { - "RequestId": "b9cd345d-9d88-4e3b-86b6-e0e5c971731a", - "TaskID": "" + "TaskID": "abc", + "LastScanTime": "abc", + "Status": "abc", + "SubStatus": "abc", + "RequestId": "abc" } } ``` diff --git a/tccli/examples/tcss/v20201101/DescribeAssetSummary.md b/tccli/examples/tcss/v20201101/DescribeAssetSummary.md index 30c0e0be45..9ab33ab8a3 100644 --- a/tccli/examples/tcss/v20201101/DescribeAssetSummary.md +++ b/tccli/examples/tcss/v20201101/DescribeAssetSummary.md @@ -33,6 +33,11 @@ Output: "HostUnInstallCnt": 1, "SuperNodeCnt": 1, "SuperNodeRunningCnt": 1, + "TodayNewImageCnt": 1, + "TodayUnsafeImageCnt": 1, + "RecommendedFixImageCnt": 1, + "ScannedImageCnt": 1, + "UnScannedImageCnt": 1, "RequestId": "abc" } } diff --git a/tccli/examples/tcss/v20201101/DescribeImageAuthorizedInfo.md b/tccli/examples/tcss/v20201101/DescribeImageAuthorizedInfo.md index 37c1d4dec7..ca6515e88d 100644 --- a/tccli/examples/tcss/v20201101/DescribeImageAuthorizedInfo.md +++ b/tccli/examples/tcss/v20201101/DescribeImageAuthorizedInfo.md @@ -21,6 +21,16 @@ Output: "PurchasedAuthorizedCnt": 1, "UsedPurchasedAuthorizedCnt": 1, "CanApplyFreeImageAuthorize": true, + "ImageScanInquireInfo": { + "InquireKey": "abc", + "Capcity": 1, + "Useage": 1, + "StartTime": "abc", + "EndTime": "abc", + "PurchaseStatus": "abc", + "ResourceID": "abc" + }, + "RepeatImageIdCnt": 1, "RequestId": "abc" } } diff --git a/tccli/examples/vpc/v20170312/AllocateAddresses.md b/tccli/examples/vpc/v20170312/AllocateAddresses.md index bc9885286c..1e8821beb7 100644 --- a/tccli/examples/vpc/v20170312/AllocateAddresses.md +++ b/tccli/examples/vpc/v20170312/AllocateAddresses.md @@ -72,3 +72,27 @@ Output: } ``` +**Example 4: 申请EIP失败** + +幂等请求失败,更新幂等参数。 + +Input: + +``` +tccli vpc AllocateAddresses --cli-unfold-argument \ + --ClientToken b8fcdf80-248a-4095-bfa3-7f59df1aec +``` + +Output: +``` +{ + "Response": { + "Error": { + "Code": "UnsupportedOperation.DeliveryFailed", + "Message": "发货失败,请更新`ClientToken`并重试。" + }, + "RequestId": "8e176c15-f087-4816-a270-306cf87229a6" + } +} +``` + diff --git a/tccli/services/ccc/ccc_client.py b/tccli/services/ccc/ccc_client.py index f9954edbba..65f3f05b28 100644 --- a/tccli/services/ccc/ccc_client.py +++ b/tccli/services/ccc/ccc_client.py @@ -225,7 +225,7 @@ def doDescribeAutoCalloutTasks(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeStaffInfoList(args, parsed_globals): +def doCreateAICall(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -254,11 +254,11 @@ def doDescribeStaffInfoList(args, parsed_globals): client = mod.CccClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeStaffInfoListRequest() + model = models.CreateAICallRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeStaffInfoList(model) + rsp = client.CreateAICall(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -1941,6 +1941,58 @@ def doModifyStaffPassword(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) +def doDescribeStaffInfoList(args, parsed_globals): + g_param = parse_global_arg(parsed_globals) + + if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: + cred = credential.CVMRoleCredential() + elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]: + cred = credential.STSAssumeRoleCredential( + g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')], + g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"] + ) + 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): + cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials() + else: + cred = credential.Credential( + g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token] + ) + http_profile = HttpProfile( + reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]), + reqMethod="POST", + endpoint=g_param[OptionsDefine.Endpoint], + proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')] + ) + profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256") + if g_param[OptionsDefine.Language]: + profile.language = g_param[OptionsDefine.Language] + mod = CLIENT_MAP[g_param[OptionsDefine.Version]] + client = mod.CccClient(cred, g_param[OptionsDefine.Region], profile) + client._sdkVersion += ("_CLI_" + __version__) + models = MODELS_MAP[g_param[OptionsDefine.Version]] + model = models.DescribeStaffInfoListRequest() + model.from_json_string(json.dumps(args)) + start_time = time.time() + while True: + rsp = client.DescribeStaffInfoList(model) + result = rsp.to_json_string() + try: + json_obj = json.loads(result) + except TypeError as e: + json_obj = json.loads(result.decode('utf-8')) # python3.3 + if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']: + break + cur_time = time.time() + if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']: + raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' % + (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'], + search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))) + else: + print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)) + time.sleep(g_param['OptionsDefine.WaiterInfo']['interval']) + FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) + + def doDisableCCCPhoneNumber(args, parsed_globals): g_param = parse_global_arg(parsed_globals) @@ -3048,7 +3100,7 @@ def doUpdatePredictiveDialingCampaign(args, parsed_globals): "UnbindNumberCallOutSkillGroup": doUnbindNumberCallOutSkillGroup, "DescribeExtensions": doDescribeExtensions, "DescribeAutoCalloutTasks": doDescribeAutoCalloutTasks, - "DescribeStaffInfoList": doDescribeStaffInfoList, + "CreateAICall": doCreateAICall, "DescribePredictiveDialingCampaign": doDescribePredictiveDialingCampaign, "DescribePSTNActiveSessionList": doDescribePSTNActiveSessionList, "DeleteExtension": doDeleteExtension, @@ -3081,6 +3133,7 @@ def doUpdatePredictiveDialingCampaign(args, parsed_globals): "CreateCCCSkillGroup": doCreateCCCSkillGroup, "UnbindStaffSkillGroupList": doUnbindStaffSkillGroupList, "ModifyStaffPassword": doModifyStaffPassword, + "DescribeStaffInfoList": doDescribeStaffInfoList, "DisableCCCPhoneNumber": doDisableCCCPhoneNumber, "DescribeStaffStatusMetrics": doDescribeStaffStatusMetrics, "DescribeTelCallInfo": doDescribeTelCallInfo, diff --git a/tccli/services/ccc/v20200210/api.json b/tccli/services/ccc/v20200210/api.json index a551443d76..44238668f8 100644 --- a/tccli/services/ccc/v20200210/api.json +++ b/tccli/services/ccc/v20200210/api.json @@ -21,6 +21,13 @@ "output": "BindStaffSkillGroupListResponse", "status": "online" }, + "CreateAICall": { + "document": "创建ai外呼会话(仅支持高级版座席)", + "input": "CreateAICallRequest", + "name": "创建ai会话", + "output": "CreateAICallResponse", + "status": "online" + }, "CreateAdminURL": { "document": "创建管理端访问链接", "input": "CreateAdminURLRequest", @@ -1423,6 +1430,187 @@ ], "usage": "both" }, + "CreateAICallRequest": { + "document": "CreateAICall请求参数结构体", + "members": [ + { + "disabled": false, + "document": "应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc", + "example": "1400000000", + "member": "int64", + "name": "SdkAppId", + "required": true, + "type": "int" + }, + { + "disabled": false, + "document": "被叫", + "example": "+8613012345678", + "member": "string", + "name": "Callee", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "用于设定AI座席人设、说话规则、任务等的全局提示词。", + "example": "你是一只ai问答机器人", + "member": "string", + "name": "SystemPrompt", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "LLM类型", + "example": "openai", + "member": "string", + "name": "LLMType", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "模型(当前仅支持openai协议的模型)", + "example": "gpt3", + "member": "string", + "name": "Model", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "API密钥", + "example": "114514", + "member": "string", + "name": "APIKey", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "API URL,仅支持兼容openai协议的模型,填写url时后缀不要带/chat/completions", + "example": "http://xxx.com/openapi/v1", + "member": "string", + "name": "APIUrl", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "音色,目前仅支持以下音色:\n汉语:\nZhiMei:智美,客服女声\nZhiXi: 智希 通用女声\nZhiQi:智琪 客服女声\nZhiTian:智甜 女童声\nAiXiaoJing:爱小静 对话女声\n\n英语:\nWeRose:英文女声\nMonika:英文女声\n\n日语:\nNanami\n\n韩语:\nSunHi\n\n印度尼西亚语(印度尼西亚):\nGadis\n\n马来语(马来西亚):\nYasmin\n\n 泰米尔语(马来西亚):\nKani\n\n泰语(泰国):\nAchara\n\n越南语(越南):\nHoaiMy\n\n", + "example": "ZhiMei", + "member": "string", + "name": "VoiceType", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "主叫号码列表", + "example": "无", + "member": "string", + "name": "Callers", + "required": false, + "type": "list" + }, + { + "disabled": false, + "document": "用于设定AI座席欢迎语。", + "example": "你好", + "member": "string", + "name": "WelcomeMessage", + "required": false, + "type": "string" + }, + { + "disabled": false, + "document": "0:使用welcomeMessage(为空时,被叫先说话;不为空时,机器人先说话)\n1: 使用ai根据prompt自动生成welcomeMessage并先说话", + "example": "0,1", + "member": "int64", + "name": "WelcomeType", + "required": false, + "type": "int" + }, + { + "disabled": false, + "document": "最大等待时长(毫秒),默认60秒,超过这个时间用户没说话,自动挂断", + "example": "60000", + "member": "int64", + "name": "MaxDuration", + "required": false, + "type": "int" + }, + { + "disabled": false, + "document": "语音识别支持的语言, 默认是\"zh\" 中文,\n填写数组,最长4个语言,第一个语言为主要识别语言,后面为可选语言,\n注意:主要语言为中国方言时,可选语言无效\n目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循ISO639:\n1. Chinese = \"zh\" # 中文\n2. Chinese_TW = \"zh-TW\" # 中国台湾\n3. Chinese_DIALECT = \"zh-dialect\" # 中国方言\n4. English = \"en\" # 英语\n5. Vietnamese = \"vi\" # 越南语\n6. Japanese = \"ja\" # 日语\n7. Korean = \"ko\" # 汉语\n8. Indonesia = \"id\" # 印度尼西亚语\n9. Thai = \"th\" # 泰语\n10. Portuguese = \"pt\" # 葡萄牙语\n11. Turkish = \"tr\" # 土耳其语\n12. Arabic = \"ar\" # 阿拉伯语\n13. Spanish = \"es\" # 西班牙语\n14. Hindi = \"hi\" # 印地语\n15. French = \"fr\" # 法语\n16. Malay = \"ms\" # 马来语\n17. Filipino = \"fil\" # 菲律宾语\n18. German = \"de\" # 德语\n19. Italian = \"it\" # 意大利语\n20. Russian = \"ru\" # 俄语", + "example": "[\"zh\",\"en\"]", + "member": "string", + "name": "Languages", + "required": false, + "type": "list" + }, + { + "disabled": false, + "document": "打断AI说话模式,默认为0,0表示服务端自动打断,1表示服务端不打断,由端上发送打断信令进行打断", + "example": "1", + "member": "int64", + "name": "InterruptMode", + "required": false, + "type": "int" + }, + { + "disabled": false, + "document": "InterruptMode为0时使用,单位为毫秒,默认为500ms。表示服务端检测到持续InterruptSpeechDuration毫秒的人声则进行打断。", + "example": "500", + "member": "int64", + "name": "InterruptSpeechDuration", + "required": false, + "type": "int" + }, + { + "disabled": false, + "document": "模型是否支持(或者开启)call_end function calling", + "example": "true", + "member": "bool", + "name": "EndFunctionEnable", + "required": false, + "type": "bool" + }, + { + "disabled": false, + "document": "EndFunctionEnable为true时生效;call_end function calling的desc,默认为 \"End the call when user has to leave (like says bye) or you are instructed to do so.\"", + "example": "无", + "member": "string", + "name": "EndFunctionDesc", + "required": false, + "type": "string" + } + ], + "type": "object" + }, + "CreateAICallResponse": { + "document": "CreateAICall返回参数结构体", + "members": [ + { + "disabled": false, + "document": "新创建的会话 ID", + "example": "adcf61b8-dbb9-4c20-87bf-c0744c04bade", + "member": "string", + "name": "SessionId", + "output_required": false, + "type": "string", + "value_allowed_null": false + }, + { + "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", + "member": "string", + "name": "RequestId", + "type": "string" + } + ], + "type": "object" + }, "CreateAdminURLRequest": { "document": "CreateAdminURL请求参数结构体", "members": [ diff --git a/tccli/services/ccc/v20200210/examples.json b/tccli/services/ccc/v20200210/examples.json index 13d0ce6465..cb259cd2d8 100644 --- a/tccli/services/ccc/v20200210/examples.json +++ b/tccli/services/ccc/v20200210/examples.json @@ -24,6 +24,14 @@ "title": "绑定坐席所属技能组示例" } ], + "CreateAICall": [ + { + "document": "", + "input": "POST / HTTP/1.1\nHost: ccc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAICall\n<公共请求参数>\n\n{\n \"Callee\": \"008612300000000\",\n \"SdkAppId\": 1400000000,\n \"SystemPrompt\": \"你是一只机器人\",\n \"LLMType\": \"openai\",\n \"Model\": \"gpt3\",\n \"APIKey\": \"114514\",\n \"APIUrl\": \"https://xxx/v1/chat/completions\",\n \"VoiceType\": \"ZhiMei\"\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"6bb56a09-2787-40bc-80c5-dc6dab783eff\",\n \"SessionId\": \"6bb56a09278740bc80c5dc6dab783eff\"\n }\n}", + "title": "创建ai 会话示例" + } + ], "CreateAdminURL": [ { "document": "创建管理端登录链接示例", diff --git a/tccli/services/clb/v20180317/api.json b/tccli/services/clb/v20180317/api.json index b1738183fc..3ac3107587 100644 --- a/tccli/services/clb/v20180317/api.json +++ b/tccli/services/clb/v20180317/api.json @@ -2661,7 +2661,7 @@ }, { "disabled": false, - "document": "是否开启SNI特性,此参数仅适用于HTTPS监听器。0表示开启,1表示未开启。", + "document": "是否开启SNI特性,此参数仅适用于HTTPS监听器。0表示未开启,1表示开启。", "example": "1", "member": "int64", "name": "SniSwitch", @@ -2766,6 +2766,24 @@ "name": "FullEndPorts", "required": false, "type": "list" + }, + { + "disabled": false, + "document": "内网http监听器开启h2c开关", + "example": "False", + "member": "bool", + "name": "H2cSwitch", + "required": false, + "type": "bool" + }, + { + "disabled": false, + "document": "TCP_SSL监听器支持关闭SSL后仍然支持混绑,此参数为关闭开关", + "example": "False", + "member": "bool", + "name": "SslCloseSwitch", + "required": false, + "type": "bool" } ], "type": "object" diff --git a/tccli/services/cme/v20191029/api.json b/tccli/services/cme/v20191029/api.json index 9263568e7f..f1e75df652 100644 --- a/tccli/services/cme/v20191029/api.json +++ b/tccli/services/cme/v20191029/api.json @@ -7272,17 +7272,17 @@ "example": "0", "member": "int64", "name": "Id", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "卡槽类型,可取值有:\n
  • AUDIO:音频卡槽,可替换素材类型为 AUDIO 的音频素材;
  • \n
  • VIDEO:视频卡槽,可替换素材类型为 VIDEO 的视频素材;
  • \n
  • IMAGE:图片卡槽,可替换素材类型为 IMAGE 的图片素材;
  • \n
  • TEXT:文本卡槽,可替换文本内容。
  • ", - "example": "0", + "example": "VIDEO", "member": "string", "name": "Type", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -7292,7 +7292,7 @@ "example": "60097a8a8ea83d00017b484b", "member": "string", "name": "DefaultMaterialId", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -7302,7 +7302,7 @@ "example": "无", "member": "TextSlotInfo", "name": "DefaultTextSlotInfo", - "required": true, + "output_required": true, "type": "object", "value_allowed_null": true }, @@ -7312,7 +7312,17 @@ "example": "100", "member": "float", "name": "Duration", - "required": true, + "output_required": true, + "type": "float", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "卡槽起始时间,单位秒。", + "example": "0", + "member": "float", + "name": "StartTime", + "output_required": false, "type": "float", "value_allowed_null": false } @@ -8040,10 +8050,10 @@ { "disabled": false, "document": "文本内容。", - "example": "无", + "example": "智能创作", "member": "string", "name": "Text", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false } diff --git a/tccli/services/cynosdb/cynosdb_client.py b/tccli/services/cynosdb/cynosdb_client.py index 6d52d73a27..47c03e8a92 100644 --- a/tccli/services/cynosdb/cynosdb_client.py +++ b/tccli/services/cynosdb/cynosdb_client.py @@ -7401,58 +7401,6 @@ def doDescribeClusterInstanceGroups(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeRollbackTimeValidity(args, parsed_globals): - g_param = parse_global_arg(parsed_globals) - - if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: - cred = credential.CVMRoleCredential() - elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]: - cred = credential.STSAssumeRoleCredential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')], - g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"] - ) - 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): - cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials() - else: - cred = credential.Credential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token] - ) - http_profile = HttpProfile( - reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]), - reqMethod="POST", - endpoint=g_param[OptionsDefine.Endpoint], - proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')] - ) - profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256") - if g_param[OptionsDefine.Language]: - profile.language = g_param[OptionsDefine.Language] - mod = CLIENT_MAP[g_param[OptionsDefine.Version]] - client = mod.CynosdbClient(cred, g_param[OptionsDefine.Region], profile) - client._sdkVersion += ("_CLI_" + __version__) - models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeRollbackTimeValidityRequest() - model.from_json_string(json.dumps(args)) - start_time = time.time() - while True: - rsp = client.DescribeRollbackTimeValidity(model) - result = rsp.to_json_string() - try: - json_obj = json.loads(result) - except TypeError as e: - json_obj = json.loads(result.decode('utf-8')) # python3.3 - if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']: - break - cur_time = time.time() - if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']: - raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' % - (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'], - search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))) - else: - print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)) - time.sleep(g_param['OptionsDefine.WaiterInfo']['interval']) - FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) - - def doDescribeDBSecurityGroups(args, parsed_globals): g_param = parse_global_arg(parsed_globals) @@ -7918,7 +7866,6 @@ def doIsolateInstance(args, parsed_globals): "UpgradeInstance": doUpgradeInstance, "DescribeBinlogs": doDescribeBinlogs, "DescribeClusterInstanceGroups": doDescribeClusterInstanceGroups, - "DescribeRollbackTimeValidity": doDescribeRollbackTimeValidity, "DescribeDBSecurityGroups": doDescribeDBSecurityGroups, "OpenClusterPasswordComplexity": doOpenClusterPasswordComplexity, "OpenAuditService": doOpenAuditService, diff --git a/tccli/services/cynosdb/v20190107/api.json b/tccli/services/cynosdb/v20190107/api.json index aa3041390d..6c595e86b7 100644 --- a/tccli/services/cynosdb/v20190107/api.json +++ b/tccli/services/cynosdb/v20190107/api.json @@ -525,13 +525,6 @@ "output": "DescribeRollbackTimeRangeResponse", "status": "online" }, - "DescribeRollbackTimeValidity": { - "document": "历史废弃接口,从云API下线\n\n指定时间和集群查询是否可回滚", - "input": "DescribeRollbackTimeValidityRequest", - "name": "查询指定时间是否可回滚", - "output": "DescribeRollbackTimeValidityResponse", - "status": "deprecated" - }, "DescribeServerlessStrategy": { "document": "查询serverless策略", "input": "DescribeServerlessStrategyRequest", @@ -11515,91 +11508,6 @@ ], "type": "object" }, - "DescribeRollbackTimeValidityRequest": { - "document": "DescribeRollbackTimeValidity请求参数结构体", - "members": [ - { - "disabled": false, - "document": "集群ID", - "example": "cynosdbmysql-gn65y9nk", - "member": "string", - "name": "ClusterId", - "required": true, - "type": "string" - }, - { - "disabled": false, - "document": "期望回滚的时间点", - "example": "2019-01-13 02:12:05", - "member": "string", - "name": "ExpectTime", - "required": true, - "type": "string" - }, - { - "disabled": false, - "document": "回滚时间点的允许误差范围", - "example": "0", - "member": "uint64", - "name": "ExpectTimeThresh", - "required": true, - "type": "int" - } - ], - "type": "object" - }, - "DescribeRollbackTimeValidityResponse": { - "document": "DescribeRollbackTimeValidity返回参数结构体", - "members": [ - { - "disabled": false, - "document": "存储poolID", - "example": "\t1050", - "member": "uint64", - "name": "PoolId", - "output_required": true, - "type": "int", - "value_allowed_null": false - }, - { - "disabled": false, - "document": "回滚任务ID,后续按该时间点回滚时,需要传入", - "example": "\t2008", - "member": "uint64", - "name": "QueryId", - "output_required": true, - "type": "int", - "value_allowed_null": false - }, - { - "disabled": false, - "document": "时间点是否有效:pass,检测通过;fail,检测失败", - "example": "pass", - "member": "string", - "name": "Status", - "output_required": true, - "type": "string", - "value_allowed_null": false - }, - { - "disabled": false, - "document": "建议时间点,在Status为fail时,该值才有效", - "example": "\"\"", - "member": "string", - "name": "SuggestTime", - "output_required": true, - "type": "string", - "value_allowed_null": false - }, - { - "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", - "member": "string", - "name": "RequestId", - "type": "string" - } - ], - "type": "object" - }, "DescribeServerlessStrategyRequest": { "document": "DescribeServerlessStrategy请求参数结构体", "members": [ diff --git a/tccli/services/cynosdb/v20190107/examples.json b/tccli/services/cynosdb/v20190107/examples.json index 7b3d1b701e..bb4a79a006 100644 --- a/tccli/services/cynosdb/v20190107/examples.json +++ b/tccli/services/cynosdb/v20190107/examples.json @@ -624,14 +624,6 @@ "title": "查询回档时间范围" } ], - "DescribeRollbackTimeValidity": [ - { - "document": "", - "input": "https://cynosdb.tencentcloudapi.com/?Action=DescribeRollbackTimeValidity\n&ClusterId=cynosdbpg-gn65y9nk\n&ExpectTime=2019-01-1302:12:05\n&ExpectTimeThresh=0\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"PoolId\": 1,\n \"QueryId\": 1,\n \"Status\": \"abc\",\n \"SuggestTime\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}", - "title": "查询指定时间点是否看回档" - } - ], "DescribeServerlessStrategy": [ { "document": "", diff --git a/tccli/services/emr/v20190103/api.json b/tccli/services/emr/v20190103/api.json index 73a3e189f0..f76666d8e3 100644 --- a/tccli/services/emr/v20190103/api.json +++ b/tccli/services/emr/v20190103/api.json @@ -4551,7 +4551,7 @@ }, { "disabled": false, - "document": "自定义查询", + "document": "自定义查询过滤器。示例:
  • 根据ClusterId过滤实例:[{\"Name\":\"ClusterId\",\"Values\":[\"emr-xxxxxxxx\"]}]
  • 根据clusterName过滤实例:[{\"Name\": \"ClusterName\",\"Values\": [\"cluster_name\"]}]
  • 根据ClusterStatus过滤实例:[{\"Name\": \"ClusterStatus\",\"Values\": [\"2\"]}]
  • ", "example": "无", "member": "Filters", "name": "Filters", @@ -4905,8 +4905,8 @@ }, { "disabled": false, - "document": "按照OrderField升序或者降序进行排序。取值范围:
  • 0:表示降序。
  • 1:表示升序。
  • 默认值为0。", - "example": "1", + "document": "按照OrderField升序或者降序进行排序。取值范围:
  • 0:表示升序。
  • 1:表示降序。
  • 默认值为0。", + "example": "0", "member": "int64", "name": "Asc", "required": false, @@ -4914,7 +4914,7 @@ }, { "disabled": false, - "document": "自定义查询过滤器。", + "document": "自定义查询过滤器。示例:
  • 根据ClusterId过滤实例:[{\"Name\":\"ClusterId\",\"Values\":[\"emr-xxxxxxxx\"]}]
  • 根据clusterName过滤实例:[{\"Name\": \"ClusterName\",\"Values\": [\"cluster_name\"]}]
  • 根据ClusterStatus过滤实例:[{\"Name\": \"ClusterStatus\",\"Values\": [\"2\"]}]
  • ", "example": "无", "member": "Filters", "name": "Filters", diff --git a/tccli/services/faceid/v20180301/api.json b/tccli/services/faceid/v20180301/api.json index eb30f226ea..4fe392c36d 100644 --- a/tccli/services/faceid/v20180301/api.json +++ b/tccli/services/faceid/v20180301/api.json @@ -2591,6 +2591,15 @@ "name": "MouthOpenRecognition", "required": false, "type": "bool" + }, + { + "disabled": false, + "document": "意愿核身语音播报速度,配置后问答模式和点头模式的语音播报环节都会生效,默认值为0: 0:智能语速(根据播报文案的长度自动调整语音播报速度) 1:固定1倍速 2:固定1.2倍速 3:固定1.5倍速", + "example": "0", + "member": "uint64", + "name": "Speed", + "required": false, + "type": "int" } ], "usage": "in" diff --git a/tccli/services/iecp/iecp_client.py b/tccli/services/iecp/iecp_client.py index f451c29c98..88800df498 100644 --- a/tccli/services/iecp/iecp_client.py +++ b/tccli/services/iecp/iecp_client.py @@ -17,7 +17,7 @@ from jmespath import search import time -def doDescribeNamespace(args, parsed_globals): +def doDescribeEdgeUnitApplications(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -46,11 +46,11 @@ def doDescribeNamespace(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeNamespaceRequest() + model = models.DescribeEdgeUnitApplicationsRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeNamespace(model) + rsp = client.DescribeEdgeUnitApplications(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -69,7 +69,7 @@ def doDescribeNamespace(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeEdgeUnitApplicationVisualization(args, parsed_globals): +def doCreateEdgeNodeGroup(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -98,11 +98,11 @@ def doDescribeEdgeUnitApplicationVisualization(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeEdgeUnitApplicationVisualizationRequest() + model = models.CreateEdgeNodeGroupRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeEdgeUnitApplicationVisualization(model) + rsp = client.CreateEdgeNodeGroup(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -121,7 +121,7 @@ def doDescribeEdgeUnitApplicationVisualization(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeEdgeUnitExtra(args, parsed_globals): +def doDeleteEdgeNodeGroup(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -150,11 +150,11 @@ def doDescribeEdgeUnitExtra(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeEdgeUnitExtraRequest() + model = models.DeleteEdgeNodeGroupRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeEdgeUnitExtra(model) + rsp = client.DeleteEdgeNodeGroup(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -173,7 +173,7 @@ def doDescribeEdgeUnitExtra(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doCreateUpdateNodeUnit(args, parsed_globals): +def doCreateIotDevice(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -202,11 +202,11 @@ def doCreateUpdateNodeUnit(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.CreateUpdateNodeUnitRequest() + model = models.CreateIotDeviceRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.CreateUpdateNodeUnit(model) + rsp = client.CreateIotDevice(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -225,7 +225,7 @@ def doCreateUpdateNodeUnit(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doModifyNodeUnitTemplate(args, parsed_globals): +def doDeleteIotDevice(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -254,11 +254,11 @@ def doModifyNodeUnitTemplate(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.ModifyNodeUnitTemplateRequest() + model = models.DeleteIotDeviceRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.ModifyNodeUnitTemplate(model) + rsp = client.DeleteIotDevice(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -277,7 +277,7 @@ def doModifyNodeUnitTemplate(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doCreateNamespace(args, parsed_globals): +def doDescribeEdgeAgentNodeInstaller(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -306,11 +306,11 @@ def doCreateNamespace(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.CreateNamespaceRequest() + model = models.DescribeEdgeAgentNodeInstallerRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.CreateNamespace(model) + rsp = client.DescribeEdgeAgentNodeInstaller(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -329,7 +329,7 @@ def doCreateNamespace(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doModifyEdgeUnitDeployGridItem(args, parsed_globals): +def doDescribeEdgeUnitExtra(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -358,11 +358,11 @@ def doModifyEdgeUnitDeployGridItem(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.ModifyEdgeUnitDeployGridItemRequest() + model = models.DescribeEdgeUnitExtraRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.ModifyEdgeUnitDeployGridItem(model) + rsp = client.DescribeEdgeUnitExtra(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -381,7 +381,7 @@ def doModifyEdgeUnitDeployGridItem(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeSecrets(args, parsed_globals): +def doCreateUserToken(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -410,11 +410,11 @@ def doDescribeSecrets(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeSecretsRequest() + model = models.CreateUserTokenRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeSecrets(model) + rsp = client.CreateUserToken(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -433,7 +433,7 @@ def doDescribeSecrets(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeEdgeUnitDeployGridItemYaml(args, parsed_globals): +def doDeleteEdgeNodes(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -462,11 +462,11 @@ def doDescribeEdgeUnitDeployGridItemYaml(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeEdgeUnitDeployGridItemYamlRequest() + model = models.DeleteEdgeNodesRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeEdgeUnitDeployGridItemYaml(model) + rsp = client.DeleteEdgeNodes(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -485,7 +485,7 @@ def doDescribeEdgeUnitDeployGridItemYaml(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doCreateEdgeUnitApplicationYaml(args, parsed_globals): +def doCreateUpdateNodeUnit(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -514,11 +514,11 @@ def doCreateEdgeUnitApplicationYaml(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.CreateEdgeUnitApplicationYamlRequest() + model = models.CreateUpdateNodeUnitRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.CreateEdgeUnitApplicationYaml(model) + rsp = client.CreateUpdateNodeUnit(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -537,7 +537,7 @@ def doCreateEdgeUnitApplicationYaml(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doModifyConfigMap(args, parsed_globals): +def doModifyNodeUnitTemplate(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -566,11 +566,11 @@ def doModifyConfigMap(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.ModifyConfigMapRequest() + model = models.ModifyNodeUnitTemplateRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.ModifyConfigMap(model) + rsp = client.ModifyNodeUnitTemplate(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -589,7 +589,7 @@ def doModifyConfigMap(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeEdgeUnitApplicationEvents(args, parsed_globals): +def doCreateNamespace(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -618,11 +618,11 @@ def doDescribeEdgeUnitApplicationEvents(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeEdgeUnitApplicationEventsRequest() + model = models.CreateNamespaceRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeEdgeUnitApplicationEvents(model) + rsp = client.CreateNamespace(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -641,7 +641,7 @@ def doDescribeEdgeUnitApplicationEvents(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doGetMarketComponentList(args, parsed_globals): +def doDescribeDracoEdgeNodeInstaller(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -670,11 +670,11 @@ def doGetMarketComponentList(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.GetMarketComponentListRequest() + model = models.DescribeDracoEdgeNodeInstallerRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.GetMarketComponentList(model) + rsp = client.DescribeDracoEdgeNodeInstaller(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -693,7 +693,7 @@ def doGetMarketComponentList(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDeleteConfigMap(args, parsed_globals): +def doRedeployEdgeUnitApplication(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -722,11 +722,11 @@ def doDeleteConfigMap(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DeleteConfigMapRequest() + model = models.RedeployEdgeUnitApplicationRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DeleteConfigMap(model) + rsp = client.RedeployEdgeUnitApplication(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -745,7 +745,7 @@ def doDeleteConfigMap(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doCreateEdgeNodeUnitTemplate(args, parsed_globals): +def doDescribeEdgeNode(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -774,11 +774,11 @@ def doCreateEdgeNodeUnitTemplate(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.CreateEdgeNodeUnitTemplateRequest() + model = models.DescribeEdgeNodeRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.CreateEdgeNodeUnitTemplate(model) + rsp = client.DescribeEdgeNode(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -797,7 +797,7 @@ def doCreateEdgeNodeUnitTemplate(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDeleteEdgeUnitDevices(args, parsed_globals): +def doDescribeEdgeNodeRemarkList(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -826,11 +826,11 @@ def doDeleteEdgeUnitDevices(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DeleteEdgeUnitDevicesRequest() + model = models.DescribeEdgeNodeRemarkListRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DeleteEdgeUnitDevices(model) + rsp = client.DescribeEdgeNodeRemarkList(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -849,7 +849,7 @@ def doDeleteEdgeUnitDevices(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doCreateEdgeUnitDevices(args, parsed_globals): +def doCreateEdgeUnitCloud(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -878,11 +878,11 @@ def doCreateEdgeUnitDevices(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.CreateEdgeUnitDevicesRequest() + model = models.CreateEdgeUnitCloudRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.CreateEdgeUnitDevices(model) + rsp = client.CreateEdgeUnitCloud(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -901,7 +901,7 @@ def doCreateEdgeUnitDevices(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeIotDevices(args, parsed_globals): +def doDescribeMonitorMetrics(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -930,11 +930,11 @@ def doDescribeIotDevices(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeIotDevicesRequest() + model = models.DescribeMonitorMetricsRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeIotDevices(model) + rsp = client.DescribeMonitorMetrics(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -953,7 +953,7 @@ def doDescribeIotDevices(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeNodeUnitTemplateOnNodeGroup(args, parsed_globals): +def doDeleteNamespace(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -982,11 +982,11 @@ def doDescribeNodeUnitTemplateOnNodeGroup(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeNodeUnitTemplateOnNodeGroupRequest() + model = models.DeleteNamespaceRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeNodeUnitTemplateOnNodeGroup(model) + rsp = client.DeleteNamespace(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -1005,7 +1005,7 @@ def doDescribeNodeUnitTemplateOnNodeGroup(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeApplicationYaml(args, parsed_globals): +def doCreateSecret(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -1034,11 +1034,11 @@ def doDescribeApplicationYaml(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeApplicationYamlRequest() + model = models.CreateSecretRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeApplicationYaml(model) + rsp = client.CreateSecret(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -1057,7 +1057,7 @@ def doDescribeApplicationYaml(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeEdgeUnitApplications(args, parsed_globals): +def doBuildMessageRoute(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -1086,11 +1086,11 @@ def doDescribeEdgeUnitApplications(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeEdgeUnitApplicationsRequest() + model = models.BuildMessageRouteRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeEdgeUnitApplications(model) + rsp = client.BuildMessageRoute(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -1109,7 +1109,7 @@ def doDescribeEdgeUnitApplications(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeEdgeNodes(args, parsed_globals): +def doDescribeSecrets(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -1138,11 +1138,11 @@ def doDescribeEdgeNodes(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeEdgeNodesRequest() + model = models.DescribeSecretsRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeEdgeNodes(model) + rsp = client.DescribeSecrets(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -1161,7 +1161,7 @@ def doDescribeEdgeNodes(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeApplications(args, parsed_globals): +def doSetRouteOnOff(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -1190,11 +1190,11 @@ def doDescribeApplications(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeApplicationsRequest() + model = models.SetRouteOnOffRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeApplications(model) + rsp = client.SetRouteOnOff(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -1213,7 +1213,7 @@ def doDescribeApplications(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeIotDevice(args, parsed_globals): +def doCreateConfigMap(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -1242,11 +1242,11 @@ def doDescribeIotDevice(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeIotDeviceRequest() + model = models.CreateConfigMapRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeIotDevice(model) + rsp = client.CreateConfigMap(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -1265,7 +1265,7 @@ def doDescribeIotDevice(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDeleteEdgeUnitPod(args, parsed_globals): +def doCreateEdgeNode(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -1294,11 +1294,11 @@ def doDeleteEdgeUnitPod(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DeleteEdgeUnitPodRequest() + model = models.CreateEdgeNodeRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DeleteEdgeUnitPod(model) + rsp = client.CreateEdgeNode(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -1317,7 +1317,7 @@ def doDeleteEdgeUnitPod(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeEdgeUnitGridEvents(args, parsed_globals): +def doDeleteEdgeNodeUnitTemplates(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -1346,11 +1346,11 @@ def doDescribeEdgeUnitGridEvents(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeEdgeUnitGridEventsRequest() + model = models.DeleteEdgeNodeUnitTemplatesRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeEdgeUnitGridEvents(model) + rsp = client.DeleteEdgeNodeUnitTemplates(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -1369,7 +1369,7 @@ def doDescribeEdgeUnitGridEvents(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeEdgeUnitApplicationPods(args, parsed_globals): +def doModifyEdgeNodeLabels(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -1398,11 +1398,11 @@ def doDescribeEdgeUnitApplicationPods(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeEdgeUnitApplicationPodsRequest() + model = models.ModifyEdgeNodeLabelsRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeEdgeUnitApplicationPods(model) + rsp = client.ModifyEdgeNodeLabels(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -1421,7 +1421,7 @@ def doDescribeEdgeUnitApplicationPods(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDeleteEdgeNodeGroup(args, parsed_globals): +def doDescribeEdgeUnitDeployGridItemYaml(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -1450,11 +1450,11 @@ def doDeleteEdgeNodeGroup(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DeleteEdgeNodeGroupRequest() + model = models.DescribeEdgeUnitDeployGridItemYamlRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DeleteEdgeNodeGroup(model) + rsp = client.DescribeEdgeUnitDeployGridItemYaml(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -1473,7 +1473,7 @@ def doDeleteEdgeNodeGroup(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doCreateIotDevice(args, parsed_globals): +def doDescribeConfigMaps(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -1502,11 +1502,11 @@ def doCreateIotDevice(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.CreateIotDeviceRequest() + model = models.DescribeConfigMapsRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.CreateIotDevice(model) + rsp = client.DescribeConfigMaps(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -1525,7 +1525,7 @@ def doCreateIotDevice(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeEdgeAgentNodeInstaller(args, parsed_globals): +def doDescribeSecretYamlError(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -1554,11 +1554,11 @@ def doDescribeEdgeAgentNodeInstaller(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeEdgeAgentNodeInstallerRequest() + model = models.DescribeSecretYamlErrorRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeEdgeAgentNodeInstaller(model) + rsp = client.DescribeSecretYamlError(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -1577,7 +1577,7 @@ def doDescribeEdgeAgentNodeInstaller(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDeleteIotDeviceBatch(args, parsed_globals): +def doDeleteEdgeUnitDeployGridItem(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -1606,11 +1606,11 @@ def doDeleteIotDeviceBatch(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DeleteIotDeviceBatchRequest() + model = models.DeleteEdgeUnitDeployGridItemRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DeleteIotDeviceBatch(model) + rsp = client.DeleteEdgeUnitDeployGridItem(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -1629,7 +1629,7 @@ def doDeleteIotDeviceBatch(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doRedeployEdgeUnitApplication(args, parsed_globals): +def doDeleteConfigMap(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -1658,11 +1658,11 @@ def doRedeployEdgeUnitApplication(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.RedeployEdgeUnitApplicationRequest() + model = models.DeleteConfigMapRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.RedeployEdgeUnitApplication(model) + rsp = client.DeleteConfigMap(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -1681,7 +1681,7 @@ def doRedeployEdgeUnitApplication(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doModifyEdgeUnit(args, parsed_globals): +def doDeleteMessageRoute(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -1710,11 +1710,11 @@ def doModifyEdgeUnit(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.ModifyEdgeUnitRequest() + model = models.DeleteMessageRouteRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.ModifyEdgeUnit(model) + rsp = client.DeleteMessageRoute(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -1733,7 +1733,7 @@ def doModifyEdgeUnit(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeEdgeNodeRemarkList(args, parsed_globals): +def doModifyConfigMap(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -1762,11 +1762,11 @@ def doDescribeEdgeNodeRemarkList(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeEdgeNodeRemarkListRequest() + model = models.ModifyConfigMapRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeEdgeNodeRemarkList(model) + rsp = client.ModifyConfigMap(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -1785,7 +1785,7 @@ def doDescribeEdgeNodeRemarkList(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doCreateEdgeNode(args, parsed_globals): +def doCreateEdgeNodeUnitTemplate(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -1814,11 +1814,11 @@ def doCreateEdgeNode(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.CreateEdgeNodeRequest() + model = models.CreateEdgeNodeUnitTemplateRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.CreateEdgeNode(model) + rsp = client.CreateEdgeNodeUnitTemplate(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -1837,7 +1837,7 @@ def doCreateEdgeNode(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDeleteEdgeNodeUnitTemplates(args, parsed_globals): +def doDescribeEdgeUnitDeployGridItem(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -1866,11 +1866,11 @@ def doDeleteEdgeNodeUnitTemplates(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DeleteEdgeNodeUnitTemplatesRequest() + model = models.DescribeEdgeUnitDeployGridItemRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DeleteEdgeNodeUnitTemplates(model) + rsp = client.DescribeEdgeUnitDeployGridItem(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -1889,7 +1889,7 @@ def doDeleteEdgeNodeUnitTemplates(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDeleteEdgeUnitDeployGridItem(args, parsed_globals): +def doModifyEdgeDracoNode(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -1918,11 +1918,11 @@ def doDeleteEdgeUnitDeployGridItem(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DeleteEdgeUnitDeployGridItemRequest() + model = models.ModifyEdgeDracoNodeRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DeleteEdgeUnitDeployGridItem(model) + rsp = client.ModifyEdgeDracoNode(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -1941,7 +1941,7 @@ def doDeleteEdgeUnitDeployGridItem(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeEdgeUnitApplicationYaml(args, parsed_globals): +def doDescribeEdgeOperationLogs(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -1970,11 +1970,11 @@ def doDescribeEdgeUnitApplicationYaml(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeEdgeUnitApplicationYamlRequest() + model = models.DescribeEdgeOperationLogsRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeEdgeUnitApplicationYaml(model) + rsp = client.DescribeEdgeOperationLogs(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -1993,7 +1993,7 @@ def doDescribeEdgeUnitApplicationYaml(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doModifyEdgeUnitApplicationVisualization(args, parsed_globals): +def doModifyEdgeUnitApplicationBasicInfo(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -2022,11 +2022,11 @@ def doModifyEdgeUnitApplicationVisualization(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.ModifyEdgeUnitApplicationVisualizationRequest() + model = models.ModifyEdgeUnitApplicationBasicInfoRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.ModifyEdgeUnitApplicationVisualization(model) + rsp = client.ModifyEdgeUnitApplicationBasicInfo(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -2045,7 +2045,7 @@ def doModifyEdgeUnitApplicationVisualization(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDeleteApplications(args, parsed_globals): +def doDescribeEdgeUnitGridPods(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -2074,11 +2074,11 @@ def doDeleteApplications(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DeleteApplicationsRequest() + model = models.DescribeEdgeUnitGridPodsRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DeleteApplications(model) + rsp = client.DescribeEdgeUnitGridPods(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -2097,7 +2097,7 @@ def doDeleteApplications(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doModifyApplicationVisualization(args, parsed_globals): +def doDeleteIotDeviceBatch(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -2126,11 +2126,11 @@ def doModifyApplicationVisualization(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.ModifyApplicationVisualizationRequest() + model = models.DeleteIotDeviceBatchRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.ModifyApplicationVisualization(model) + rsp = client.DeleteIotDeviceBatch(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -2149,7 +2149,7 @@ def doModifyApplicationVisualization(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeEdgeUnitGridPods(args, parsed_globals): +def doDescribeNamespace(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -2178,11 +2178,11 @@ def doDescribeEdgeUnitGridPods(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeEdgeUnitGridPodsRequest() + model = models.DescribeNamespaceRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeEdgeUnitGridPods(model) + rsp = client.DescribeNamespace(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -2253,7 +2253,7 @@ def doDescribeEdgeDefaultVpc(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeEdgeNodePods(args, parsed_globals): +def doGetMarketComponentList(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -2282,11 +2282,11 @@ def doDescribeEdgeNodePods(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeEdgeNodePodsRequest() + model = models.GetMarketComponentListRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeEdgeNodePods(model) + rsp = client.GetMarketComponentList(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -2305,7 +2305,7 @@ def doDescribeEdgeNodePods(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeNodeUnit(args, parsed_globals): +def doDescribeConfigMap(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -2334,11 +2334,11 @@ def doDescribeNodeUnit(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeNodeUnitRequest() + model = models.DescribeConfigMapRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeNodeUnit(model) + rsp = client.DescribeConfigMap(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -2357,7 +2357,7 @@ def doDescribeNodeUnit(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeEdgeUnitApplicationYamlError(args, parsed_globals): +def doDescribeNodeUnit(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -2386,11 +2386,11 @@ def doDescribeEdgeUnitApplicationYamlError(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeEdgeUnitApplicationYamlErrorRequest() + model = models.DescribeNodeUnitRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeEdgeUnitApplicationYamlError(model) + rsp = client.DescribeNodeUnit(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -2409,7 +2409,7 @@ def doDescribeEdgeUnitApplicationYamlError(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doModifySecret(args, parsed_globals): +def doDeleteEdgeUnitDevices(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -2438,11 +2438,11 @@ def doModifySecret(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.ModifySecretRequest() + model = models.DeleteEdgeUnitDevicesRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.ModifySecret(model) + rsp = client.DeleteEdgeUnitDevices(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -2461,7 +2461,7 @@ def doModifySecret(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeSecret(args, parsed_globals): +def doModifySecret(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -2490,11 +2490,11 @@ def doDescribeSecret(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeSecretRequest() + model = models.ModifySecretRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeSecret(model) + rsp = client.ModifySecret(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -2513,7 +2513,7 @@ def doDescribeSecret(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeNamespaceResources(args, parsed_globals): +def doCreateEdgeUnitDevices(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -2542,63 +2542,11 @@ def doDescribeNamespaceResources(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeNamespaceResourcesRequest() + model = models.CreateEdgeUnitDevicesRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeNamespaceResources(model) - result = rsp.to_json_string() - try: - json_obj = json.loads(result) - except TypeError as e: - json_obj = json.loads(result.decode('utf-8')) # python3.3 - if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']: - break - cur_time = time.time() - if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']: - raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' % - (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'], - search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))) - else: - print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)) - time.sleep(g_param['OptionsDefine.WaiterInfo']['interval']) - FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) - - -def doModifyIotDevice(args, parsed_globals): - g_param = parse_global_arg(parsed_globals) - - if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: - cred = credential.CVMRoleCredential() - elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]: - cred = credential.STSAssumeRoleCredential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')], - g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"] - ) - 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): - cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials() - else: - cred = credential.Credential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token] - ) - http_profile = HttpProfile( - reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]), - reqMethod="POST", - endpoint=g_param[OptionsDefine.Endpoint], - proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')] - ) - profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256") - if g_param[OptionsDefine.Language]: - profile.language = g_param[OptionsDefine.Language] - mod = CLIENT_MAP[g_param[OptionsDefine.Version]] - client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) - client._sdkVersion += ("_CLI_" + __version__) - models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.ModifyIotDeviceRequest() - model.from_json_string(json.dumps(args)) - start_time = time.time() - while True: - rsp = client.ModifyIotDevice(model) + rsp = client.CreateEdgeUnitDevices(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -2617,7 +2565,7 @@ def doModifyIotDevice(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeConfigMapYamlError(args, parsed_globals): +def doDescribeIotDevices(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -2646,11 +2594,11 @@ def doDescribeConfigMapYamlError(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeConfigMapYamlErrorRequest() + model = models.DescribeIotDevicesRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeConfigMapYamlError(model) + rsp = client.DescribeIotDevices(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -2669,7 +2617,7 @@ def doDescribeConfigMapYamlError(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doCreateEdgeNodeGroup(args, parsed_globals): +def doDescribeSecret(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -2698,11 +2646,11 @@ def doCreateEdgeNodeGroup(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.CreateEdgeNodeGroupRequest() + model = models.DescribeSecretRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.CreateEdgeNodeGroup(model) + rsp = client.DescribeSecret(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -2721,7 +2669,7 @@ def doCreateEdgeNodeGroup(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDeleteNodeUnit(args, parsed_globals): +def doDescribeNodeUnitTemplateOnNodeGroup(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -2750,11 +2698,11 @@ def doDeleteNodeUnit(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DeleteNodeUnitRequest() + model = models.DescribeNodeUnitTemplateOnNodeGroupRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DeleteNodeUnit(model) + rsp = client.DescribeNodeUnitTemplateOnNodeGroup(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -2773,7 +2721,7 @@ def doDeleteNodeUnit(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeEdgeUnitApplicationLogs(args, parsed_globals): +def doDescribeEdgeUnitNodeUnitTemplates(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -2802,11 +2750,11 @@ def doDescribeEdgeUnitApplicationLogs(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeEdgeUnitApplicationLogsRequest() + model = models.DescribeEdgeUnitNodeUnitTemplatesRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeEdgeUnitApplicationLogs(model) + rsp = client.DescribeEdgeUnitNodeUnitTemplates(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -2825,7 +2773,7 @@ def doDescribeEdgeUnitApplicationLogs(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeEdgeNode(args, parsed_globals): +def doDescribeEdgeUnitDeployGrid(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -2854,11 +2802,11 @@ def doDescribeEdgeNode(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeEdgeNodeRequest() + model = models.DescribeEdgeUnitDeployGridRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeEdgeNode(model) + rsp = client.DescribeEdgeUnitDeployGrid(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -2877,7 +2825,7 @@ def doDescribeEdgeNode(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDeleteIotDevice(args, parsed_globals): +def doModifyEdgeUnit(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -2906,11 +2854,11 @@ def doDeleteIotDevice(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DeleteIotDeviceRequest() + model = models.ModifyEdgeUnitRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DeleteIotDevice(model) + rsp = client.ModifyEdgeUnit(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -2929,7 +2877,7 @@ def doDeleteIotDevice(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeApplicationYamlError(args, parsed_globals): +def doDescribeNamespaceResources(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -2958,11 +2906,11 @@ def doDescribeApplicationYamlError(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeApplicationYamlErrorRequest() + model = models.DescribeNamespaceResourcesRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeApplicationYamlError(model) + rsp = client.DescribeNamespaceResources(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -2981,7 +2929,7 @@ def doDescribeApplicationYamlError(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doCreateUserToken(args, parsed_globals): +def doGetMarketComponent(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -3010,11 +2958,11 @@ def doCreateUserToken(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.CreateUserTokenRequest() + model = models.GetMarketComponentRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.CreateUserToken(model) + rsp = client.GetMarketComponent(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -3033,7 +2981,7 @@ def doCreateUserToken(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeEdgeUnitsCloud(args, parsed_globals): +def doDescribeMessageRouteList(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -3062,11 +3010,11 @@ def doDescribeEdgeUnitsCloud(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeEdgeUnitsCloudRequest() + model = models.DescribeMessageRouteListRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeEdgeUnitsCloud(model) + rsp = client.DescribeMessageRouteList(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -3085,7 +3033,7 @@ def doDescribeEdgeUnitsCloud(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doCreateEdgeUnitCloud(args, parsed_globals): +def doDescribeNamespaces(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -3114,11 +3062,11 @@ def doCreateEdgeUnitCloud(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.CreateEdgeUnitCloudRequest() + model = models.DescribeNamespacesRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.CreateEdgeUnitCloud(model) + rsp = client.DescribeNamespaces(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -3137,7 +3085,7 @@ def doCreateEdgeUnitCloud(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDeleteSecret(args, parsed_globals): +def doDescribeEdgeNodes(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -3166,11 +3114,11 @@ def doDeleteSecret(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DeleteSecretRequest() + model = models.DescribeEdgeNodesRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DeleteSecret(model) + rsp = client.DescribeEdgeNodes(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -3189,7 +3137,7 @@ def doDeleteSecret(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doCreateEdgeUnitApplicationVisualization(args, parsed_globals): +def doModifyIotDevice(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -3218,11 +3166,11 @@ def doCreateEdgeUnitApplicationVisualization(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.CreateEdgeUnitApplicationVisualizationRequest() + model = models.ModifyIotDeviceRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.CreateEdgeUnitApplicationVisualization(model) + rsp = client.ModifyIotDevice(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -3241,7 +3189,7 @@ def doCreateEdgeUnitApplicationVisualization(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doSetRouteOnOff(args, parsed_globals): +def doDescribeConfigMapYamlError(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -3270,11 +3218,11 @@ def doSetRouteOnOff(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.SetRouteOnOffRequest() + model = models.DescribeConfigMapYamlErrorRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.SetRouteOnOff(model) + rsp = client.DescribeConfigMapYamlError(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -3345,7 +3293,7 @@ def doDescribeEdgeUnitNodeGroup(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDeleteMessageRoute(args, parsed_globals): +def doDescribeEdgePod(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -3374,11 +3322,11 @@ def doDeleteMessageRoute(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DeleteMessageRouteRequest() + model = models.DescribeEdgePodRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DeleteMessageRoute(model) + rsp = client.DescribeEdgePod(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -3397,7 +3345,7 @@ def doDeleteMessageRoute(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doApplyMarketComponent(args, parsed_globals): +def doModifyEdgeUnitCloudApi(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -3426,11 +3374,11 @@ def doApplyMarketComponent(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.ApplyMarketComponentRequest() + model = models.ModifyEdgeUnitCloudApiRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.ApplyMarketComponent(model) + rsp = client.ModifyEdgeUnitCloudApi(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -3449,7 +3397,7 @@ def doApplyMarketComponent(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeApplicationVisualization(args, parsed_globals): +def doDescribeIotDevice(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -3478,11 +3426,11 @@ def doDescribeApplicationVisualization(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeApplicationVisualizationRequest() + model = models.DescribeIotDeviceRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeApplicationVisualization(model) + rsp = client.DescribeIotDevice(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -3501,7 +3449,7 @@ def doDescribeApplicationVisualization(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeEdgeUnitNodeUnitTemplates(args, parsed_globals): +def doDescribeEdgeUnitMonitorStatus(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -3530,11 +3478,11 @@ def doDescribeEdgeUnitNodeUnitTemplates(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeEdgeUnitNodeUnitTemplatesRequest() + model = models.DescribeEdgeUnitMonitorStatusRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeEdgeUnitNodeUnitTemplates(model) + rsp = client.DescribeEdgeUnitMonitorStatus(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -3553,7 +3501,7 @@ def doDescribeEdgeUnitNodeUnitTemplates(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doGetMarketComponent(args, parsed_globals): +def doDescribeEdgeNodePods(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -3582,11 +3530,11 @@ def doGetMarketComponent(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.GetMarketComponentRequest() + model = models.DescribeEdgeNodePodsRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.GetMarketComponent(model) + rsp = client.DescribeEdgeNodePods(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -3605,7 +3553,7 @@ def doGetMarketComponent(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeNamespaces(args, parsed_globals): +def doCreateEdgeNodeBatch(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -3634,11 +3582,11 @@ def doDescribeNamespaces(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeNamespacesRequest() + model = models.CreateEdgeNodeBatchRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeNamespaces(model) + rsp = client.CreateEdgeNodeBatch(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -3657,7 +3605,7 @@ def doDescribeNamespaces(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeEdgeOperationLogs(args, parsed_globals): +def doDeleteEdgeUnitPod(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -3686,11 +3634,11 @@ def doDescribeEdgeOperationLogs(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeEdgeOperationLogsRequest() + model = models.DeleteEdgeUnitPodRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeEdgeOperationLogs(model) + rsp = client.DeleteEdgeUnitPod(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -3709,7 +3657,7 @@ def doDescribeEdgeOperationLogs(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doCreateSecret(args, parsed_globals): +def doModifyEdgeUnitDeployGridItem(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -3738,11 +3686,11 @@ def doCreateSecret(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.CreateSecretRequest() + model = models.ModifyEdgeUnitDeployGridItemRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.CreateSecret(model) + rsp = client.ModifyEdgeUnitDeployGridItem(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -3761,7 +3709,7 @@ def doCreateSecret(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeEdgePod(args, parsed_globals): +def doCreateMessageRoute(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -3790,11 +3738,11 @@ def doDescribeEdgePod(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeEdgePodRequest() + model = models.CreateMessageRouteRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeEdgePod(model) + rsp = client.CreateMessageRoute(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -3813,7 +3761,7 @@ def doDescribeEdgePod(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeEdgeUnitMonitorStatus(args, parsed_globals): +def doDescribeYeheResourceLimit(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -3842,11 +3790,11 @@ def doDescribeEdgeUnitMonitorStatus(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeEdgeUnitMonitorStatusRequest() + model = models.DescribeYeheResourceLimitRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeEdgeUnitMonitorStatus(model) + rsp = client.DescribeYeheResourceLimit(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -3865,7 +3813,7 @@ def doDescribeEdgeUnitMonitorStatus(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDeleteEdgeUnitApplications(args, parsed_globals): +def doDeleteNodeUnit(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -3894,11 +3842,11 @@ def doDeleteEdgeUnitApplications(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DeleteEdgeUnitApplicationsRequest() + model = models.DeleteNodeUnitRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DeleteEdgeUnitApplications(model) + rsp = client.DeleteNodeUnit(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -3917,7 +3865,7 @@ def doDeleteEdgeUnitApplications(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeEdgeUnitDeployGrid(args, parsed_globals): +def doModifyEdgeUnitApplicationYaml(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -3946,11 +3894,11 @@ def doDescribeEdgeUnitDeployGrid(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeEdgeUnitDeployGridRequest() + model = models.ModifyEdgeUnitApplicationYamlRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeEdgeUnitDeployGrid(model) + rsp = client.ModifyEdgeUnitApplicationYaml(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -3969,7 +3917,7 @@ def doDescribeEdgeUnitDeployGrid(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doBuildMessageRoute(args, parsed_globals): +def doDeleteEdgeUnitCloud(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -3998,11 +3946,11 @@ def doBuildMessageRoute(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.BuildMessageRouteRequest() + model = models.DeleteEdgeUnitCloudRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.BuildMessageRoute(model) + rsp = client.DeleteEdgeUnitCloud(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -4021,7 +3969,7 @@ def doBuildMessageRoute(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDeleteEdgeNodes(args, parsed_globals): +def doDescribeEdgeNodePodContainers(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -4050,11 +3998,11 @@ def doDeleteEdgeNodes(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DeleteEdgeNodesRequest() + model = models.DescribeEdgeNodePodContainersRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DeleteEdgeNodes(model) + rsp = client.DescribeEdgeNodePodContainers(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -4073,7 +4021,7 @@ def doDeleteEdgeNodes(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeDracoEdgeNodeInstaller(args, parsed_globals): +def doDescribeEdgeUnitGridEvents(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -4102,11 +4050,11 @@ def doDescribeDracoEdgeNodeInstaller(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeDracoEdgeNodeInstallerRequest() + model = models.DescribeEdgeUnitGridEventsRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeDracoEdgeNodeInstaller(model) + rsp = client.DescribeEdgeUnitGridEvents(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -4125,7 +4073,7 @@ def doDescribeDracoEdgeNodeInstaller(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doCreateConfigMap(args, parsed_globals): +def doModifyEdgeUnitApplicationVisualization(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -4154,11 +4102,11 @@ def doCreateConfigMap(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.CreateConfigMapRequest() + model = models.ModifyEdgeUnitApplicationVisualizationRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.CreateConfigMap(model) + rsp = client.ModifyEdgeUnitApplicationVisualization(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -4177,7 +4125,7 @@ def doCreateConfigMap(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeEdgeUnitCloud(args, parsed_globals): +def doDescribeEdgeSnNodes(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -4206,11 +4154,11 @@ def doDescribeEdgeUnitCloud(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeEdgeUnitCloudRequest() + model = models.DescribeEdgeSnNodesRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeEdgeUnitCloud(model) + rsp = client.DescribeEdgeSnNodes(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -4229,7 +4177,7 @@ def doDescribeEdgeUnitCloud(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDeleteNamespace(args, parsed_globals): +def doDeleteSecret(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -4258,11 +4206,11 @@ def doDeleteNamespace(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DeleteNamespaceRequest() + model = models.DeleteSecretRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DeleteNamespace(model) + rsp = client.DeleteSecret(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -4281,7 +4229,7 @@ def doDeleteNamespace(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeMessageRouteList(args, parsed_globals): +def doDescribeEdgeUnitsCloud(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -4310,11 +4258,11 @@ def doDescribeMessageRouteList(args, parsed_globals): client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeMessageRouteListRequest() + model = models.DescribeEdgeUnitsCloudRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeMessageRouteList(model) + rsp = client.DescribeEdgeUnitsCloud(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -4333,996 +4281,8 @@ def doDescribeMessageRouteList(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doModifyEdgeNodeLabels(args, parsed_globals): - g_param = parse_global_arg(parsed_globals) - - if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: - cred = credential.CVMRoleCredential() - elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]: - cred = credential.STSAssumeRoleCredential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')], - g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"] - ) - 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): - cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials() - else: - cred = credential.Credential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token] - ) - http_profile = HttpProfile( - reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]), - reqMethod="POST", - endpoint=g_param[OptionsDefine.Endpoint], - proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')] - ) - profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256") - if g_param[OptionsDefine.Language]: - profile.language = g_param[OptionsDefine.Language] - mod = CLIENT_MAP[g_param[OptionsDefine.Version]] - client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) - client._sdkVersion += ("_CLI_" + __version__) - models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.ModifyEdgeNodeLabelsRequest() - model.from_json_string(json.dumps(args)) - start_time = time.time() - while True: - rsp = client.ModifyEdgeNodeLabels(model) - result = rsp.to_json_string() - try: - json_obj = json.loads(result) - except TypeError as e: - json_obj = json.loads(result.decode('utf-8')) # python3.3 - if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']: - break - cur_time = time.time() - if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']: - raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' % - (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'], - search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))) - else: - print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)) - time.sleep(g_param['OptionsDefine.WaiterInfo']['interval']) - FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) - - -def doDescribeMonitorMetrics(args, parsed_globals): - g_param = parse_global_arg(parsed_globals) - - if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: - cred = credential.CVMRoleCredential() - elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]: - cred = credential.STSAssumeRoleCredential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')], - g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"] - ) - 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): - cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials() - else: - cred = credential.Credential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token] - ) - http_profile = HttpProfile( - reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]), - reqMethod="POST", - endpoint=g_param[OptionsDefine.Endpoint], - proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')] - ) - profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256") - if g_param[OptionsDefine.Language]: - profile.language = g_param[OptionsDefine.Language] - mod = CLIENT_MAP[g_param[OptionsDefine.Version]] - client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) - client._sdkVersion += ("_CLI_" + __version__) - models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeMonitorMetricsRequest() - model.from_json_string(json.dumps(args)) - start_time = time.time() - while True: - rsp = client.DescribeMonitorMetrics(model) - result = rsp.to_json_string() - try: - json_obj = json.loads(result) - except TypeError as e: - json_obj = json.loads(result.decode('utf-8')) # python3.3 - if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']: - break - cur_time = time.time() - if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']: - raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' % - (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'], - search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))) - else: - print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)) - time.sleep(g_param['OptionsDefine.WaiterInfo']['interval']) - FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) - - -def doDescribeConfigMaps(args, parsed_globals): - g_param = parse_global_arg(parsed_globals) - - if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: - cred = credential.CVMRoleCredential() - elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]: - cred = credential.STSAssumeRoleCredential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')], - g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"] - ) - 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): - cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials() - else: - cred = credential.Credential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token] - ) - http_profile = HttpProfile( - reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]), - reqMethod="POST", - endpoint=g_param[OptionsDefine.Endpoint], - proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')] - ) - profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256") - if g_param[OptionsDefine.Language]: - profile.language = g_param[OptionsDefine.Language] - mod = CLIENT_MAP[g_param[OptionsDefine.Version]] - client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) - client._sdkVersion += ("_CLI_" + __version__) - models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeConfigMapsRequest() - model.from_json_string(json.dumps(args)) - start_time = time.time() - while True: - rsp = client.DescribeConfigMaps(model) - result = rsp.to_json_string() - try: - json_obj = json.loads(result) - except TypeError as e: - json_obj = json.loads(result.decode('utf-8')) # python3.3 - if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']: - break - cur_time = time.time() - if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']: - raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' % - (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'], - search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))) - else: - print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)) - time.sleep(g_param['OptionsDefine.WaiterInfo']['interval']) - FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) - - -def doDescribeSecretYamlError(args, parsed_globals): - g_param = parse_global_arg(parsed_globals) - - if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: - cred = credential.CVMRoleCredential() - elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]: - cred = credential.STSAssumeRoleCredential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')], - g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"] - ) - 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): - cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials() - else: - cred = credential.Credential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token] - ) - http_profile = HttpProfile( - reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]), - reqMethod="POST", - endpoint=g_param[OptionsDefine.Endpoint], - proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')] - ) - profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256") - if g_param[OptionsDefine.Language]: - profile.language = g_param[OptionsDefine.Language] - mod = CLIENT_MAP[g_param[OptionsDefine.Version]] - client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) - client._sdkVersion += ("_CLI_" + __version__) - models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeSecretYamlErrorRequest() - model.from_json_string(json.dumps(args)) - start_time = time.time() - while True: - rsp = client.DescribeSecretYamlError(model) - result = rsp.to_json_string() - try: - json_obj = json.loads(result) - except TypeError as e: - json_obj = json.loads(result.decode('utf-8')) # python3.3 - if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']: - break - cur_time = time.time() - if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']: - raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' % - (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'], - search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))) - else: - print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)) - time.sleep(g_param['OptionsDefine.WaiterInfo']['interval']) - FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) - - -def doModifyEdgeUnitCloudApi(args, parsed_globals): - g_param = parse_global_arg(parsed_globals) - - if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: - cred = credential.CVMRoleCredential() - elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]: - cred = credential.STSAssumeRoleCredential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')], - g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"] - ) - 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): - cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials() - else: - cred = credential.Credential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token] - ) - http_profile = HttpProfile( - reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]), - reqMethod="POST", - endpoint=g_param[OptionsDefine.Endpoint], - proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')] - ) - profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256") - if g_param[OptionsDefine.Language]: - profile.language = g_param[OptionsDefine.Language] - mod = CLIENT_MAP[g_param[OptionsDefine.Version]] - client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) - client._sdkVersion += ("_CLI_" + __version__) - models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.ModifyEdgeUnitCloudApiRequest() - model.from_json_string(json.dumps(args)) - start_time = time.time() - while True: - rsp = client.ModifyEdgeUnitCloudApi(model) - result = rsp.to_json_string() - try: - json_obj = json.loads(result) - except TypeError as e: - json_obj = json.loads(result.decode('utf-8')) # python3.3 - if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']: - break - cur_time = time.time() - if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']: - raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' % - (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'], - search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))) - else: - print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)) - time.sleep(g_param['OptionsDefine.WaiterInfo']['interval']) - FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) - - -def doModifyApplicationBasicInfo(args, parsed_globals): - g_param = parse_global_arg(parsed_globals) - - if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: - cred = credential.CVMRoleCredential() - elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]: - cred = credential.STSAssumeRoleCredential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')], - g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"] - ) - 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): - cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials() - else: - cred = credential.Credential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token] - ) - http_profile = HttpProfile( - reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]), - reqMethod="POST", - endpoint=g_param[OptionsDefine.Endpoint], - proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')] - ) - profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256") - if g_param[OptionsDefine.Language]: - profile.language = g_param[OptionsDefine.Language] - mod = CLIENT_MAP[g_param[OptionsDefine.Version]] - client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) - client._sdkVersion += ("_CLI_" + __version__) - models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.ModifyApplicationBasicInfoRequest() - model.from_json_string(json.dumps(args)) - start_time = time.time() - while True: - rsp = client.ModifyApplicationBasicInfo(model) - result = rsp.to_json_string() - try: - json_obj = json.loads(result) - except TypeError as e: - json_obj = json.loads(result.decode('utf-8')) # python3.3 - if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']: - break - cur_time = time.time() - if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']: - raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' % - (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'], - search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))) - else: - print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)) - time.sleep(g_param['OptionsDefine.WaiterInfo']['interval']) - FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) - - -def doDescribeEdgeUnitDeployGridItem(args, parsed_globals): - g_param = parse_global_arg(parsed_globals) - - if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: - cred = credential.CVMRoleCredential() - elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]: - cred = credential.STSAssumeRoleCredential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')], - g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"] - ) - 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): - cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials() - else: - cred = credential.Credential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token] - ) - http_profile = HttpProfile( - reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]), - reqMethod="POST", - endpoint=g_param[OptionsDefine.Endpoint], - proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')] - ) - profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256") - if g_param[OptionsDefine.Language]: - profile.language = g_param[OptionsDefine.Language] - mod = CLIENT_MAP[g_param[OptionsDefine.Version]] - client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) - client._sdkVersion += ("_CLI_" + __version__) - models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeEdgeUnitDeployGridItemRequest() - model.from_json_string(json.dumps(args)) - start_time = time.time() - while True: - rsp = client.DescribeEdgeUnitDeployGridItem(model) - result = rsp.to_json_string() - try: - json_obj = json.loads(result) - except TypeError as e: - json_obj = json.loads(result.decode('utf-8')) # python3.3 - if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']: - break - cur_time = time.time() - if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']: - raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' % - (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'], - search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))) - else: - print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)) - time.sleep(g_param['OptionsDefine.WaiterInfo']['interval']) - FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) - - -def doModifyEdgeDracoNode(args, parsed_globals): - g_param = parse_global_arg(parsed_globals) - - if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: - cred = credential.CVMRoleCredential() - elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]: - cred = credential.STSAssumeRoleCredential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')], - g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"] - ) - 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): - cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials() - else: - cred = credential.Credential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token] - ) - http_profile = HttpProfile( - reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]), - reqMethod="POST", - endpoint=g_param[OptionsDefine.Endpoint], - proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')] - ) - profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256") - if g_param[OptionsDefine.Language]: - profile.language = g_param[OptionsDefine.Language] - mod = CLIENT_MAP[g_param[OptionsDefine.Version]] - client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) - client._sdkVersion += ("_CLI_" + __version__) - models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.ModifyEdgeDracoNodeRequest() - model.from_json_string(json.dumps(args)) - start_time = time.time() - while True: - rsp = client.ModifyEdgeDracoNode(model) - result = rsp.to_json_string() - try: - json_obj = json.loads(result) - except TypeError as e: - json_obj = json.loads(result.decode('utf-8')) # python3.3 - if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']: - break - cur_time = time.time() - if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']: - raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' % - (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'], - search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))) - else: - print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)) - time.sleep(g_param['OptionsDefine.WaiterInfo']['interval']) - FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) - - -def doModifyEdgeUnitApplicationBasicInfo(args, parsed_globals): - g_param = parse_global_arg(parsed_globals) - - if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: - cred = credential.CVMRoleCredential() - elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]: - cred = credential.STSAssumeRoleCredential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')], - g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"] - ) - 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): - cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials() - else: - cred = credential.Credential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token] - ) - http_profile = HttpProfile( - reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]), - reqMethod="POST", - endpoint=g_param[OptionsDefine.Endpoint], - proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')] - ) - profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256") - if g_param[OptionsDefine.Language]: - profile.language = g_param[OptionsDefine.Language] - mod = CLIENT_MAP[g_param[OptionsDefine.Version]] - client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) - client._sdkVersion += ("_CLI_" + __version__) - models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.ModifyEdgeUnitApplicationBasicInfoRequest() - model.from_json_string(json.dumps(args)) - start_time = time.time() - while True: - rsp = client.ModifyEdgeUnitApplicationBasicInfo(model) - result = rsp.to_json_string() - try: - json_obj = json.loads(result) - except TypeError as e: - json_obj = json.loads(result.decode('utf-8')) # python3.3 - if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']: - break - cur_time = time.time() - if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']: - raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' % - (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'], - search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))) - else: - print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)) - time.sleep(g_param['OptionsDefine.WaiterInfo']['interval']) - FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) - - -def doCreateApplicationVisualization(args, parsed_globals): - g_param = parse_global_arg(parsed_globals) - - if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: - cred = credential.CVMRoleCredential() - elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]: - cred = credential.STSAssumeRoleCredential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')], - g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"] - ) - 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): - cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials() - else: - cred = credential.Credential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token] - ) - http_profile = HttpProfile( - reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]), - reqMethod="POST", - endpoint=g_param[OptionsDefine.Endpoint], - proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')] - ) - profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256") - if g_param[OptionsDefine.Language]: - profile.language = g_param[OptionsDefine.Language] - mod = CLIENT_MAP[g_param[OptionsDefine.Version]] - client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) - client._sdkVersion += ("_CLI_" + __version__) - models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.CreateApplicationVisualizationRequest() - model.from_json_string(json.dumps(args)) - start_time = time.time() - while True: - rsp = client.CreateApplicationVisualization(model) - result = rsp.to_json_string() - try: - json_obj = json.loads(result) - except TypeError as e: - json_obj = json.loads(result.decode('utf-8')) # python3.3 - if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']: - break - cur_time = time.time() - if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']: - raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' % - (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'], - search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))) - else: - print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)) - time.sleep(g_param['OptionsDefine.WaiterInfo']['interval']) - FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) - - -def doDescribeConfigMap(args, parsed_globals): - g_param = parse_global_arg(parsed_globals) - - if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: - cred = credential.CVMRoleCredential() - elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]: - cred = credential.STSAssumeRoleCredential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')], - g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"] - ) - 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): - cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials() - else: - cred = credential.Credential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token] - ) - http_profile = HttpProfile( - reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]), - reqMethod="POST", - endpoint=g_param[OptionsDefine.Endpoint], - proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')] - ) - profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256") - if g_param[OptionsDefine.Language]: - profile.language = g_param[OptionsDefine.Language] - mod = CLIENT_MAP[g_param[OptionsDefine.Version]] - client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) - client._sdkVersion += ("_CLI_" + __version__) - models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeConfigMapRequest() - model.from_json_string(json.dumps(args)) - start_time = time.time() - while True: - rsp = client.DescribeConfigMap(model) - result = rsp.to_json_string() - try: - json_obj = json.loads(result) - except TypeError as e: - json_obj = json.loads(result.decode('utf-8')) # python3.3 - if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']: - break - cur_time = time.time() - if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']: - raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' % - (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'], - search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))) - else: - print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)) - time.sleep(g_param['OptionsDefine.WaiterInfo']['interval']) - FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) - - -def doDescribeEdgeNodePodContainers(args, parsed_globals): - g_param = parse_global_arg(parsed_globals) - - if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: - cred = credential.CVMRoleCredential() - elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]: - cred = credential.STSAssumeRoleCredential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')], - g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"] - ) - 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): - cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials() - else: - cred = credential.Credential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token] - ) - http_profile = HttpProfile( - reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]), - reqMethod="POST", - endpoint=g_param[OptionsDefine.Endpoint], - proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')] - ) - profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256") - if g_param[OptionsDefine.Language]: - profile.language = g_param[OptionsDefine.Language] - mod = CLIENT_MAP[g_param[OptionsDefine.Version]] - client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) - client._sdkVersion += ("_CLI_" + __version__) - models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeEdgeNodePodContainersRequest() - model.from_json_string(json.dumps(args)) - start_time = time.time() - while True: - rsp = client.DescribeEdgeNodePodContainers(model) - result = rsp.to_json_string() - try: - json_obj = json.loads(result) - except TypeError as e: - json_obj = json.loads(result.decode('utf-8')) # python3.3 - if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']: - break - cur_time = time.time() - if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']: - raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' % - (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'], - search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))) - else: - print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)) - time.sleep(g_param['OptionsDefine.WaiterInfo']['interval']) - FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) - - -def doDescribeEdgeUnitApplicationPodContainers(args, parsed_globals): - g_param = parse_global_arg(parsed_globals) - - if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: - cred = credential.CVMRoleCredential() - elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]: - cred = credential.STSAssumeRoleCredential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')], - g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"] - ) - 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): - cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials() - else: - cred = credential.Credential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token] - ) - http_profile = HttpProfile( - reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]), - reqMethod="POST", - endpoint=g_param[OptionsDefine.Endpoint], - proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')] - ) - profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256") - if g_param[OptionsDefine.Language]: - profile.language = g_param[OptionsDefine.Language] - mod = CLIENT_MAP[g_param[OptionsDefine.Version]] - client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) - client._sdkVersion += ("_CLI_" + __version__) - models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeEdgeUnitApplicationPodContainersRequest() - model.from_json_string(json.dumps(args)) - start_time = time.time() - while True: - rsp = client.DescribeEdgeUnitApplicationPodContainers(model) - result = rsp.to_json_string() - try: - json_obj = json.loads(result) - except TypeError as e: - json_obj = json.loads(result.decode('utf-8')) # python3.3 - if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']: - break - cur_time = time.time() - if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']: - raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' % - (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'], - search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))) - else: - print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)) - time.sleep(g_param['OptionsDefine.WaiterInfo']['interval']) - FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) - - -def doCreateEdgeNodeBatch(args, parsed_globals): - g_param = parse_global_arg(parsed_globals) - - if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: - cred = credential.CVMRoleCredential() - elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]: - cred = credential.STSAssumeRoleCredential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')], - g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"] - ) - 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): - cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials() - else: - cred = credential.Credential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token] - ) - http_profile = HttpProfile( - reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]), - reqMethod="POST", - endpoint=g_param[OptionsDefine.Endpoint], - proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')] - ) - profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256") - if g_param[OptionsDefine.Language]: - profile.language = g_param[OptionsDefine.Language] - mod = CLIENT_MAP[g_param[OptionsDefine.Version]] - client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) - client._sdkVersion += ("_CLI_" + __version__) - models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.CreateEdgeNodeBatchRequest() - model.from_json_string(json.dumps(args)) - start_time = time.time() - while True: - rsp = client.CreateEdgeNodeBatch(model) - result = rsp.to_json_string() - try: - json_obj = json.loads(result) - except TypeError as e: - json_obj = json.loads(result.decode('utf-8')) # python3.3 - if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']: - break - cur_time = time.time() - if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']: - raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' % - (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'], - search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))) - else: - print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)) - time.sleep(g_param['OptionsDefine.WaiterInfo']['interval']) - FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) - - -def doCreateMessageRoute(args, parsed_globals): - g_param = parse_global_arg(parsed_globals) - - if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: - cred = credential.CVMRoleCredential() - elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]: - cred = credential.STSAssumeRoleCredential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')], - g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"] - ) - 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): - cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials() - else: - cred = credential.Credential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token] - ) - http_profile = HttpProfile( - reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]), - reqMethod="POST", - endpoint=g_param[OptionsDefine.Endpoint], - proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')] - ) - profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256") - if g_param[OptionsDefine.Language]: - profile.language = g_param[OptionsDefine.Language] - mod = CLIENT_MAP[g_param[OptionsDefine.Version]] - client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) - client._sdkVersion += ("_CLI_" + __version__) - models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.CreateMessageRouteRequest() - model.from_json_string(json.dumps(args)) - start_time = time.time() - while True: - rsp = client.CreateMessageRoute(model) - result = rsp.to_json_string() - try: - json_obj = json.loads(result) - except TypeError as e: - json_obj = json.loads(result.decode('utf-8')) # python3.3 - if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']: - break - cur_time = time.time() - if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']: - raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' % - (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'], - search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))) - else: - print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)) - time.sleep(g_param['OptionsDefine.WaiterInfo']['interval']) - FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) - - -def doDescribeYeheResourceLimit(args, parsed_globals): - g_param = parse_global_arg(parsed_globals) - - if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: - cred = credential.CVMRoleCredential() - elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]: - cred = credential.STSAssumeRoleCredential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')], - g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"] - ) - 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): - cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials() - else: - cred = credential.Credential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token] - ) - http_profile = HttpProfile( - reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]), - reqMethod="POST", - endpoint=g_param[OptionsDefine.Endpoint], - proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')] - ) - profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256") - if g_param[OptionsDefine.Language]: - profile.language = g_param[OptionsDefine.Language] - mod = CLIENT_MAP[g_param[OptionsDefine.Version]] - client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) - client._sdkVersion += ("_CLI_" + __version__) - models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeYeheResourceLimitRequest() - model.from_json_string(json.dumps(args)) - start_time = time.time() - while True: - rsp = client.DescribeYeheResourceLimit(model) - result = rsp.to_json_string() - try: - json_obj = json.loads(result) - except TypeError as e: - json_obj = json.loads(result.decode('utf-8')) # python3.3 - if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']: - break - cur_time = time.time() - if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']: - raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' % - (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'], - search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))) - else: - print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)) - time.sleep(g_param['OptionsDefine.WaiterInfo']['interval']) - FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) - - -def doModifyEdgeUnitApplicationYaml(args, parsed_globals): - g_param = parse_global_arg(parsed_globals) - - if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: - cred = credential.CVMRoleCredential() - elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]: - cred = credential.STSAssumeRoleCredential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')], - g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"] - ) - 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): - cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials() - else: - cred = credential.Credential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token] - ) - http_profile = HttpProfile( - reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]), - reqMethod="POST", - endpoint=g_param[OptionsDefine.Endpoint], - proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')] - ) - profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256") - if g_param[OptionsDefine.Language]: - profile.language = g_param[OptionsDefine.Language] - mod = CLIENT_MAP[g_param[OptionsDefine.Version]] - client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) - client._sdkVersion += ("_CLI_" + __version__) - models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.ModifyEdgeUnitApplicationYamlRequest() - model.from_json_string(json.dumps(args)) - start_time = time.time() - while True: - rsp = client.ModifyEdgeUnitApplicationYaml(model) - result = rsp.to_json_string() - try: - json_obj = json.loads(result) - except TypeError as e: - json_obj = json.loads(result.decode('utf-8')) # python3.3 - if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']: - break - cur_time = time.time() - if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']: - raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' % - (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'], - search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))) - else: - print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)) - time.sleep(g_param['OptionsDefine.WaiterInfo']['interval']) - FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) - - -def doDeleteEdgeUnitCloud(args, parsed_globals): - g_param = parse_global_arg(parsed_globals) - - if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: - cred = credential.CVMRoleCredential() - elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]: - cred = credential.STSAssumeRoleCredential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')], - g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"] - ) - 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): - cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials() - else: - cred = credential.Credential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token] - ) - http_profile = HttpProfile( - reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]), - reqMethod="POST", - endpoint=g_param[OptionsDefine.Endpoint], - proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')] - ) - profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256") - if g_param[OptionsDefine.Language]: - profile.language = g_param[OptionsDefine.Language] - mod = CLIENT_MAP[g_param[OptionsDefine.Version]] - client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) - client._sdkVersion += ("_CLI_" + __version__) - models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DeleteEdgeUnitCloudRequest() - model.from_json_string(json.dumps(args)) - start_time = time.time() - while True: - rsp = client.DeleteEdgeUnitCloud(model) - result = rsp.to_json_string() - try: - json_obj = json.loads(result) - except TypeError as e: - json_obj = json.loads(result.decode('utf-8')) # python3.3 - if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']: - break - cur_time = time.time() - if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']: - raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' % - (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'], - search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))) - else: - print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)) - time.sleep(g_param['OptionsDefine.WaiterInfo']['interval']) - FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) - - -def doDescribeEdgeSnNodes(args, parsed_globals): - g_param = parse_global_arg(parsed_globals) - - if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: - cred = credential.CVMRoleCredential() - elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]: - cred = credential.STSAssumeRoleCredential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')], - g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"] - ) - 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): - cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials() - else: - cred = credential.Credential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token] - ) - http_profile = HttpProfile( - reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]), - reqMethod="POST", - endpoint=g_param[OptionsDefine.Endpoint], - proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')] - ) - profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256") - if g_param[OptionsDefine.Language]: - profile.language = g_param[OptionsDefine.Language] - mod = CLIENT_MAP[g_param[OptionsDefine.Version]] - client = mod.IecpClient(cred, g_param[OptionsDefine.Region], profile) - client._sdkVersion += ("_CLI_" + __version__) - models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeEdgeSnNodesRequest() - model.from_json_string(json.dumps(args)) - start_time = time.time() - while True: - rsp = client.DescribeEdgeSnNodes(model) - result = rsp.to_json_string() - try: - json_obj = json.loads(result) - except TypeError as e: - json_obj = json.loads(result.decode('utf-8')) # python3.3 - if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']: - break - cur_time = time.time() - if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']: - raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' % - (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'], - search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))) - else: - print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)) - time.sleep(g_param['OptionsDefine.WaiterInfo']['interval']) - FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) - - -CLIENT_MAP = { - "v20210914": iecp_client_v20210914, +CLIENT_MAP = { + "v20210914": iecp_client_v20210914, } @@ -5332,108 +4292,88 @@ def doDescribeEdgeSnNodes(args, parsed_globals): } ACTION_MAP = { - "DescribeNamespace": doDescribeNamespace, - "DescribeEdgeUnitApplicationVisualization": doDescribeEdgeUnitApplicationVisualization, - "DescribeEdgeUnitExtra": doDescribeEdgeUnitExtra, - "CreateUpdateNodeUnit": doCreateUpdateNodeUnit, - "ModifyNodeUnitTemplate": doModifyNodeUnitTemplate, - "CreateNamespace": doCreateNamespace, - "ModifyEdgeUnitDeployGridItem": doModifyEdgeUnitDeployGridItem, - "DescribeSecrets": doDescribeSecrets, - "DescribeEdgeUnitDeployGridItemYaml": doDescribeEdgeUnitDeployGridItemYaml, - "CreateEdgeUnitApplicationYaml": doCreateEdgeUnitApplicationYaml, - "ModifyConfigMap": doModifyConfigMap, - "DescribeEdgeUnitApplicationEvents": doDescribeEdgeUnitApplicationEvents, - "GetMarketComponentList": doGetMarketComponentList, - "DeleteConfigMap": doDeleteConfigMap, - "CreateEdgeNodeUnitTemplate": doCreateEdgeNodeUnitTemplate, - "DeleteEdgeUnitDevices": doDeleteEdgeUnitDevices, - "CreateEdgeUnitDevices": doCreateEdgeUnitDevices, - "DescribeIotDevices": doDescribeIotDevices, - "DescribeNodeUnitTemplateOnNodeGroup": doDescribeNodeUnitTemplateOnNodeGroup, - "DescribeApplicationYaml": doDescribeApplicationYaml, "DescribeEdgeUnitApplications": doDescribeEdgeUnitApplications, - "DescribeEdgeNodes": doDescribeEdgeNodes, - "DescribeApplications": doDescribeApplications, - "DescribeIotDevice": doDescribeIotDevice, - "DeleteEdgeUnitPod": doDeleteEdgeUnitPod, - "DescribeEdgeUnitGridEvents": doDescribeEdgeUnitGridEvents, - "DescribeEdgeUnitApplicationPods": doDescribeEdgeUnitApplicationPods, + "CreateEdgeNodeGroup": doCreateEdgeNodeGroup, "DeleteEdgeNodeGroup": doDeleteEdgeNodeGroup, "CreateIotDevice": doCreateIotDevice, + "DeleteIotDevice": doDeleteIotDevice, "DescribeEdgeAgentNodeInstaller": doDescribeEdgeAgentNodeInstaller, - "DeleteIotDeviceBatch": doDeleteIotDeviceBatch, + "DescribeEdgeUnitExtra": doDescribeEdgeUnitExtra, + "CreateUserToken": doCreateUserToken, + "DeleteEdgeNodes": doDeleteEdgeNodes, + "CreateUpdateNodeUnit": doCreateUpdateNodeUnit, + "ModifyNodeUnitTemplate": doModifyNodeUnitTemplate, + "CreateNamespace": doCreateNamespace, + "DescribeDracoEdgeNodeInstaller": doDescribeDracoEdgeNodeInstaller, "RedeployEdgeUnitApplication": doRedeployEdgeUnitApplication, - "ModifyEdgeUnit": doModifyEdgeUnit, + "DescribeEdgeNode": doDescribeEdgeNode, "DescribeEdgeNodeRemarkList": doDescribeEdgeNodeRemarkList, + "CreateEdgeUnitCloud": doCreateEdgeUnitCloud, + "DescribeMonitorMetrics": doDescribeMonitorMetrics, + "DeleteNamespace": doDeleteNamespace, + "CreateSecret": doCreateSecret, + "BuildMessageRoute": doBuildMessageRoute, + "DescribeSecrets": doDescribeSecrets, + "SetRouteOnOff": doSetRouteOnOff, + "CreateConfigMap": doCreateConfigMap, "CreateEdgeNode": doCreateEdgeNode, "DeleteEdgeNodeUnitTemplates": doDeleteEdgeNodeUnitTemplates, + "ModifyEdgeNodeLabels": doModifyEdgeNodeLabels, + "DescribeEdgeUnitDeployGridItemYaml": doDescribeEdgeUnitDeployGridItemYaml, + "DescribeConfigMaps": doDescribeConfigMaps, + "DescribeSecretYamlError": doDescribeSecretYamlError, "DeleteEdgeUnitDeployGridItem": doDeleteEdgeUnitDeployGridItem, - "DescribeEdgeUnitApplicationYaml": doDescribeEdgeUnitApplicationYaml, - "ModifyEdgeUnitApplicationVisualization": doModifyEdgeUnitApplicationVisualization, - "DeleteApplications": doDeleteApplications, - "ModifyApplicationVisualization": doModifyApplicationVisualization, + "DeleteConfigMap": doDeleteConfigMap, + "DeleteMessageRoute": doDeleteMessageRoute, + "ModifyConfigMap": doModifyConfigMap, + "CreateEdgeNodeUnitTemplate": doCreateEdgeNodeUnitTemplate, + "DescribeEdgeUnitDeployGridItem": doDescribeEdgeUnitDeployGridItem, + "ModifyEdgeDracoNode": doModifyEdgeDracoNode, + "DescribeEdgeOperationLogs": doDescribeEdgeOperationLogs, + "ModifyEdgeUnitApplicationBasicInfo": doModifyEdgeUnitApplicationBasicInfo, "DescribeEdgeUnitGridPods": doDescribeEdgeUnitGridPods, + "DeleteIotDeviceBatch": doDeleteIotDeviceBatch, + "DescribeNamespace": doDescribeNamespace, "DescribeEdgeDefaultVpc": doDescribeEdgeDefaultVpc, - "DescribeEdgeNodePods": doDescribeEdgeNodePods, + "GetMarketComponentList": doGetMarketComponentList, + "DescribeConfigMap": doDescribeConfigMap, "DescribeNodeUnit": doDescribeNodeUnit, - "DescribeEdgeUnitApplicationYamlError": doDescribeEdgeUnitApplicationYamlError, + "DeleteEdgeUnitDevices": doDeleteEdgeUnitDevices, "ModifySecret": doModifySecret, + "CreateEdgeUnitDevices": doCreateEdgeUnitDevices, + "DescribeIotDevices": doDescribeIotDevices, "DescribeSecret": doDescribeSecret, + "DescribeNodeUnitTemplateOnNodeGroup": doDescribeNodeUnitTemplateOnNodeGroup, + "DescribeEdgeUnitNodeUnitTemplates": doDescribeEdgeUnitNodeUnitTemplates, + "DescribeEdgeUnitDeployGrid": doDescribeEdgeUnitDeployGrid, + "ModifyEdgeUnit": doModifyEdgeUnit, "DescribeNamespaceResources": doDescribeNamespaceResources, + "GetMarketComponent": doGetMarketComponent, + "DescribeMessageRouteList": doDescribeMessageRouteList, + "DescribeNamespaces": doDescribeNamespaces, + "DescribeEdgeNodes": doDescribeEdgeNodes, "ModifyIotDevice": doModifyIotDevice, "DescribeConfigMapYamlError": doDescribeConfigMapYamlError, - "CreateEdgeNodeGroup": doCreateEdgeNodeGroup, - "DeleteNodeUnit": doDeleteNodeUnit, - "DescribeEdgeUnitApplicationLogs": doDescribeEdgeUnitApplicationLogs, - "DescribeEdgeNode": doDescribeEdgeNode, - "DeleteIotDevice": doDeleteIotDevice, - "DescribeApplicationYamlError": doDescribeApplicationYamlError, - "CreateUserToken": doCreateUserToken, - "DescribeEdgeUnitsCloud": doDescribeEdgeUnitsCloud, - "CreateEdgeUnitCloud": doCreateEdgeUnitCloud, - "DeleteSecret": doDeleteSecret, - "CreateEdgeUnitApplicationVisualization": doCreateEdgeUnitApplicationVisualization, - "SetRouteOnOff": doSetRouteOnOff, "DescribeEdgeUnitNodeGroup": doDescribeEdgeUnitNodeGroup, - "DeleteMessageRoute": doDeleteMessageRoute, - "ApplyMarketComponent": doApplyMarketComponent, - "DescribeApplicationVisualization": doDescribeApplicationVisualization, - "DescribeEdgeUnitNodeUnitTemplates": doDescribeEdgeUnitNodeUnitTemplates, - "GetMarketComponent": doGetMarketComponent, - "DescribeNamespaces": doDescribeNamespaces, - "DescribeEdgeOperationLogs": doDescribeEdgeOperationLogs, - "CreateSecret": doCreateSecret, "DescribeEdgePod": doDescribeEdgePod, - "DescribeEdgeUnitMonitorStatus": doDescribeEdgeUnitMonitorStatus, - "DeleteEdgeUnitApplications": doDeleteEdgeUnitApplications, - "DescribeEdgeUnitDeployGrid": doDescribeEdgeUnitDeployGrid, - "BuildMessageRoute": doBuildMessageRoute, - "DeleteEdgeNodes": doDeleteEdgeNodes, - "DescribeDracoEdgeNodeInstaller": doDescribeDracoEdgeNodeInstaller, - "CreateConfigMap": doCreateConfigMap, - "DescribeEdgeUnitCloud": doDescribeEdgeUnitCloud, - "DeleteNamespace": doDeleteNamespace, - "DescribeMessageRouteList": doDescribeMessageRouteList, - "ModifyEdgeNodeLabels": doModifyEdgeNodeLabels, - "DescribeMonitorMetrics": doDescribeMonitorMetrics, - "DescribeConfigMaps": doDescribeConfigMaps, - "DescribeSecretYamlError": doDescribeSecretYamlError, "ModifyEdgeUnitCloudApi": doModifyEdgeUnitCloudApi, - "ModifyApplicationBasicInfo": doModifyApplicationBasicInfo, - "DescribeEdgeUnitDeployGridItem": doDescribeEdgeUnitDeployGridItem, - "ModifyEdgeDracoNode": doModifyEdgeDracoNode, - "ModifyEdgeUnitApplicationBasicInfo": doModifyEdgeUnitApplicationBasicInfo, - "CreateApplicationVisualization": doCreateApplicationVisualization, - "DescribeConfigMap": doDescribeConfigMap, - "DescribeEdgeNodePodContainers": doDescribeEdgeNodePodContainers, - "DescribeEdgeUnitApplicationPodContainers": doDescribeEdgeUnitApplicationPodContainers, + "DescribeIotDevice": doDescribeIotDevice, + "DescribeEdgeUnitMonitorStatus": doDescribeEdgeUnitMonitorStatus, + "DescribeEdgeNodePods": doDescribeEdgeNodePods, "CreateEdgeNodeBatch": doCreateEdgeNodeBatch, + "DeleteEdgeUnitPod": doDeleteEdgeUnitPod, + "ModifyEdgeUnitDeployGridItem": doModifyEdgeUnitDeployGridItem, "CreateMessageRoute": doCreateMessageRoute, "DescribeYeheResourceLimit": doDescribeYeheResourceLimit, + "DeleteNodeUnit": doDeleteNodeUnit, "ModifyEdgeUnitApplicationYaml": doModifyEdgeUnitApplicationYaml, "DeleteEdgeUnitCloud": doDeleteEdgeUnitCloud, + "DescribeEdgeNodePodContainers": doDescribeEdgeNodePodContainers, + "DescribeEdgeUnitGridEvents": doDescribeEdgeUnitGridEvents, + "ModifyEdgeUnitApplicationVisualization": doModifyEdgeUnitApplicationVisualization, "DescribeEdgeSnNodes": doDescribeEdgeSnNodes, + "DeleteSecret": doDeleteSecret, + "DescribeEdgeUnitsCloud": doDescribeEdgeUnitsCloud, } diff --git a/tccli/services/iecp/v20210914/api.json b/tccli/services/iecp/v20210914/api.json index 85e8f8ce73..9d9e9c3cef 100644 --- a/tccli/services/iecp/v20210914/api.json +++ b/tccli/services/iecp/v20210914/api.json @@ -1,12 +1,5 @@ { "actions": { - "ApplyMarketComponent": { - "document": "产品停售,预下线\n\n从组件市场选中组件并添加到应用模板列表", - "input": "ApplyMarketComponentRequest", - "name": "使用组件市场中的组件", - "output": "ApplyMarketComponentResponse", - "status": "deprecated" - }, "BuildMessageRoute": { "document": "建立消息路由", "input": "BuildMessageRouteRequest", @@ -14,13 +7,6 @@ "output": "BuildMessageRouteResponse", "status": "online" }, - "CreateApplicationVisualization": { - "document": "产品停售,预下线\n\n创建可视化创建应用模板", - "input": "CreateApplicationVisualizationRequest", - "name": "创建可视化创建应用模板", - "output": "CreateApplicationVisualizationResponse", - "status": "deprecated" - }, "CreateConfigMap": { "document": "创建ConfigMap", "input": "CreateConfigMapRequest", @@ -56,20 +42,6 @@ "output": "CreateEdgeNodeUnitTemplateResponse", "status": "online" }, - "CreateEdgeUnitApplicationVisualization": { - "document": "产品停售,预下线\n\n可视化创建应用", - "input": "CreateEdgeUnitApplicationVisualizationRequest", - "name": "可视化创建应用", - "output": "CreateEdgeUnitApplicationVisualizationResponse", - "status": "deprecated" - }, - "CreateEdgeUnitApplicationYaml": { - "document": "产品停售,预下线\n\nyaml方式创建应用", - "input": "CreateEdgeUnitApplicationYamlRequest", - "name": "yaml方式创建应用", - "output": "CreateEdgeUnitApplicationYamlResponse", - "status": "deprecated" - }, "CreateEdgeUnitCloud": { "document": "创建边缘单元", "input": "CreateEdgeUnitCloudRequest", @@ -126,13 +98,6 @@ "output": "CreateUserTokenResponse", "status": "online" }, - "DeleteApplications": { - "document": "产品停售,预下线\n\n删除应用模板", - "input": "DeleteApplicationsRequest", - "name": "删除应用模板", - "output": "DeleteApplicationsResponse", - "status": "deprecated" - }, "DeleteConfigMap": { "document": "删除ConfigMap", "input": "DeleteConfigMapRequest", @@ -161,13 +126,6 @@ "output": "DeleteEdgeNodesResponse", "status": "online" }, - "DeleteEdgeUnitApplications": { - "document": "产品停售,预下线\n\n删除应用列表", - "input": "DeleteEdgeUnitApplicationsRequest", - "name": "删除应用列表", - "output": "DeleteEdgeUnitApplicationsResponse", - "status": "deprecated" - }, "DeleteEdgeUnitCloud": { "document": "删除边缘单元", "input": "DeleteEdgeUnitCloudRequest", @@ -238,34 +196,6 @@ "output": "DeleteSecretResponse", "status": "online" }, - "DescribeApplicationVisualization": { - "document": "产品停售,预下线\n\n获取应用模板可视化配置信息", - "input": "DescribeApplicationVisualizationRequest", - "name": "获取应用模板可视化配置信息", - "output": "DescribeApplicationVisualizationResponse", - "status": "deprecated" - }, - "DescribeApplicationYaml": { - "document": "产品停售,预下线\n\n查询应用模板Yaml", - "input": "DescribeApplicationYamlRequest", - "name": "查询应用模板Yaml", - "output": "DescribeApplicationYamlResponse", - "status": "deprecated" - }, - "DescribeApplicationYamlError": { - "document": "产品停售,预下线\n\n检查应用模板的Yaml配置", - "input": "DescribeApplicationYamlErrorRequest", - "name": "检查应用模板的Yaml配置", - "output": "DescribeApplicationYamlErrorResponse", - "status": "deprecated" - }, - "DescribeApplications": { - "document": "产品停售,预下线\n\n获取应用模板列表", - "input": "DescribeApplicationsRequest", - "name": "获取应用模板列表", - "output": "DescribeApplicationsResponse", - "status": "deprecated" - }, "DescribeConfigMap": { "document": "获取ConfigMap详情", "input": "DescribeConfigMapRequest", @@ -364,55 +294,6 @@ "output": "DescribeEdgeSnNodesResponse", "status": "online" }, - "DescribeEdgeUnitApplicationEvents": { - "document": "产品停售,预下线\n\n获取应用事件列表", - "input": "DescribeEdgeUnitApplicationEventsRequest", - "name": "获取应用事件列表", - "output": "DescribeEdgeUnitApplicationEventsResponse", - "status": "deprecated" - }, - "DescribeEdgeUnitApplicationLogs": { - "document": "产品停售,预下线\n\n获取应用日志", - "input": "DescribeEdgeUnitApplicationLogsRequest", - "name": "获取应用日志", - "output": "DescribeEdgeUnitApplicationLogsResponse", - "status": "deprecated" - }, - "DescribeEdgeUnitApplicationPodContainers": { - "document": "产品停售,预下线\n\n获取应用容器状态", - "input": "DescribeEdgeUnitApplicationPodContainersRequest", - "name": "获取应用容器状态", - "output": "DescribeEdgeUnitApplicationPodContainersResponse", - "status": "deprecated" - }, - "DescribeEdgeUnitApplicationPods": { - "document": "产品停售,预下线\n\n获取应用下Pod状态", - "input": "DescribeEdgeUnitApplicationPodsRequest", - "name": "获取应用下Pod状态", - "output": "DescribeEdgeUnitApplicationPodsResponse", - "status": "deprecated" - }, - "DescribeEdgeUnitApplicationVisualization": { - "document": "产品停售,预下线\n\n获取单元可视化配置信息", - "input": "DescribeEdgeUnitApplicationVisualizationRequest", - "name": "获取单元可视化配置信息", - "output": "DescribeEdgeUnitApplicationVisualizationResponse", - "status": "deprecated" - }, - "DescribeEdgeUnitApplicationYaml": { - "document": "产品停售,预下线\n\n获取应用的Yaml配置", - "input": "DescribeEdgeUnitApplicationYamlRequest", - "name": "获取应用的Yaml配置", - "output": "DescribeEdgeUnitApplicationYamlResponse", - "status": "deprecated" - }, - "DescribeEdgeUnitApplicationYamlError": { - "document": "产品停售,预下线\n\n检查单元应用的Yaml配置", - "input": "DescribeEdgeUnitApplicationYamlErrorRequest", - "name": "检查单元应用的Yaml配置", - "output": "DescribeEdgeUnitApplicationYamlErrorResponse", - "status": "deprecated" - }, "DescribeEdgeUnitApplications": { "document": "获取单元下应用列表", "input": "DescribeEdgeUnitApplicationsRequest", @@ -420,13 +301,6 @@ "output": "DescribeEdgeUnitApplicationsResponse", "status": "online" }, - "DescribeEdgeUnitCloud": { - "document": "产品停售,预下线\n\n查询边缘集群详情", - "input": "DescribeEdgeUnitCloudRequest", - "name": "查询边缘集群详情", - "output": "DescribeEdgeUnitCloudResponse", - "status": "deprecated" - }, "DescribeEdgeUnitDeployGrid": { "document": "查询边缘单元Grid列表", "input": "DescribeEdgeUnitDeployGridRequest", @@ -602,20 +476,6 @@ "output": "GetMarketComponentListResponse", "status": "online" }, - "ModifyApplicationBasicInfo": { - "document": "产品停售,预下线\n\n修改应用模板基本信息", - "input": "ModifyApplicationBasicInfoRequest", - "name": "修改应用模板基本信息", - "output": "ModifyApplicationBasicInfoResponse", - "status": "deprecated" - }, - "ModifyApplicationVisualization": { - "document": "产品停售,预下线\n\n修改应用模板配置", - "input": "ModifyApplicationVisualizationRequest", - "name": "修改应用模板配置", - "output": "ModifyApplicationVisualizationResponse", - "status": "deprecated" - }, "ModifyConfigMap": { "document": "修改ConfigMap", "input": "ModifyConfigMapRequest", @@ -1016,99 +876,6 @@ ], "usage": "out" }, - "ApplicationTemplate": { - "document": "应用模板列表详情", - "members": [ - { - "disabled": false, - "document": "模板ID\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "\"222\"", - "member": "uint64", - "name": "Id", - "required": true, - "type": "int", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "模板名称\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "name", - "member": "string", - "name": "Name", - "required": true, - "type": "string", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "来源。1 自定义应用模板 ; 2 官方应用模板\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "1", - "member": "uint64", - "name": "Source", - "required": true, - "type": "int", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "应用类型\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "v1", - "member": "string", - "name": "WorkloadKind", - "required": true, - "type": "string", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "管理地址\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "http://xxxx", - "member": "string", - "name": "ManageUrl", - "required": true, - "type": "string", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "发布时间\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "xxxx", - "member": "string", - "name": "DistributeTime", - "required": true, - "type": "string", - "value_allowed_null": true - } - ], - "usage": "out" - }, - "ApplyMarketComponentRequest": { - "document": "ApplyMarketComponent请求参数结构体", - "members": [ - { - "disabled": false, - "document": "组件ID", - "example": "1", - "member": "int64", - "name": "ID", - "required": true, - "type": "int" - } - ], - "type": "object" - }, - "ApplyMarketComponentResponse": { - "document": "ApplyMarketComponent返回参数结构体", - "members": [ - { - "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", - "member": "string", - "name": "RequestId", - "type": "string" - } - ], - "type": "object" - }, "BuildMessageRouteRequest": { "document": "BuildMessageRoute请求参数结构体", "members": [ @@ -1421,189 +1188,6 @@ ], "usage": "both" }, - "ContainerStatus": { - "document": "容器状态", - "members": [ - { - "disabled": false, - "document": "容器名\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "Container-Name", - "member": "string", - "name": "Name", - "required": true, - "type": "string", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "容器ID\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "Container-ID", - "member": "string", - "name": "ID", - "required": true, - "type": "string", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "镜像\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "nginx:latest", - "member": "string", - "name": "Image", - "required": true, - "type": "string", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "重启次数\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "1", - "member": "int64", - "name": "RestartCount", - "required": true, - "type": "int", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "状态", - "example": "running", - "member": "string", - "name": "Status", - "required": true, - "type": "string", - "value_allowed_null": false - } - ], - "usage": "out" - }, - "CreateApplicationVisualizationRequest": { - "document": "CreateApplicationVisualization请求参数结构体", - "members": [ - { - "disabled": false, - "document": "基本信息", - "example": "无", - "member": "ApplicationBasicInfo", - "name": "BasicInfo", - "required": true, - "type": "object" - }, - { - "disabled": false, - "document": "基本配置", - "example": "无", - "member": "ApplicationBasicConfig", - "name": "BasicConfig", - "required": true, - "type": "object" - }, - { - "disabled": false, - "document": "卷列表", - "example": "无", - "member": "Volume", - "name": "Volumes", - "required": false, - "type": "list" - }, - { - "disabled": false, - "document": "服务配置", - "example": "无", - "member": "Service", - "name": "Service", - "required": false, - "type": "object" - }, - { - "disabled": false, - "document": "Job配置", - "example": "无", - "member": "Job", - "name": "Job", - "required": false, - "type": "object" - }, - { - "disabled": false, - "document": "CronJob配置", - "example": "无", - "member": "CronJob", - "name": "CronJob", - "required": false, - "type": "object" - }, - { - "disabled": false, - "document": "重新运行策略", - "example": "无", - "member": "string", - "name": "RestartPolicy", - "required": false, - "type": "string" - }, - { - "disabled": false, - "document": "镜像拉取密钥", - "example": "无", - "member": "string", - "name": "ImagePullSecrets", - "required": false, - "type": "list" - }, - { - "disabled": false, - "document": "HPA配置", - "example": "无", - "member": "HorizontalPodAutoscaler", - "name": "HorizontalPodAutoscaler", - "required": false, - "type": "object" - }, - { - "disabled": false, - "document": "初始化容器列表", - "example": "无", - "member": "Container", - "name": "InitContainers", - "required": false, - "type": "list" - }, - { - "disabled": false, - "document": "容器列表", - "example": "无", - "member": "Container", - "name": "Containers", - "required": false, - "type": "list" - } - ], - "type": "object" - }, - "CreateApplicationVisualizationResponse": { - "document": "CreateApplicationVisualization返回参数结构体", - "members": [ - { - "disabled": false, - "document": "应用ID\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "1", - "member": "uint64", - "name": "ApplicationId", - "required": true, - "type": "int", - "value_allowed_null": true - }, - { - "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", - "member": "string", - "name": "RequestId", - "type": "string" - } - ], - "type": "object" - }, "CreateConfigMapRequest": { "document": "CreateConfigMap请求参数结构体", "members": [ @@ -1856,206 +1440,6 @@ ], "type": "object" }, - "CreateEdgeUnitApplicationVisualizationRequest": { - "document": "CreateEdgeUnitApplicationVisualization请求参数结构体", - "members": [ - { - "disabled": false, - "document": "基本信息", - "example": "无", - "member": "ApplicationBasicInfo", - "name": "BasicInfo", - "required": true, - "type": "object" - }, - { - "disabled": false, - "document": "基本配置", - "example": "无", - "member": "ApplicationBasicConfig", - "name": "BasicConfig", - "required": true, - "type": "object" - }, - { - "disabled": false, - "document": "单元ID", - "example": "无", - "member": "uint64", - "name": "EdgeUnitId", - "required": true, - "type": "int" - }, - { - "disabled": false, - "document": "卷列表", - "example": "无", - "member": "Volume", - "name": "Volumes", - "required": false, - "type": "list" - }, - { - "disabled": false, - "document": "服务配置", - "example": "无", - "member": "Service", - "name": "Service", - "required": false, - "type": "object" - }, - { - "disabled": false, - "document": "模版ID", - "example": "无", - "member": "uint64", - "name": "TemplateID", - "required": false, - "type": "int" - }, - { - "disabled": false, - "document": "Job配置", - "example": "无", - "member": "Job", - "name": "Job", - "required": false, - "type": "object" - }, - { - "disabled": false, - "document": "CronJob配置", - "example": "无", - "member": "CronJob", - "name": "CronJob", - "required": false, - "type": "object" - }, - { - "disabled": false, - "document": "重新运行策略", - "example": "无", - "member": "string", - "name": "RestartPolicy", - "required": false, - "type": "string" - }, - { - "disabled": false, - "document": "镜像拉取密钥", - "example": "无", - "member": "string", - "name": "ImagePullSecrets", - "required": false, - "type": "list" - }, - { - "disabled": false, - "document": "HPA配置", - "example": "无", - "member": "HorizontalPodAutoscaler", - "name": "HorizontalPodAutoscaler", - "required": false, - "type": "object" - }, - { - "disabled": false, - "document": "初始化容器列表", - "example": "无", - "member": "Container", - "name": "InitContainers", - "required": false, - "type": "list" - }, - { - "disabled": false, - "document": "容器列表", - "example": "无", - "member": "Container", - "name": "Containers", - "required": false, - "type": "list" - } - ], - "type": "object" - }, - "CreateEdgeUnitApplicationVisualizationResponse": { - "document": "CreateEdgeUnitApplicationVisualization返回参数结构体", - "members": [ - { - "disabled": false, - "document": "应用ID\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "1", - "member": "uint64", - "name": "ApplicationId", - "required": true, - "type": "int", - "value_allowed_null": true - }, - { - "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", - "member": "string", - "name": "RequestId", - "type": "string" - } - ], - "type": "object" - }, - "CreateEdgeUnitApplicationYamlRequest": { - "document": "CreateEdgeUnitApplicationYaml请求参数结构体", - "members": [ - { - "disabled": false, - "document": "单元ID", - "example": "1", - "member": "int64", - "name": "EdgeUnitId", - "required": true, - "type": "int" - }, - { - "disabled": false, - "document": "base64后的Yaml配置", - "example": "无", - "member": "string", - "name": "Yaml", - "required": true, - "type": "string" - }, - { - "disabled": false, - "document": "基本信息", - "example": "无", - "member": "ApplicationBasicInfo", - "name": "BasicInfo", - "required": false, - "type": "object" - } - ], - "type": "object" - }, - "CreateEdgeUnitApplicationYamlResponse": { - "document": "CreateEdgeUnitApplicationYaml返回参数结构体", - "members": [ - { - "disabled": false, - "document": "应用ID\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "1", - "member": "uint64", - "name": "ApplicationId", - "required": true, - "type": "int", - "value_allowed_null": true - }, - { - "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", - "member": "string", - "name": "RequestId", - "type": "string" - } - ], - "type": "object" - }, "CreateEdgeUnitCloudRequest": { "document": "CreateEdgeUnitCloud请求参数结构体", "members": [ @@ -2583,33 +1967,6 @@ ], "usage": "both" }, - "DeleteApplicationsRequest": { - "document": "DeleteApplications请求参数结构体", - "members": [ - { - "disabled": false, - "document": "应用模板ID列表", - "example": "[123,234]", - "member": "uint64", - "name": "ApplicationIds", - "required": true, - "type": "list" - } - ], - "type": "object" - }, - "DeleteApplicationsResponse": { - "document": "DeleteApplications返回参数结构体", - "members": [ - { - "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", - "member": "string", - "name": "RequestId", - "type": "string" - } - ], - "type": "object" - }, "DeleteConfigMapRequest": { "document": "DeleteConfigMap请求参数结构体", "members": [ @@ -2772,42 +2129,6 @@ ], "type": "object" }, - "DeleteEdgeUnitApplicationsRequest": { - "document": "DeleteEdgeUnitApplications请求参数结构体", - "members": [ - { - "disabled": false, - "document": "单元ID", - "example": "1", - "member": "uint64", - "name": "EdgeUnitID", - "required": true, - "type": "int" - }, - { - "disabled": false, - "document": "应用ID列表", - "example": "无", - "member": "uint64", - "name": "ApplicationIDs", - "required": true, - "type": "list" - } - ], - "type": "object" - }, - "DeleteEdgeUnitApplicationsResponse": { - "document": "DeleteEdgeUnitApplications返回参数结构体", - "members": [ - { - "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", - "member": "string", - "name": "RequestId", - "type": "string" - } - ], - "type": "object" - }, "DeleteEdgeUnitCloudRequest": { "document": "DeleteEdgeUnitCloud请求参数结构体", "members": [ @@ -3221,132 +2542,90 @@ ], "type": "object" }, - "DescribeApplicationVisualizationRequest": { - "document": "DescribeApplicationVisualization请求参数结构体", + "DescribeConfigMapRequest": { + "document": "DescribeConfigMap请求参数结构体", "members": [ { "disabled": false, - "document": "应用模板ID", + "document": "单元ID", "example": "1", "member": "uint64", - "name": "ApplicationId", + "name": "EdgeUnitID", "required": true, "type": "int" - } - ], - "type": "object" - }, - "DescribeApplicationVisualizationResponse": { - "document": "DescribeApplicationVisualization返回参数结构体", - "members": [ + }, { "disabled": false, - "document": "基本信息\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "ApplicationBasicInfo", - "name": "BasicInfo", + "document": "ConfigMap名称", + "example": "iecp", + "member": "string", + "name": "ConfigMapName", "required": true, - "type": "object", - "value_allowed_null": true + "type": "string" }, { "disabled": false, - "document": "基本配置\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "ApplicationBasicConfig", - "name": "BasicConfig", - "required": true, - "type": "object", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "卷配置\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "Volume", - "name": "Volumes", - "required": true, - "type": "list", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "初始化容器配置\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "Container", - "name": "InitContainers", - "required": true, - "type": "list", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "容器配置\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "Container", - "name": "Containers", - "required": true, - "type": "list", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "服务配置\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "Service", - "name": "Service", - "required": true, - "type": "object", - "value_allowed_null": true - }, + "document": "ConfigMap命名空间", + "example": "default", + "member": "string", + "name": "ConfigMapNamespace", + "required": false, + "type": "string" + } + ], + "type": "object" + }, + "DescribeConfigMapResponse": { + "document": "DescribeConfigMap返回参数结构体", + "members": [ { "disabled": false, - "document": "Job配置\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "Job", - "name": "Job", + "document": "名称\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "iecp", + "member": "string", + "name": "Name", "required": true, - "type": "object", + "type": "string", "value_allowed_null": true }, { "disabled": false, - "document": "CronJob配置\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "CronJob", - "name": "CronJob", + "document": "命名空间\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "default", + "member": "string", + "name": "Namespace", "required": true, - "type": "object", + "type": "string", "value_allowed_null": true }, { "disabled": false, - "document": "重启策略\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "document": "创建时间\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "2021-01-01 00:00:00", "member": "string", - "name": "RestartPolicy", + "name": "CreateTime", "required": true, "type": "string", "value_allowed_null": true }, { "disabled": false, - "document": "HPA\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "yaml配置\n注意:此字段可能返回 null,表示取不到有效值。", "example": "无", - "member": "HorizontalPodAutoscaler", - "name": "HorizontalPodAutoscaler", + "member": "string", + "name": "Yaml", "required": true, - "type": "object", + "type": "string", "value_allowed_null": true }, { "disabled": false, - "document": "镜像拉取Secret\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "配置项的json格式(base64编码)\n注意:此字段可能返回 null,表示取不到有效值。", "example": "无", "member": "string", - "name": "ImagePullSecrets", + "name": "Json", "required": true, - "type": "list", + "type": "string", "value_allowed_null": true }, { @@ -3358,12 +2637,12 @@ ], "type": "object" }, - "DescribeApplicationYamlErrorRequest": { - "document": "DescribeApplicationYamlError请求参数结构体", + "DescribeConfigMapYamlErrorRequest": { + "document": "DescribeConfigMapYamlError请求参数结构体", "members": [ { "disabled": false, - "document": "Yaml配置", + "document": "yaml文件", "example": "无", "member": "string", "name": "Yaml", @@ -3373,12 +2652,12 @@ ], "type": "object" }, - "DescribeApplicationYamlErrorResponse": { - "document": "DescribeApplicationYamlError返回参数结构体", + "DescribeConfigMapYamlErrorResponse": { + "document": "DescribeConfigMapYamlError返回参数结构体", "members": [ { "disabled": false, - "document": "是否通过\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "校验是通过\n注意:此字段可能返回 null,表示取不到有效值。", "example": "true", "member": "bool", "name": "CheckPass", @@ -3389,8 +2668,8 @@ { "disabled": false, "document": "错误类型\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "int64", + "example": "1", + "member": "uint64", "name": "ErrType", "required": true, "type": "int", @@ -3398,13 +2677,13 @@ }, { "disabled": false, - "document": "错误信息", - "example": "无", + "document": "错误信息\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "1", "member": "string", "name": "ErrInfo", "required": true, "type": "string", - "value_allowed_null": false + "value_allowed_null": true }, { "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", @@ -3415,107 +2694,78 @@ ], "type": "object" }, - "DescribeApplicationYamlRequest": { - "document": "DescribeApplicationYaml请求参数结构体", + "DescribeConfigMapsRequest": { + "document": "DescribeConfigMaps请求参数结构体", "members": [ { "disabled": false, - "document": "应用模板ID", - "example": "333", + "document": "单元ID", + "example": "1", "member": "uint64", - "name": "ApplicationId", + "name": "EdgeUnitID", "required": true, "type": "int" - } - ], - "type": "object" - }, - "DescribeApplicationYamlResponse": { - "document": "DescribeApplicationYaml返回参数结构体", - "members": [ + }, { "disabled": false, - "document": "base64 后的yaml\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "sssss", - "member": "string", - "name": "Yaml", + "document": "翻页偏移量", + "example": "0", + "member": "uint64", + "name": "Offset", "required": true, - "type": "string", - "value_allowed_null": true + "type": "int" }, - { - "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", - "member": "string", - "name": "RequestId", - "type": "string" - } - ], - "type": "object" - }, - "DescribeApplicationsRequest": { - "document": "DescribeApplications请求参数结构体", - "members": [ { "disabled": false, - "document": "模糊搜索字符串", - "example": "name", - "member": "string", - "name": "NamePattern", - "required": false, - "type": "string" + "document": "每页大小(最大100)", + "example": "1", + "member": "uint64", + "name": "Limit", + "required": true, + "type": "int" }, { "disabled": false, - "document": "默认 0", - "example": "0", - "member": "uint64", - "name": "Offset", + "document": "命名空间", + "example": "default", + "member": "string", + "name": "ConfigMapNamespace", "required": false, - "type": "int" + "type": "string" }, { "disabled": false, - "document": "默认 20", - "example": "20", - "member": "uint64", - "name": "Limit", + "document": "模糊匹配的名称", + "example": "test", + "member": "string", + "name": "NamePattern", "required": false, - "type": "int" + "type": "string" }, { "disabled": false, - "document": "仅支持对 DistributeTime 字段排序,ASC/DESC", - "example": "无", + "document": "Sort.Fileld填写CreateTime Sort.Order(ASC|DESC) 默认ASC", + "example": "ASC", "member": "FieldSort", "name": "Sort", "required": false, - "type": "list" + "type": "object" } ], "type": "object" }, - "DescribeApplicationsResponse": { - "document": "DescribeApplications返回参数结构体", + "DescribeConfigMapsResponse": { + "document": "DescribeConfigMaps返回参数结构体", "members": [ { "disabled": false, - "document": "总条数\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "2", - "member": "uint64", - "name": "TotalCount", - "required": true, - "type": "int", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "详细列表", + "document": "ConfigMap列表\n注意:此字段可能返回 null,表示取不到有效值。", "example": "无", - "member": "ApplicationTemplate", - "name": "ApplicationSet", + "member": "ConfigMapBasicInfo", + "name": "Items", "required": true, "type": "list", - "value_allowed_null": false + "value_allowed_null": true }, { "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", @@ -3526,288 +2776,54 @@ ], "type": "object" }, - "DescribeConfigMapRequest": { - "document": "DescribeConfigMap请求参数结构体", + "DescribeDracoEdgeNodeInstallerRequest": { + "document": "DescribeDracoEdgeNodeInstaller请求参数结构体", "members": [ { "disabled": false, - "document": "单元ID", - "example": "1", - "member": "uint64", - "name": "EdgeUnitID", - "required": true, - "type": "int" - }, - { - "disabled": false, - "document": "ConfigMap名称", - "example": "iecp", + "document": "设备SN", + "example": "2222", "member": "string", - "name": "ConfigMapName", + "name": "SN", "required": true, "type": "string" - }, - { - "disabled": false, - "document": "ConfigMap命名空间", - "example": "default", - "member": "string", - "name": "ConfigMapNamespace", - "required": false, - "type": "string" } ], "type": "object" }, - "DescribeConfigMapResponse": { - "document": "DescribeConfigMap返回参数结构体", + "DescribeDracoEdgeNodeInstallerResponse": { + "document": "DescribeDracoEdgeNodeInstaller返回参数结构体", "members": [ { "disabled": false, - "document": "名称\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "iecp", + "document": "在线安装命名\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "sssss", "member": "string", - "name": "Name", + "name": "OnlineInstallationCommand", "required": true, "type": "string", "value_allowed_null": true }, { - "disabled": false, - "document": "命名空间\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "default", + "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", "member": "string", - "name": "Namespace", - "required": true, - "type": "string", - "value_allowed_null": true - }, + "name": "RequestId", + "type": "string" + } + ], + "type": "object" + }, + "DescribeEdgeAgentNodeInstallerRequest": { + "document": "DescribeEdgeAgentNodeInstaller请求参数结构体", + "members": [ { "disabled": false, - "document": "创建时间\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "2021-01-01 00:00:00", - "member": "string", - "name": "CreateTime", + "document": "IECP边缘单元ID", + "example": "1", + "member": "uint64", + "name": "EdgeUnitId", "required": true, - "type": "string", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "yaml配置\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "string", - "name": "Yaml", - "required": true, - "type": "string", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "配置项的json格式(base64编码)\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "string", - "name": "Json", - "required": true, - "type": "string", - "value_allowed_null": true - }, - { - "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", - "member": "string", - "name": "RequestId", - "type": "string" - } - ], - "type": "object" - }, - "DescribeConfigMapYamlErrorRequest": { - "document": "DescribeConfigMapYamlError请求参数结构体", - "members": [ - { - "disabled": false, - "document": "yaml文件", - "example": "无", - "member": "string", - "name": "Yaml", - "required": true, - "type": "string" - } - ], - "type": "object" - }, - "DescribeConfigMapYamlErrorResponse": { - "document": "DescribeConfigMapYamlError返回参数结构体", - "members": [ - { - "disabled": false, - "document": "校验是通过\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "true", - "member": "bool", - "name": "CheckPass", - "required": true, - "type": "bool", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "错误类型\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "1", - "member": "uint64", - "name": "ErrType", - "required": true, - "type": "int", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "错误信息\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "1", - "member": "string", - "name": "ErrInfo", - "required": true, - "type": "string", - "value_allowed_null": true - }, - { - "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", - "member": "string", - "name": "RequestId", - "type": "string" - } - ], - "type": "object" - }, - "DescribeConfigMapsRequest": { - "document": "DescribeConfigMaps请求参数结构体", - "members": [ - { - "disabled": false, - "document": "单元ID", - "example": "1", - "member": "uint64", - "name": "EdgeUnitID", - "required": true, - "type": "int" - }, - { - "disabled": false, - "document": "翻页偏移量", - "example": "0", - "member": "uint64", - "name": "Offset", - "required": true, - "type": "int" - }, - { - "disabled": false, - "document": "每页大小(最大100)", - "example": "1", - "member": "uint64", - "name": "Limit", - "required": true, - "type": "int" - }, - { - "disabled": false, - "document": "命名空间", - "example": "default", - "member": "string", - "name": "ConfigMapNamespace", - "required": false, - "type": "string" - }, - { - "disabled": false, - "document": "模糊匹配的名称", - "example": "test", - "member": "string", - "name": "NamePattern", - "required": false, - "type": "string" - }, - { - "disabled": false, - "document": "Sort.Fileld填写CreateTime Sort.Order(ASC|DESC) 默认ASC", - "example": "ASC", - "member": "FieldSort", - "name": "Sort", - "required": false, - "type": "object" - } - ], - "type": "object" - }, - "DescribeConfigMapsResponse": { - "document": "DescribeConfigMaps返回参数结构体", - "members": [ - { - "disabled": false, - "document": "ConfigMap列表\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "ConfigMapBasicInfo", - "name": "Items", - "required": true, - "type": "list", - "value_allowed_null": true - }, - { - "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", - "member": "string", - "name": "RequestId", - "type": "string" - } - ], - "type": "object" - }, - "DescribeDracoEdgeNodeInstallerRequest": { - "document": "DescribeDracoEdgeNodeInstaller请求参数结构体", - "members": [ - { - "disabled": false, - "document": "设备SN", - "example": "2222", - "member": "string", - "name": "SN", - "required": true, - "type": "string" - } - ], - "type": "object" - }, - "DescribeDracoEdgeNodeInstallerResponse": { - "document": "DescribeDracoEdgeNodeInstaller返回参数结构体", - "members": [ - { - "disabled": false, - "document": "在线安装命名\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "sssss", - "member": "string", - "name": "OnlineInstallationCommand", - "required": true, - "type": "string", - "value_allowed_null": true - }, - { - "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", - "member": "string", - "name": "RequestId", - "type": "string" - } - ], - "type": "object" - }, - "DescribeEdgeAgentNodeInstallerRequest": { - "document": "DescribeEdgeAgentNodeInstaller请求参数结构体", - "members": [ - { - "disabled": false, - "document": "IECP边缘单元ID", - "example": "1", - "member": "uint64", - "name": "EdgeUnitId", - "required": true, - "type": "int" + "type": "int" }, { "disabled": false, @@ -4498,806 +3514,130 @@ }, { "disabled": false, - "document": "默认20", - "example": "0", - "member": "uint64", - "name": "Limit", - "required": false, - "type": "int" - } - ], - "type": "object" - }, - "DescribeEdgeSnNodesResponse": { - "document": "DescribeEdgeSnNodes返回参数结构体", - "members": [ - { - "disabled": false, - "document": "满足条件的总条数\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "10", - "member": "uint64", - "name": "TotalCount", - "required": true, - "type": "int", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "节点详情\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "EdgeDracoNodeInfo", - "name": "NodeSet", - "required": true, - "type": "list", - "value_allowed_null": true - }, - { - "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", - "member": "string", - "name": "RequestId", - "type": "string" - } - ], - "type": "object" - }, - "DescribeEdgeUnitApplicationEventsRequest": { - "document": "DescribeEdgeUnitApplicationEvents请求参数结构体", - "members": [ - { - "disabled": false, - "document": "单元ID", - "example": "1", - "member": "uint64", - "name": "EdgeUnitId", - "required": true, - "type": "int" - }, - { - "disabled": false, - "document": "应用ID", - "example": "1", - "member": "uint64", - "name": "ApplicationId", - "required": true, - "type": "int" - } - ], - "type": "object" - }, - "DescribeEdgeUnitApplicationEventsResponse": { - "document": "DescribeEdgeUnitApplicationEvents返回参数结构体", - "members": [ - { - "disabled": false, - "document": "事件列表\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "Event", - "name": "EventSet", - "required": true, - "type": "list", - "value_allowed_null": true - }, - { - "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", - "member": "string", - "name": "RequestId", - "type": "string" - } - ], - "type": "object" - }, - "DescribeEdgeUnitApplicationLogsRequest": { - "document": "DescribeEdgeUnitApplicationLogs请求参数结构体", - "members": [ - { - "disabled": false, - "document": "单元ID", - "example": "1", - "member": "uint64", - "name": "EdgeUnitId", - "required": true, - "type": "int" - }, - { - "disabled": false, - "document": "应用ID", - "example": "1", - "member": "uint64", - "name": "ApplicationId", - "required": true, - "type": "int" - }, - { - "disabled": false, - "document": "最大条数", - "example": "10", - "member": "uint64", - "name": "Limit", - "required": true, - "type": "int" - }, - { - "disabled": false, - "document": "Pod名", - "example": "无", - "member": "string", - "name": "PodName", - "required": true, - "type": "string" - }, - { - "disabled": false, - "document": "容器名", - "example": "无", - "member": "string", - "name": "ContainerName", - "required": false, - "type": "string" - } - ], - "type": "object" - }, - "DescribeEdgeUnitApplicationLogsResponse": { - "document": "DescribeEdgeUnitApplicationLogs返回参数结构体", - "members": [ - { - "disabled": false, - "document": "日志列表\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "string", - "name": "LogSet", - "required": true, - "type": "list", - "value_allowed_null": true - }, - { - "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", - "member": "string", - "name": "RequestId", - "type": "string" - } - ], - "type": "object" - }, - "DescribeEdgeUnitApplicationPodContainersRequest": { - "document": "DescribeEdgeUnitApplicationPodContainers请求参数结构体", - "members": [ - { - "disabled": false, - "document": "单元ID", - "example": "1", - "member": "uint64", - "name": "EdgeUnitId", - "required": true, - "type": "int" - }, - { - "disabled": false, - "document": "应用ID", - "example": "1", - "member": "uint64", - "name": "ApplicationId", - "required": true, - "type": "int" - }, - { - "disabled": false, - "document": "Pod名", - "example": "pod", - "member": "string", - "name": "PodName", - "required": true, - "type": "string" - } - ], - "type": "object" - }, - "DescribeEdgeUnitApplicationPodContainersResponse": { - "document": "DescribeEdgeUnitApplicationPodContainers返回参数结构体", - "members": [ - { - "disabled": false, - "document": "容器列表\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "ContainerStatus", - "name": "ContainerSet", - "required": true, - "type": "list", - "value_allowed_null": true - }, - { - "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", - "member": "string", - "name": "RequestId", - "type": "string" - } - ], - "type": "object" - }, - "DescribeEdgeUnitApplicationPodsRequest": { - "document": "DescribeEdgeUnitApplicationPods请求参数结构体", - "members": [ - { - "disabled": false, - "document": "单元ID", - "example": "1", - "member": "uint64", - "name": "EdgeUnitId", - "required": true, - "type": "int" - }, - { - "disabled": false, - "document": "应用ID", - "example": "1", - "member": "int64", - "name": "ApplicationId", - "required": true, - "type": "int" - } - ], - "type": "object" - }, - "DescribeEdgeUnitApplicationPodsResponse": { - "document": "DescribeEdgeUnitApplicationPods返回参数结构体", - "members": [ - { - "disabled": false, - "document": "Pod列表\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "PodStatus", - "name": "PodSet", - "required": true, - "type": "list", - "value_allowed_null": true - }, - { - "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", - "member": "string", - "name": "RequestId", - "type": "string" - } - ], - "type": "object" - }, - "DescribeEdgeUnitApplicationVisualizationRequest": { - "document": "DescribeEdgeUnitApplicationVisualization请求参数结构体", - "members": [ - { - "disabled": false, - "document": "单元ID", - "example": "1", - "member": "uint64", - "name": "EdgeUnitId", - "required": true, - "type": "int" - }, - { - "disabled": false, - "document": "应用ID", - "example": "1", - "member": "uint64", - "name": "ApplicationId", - "required": true, - "type": "int" - } - ], - "type": "object" - }, - "DescribeEdgeUnitApplicationVisualizationResponse": { - "document": "DescribeEdgeUnitApplicationVisualization返回参数结构体", - "members": [ - { - "disabled": false, - "document": "基本信息\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "ApplicationBasicInfo", - "name": "BasicInfo", - "required": true, - "type": "object", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "基本配置\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "ApplicationBasicConfig", - "name": "BasicConfig", - "required": true, - "type": "object", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "卷配置\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "Volume", - "name": "Volumes", - "required": true, - "type": "list", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "初始化容器配置\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "Container", - "name": "InitContainers", - "required": true, - "type": "list", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "容器配置\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "Container", - "name": "Containers", - "required": true, - "type": "list", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "服务配置\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "Service", - "name": "Service", - "required": true, - "type": "object", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "Job配置\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "Job", - "name": "Job", - "required": true, - "type": "object", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "CronJob配置\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "CronJob", - "name": "CronJob", - "required": true, - "type": "object", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "重启策略\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "string", - "name": "RestartPolicy", - "required": true, - "type": "string", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "HPA\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "HorizontalPodAutoscaler", - "name": "HorizontalPodAutoscaler", - "required": true, - "type": "object", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "镜像拉取Secret\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "string", - "name": "ImagePullSecrets", - "required": true, - "type": "list", - "value_allowed_null": true - }, - { - "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", - "member": "string", - "name": "RequestId", - "type": "string" - } - ], - "type": "object" - }, - "DescribeEdgeUnitApplicationYamlErrorRequest": { - "document": "DescribeEdgeUnitApplicationYamlError请求参数结构体", - "members": [ - { - "disabled": false, - "document": "Yaml配置", - "example": "无", - "member": "string", - "name": "Yaml", - "required": true, - "type": "string" - } - ], - "type": "object" - }, - "DescribeEdgeUnitApplicationYamlErrorResponse": { - "document": "DescribeEdgeUnitApplicationYamlError返回参数结构体", - "members": [ - { - "disabled": false, - "document": "是否通过\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "true", - "member": "bool", - "name": "CheckPass", - "required": true, - "type": "bool", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "错误类型\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "int64", - "name": "ErrType", - "required": true, - "type": "int", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "错误信息", - "example": "无", - "member": "string", - "name": "ErrInfo", - "required": true, - "type": "string", - "value_allowed_null": false - }, - { - "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", - "member": "string", - "name": "RequestId", - "type": "string" - } - ], - "type": "object" - }, - "DescribeEdgeUnitApplicationYamlRequest": { - "document": "DescribeEdgeUnitApplicationYaml请求参数结构体", - "members": [ - { - "disabled": false, - "document": "单元ID", - "example": "1", - "member": "uint64", - "name": "EdgeUnitId", - "required": true, - "type": "int" - }, - { - "disabled": false, - "document": "应用ID", - "example": "1", - "member": "uint64", - "name": "ApplicationId", - "required": true, - "type": "int" - } - ], - "type": "object" - }, - "DescribeEdgeUnitApplicationYamlResponse": { - "document": "DescribeEdgeUnitApplicationYaml返回参数结构体", - "members": [ - { - "disabled": false, - "document": "Yaml配置\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "string", - "name": "Yaml", - "required": true, - "type": "string", - "value_allowed_null": true - }, - { - "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", - "member": "string", - "name": "RequestId", - "type": "string" - } - ], - "type": "object" - }, - "DescribeEdgeUnitApplicationsRequest": { - "document": "DescribeEdgeUnitApplications请求参数结构体", - "members": [ - { - "disabled": false, - "document": "单元ID", - "example": "1", - "member": "uint64", - "name": "EdgeUnitId", - "required": true, - "type": "int" - }, - { - "disabled": false, - "document": "翻页偏移", - "example": "1", - "member": "uint64", - "name": "Offset", - "required": true, - "type": "int" - }, - { - "disabled": false, - "document": "翻页大小", - "example": "1", - "member": "uint64", - "name": "Limit", - "required": true, - "type": "int" - }, - { - "disabled": false, - "document": "名称模糊匹配", - "example": "无", - "member": "string", - "name": "NamePattern", - "required": false, - "type": "string" - }, - { - "disabled": false, - "document": "字段排序 (Sort.Filed为:StartTime)", - "example": "无", - "member": "FieldSort", - "name": "Sort", - "required": false, - "type": "list" - }, - { - "disabled": false, - "document": "命名空间过滤", - "example": "default", - "member": "string", - "name": "Namespace", - "required": false, - "type": "string" - } - ], - "type": "object" - }, - "DescribeEdgeUnitApplicationsResponse": { - "document": "DescribeEdgeUnitApplications返回参数结构体", - "members": [ - { - "disabled": false, - "document": "总数\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "1", - "member": "uint64", - "name": "TotalCount", - "required": true, - "type": "int", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "应用列表", - "example": "无", - "member": "ApplicationStatusInfo", - "name": "ApplicationSet", - "required": true, - "type": "list", - "value_allowed_null": false - }, - { - "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", - "member": "string", - "name": "RequestId", - "type": "string" - } - ], - "type": "object" - }, - "DescribeEdgeUnitCloudRequest": { - "document": "DescribeEdgeUnitCloud请求参数结构体", - "members": [ - { - "disabled": false, - "document": "边缘集群ID", - "example": "333", - "member": "uint64", - "name": "EdgeUnitId", - "required": true, - "type": "int" - } - ], - "type": "object" - }, - "DescribeEdgeUnitCloudResponse": { - "document": "DescribeEdgeUnitCloud返回参数结构体", - "members": [ - { - "disabled": false, - "document": "边缘集群名称", - "example": "api-test", - "member": "string", - "name": "Name", - "required": true, - "type": "string", - "value_allowed_null": false - }, - { - "disabled": false, - "document": "描述\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "desc", - "member": "string", - "name": "Description", - "required": true, - "type": "string", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "创建时间\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "2021-10-09 06:58:24", - "member": "string", - "name": "CreateTime", - "required": true, - "type": "string", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "更新时间\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "2021-10-09 06:58:24", - "member": "string", - "name": "UpdateTime", - "required": true, - "type": "string", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "集群最后探活时间\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "2021-10-09 15:19:03", - "member": "string", - "name": "LiveTime", - "required": true, - "type": "string", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "集群状态\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "Running", - "member": "string", - "name": "MasterStatus", - "required": true, - "type": "string", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "版本号\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "1.16.7", - "member": "string", - "name": "K8sVersion", - "required": true, - "type": "string", - "value_allowed_null": true - }, + "document": "默认20", + "example": "0", + "member": "uint64", + "name": "Limit", + "required": false, + "type": "int" + } + ], + "type": "object" + }, + "DescribeEdgeSnNodesResponse": { + "document": "DescribeEdgeSnNodes返回参数结构体", + "members": [ { "disabled": false, - "document": "pod cidr\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "10.1.0.0/16", - "member": "string", - "name": "PodCIDR", + "document": "满足条件的总条数\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "10", + "member": "uint64", + "name": "TotalCount", "required": true, - "type": "string", + "type": "int", "value_allowed_null": true }, { "disabled": false, - "document": "service cidr\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "10.2.0.0/16", - "member": "string", - "name": "ServiceCIDR", + "document": "节点详情\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "EdgeDracoNodeInfo", + "name": "NodeSet", "required": true, - "type": "string", + "type": "list", "value_allowed_null": true }, { - "disabled": false, - "document": "集群内网访问地址\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "1.1.1.1:2727", + "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", "member": "string", - "name": "APIServerAddress", - "required": true, - "type": "string", - "value_allowed_null": true - }, + "name": "RequestId", + "type": "string" + } + ], + "type": "object" + }, + "DescribeEdgeUnitApplicationsRequest": { + "document": "DescribeEdgeUnitApplications请求参数结构体", + "members": [ { "disabled": false, - "document": "集群外网访问地址\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "2.2.2.2:6443", - "member": "string", - "name": "APIServerExposeAddress", + "document": "单元ID", + "example": "1", + "member": "uint64", + "name": "EdgeUnitId", "required": true, - "type": "string", - "value_allowed_null": true + "type": "int" }, { "disabled": false, - "document": "用户ID\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "2222", - "member": "string", - "name": "UID", + "document": "翻页偏移", + "example": "1", + "member": "uint64", + "name": "Offset", "required": true, - "type": "string", - "value_allowed_null": true + "type": "int" }, { "disabled": false, - "document": "集群ID\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "33333", + "document": "翻页大小", + "example": "1", "member": "uint64", - "name": "UnitID", + "name": "Limit", "required": true, - "type": "int", - "value_allowed_null": true + "type": "int" }, { "disabled": false, - "document": "集群标识\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "cls-ssssss", + "document": "名称模糊匹配", + "example": "无", "member": "string", - "name": "Cluster", - "required": true, - "type": "string", - "value_allowed_null": true + "name": "NamePattern", + "required": false, + "type": "string" }, { "disabled": false, - "document": "节点统计\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "字段排序 (Sort.Filed为:StartTime)", "example": "无", - "member": "EdgeUnitStatisticItem", - "name": "Node", - "required": true, - "type": "object", - "value_allowed_null": true + "member": "FieldSort", + "name": "Sort", + "required": false, + "type": "list" }, { "disabled": false, - "document": "工作负载统计\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "EdgeUnitStatisticItem", - "name": "Workload", - "required": true, - "type": "object", - "value_allowed_null": true - }, + "document": "命名空间过滤", + "example": "default", + "member": "string", + "name": "Namespace", + "required": false, + "type": "string" + } + ], + "type": "object" + }, + "DescribeEdgeUnitApplicationsResponse": { + "document": "DescribeEdgeUnitApplications返回参数结构体", + "members": [ { "disabled": false, - "document": "Grid应用统计\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "EdgeUnitStatisticItem", - "name": "Grid", + "document": "总数\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "1", + "member": "uint64", + "name": "TotalCount", "required": true, - "type": "object", + "type": "int", "value_allowed_null": true }, { "disabled": false, - "document": "设备统计\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "应用列表", "example": "无", - "member": "EdgeUnitStatisticItem", - "name": "SubDevice", + "member": "ApplicationStatusInfo", + "name": "ApplicationSet", "required": true, - "type": "object", - "value_allowed_null": true + "type": "list", + "value_allowed_null": false }, { "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", @@ -8101,62 +6441,6 @@ ], "usage": "out" }, - "EdgeUnitStatisticItem": { - "document": "单元内的统计信息", - "members": [ - { - "disabled": false, - "document": "总数\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "0", - "member": "uint64", - "name": "Total", - "required": true, - "type": "int", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "在线数\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "0", - "member": "uint64", - "name": "Online", - "required": true, - "type": "int", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "异常数\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "0", - "member": "uint64", - "name": "Abnormal", - "required": true, - "type": "int", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "离线数\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "0", - "member": "uint64", - "name": "Offline", - "required": true, - "type": "int", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "未激活\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "0", - "member": "uint64", - "name": "NotActive", - "required": true, - "type": "int", - "value_allowed_null": true - } - ], - "usage": "out" - }, "Env": { "document": "环境变量", "members": [ @@ -8185,135 +6469,49 @@ "document": "值引用", "example": "无", "member": "EnvValueSelector", - "name": "ValueFrom", - "required": true, - "type": "object", - "value_allowed_null": false - } - ], - "usage": "both" - }, - "EnvValueSelector": { - "document": "环境变量选择", - "members": [ - { - "disabled": false, - "document": "健名", - "example": "无", - "member": "string", - "name": "Key", - "required": true, - "type": "string", - "value_allowed_null": false - }, - { - "disabled": false, - "document": "对象名", - "example": "无", - "member": "string", - "name": "ObjectName", - "required": true, - "type": "string", - "value_allowed_null": false - }, - { - "disabled": false, - "document": "对象值", - "example": "无", - "member": "string", - "name": "ObjectType", - "required": true, - "type": "string", - "value_allowed_null": false - } - ], - "usage": "both" - }, - "Event": { - "document": "事件信息", - "members": [ - { - "disabled": false, - "document": "第一次出现时间\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "2012-01-01 00:00:00", - "member": "string", - "name": "FirstTime", - "required": true, - "type": "string", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "最后一次出现时间\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "2012-01-01 00:00:00", - "member": "string", - "name": "LastTime", - "required": true, - "type": "string", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "事件关联对象类型\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "Deployment", - "member": "string", - "name": "InvolvedObjectKind", - "required": true, - "type": "string", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "事件关联对象名\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "app", - "member": "string", - "name": "InvolvedObjectName", - "required": true, - "type": "string", - "value_allowed_null": true - }, + "name": "ValueFrom", + "required": true, + "type": "object", + "value_allowed_null": false + } + ], + "usage": "both" + }, + "EnvValueSelector": { + "document": "环境变量选择", + "members": [ { "disabled": false, - "document": "事件类型(Normal|Warning)", - "example": "Normal", + "document": "健名", + "example": "无", "member": "string", - "name": "Type", + "name": "Key", "required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, - "document": "原因\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "对象名", "example": "无", "member": "string", - "name": "Reason", + "name": "ObjectName", "required": true, "type": "string", - "value_allowed_null": true + "value_allowed_null": false }, { "disabled": false, - "document": "内容\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "对象值", "example": "无", "member": "string", - "name": "Message", + "name": "ObjectType", "required": true, "type": "string", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "出现次数\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "1", - "member": "uint64", - "name": "Count", - "required": true, - "type": "int", - "value_allowed_null": true + "value_allowed_null": false } ], - "usage": "out" + "usage": "both" }, "FieldSort": { "document": "字段排序", @@ -9400,168 +7598,6 @@ ], "usage": "both" }, - "ModifyApplicationBasicInfoRequest": { - "document": "ModifyApplicationBasicInfo请求参数结构体", - "members": [ - { - "disabled": false, - "document": "应用模板ID", - "example": "333", - "member": "uint64", - "name": "ApplicationId", - "required": true, - "type": "int" - }, - { - "disabled": false, - "document": "应用模板基本信息", - "example": "无", - "member": "ApplicationBasicInfo", - "name": "BasicInfo", - "required": true, - "type": "object" - } - ], - "type": "object" - }, - "ModifyApplicationBasicInfoResponse": { - "document": "ModifyApplicationBasicInfo返回参数结构体", - "members": [ - { - "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", - "member": "string", - "name": "RequestId", - "type": "string" - } - ], - "type": "object" - }, - "ModifyApplicationVisualizationRequest": { - "document": "ModifyApplicationVisualization请求参数结构体", - "members": [ - { - "disabled": false, - "document": "应用ID", - "example": "1", - "member": "uint64", - "name": "ApplicationId", - "required": true, - "type": "int" - }, - { - "disabled": false, - "document": "应用配置", - "example": "无", - "member": "ApplicationBasicConfig", - "name": "BasicConfig", - "required": true, - "type": "object" - }, - { - "disabled": false, - "document": "卷配置", - "example": "无", - "member": "Volume", - "name": "Volumes", - "required": false, - "type": "list" - }, - { - "disabled": false, - "document": "初始容器", - "example": "无", - "member": "Container", - "name": "InitContainers", - "required": false, - "type": "list" - }, - { - "disabled": false, - "document": "容器配置", - "example": "无", - "member": "Container", - "name": "Containers", - "required": false, - "type": "list" - }, - { - "disabled": false, - "document": "服务配置", - "example": "无", - "member": "Service", - "name": "Service", - "required": false, - "type": "object" - }, - { - "disabled": false, - "document": "Job配置", - "example": "无", - "member": "Job", - "name": "Job", - "required": false, - "type": "object" - }, - { - "disabled": false, - "document": "CronJob配置", - "example": "无", - "member": "CronJob", - "name": "CronJob", - "required": false, - "type": "object" - }, - { - "disabled": false, - "document": "重启策略", - "example": "无", - "member": "string", - "name": "RestartPolicy", - "required": false, - "type": "string" - }, - { - "disabled": false, - "document": "镜像拉取密钥", - "example": "无", - "member": "string", - "name": "ImagePullSecrets", - "required": false, - "type": "list" - }, - { - "disabled": false, - "document": "HPA配置", - "example": "无", - "member": "HorizontalPodAutoscaler", - "name": "HorizontalPodAutoscaler", - "required": false, - "type": "object" - }, - { - "disabled": false, - "document": "单个初始化容器", - "example": "无", - "member": "Container", - "name": "InitContainer", - "required": false, - "type": "object" - } - ], - "type": "object" - }, - "ModifyApplicationVisualizationResponse": { - "document": "ModifyApplicationVisualization返回参数结构体", - "members": [ - { - "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", - "member": "string", - "name": "RequestId", - "type": "string" - } - ], - "type": "object" - }, "ModifyConfigMapRequest": { "document": "ModifyConfigMap请求参数结构体", "members": [ @@ -10871,82 +8907,6 @@ ], "usage": "both" }, - "PodStatus": { - "document": "Pod状态信息", - "members": [ - { - "disabled": false, - "document": "名称\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "pod-name", - "member": "string", - "name": "Name", - "required": true, - "type": "string", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "命名空间\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "default", - "member": "string", - "name": "NameSpace", - "required": true, - "type": "string", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "状态\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "Running", - "member": "string", - "name": "Status", - "required": true, - "type": "string", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "IP地址\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "1.0.0.0", - "member": "string", - "name": "IP", - "required": true, - "type": "string", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "启动时间\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "2012-01-01 00:00:00", - "member": "string", - "name": "StartTime", - "required": true, - "type": "string", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "运行时间\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "10", - "member": "int64", - "name": "RunSec", - "required": true, - "type": "int", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "重启次数\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "1", - "member": "int64", - "name": "RestartCount", - "required": true, - "type": "int", - "value_allowed_null": true - } - ], - "usage": "out" - }, "PortConfig": { "document": "端口配置", "members": [ diff --git a/tccli/services/iecp/v20210914/examples.json b/tccli/services/iecp/v20210914/examples.json index e216e6e463..6bb25f19a4 100644 --- a/tccli/services/iecp/v20210914/examples.json +++ b/tccli/services/iecp/v20210914/examples.json @@ -1,13 +1,5 @@ { "actions": { - "ApplyMarketComponent": [ - { - "document": "从组件市场选中组件并添加到应用模板列表", - "input": "POST / HTTP/1.1\nHost: iecp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ApplyMarketComponent\n<公共请求参数>\n\n{\n \"ID\": 8367274\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"5ebf13a2-f925-4ba7-adff-ddbc21d355e3\"\n }\n}", - "title": "使用组件市场中的组件" - } - ], "BuildMessageRoute": [ { "document": "", @@ -16,14 +8,6 @@ "title": "BuildMessageRoute" } ], - "CreateApplicationVisualization": [ - { - "document": "", - "input": "POST / HTTP/1.1\nHost: iecp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateApplicationVisualization\n<公共请求参数>\n\n{\n \"BasicInfo\": {\n \"Name\": \"app\",\n \"Description\": \"test\"\n },\n \"BasicConfig\": {\n \"Name\": \"app\",\n \"Namespace\": \"Default\",\n \"WorkflowKind\": \"Deployment\"\n }\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"5ebf13a2-f925-4ba7-adff-ddbc21d355e3\",\n \"ApplicationId\": 1\n }\n}", - "title": "创建应用模板" - } - ], "CreateConfigMap": [ { "document": "", @@ -64,22 +48,6 @@ "title": "创建边缘单元NodeUnit模板" } ], - "CreateEdgeUnitApplicationVisualization": [ - { - "document": "", - "input": "POST / HTTP/1.1\nHost: iecp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateEdgeUnitApplicationVisualization\n<公共请求参数>\n\n{\n \"BasicInfo\": {\n \"Name\": \"app\",\n \"Description\": \"test\"\n },\n \"BasicConfig\": {\n \"Name\": \"app\",\n \"Namespace\": \"Default\",\n \"WorkflowKind\": \"Deployment\"\n },\n \"EdgeUnitId\": 1\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"5ebf13a2-f925-4ba7-adff-ddbc21d355e3\",\n \"ApplicationId\": 1\n }\n}", - "title": "CreateEdgeUnitApplicationVisualization" - } - ], - "CreateEdgeUnitApplicationYaml": [ - { - "document": "", - "input": "POST / HTTP/1.1\nHost: iecp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateEdgeUnitApplicationYaml\n<公共请求参数>\n\n{\n \"BasicInfo\": {\n \"Name\": \"app\",\n \"Description\": \"test\"\n },\n \"EdgeUnitId\": 1,\n \"Yaml\": \"\"\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"5ebf13a2-f925-4ba7-adff-ddbc21d355e3\",\n \"ApplicationId\": 1\n }\n}", - "title": "CreateEdgeUnitApplicationYaml" - } - ], "CreateEdgeUnitCloud": [ { "document": "", @@ -156,14 +124,6 @@ "title": "CreateUserToken" } ], - "DeleteApplications": [ - { - "document": "删除应用", - "input": "POST / HTTP/1.1\nHost: iecp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteApplications\n<公共请求参数>\n\n{\n \"ApplicationIds\": [\n 123,\n 234\n ]\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"5ebf13a2-f925-4ba7-adff-ddbc21d355e3\"\n }\n}", - "title": "test" - } - ], "DeleteConfigMap": [ { "document": "", @@ -196,14 +156,6 @@ "title": "批量删除边缘节点" } ], - "DeleteEdgeUnitApplications": [ - { - "document": "", - "input": "POST / HTTP/1.1\nHost: iecp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteEdgeUnitApplications\n<公共请求参数>\n\n{\n \"ApplicationIDs\": [\n 1\n ],\n \"EdgeUnitID\": 1\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"5ebf13a2-f925-4ba7-adff-ddbc21d355e3\"\n }\n}", - "title": "DeleteEdgeUnitApplications" - } - ], "DeleteEdgeUnitCloud": [ { "document": "", @@ -284,44 +236,6 @@ "title": "DeleteSecret" } ], - "DescribeApplicationVisualization": [ - { - "document": "可视化配置", - "input": "POST / HTTP/1.1\nHost: iecp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeApplicationVisualization\n<公共请求参数>\n\n{\n \"ApplicationId\": 1\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"e85dcda2-a3cb-4bea-a6e3-e5250bc43baf\",\n \"BasicInfo\": {\n \"Name\": \"teset1213\",\n \"ManageUrl\": \"\",\n \"Description\": \"\",\n \"CreateTime\": \"2021-11-23 20:29:17\"\n },\n \"BasicConfig\": {\n \"Name\": \"teset1213\",\n \"Namespace\": \"default\",\n \"Labels\": [\n {\n \"Key\": \"qcloud-app\",\n \"Value\": \"teset1213\"\n },\n {\n \"Key\": \"k8s-app\",\n \"Value\": \"teset1213\"\n }\n ],\n \"WorkflowKind\": \"Deployment\",\n \"GridUniqKey\": \"\",\n \"NodeSelector\": null,\n \"EnableServiceLinks\": true,\n \"Replicas\": 1,\n \"AvailableReplicas\": null\n },\n \"Volumes\": [],\n \"InitContainers\": null,\n \"Containers\": [\n {\n \"Name\": \"test\",\n \"ImageName\": \"123\",\n \"ImageVersion\": \"test\",\n \"ImagePullPolicy\": \"IfNotPresent\",\n \"VolumeMounts\": null,\n \"CpuRequest\": \"0.25\",\n \"CpuLimit\": \"0.5\",\n \"GpuLimit\": \"0\",\n \"ResourceMapCloud\": null,\n \"MemoryRequest\": \"256\",\n \"MemoryLimit\": \"1024\",\n \"MemoryUnit\": \"MiB\",\n \"Envs\": null,\n \"WorkingDir\": \"\",\n \"Commands\": null,\n \"Args\": null,\n \"SecurityContext\": {\n \"Privilege\": false\n },\n \"ReadinessProbe\": null\n }\n ],\n \"Service\": null,\n \"Job\": null,\n \"CronJob\": null,\n \"RestartPolicy\": null,\n \"HorizontalPodAutoscaler\": null,\n \"ImagePullSecrets\": null\n }\n}", - "title": "test" - } - ], - "DescribeApplicationYaml": [ - { - "document": "示例", - "input": "POST / HTTP/1.1\nHost: iecp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeApplicationYaml\n<公共请求参数>\n\n{\n \"ApplicationId\": 1\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"7df34382-cc91-4cef-b551-4a065eb70c0b\",\n \"Yaml\": \"YXBpVmVyc2lvbjogYXBwcy92MQpraW5kOiBEZXBsb3ltZW50Cm1ldGFkYXRhOgogIGNyZWF0aW9uVGltZXN0YW1wOiBudWxsCiAgbGFiZWxzOgogICAgazhzLWFwcDogdGVzZXQxMjEzCiAgICBxY2xvdWQtYXBwOiB0ZXNldDEyMTMKICBuYW1lOiB0ZXNldDEyMTMKICBuYW1lc3BhY2U6IGRlZmF1bHQKc3BlYzoKICByZXBsaWNhczogMQogIHNlbGVjdG9yOgogICAgbWF0Y2hMYWJlbHM6CiAgICAgIGs4cy1hcHA6IHRlc2V0MTIxMwogICAgICBxY2xvdWQtYXBwOiB0ZXNldDEyMTMKICBzdHJhdGVneToKICAgIHJvbGxpbmdVcGRhdGU6CiAgICAgIG1heFN1cmdlOiAyNSUKICAgICAgbWF4VW5hdmFpbGFibGU6IDI1JQogICAgdHlwZTogUm9sbGluZ1VwZGF0ZQogIHRlbXBsYXRlOgogICAgbWV0YWRhdGE6CiAgICAgIGNyZWF0aW9uVGltZXN0YW1wOiBudWxsCiAgICAgIGxhYmVsczoKICAgICAgICBrOHMtYXBwOiB0ZXNldDEyMTMKICAgICAgICBxY2xvdWQtYXBwOiB0ZXNldDEyMTMKICAgIHNwZWM6CiAgICAgIGNvbnRhaW5lcnM6CiAgICAgIC0gZW52OgogICAgICAgIC0gbmFtZTogTlZJRElBX1ZJU0lCTEVfREVWSUNFUwogICAgICAgIGltYWdlOiAxMjM6dGVzdAogICAgICAgIGltYWdlUHVsbFBvbGljeTogSWZOb3RQcmVzZW50CiAgICAgICAgbmFtZTogdGVzdAogICAgICAgIHJlc291cmNlczoKICAgICAgICAgIGxpbWl0czoKICAgICAgICAgICAgY3B1OiA1MDBtCiAgICAgICAgICAgIG1lbW9yeTogMUdpCiAgICAgICAgICByZXF1ZXN0czoKICAgICAgICAgICAgY3B1OiAyNTBtCiAgICAgICAgICAgIG1lbW9yeTogMjU2TWkKICAgICAgICBzZWN1cml0eUNvbnRleHQ6CiAgICAgICAgICBwcml2aWxlZ2VkOiBmYWxzZQpzdGF0dXM6IHt9CgoKLS0tCgoKCi0tLQoK\"\n }\n}", - "title": "test" - } - ], - "DescribeApplicationYamlError": [ - { - "document": "", - "input": "POST / HTTP/1.1\nHost: iecp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeApplicationYamlError\n<公共请求参数>\n\n{\n \"Yaml\": \"\"\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"5ebf13a2-f925-4ba7-adff-ddbc21d355e3\",\n \"CheckPass\": true,\n \"ErrType\": 0,\n \"ErrInfo\": \"\"\n }\n}", - "title": "DescribeApplicationYamlError" - } - ], - "DescribeApplications": [ - { - "document": "", - "input": "POST / HTTP/1.1\nHost: iecp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeApplications\n<公共请求参数>\n\n{\n \"NamePattern\": \"\",\n \"Limit\": \"0\",\n \"Offset\": \"0\"\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"35d6452e-32df-4ced-9095-25a4baaa009e\",\n \"TotalCount\": 2,\n \"ApplicationSet\": [\n {\n \"Id\": 100000,\n \"Name\": \"test\",\n \"Source\": 1,\n \"ManageUrl\": \"\",\n \"DistributeTime\": \"2021-10-26 14:38:41\",\n \"WorkloadKind\": \"Deployment\"\n },\n {\n \"Id\": 100001,\n \"Name\": \"test-garry\",\n \"Source\": 1,\n \"ManageUrl\": \"\",\n \"DistributeTime\": \"2021-10-26 14:42:12\",\n \"WorkloadKind\": \"StatefulSet\"\n }\n ]\n }\n}", - "title": "test" - }, - { - "document": "", - "input": "POST / HTTP/1.1\nHost: iecp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeApplications\n<公共请求参数>\n\n{\n \"NamePattern\": \"\",\n \"Limit\": \"10\",\n \"Offset\": \"0\"\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"43681fb3-2af9-4e4a-8f0d-04fbeaf87079\",\n \"TotalCount\": 1,\n \"ApplicationSet\": [\n {\n \"Id\": 100000,\n \"Name\": \"test\",\n \"Source\": 1,\n \"ManageUrl\": \"\",\n \"DistributeTime\": \"2021-10-26 14:38:41\",\n \"WorkloadKind\": \"Deployment\"\n }\n ]\n }\n}", - "title": "test2" - } - ], "DescribeConfigMap": [ { "document": "", @@ -434,62 +348,6 @@ "title": "查询预添加节点" } ], - "DescribeEdgeUnitApplicationEvents": [ - { - "document": "", - "input": "POST / HTTP/1.1\nHost: iecp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEdgeUnitApplicationEvents\n<公共请求参数>\n\n{\n \"ApplicationId\": 1,\n \"EdgeUnitId\": 1\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"5ebf13a2-f925-4ba7-adff-ddbc21d355e3\",\n \"EventSet\": []\n }\n}", - "title": "DescribeEdgeUnitApplicationEvents" - } - ], - "DescribeEdgeUnitApplicationLogs": [ - { - "document": "", - "input": "POST / HTTP/1.1\nHost: iecp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEdgeUnitApplicationLogs\n<公共请求参数>\n\n{\n \"ApplicationId\": 1,\n \"EdgeUnitId\": 1,\n \"Limit\": 10,\n \"PodName\": \"Pod\"\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"5ebf13a2-f925-4ba7-adff-ddbc21d355e3\",\n \"LogSet\": []\n }\n}", - "title": "DescribeEdgeUnitApplicationLogs" - } - ], - "DescribeEdgeUnitApplicationPodContainers": [ - { - "document": "", - "input": "POST / HTTP/1.1\nHost: iecp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEdgeUnitApplicationPodContainers\n<公共请求参数>\n\n{\n \"ApplicationId\": 1,\n \"EdgeUnitId\": 1,\n \"PodName\": \"Pod\"\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"5ebf13a2-f925-4ba7-adff-ddbc21d355e3\",\n \"ContainerSet\": []\n }\n}", - "title": "DescribeEdgeUnitApplicationPodContainers" - } - ], - "DescribeEdgeUnitApplicationPods": [ - { - "document": "", - "input": "POST / HTTP/1.1\nHost: iecp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEdgeUnitApplicationPods\n<公共请求参数>\n\n{\n \"ApplicationId\": 1,\n \"EdgeUnitId\": 1\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"5ebf13a2-f925-4ba7-adff-ddbc21d355e3\",\n \"PodSet\": []\n }\n}", - "title": "DescribeEdgeUnitApplicationPods" - } - ], - "DescribeEdgeUnitApplicationVisualization": [ - { - "document": "", - "input": "POST / HTTP/1.1\nHost: iecp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEdgeUnitApplicationVisualization\n<公共请求参数>\n\n{\n \"ApplicationId\": 1,\n \"EdgeUnitId\": 1\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"5ebf13a2-f925-4ba7-adff-ddbc21d355e3\",\n \"BasicInfo\": null,\n \"BasicConfig\": null,\n \"Volumes\": [],\n \"InitContainers\": [],\n \"Containers\": [],\n \"Service\": null,\n \"Job\": null,\n \"CronJob\": null,\n \"RestartPolicy\": null,\n \"HorizontalPodAutoscaler\": null,\n \"ImagePullSecrets\": []\n }\n}", - "title": "DescribeEdgeUnitApplicationVisualization" - } - ], - "DescribeEdgeUnitApplicationYaml": [ - { - "document": "", - "input": "POST / HTTP/1.1\nHost: iecp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEdgeUnitApplicationYaml\n<公共请求参数>\n\n{\n \"ApplicationId\": 1,\n \"EdgeUnitId\": 1\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"5ebf13a2-f925-4ba7-adff-ddbc21d355e3\",\n \"Yaml\": \"\"\n }\n}", - "title": "DescribeEdgeUnitApplicationYaml" - } - ], - "DescribeEdgeUnitApplicationYamlError": [ - { - "document": "", - "input": "POST / HTTP/1.1\nHost: iecp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEdgeUnitApplicationYamlError\n<公共请求参数>\n\n{\n \"Yaml\": \"\"\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"5ebf13a2-f925-4ba7-adff-ddbc21d355e3\",\n \"CheckPass\": true,\n \"ErrType\": 0,\n \"ErrInfo\": \"\"\n }\n}", - "title": "DescribeEdgeUnitApplicationYamlError" - } - ], "DescribeEdgeUnitApplications": [ { "document": "", @@ -498,14 +356,6 @@ "title": "DescribeEdgeUnitApplications" } ], - "DescribeEdgeUnitCloud": [ - { - "document": "", - "input": "POST / HTTP/1.1\nHost: iecp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEdgeUnitCloud\n<公共请求参数>\n\n{\n \"EdgeUnitId\": \"5\"\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"61abe8f0-ef42-4432-ad55-6092baaec209\",\n \"Name\": \"test-11\",\n \"Description\": \"字符串\",\n \"CreateTime\": \"2021-10-09 15:49:37\",\n \"UpdateTime\": \"2021-10-09 15:49:37\",\n \"LiveTime\": \"2021-10-09 16:15:40\",\n \"MasterStatus\": \"Running\",\n \"K8sVersion\": \"1.16.7\",\n \"PodCIDR\": \"10.1.0.0/16\",\n \"ServiceCIDR\": \"10.2.0.0/16\",\n \"APIServerAddress\": \"11.38.56.131:11302\",\n \"APIServerExposeAddress\": \"211.159.144.178:443\",\n \"UID\": \"600000559632\",\n \"UnitID\": 5,\n \"Cluster\": \"cls-g6uuoeez\",\n \"Node\": {\n \"NotActive\": 0,\n \"Offline\": 0,\n \"Total\": 1,\n \"Abnormal\": 0,\n \"Online\": 1\n },\n \"Grid\": {\n \"NotActive\": 0,\n \"Offline\": 0,\n \"Total\": 0,\n \"Abnormal\": 0,\n \"Online\": 0\n },\n \"Workload\": {\n \"NotActive\": 1,\n \"Offline\": 1,\n \"Total\": 1,\n \"Abnormal\": 1,\n \"Online\": 1\n },\n \"SubDevice\": null\n }\n}", - "title": "获取集群详细实例" - } - ], "DescribeEdgeUnitDeployGrid": [ { "document": "", @@ -724,22 +574,6 @@ "title": "获取组件市场组件列表" } ], - "ModifyApplicationBasicInfo": [ - { - "document": "修改应用名称", - "input": "POST / HTTP/1.1\nHost: iecp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyApplicationBasicInfo\n<公共请求参数>\n\n{\n \"ApplicationId\": 1000,\n \"BasicInfo\": {\n \"Name\": \"test\"\n }\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"5ebf13a2-f925-4ba7-adff-ddbc21d355e3\"\n }\n}", - "title": "test" - } - ], - "ModifyApplicationVisualization": [ - { - "document": "", - "input": "POST / HTTP/1.1\nHost: iecp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyApplicationVisualization\n<公共请求参数>\n\n{\n \"BasicConfig\": {\n \"Name\": \"app\",\n \"Namespace\": \"Default\",\n \"WorkflowKind\": \"Deployment\"\n },\n \"ApplicationId\": 1\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"5ebf13a2-f925-4ba7-adff-ddbc21d355e3\"\n }\n}", - "title": "ModifyEdgeUnitApplicationVisualization" - } - ], "ModifyConfigMap": [ { "document": "", diff --git a/tccli/services/ims/v20201229/api.json b/tccli/services/ims/v20201229/api.json index 16905fa55b..ebef8446d1 100644 --- a/tccli/services/ims/v20201229/api.json +++ b/tccli/services/ims/v20201229/api.json @@ -8,7 +8,7 @@ "status": "online" }, "ImageModeration": { - "document": "本接口(Image Moderation, IM)用于提交图片文件进行同步智能审核任务。使用前请您使用腾讯云主账号登录控制台 [开通图片内容安全服务](https://console.cloud.tencent.com/cms) 并调整好对应的业务配置。\n### 接口使用说明:\n- 前往“[内容安全控制台-图片内容安全](https://console.cloud.tencent.com/cms)”开启使用图片内容安全服务,首次开通服务的用户可免费领用试用套餐包,包含**3000张图片**识别额度,有效期为15天。\n- 该接口为收费接口,计费方式敬请参见 [腾讯云图片内容安全定价](https://cloud.tencent.com/product/ims/pricing)。\n\n### 接口功能说明:\n- 支持对图片文件或链接进行检测,通过深度学习技术,识别可能令人反感、不安全或不适宜的违规图片内容;\n- 支持对GIF图/长图进行截帧或拆分检测;\n- 支持识别多种违规场景,包括:低俗、违法违规、色情、广告等场景;\n- 支持多种物体检测(实体、广告台标、二维码等)及图片中文本的OCR文本识别;\n- 支持根据不同的业务场景配置自定义的审核策略;\n- 支持用户自定义选择图片风险库,打击自定义识别类型的违规图片(目前仅支持黑名单配置);\n- 支持在审核图片内容时同时关联账号或设备信息,可识别违规风险账号或设备。\n\n### 接口调用说明:\n- 图片文件大小限制:**Base64编码内容应小于10MB**;**URL资源应小于30MB**\n- 图片默认尺寸支持:**长和宽 需>50分辨率且<10000分辨率,并且图片长宽比<90:1;**\n- 图片文件分辨率支持:建议**分辨率大于256x256**,否则可能会影响识别效果;\n- 图片文件支持格式:PNG、JPG、JPEG、BMP、GIF、WEBP格式;\n- 图片文件链接支持的传输协议:HTTP、HTTPS;\n- 若传入图片文件的访问链接,则需要注意**图片下载时间限制为3秒**,为保障被检测图片的稳定性和可靠性,建议您使用腾讯云COS存储或者CDN缓存等;\n\n\n
    \n
    \n
    \n
    \n 关于版本迭代的描述\n
    \n
    \n
    \n
    \n

    当前页面版本为图片内容安全2020版本,2020.11.3日前接入的图片内容安全接口为2019版本,在此时间前接入的用户可直接访问以下链接进行维护操作:图片内容安全-2019版本

    \n

    2020版本相对2019版本进行了升级,支持更灵活的多场景业务策略配置以及更丰富的识别回调信息,满足不同业务的识别需求,建议按照2020版本接入指引进行接口升级;同时,2019版本也会持续维护直至用户不再使用为止。

    \n
    \n
    \n
    \n
    ", + "document": "本接口(Image Moderation, IM)用于提交图片文件进行同步智能审核任务。使用前请您使用腾讯云主账号登录控制台 [开通图片内容安全服务](https://console.cloud.tencent.com/cms) 并调整好对应的业务配置。\n### 接口使用说明:\n- 前往“[内容安全控制台-图片内容安全](https://console.cloud.tencent.com/cms)”开启使用图片内容安全服务,首次开通服务的用户可免费领用试用套餐包,包含**3000张图片**识别额度,有效期为15天。\n- 该接口为收费接口,计费方式敬请参见 [腾讯云图片内容安全定价](https://cloud.tencent.com/product/ims/pricing)。\n\n### 接口功能说明:\n- 支持对图片文件或链接进行检测,通过深度学习技术,识别可能令人反感、不安全或不适宜的违规图片内容;\n- 支持对GIF图/长图进行截帧或拆分检测;\n- 支持识别多种违规场景,包括:低俗、违法违规、色情、广告等场景;\n- 支持多种物体检测(实体、广告台标、二维码等)及图片中文本的OCR文本识别;\n- 支持根据不同的业务场景配置自定义的审核策略;\n- 支持用户自定义选择图片风险库,打击自定义识别类型的违规图片(目前仅支持黑名单配置);\n- 支持在审核图片内容时同时关联账号或设备信息,可识别违规风险账号或设备。\n\n### 接口调用说明:\n- 图片文件大小限制:图片文件须大于256字节,Base64编码后的FileContent内容应小于10MB,FileURL的源图应小于30MB;\n- 图片默认尺寸支持:**长和宽 需>50分辨率且<10000分辨率,并且图片长宽比<90:1;**\n- 图片文件分辨率支持:建议**分辨率大于256x256**,否则可能会影响识别效果;\n- 图片文件支持格式(无备注默认只支持静态图):BMP、ICO、JPEG、JNG、PNG、TIFF、RAW、SVG、GIF(静、动)、WEBP(静、动)、HEIC(静、动),动图在处理时,默认最多抽取5帧图像,并且每隔5帧进行一次采样;\n- 图片文件链接支持的传输协议:HTTP、HTTPS;\n- 图片审核仅支持单次传输一条URL进行审核,支持多并发请求。默认并发为100 QPS,超过此限制将返回`RequestLimitExceeded`错误;\n- 若传入图片文件的访问链接时,为保障被检测图片的稳定性和可靠性,建议您使用腾讯云COS存储或者CDN缓存等。\n\n### 图片下载说明:\n- 下载时间限制:图片首次下载限制为3秒。如超过此时间,将重试一次,重试时间为3秒。如果重试仍超时,将返回 `ImageDownloadError`(下载超时);\n- 网络安全策略:由于网络安全策略,带有重定向的链接(如HTTP返回302状态码)可能导致下载失败。请尽量避免使用此类链接,以确保下载顺利进行,可能返回 `ResourceUnavailable.ImageDownloadError`;\n- 异步回源支持:目前不支持通过异步回源方式获取图片源。请确保使用直接链接,以避免下载失败。\n\n
    \n
    \n
    \n
    \n 关于版本迭代的描述\n
    \n
    \n
    \n
    \n

    当前页面版本为图片内容安全2020版本,2020.11.3日前接入的图片内容安全接口为2019版本,在此时间前接入的用户可直接访问以下链接进行维护操作:图片内容安全-2019版本

    \n

    2020版本相对2019版本进行了升级,支持更灵活的多场景业务策略配置以及更丰富的识别回调信息,满足不同业务的识别需求,建议按照2020版本接入指引进行接口升级;同时,2019版本也会持续维护直至用户不再使用为止。

    \n
    \n
    \n
    \n
    ", "input": "ImageModerationRequest", "name": "图片同步检测", "output": "ImageModerationResponse", @@ -223,7 +223,7 @@ { "disabled": false, "document": "该字段表示策略的具体编号,用于接口调度,在内容安全控制台中可配置。若不传入Biztype参数(留空),则代表采用默认的识别策略;传入则会在审核时根据业务场景采取不同的审核策略。
    备注:Biztype仅为数字、字母与下划线的组合,长度为3-32个字符;不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。", - "example": "test_1001", + "example": "182600012300002017", "member": "string", "name": "BizType", "required": false, @@ -232,7 +232,7 @@ { "disabled": false, "document": "该字段表示您为待检测对象分配的数据ID,传入后可方便您对文件进行标识和管理。
    取值:由英文字母(大小写均可)、数字及四个特殊符号(_,-,@,#)组成,**长度不超过64个字符**。", - "example": "1213", + "example": "a61237dd-c2a0-43e7-a3da-d27022d39ba7", "member": "string", "name": "DataId", "required": false, @@ -240,7 +240,7 @@ }, { "disabled": false, - "document": "该字段表示待检测图片文件内容的Base64编码,图片Base64编码内容大小不超过10MB,建议**分辨率不低于256x256**,否则可能会影响识别效果。
    备注: **该字段与FileUrl必须选择输入其中一个**。", + "document": "该字段表示待检测图片文件内容的Base64编码,由于云API对请求包体有大小限制,图片的**Base64编码内容大小不得超过10MB**。
    备注:**该字段与FileUrl必须选择输入其中一个**。
    ", "example": "aHR0cDovL2lubmVycG9ybnNjcmVlbnNob3QtMTI1MjgxMzg1MC5jb3MuYXAtZ3Vh", "member": "string", "name": "FileContent", @@ -249,8 +249,8 @@ }, { "disabled": false, - "document": "该字段表示待检测图片文件的访问链接。图片支持PNG、JPG、JPEG、BMP、GIF、WEBP格式,且**大小不得超过30MB**,建议**分辨率不低于256x256**。**图片下载时间限制为3秒,超时将进行一次重试,若再次失败,则会返回下载超时**。由于网络安全策略,**送审带重定向的链接**可能引起下载失败,请尽量避免使用返回302或其他非200状态码的HTTP链接,会导致接口返回 ResourceUnavailable.ImageDownloadError 错误。
    备注:该字段与FileContent必须选择输入其中一个。", - "example": "https://xxx.jpg", + "document": "该字段表示待检测图片文件的访问链接,URL源图**大小不超过30MB**。
    备注:该字段与FileContent必须选择输入其中一个。
    ", + "example": "https://cmstest-123.cos.ap-guangzhou.myqcloud.com/image.jpg", "member": "string", "name": "FileUrl", "required": false, @@ -259,7 +259,7 @@ { "disabled": false, "document": "**GIF检测专用**,用于表示GIF截帧频率(每隔多少张图片抽取一帧进行检测);默认值为0,此时只会检测GIF的第一帧或不进行切分处理。
    备注:Interval与MaxFrames参数需要组合使用。例如,Interval=3, MaxFrames=400,则代表在检测GIF时,将每间隔2帧检测一次且最多检测400帧。", - "example": "1", + "example": "0", "member": "int64", "name": "Interval", "required": false, @@ -268,7 +268,7 @@ { "disabled": false, "document": "**GIF检测专用**,用于标识最大截帧数量;默认值为1,此时只会检测输入GIF的第一帧不进行切分处理(可能会造成处理超时)。
    备注:Interval与MaxFrames参数需要组合使用。例如,Interval=3, MaxFrames=400,则代表在检测GIF时,将每间隔2帧检测一次且最多检测400帧。", - "example": "1", + "example": "5", "member": "int64", "name": "MaxFrames", "required": false, @@ -391,7 +391,7 @@ { "disabled": false, "document": "该字段用于返回检测对象对应请求参数中的BizType。", - "example": "test_1001", + "example": "182600012300002017", "member": "string", "name": "BizType", "output_required": true, diff --git a/tccli/services/ims/v20201229/examples.json b/tccli/services/ims/v20201229/examples.json index 7a11ca023b..7d64c23c5f 100644 --- a/tccli/services/ims/v20201229/examples.json +++ b/tccli/services/ims/v20201229/examples.json @@ -11,8 +11,8 @@ "ImageModeration": [ { "document": "图片同步检测", - "input": "POST / HTTP/1.1\nHost: ims.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ImageModeration\n<公共请求参数>\n\n{\n \"BizType\": \"test_1001\",\n \"DataId\": \"1213\",\n \"FileUrl\": \"https://xxx.jpg\"\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"a61237dd-c2a0-43e7-a3da-d27022d39ba7\",\n \"DataId\": \"a61237dd-c2a0-43e7-a3da-d27022d39ba7\",\n \"BizType\": \"test_1001\",\n \"Suggestion\": \"Block\",\n \"FileMD5\": \"\",\n \"Label\": \"Porn\",\n \"SubLabel\": \"SexyBehavior\",\n \"Score\": 90,\n \"LabelResults\": [\n {\n \"Scene\": \"Porn\",\n \"Suggestion\": \"Block\",\n \"Label\": \"Porn\",\n \"SubLabel\": \"SexyBehavior\",\n \"Score\": 90,\n \"Details\": []\n }\n ],\n \"ObjectResults\": [\n {\n \"Scene\": \"QrCode\",\n \"Suggestion\": \"Block\",\n \"Label\": \"Ad\",\n \"SubLabel\": \"\",\n \"Score\": 100,\n \"Names\": [\n \"QRCODE\"\n ],\n \"Details\": [\n {\n \"Id\": 0,\n \"Name\": \"QRCODE\",\n \"Value\": \"https://test.com/test\",\n \"ObjectId\": \"\",\n \"SubLabel\": \"QRCODE\",\n \"Score\": 100,\n \"Location\": {\n \"X\": 155.01746,\n \"Y\": 396.01746,\n \"Width\": 769.9824,\n \"Height\": 769.98254,\n \"Rotate\": 0\n }\n }\n ]\n }\n ],\n \"OcrResults\": [],\n \"LibResults\": [],\n \"RecognitionResults\": [],\n \"Extra\": \"\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: ims.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ImageModeration\n<公共请求参数>\n\n{\n \"BizType\": \"182600012300002017\",\n \"DataId\": \"a61237dd-c2a0-43e7-a3da-d27022d39ba7\",\n \"FileUrl\": \"https://cmstest-123.cos.ap-guangzhou.myqcloud.com/image.jpg\"\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"a61237dd-c2a0-43e7-a3da-d27022d39ba7\",\n \"DataId\": \"a61237dd-c2a0-43e7-a3da-d27022d39ba7\",\n \"BizType\": \"182600012300002017\",\n \"Suggestion\": \"Block\",\n \"FileMD5\": \"\",\n \"Label\": \"Porn\",\n \"SubLabel\": \"SexyBehavior\",\n \"Score\": 90,\n \"LabelResults\": [\n {\n \"Scene\": \"Porn\",\n \"Suggestion\": \"Block\",\n \"Label\": \"Porn\",\n \"SubLabel\": \"SexyBehavior\",\n \"Score\": 90,\n \"Details\": []\n }\n ],\n \"ObjectResults\": [\n {\n \"Scene\": \"QrCode\",\n \"Suggestion\": \"Block\",\n \"Label\": \"Ad\",\n \"SubLabel\": \"\",\n \"Score\": 100,\n \"Names\": [\n \"QRCODE\"\n ],\n \"Details\": [\n {\n \"Id\": 0,\n \"Name\": \"QRCODE\",\n \"Value\": \"https://test.com/test\",\n \"ObjectId\": \"\",\n \"SubLabel\": \"QRCODE\",\n \"Score\": 100,\n \"Location\": {\n \"X\": 155.01746,\n \"Y\": 396.01746,\n \"Width\": 769.9824,\n \"Height\": 769.98254,\n \"Rotate\": 0\n }\n }\n ]\n }\n ],\n \"OcrResults\": [],\n \"LibResults\": [],\n \"RecognitionResults\": [],\n \"Extra\": \"\"\n }\n}", "title": "图片同步检测" } ] diff --git a/tccli/services/monitor/monitor_client.py b/tccli/services/monitor/monitor_client.py index 8f761004c2..c35f315d80 100644 --- a/tccli/services/monitor/monitor_client.py +++ b/tccli/services/monitor/monitor_client.py @@ -1057,7 +1057,7 @@ def doDescribePrometheusClusterAgents(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doCheckIsPrometheusNewUser(args, parsed_globals): +def doDescribePrometheusZones(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -1086,11 +1086,11 @@ def doCheckIsPrometheusNewUser(args, parsed_globals): client = mod.MonitorClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.CheckIsPrometheusNewUserRequest() + model = models.DescribePrometheusZonesRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.CheckIsPrometheusNewUser(model) + rsp = client.DescribePrometheusZones(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -1317,58 +1317,6 @@ def doDescribeGrafanaConfig(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doModifyPrometheusConfig(args, parsed_globals): - g_param = parse_global_arg(parsed_globals) - - if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: - cred = credential.CVMRoleCredential() - elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]: - cred = credential.STSAssumeRoleCredential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')], - g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"] - ) - 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): - cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials() - else: - cred = credential.Credential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token] - ) - http_profile = HttpProfile( - reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]), - reqMethod="POST", - endpoint=g_param[OptionsDefine.Endpoint], - proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')] - ) - profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256") - if g_param[OptionsDefine.Language]: - profile.language = g_param[OptionsDefine.Language] - mod = CLIENT_MAP[g_param[OptionsDefine.Version]] - client = mod.MonitorClient(cred, g_param[OptionsDefine.Region], profile) - client._sdkVersion += ("_CLI_" + __version__) - models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.ModifyPrometheusConfigRequest() - model.from_json_string(json.dumps(args)) - start_time = time.time() - while True: - rsp = client.ModifyPrometheusConfig(model) - result = rsp.to_json_string() - try: - json_obj = json.loads(result) - except TypeError as e: - json_obj = json.loads(result.decode('utf-8')) # python3.3 - if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']: - break - cur_time = time.time() - if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']: - raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' % - (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'], - search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))) - else: - print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)) - time.sleep(g_param['OptionsDefine.WaiterInfo']['interval']) - FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) - - def doModifyAlarmPolicyInfo(args, parsed_globals): g_param = parse_global_arg(parsed_globals) @@ -5737,58 +5685,6 @@ def doDescribePrometheusTempSync(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribePrometheusZones(args, parsed_globals): - g_param = parse_global_arg(parsed_globals) - - if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: - cred = credential.CVMRoleCredential() - elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]: - cred = credential.STSAssumeRoleCredential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')], - g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"] - ) - 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): - cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials() - else: - cred = credential.Credential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token] - ) - http_profile = HttpProfile( - reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]), - reqMethod="POST", - endpoint=g_param[OptionsDefine.Endpoint], - proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')] - ) - profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256") - if g_param[OptionsDefine.Language]: - profile.language = g_param[OptionsDefine.Language] - mod = CLIENT_MAP[g_param[OptionsDefine.Version]] - client = mod.MonitorClient(cred, g_param[OptionsDefine.Region], profile) - client._sdkVersion += ("_CLI_" + __version__) - models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribePrometheusZonesRequest() - model.from_json_string(json.dumps(args)) - start_time = time.time() - while True: - rsp = client.DescribePrometheusZones(model) - result = rsp.to_json_string() - try: - json_obj = json.loads(result) - except TypeError as e: - json_obj = json.loads(result.decode('utf-8')) # python3.3 - if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']: - break - cur_time = time.time() - if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']: - raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' % - (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'], - search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))) - else: - print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)) - time.sleep(g_param['OptionsDefine.WaiterInfo']['interval']) - FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) - - def doDescribeAlarmMetrics(args, parsed_globals): g_param = parse_global_arg(parsed_globals) @@ -8077,7 +7973,7 @@ def doDescribeGrafanaIntegrations(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribePrometheusRecordRuleYaml(args, parsed_globals): +def doModifyPrometheusConfig(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -8106,11 +8002,11 @@ def doDescribePrometheusRecordRuleYaml(args, parsed_globals): client = mod.MonitorClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribePrometheusRecordRuleYamlRequest() + model = models.ModifyPrometheusConfigRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribePrometheusRecordRuleYaml(model) + rsp = client.ModifyPrometheusConfig(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -8212,12 +8108,11 @@ def doDescribeAlarmPolicy(args, parsed_globals): "DescribePrometheusRecordRules": doDescribePrometheusRecordRules, "UpdateSSOAccount": doUpdateSSOAccount, "DescribePrometheusClusterAgents": doDescribePrometheusClusterAgents, - "CheckIsPrometheusNewUser": doCheckIsPrometheusNewUser, + "DescribePrometheusZones": doDescribePrometheusZones, "DescribeGrafanaEnvironments": doDescribeGrafanaEnvironments, "UpdateRecordingRule": doUpdateRecordingRule, "DeleteGrafanaNotificationChannel": doDeleteGrafanaNotificationChannel, "DescribeGrafanaConfig": doDescribeGrafanaConfig, - "ModifyPrometheusConfig": doModifyPrometheusConfig, "ModifyAlarmPolicyInfo": doModifyAlarmPolicyInfo, "ModifyAlarmPolicyStatus": doModifyAlarmPolicyStatus, "DeletePrometheusScrapeJobs": doDeletePrometheusScrapeJobs, @@ -8302,7 +8197,6 @@ def doDescribeAlarmPolicy(args, parsed_globals): "ModifyPolicyGroup": doModifyPolicyGroup, "DescribeAccidentEventList": doDescribeAccidentEventList, "DescribePrometheusTempSync": doDescribePrometheusTempSync, - "DescribePrometheusZones": doDescribePrometheusZones, "DescribeAlarmMetrics": doDescribeAlarmMetrics, "CreatePrometheusClusterAgent": doCreatePrometheusClusterAgent, "CreatePrometheusConfig": doCreatePrometheusConfig, @@ -8347,7 +8241,7 @@ def doDescribeAlarmPolicy(args, parsed_globals): "DescribePluginOverviews": doDescribePluginOverviews, "DescribeClusterAgentCreatingProgress": doDescribeClusterAgentCreatingProgress, "DescribeGrafanaIntegrations": doDescribeGrafanaIntegrations, - "DescribePrometheusRecordRuleYaml": doDescribePrometheusRecordRuleYaml, + "ModifyPrometheusConfig": doModifyPrometheusConfig, "DescribeAlarmPolicy": doDescribeAlarmPolicy, } diff --git a/tccli/services/monitor/v20180724/api.json b/tccli/services/monitor/v20180724/api.json index db0d490458..3c97f36f7e 100644 --- a/tccli/services/monitor/v20180724/api.json +++ b/tccli/services/monitor/v20180724/api.json @@ -21,13 +21,6 @@ "output": "BindingPolicyTagResponse", "status": "online" }, - "CheckIsPrometheusNewUser": { - "document": "接口功能是检查是否为prometheus新用户,已有其他功能更加全面的接口替代\n\n判断用户是否为云原生监控新用户,即在任何地域下均未创建过监控实例的用户", - "input": "CheckIsPrometheusNewUserRequest", - "name": "判断用户是否为云原生监控新用户", - "output": "CheckIsPrometheusNewUserResponse", - "status": "deprecated" - }, "CleanGrafanaInstance": { "document": "强制销毁 Grafana 实例", "input": "CleanGrafanaInstanceRequest", @@ -658,13 +651,6 @@ "output": "DescribePrometheusInstancesOverviewResponse", "status": "online" }, - "DescribePrometheusRecordRuleYaml": { - "document": "DescribePrometheusRecordRules 接口可完全代替该接口。近30天仅有3次调用,且都是报错请求\n\n拉取Prometheus聚合规则yaml列表", - "input": "DescribePrometheusRecordRuleYamlRequest", - "name": "拉取Prometheus聚合规则yaml列表", - "output": "DescribePrometheusRecordRuleYamlResponse", - "status": "deprecated" - }, "DescribePrometheusRecordRules": { "document": "获取聚合规则列表,包含关联集群内crd资源创建的record rule", "input": "DescribePrometheusRecordRulesRequest", @@ -2838,23 +2824,6 @@ ], "usage": "both" }, - "CheckIsPrometheusNewUserRequest": { - "document": "CheckIsPrometheusNewUser请求参数结构体", - "members": [], - "type": "object" - }, - "CheckIsPrometheusNewUserResponse": { - "document": "CheckIsPrometheusNewUser返回参数结构体", - "members": [ - { - "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", - "member": "string", - "name": "RequestId", - "type": "string" - } - ], - "type": "object" - }, "CleanGrafanaInstanceRequest": { "document": "CleanGrafanaInstance请求参数结构体", "members": [ @@ -12237,60 +12206,6 @@ ], "type": "object" }, - "DescribePrometheusRecordRuleYamlRequest": { - "document": "DescribePrometheusRecordRuleYaml请求参数结构体", - "members": [ - { - "disabled": false, - "document": "实例id", - "example": "xxx", - "member": "string", - "name": "InstanceId", - "required": true, - "type": "string" - }, - { - "disabled": false, - "document": "分页", - "example": "1", - "member": "uint64", - "name": "Offset", - "required": false, - "type": "int" - }, - { - "disabled": false, - "document": "分页", - "example": "10", - "member": "uint64", - "name": "Limit", - "required": false, - "type": "int" - }, - { - "disabled": false, - "document": "过滤,当前支持\nName = Name\nValues = 目标名称列表", - "example": "xxx", - "member": "Filter", - "name": "Filters", - "required": false, - "type": "list" - } - ], - "type": "object" - }, - "DescribePrometheusRecordRuleYamlResponse": { - "document": "DescribePrometheusRecordRuleYaml返回参数结构体", - "members": [ - { - "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", - "member": "string", - "name": "RequestId", - "type": "string" - } - ], - "type": "object" - }, "DescribePrometheusRecordRulesRequest": { "document": "DescribePrometheusRecordRules请求参数结构体", "members": [ diff --git a/tccli/services/monitor/v20180724/examples.json b/tccli/services/monitor/v20180724/examples.json index 0038220a33..3f0f89e277 100644 --- a/tccli/services/monitor/v20180724/examples.json +++ b/tccli/services/monitor/v20180724/examples.json @@ -24,14 +24,6 @@ "title": "策略绑定标签" } ], - "CheckIsPrometheusNewUser": [ - { - "document": "判断用户是否为新用户", - "input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CheckIsPrometheusNewUser\n<公共请求参数>\n\n{}", - "output": "{\n \"Response\": {\n \"RequestId\": \"xx\"\n }\n}", - "title": "判断用户是否为新用户" - } - ], "CleanGrafanaInstance": [ { "document": "强制销毁 Grafana 实例", @@ -914,14 +906,6 @@ "title": "获取实例列表" } ], - "DescribePrometheusRecordRuleYaml": [ - { - "document": "拉取聚合规则列表", - "input": "https://monitor.tencentcloudapi.com/?Action=DescribePrometheusRecordRuleYaml\n&InstanceId=prom-xxx\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}", - "title": "拉取聚合规则列表" - } - ], "DescribePrometheusRecordRules": [ { "document": "拉取聚合规则", diff --git a/tccli/services/ocr/v20181119/api.json b/tccli/services/ocr/v20181119/api.json index 7c33f07405..0a131d592e 100644 --- a/tccli/services/ocr/v20181119/api.json +++ b/tccli/services/ocr/v20181119/api.json @@ -365,7 +365,7 @@ "status": "online" }, "RecognizeIndonesiaIDCardOCR": { - "document": "印尼身份证识别\n\n默认接口请求频率限制:20次/秒。", + "document": "印尼身份证识别\n\n默认接口请求频率限制:5次/秒。", "input": "RecognizeIndonesiaIDCardOCRRequest", "name": "印尼身份证识别", "output": "RecognizeIndonesiaIDCardOCRResponse", @@ -2536,7 +2536,7 @@ }, { "disabled": false, - "document": "可以指定要识别的票证类型,指定后不出现在此列表的票证将不返回类型。不指定时默认返回所有支持类别票证的识别信息。\n\n以下是当前支持的类型:\nIDCardFront: 身份证正面识别\nIDCardBack: 身份证背面识别\nPassport: 护照\nBusinessCard: 名片识别\nBankCard: 银行卡识别\nVehicleLicenseFront: 行驶证主页识别\nVehicleLicenseBack: 行驶证副页识别\nDriverLicenseFront: 驾驶证主页识别\nDriverLicenseBack: 驾驶证副页识别\nPermitFront: 港澳台通行证正面\nResidenceBooklet: 户口本资料页\nMainlandPermitFront: 港澳台来往内地通行证正面\nHmtResidentPermitFront: 港澳台居住证正面\nHmtResidentPermitBack: 港澳台居住证背面\nEstateCert: 不动产证\nBizLicense: 营业执照", + "document": "可以指定要识别的票证类型,指定后不出现在此列表的票证将不返回类型。不指定时默认返回所有支持类别票证的识别信息。\n\n以下是当前支持的类型:\nIDCardFront: 身份证正面识别\nIDCardBack: 身份证背面识别\nPassport: 护照\nBusinessCard: 名片识别\nBankCard: 银行卡识别\nVehicleLicenseFront: 行驶证主页识别\nVehicleLicenseBack: 行驶证副页识别\nDriverLicenseFront: 驾驶证主页识别\nDriverLicenseBack: 驾驶证副页识别\nPermitFront: 港澳台通行证正面\nResidenceBooklet: 户口本资料页\nMainlandPermitFront: 港澳台来往内地通行证正面\nHmtResidentPermitFront: 港澳台居住证正面\nHmtResidentPermitBack: 港澳台居住证背面\nEstateCert: 不动产证\nBizLicense: 营业执照\nForeignPermanentResidentFront: 外国人永居证正面识别\nForeignPermanentResidentBack: 外国人永居证背面识别", "example": "\"\"", "member": "string", "name": "DiscernType", @@ -2555,7 +2555,7 @@ "example": "\"\"", "member": "ClassifyDetectInfo", "name": "ClassifyDetectInfos", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": false }, diff --git a/tccli/services/postgres/postgres_client.py b/tccli/services/postgres/postgres_client.py index 607a96f029..1f17cceddf 100644 --- a/tccli/services/postgres/postgres_client.py +++ b/tccli/services/postgres/postgres_client.py @@ -433,6 +433,58 @@ def doModifyDBInstanceName(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) +def doDescribeDedicatedClusters(args, parsed_globals): + g_param = parse_global_arg(parsed_globals) + + if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: + cred = credential.CVMRoleCredential() + elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]: + cred = credential.STSAssumeRoleCredential( + g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')], + g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"] + ) + 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): + cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials() + else: + cred = credential.Credential( + g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token] + ) + http_profile = HttpProfile( + reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]), + reqMethod="POST", + endpoint=g_param[OptionsDefine.Endpoint], + proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')] + ) + profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256") + if g_param[OptionsDefine.Language]: + profile.language = g_param[OptionsDefine.Language] + mod = CLIENT_MAP[g_param[OptionsDefine.Version]] + client = mod.PostgresClient(cred, g_param[OptionsDefine.Region], profile) + client._sdkVersion += ("_CLI_" + __version__) + models = MODELS_MAP[g_param[OptionsDefine.Version]] + model = models.DescribeDedicatedClustersRequest() + model.from_json_string(json.dumps(args)) + start_time = time.time() + while True: + rsp = client.DescribeDedicatedClusters(model) + result = rsp.to_json_string() + try: + json_obj = json.loads(result) + except TypeError as e: + json_obj = json.loads(result.decode('utf-8')) # python3.3 + if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']: + break + cur_time = time.time() + if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']: + raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' % + (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'], + search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))) + else: + print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)) + time.sleep(g_param['OptionsDefine.WaiterInfo']['interval']) + FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) + + def doDeleteParameterTemplate(args, parsed_globals): g_param = parse_global_arg(parsed_globals) @@ -5236,6 +5288,7 @@ def doCreateInstances(args, parsed_globals): "ModifyAccountRemark": doModifyAccountRemark, "SetAutoRenewFlag": doSetAutoRenewFlag, "ModifyDBInstanceName": doModifyDBInstanceName, + "DescribeDedicatedClusters": doDescribeDedicatedClusters, "DeleteParameterTemplate": doDeleteParameterTemplate, "DescribeDBInstanceParameters": doDescribeDBInstanceParameters, "DeleteServerlessDBInstance": doDeleteServerlessDBInstance, diff --git a/tccli/services/postgres/v20170312/api.json b/tccli/services/postgres/v20170312/api.json index 98c534a113..9422793c0c 100644 --- a/tccli/services/postgres/v20170312/api.json +++ b/tccli/services/postgres/v20170312/api.json @@ -322,6 +322,13 @@ "output": "DescribeDatabasesResponse", "status": "online" }, + "DescribeDedicatedClusters": { + "document": "查询专属集群", + "input": "DescribeDedicatedClustersRequest", + "name": "查询专属集群", + "output": "DescribeDedicatedClustersResponse", + "status": "online" + }, "DescribeDefaultParameters": { "document": "本接口(DescribeDefaultParameters)主要用于查询某个数据库版本和引擎支持的所有参数。", "input": "DescribeDefaultParametersRequest", @@ -2668,6 +2675,15 @@ "name": "DBVersion", "required": false, "type": "string" + }, + { + "disabled": false, + "document": "专属集群ID", + "example": "dedicatedCluster-gz", + "member": "string", + "name": "DedicatedClusterId", + "required": false, + "type": "string" } ], "type": "object" @@ -3656,6 +3672,17 @@ "required": true, "type": "string", "value_allowed_null": false + }, + { + "disabled": false, + "document": "专属集群ID\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "cluster-d8htgb6k", + "member": "string", + "name": "DedicatedClusterId", + "output_required": false, + "required": false, + "type": "string", + "value_allowed_null": true } ], "usage": "both" @@ -3835,6 +3862,133 @@ ], "usage": "both" }, + "DedicatedCluster": { + "document": "专属集群相关信息,用于查询用户的专属集群列表", + "members": [ + { + "disabled": false, + "document": "专属集群ID\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "dedicatedCluster-gz", + "member": "string", + "name": "DedicatedClusterId", + "output_required": true, + "required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "专属集群名称\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "TestDedicatedClusterName", + "member": "string", + "name": "Name", + "output_required": true, + "required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "专属集群所在可用区\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "ap-guangzhou", + "member": "string", + "name": "Zone", + "output_required": true, + "required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "灾备集群\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "dedicatedCluster-sh", + "member": "string", + "name": "StandbyDedicatedClusterSet", + "output_required": true, + "required": false, + "type": "list", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "实例数量\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "1", + "member": "int64", + "name": "InstanceCount", + "output_required": true, + "required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "Cpu总量\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "10", + "member": "int64", + "name": "CpuTotal", + "output_required": true, + "required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "Cpu可用数量\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "10", + "member": "int64", + "name": "CpuAvailable", + "output_required": true, + "required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "内存总量\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "10", + "member": "int64", + "name": "MemTotal", + "output_required": true, + "required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "内存可用量\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "10", + "member": "int64", + "name": "MemAvailable", + "output_required": true, + "required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "磁盘总量\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "10", + "member": "int64", + "name": "DiskTotal", + "output_required": true, + "required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "磁盘可用量\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "10", + "member": "int64", + "name": "DiskAvailable", + "output_required": true, + "required": false, + "type": "int", + "value_allowed_null": true + } + ], + "usage": "both" + }, "DeleteAccountRequest": { "document": "DeleteAccount请求参数结构体", "members": [ @@ -5841,6 +5995,43 @@ ], "type": "object" }, + "DescribeDedicatedClustersRequest": { + "document": "DescribeDedicatedClusters请求参数结构体", + "members": [ + { + "disabled": false, + "document": "按照一个或者多个过滤条件进行查询,目前支持的过滤条件有:\ndedicated-cluster-id: 按照专属集群ID筛选,类型为string", + "example": "[{\"Values\": [\"dedicatedCluster-gz\" ], \"Name\": \"dedicated-cluster-id\" } ]", + "member": "Filter", + "name": "Filters", + "required": false, + "type": "list" + } + ], + "type": "object" + }, + "DescribeDedicatedClustersResponse": { + "document": "DescribeDedicatedClusters返回参数结构体", + "members": [ + { + "disabled": false, + "document": "专属集群信息", + "example": "[{\"DedicatedClusterId\":\"dedicatedCluster-gz\",\"name\":\"TestDedicatedClusterName\",\"Zone\":\"ap-guangzhou\",\"StandbyDedicatedClusterSet\":[\"dedicatedCluster-sh\"],InstanceCount:1,CpuTotal:10,CpuAvailable:10,MemTotal:10,MemAvailable:10,DiskTotal:10,DiskAvailable:10}]", + "member": "DedicatedCluster", + "name": "DedicatedClusterSet", + "output_required": false, + "type": "list", + "value_allowed_null": false + }, + { + "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", + "member": "string", + "name": "RequestId", + "type": "string" + } + ], + "type": "object" + }, "DescribeDefaultParametersRequest": { "document": "DescribeDefaultParameters请求参数结构体", "members": [ diff --git a/tccli/services/postgres/v20170312/examples.json b/tccli/services/postgres/v20170312/examples.json index 627a9767de..4e86cd1db3 100644 --- a/tccli/services/postgres/v20170312/examples.json +++ b/tccli/services/postgres/v20170312/examples.json @@ -390,13 +390,13 @@ { "document": "按指定分页查询实例列表", "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstances\n<公共请求参数>\n\n{\n \"Limit\": \"10\",\n \"Offset\": \"0\"\n}", - "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"DBInstanceSet\": [\n {\n \"AppId\": 123456789,\n \"AutoRenew\": 1,\n \"CreateTime\": \"2022-03-16 18:12:10\",\n \"DBCharset\": \"UTF8\",\n \"DBEngine\": \"postgresql\",\n \"DBEngineConfig\": \"\",\n \"DBInstanceClass\": \"cdb.pg.ts1.8g\",\n \"DBInstanceCpu\": 4,\n \"DBInstanceId\": \"postgres-xxxxxx\",\n \"DBInstanceMemory\": 8,\n \"DBInstanceName\": \"test\",\n \"DBInstanceNetInfo\": [\n {\n \"Address\": \"\",\n \"Ip\": \"xx.xx.xx.xx\",\n \"NetType\": \"private\",\n \"Port\": 5432,\n \"ProtocolType\": \"postgresql\",\n \"Status\": \"opened\",\n \"SubnetId\": \"subnet-xxxx\",\n \"VpcId\": \"vpc-xxxx\"\n },\n {\n \"Address\": \"\",\n \"Ip\": \"\",\n \"NetType\": \"public\",\n \"Port\": 0,\n \"ProtocolType\": \"\",\n \"Status\": \"initing\",\n \"SubnetId\": \"\",\n \"VpcId\": \"\"\n }\n ],\n \"DBInstanceStatus\": \"running\",\n \"DBInstanceStorage\": 20,\n \"DBInstanceType\": \"primary\",\n \"DBInstanceVersion\": \"standard\",\n \"DBKernelVersion\": \"v13.3_r1.1\",\n \"DBMajorVersion\": \"13\",\n \"DBNodeSet\": [\n {\n \"Role\": \"Primary\",\n \"Zone\": \"ap-guangzhou-6\"\n },\n {\n \"Role\": \"Standby\",\n \"Zone\": \"ap-guangzhou-6\"\n }\n ],\n \"DBVersion\": \"13.3\",\n \"ExpireTime\": \"2023-04-16 18:14:49\",\n \"IsSupportTDE\": 0,\n \"IsolatedTime\": \"0000-00-00 00:00:00\",\n \"MasterDBInstanceId\": \"\",\n \"NetworkAccessList\": null,\n \"OfflineTime\": \"0001-01-08 00:00:00\",\n \"PayType\": \"prepaid\",\n \"ProjectId\": 0,\n \"ReadOnlyInstanceNum\": 0,\n \"Region\": \"ap-guangzhou\",\n \"StatusInReadonlyGroup\": \"\",\n \"SubnetId\": \"subnet-xxxx\",\n \"SupportIpv6\": 0,\n \"TagList\": [\n {\n \"TagKey\": \"tag_key_test\",\n \"TagValue\": \"tag_value_test\"\n }\n ],\n \"Type\": \"TS85\",\n \"Uid\": 1234,\n \"UpdateTime\": \"2023-03-15 17:31:58\",\n \"VpcId\": \"vpc-xxxx\",\n \"Zone\": \"ap-guangzhou-6\"\n }\n ],\n \"RequestId\": \"d849664a-191c-48bf-b42f-444caa189557\"\n }\n}", + "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"DBInstanceSet\": [\n {\n \"AppId\": 123456789,\n \"AutoRenew\": 1,\n \"CreateTime\": \"2022-03-16 18:12:10\",\n \"DBCharset\": \"UTF8\",\n \"DBEngine\": \"postgresql\",\n \"DBEngineConfig\": \"\",\n \"DBInstanceClass\": \"cdb.pg.ts1.8g\",\n \"DBInstanceCpu\": 4,\n \"DBInstanceId\": \"postgres-xxxxxx\",\n \"DBInstanceMemory\": 8,\n \"DBInstanceName\": \"test\",\n \"DBInstanceNetInfo\": [\n {\n \"Address\": \"\",\n \"Ip\": \"xx.xx.xx.xx\",\n \"NetType\": \"private\",\n \"Port\": 5432,\n \"ProtocolType\": \"postgresql\",\n \"Status\": \"opened\",\n \"SubnetId\": \"subnet-xxxx\",\n \"VpcId\": \"vpc-xxxx\"\n },\n {\n \"Address\": \"\",\n \"Ip\": \"\",\n \"NetType\": \"public\",\n \"Port\": 0,\n \"ProtocolType\": \"\",\n \"Status\": \"initing\",\n \"SubnetId\": \"\",\n \"VpcId\": \"\"\n }\n ],\n \"DBInstanceStatus\": \"running\",\n \"DBInstanceStorage\": 20,\n \"DBInstanceType\": \"primary\",\n \"DBInstanceVersion\": \"standard\",\n \"DBKernelVersion\": \"v13.3_r1.1\",\n \"DBMajorVersion\": \"13\",\n \"DBNodeSet\": [\n {\n \"Role\": \"Primary\",\n \"Zone\": \"ap-guangzhou-6\",\n \"DedicatedClusterId\": \"\"\n },\n {\n \"Role\": \"Standby\",\n \"Zone\": \"ap-guangzhou-6\",\n \"DedicatedClusterId\": \"\"\n }\n ],\n \"DBVersion\": \"13.3\",\n \"ExpireTime\": \"2023-04-16 18:14:49\",\n \"IsSupportTDE\": 0,\n \"IsolatedTime\": \"0000-00-00 00:00:00\",\n \"MasterDBInstanceId\": \"\",\n \"NetworkAccessList\": null,\n \"OfflineTime\": \"0001-01-08 00:00:00\",\n \"PayType\": \"prepaid\",\n \"ProjectId\": 0,\n \"ReadOnlyInstanceNum\": 0,\n \"Region\": \"ap-guangzhou\",\n \"StatusInReadonlyGroup\": \"\",\n \"SubnetId\": \"subnet-xxxx\",\n \"SupportIpv6\": 0,\n \"TagList\": [\n {\n \"TagKey\": \"tag_key_test\",\n \"TagValue\": \"tag_value_test\"\n }\n ],\n \"Type\": \"TS85\",\n \"Uid\": 1234,\n \"UpdateTime\": \"2023-03-15 17:31:58\",\n \"VpcId\": \"vpc-xxxx\",\n \"Zone\": \"ap-guangzhou-6\"\n }\n ],\n \"RequestId\": \"d849664a-191c-48bf-b42f-444caa189557\"\n }\n}", "title": "查询所有实例列表" }, { "document": "例如:查询实例ID为postgres-xxxxx的实例信息", "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstances\n<公共请求参数>\n\n{\n \"Limit\": \"10\",\n \"Filters\": [\n {\n \"Values\": [\n \"postgres-xxxxx\"\n ],\n \"Name\": \"db-instance-id\"\n }\n ],\n \"Offset\": \"0\"\n}", - "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"DBInstanceSet\": [\n {\n \"AppId\": 123456789,\n \"AutoRenew\": 1,\n \"CreateTime\": \"2022-03-16 18:12:10\",\n \"DBCharset\": \"UTF8\",\n \"DBEngine\": \"postgresql\",\n \"DBEngineConfig\": \"\",\n \"DBInstanceClass\": \"cdb.pg.ts1.8g\",\n \"DBInstanceCpu\": 4,\n \"DBInstanceId\": \"postgres-xxxxx\",\n \"DBInstanceMemory\": 8,\n \"DBInstanceName\": \"test\",\n \"DBInstanceNetInfo\": [\n {\n \"Address\": \"\",\n \"Ip\": \"xx.xx.xx.xx\",\n \"NetType\": \"private\",\n \"Port\": 5432,\n \"ProtocolType\": \"postgresql\",\n \"Status\": \"opened\",\n \"SubnetId\": \"subnet-xxxx\",\n \"VpcId\": \"vpc-xxxx\"\n },\n {\n \"Address\": \"\",\n \"Ip\": \"\",\n \"NetType\": \"public\",\n \"Port\": 0,\n \"ProtocolType\": \"\",\n \"Status\": \"initing\",\n \"SubnetId\": \"\",\n \"VpcId\": \"\"\n }\n ],\n \"DBInstanceStatus\": \"running\",\n \"DBInstanceStorage\": 20,\n \"DBInstanceType\": \"primary\",\n \"DBInstanceVersion\": \"standard\",\n \"DBKernelVersion\": \"v13.3_r1.1\",\n \"DBMajorVersion\": \"13\",\n \"DBNodeSet\": [\n {\n \"Role\": \"Primary\",\n \"Zone\": \"ap-guangzhou-6\"\n },\n {\n \"Role\": \"Standby\",\n \"Zone\": \"ap-guangzhou-6\"\n }\n ],\n \"DBVersion\": \"13.3\",\n \"ExpireTime\": \"2023-04-16 18:14:49\",\n \"IsSupportTDE\": 0,\n \"IsolatedTime\": \"0000-00-00 00:00:00\",\n \"MasterDBInstanceId\": \"\",\n \"NetworkAccessList\": null,\n \"OfflineTime\": \"0001-01-08 00:00:00\",\n \"PayType\": \"prepaid\",\n \"ProjectId\": 0,\n \"ReadOnlyInstanceNum\": 0,\n \"Region\": \"ap-guangzhou\",\n \"StatusInReadonlyGroup\": \"\",\n \"SubnetId\": \"subnet-xxxx\",\n \"SupportIpv6\": 0,\n \"TagList\": [\n {\n \"TagKey\": \"tag_key_test\",\n \"TagValue\": \"tag_value_test\"\n }\n ],\n \"Type\": \"TS85\",\n \"Uid\": 1234,\n \"UpdateTime\": \"2023-03-15 17:31:58\",\n \"VpcId\": \"vpc-xxxx\",\n \"Zone\": \"ap-guangzhou-6\"\n }\n ],\n \"RequestId\": \"d849664a-191c-48bf-b42f-444caa189557\"\n }\n}", + "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"DBInstanceSet\": [\n {\n \"AppId\": 123456789,\n \"AutoRenew\": 1,\n \"CreateTime\": \"2022-03-16 18:12:10\",\n \"DBCharset\": \"UTF8\",\n \"DBEngine\": \"postgresql\",\n \"DBEngineConfig\": \"\",\n \"DBInstanceClass\": \"cdb.pg.ts1.8g\",\n \"DBInstanceCpu\": 4,\n \"DBInstanceId\": \"postgres-xxxxx\",\n \"DBInstanceMemory\": 8,\n \"DBInstanceName\": \"test\",\n \"DBInstanceNetInfo\": [\n {\n \"Address\": \"\",\n \"Ip\": \"xx.xx.xx.xx\",\n \"NetType\": \"private\",\n \"Port\": 5432,\n \"ProtocolType\": \"postgresql\",\n \"Status\": \"opened\",\n \"SubnetId\": \"subnet-xxxx\",\n \"VpcId\": \"vpc-xxxx\"\n },\n {\n \"Address\": \"\",\n \"Ip\": \"\",\n \"NetType\": \"public\",\n \"Port\": 0,\n \"ProtocolType\": \"\",\n \"Status\": \"initing\",\n \"SubnetId\": \"\",\n \"VpcId\": \"\"\n }\n ],\n \"DBInstanceStatus\": \"running\",\n \"DBInstanceStorage\": 20,\n \"DBInstanceType\": \"primary\",\n \"DBInstanceVersion\": \"standard\",\n \"DBKernelVersion\": \"v13.3_r1.1\",\n \"DBMajorVersion\": \"13\",\n \"DBNodeSet\": [\n {\n \"Role\": \"Primary\",\n \"Zone\": \"ap-guangzhou-6\",\n \"DedicatedClusterId\": \"\"\n },\n {\n \"Role\": \"Standby\",\n \"Zone\": \"ap-guangzhou-6\",\n \"DedicatedClusterId\": \"\"\n }\n ],\n \"DBVersion\": \"13.3\",\n \"ExpireTime\": \"2023-04-16 18:14:49\",\n \"IsSupportTDE\": 0,\n \"IsolatedTime\": \"0000-00-00 00:00:00\",\n \"MasterDBInstanceId\": \"\",\n \"NetworkAccessList\": null,\n \"OfflineTime\": \"0001-01-08 00:00:00\",\n \"PayType\": \"prepaid\",\n \"ProjectId\": 0,\n \"ReadOnlyInstanceNum\": 0,\n \"Region\": \"ap-guangzhou\",\n \"StatusInReadonlyGroup\": \"\",\n \"SubnetId\": \"subnet-xxxx\",\n \"SupportIpv6\": 0,\n \"TagList\": [\n {\n \"TagKey\": \"tag_key_test\",\n \"TagValue\": \"tag_value_test\"\n }\n ],\n \"Type\": \"TS85\",\n \"Uid\": 1234,\n \"UpdateTime\": \"2023-03-15 17:31:58\",\n \"VpcId\": \"vpc-xxxx\",\n \"Zone\": \"ap-guangzhou-6\"\n }\n ],\n \"RequestId\": \"d849664a-191c-48bf-b42f-444caa189557\"\n }\n}", "title": "根据实例ID查询实例信息" } ], @@ -458,6 +458,20 @@ "title": "获取实例部分数据库" } ], + "DescribeDedicatedClusters": [ + { + "document": "查询所有专属集群", + "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDedicatedClusters\n<公共请求参数>\n\n{}", + "output": "{\n \"Response\": {\n \"DedicatedClusterSet\": [\n {\n \"CpuAvailable\": 192,\n \"CpuTotal\": 192,\n \"DedicatedClusterId\": \"cluster-0jend45y\",\n \"DiskAvailable\": 1000,\n \"DiskTotal\": 1000,\n \"InstanceCount\": 0,\n \"MemAvailable\": 512,\n \"MemTotal\": 512,\n \"Name\": \"\",\n \"StandbyDedicatedClusterSet\": [\n \"[\\\"cluster-0jend45y\\\"\",\n \"\\\"cluster-d8htgb6k\\\"]\"\n ],\n \"Zone\": \"ap-guangzhou-2\"\n },\n {\n \"CpuAvailable\": 192,\n \"CpuTotal\": 192,\n \"DedicatedClusterId\": \"cluster-d8htgb6k\",\n \"DiskAvailable\": 1000,\n \"DiskTotal\": 1000,\n \"InstanceCount\": 0,\n \"MemAvailable\": 512,\n \"MemTotal\": 512,\n \"Name\": \"\",\n \"StandbyDedicatedClusterSet\": [\n \"[\\\"cluster-0jend45y\\\"\",\n \"\\\"cluster-d8htgb6k\\\"]\"\n ],\n \"Zone\": \"ap-guangzhou-2\"\n }\n ],\n \"RequestId\": \"187a6206-4811-447d-b223-87a8dd470c8c\"\n }\n}", + "title": "查询所有专属集群" + }, + { + "document": "查询专属集群cluster-0jend45y", + "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDedicatedClusters\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"dedicated-cluster-id\",\n \"Values\": [\n \"cluster-0jend45y\"\n ]\n }\n ]\n}", + "output": "{\n \"Response\": {\n \"DedicatedClusterSet\": [\n {\n \"CpuAvailable\": 192,\n \"CpuTotal\": 192,\n \"DedicatedClusterId\": \"cluster-0jend45y\",\n \"DiskAvailable\": 1000,\n \"DiskTotal\": 1000,\n \"InstanceCount\": 0,\n \"MemAvailable\": 512,\n \"MemTotal\": 512,\n \"Name\": \"\",\n \"StandbyDedicatedClusterSet\": [\n \"[\\\"cluster-0jend45y\\\"\",\n \"\\\"cluster-d8htgb6k\\\"]\"\n ],\n \"Zone\": \"ap-guangzhou-2\"\n }\n ],\n \"RequestId\": \"04fcd633-8e56-4c2f-9783-7c49e00647f6\"\n }\n}", + "title": "查询特定专属集群" + } + ], "DescribeDefaultParameters": [ { "document": "无", diff --git a/tccli/services/rce/v20201103/api.json b/tccli/services/rce/v20201103/api.json index 57600d3684..54540cb2c0 100644 --- a/tccli/services/rce/v20201103/api.json +++ b/tccli/services/rce/v20201103/api.json @@ -162,7 +162,7 @@ "members": [ { "disabled": false, - "document": "客户主体名称。\n\n示例值:某某有限公司。", + "document": "数据委托方、需求方:客户主体名称。\n\n示例值:某某有限公司。", "example": "无", "member": "string", "name": "DataProviderName", @@ -171,7 +171,7 @@ }, { "disabled": false, - "document": "接收方主体名称。\n\n固定填:腾讯云计算(北京)有限责任公司\n\n示例值:腾讯云计算(北京)有限责任公司", + "document": "数据受托方、提供方:腾讯云主体名称。\n\n固定填:腾讯云计算(北京)有限责任公司\n\n示例值:腾讯云计算(北京)有限责任公司", "example": "无", "member": "string", "name": "DataRecipientName", @@ -180,7 +180,7 @@ }, { "disabled": false, - "document": "客户请求RCE所涉及的用户敏感数据类型,支持多选。实际以接口请求传参为准。\n\n1-手机号;\n\n2-微信开放账号;\n\n3-QQ开放账号;\n\n4-IP地址;\n\n5-设备指纹;\n\n999-其它;\n\n示例值:[1, 4]", + "document": "客户请求RCE所提供的用户数据类型,支持多选。实际以接口请求传参为准。\n\n1-手机号;\n\n2-微信开放账号;\n\n3-QQ开放账号;\n\n4-IP地址;\n\n999-其它;\n\n示例值:[1, 4]", "example": "无", "member": "uint64", "name": "UserDataType", @@ -189,7 +189,7 @@ }, { "disabled": false, - "document": "客户是否已经获取用户授权。\n\n1-已授权;其它值为未授权。\n\n示例值:1", + "document": "客户是否已按[合规指南](https://rule.tencent.com/rule/202409130001)要求获取用户授权,同意客户委托腾讯云处理入参信息\n1-已授权;其它值为未授权。\n示例值:1", "example": "无", "member": "uint64", "name": "IsAuthorize", @@ -198,11 +198,11 @@ }, { "disabled": false, - "document": "是否是用户个人敏感数据。\n\n固定填:1。\n\n示例值:1", + "document": "客户是否已按[合规指南](https://rule.tencent.com/rule/202409130001)要求获取用户授权,同意腾讯云结合客户提供的信息,对已合法收集的用户数据进行必要处理得出服务结果,并返回给客户。\n1-已授权;其它值为未授权。\n示例值:1", "example": "无", "member": "uint64", - "name": "IsPersonalData", - "required": true, + "name": "IsOrderHandling", + "required": false, "type": "int" }, { @@ -216,12 +216,21 @@ }, { "disabled": false, - "document": "客户获得用户授权所依赖的协议地址。\n\n示例值:https://www.*****.com/*****", + "document": "\t\n客户获得用户授权所依赖的协议地址。\n\n示例值:https://www.*****.com/*", "example": "无", "member": "string", "name": "PrivacyPolicyLink", "required": false, "type": "string" + }, + { + "disabled": false, + "document": "是否是用户个人敏感数据。\n\n固定填:1。\n\n示例值:1", + "example": "无", + "member": "uint64", + "name": "IsPersonalData", + "required": false, + "type": "int" } ], "usage": "in" diff --git a/tccli/services/tcss/v20201101/api.json b/tccli/services/tcss/v20201101/api.json index f801fa91ea..2d563b45bb 100644 --- a/tccli/services/tcss/v20201101/api.json +++ b/tccli/services/tcss/v20201101/api.json @@ -15439,7 +15439,7 @@ "example": "无", "member": "string", "name": "Status", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -15449,10 +15449,20 @@ "example": "无", "member": "string", "name": "Err", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, + { + "disabled": false, + "document": "最后一次同步成功时间", + "example": "无", + "member": "string", + "name": "LatestSyncSuccessTime", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, { "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", "member": "string", @@ -16529,6 +16539,16 @@ "DescribeAssetImageRegistrySummaryResponse": { "document": "DescribeAssetImageRegistrySummary返回参数结构体", "members": [ + { + "disabled": false, + "document": "待扫描镜像个数", + "example": "无", + "member": "uint64", + "name": "UnScannedImageCnt", + "output_required": true, + "type": "int", + "value_allowed_null": false + }, { "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", "member": "string", @@ -17143,6 +17163,26 @@ "type": "list", "value_allowed_null": true }, + { + "disabled": false, + "document": "最后一次扫描时间\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "string", + "name": "LastScanTime", + "output_required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "扫描结果(Success|InsufficientLicense|ImageNeedIsEmpty|InternalError)\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "string", + "name": "ScanResult", + "output_required": false, + "type": "string", + "value_allowed_null": true + }, { "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", "member": "string", @@ -17263,7 +17303,37 @@ "example": "无", "member": "string", "name": "TaskID", - "required": true, + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "最近扫描时间", + "example": "无", + "member": "string", + "name": "LastScanTime", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "扫描状态(READY:准备 SCANNING:扫描中 END:完成)", + "example": "无", + "member": "string", + "name": "Status", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "扫描子状态(Success:成功 Timeout:超时 Cancel:取消 Error:错误)", + "example": "无", + "member": "string", + "name": "SubStatus", + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -18085,6 +18155,16 @@ "type": "int", "value_allowed_null": false }, + { + "disabled": false, + "document": "待扫描镜像个数", + "example": "无", + "member": "uint64", + "name": "UnScannedImageCnt", + "output_required": true, + "type": "int", + "value_allowed_null": false + }, { "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", "member": "string", @@ -20926,6 +21006,26 @@ "type": "bool", "value_allowed_null": false }, + { + "disabled": false, + "document": "镜像扫描计费信息", + "example": "无", + "member": "ImageScanInquireInfo", + "name": "ImageScanInquireInfo", + "output_required": true, + "type": "object", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "重复镜像数(本地镜像和仓库镜像)", + "example": "无", + "member": "uint64", + "name": "RepeatImageIdCnt", + "output_required": true, + "type": "int", + "value_allowed_null": false + }, { "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", "member": "string", @@ -21512,6 +21612,26 @@ "type": "list", "value_allowed_null": true }, + { + "disabled": false, + "document": "最近扫描时间\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "string", + "name": "LastScanTime", + "output_required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "扫描结果(Success|InsufficientLicense|ImageNeedIsEmpty|InternalError)", + "example": "无", + "member": "string", + "name": "ScanResult", + "output_required": false, + "type": "string", + "value_allowed_null": false + }, { "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", "member": "string", @@ -32620,6 +32740,82 @@ ], "usage": "out" }, + "ImageScanInquireInfo": { + "document": "镜像扫描计费信息", + "members": [ + { + "disabled": false, + "document": "计费项", + "example": "无", + "member": "string", + "name": "InquireKey", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "容量", + "example": "1", + "member": "uint64", + "name": "Capcity", + "output_required": true, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "已使用量", + "example": "1", + "member": "uint64", + "name": "Useage", + "output_required": true, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "起始时间", + "example": "无", + "member": "string", + "name": "StartTime", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "截止时间", + "example": "无", + "member": "string", + "name": "EndTime", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "计费状态\n(Pending:待购)\n(Normal:正常)\n(Isolate:隔离)", + "example": "无", + "member": "string", + "name": "PurchaseStatus", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "资源ID", + "example": "无", + "member": "string", + "name": "ResourceID", + "output_required": true, + "type": "string", + "value_allowed_null": false + } + ], + "usage": "out" + }, "ImageSimpleInfo": { "document": "镜像列表", "members": [ diff --git a/tccli/services/tcss/v20201101/examples.json b/tccli/services/tcss/v20201101/examples.json index e68a0b5dd9..f236b683d7 100644 --- a/tccli/services/tcss/v20201101/examples.json +++ b/tccli/services/tcss/v20201101/examples.json @@ -932,7 +932,7 @@ { "document": "", "input": "POST / HTTP/1.1\nHost: tcss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAssetImageRegistryAssetStatus\n<公共请求参数>\n\n{}", - "output": "{\n \"Response\": {\n \"RequestId\": \"33ec689a-e026-4700-8dc4-b559b97f0667\",\n \"Status\": \"doing\",\n \"Err\": \"xx\"\n }\n}", + "output": "{\n \"Response\": {\n \"Status\": \"abc\",\n \"Err\": \"abc\",\n \"LatestSyncSuccessTime\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}", "title": "查看镜像仓库资产更新进度状态" } ], @@ -1022,7 +1022,7 @@ { "document": "", "input": "POST / HTTP/1.1\nHost: tcss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAssetImageRegistrySummary\n<公共请求参数>\n\n{}", - "output": "{\n \"Response\": {\n \"RequestId\": \"5247d905-bf3c-41b4-9d6f-f93a008d9efb\"\n }\n}", + "output": "{\n \"Response\": {\n \"UnScannedImageCnt\": 1,\n \"RequestId\": \"abc\"\n }\n}", "title": "镜像仓库查询镜像统计信息" } ], @@ -1094,7 +1094,7 @@ { "document": "查询正在一键扫描的镜像扫描taskid", "input": "POST / HTTP/1.1\nHost: tcss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAssetImageScanTask\n<公共请求参数>\n\n{}", - "output": "{\n \"Response\": {\n \"RequestId\": \"b9cd345d-9d88-4e3b-86b6-e0e5c971731a\",\n \"TaskID\": \"\"\n }\n}", + "output": "{\n \"Response\": {\n \"TaskID\": \"abc\",\n \"LastScanTime\": \"abc\",\n \"Status\": \"abc\",\n \"SubStatus\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}", "title": "查询正在一键扫描的镜像扫描taskid" } ], @@ -1158,7 +1158,7 @@ { "document": "查询账户容器、镜像等统计信息", "input": "POST / HTTP/1.1\nHost: tcss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAssetSummary\n<公共请求参数>\n\n{}", - "output": "{\n \"Response\": {\n \"AppCnt\": 1,\n \"ContainerCnt\": 1,\n \"ContainerPause\": 1,\n \"ContainerRunning\": 1,\n \"ContainerStop\": 1,\n \"CreateTime\": \"abc\",\n \"DbCnt\": 1,\n \"ImageCnt\": 1,\n \"HostOnline\": 1,\n \"HostCnt\": 1,\n \"ImageHasRiskInfoCnt\": 1,\n \"ImageHasVirusCnt\": 1,\n \"ImageHasVulsCnt\": 1,\n \"ImageUntrustCnt\": 1,\n \"ListenPortCnt\": 1,\n \"ProcessCnt\": 1,\n \"WebServiceCnt\": 1,\n \"LatestImageScanTime\": \"abc\",\n \"ImageUnsafeCnt\": 1,\n \"HostUnInstallCnt\": 1,\n \"SuperNodeCnt\": 1,\n \"SuperNodeRunningCnt\": 1,\n \"RequestId\": \"abc\"\n }\n}", + "output": "{\n \"Response\": {\n \"AppCnt\": 1,\n \"ContainerCnt\": 1,\n \"ContainerPause\": 1,\n \"ContainerRunning\": 1,\n \"ContainerStop\": 1,\n \"CreateTime\": \"abc\",\n \"DbCnt\": 1,\n \"ImageCnt\": 1,\n \"HostOnline\": 1,\n \"HostCnt\": 1,\n \"ImageHasRiskInfoCnt\": 1,\n \"ImageHasVirusCnt\": 1,\n \"ImageHasVulsCnt\": 1,\n \"ImageUntrustCnt\": 1,\n \"ListenPortCnt\": 1,\n \"ProcessCnt\": 1,\n \"WebServiceCnt\": 1,\n \"LatestImageScanTime\": \"abc\",\n \"ImageUnsafeCnt\": 1,\n \"HostUnInstallCnt\": 1,\n \"SuperNodeCnt\": 1,\n \"SuperNodeRunningCnt\": 1,\n \"TodayNewImageCnt\": 1,\n \"TodayUnsafeImageCnt\": 1,\n \"RecommendedFixImageCnt\": 1,\n \"ScannedImageCnt\": 1,\n \"UnScannedImageCnt\": 1,\n \"RequestId\": \"abc\"\n }\n}", "title": "查询账户容器、镜像等统计信息" } ], @@ -1446,7 +1446,7 @@ { "document": "", "input": "https://tcss.tencentcloudapi.com/?Action=DescribeImageAuthorizedInfo\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"TotalAuthorizedCnt\": 1,\n \"UsedAuthorizedCnt\": 1,\n \"ScannedImageCnt\": 1,\n \"NotScannedImageCnt\": 1,\n \"NotScannedLocalImageCnt\": 1,\n \"TrialAuthorizedCnt\": 1,\n \"UsedTrialAuthorizedCnt\": 1,\n \"PurchasedAuthorizedCnt\": 1,\n \"UsedPurchasedAuthorizedCnt\": 1,\n \"CanApplyFreeImageAuthorize\": true,\n \"RequestId\": \"abc\"\n }\n}", + "output": "{\n \"Response\": {\n \"TotalAuthorizedCnt\": 1,\n \"UsedAuthorizedCnt\": 1,\n \"ScannedImageCnt\": 1,\n \"NotScannedImageCnt\": 1,\n \"NotScannedLocalImageCnt\": 1,\n \"TrialAuthorizedCnt\": 1,\n \"UsedTrialAuthorizedCnt\": 1,\n \"PurchasedAuthorizedCnt\": 1,\n \"UsedPurchasedAuthorizedCnt\": 1,\n \"CanApplyFreeImageAuthorize\": true,\n \"ImageScanInquireInfo\": {\n \"InquireKey\": \"abc\",\n \"Capcity\": 1,\n \"Useage\": 1,\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\",\n \"PurchaseStatus\": \"abc\",\n \"ResourceID\": \"abc\"\n },\n \"RepeatImageIdCnt\": 1,\n \"RequestId\": \"abc\"\n }\n}", "title": "查询镜像授权信息" } ], diff --git a/tccli/services/teo/v20220901/api.json b/tccli/services/teo/v20220901/api.json index c469c97801..79604ef671 100644 --- a/tccli/services/teo/v20220901/api.json +++ b/tccli/services/teo/v20220901/api.json @@ -10757,6 +10757,45 @@ ], "usage": "both" }, + "L4ProxyRemoteAuth": { + "document": "四层远程鉴权信息", + "members": [ + { + "disabled": false, + "document": "四层远程鉴权开关,取值有:\n
  • on:表示开启;
  • \n
  • off:表示关闭。
  • ", + "example": "on", + "member": "string", + "name": "Switch", + "output_required": true, + "required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "远程鉴权服务地址,格式为: domain/ip:port。例:example.auth.com:8888\n", + "example": "无", + "member": "string", + "name": "Address", + "output_required": true, + "required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "远程鉴权服务不可访问后,经过四层转发规则默认回源行为,取值有:\n
  • reject:表示进行拦截,拒绝访问;
  • \n
  • allow:表示允许通过。
  • ", + "example": "无", + "member": "string", + "name": "ServerFaultyBehavior", + "output_required": true, + "required": true, + "type": "string", + "value_allowed_null": false + } + ], + "usage": "both" + }, "L4ProxyRule": { "document": "四层代理转发规则详情。", "members": [ @@ -10891,6 +10930,17 @@ "required": false, "type": "string", "value_allowed_null": false + }, + { + "disabled": false, + "document": "远程鉴权信息。\n注意:RemoteAuth 在 CreateL4ProxyRules 或 ModifyL4ProxyRules 不可作为入参使用,如有传此参数,会忽略。在 DescribeL4ProxyRules 返回为空时,表示没有开启远程鉴权。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "L4ProxyRemoteAuth", + "name": "RemoteAuth", + "output_required": false, + "required": false, + "type": "object", + "value_allowed_null": true } ], "usage": "both" diff --git a/tccli/services/tke/v20180525/api.json b/tccli/services/tke/v20180525/api.json index 500195c3e6..c9e2285af0 100644 --- a/tccli/services/tke/v20180525/api.json +++ b/tccli/services/tke/v20180525/api.json @@ -2081,45 +2081,45 @@ "usage": "both" }, "AutoscalingAdded": { - "document": "自动扩所容的节点", + "document": "自动扩缩容的节点", "members": [ { "disabled": false, "document": "正在加入中的节点数量", - "example": "", + "example": "无", "member": "int64", "name": "Joining", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "初始化中的节点数量", - "example": "", + "example": "无", "member": "int64", "name": "Initializing", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "正常的节点数量", - "example": "", + "example": "无", "member": "int64", "name": "Normal", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "节点总数", - "example": "", + "example": "无", "member": "int64", "name": "Total", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false } diff --git a/tccli/services/tke/v20220501/api.json b/tccli/services/tke/v20220501/api.json index a263323420..b92c6c4530 100644 --- a/tccli/services/tke/v20220501/api.json +++ b/tccli/services/tke/v20220501/api.json @@ -148,7 +148,7 @@ "usage": "both" }, "AutoscalingAdded": { - "document": "自动扩所容的节点", + "document": "自动扩缩容的节点", "members": [ { "disabled": false, @@ -156,7 +156,7 @@ "example": "无", "member": "int64", "name": "Joining", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -166,7 +166,7 @@ "example": "无", "member": "int64", "name": "Initializing", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -176,7 +176,7 @@ "example": "无", "member": "int64", "name": "Normal", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -186,7 +186,7 @@ "example": "无", "member": "int64", "name": "Total", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false } diff --git a/tccli/services/tse/v20201207/api.json b/tccli/services/tse/v20201207/api.json index b2bed340af..cd3cfcd4c5 100644 --- a/tccli/services/tse/v20201207/api.json +++ b/tccli/services/tse/v20201207/api.json @@ -14964,6 +14964,28 @@ "required": false, "type": "list", "value_allowed_null": true + }, + { + "disabled": false, + "document": "操作符\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "eq", + "member": "string", + "name": "Operator", + "output_required": false, + "required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "header或query对应的name\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "Auth", + "member": "string", + "name": "Name", + "output_required": false, + "required": false, + "type": "string", + "value_allowed_null": true } ], "usage": "both" diff --git a/tccli/services/tsf/tsf_client.py b/tccli/services/tsf/tsf_client.py index d401f526b2..e5e9243bd1 100644 --- a/tccli/services/tsf/tsf_client.py +++ b/tccli/services/tsf/tsf_client.py @@ -225,7 +225,7 @@ def doStopTaskBatch(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeApplicationBusinessLogConfig(args, parsed_globals): +def doModifyContainerReplicas(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -254,11 +254,11 @@ def doDescribeApplicationBusinessLogConfig(args, parsed_globals): client = mod.TsfClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeApplicationBusinessLogConfigRequest() + model = models.ModifyContainerReplicasRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeApplicationBusinessLogConfig(model) + rsp = client.ModifyContainerReplicas(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -10417,58 +10417,6 @@ def doCreateProgram(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doModifyContainerReplicas(args, parsed_globals): - g_param = parse_global_arg(parsed_globals) - - if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: - cred = credential.CVMRoleCredential() - elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]: - cred = credential.STSAssumeRoleCredential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')], - g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"] - ) - 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): - cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials() - else: - cred = credential.Credential( - g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token] - ) - http_profile = HttpProfile( - reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]), - reqMethod="POST", - endpoint=g_param[OptionsDefine.Endpoint], - proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')] - ) - profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256") - if g_param[OptionsDefine.Language]: - profile.language = g_param[OptionsDefine.Language] - mod = CLIENT_MAP[g_param[OptionsDefine.Version]] - client = mod.TsfClient(cred, g_param[OptionsDefine.Region], profile) - client._sdkVersion += ("_CLI_" + __version__) - models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.ModifyContainerReplicasRequest() - model.from_json_string(json.dumps(args)) - start_time = time.time() - while True: - rsp = client.ModifyContainerReplicas(model) - result = rsp.to_json_string() - try: - json_obj = json.loads(result) - except TypeError as e: - json_obj = json.loads(result.decode('utf-8')) # python3.3 - if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']: - break - cur_time = time.time() - if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']: - raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' % - (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'], - search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))) - else: - print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)) - time.sleep(g_param['OptionsDefine.WaiterInfo']['interval']) - FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) - - def doUpdateHealthCheckSettings(args, parsed_globals): g_param = parse_global_arg(parsed_globals) @@ -11628,7 +11576,7 @@ def doDisableLaneRule(args, parsed_globals): "DeletePublicConfig": doDeletePublicConfig, "DescribeConfig": doDescribeConfig, "StopTaskBatch": doStopTaskBatch, - "DescribeApplicationBusinessLogConfig": doDescribeApplicationBusinessLogConfig, + "ModifyContainerReplicas": doModifyContainerReplicas, "DescribeConfigSummary": doDescribeConfigSummary, "DescribeInvocationMetricScatterPlot": doDescribeInvocationMetricScatterPlot, "DescribePodInstances": doDescribePodInstances, @@ -11824,7 +11772,6 @@ def doDisableLaneRule(args, parsed_globals): "DescribeEnabledUnitRule": doDescribeEnabledUnitRule, "DeleteConfig": doDeleteConfig, "CreateProgram": doCreateProgram, - "ModifyContainerReplicas": doModifyContainerReplicas, "UpdateHealthCheckSettings": doUpdateHealthCheckSettings, "DescribeInvocationMetricDataDimension": doDescribeInvocationMetricDataDimension, "ReleaseApiGroup": doReleaseApiGroup, diff --git a/tccli/services/tsf/v20180326/api.json b/tccli/services/tsf/v20180326/api.json index c0dd1c7150..d010a1fbe0 100644 --- a/tccli/services/tsf/v20180326/api.json +++ b/tccli/services/tsf/v20180326/api.json @@ -504,13 +504,6 @@ "output": "DescribeApplicationAttributeResponse", "status": "online" }, - "DescribeApplicationBusinessLogConfig": { - "document": "接口未使用,废弃录用\n\n查询应用关联日志配置项信息", - "input": "DescribeApplicationBusinessLogConfigRequest", - "name": "查询应用关联日志配置项信息", - "output": "DescribeApplicationBusinessLogConfigResponse", - "status": "deprecated" - }, "DescribeApplications": { "document": "获取应用列表", "input": "DescribeApplicationsRequest", @@ -11365,33 +11358,6 @@ ], "type": "object" }, - "DescribeApplicationBusinessLogConfigRequest": { - "document": "DescribeApplicationBusinessLogConfig请求参数结构体", - "members": [ - { - "disabled": false, - "document": "TSF应用ID", - "example": "", - "member": "string", - "name": "ApplicationId", - "required": true, - "type": "string" - } - ], - "type": "object" - }, - "DescribeApplicationBusinessLogConfigResponse": { - "document": "DescribeApplicationBusinessLogConfig返回参数结构体", - "members": [ - { - "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", - "member": "string", - "name": "RequestId", - "type": "string" - } - ], - "type": "object" - }, "DescribeApplicationRequest": { "document": "DescribeApplication请求参数结构体", "members": [ diff --git a/tccli/services/tsf/v20180326/examples.json b/tccli/services/tsf/v20180326/examples.json index 038bacb5bb..3ac46fb775 100644 --- a/tccli/services/tsf/v20180326/examples.json +++ b/tccli/services/tsf/v20180326/examples.json @@ -594,14 +594,6 @@ "title": "获取应用列表-其它字段【前端并发调用】" } ], - "DescribeApplicationBusinessLogConfig": [ - { - "document": "", - "input": "https://tsf.tencentcloudapi.com/?Action=DescribeApplicationBusinessLogConfig\n&ApplicationId=xxx\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"RequestId\": \"5d996e5507e42d5970cd2e25ed5267a\"\n }\n}", - "title": "查询应用关联日志配置项信息" - } - ], "DescribeApplications": [ { "document": "", diff --git a/tccli/services/vpc/v20170312/examples.json b/tccli/services/vpc/v20170312/examples.json index 0ceca997f2..adf9a93585 100644 --- a/tccli/services/vpc/v20170312/examples.json +++ b/tccli/services/vpc/v20170312/examples.json @@ -90,6 +90,12 @@ "input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AllocateAddresses\n<公共请求参数>\n\n{\n \"AddressCount\": 1,\n \"InternetServiceProvider\": \"CTCC\"\n}", "output": "{\n \"Response\": {\n \"AddressSet\": [\n \"eip-m44ku5d2\"\n ],\n \"TaskId\": \"61531429\",\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\"\n }\n}", "title": "创建静态单线IP" + }, + { + "document": "幂等请求失败,更新幂等参数。", + "input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AllocateAddresses\n<公共请求参数>\n\n{\n \"ClientToken\": \"b8fcdf80-248a-4095-bfa3-7f59df1aec\"\n}", + "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"UnsupportedOperation.DeliveryFailed\",\n \"Message\": \"发货失败,请更新`ClientToken`并重试。\"\n },\n \"RequestId\": \"8e176c15-f087-4816-a270-306cf87229a6\"\n }\n}", + "title": "申请EIP失败" } ], "AllocateIp6AddressesBandwidth": [ diff --git a/tccli/services/wedata/v20210820/api.json b/tccli/services/wedata/v20210820/api.json index ea48a66905..fc043279b7 100644 --- a/tccli/services/wedata/v20210820/api.json +++ b/tccli/services/wedata/v20210820/api.json @@ -42177,6 +42177,17 @@ "required": false, "type": "object", "value_allowed_null": true + }, + { + "disabled": false, + "document": "父任务simple信息(新)\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "AiopsSimpleTaskDto", + "name": "NewParentTaskInfos", + "output_required": false, + "required": false, + "type": "list", + "value_allowed_null": true } ], "usage": "both"