From 6c7cc8534c3bb6dc5ac0014135c5e0fa730475f2 Mon Sep 17 00:00:00 2001 From: tencentcloudapi Date: Wed, 21 Feb 2024 04:11:46 +0800 Subject: [PATCH] release 3.0.1059.1 --- CHANGELOG.md | 144 +++ SERVICE_CHANGELOG.md | 237 +++- products.md | 22 +- pyproject.toml | 4 +- tccli/__init__.py | 2 +- .../cynosdb/v20190107/DescribeTasks.md | 153 +++ .../dlc/v20210125/DescribeTaskResult.md | 12 +- .../dnspod/v20210323/DescribeUserDetail.md | 4 +- .../ecm/v20190719/DescribeImportImageOs.md | 26 +- .../ecm/v20190719/DescribeInstances.md | 310 +++-- .../examples/ecm/v20190719/DescribeModule.md | 730 +----------- .../BindEmployeeUserIdWithClientOpenId.md | 46 +- .../UnbindEmployeeUserIdWithClientOpenId.md | 16 +- tccli/services/cfs/v20190719/api.json | 6 +- tccli/services/cynosdb/cynosdb_client.py | 53 + tccli/services/cynosdb/v20190107/api.json | 1052 ++++++++++++++++- .../services/cynosdb/v20190107/examples.json | 8 + tccli/services/dlc/v20210125/api.json | 50 +- tccli/services/dlc/v20210125/examples.json | 2 +- tccli/services/dnspod/v20210323/api.json | 2 +- tccli/services/dnspod/v20210323/examples.json | 4 +- tccli/services/ecm/v20190719/api.json | 390 +++--- tccli/services/ecm/v20190719/examples.json | 24 +- tccli/services/emr/v20190103/api.json | 33 + tccli/services/ess/v20201111/api.json | 28 +- tccli/services/ess/v20201111/examples.json | 26 +- tccli/services/essbasic/v20210526/api.json | 10 +- tccli/services/ocr/v20181119/api.json | 24 +- tccli/services/ssm/v20190923/api.json | 40 +- tccli/services/thpc/v20230321/api.json | 4 +- 30 files changed, 2303 insertions(+), 1159 deletions(-) create mode 100644 tccli/examples/cynosdb/v20190107/DescribeTasks.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 55b41a52f8..9610a4453f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,147 @@ +# Release 3.0.1059.1 + +## TDSQL-C MySQL 版(cynosdb) 版本:2019-01-07 + +### 第 79 次发布 + +发布时间:2024-02-21 01:12:48 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeTasks](https://cloud.tencent.com/document/api/1003/103866) + +新增数据结构: + +* [BizTaskInfo](https://cloud.tencent.com/document/api/1003/48097#BizTaskInfo) +* [BizTaskModifyInstanceParam](https://cloud.tencent.com/document/api/1003/48097#BizTaskModifyInstanceParam) +* [BizTaskModifyParamsData](https://cloud.tencent.com/document/api/1003/48097#BizTaskModifyParamsData) +* [ClusterSlaveData](https://cloud.tencent.com/document/api/1003/48097#ClusterSlaveData) +* [CreateClustersData](https://cloud.tencent.com/document/api/1003/48097#CreateClustersData) +* [ManualBackupData](https://cloud.tencent.com/document/api/1003/48097#ManualBackupData) +* [ModifyDbVersionData](https://cloud.tencent.com/document/api/1003/48097#ModifyDbVersionData) +* [ModifyInstanceData](https://cloud.tencent.com/document/api/1003/48097#ModifyInstanceData) +* [ModifyParamsData](https://cloud.tencent.com/document/api/1003/48097#ModifyParamsData) +* [RollbackData](https://cloud.tencent.com/document/api/1003/48097#RollbackData) +* [SwitchClusterLogBin](https://cloud.tencent.com/document/api/1003/48097#SwitchClusterLogBin) +* [TaskMaintainInfo](https://cloud.tencent.com/document/api/1003/48097#TaskMaintainInfo) + + + +## 数据湖计算 DLC(dlc) 版本:2021-01-25 + +### 第 80 次发布 + +发布时间:2024-02-21 01:13:43 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [TaskResultInfo](https://cloud.tencent.com/document/api/1342/53778#TaskResultInfo) + + * 新增成员:QueryResultTime + + + + +## 边缘计算机器(ecm) 版本:2019-07-19 + +### 第 74 次发布 + +发布时间:2024-02-21 01:14:56 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [Module](https://cloud.tencent.com/document/api/1108/42574#Module) + + * **修改成员**:DisableWanIp + +* [NetworkStorageRange](https://cloud.tencent.com/document/api/1108/42574#NetworkStorageRange) + + * 新增成员:CBSSupported, DiskNumLimit + +* [Position](https://cloud.tencent.com/document/api/1108/42574#Position) + + * 新增成员:Ipv6Supported + +* [VirtualPrivateCloud](https://cloud.tencent.com/document/api/1108/42574#VirtualPrivateCloud) + + * 新增成员:Ipv6SubnetIds + + + + +## 弹性 MapReduce(emr) 版本:2019-01-03 + +### 第 59 次发布 + +发布时间:2024-02-21 01:15:23 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [ScaleOutCluster](https://cloud.tencent.com/document/api/589/83952) + + * 新增入参:ScaleOutServiceConfGroupsInfo + + +新增数据结构: + +* [ScaleOutServiceConfGroupsInfo](https://cloud.tencent.com/document/api/589/33981#ScaleOutServiceConfGroupsInfo) + + + +## 文字识别(ocr) 版本:2018-11-19 + +### 第 130 次发布 + +发布时间:2024-02-21 01:20:39 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [RecognizeForeignPermanentResidentIdCard](https://cloud.tencent.com/document/api/866/103033) + + * 新增出参:PreviousNumber, IssuedAuthority + + + + +## 凭据管理系统(ssm) 版本:2019-09-23 + +### 第 10 次发布 + +发布时间:2024-02-21 01:22:44 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [SecretMetadata](https://cloud.tencent.com/document/api/1140/40530#SecretMetadata) + + * **修改成员**:RotationFrequency, ResourceID, RotationBeginTime + + + + # Release 3.0.1058.1 ## 边缘计算机器(ecm) 版本:2019-07-19 diff --git a/SERVICE_CHANGELOG.md b/SERVICE_CHANGELOG.md index d3e81fff7b..e22989876e 100644 --- a/SERVICE_CHANGELOG.md +++ b/SERVICE_CHANGELOG.md @@ -1,10 +1,60 @@ # 本版本更新包含以下内容: +## TDSQL-C MySQL 版(cynosdb) 版本:2019-01-07 + +### 第 79 次发布 + +发布时间:2024-02-21 01:12:48 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeTasks](https://cloud.tencent.com/document/api/1003/103866) + +新增数据结构: + +* [BizTaskInfo](https://cloud.tencent.com/document/api/1003/48097#BizTaskInfo) +* [BizTaskModifyInstanceParam](https://cloud.tencent.com/document/api/1003/48097#BizTaskModifyInstanceParam) +* [BizTaskModifyParamsData](https://cloud.tencent.com/document/api/1003/48097#BizTaskModifyParamsData) +* [ClusterSlaveData](https://cloud.tencent.com/document/api/1003/48097#ClusterSlaveData) +* [CreateClustersData](https://cloud.tencent.com/document/api/1003/48097#CreateClustersData) +* [ManualBackupData](https://cloud.tencent.com/document/api/1003/48097#ManualBackupData) +* [ModifyDbVersionData](https://cloud.tencent.com/document/api/1003/48097#ModifyDbVersionData) +* [ModifyInstanceData](https://cloud.tencent.com/document/api/1003/48097#ModifyInstanceData) +* [ModifyParamsData](https://cloud.tencent.com/document/api/1003/48097#ModifyParamsData) +* [RollbackData](https://cloud.tencent.com/document/api/1003/48097#RollbackData) +* [SwitchClusterLogBin](https://cloud.tencent.com/document/api/1003/48097#SwitchClusterLogBin) +* [TaskMaintainInfo](https://cloud.tencent.com/document/api/1003/48097#TaskMaintainInfo) + + + +## 数据湖计算 DLC(dlc) 版本:2021-01-25 + +### 第 80 次发布 + +发布时间:2024-02-21 01:13:43 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [TaskResultInfo](https://cloud.tencent.com/document/api/1342/53778#TaskResultInfo) + + * 新增成员:QueryResultTime + + + + ## 边缘计算机器(ecm) 版本:2019-07-19 -### 第 73 次发布 +### 第 74 次发布 -发布时间:2024-02-20 01:15:12 +发布时间:2024-02-21 01:14:56 本次发布包含了以下内容: @@ -12,50 +62,83 @@ 修改数据结构: -* [Node](https://cloud.tencent.com/document/api/1108/42574#Node) +* [Module](https://cloud.tencent.com/document/api/1108/42574#Module) - * **修改成员**:LBSupported + * **修改成员**:DisableWanIp +* [NetworkStorageRange](https://cloud.tencent.com/document/api/1108/42574#NetworkStorageRange) + * 新增成员:CBSSupported, DiskNumLimit +* [Position](https://cloud.tencent.com/document/api/1108/42574#Position) -## 腾讯电子签(基础版)(essbasic) 版本:2021-05-26 + * 新增成员:Ipv6Supported -### 第 153 次发布 +* [VirtualPrivateCloud](https://cloud.tencent.com/document/api/1108/42574#VirtualPrivateCloud) -发布时间:2024-02-20 01:16:04 + * 新增成员:Ipv6SubnetIds + + + + +## 弹性 MapReduce(emr) 版本:2019-01-03 + +### 第 59 次发布 + +发布时间:2024-02-21 01:15:23 本次发布包含了以下内容: 改善已有的文档。 -**删除接口**: +修改接口: -* DescribeBillUsageDetail +* [ScaleOutCluster](https://cloud.tencent.com/document/api/589/83952) -**删除数据结构**: + * 新增入参:ScaleOutServiceConfGroupsInfo -* BillUsageDetail +新增数据结构: +* [ScaleOutServiceConfGroupsInfo](https://cloud.tencent.com/document/api/589/33981#ScaleOutServiceConfGroupsInfo) -## 腾讯电子签(基础版)(essbasic) 版本:2020-12-22 +## 文字识别(ocr) 版本:2018-11-19 -## 容器镜像服务(tcr) 版本:2019-09-24 +### 第 130 次发布 -### 第 65 次发布 +发布时间:2024-02-21 01:20:39 -发布时间:2024-02-19 10:37:21 +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [RecognizeForeignPermanentResidentIdCard](https://cloud.tencent.com/document/api/866/103033) + + * 新增出参:PreviousNumber, IssuedAuthority + + + + +## 凭据管理系统(ssm) 版本:2019-09-23 + +### 第 10 次发布 + +发布时间:2024-02-21 01:22:44 本次发布包含了以下内容: 改善已有的文档。 -新增接口: +修改数据结构: + +* [SecretMetadata](https://cloud.tencent.com/document/api/1140/40530#SecretMetadata) + + * **修改成员**:RotationFrequency, ResourceID, RotationBeginTime -* [ModifyServiceAccountPassword](https://cloud.tencent.com/document/api/1141/103857) @@ -42570,6 +42653,33 @@ ## TDSQL-C MySQL 版(cynosdb) 版本:2019-01-07 +### 第 79 次发布 + +发布时间:2024-02-21 01:12:48 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[DescribeTasks](https://cloud.tencent.com/document/api/1003/103866)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[BizTaskInfo](https://cloud.tencent.com/document/api/1003/48097#BizTaskInfo)](https://cloud.tencent.com/document/api/1003/48097#[BizTaskInfo](https://cloud.tencent.com/document/api/1003/48097#BizTaskInfo)) +* [[BizTaskModifyInstanceParam](https://cloud.tencent.com/document/api/1003/48097#BizTaskModifyInstanceParam)](https://cloud.tencent.com/document/api/1003/48097#[BizTaskModifyInstanceParam](https://cloud.tencent.com/document/api/1003/48097#BizTaskModifyInstanceParam)) +* [[BizTaskModifyParamsData](https://cloud.tencent.com/document/api/1003/48097#BizTaskModifyParamsData)](https://cloud.tencent.com/document/api/1003/48097#[BizTaskModifyParamsData](https://cloud.tencent.com/document/api/1003/48097#BizTaskModifyParamsData)) +* [[ClusterSlaveData](https://cloud.tencent.com/document/api/1003/48097#ClusterSlaveData)](https://cloud.tencent.com/document/api/1003/48097#[ClusterSlaveData](https://cloud.tencent.com/document/api/1003/48097#ClusterSlaveData)) +* [[CreateClustersData](https://cloud.tencent.com/document/api/1003/48097#CreateClustersData)](https://cloud.tencent.com/document/api/1003/48097#[CreateClustersData](https://cloud.tencent.com/document/api/1003/48097#CreateClustersData)) +* [[ManualBackupData](https://cloud.tencent.com/document/api/1003/48097#ManualBackupData)](https://cloud.tencent.com/document/api/1003/48097#[ManualBackupData](https://cloud.tencent.com/document/api/1003/48097#ManualBackupData)) +* [[ModifyDbVersionData](https://cloud.tencent.com/document/api/1003/48097#ModifyDbVersionData)](https://cloud.tencent.com/document/api/1003/48097#[ModifyDbVersionData](https://cloud.tencent.com/document/api/1003/48097#ModifyDbVersionData)) +* [[ModifyInstanceData](https://cloud.tencent.com/document/api/1003/48097#ModifyInstanceData)](https://cloud.tencent.com/document/api/1003/48097#[ModifyInstanceData](https://cloud.tencent.com/document/api/1003/48097#ModifyInstanceData)) +* [[ModifyParamsData](https://cloud.tencent.com/document/api/1003/48097#ModifyParamsData)](https://cloud.tencent.com/document/api/1003/48097#[ModifyParamsData](https://cloud.tencent.com/document/api/1003/48097#ModifyParamsData)) +* [[RollbackData](https://cloud.tencent.com/document/api/1003/48097#RollbackData)](https://cloud.tencent.com/document/api/1003/48097#[RollbackData](https://cloud.tencent.com/document/api/1003/48097#RollbackData)) +* [[SwitchClusterLogBin](https://cloud.tencent.com/document/api/1003/48097#SwitchClusterLogBin)](https://cloud.tencent.com/document/api/1003/48097#[SwitchClusterLogBin](https://cloud.tencent.com/document/api/1003/48097#SwitchClusterLogBin)) +* [[TaskMaintainInfo](https://cloud.tencent.com/document/api/1003/48097#TaskMaintainInfo)](https://cloud.tencent.com/document/api/1003/48097#[TaskMaintainInfo](https://cloud.tencent.com/document/api/1003/48097#TaskMaintainInfo)) + ### 第 78 次发布 发布时间:2024-01-25 01:10:23 @@ -48055,6 +48165,21 @@ ## 数据湖计算 DLC(dlc) 版本:2021-01-25 +### 第 80 次发布 + +发布时间:2024-02-21 01:13:43 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [TaskResultInfo](https://cloud.tencent.com/document/api/1342/53778#TaskResultInfo) + + * 新增成员:QueryResultTime + + ### 第 79 次发布 发布时间:2023-12-15 19:29:56 @@ -53306,6 +53431,33 @@ ## 边缘计算机器(ecm) 版本:2019-07-19 +### 第 74 次发布 + +发布时间:2024-02-21 01:14:56 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [Module](https://cloud.tencent.com/document/api/1108/42574#Module) + + * **修改成员**:DisableWanIp + +* [NetworkStorageRange](https://cloud.tencent.com/document/api/1108/42574#NetworkStorageRange) + + * 新增成员:CBSSupported, DiskNumLimit + +* [Position](https://cloud.tencent.com/document/api/1108/42574#Position) + + * 新增成员:Ipv6Supported + +* [VirtualPrivateCloud](https://cloud.tencent.com/document/api/1108/42574#VirtualPrivateCloud) + + * 新增成员:Ipv6SubnetIds + + ### 第 73 次发布 发布时间:2024-02-20 01:15:12 @@ -55487,6 +55639,25 @@ ## 弹性 MapReduce(emr) 版本:2019-01-03 +### 第 59 次发布 + +发布时间:2024-02-21 01:15:23 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [ScaleOutCluster](https://cloud.tencent.com/document/api/589/83952) + + * 新增入参:ScaleOutServiceConfGroupsInfo + + +新增数据结构: + +* [[ScaleOutServiceConfGroupsInfo](https://cloud.tencent.com/document/api/589/33981#ScaleOutServiceConfGroupsInfo)](https://cloud.tencent.com/document/api/589/33981#[ScaleOutServiceConfGroupsInfo](https://cloud.tencent.com/document/api/589/33981#ScaleOutServiceConfGroupsInfo)) + ### 第 58 次发布 发布时间:2024-01-29 01:13:24 @@ -91202,6 +91373,21 @@ ## 文字识别(ocr) 版本:2018-11-19 +### 第 130 次发布 + +发布时间:2024-02-21 01:20:39 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [RecognizeForeignPermanentResidentIdCard](https://cloud.tencent.com/document/api/866/103033) + + * 新增出参:PreviousNumber, IssuedAuthority + + ### 第 129 次发布 发布时间:2024-01-26 01:18:14 @@ -104316,6 +104502,21 @@ ## 凭据管理系统(ssm) 版本:2019-09-23 +### 第 10 次发布 + +发布时间:2024-02-21 01:22:44 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [SecretMetadata](https://cloud.tencent.com/document/api/1140/40530#SecretMetadata) + + * **修改成员**:RotationFrequency, ResourceID, RotationBeginTime + + ### 第 9 次发布 发布时间:2023-05-12 01:46:03 @@ -109939,7 +110140,7 @@ 新增接口: -* [[ModifyServiceAccountPassword](https://cloud.tencent.com/document/api/1141/103857)](https://cloud.tencent.com/document/api/#/#) +* [ModifyServiceAccountPassword](https://cloud.tencent.com/document/api/1141/103857) ### 第 64 次发布 diff --git a/products.md b/products.md index 7c5b95d580..fe7acf2d76 100644 --- a/products.md +++ b/products.md @@ -48,7 +48,7 @@ | cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-01-24 01:23:33 | | cdwpg | [云数据仓库 PostgreSQL](https://cloud.tencent.com/document/product/878) | 2023-12-15 19:11:22 | | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2024-01-19 01:08:39 | -| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2024-01-23 01:11:18 | +| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2024-02-21 01:09:59 | | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2024-01-23 14:38:08 | | chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2023-08-17 01:47:49 | | ciam | [账号风控平台](https://cloud.tencent.com/document/product/1441) | 2023-07-06 01:13:25 | @@ -72,7 +72,7 @@ | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-02-04 11:05:24 | | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-02-02 01:09:36 | | 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-02-02 01:10:38 | +| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-02-21 01:12:48 | | dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2024-01-24 01:26:26 | | 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 | @@ -80,8 +80,8 @@ | dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2023-08-22 01:11:33 | | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2024-01-11 01:12:33 | | dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2023-10-30 00:33:47 | -| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2024-01-29 01:11:58 | -| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2024-01-10 01:13:10 | +| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2024-02-21 01:13:43 | +| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2024-02-21 01:14:01 | | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2023-12-15 01:10:52 | | drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2023-11-10 01:14:28 | | ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2023-08-17 02:59:40 | @@ -91,13 +91,13 @@ | eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2024-01-17 01:14:14 | | ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2023-09-13 01:42:58 | | ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2023-08-17 03:03:04 | -| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2024-02-20 01:15:12 | +| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2024-02-21 01:14:56 | | eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2023-05-18 01:25:40 | | eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 | -| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-02-02 01:13:14 | +| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-02-21 01:15:23 | | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-01-25 01:13:20 | -| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-02-05 01:14:36 | -| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-02-20 01:16:04 | +| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-02-21 01:15:40 | +| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-02-21 01:15:57 | | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-12-15 19:41:44 | | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-02-20 01:16:27 | | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2023-12-25 00:11:01 | @@ -154,7 +154,7 @@ | nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2023-09-15 02:14:19 | | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 | | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-01-19 01:18:01 | -| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-02-19 10:34:29 | +| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-02-21 01:20:39 | | omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-01-05 01:21:57 | | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-01-17 01:19:45 | | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-01-23 01:25:29 | @@ -180,7 +180,7 @@ | ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2023-11-15 02:18:28 | | ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2024-02-02 01:20:24 | | sslpod | [证书监控 SSLPod](https://cloud.tencent.com/document/product/1084) | 2023-08-17 04:46:28 | -| ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2023-12-28 01:23:11 | +| ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2024-02-21 01:22:44 | | sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2024-01-17 01:21:44 | | svp | [节省计划](https://cloud.tencent.com/document/product/1761) | 2024-01-26 16:30:56 | | taf | [流量反欺诈](https://cloud.tencent.com/document/product/1031) | 2024-02-05 01:21:52 | @@ -206,7 +206,7 @@ | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2023-11-15 02:26:59 | | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2023-12-20 02:13:36 | | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-01-30 01:24:01 | -| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2023-11-27 00:20:12 | +| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2024-02-21 01:25:12 | | 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 | | ticm | [智能鉴黄](https://cloud.tencent.com/document/product/864) | 2021-01-07 08:08:15 | diff --git a/pyproject.toml b/pyproject.toml index 2dc87b899c..6016f05cf2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "tccli" -version = "3.0.1058.1" +version = "3.0.1059.1" authors = [ { name="tencentcloudapi", email="tencentcloudapi@tencent.com" }, ] @@ -21,7 +21,7 @@ classifiers = [ dependencies = [ "jmespath==0.10.0", "six==1.16.0", - "tencentcloud-sdk-python>=3.0.1058", + "tencentcloud-sdk-python>=3.0.1059", ] [project.urls] diff --git a/tccli/__init__.py b/tccli/__init__.py index 63585e4406..e91ec61d54 100644 --- a/tccli/__init__.py +++ b/tccli/__init__.py @@ -1 +1 @@ -__version__ = '3.0.1058.1' +__version__ = '3.0.1059.1' diff --git a/tccli/examples/cynosdb/v20190107/DescribeTasks.md b/tccli/examples/cynosdb/v20190107/DescribeTasks.md new file mode 100644 index 0000000000..8c3cc9a866 --- /dev/null +++ b/tccli/examples/cynosdb/v20190107/DescribeTasks.md @@ -0,0 +1,153 @@ +**Example 1: 查询任务列表** + +查询任务列表 + +Input: + +``` +tccli cynosdb DescribeTasks --cli-unfold-argument \ + --Limit 10 \ + --Offset 0 +``` + +Output: +``` +{ + "Response": { + "TotalCount": 0, + "TaskList": [ + { + "ID": 0, + "AppId": 0, + "ClusterId": "abc", + "CreateTime": "abc", + "DelayTime": "abc", + "ErrMsg": "abc", + "FlowId": 0, + "Input": "abc", + "InstanceGrpId": "abc", + "InstanceGroupId": "abc", + "InstanceId": "abc", + "ObjectId": "abc", + "ObjectType": "abc", + "Operator": "abc", + "Output": "abc", + "Status": "abc", + "TaskType": "abc", + "TriggerTaskId": 0, + "UpdateTime": "abc", + "StartTime": "abc", + "EndTime": "abc", + "ClusterName": "abc", + "InstanceName": "abc", + "Process": 0, + "ModifyParamsData": [ + { + "Name": "abc", + "OldValue": "abc", + "CurValue": "abc" + } + ], + "CreateClustersData": { + "Cpu": 0, + "Memory": 0, + "StorageLimit": 0 + }, + "RollbackData": { + "Cpu": 0, + "Memory": 0, + "StorageLimit": 0, + "OriginalClusterId": "abc", + "OriginalClusterName": "abc", + "RollbackStrategy": "abc", + "SnapshotTime": "abc", + "MinCpu": 0, + "MaxCpu": 0, + "SnapShotId": 1, + "RollbackDatabases": [ + { + "OldDatabase": "abc", + "NewDatabase": "abc" + } + ], + "RollbackTables": [ + { + "Database": "abc", + "Tables": [ + { + "OldTable": "abc", + "NewTable": "abc" + } + ] + } + ], + "BackupFileName": "abc" + }, + "ModifyInstanceData": { + "Cpu": 0, + "Memory": 0, + "StorageLimit": 0, + "OldCpu": 0, + "OldMemory": 0, + "OldStorageLimit": 0, + "UpgradeType": "abc" + }, + "ManualBackupData": { + "BackupType": "abc", + "BackupMethod": "abc", + "SnapshotTime": "abc" + }, + "ModifyDbVersionData": { + "OldVersion": "abc", + "NewVersion": "abc", + "UpgradeType": "abc" + }, + "ClusterSlaveData": { + "OldMasterZone": "abc", + "OldSlaveZone": [ + "abc" + ], + "NewMasterZone": "abc", + "NewSlaveZone": [ + "abc" + ] + }, + "SwitchClusterLogBin": { + "Status": "abc" + }, + "ModifyInstanceParamsData": { + "ClusterId": "abc", + "ClusterParamList": [ + { + "ParamName": "abc", + "CurrentValue": "abc", + "OldValue": "abc" + } + ], + "ModifyInstanceParams": [ + { + "InstanceId": "abc", + "ModifyInstanceParamList": [ + { + "ParamName": "abc", + "CurrentValue": "abc", + "OldValue": "abc" + } + ] + } + ] + }, + "TaskMaintainInfo": { + "MaintainStartTime": 0, + "MaintainDuration": 0, + "MaintainWeekDays": [ + "abc" + ] + } + } + ], + "RequestId": "abc" + } +} +``` + diff --git a/tccli/examples/dlc/v20210125/DescribeTaskResult.md b/tccli/examples/dlc/v20210125/DescribeTaskResult.md index df87f86320..a88e46230d 100644 --- a/tccli/examples/dlc/v20210125/DescribeTaskResult.md +++ b/tccli/examples/dlc/v20210125/DescribeTaskResult.md @@ -36,7 +36,11 @@ Output: "Comment": "", "Precision": 0, "Scale": 0, - "Nullable": "NULLABLE" + "Nullable": "NULLABLE", + "Position": 0, + "CreateTime": "abc", + "ModifiedTime": "abc", + "IsPartition": true }, { "Name": "b", @@ -44,7 +48,11 @@ Output: "Comment": "", "Precision": 0, "Scale": 0, - "Nullable": "NULLABLE" + "Nullable": "NULLABLE", + "Position": 0, + "CreateTime": "abc", + "ModifiedTime": "abc", + "IsPartition": true } ], "ResultSet": "[[\"3\",\"kk\"],[\"3\",\"kk\"],[\"9143\",\" \\\"28992\\\"\"],[\"19048\",\" \\\"11266\\\"\"],[\"16711\",\" \\\"17422\\\"\"],[\"3816\",\" \\\"18501\\\"\"],[\"16428\",\" \\\"13774\\\"\"],[\"30190\",\" \\\"5177\\\"\"],[\"24824\",\" \\\"19479\\\"\"],[\"9709\",\" \\\"5532\\\"\"]]", diff --git a/tccli/examples/dnspod/v20210323/DescribeUserDetail.md b/tccli/examples/dnspod/v20210323/DescribeUserDetail.md index 1dbce2c0bc..4e63844c64 100644 --- a/tccli/examples/dnspod/v20210323/DescribeUserDetail.md +++ b/tccli/examples/dnspod/v20210323/DescribeUserDetail.md @@ -1,6 +1,6 @@ -**Example 1: 获取帐户信息** +**Example 1: 获取账户信息** -获取帐户信息 +获取账户信息 Input: diff --git a/tccli/examples/ecm/v20190719/DescribeImportImageOs.md b/tccli/examples/ecm/v20190719/DescribeImportImageOs.md index 5987e015c3..aecf4aebf7 100644 --- a/tccli/examples/ecm/v20190719/DescribeImportImageOs.md +++ b/tccli/examples/ecm/v20190719/DescribeImportImageOs.md @@ -28,10 +28,10 @@ Output: "Other Linux" ] }, - "RequestId": "xx", + "RequestId": "ef14668d-1daa-4e98-b545-c121a5e4ef18", "ImportImageOsVersionSet": [ { - "OsName": "xx", + "OsName": "CentOS 7.4 64位", "Architecture": [ "x86_64", "i386" @@ -44,7 +44,7 @@ Output: "OsVersions": [ "-" ], - "OsName": "xx", + "OsName": "CentOS 7.4 64位", "Architecture": [ "x86_64", "i386" @@ -54,7 +54,7 @@ Output: "OsVersions": [ "-" ], - "OsName": "xx", + "OsName": "CentOS 7.4 64位", "Architecture": [ "x86_64", "i386" @@ -66,7 +66,7 @@ Output: "6", "7" ], - "OsName": "xx", + "OsName": "CentOS 7.4 64位", "Architecture": [ "x86_64", "i386" @@ -76,7 +76,7 @@ Output: "OsVersions": [ "7" ], - "OsName": "xx", + "OsName": "CentOS 7.4 64位", "Architecture": [ "x86_64", "i386" @@ -89,7 +89,7 @@ Output: "8", "9" ], - "OsName": "xx", + "OsName": "CentOS 7.4 64位", "Architecture": [ "x86_64", "i386" @@ -99,7 +99,7 @@ Output: "OsVersions": [ "10" ], - "OsName": "xx", + "OsName": "CentOS 7.4 64位", "Architecture": [ "x86_64", "i386" @@ -111,7 +111,7 @@ Output: "6", "7" ], - "OsName": "xx", + "OsName": "CentOS 7.4 64位", "Architecture": [ "x86_64", "i386" @@ -122,7 +122,7 @@ Output: "11", "12" ], - "OsName": "xx", + "OsName": "CentOS 7.4 64位", "Architecture": [ "x86_64", "i386" @@ -135,7 +135,7 @@ Output: "12", "13" ], - "OsName": "xx", + "OsName": "CentOS 7.4 64位", "Architecture": [ "x86_64", "i386" @@ -148,7 +148,7 @@ Output: "14", "16" ], - "OsName": "xx", + "OsName": "CentOS 7.4 64位", "Architecture": [ "x86_64", "i386" @@ -158,7 +158,7 @@ Output: "OsVersions": [ "-" ], - "OsName": "xx", + "OsName": "CentOS 7.4 64位", "Architecture": [ "x86_64", "i386" diff --git a/tccli/examples/ecm/v20190719/DescribeInstances.md b/tccli/examples/ecm/v20190719/DescribeInstances.md index 6dfbdc83b5..d360008a41 100644 --- a/tccli/examples/ecm/v20190719/DescribeInstances.md +++ b/tccli/examples/ecm/v20190719/DescribeInstances.md @@ -1,11 +1,15 @@ -**Example 1: 通过过滤条件获取实例信息** +**Example 1: 按照创建时间倒序查询最近的两个实例** + -通过指定过滤条件来获取实例的信息。 Input: ``` -tccli ecm DescribeInstances --cli-unfold-argument ``` +tccli ecm DescribeInstances --cli-unfold-argument \ + --Limit 2 \ + --OrderByField timestamp \ + --OrderDirection 0 +``` Output: ``` @@ -20,9 +24,11 @@ Output: "ISP": "CTCC", "SecurityGroupIds": [], "SystemDisk": { + "DeleteWithInstance": false, "DiskType": "LOCAL_BASIC", "DiskId": "ldisk-91p8tj1p", - "DiskSize": 50 + "DiskSize": 50, + "SnapshotId": "" }, "ExpireTime": "2020-09-27 16:13:51", "TagSet": null, @@ -36,8 +42,10 @@ Output: "SystemDiskSize": 50, "InstanceTypeConfig": { "Frequency": "2.5 GHz", + "GpuModelName": null, "InstanceType": "SN3ne.2XLARGE16", "Vcpu": 8, + "Vgpu": null, "InstanceFamilyConfig": { "InstanceFamilyName": "标准型SN3ne", "InstanceFamily": "SN3ne" @@ -72,6 +80,7 @@ Output: "CountryName": "中国", "CountryId": "china" }, + "Ipv6Supported": true, "Area": { "AreaName": "华南", "AreaId": "china-south" @@ -112,12 +121,14 @@ Output: "ImageOwner": 0, "ImageSource": "OFFICIAL", "ImageType": "PUBLIC_IMAGE", + "IsSupportCloudInit": true, "OsType": "linux", "OsVersion": "7.6.0", "ImageState": "NORMAL", "ImageDescription": "CentOS 7.6 64位", "Architecture": "x86_64", - "ImageSize": 50 + "ImageSize": 50, + "TaskId": "" }, "InstanceState": "RUNNING", "Internet": { @@ -166,6 +177,11 @@ Output: "NewFlag": 0, "ExpireState": "NORMAL", "PayMode": 0, + "PhysicalPosition": { + "PosId": "", + "RackId": "", + "SwitchId": "" + }, "LatestOperation": "ResetInstancesPassword" }, { @@ -175,9 +191,11 @@ Output: "ISP": "CTCC", "SecurityGroupIds": [], "SystemDisk": { + "DeleteWithInstance": false, "DiskType": "LOCAL_BASIC", "DiskId": "ldisk-9tvkpn8p", - "DiskSize": 50 + "DiskSize": 50, + "SnapshotId": "" }, "ExpireTime": "2020-09-27 16:12:24", "TagSet": null, @@ -191,8 +209,10 @@ Output: "SystemDiskSize": 50, "InstanceTypeConfig": { "Frequency": "2.5 GHz", + "GpuModelName": null, "InstanceType": "SN3ne.4XLARGE32", "Vcpu": 16, + "Vgpu": null, "InstanceFamilyConfig": { "InstanceFamilyName": "标准型SN3ne", "InstanceFamily": "SN3ne" @@ -227,6 +247,7 @@ Output: "CountryName": "中国", "CountryId": "china" }, + "Ipv6Supported": true, "Area": { "AreaName": "华南", "AreaId": "china-south" @@ -267,12 +288,14 @@ Output: "ImageOwner": 0, "ImageSource": "OFFICIAL", "ImageType": "PUBLIC_IMAGE", + "IsSupportCloudInit": true, "OsType": "linux", "OsVersion": "7.6.0", "ImageState": "NORMAL", "ImageDescription": "CentOS 7.6 64位", "Architecture": "x86_64", - "ImageSize": 50 + "ImageSize": 50, + "TaskId": "" }, "InstanceState": "RUNNING", "Internet": { @@ -321,33 +344,66 @@ Output: "NewFlag": 0, "ExpireState": "NORMAL", "PayMode": 0, + "PhysicalPosition": { + "PosId": "", + "RackId": "", + "SwitchId": "" + }, "LatestOperation": "ResetInstancesPassword" - }, + } + ], + "TotalCount": 15 + } +} +``` + +**Example 2: 用vpc-id查询实例** + + + +Input: + +``` +tccli ecm DescribeInstances --cli-unfold-argument \ + --Filters.0.Values vpc-ec3mnb4d \ + --Filters.0.Name vpc-id +``` + +Output: +``` +{ + "Response": { + "RequestId": "", + "InstanceSet": [ { "DataDiskSize": 0, "RestrictState": "NORMAL", - "InstanceId": "ein-5uhtyyps", + "InstanceId": "ein-bb0ab3pc", "ISP": "CTCC", "SecurityGroupIds": [], "SystemDisk": { + "DeleteWithInstance": false, "DiskType": "LOCAL_BASIC", - "DiskId": "ldisk-0fqlcnj7", - "DiskSize": 50 + "DiskId": "ldisk-91p8tj1p", + "DiskSize": 50, + "SnapshotId": "" }, - "ExpireTime": "2020-09-27 16:12:24", + "ExpireTime": "2020-09-27 16:13:51", "TagSet": null, "SimpleModule": { - "ModuleId": "em-xgi6r1hk", - "ModuleName": "视频V8-cedricliu" + "ModuleId": "em-5wrpefy1", + "ModuleName": "jiaxuan" }, "DataDisks": null, "LatestOperationState": "SUCCESS", - "UUID": "e85e02fb-8efd-4728-a3d7-10cf913ed4e5", + "UUID": "3c3e605a-33a0-41ca-9251-5f115a531c3e", "SystemDiskSize": 50, "InstanceTypeConfig": { "Frequency": "2.5 GHz", - "InstanceType": "SN3ne.4XLARGE32", - "Vcpu": 16, + "GpuModelName": null, + "InstanceType": "SN3ne.2XLARGE16", + "Vcpu": 8, + "Vgpu": null, "InstanceFamilyConfig": { "InstanceFamilyName": "标准型SN3ne", "InstanceFamily": "SN3ne" @@ -357,21 +413,21 @@ Output: "InstanceFamilyType": "S" }, "CpuModelName": "Intel Xeon Skylake 6133", - "Memory": 32, + "Memory": 16, "ExtInfo": "" }, "RenewFlag": 0, "VirtualPrivateCloud": { "PrivateIpAddresses": [ - "10.11.12.4" + "10.11.12.6" ], "VpcId": "vpc-95ytv1vr", "AsVpcGateway": false, "SubnetId": "subnet-fua8fff8", "Ipv6AddressCount": 0 }, - "IsolatedTime": "2020-09-27 16:12:24", - "InstanceName": "jiaxuan滨海机器_勿删1", + "IsolatedTime": "2020-09-27 16:13:51", + "InstanceName": "jiaxuan滨海_勿删2", "Position": { "ZoneInfo": { "ZoneId": 12000001, @@ -382,6 +438,7 @@ Output: "CountryName": "中国", "CountryId": "china" }, + "Ipv6Supported": true, "Area": { "AreaName": "华南", "AreaId": "china-south" @@ -400,7 +457,7 @@ Output: "RegionName": "腾讯滨海专区" } }, - "CreateTime": "2020-09-27 16:12:24", + "CreateTime": "2020-09-27 16:13:51", "Image": { "SrcImage": { "InstanceName": "", @@ -422,34 +479,36 @@ Output: "ImageOwner": 0, "ImageSource": "OFFICIAL", "ImageType": "PUBLIC_IMAGE", + "IsSupportCloudInit": true, "OsType": "linux", "OsVersion": "7.6.0", "ImageState": "NORMAL", "ImageDescription": "CentOS 7.6 64位", "Architecture": "x86_64", - "ImageSize": 50 + "ImageSize": 50, + "TaskId": "" }, "InstanceState": "RUNNING", "Internet": { "InstanceNetworkInfoSet": [ { "Primary": true, - "NetworkInterfaceId": "eni-i7nvrvbj", - "NetworkInterfaceName": "ein-5uhtyyps Primary ENI", + "NetworkInterfaceId": "eni-m5gnw3tv", + "NetworkInterfaceName": "ein-bb0ab3pc Primary ENI", "AddressInfoSet": [ { "PublicIPAddressInfo": { - "PublicIPAddress": "118.126.126.39", + "PublicIPAddress": "118.126.126.23", "ISP": { "ISPName": "电信", "ISPId": "CTCC" }, - "MaxBandwidthOut": 105, + "MaxBandwidthOut": 25, "ChargeMode": "BANDWIDTH_PACKAGE", "MaxBandwidthIn": 0 }, "PrivateIPAddressInfo": { - "PrivateIPAddress": "10.11.12.4" + "PrivateIPAddress": "10.11.12.6" } } ] @@ -457,17 +516,17 @@ Output: ], "PrivateIPAddressSet": [ { - "PrivateIPAddress": "10.11.12.4" + "PrivateIPAddress": "10.11.12.6" } ], "PublicIPAddressSet": [ { - "PublicIPAddress": "118.126.126.39", + "PublicIPAddress": "118.126.126.23", "ISP": { "ISPName": "电信", "ISPId": "CTCC" }, - "MaxBandwidthOut": 105, + "MaxBandwidthOut": 25, "ChargeMode": "BANDWIDTH_PACKAGE", "MaxBandwidthIn": 0 } @@ -476,58 +535,42 @@ Output: "NewFlag": 0, "ExpireState": "NORMAL", "PayMode": 0, + "PhysicalPosition": { + "PosId": "", + "RackId": "", + "SwitchId": "" + }, "LatestOperation": "ResetInstancesPassword" - } - ], - "TotalCount": 3 - } -} -``` - -**Example 2: 按照创建时间倒序查询最近的两个实例** - - - -Input: - -``` -tccli ecm DescribeInstances --cli-unfold-argument \ - --OrderByField timestamp \ - --OrderDirection 0 \ - --Limit 2 -``` - -Output: -``` -{ - "Response": { - "RequestId": "", - "InstanceSet": [ + }, { "DataDiskSize": 0, "RestrictState": "NORMAL", - "InstanceId": "ein-bb0ab3pc", + "InstanceId": "ein-b6kee4dg", "ISP": "CTCC", "SecurityGroupIds": [], "SystemDisk": { + "DeleteWithInstance": false, "DiskType": "LOCAL_BASIC", - "DiskId": "ldisk-91p8tj1p", - "DiskSize": 50 + "DiskId": "ldisk-9tvkpn8p", + "DiskSize": 50, + "SnapshotId": "" }, - "ExpireTime": "2020-09-27 16:13:51", + "ExpireTime": "2020-09-27 16:12:24", "TagSet": null, "SimpleModule": { - "ModuleId": "em-5wrpefy1", - "ModuleName": "jiaxuan" + "ModuleId": "em-xgi6r1hk", + "ModuleName": "视频V8-cedricliu" }, "DataDisks": null, "LatestOperationState": "SUCCESS", - "UUID": "3c3e605a-33a0-41ca-9251-5f115a531c3e", + "UUID": "edf97143-b1e3-43d9-b34b-cfcf3fba1820", "SystemDiskSize": 50, "InstanceTypeConfig": { "Frequency": "2.5 GHz", - "InstanceType": "SN3ne.2XLARGE16", - "Vcpu": 8, + "GpuModelName": null, + "InstanceType": "SN3ne.4XLARGE32", + "Vcpu": 16, + "Vgpu": null, "InstanceFamilyConfig": { "InstanceFamilyName": "标准型SN3ne", "InstanceFamily": "SN3ne" @@ -537,21 +580,21 @@ Output: "InstanceFamilyType": "S" }, "CpuModelName": "Intel Xeon Skylake 6133", - "Memory": 16, + "Memory": 32, "ExtInfo": "" }, "RenewFlag": 0, "VirtualPrivateCloud": { "PrivateIpAddresses": [ - "10.11.12.6" + "10.11.12.17" ], "VpcId": "vpc-95ytv1vr", "AsVpcGateway": false, "SubnetId": "subnet-fua8fff8", "Ipv6AddressCount": 0 }, - "IsolatedTime": "2020-09-27 16:13:51", - "InstanceName": "jiaxuan滨海_勿删2", + "IsolatedTime": "2020-09-27 16:12:24", + "InstanceName": "jiaxuan滨海机器_勿删2", "Position": { "ZoneInfo": { "ZoneId": 12000001, @@ -562,6 +605,7 @@ Output: "CountryName": "中国", "CountryId": "china" }, + "Ipv6Supported": true, "Area": { "AreaName": "华南", "AreaId": "china-south" @@ -580,7 +624,7 @@ Output: "RegionName": "腾讯滨海专区" } }, - "CreateTime": "2020-09-27 16:13:51", + "CreateTime": "2020-09-27 16:12:24", "Image": { "SrcImage": { "InstanceName": "", @@ -602,34 +646,36 @@ Output: "ImageOwner": 0, "ImageSource": "OFFICIAL", "ImageType": "PUBLIC_IMAGE", + "IsSupportCloudInit": true, "OsType": "linux", "OsVersion": "7.6.0", "ImageState": "NORMAL", "ImageDescription": "CentOS 7.6 64位", "Architecture": "x86_64", - "ImageSize": 50 + "ImageSize": 50, + "TaskId": "" }, "InstanceState": "RUNNING", "Internet": { "InstanceNetworkInfoSet": [ { "Primary": true, - "NetworkInterfaceId": "eni-m5gnw3tv", - "NetworkInterfaceName": "ein-bb0ab3pc Primary ENI", + "NetworkInterfaceId": "eni-mhym6o89", + "NetworkInterfaceName": "ein-b6kee4dg Primary ENI", "AddressInfoSet": [ { "PublicIPAddressInfo": { - "PublicIPAddress": "118.126.126.23", + "PublicIPAddress": "118.126.126.27", "ISP": { "ISPName": "电信", "ISPId": "CTCC" }, - "MaxBandwidthOut": 25, + "MaxBandwidthOut": 105, "ChargeMode": "BANDWIDTH_PACKAGE", "MaxBandwidthIn": 0 }, "PrivateIPAddressInfo": { - "PrivateIPAddress": "10.11.12.6" + "PrivateIPAddress": "10.11.12.17" } } ] @@ -637,17 +683,17 @@ Output: ], "PrivateIPAddressSet": [ { - "PrivateIPAddress": "10.11.12.6" + "PrivateIPAddress": "10.11.12.17" } ], "PublicIPAddressSet": [ { - "PublicIPAddress": "118.126.126.23", + "PublicIPAddress": "118.126.126.27", "ISP": { "ISPName": "电信", "ISPId": "CTCC" }, - "MaxBandwidthOut": 25, + "MaxBandwidthOut": 105, "ChargeMode": "BANDWIDTH_PACKAGE", "MaxBandwidthIn": 0 } @@ -656,18 +702,25 @@ Output: "NewFlag": 0, "ExpireState": "NORMAL", "PayMode": 0, + "PhysicalPosition": { + "PosId": "", + "RackId": "", + "SwitchId": "" + }, "LatestOperation": "ResetInstancesPassword" }, { "DataDiskSize": 0, "RestrictState": "NORMAL", - "InstanceId": "ein-b6kee4dg", + "InstanceId": "ein-5uhtyyps", "ISP": "CTCC", "SecurityGroupIds": [], "SystemDisk": { + "DeleteWithInstance": false, "DiskType": "LOCAL_BASIC", - "DiskId": "ldisk-9tvkpn8p", - "DiskSize": 50 + "DiskId": "ldisk-0fqlcnj7", + "DiskSize": 50, + "SnapshotId": "" }, "ExpireTime": "2020-09-27 16:12:24", "TagSet": null, @@ -677,12 +730,14 @@ Output: }, "DataDisks": null, "LatestOperationState": "SUCCESS", - "UUID": "edf97143-b1e3-43d9-b34b-cfcf3fba1820", + "UUID": "e85e02fb-8efd-4728-a3d7-10cf913ed4e5", "SystemDiskSize": 50, "InstanceTypeConfig": { "Frequency": "2.5 GHz", + "GpuModelName": null, "InstanceType": "SN3ne.4XLARGE32", "Vcpu": 16, + "Vgpu": null, "InstanceFamilyConfig": { "InstanceFamilyName": "标准型SN3ne", "InstanceFamily": "SN3ne" @@ -698,7 +753,7 @@ Output: "RenewFlag": 0, "VirtualPrivateCloud": { "PrivateIpAddresses": [ - "10.11.12.17" + "10.11.12.4" ], "VpcId": "vpc-95ytv1vr", "AsVpcGateway": false, @@ -706,7 +761,7 @@ Output: "Ipv6AddressCount": 0 }, "IsolatedTime": "2020-09-27 16:12:24", - "InstanceName": "jiaxuan滨海机器_勿删2", + "InstanceName": "jiaxuan滨海机器_勿删1", "Position": { "ZoneInfo": { "ZoneId": 12000001, @@ -717,6 +772,7 @@ Output: "CountryName": "中国", "CountryId": "china" }, + "Ipv6Supported": true, "Area": { "AreaName": "华南", "AreaId": "china-south" @@ -757,24 +813,26 @@ Output: "ImageOwner": 0, "ImageSource": "OFFICIAL", "ImageType": "PUBLIC_IMAGE", + "IsSupportCloudInit": true, "OsType": "linux", "OsVersion": "7.6.0", "ImageState": "NORMAL", "ImageDescription": "CentOS 7.6 64位", "Architecture": "x86_64", - "ImageSize": 50 + "ImageSize": 50, + "TaskId": "" }, "InstanceState": "RUNNING", "Internet": { "InstanceNetworkInfoSet": [ { "Primary": true, - "NetworkInterfaceId": "eni-mhym6o89", - "NetworkInterfaceName": "ein-b6kee4dg Primary ENI", + "NetworkInterfaceId": "eni-i7nvrvbj", + "NetworkInterfaceName": "ein-5uhtyyps Primary ENI", "AddressInfoSet": [ { "PublicIPAddressInfo": { - "PublicIPAddress": "118.126.126.27", + "PublicIPAddress": "118.126.126.39", "ISP": { "ISPName": "电信", "ISPId": "CTCC" @@ -784,7 +842,7 @@ Output: "MaxBandwidthIn": 0 }, "PrivateIPAddressInfo": { - "PrivateIPAddress": "10.11.12.17" + "PrivateIPAddress": "10.11.12.4" } } ] @@ -792,12 +850,12 @@ Output: ], "PrivateIPAddressSet": [ { - "PrivateIPAddress": "10.11.12.17" + "PrivateIPAddress": "10.11.12.4" } ], "PublicIPAddressSet": [ { - "PublicIPAddress": "118.126.126.27", + "PublicIPAddress": "118.126.126.39", "ISP": { "ISPName": "电信", "ISPId": "CTCC" @@ -811,25 +869,27 @@ Output: "NewFlag": 0, "ExpireState": "NORMAL", "PayMode": 0, + "PhysicalPosition": { + "PosId": "", + "RackId": "", + "SwitchId": "" + }, "LatestOperation": "ResetInstancesPassword" } ], - "TotalCount": 15 + "TotalCount": 12 } } ``` -**Example 3: 用vpc-id查询实例** - +**Example 3: 通过默认参数获取实例信息** +通过默认参数来获取实例的信息。 Input: ``` -tccli ecm DescribeInstances --cli-unfold-argument \ - --Filters.0.Name vpc-id \ - --Filters.0.Values vpc-ec3mnb4d -``` +tccli ecm DescribeInstances --cli-unfold-argument ``` Output: ``` @@ -844,9 +904,11 @@ Output: "ISP": "CTCC", "SecurityGroupIds": [], "SystemDisk": { + "DeleteWithInstance": false, "DiskType": "LOCAL_BASIC", "DiskId": "ldisk-91p8tj1p", - "DiskSize": 50 + "DiskSize": 50, + "SnapshotId": "" }, "ExpireTime": "2020-09-27 16:13:51", "TagSet": null, @@ -860,8 +922,10 @@ Output: "SystemDiskSize": 50, "InstanceTypeConfig": { "Frequency": "2.5 GHz", + "GpuModelName": null, "InstanceType": "SN3ne.2XLARGE16", "Vcpu": 8, + "Vgpu": null, "InstanceFamilyConfig": { "InstanceFamilyName": "标准型SN3ne", "InstanceFamily": "SN3ne" @@ -896,6 +960,7 @@ Output: "CountryName": "中国", "CountryId": "china" }, + "Ipv6Supported": true, "Area": { "AreaName": "华南", "AreaId": "china-south" @@ -936,12 +1001,14 @@ Output: "ImageOwner": 0, "ImageSource": "OFFICIAL", "ImageType": "PUBLIC_IMAGE", + "IsSupportCloudInit": true, "OsType": "linux", "OsVersion": "7.6.0", "ImageState": "NORMAL", "ImageDescription": "CentOS 7.6 64位", "Architecture": "x86_64", - "ImageSize": 50 + "ImageSize": 50, + "TaskId": "" }, "InstanceState": "RUNNING", "Internet": { @@ -990,6 +1057,11 @@ Output: "NewFlag": 0, "ExpireState": "NORMAL", "PayMode": 0, + "PhysicalPosition": { + "PosId": "", + "RackId": "", + "SwitchId": "" + }, "LatestOperation": "ResetInstancesPassword" }, { @@ -999,9 +1071,11 @@ Output: "ISP": "CTCC", "SecurityGroupIds": [], "SystemDisk": { + "DeleteWithInstance": false, "DiskType": "LOCAL_BASIC", "DiskId": "ldisk-9tvkpn8p", - "DiskSize": 50 + "DiskSize": 50, + "SnapshotId": "" }, "ExpireTime": "2020-09-27 16:12:24", "TagSet": null, @@ -1015,8 +1089,10 @@ Output: "SystemDiskSize": 50, "InstanceTypeConfig": { "Frequency": "2.5 GHz", + "GpuModelName": null, "InstanceType": "SN3ne.4XLARGE32", "Vcpu": 16, + "Vgpu": null, "InstanceFamilyConfig": { "InstanceFamilyName": "标准型SN3ne", "InstanceFamily": "SN3ne" @@ -1051,6 +1127,7 @@ Output: "CountryName": "中国", "CountryId": "china" }, + "Ipv6Supported": true, "Area": { "AreaName": "华南", "AreaId": "china-south" @@ -1091,12 +1168,14 @@ Output: "ImageOwner": 0, "ImageSource": "OFFICIAL", "ImageType": "PUBLIC_IMAGE", + "IsSupportCloudInit": true, "OsType": "linux", "OsVersion": "7.6.0", "ImageState": "NORMAL", "ImageDescription": "CentOS 7.6 64位", "Architecture": "x86_64", - "ImageSize": 50 + "ImageSize": 50, + "TaskId": "" }, "InstanceState": "RUNNING", "Internet": { @@ -1145,6 +1224,11 @@ Output: "NewFlag": 0, "ExpireState": "NORMAL", "PayMode": 0, + "PhysicalPosition": { + "PosId": "", + "RackId": "", + "SwitchId": "" + }, "LatestOperation": "ResetInstancesPassword" }, { @@ -1154,9 +1238,11 @@ Output: "ISP": "CTCC", "SecurityGroupIds": [], "SystemDisk": { + "DeleteWithInstance": false, "DiskType": "LOCAL_BASIC", "DiskId": "ldisk-0fqlcnj7", - "DiskSize": 50 + "DiskSize": 50, + "SnapshotId": "" }, "ExpireTime": "2020-09-27 16:12:24", "TagSet": null, @@ -1170,8 +1256,10 @@ Output: "SystemDiskSize": 50, "InstanceTypeConfig": { "Frequency": "2.5 GHz", + "GpuModelName": null, "InstanceType": "SN3ne.4XLARGE32", "Vcpu": 16, + "Vgpu": null, "InstanceFamilyConfig": { "InstanceFamilyName": "标准型SN3ne", "InstanceFamily": "SN3ne" @@ -1206,6 +1294,7 @@ Output: "CountryName": "中国", "CountryId": "china" }, + "Ipv6Supported": true, "Area": { "AreaName": "华南", "AreaId": "china-south" @@ -1246,12 +1335,14 @@ Output: "ImageOwner": 0, "ImageSource": "OFFICIAL", "ImageType": "PUBLIC_IMAGE", + "IsSupportCloudInit": true, "OsType": "linux", "OsVersion": "7.6.0", "ImageState": "NORMAL", "ImageDescription": "CentOS 7.6 64位", "Architecture": "x86_64", - "ImageSize": 50 + "ImageSize": 50, + "TaskId": "" }, "InstanceState": "RUNNING", "Internet": { @@ -1300,10 +1391,15 @@ Output: "NewFlag": 0, "ExpireState": "NORMAL", "PayMode": 0, + "PhysicalPosition": { + "PosId": "", + "RackId": "", + "SwitchId": "" + }, "LatestOperation": "ResetInstancesPassword" } ], - "TotalCount": 12 + "TotalCount": 3 } } ``` diff --git a/tccli/examples/ecm/v20190719/DescribeModule.md b/tccli/examples/ecm/v20190719/DescribeModule.md index 870bd79ab3..94abb3de25 100644 --- a/tccli/examples/ecm/v20190719/DescribeModule.md +++ b/tccli/examples/ecm/v20190719/DescribeModule.md @@ -14,710 +14,92 @@ Output: ``` { "Response": { - "TotalCount": 17, "ModuleItemSet": [ { - "NodeInstanceNum": { - "InstanceNum": 3, - "NodeNum": 3 - }, "Module": { - "ModuleName": "xx", - "DefaultDataDiskSize": 48, - "DefaultBandwidthIn": 0, - "InstanceTypeConfig": { - "CpuModelName": "xx", - "Vcpu": 8, - "InstanceFamilyConfig": { - "InstanceFamilyName": "xx", - "InstanceFamily": "xx" - }, - "InstanceFamilyTypeConfig": { - "InstanceFamilyType": "xx", - "InstanceFamilyTypeName": "xx" - }, - "Memory": 16, - "ExtInfo": "xx", - "Frequency": "xx", - "InstanceType": "xx" - }, - "DefaultImage": { - "SrcImage": { - "ImageDescription": "xx", - "InstanceId": "xx", - "Region": "xx", - "RegionID": 0, - "ImageId": "xx", - "ImageName": "xx", - "RegionName": "xx", - "InstanceName": "xx", - "ImageType": "xx", - "ImageOsName": "xx" - }, - "ImageCreateTime": "xx", - "ImageSize": 50, - "ImageSource": "xx", - "ImageDescription": "xx", - "ImageOwner": 0, - "ImageId": "xx", - "ImageState": "xx", - "Platform": "xx", - "ImageName": "xx", - "Architecture": "xx", - "OsType": "xx", - "OsVersion": "xx", - "ImageType": "xx", - "ImageOsName": "xx" - }, - "DefaultSystemDiskSize": 50, - "DefaultBandwidth": 106, - "SecurityGroupIds": [ - "xx" - ], - "TagSet": [ - { - "Value": "xx", - "Key": "xx" - } - ], "CloseIpDirect": 0, - "ModuleState": "xx", - "CreateTime": "xx", - "ModuleId": "xx" - } - }, - { - "NodeInstanceNum": { - "InstanceNum": 1, - "NodeNum": 1 - }, - "Module": { - "ModuleName": "xx", - "DefaultDataDiskSize": 50, - "DefaultBandwidthIn": 0, - "InstanceTypeConfig": { - "CpuModelName": "xx", - "Vcpu": 4, - "InstanceFamilyConfig": { - "InstanceFamilyName": "xx", - "InstanceFamily": "xx" - }, - "InstanceFamilyTypeConfig": { - "InstanceFamilyType": "xx", - "InstanceFamilyTypeName": "xx" - }, - "Memory": 8, - "ExtInfo": "xx", - "Frequency": "xx", - "InstanceType": "xx" - }, - "DefaultImage": { - "SrcImage": { - "ImageDescription": "xx", - "InstanceId": "xx", - "Region": "xx", - "RegionID": 0, - "ImageId": "xx", - "ImageName": "xx", - "ImageOsName": "xx", - "InstanceName": "xx", - "ImageType": "xx", - "RegionName": "xx" - }, - "ImageCreateTime": "xx", - "ImageSize": 50, - "OsVersion": "xx", - "ImageDescription": "xx", - "ImageOwner": 0, - "ImageId": "xx", - "ImageState": "xx", - "Platform": "xx", - "ImageName": "xx", - "Architecture": "xx", - "OsType": "xx", - "ImageSource": "xx", - "ImageType": "xx", - "ImageOsName": "xx" - }, - "DefaultSystemDiskSize": 50, - "DefaultBandwidth": 100, - "SecurityGroupIds": [ - "xx" - ], - "TagSet": [ + "CreateTime": "2024-01-25 19:35:00", + "DataDisks": [ { - "Key": "xx", - "Value": "xx" + "DiskSize": 0, + "DiskType": "LOCAL_BASIC" } ], - "CloseIpDirect": 0, - "ModuleState": "xx", - "CreateTime": "xx", - "ModuleId": "xx" - } - }, - { - "NodeInstanceNum": { - "InstanceNum": 0, - "NodeNum": 0 - }, - "Module": { - "ModuleName": "xx", + "DefaultBandwidth": 1024, + "DefaultBandwidthIn": 1024, "DefaultDataDiskSize": 0, - "DefaultBandwidthIn": 0, - "InstanceTypeConfig": { - "CpuModelName": "xx", - "Vcpu": 24, - "InstanceFamilyConfig": { - "InstanceFamilyName": "xx", - "InstanceFamily": "xx" - }, - "InstanceFamilyTypeConfig": { - "InstanceFamilyType": "xx", - "InstanceFamilyTypeName": "xx" - }, - "Memory": 48, - "ExtInfo": "xx", - "Frequency": "xx", - "InstanceType": "xx" - }, "DefaultImage": { - "SrcImage": { - "ImageDescription": "xx", - "InstanceId": "xx", - "Region": "xx", - "RegionID": 0, - "ImageId": "xx", - "ImageName": "xx", - "ImageOsName": "xx", - "InstanceName": "xx", - "ImageType": "xx", - "RegionName": "xx" - }, - "ImageCreateTime": "xx", + "Architecture": "x86_64", + "ImageCreateTime": "2024-01-24 19:21:08", + "ImageDescription": "t1版本测试", + "ImageId": "img-im4w1234", + "ImageName": "d-v21-new", + "ImageOsName": "Ubuntu 16.0 64位", + "ImageOwner": 123456, "ImageSize": 50, - "OsVersion": "xx", - "ImageDescription": "xx", - "ImageOwner": 0, - "ImageId": "xx", - "ImageState": "xx", - "Platform": "xx", - "ImageName": "xx", - "Architecture": "xx", - "OsType": "xx", - "ImageSource": "xx", - "ImageType": "xx", - "ImageOsName": "xx" - }, - "DefaultSystemDiskSize": 50, - "DefaultBandwidth": 25, - "SecurityGroupIds": [ - "xx" - ], - "TagSet": [ - { - "Key": "xx", - "Value": "xx" - } - ], - "CloseIpDirect": 0, - "ModuleState": "xx", - "CreateTime": "xx", - "ModuleId": "xx" - } - }, - { - "NodeInstanceNum": { - "InstanceNum": 0, - "NodeNum": 0 - }, - "Module": { - "ModuleName": "xx", - "DefaultDataDiskSize": 0, - "DefaultBandwidthIn": 0, - "InstanceTypeConfig": { - "CpuModelName": "xx", - "Vcpu": 1, - "InstanceFamilyConfig": { - "InstanceFamilyName": "xx", - "InstanceFamily": "xx" - }, - "InstanceFamilyTypeConfig": { - "InstanceFamilyType": "xx", - "InstanceFamilyTypeName": "xx" - }, - "Memory": 2, - "ExtInfo": "xx", - "Frequency": "xx", - "InstanceType": "xx" - }, - "DefaultImage": { + "ImageSource": "EXTERNAL_IMPORT", + "ImageState": "NORMAL", + "ImageType": "PRIVATE_IMAGE", + "IsSupportCloudInit": true, + "OsType": "linux", + "OsVersion": "16.0", + "Platform": "Ubuntu", "SrcImage": { - "ImageDescription": "xx", - "InstanceId": "xx", - "Region": "xx", + "ImageDescription": "", + "ImageId": "img-im4s1234", + "ImageName": "tsImg", + "ImageOsName": "Ubuntu 16.0 64位", + "ImageType": "PRIVATE_IMAGE", + "InstanceId": "ein-123345", + "InstanceName": "ts", + "Region": "gz", "RegionID": 0, - "ImageId": "xx", - "ImageName": "xx", - "ImageOsName": "xx", - "InstanceName": "xx", - "ImageType": "xx", - "RegionName": "xx" + "RegionName": "" }, - "ImageCreateTime": "xx", - "ImageSize": 50, - "OsVersion": "xx", - "ImageDescription": "xx", - "ImageOwner": 0, - "ImageId": "xx", - "ImageState": "xx", - "Platform": "xx", - "ImageName": "xx", - "Architecture": "xx", - "OsType": "xx", - "ImageSource": "xx", - "ImageType": "xx", - "ImageOsName": "xx" + "TaskId": "3281" }, "DefaultSystemDiskSize": 50, - "DefaultBandwidth": 35, - "SecurityGroupIds": [ - "xx" - ], - "TagSet": [ - { - "Key": "xx", - "Value": "xx" - } - ], - "CloseIpDirect": 0, - "ModuleState": "xx", - "CreateTime": "xx", - "ModuleId": "xx" - } - }, - { - "NodeInstanceNum": { - "InstanceNum": 1, - "NodeNum": 1 - }, - "Module": { - "ModuleName": "xx", - "DefaultDataDiskSize": 49, - "DefaultBandwidthIn": 0, + "DisableWanIp": 0, "InstanceTypeConfig": { - "CpuModelName": "xx", - "Vcpu": 8, + "CpuModelName": "Intel Xeon Skylake 6133", + "ExtInfo": "", + "Frequency": "2.5 GHz", + "GpuModelName": null, "InstanceFamilyConfig": { - "InstanceFamilyName": "xx", - "InstanceFamily": "xx" + "InstanceFamily": "S5", + "InstanceFamilyName": "标准型S5" }, "InstanceFamilyTypeConfig": { - "InstanceFamilyType": "xx", - "InstanceFamilyTypeName": "xx" + "InstanceFamilyType": "S", + "InstanceFamilyTypeName": "标准型" }, + "InstanceType": "S5.2XLARGE16", "Memory": 16, - "ExtInfo": "xx", - "Frequency": "xx", - "InstanceType": "xx" - }, - "DefaultImage": { - "SrcImage": { - "ImageDescription": "xx", - "InstanceId": "xx", - "Region": "xx", - "RegionID": 0, - "ImageId": "xx", - "ImageName": "xx", - "ImageOsName": "xx", - "InstanceName": "xx", - "ImageType": "xx", - "RegionName": "xx" - }, - "ImageCreateTime": "xx", - "ImageSize": 50, - "OsVersion": "xx", - "ImageDescription": "xx", - "ImageOwner": 0, - "ImageId": "xx", - "ImageState": "xx", - "Platform": "xx", - "ImageName": "xx", - "Architecture": "xx", - "OsType": "xx", - "ImageSource": "xx", - "ImageType": "xx", - "ImageOsName": "xx" - }, - "DefaultSystemDiskSize": 50, - "DefaultBandwidth": 534, - "SecurityGroupIds": [ - "xx" - ], - "TagSet": [ - { - "Key": "xx", - "Value": "xx" - } - ], - "CloseIpDirect": 0, - "ModuleState": "xx", - "CreateTime": "xx", - "ModuleId": "xx" - } - }, - { - "NodeInstanceNum": { - "InstanceNum": 0, - "NodeNum": 0 - }, - "Module": { - "ModuleName": "xx", - "DefaultDataDiskSize": 0, - "DefaultBandwidthIn": 0, - "InstanceTypeConfig": { - "CpuModelName": "xx", - "Vcpu": 1, - "InstanceFamilyConfig": { - "InstanceFamilyName": "xx", - "InstanceFamily": "xx" - }, - "InstanceFamilyTypeConfig": { - "InstanceFamilyType": "xx", - "InstanceFamilyTypeName": "xx" - }, - "Memory": 2, - "ExtInfo": "xx", - "Frequency": "xx", - "InstanceType": "xx" - }, - "DefaultImage": { - "SrcImage": { - "ImageDescription": "xx", - "InstanceId": "xx", - "Region": "xx", - "RegionID": 0, - "ImageId": "xx", - "ImageName": "xx", - "ImageOsName": "xx", - "InstanceName": "xx", - "ImageType": "xx", - "RegionName": "xx" - }, - "ImageCreateTime": "xx", - "ImageSize": 50, - "OsVersion": "xx", - "ImageDescription": "xx", - "ImageOwner": 0, - "ImageId": "xx", - "ImageState": "xx", - "Platform": "xx", - "ImageName": "xx", - "Architecture": "xx", - "OsType": "xx", - "ImageSource": "xx", - "ImageType": "xx", - "ImageOsName": "xx" + "Vcpu": 8, + "Vgpu": null }, - "DefaultSystemDiskSize": 50, - "DefaultBandwidth": 25, + "ModuleId": "em-n2e2345", + "ModuleName": "t1_u22", + "ModuleState": "NORMAL", "SecurityGroupIds": [ - "xx" - ], - "TagSet": [ - { - "Key": "xx", - "Value": "xx" - } + "esg-g4k23455" ], - "CloseIpDirect": 0, - "ModuleState": "xx", - "CreateTime": "xx", - "ModuleId": "xx" - } - }, - { - "NodeInstanceNum": { - "InstanceNum": 0, - "NodeNum": 0 - }, - "Module": { - "ModuleName": "xx", - "DefaultDataDiskSize": 0, - "DefaultBandwidthIn": 0, - "InstanceTypeConfig": { - "CpuModelName": "xx", - "Vcpu": 1, - "InstanceFamilyConfig": { - "InstanceFamilyName": "xx", - "InstanceFamily": "xx" - }, - "InstanceFamilyTypeConfig": { - "InstanceFamilyType": "xx", - "InstanceFamilyTypeName": "xx" - }, - "Memory": 2, - "ExtInfo": "xx", - "Frequency": "xx", - "InstanceType": "xx" + "SystemDisk": { + "DiskId": "ldisk-1ly4f53h", + "DiskSize": 50, + "DiskType": "LOCAL_BASIC" }, - "DefaultImage": { - "SrcImage": { - "ImageDescription": "xx", - "InstanceId": "xx", - "Region": "xx", - "RegionID": 0, - "ImageId": "xx", - "ImageName": "xx", - "ImageOsName": "xx", - "InstanceName": "xx", - "ImageType": "xx", - "RegionName": "xx" - }, - "ImageCreateTime": "xx", - "ImageSize": 50, - "OsVersion": "xx", - "ImageDescription": "xx", - "ImageOwner": 0, - "ImageId": "xx", - "ImageState": "xx", - "Platform": "xx", - "ImageName": "xx", - "Architecture": "xx", - "OsType": "xx", - "ImageSource": "xx", - "ImageType": "xx", - "ImageOsName": "xx" - }, - "DefaultSystemDiskSize": 50, - "DefaultBandwidth": 25, - "SecurityGroupIds": [ - "xx" - ], - "TagSet": [ - { - "Key": "xx", - "Value": "xx" - } - ], - "CloseIpDirect": 0, - "ModuleState": "xx", - "CreateTime": "xx", - "ModuleId": "xx" - } - }, - { - "NodeInstanceNum": { - "InstanceNum": 0, - "NodeNum": 0 + "TagSet": null, + "UserData": "" }, - "Module": { - "ModuleName": "xx", - "DefaultDataDiskSize": 0, - "DefaultBandwidthIn": 0, - "InstanceTypeConfig": { - "CpuModelName": "xx", - "Vcpu": 16, - "InstanceFamilyConfig": { - "InstanceFamilyName": "xx", - "InstanceFamily": "xx" - }, - "InstanceFamilyTypeConfig": { - "InstanceFamilyType": "xx", - "InstanceFamilyTypeName": "xx" - }, - "Memory": 32, - "ExtInfo": "xx", - "Frequency": "xx", - "InstanceType": "xx" - }, - "DefaultImage": { - "SrcImage": { - "ImageDescription": "xx", - "InstanceId": "xx", - "Region": "xx", - "RegionID": 0, - "ImageId": "xx", - "ImageName": "xx", - "ImageOsName": "xx", - "InstanceName": "xx", - "ImageType": "xx", - "RegionName": "xx" - }, - "ImageCreateTime": "xx", - "ImageSize": 50, - "OsVersion": "xx", - "ImageDescription": "xx", - "ImageOwner": 0, - "ImageId": "xx", - "ImageState": "xx", - "Platform": "xx", - "ImageName": "xx", - "Architecture": "xx", - "OsType": "xx", - "ImageSource": "xx", - "ImageType": "xx", - "ImageOsName": "xx" - }, - "DefaultSystemDiskSize": 50, - "DefaultBandwidth": 25, - "SecurityGroupIds": [ - "xx" - ], - "TagSet": [ - { - "Key": "xx", - "Value": "xx" - } - ], - "CloseIpDirect": 0, - "ModuleState": "xx", - "CreateTime": "xx", - "ModuleId": "xx" - } - }, - { - "NodeInstanceNum": { - "InstanceNum": 0, - "NodeNum": 0 - }, - "Module": { - "ModuleName": "xx", - "DefaultDataDiskSize": 0, - "DefaultBandwidthIn": 0, - "InstanceTypeConfig": { - "CpuModelName": "xx", - "Vcpu": 1, - "InstanceFamilyConfig": { - "InstanceFamilyName": "xx", - "InstanceFamily": "xx" - }, - "InstanceFamilyTypeConfig": { - "InstanceFamilyType": "xx", - "InstanceFamilyTypeName": "xx" - }, - "Memory": 2, - "ExtInfo": "xx", - "Frequency": "xx", - "InstanceType": "xx" - }, - "DefaultImage": { - "SrcImage": { - "ImageDescription": "xx", - "InstanceId": "xx", - "Region": "xx", - "RegionID": 0, - "ImageId": "xx", - "ImageName": "xx", - "ImageOsName": "xx", - "InstanceName": "xx", - "ImageType": "xx", - "RegionName": "xx" - }, - "ImageCreateTime": "xx", - "ImageSize": 50, - "OsVersion": "xx", - "ImageDescription": "xx", - "ImageOwner": 0, - "ImageId": "xx", - "ImageState": "xx", - "Platform": "xx", - "ImageName": "xx", - "Architecture": "xx", - "OsType": "xx", - "ImageSource": "xx", - "ImageType": "xx", - "ImageOsName": "xx" - }, - "DefaultSystemDiskSize": 50, - "DefaultBandwidth": 25, - "SecurityGroupIds": [ - "xx" - ], - "TagSet": [ - { - "Key": "xx", - "Value": "xx" - } - ], - "CloseIpDirect": 0, - "ModuleState": "xx", - "CreateTime": "xx", - "ModuleId": "xx" - } - }, - { "NodeInstanceNum": { - "InstanceNum": 0, - "NodeNum": 0 - }, - "Module": { - "ModuleName": "xx", - "DefaultDataDiskSize": 100, - "DefaultBandwidthIn": 0, - "InstanceTypeConfig": { - "CpuModelName": "xx", - "Vcpu": 32, - "InstanceFamilyConfig": { - "InstanceFamilyName": "xx", - "InstanceFamily": "xx" - }, - "InstanceFamilyTypeConfig": { - "InstanceFamilyType": "xx", - "InstanceFamilyTypeName": "xx" - }, - "Memory": 64, - "ExtInfo": "xx", - "Frequency": "xx", - "InstanceType": "xx" - }, - "DefaultImage": { - "SrcImage": { - "ImageDescription": "xx", - "InstanceId": "xx", - "Region": "xx", - "RegionID": 0, - "ImageId": "xx", - "ImageName": "xx", - "ImageOsName": "xx", - "InstanceName": "xx", - "ImageType": "xx", - "RegionName": "xx" - }, - "ImageCreateTime": "xx", - "ImageSize": 50, - "OsVersion": "xx", - "ImageDescription": "xx", - "ImageOwner": 0, - "ImageId": "xx", - "ImageState": "xx", - "Platform": "xx", - "ImageName": "xx", - "Architecture": "xx", - "OsType": "xx", - "ImageSource": "xx", - "ImageType": "xx", - "ImageOsName": "xx" - }, - "DefaultSystemDiskSize": 50, - "DefaultBandwidth": 5000, - "SecurityGroupIds": [ - "xx" - ], - "TagSet": [ - { - "Key": "xx", - "Value": "xx" - } - ], - "CloseIpDirect": 0, - "ModuleState": "xx", - "CreateTime": "xx", - "ModuleId": "xx" + "InstanceNum": 8, + "NodeNum": 3 } } ], - "RequestId": "xx" + "RequestId": "565a466c-cb44-4fd1-bbff-92f88986ab56", + "TotalCount": 87 } } ``` diff --git a/tccli/examples/ess/v20201111/BindEmployeeUserIdWithClientOpenId.md b/tccli/examples/ess/v20201111/BindEmployeeUserIdWithClientOpenId.md index 1de50a1859..29bd9f8d6b 100644 --- a/tccli/examples/ess/v20201111/BindEmployeeUserIdWithClientOpenId.md +++ b/tccli/examples/ess/v20201111/BindEmployeeUserIdWithClientOpenId.md @@ -6,32 +6,58 @@ Input: ``` tccli ess BindEmployeeUserIdWithClientOpenId --cli-unfold-argument \ - --Operator.UserId yDwgKUUcXXXXXXXXXXXXXXXXXXQxx2u1 \ - --UserId yDwgKUUcXXXXXXXXXXXXXXXXXXQZDRuD \ - --OpenId open_user2 + --Operator.UserId yDRSRUUgygj6qnwfUuO4zjEwc193c2hH \ + --UserId yDRS4UUgygqdcj56UuO4zjExBQcOiB68 \ + --OpenId n9527 ``` Output: ``` { "Response": { - "RequestId": "s1665xxxxx74024539", + "RequestId": "fc0b0a6b-01b4-4042-b236-c5356af1d5d8", "Status": 1 } } ``` -**Example 2: 错误示例-重复绑定** +**Example 2: 错误示例-重复使用OpenId绑定其他UserId** -调用此接口时,请确保用户ID参数未经过绑定,否则接口将返回错误信息。以传入UserId已绑定为例,接口提示不需重新绑定。 + + +Input: + +``` +tccli ess BindEmployeeUserIdWithClientOpenId --cli-unfold-argument \ + --Operator.UserId yDRSRUUgygj6qnwfUuO4zjEwc193c2hH \ + --UserId yDSLmUUckpou8bj8UyvAk4FBqAoWzvy4 \ + --OpenId n9527 +``` + +Output: +``` +{ + "Response": { + "Error": { + "Code": "InvalidParameter", + "Message": "该openid已绑定其他userid,请解绑后重试" + }, + "RequestId": "535482ad-caa5-4302-909c-de054bf4df99" + } +} +``` + +**Example 3: 错误示例-重复使用OpenId绑定同一个UserId** + +接口绑定是不幂等的 Input: ``` tccli ess BindEmployeeUserIdWithClientOpenId --cli-unfold-argument \ - --Operator.UserId yDwgKUUcXXXXXXXXXXXXXXXXXXQxx2u1 \ - --UserId yDwgKUUcXXXXXXXXXXXXXXXXXXQZDRuD \ - --OpenId open_user2 + --Operator.UserId yDRSRUUgygj6qnwfUuO4zjEwc193c2hH \ + --UserId yDSLmUUckpou8bj8UyvAk4FBqAoWzvy4 \ + --OpenId n9527 ``` Output: @@ -42,7 +68,7 @@ Output: "Code": "InvalidParameter", "Message": "该userId已绑定该openId,无需重新绑定" }, - "RequestId": "5116xxxx-xxxx-xxxx-xxxx-xxxx5f02877b" + "RequestId": "535482ad-caa5-4302-909c-de054bf4df99" } } ``` diff --git a/tccli/examples/ess/v20201111/UnbindEmployeeUserIdWithClientOpenId.md b/tccli/examples/ess/v20201111/UnbindEmployeeUserIdWithClientOpenId.md index 13220ccfb3..c75c70d332 100644 --- a/tccli/examples/ess/v20201111/UnbindEmployeeUserIdWithClientOpenId.md +++ b/tccli/examples/ess/v20201111/UnbindEmployeeUserIdWithClientOpenId.md @@ -6,16 +6,16 @@ Input: ``` tccli ess UnbindEmployeeUserIdWithClientOpenId --cli-unfold-argument \ - --Operator.UserId yDRCLUUXXXXXXXXXXXX4zjEwg0vjoimj \ - --UserId yDxVwUyXXXXXXXXXXXXjEyQOAgwvr4Zy \ - --OpenId open_user1 + --Operator.UserId yDRS4UUgygqdcj2tUuO4zjEEFuP35Swc \ + --UserId yDxbNUyKQDxGYNUuO4zjEwvl3XYQmAcO \ + --OpenId n9527 ``` Output: ``` { "Response": { - "RequestId": "s16652185xxx032958", + "RequestId": "s1665674603446404796", "Status": 1 } } @@ -29,9 +29,9 @@ Input: ``` tccli ess UnbindEmployeeUserIdWithClientOpenId --cli-unfold-argument \ - --Operator.UserId yDRCLUUXXXXXXXXXXXX4zjEwg0vjoimj \ - --UserId yDxVwUyXXXXXXXXXXXXjEyQOAgwvr4Zy \ - --OpenId 123 + --Operator.UserId yDRS4UUgygqdcj2tUuO4zjEEFuP35Swc \ + --UserId yDwJ0UUckpk2077eUxgm9jJv5GGyJXCh \ + --OpenId n9527 ``` Output: @@ -42,7 +42,7 @@ Output: "Code": "InvalidParameter", "Message": "该openId并未绑定企业员工" }, - "RequestId": "dec22fb5-xxxx-xxxx-xxxx-xxxxxxc514d6" + "RequestId": "s1615674603446404796" } } ``` diff --git a/tccli/services/cfs/v20190719/api.json b/tccli/services/cfs/v20190719/api.json index 0fa069aea7..2d1c551078 100644 --- a/tccli/services/cfs/v20190719/api.json +++ b/tccli/services/cfs/v20190719/api.json @@ -295,9 +295,9 @@ "status": "online" }, "UpdateFileSystemBandwidthLimit": { - "document": "更新文件系统带宽\n仅吞吐型支持此接口", + "document": "更新文件系统吞吐\n仅吞吐型支持此接口", "input": "UpdateFileSystemBandwidthLimitRequest", - "name": "更新文件系统带宽", + "name": "更新文件系统吞吐", "output": "UpdateFileSystemBandwidthLimitResponse", "status": "online" } @@ -924,7 +924,7 @@ }, { "disabled": false, - "document": "文件系统容量,turbo系列必填,单位为GiB。 turbo标准型单位GB,起售40TiB,即40960 GiB;扩容步长20TiB,即20480 GiB。turbo性能型起售20TiB,即20480 GiB;扩容步长10TiB,10240 GiB。", + "document": "文件系统容量,turbo系列必填,单位为GiB。 turbo标准型单位GB,起售20TiB,即20480 GiB;扩容步长20TiB,即20480 GiB。turbo性能型起售10TiB,即10240 GiB;扩容步长10TiB,10240 GiB。", "example": "40960", "member": "uint64", "name": "Capacity", diff --git a/tccli/services/cynosdb/cynosdb_client.py b/tccli/services/cynosdb/cynosdb_client.py index 6b7d8d6494..52e4b3c42e 100644 --- a/tccli/services/cynosdb/cynosdb_client.py +++ b/tccli/services/cynosdb/cynosdb_client.py @@ -901,6 +901,58 @@ def doDescribeClusterDetail(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) +def doDescribeTasks(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.DescribeTasksRequest() + model.from_json_string(json.dumps(args)) + start_time = time.time() + while True: + rsp = client.DescribeTasks(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 doDescribeBackupConfig(args, parsed_globals): g_param = parse_global_arg(parsed_globals) @@ -6857,6 +6909,7 @@ def doExportInstanceErrorLogs(args, parsed_globals): "CloseProxy": doCloseProxy, "DescribeProxySpecs": doDescribeProxySpecs, "DescribeClusterDetail": doDescribeClusterDetail, + "DescribeTasks": doDescribeTasks, "DescribeBackupConfig": doDescribeBackupConfig, "DescribeBinlogDownloadUrl": doDescribeBinlogDownloadUrl, "DescribeResourcesByDealName": doDescribeResourcesByDealName, diff --git a/tccli/services/cynosdb/v20190107/api.json b/tccli/services/cynosdb/v20190107/api.json index f4e003145d..8fdce5138e 100644 --- a/tccli/services/cynosdb/v20190107/api.json +++ b/tccli/services/cynosdb/v20190107/api.json @@ -490,6 +490,13 @@ "output": "DescribeSupportProxyVersionResponse", "status": "online" }, + "DescribeTasks": { + "document": "查询任务列表", + "input": "DescribeTasksRequest", + "name": "查询任务列表", + "output": "DescribeTasksResponse", + "status": "online" + }, "DescribeZones": { "document": "本接口(DescribeZones)用于查询可售卖地域可用区信息。", "input": "DescribeZonesRequest", @@ -2346,6 +2353,414 @@ ], "usage": "out" }, + "BizTaskInfo": { + "document": "任务信息", + "members": [ + { + "disabled": false, + "document": "任务id", + "example": "0", + "member": "int64", + "name": "ID", + "output_required": true, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "用户appid", + "example": "123", + "member": "int64", + "name": "AppId", + "output_required": true, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "集群id", + "example": "cynosdbmysql-xxx", + "member": "string", + "name": "ClusterId", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "任务创建时间", + "example": "2004-05-03T17:30:08+08:00", + "member": "string", + "name": "CreateTime", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "延迟执行时间\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "2004-05-03T17:30:08+08:00", + "member": "string", + "name": "DelayTime", + "output_required": true, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "任务失败信息\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "string", + "name": "ErrMsg", + "output_required": true, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "异步任务流id", + "example": "1", + "member": "int64", + "name": "FlowId", + "output_required": true, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "任务输入信息", + "example": "xx", + "member": "string", + "name": "Input", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": true, + "document": "实例组id", + "example": "cynosdbmysql-grp-xx", + "member": "string", + "name": "InstanceGrpId", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "实例组id", + "example": "cynosdbmysql-grp-xx", + "member": "string", + "name": "InstanceGroupId", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "实例id", + "example": "cynosmysql-ins-xx", + "member": "string", + "name": "InstanceId", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "任务操作对象id", + "example": "cynosmysql-ins-xx", + "member": "string", + "name": "ObjectId", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "任务操作对象类型", + "example": "cluster", + "member": "string", + "name": "ObjectType", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "操作者uin", + "example": "1", + "member": "string", + "name": "Operator", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "任务输出信息", + "example": "1", + "member": "string", + "name": "Output", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "任务状态", + "example": "success", + "member": "string", + "name": "Status", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "任务类型", + "example": "taskCreateCluster", + "member": "string", + "name": "TaskType", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "触发本任务的父任务ID", + "example": "0", + "member": "int64", + "name": "TriggerTaskId", + "output_required": true, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "更新时间", + "example": "2004-05-03T17:30:08+08:00", + "member": "string", + "name": "UpdateTime", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "任务开始时间", + "example": "2004-05-03T17:30:08+08:00", + "member": "string", + "name": "StartTime", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "任务结束时间", + "example": "2004-05-03T17:30:08+08:00", + "member": "string", + "name": "EndTime", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "集群名称", + "example": "xx", + "member": "string", + "name": "ClusterName", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "实例名称", + "example": "xx", + "member": "string", + "name": "InstanceName", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "任务进度", + "example": "100", + "member": "int64", + "name": "Process", + "output_required": true, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "修改参数任务信息\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "ModifyParamsData", + "name": "ModifyParamsData", + "output_required": true, + "type": "list", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "创建集群任务信息\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "CreateClustersData", + "name": "CreateClustersData", + "output_required": true, + "type": "object", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "集群回档任务信息\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "RollbackData", + "name": "RollbackData", + "output_required": true, + "type": "object", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "实例变配任务信息\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "ModifyInstanceData", + "name": "ModifyInstanceData", + "output_required": true, + "type": "object", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "手动备份任务信息\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "ManualBackupData", + "name": "ManualBackupData", + "output_required": true, + "type": "object", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "修改内核版本任务信息\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "ModifyDbVersionData", + "name": "ModifyDbVersionData", + "output_required": true, + "type": "object", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "集群可用区信息\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "ClusterSlaveData", + "name": "ClusterSlaveData", + "output_required": true, + "type": "object", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "转换集群日志\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "SwitchClusterLogBin", + "name": "SwitchClusterLogBin", + "output_required": true, + "type": "object", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "修改实例参数数据\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "BizTaskModifyParamsData", + "name": "ModifyInstanceParamsData", + "output_required": true, + "type": "object", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "维护时间\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "TaskMaintainInfo", + "name": "TaskMaintainInfo", + "output_required": false, + "type": "object", + "value_allowed_null": true + } + ], + "usage": "out" + }, + "BizTaskModifyInstanceParam": { + "document": "实例参数修改任务详情", + "members": [ + { + "disabled": false, + "document": "实例ID", + "example": "cynosdbmysql-ins-xxx", + "member": "string", + "name": "InstanceId", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "实例参数修改任务详情\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "ModifyParamItem", + "name": "ModifyInstanceParamList", + "output_required": true, + "type": "list", + "value_allowed_null": true + } + ], + "usage": "out" + }, + "BizTaskModifyParamsData": { + "document": "修改参数任务数据", + "members": [ + { + "disabled": false, + "document": "集群ID", + "example": "cynosdbmysql-xxx", + "member": "string", + "name": "ClusterId", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "集群参数修改数据\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "ModifyParamItem", + "name": "ClusterParamList", + "output_required": true, + "type": "list", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "实例参数修改数据\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "BizTaskModifyInstanceParam", + "name": "ModifyInstanceParams", + "output_required": true, + "type": "list", + "value_allowed_null": true + } + ], + "usage": "out" + }, "CloseAuditServiceRequest": { "document": "CloseAuditService请求参数结构体", "members": [ @@ -2732,20 +3147,66 @@ "document": "集群ID", "example": "cynosdbmysql-xxx", "member": "string", - "name": "ClusterId", - "required": true, + "name": "ClusterId", + "required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "实例ID", + "example": "cynosdbmysql-ins-xxx", + "member": "string", + "name": "InstanceId", + "required": true, + "type": "string", + "value_allowed_null": false + } + ], + "usage": "out" + }, + "ClusterSlaveData": { + "document": "集群从可用区信息", + "members": [ + { + "disabled": false, + "document": "旧主可用区\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "ap-guangzhou-3", + "member": "string", + "name": "OldMasterZone", + "output_required": true, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "旧从可用区\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "[ap-guangzhou-5]", + "member": "string", + "name": "OldSlaveZone", + "output_required": true, + "type": "list", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "新主可用区\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "ap-guangzhou-3", + "member": "string", + "name": "NewMasterZone", + "output_required": true, "type": "string", - "value_allowed_null": false + "value_allowed_null": true }, { "disabled": false, - "document": "实例ID", - "example": "cynosdbmysql-ins-xxx", + "document": "新从可用区\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "[ap-guangzhou-5]", "member": "string", - "name": "InstanceId", - "required": true, - "type": "string", - "value_allowed_null": false + "name": "NewSlaveZone", + "output_required": true, + "type": "list", + "value_allowed_null": true } ], "usage": "out" @@ -3141,6 +3602,42 @@ ], "type": "object" }, + "CreateClustersData": { + "document": "创建集群任务信息", + "members": [ + { + "disabled": false, + "document": "实例CPU", + "example": "", + "member": "int64", + "name": "Cpu", + "output_required": true, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "实例内存", + "example": "", + "member": "int64", + "name": "Memory", + "output_required": true, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "集群存储上限", + "example": "", + "member": "int64", + "name": "StorageLimit", + "output_required": true, + "type": "int", + "value_allowed_null": false + } + ], + "usage": "out" + }, "CreateClustersRequest": { "document": "CreateClusters请求参数结构体", "members": [ @@ -10272,6 +10769,89 @@ ], "type": "object" }, + "DescribeTasksRequest": { + "document": "DescribeTasks请求参数结构体", + "members": [ + { + "disabled": false, + "document": "任务开始时间起始值", + "example": "2021-06-23 20:31:57", + "member": "string", + "name": "StartTimeBegin", + "required": false, + "type": "string" + }, + { + "disabled": false, + "document": "任务开始时间结束值", + "example": "2021-06-23 21:31:57", + "member": "string", + "name": "StartTimeEnd", + "required": false, + "type": "string" + }, + { + "disabled": false, + "document": "过滤条件", + "example": "无", + "member": "QueryFilter", + "name": "Filters", + "required": false, + "type": "list" + }, + { + "disabled": false, + "document": "查询列表长度", + "example": "10", + "member": "int64", + "name": "Limit", + "required": false, + "type": "int" + }, + { + "disabled": false, + "document": "查询列表偏移量", + "example": "0", + "member": "int64", + "name": "Offset", + "required": false, + "type": "int" + } + ], + "type": "object" + }, + "DescribeTasksResponse": { + "document": "DescribeTasks返回参数结构体", + "members": [ + { + "disabled": false, + "document": "任务列表总条数", + "example": "153", + "member": "int64", + "name": "TotalCount", + "output_required": true, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "任务列表", + "example": "无", + "member": "BizTaskInfo", + "name": "TaskList", + "output_required": true, + "type": "list", + "value_allowed_null": false + }, + { + "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。", + "member": "string", + "name": "RequestId", + "type": "string" + } + ], + "type": "object" + }, "DescribeZonesRequest": { "document": "DescribeZones请求参数结构体", "members": [ @@ -11798,6 +12378,42 @@ ], "usage": "both" }, + "ManualBackupData": { + "document": "手动备份任务信息", + "members": [ + { + "disabled": false, + "document": "备份类型。snapshot-快照备份", + "example": "无", + "member": "string", + "name": "BackupType", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "备份方式。auto-自动备份,manual-手动", + "example": "无", + "member": "string", + "name": "BackupMethod", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "备份时间", + "example": "无", + "member": "string", + "name": "SnapshotTime", + "output_required": true, + "type": "string", + "value_allowed_null": false + } + ], + "usage": "out" + }, "ModifiableInfo": { "document": "参数是否可修改的详细信息", "members": [ @@ -12711,59 +13327,171 @@ "type": "list", "value_allowed_null": true }, - { - "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。", - "member": "string", - "name": "RequestId", - "type": "string" - } - ], - "type": "object" - }, - "ModifyDBInstanceSecurityGroupsRequest": { - "document": "ModifyDBInstanceSecurityGroups请求参数结构体", - "members": [ + { + "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。", + "member": "string", + "name": "RequestId", + "type": "string" + } + ], + "type": "object" + }, + "ModifyDBInstanceSecurityGroupsRequest": { + "document": "ModifyDBInstanceSecurityGroups请求参数结构体", + "members": [ + { + "disabled": false, + "document": "实例组ID", + "example": "cynosdbmysql-ins-4senc2fm", + "member": "string", + "name": "InstanceId", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "要修改的安全组ID列表,一个或者多个安全组ID组成的数组。", + "example": "[\"sg-ajr1jzgj\\n\"]", + "member": "string", + "name": "SecurityGroupIds", + "required": true, + "type": "list" + }, + { + "disabled": false, + "document": "可用区", + "example": "ap-guangzhou-3", + "member": "string", + "name": "Zone", + "required": true, + "type": "string" + } + ], + "type": "object" + }, + "ModifyDBInstanceSecurityGroupsResponse": { + "document": "ModifyDBInstanceSecurityGroups返回参数结构体", + "members": [ + { + "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。", + "member": "string", + "name": "RequestId", + "type": "string" + } + ], + "type": "object" + }, + "ModifyDbVersionData": { + "document": "修改数据库内核版本任务信息", + "members": [ + { + "disabled": false, + "document": "修改前版本", + "example": "", + "member": "string", + "name": "OldVersion", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "修改后版本", + "example": "", + "member": "string", + "name": "NewVersion", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "升级方式", + "example": "", + "member": "string", + "name": "UpgradeType", + "output_required": true, + "type": "string", + "value_allowed_null": false + } + ], + "usage": "out" + }, + "ModifyInstanceData": { + "document": "实例变配任务信息", + "members": [ + { + "disabled": false, + "document": "变配后CPU", + "example": "", + "member": "int64", + "name": "Cpu", + "output_required": true, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "变配后内存", + "example": "", + "member": "int64", + "name": "Memory", + "output_required": true, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "变配后存储上限", + "example": "", + "member": "int64", + "name": "StorageLimit", + "output_required": true, + "type": "int", + "value_allowed_null": false + }, { "disabled": false, - "document": "实例组ID", - "example": "cynosdbmysql-ins-4senc2fm", - "member": "string", - "name": "InstanceId", - "required": true, - "type": "string" + "document": "变配前CPU", + "example": "", + "member": "int64", + "name": "OldCpu", + "output_required": true, + "type": "int", + "value_allowed_null": false }, { "disabled": false, - "document": "要修改的安全组ID列表,一个或者多个安全组ID组成的数组。", - "example": "[\"sg-ajr1jzgj\\n\"]", - "member": "string", - "name": "SecurityGroupIds", - "required": true, - "type": "list" + "document": "变配前内存", + "example": "", + "member": "int64", + "name": "OldMemory", + "output_required": true, + "type": "int", + "value_allowed_null": false }, { "disabled": false, - "document": "可用区", - "example": "ap-guangzhou-3", - "member": "string", - "name": "Zone", - "required": true, - "type": "string" - } - ], - "type": "object" - }, - "ModifyDBInstanceSecurityGroupsResponse": { - "document": "ModifyDBInstanceSecurityGroups返回参数结构体", - "members": [ + "document": "变配前存储上限", + "example": "", + "member": "int64", + "name": "OldStorageLimit", + "output_required": true, + "type": "int", + "value_allowed_null": false + }, { - "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。", + "disabled": false, + "document": "升级方式。升级完成后切换或维护时间内切换", + "example": "", "member": "string", - "name": "RequestId", - "type": "string" + "name": "UpgradeType", + "output_required": true, + "type": "string", + "value_allowed_null": false } ], - "type": "object" + "usage": "out" }, "ModifyInstanceNameRequest": { "document": "ModifyInstanceName请求参数结构体", @@ -13021,6 +13749,42 @@ ], "type": "object" }, + "ModifyParamsData": { + "document": "修改参数信息", + "members": [ + { + "disabled": false, + "document": "参数名", + "example": "", + "member": "string", + "name": "Name", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "修改前参数值", + "example": "", + "member": "string", + "name": "OldValue", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "修改后参数值", + "example": "", + "member": "string", + "name": "CurValue", + "output_required": true, + "type": "string", + "value_allowed_null": false + } + ], + "usage": "out" + }, "ModifyProxyDescRequest": { "document": "ModifyProxyDesc请求参数结构体", "members": [ @@ -16041,6 +16805,142 @@ ], "type": "object" }, + "RollbackData": { + "document": "回档任务信息", + "members": [ + { + "disabled": false, + "document": "实例CPU", + "example": "5", + "member": "int64", + "name": "Cpu", + "output_required": true, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "实例内存", + "example": "48", + "member": "int64", + "name": "Memory", + "output_required": true, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "集群存储上限", + "example": "10", + "member": "int64", + "name": "StorageLimit", + "output_required": true, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "原集群id", + "example": "cynosdbmysql-xx", + "member": "string", + "name": "OriginalClusterId", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "原集群名", + "example": "test", + "member": "string", + "name": "OriginalClusterName", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "回档方式", + "example": "ROLLBACK_STRATEGY_SNAP", + "member": "string", + "name": "RollbackStrategy", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "快照时间", + "example": "2022.01.01", + "member": "string", + "name": "SnapshotTime", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "回档到serverlessls集群时最小CPU\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "0", + "member": "int64", + "name": "MinCpu", + "output_required": true, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "回档到serverlessls集群时最大CPU\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "10", + "member": "int64", + "name": "MaxCpu", + "output_required": true, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "快照ID\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "1", + "member": "uint64", + "name": "SnapShotId", + "output_required": true, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "回档数据库\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "RollbackDatabase", + "name": "RollbackDatabases", + "output_required": true, + "type": "list", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "回档数据表\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "RollbackTable", + "name": "RollbackTables", + "output_required": true, + "type": "list", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "备份文件名称\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "string", + "name": "BackupFileName", + "output_required": true, + "type": "string", + "value_allowed_null": true + } + ], + "usage": "out" + }, "RollbackDatabase": { "document": "回滚数据库信息", "members": [ @@ -16867,6 +17767,22 @@ ], "usage": "out" }, + "SwitchClusterLogBin": { + "document": "转换集群log bin开关", + "members": [ + { + "disabled": false, + "document": "状态\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "string", + "name": "Status", + "output_required": true, + "type": "string", + "value_allowed_null": true + } + ], + "usage": "out" + }, "SwitchClusterVpcRequest": { "document": "SwitchClusterVpc请求参数结构体", "members": [ @@ -17133,6 +18049,42 @@ ], "usage": "both" }, + "TaskMaintainInfo": { + "document": "TaskMaintainInfo", + "members": [ + { + "disabled": false, + "document": "执行开始时间(距离0点的秒数)\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "10920", + "member": "int64", + "name": "MaintainStartTime", + "output_required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "持续的时间(单位:秒)\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "3600", + "member": "int64", + "name": "MaintainDuration", + "output_required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "可以执行的时间,枚举值:[\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\", \"Sat\", \"Sun\"]\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "\"Mon\"", + "member": "string", + "name": "MaintainWeekDays", + "output_required": false, + "type": "list", + "value_allowed_null": true + } + ], + "usage": "out" + }, "TemplateParamInfo": { "document": "参数模板详情", "members": [ diff --git a/tccli/services/cynosdb/v20190107/examples.json b/tccli/services/cynosdb/v20190107/examples.json index 5882025d5d..a36e6b6892 100644 --- a/tccli/services/cynosdb/v20190107/examples.json +++ b/tccli/services/cynosdb/v20190107/examples.json @@ -584,6 +584,14 @@ "title": "查询支持的数据库代理版本" } ], + "DescribeTasks": [ + { + "document": "查询任务列表", + "input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTasks\n<公共请求参数>\n\n{\n \"Limit\": \"10\",\n \"Offset\": \"0\"\n}", + "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"TaskList\": [\n {\n \"ID\": 0,\n \"AppId\": 0,\n \"ClusterId\": \"abc\",\n \"CreateTime\": \"abc\",\n \"DelayTime\": \"abc\",\n \"ErrMsg\": \"abc\",\n \"FlowId\": 0,\n \"Input\": \"abc\",\n \"InstanceGrpId\": \"abc\",\n \"InstanceGroupId\": \"abc\",\n \"InstanceId\": \"abc\",\n \"ObjectId\": \"abc\",\n \"ObjectType\": \"abc\",\n \"Operator\": \"abc\",\n \"Output\": \"abc\",\n \"Status\": \"abc\",\n \"TaskType\": \"abc\",\n \"TriggerTaskId\": 0,\n \"UpdateTime\": \"abc\",\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\",\n \"ClusterName\": \"abc\",\n \"InstanceName\": \"abc\",\n \"Process\": 0,\n \"ModifyParamsData\": [\n {\n \"Name\": \"abc\",\n \"OldValue\": \"abc\",\n \"CurValue\": \"abc\"\n }\n ],\n \"CreateClustersData\": {\n \"Cpu\": 0,\n \"Memory\": 0,\n \"StorageLimit\": 0\n },\n \"RollbackData\": {\n \"Cpu\": 0,\n \"Memory\": 0,\n \"StorageLimit\": 0,\n \"OriginalClusterId\": \"abc\",\n \"OriginalClusterName\": \"abc\",\n \"RollbackStrategy\": \"abc\",\n \"SnapshotTime\": \"abc\",\n \"MinCpu\": 0,\n \"MaxCpu\": 0,\n \"SnapShotId\": 1,\n \"RollbackDatabases\": [\n {\n \"OldDatabase\": \"abc\",\n \"NewDatabase\": \"abc\"\n }\n ],\n \"RollbackTables\": [\n {\n \"Database\": \"abc\",\n \"Tables\": [\n {\n \"OldTable\": \"abc\",\n \"NewTable\": \"abc\"\n }\n ]\n }\n ],\n \"BackupFileName\": \"abc\"\n },\n \"ModifyInstanceData\": {\n \"Cpu\": 0,\n \"Memory\": 0,\n \"StorageLimit\": 0,\n \"OldCpu\": 0,\n \"OldMemory\": 0,\n \"OldStorageLimit\": 0,\n \"UpgradeType\": \"abc\"\n },\n \"ManualBackupData\": {\n \"BackupType\": \"abc\",\n \"BackupMethod\": \"abc\",\n \"SnapshotTime\": \"abc\"\n },\n \"ModifyDbVersionData\": {\n \"OldVersion\": \"abc\",\n \"NewVersion\": \"abc\",\n \"UpgradeType\": \"abc\"\n },\n \"ClusterSlaveData\": {\n \"OldMasterZone\": \"abc\",\n \"OldSlaveZone\": [\n \"abc\"\n ],\n \"NewMasterZone\": \"abc\",\n \"NewSlaveZone\": [\n \"abc\"\n ]\n },\n \"SwitchClusterLogBin\": {\n \"Status\": \"abc\"\n },\n \"ModifyInstanceParamsData\": {\n \"ClusterId\": \"abc\",\n \"ClusterParamList\": [\n {\n \"ParamName\": \"abc\",\n \"CurrentValue\": \"abc\",\n \"OldValue\": \"abc\"\n }\n ],\n \"ModifyInstanceParams\": [\n {\n \"InstanceId\": \"abc\",\n \"ModifyInstanceParamList\": [\n {\n \"ParamName\": \"abc\",\n \"CurrentValue\": \"abc\",\n \"OldValue\": \"abc\"\n }\n ]\n }\n ]\n },\n \"TaskMaintainInfo\": {\n \"MaintainStartTime\": 0,\n \"MaintainDuration\": 0,\n \"MaintainWeekDays\": [\n \"abc\"\n ]\n }\n }\n ],\n \"RequestId\": \"abc\"\n }\n}", + "title": "查询任务列表" + } + ], "DescribeZones": [ { "document": "仅查看用户有权限的可用区", diff --git a/tccli/services/dlc/v20210125/api.json b/tccli/services/dlc/v20210125/api.json index 829c0b22cb..31657184c8 100644 --- a/tccli/services/dlc/v20210125/api.json +++ b/tccli/services/dlc/v20210125/api.json @@ -9487,7 +9487,7 @@ "example": "无", "member": "TaskResultInfo", "name": "TaskInfo", - "required": true, + "output_required": true, "type": "object", "value_allowed_null": true }, @@ -15802,7 +15802,7 @@ "example": "fdd9c5fa21ca11eca6fb5254006c64af", "member": "string", "name": "TaskId", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -15812,7 +15812,7 @@ "example": "COSDataCatalog", "member": "string", "name": "DatasourceConnectionName", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -15822,7 +15822,7 @@ "example": "database1", "member": "string", "name": "DatabaseName", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -15832,7 +15832,7 @@ "example": "select * from test limit 10;", "member": "string", "name": "SQL", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -15842,7 +15842,7 @@ "example": "DDL", "member": "string", "name": "SQLType", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -15852,7 +15852,7 @@ "example": "2", "member": "int64", "name": "State", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -15862,7 +15862,7 @@ "example": "1024", "member": "int64", "name": "DataAmount", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -15872,7 +15872,7 @@ "example": "42", "member": "int64", "name": "UsedTime", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -15882,7 +15882,7 @@ "example": "cosn://dlc-nj-125849872/test/DLCQueryResults/2021/09/", "member": "string", "name": "OutputPath", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -15892,7 +15892,7 @@ "example": "1632991895728", "member": "string", "name": "CreateTime", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -15902,7 +15902,7 @@ "example": "success", "member": "string", "name": "OutputMessage", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -15912,7 +15912,7 @@ "example": "OK, No rows affected (0.000000 seconds)", "member": "string", "name": "RowAffectInfo", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -15922,7 +15922,7 @@ "example": "无", "member": "Column", "name": "ResultSchema", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": true }, @@ -15932,7 +15932,7 @@ "example": "[[\\\"3\\\",\\\"kk\\\"],[\\\"3\\\",\\\"kk\\\"]]", "member": "string", "name": "ResultSet", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -15942,7 +15942,7 @@ "example": "nextMarker=\\u0026nextKey=test/DLCQueryResults/2021/10/15/2c60388", "member": "string", "name": "NextToken", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -15952,7 +15952,7 @@ "example": "100", "member": "int64", "name": "Percentage", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -15962,7 +15962,7 @@ "example": "[{\"jobId\":1,\"stages\":[{\"stageId\":1,\"numTasks\":3,\"numActiveTasks\"", "member": "string", "name": "ProgressDetail", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -15972,7 +15972,7 @@ "example": "table", "member": "string", "name": "DisplayFormat", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -15982,9 +15982,19 @@ "example": "1000", "member": "int64", "name": "TotalTime", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false + }, + { + "disabled": false, + "document": "获取结果消耗的时间\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "float", + "name": "QueryResultTime", + "output_required": false, + "type": "float", + "value_allowed_null": true } ], "usage": "out" diff --git a/tccli/services/dlc/v20210125/examples.json b/tccli/services/dlc/v20210125/examples.json index c0faaaa99b..e43180a7dd 100644 --- a/tccli/services/dlc/v20210125/examples.json +++ b/tccli/services/dlc/v20210125/examples.json @@ -644,7 +644,7 @@ { "document": "查询任务结果,每次返回1000行数据", "input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTaskResult\n<公共请求参数>\n\n{\n \"TaskId\": \"9e20f9c021cb11ec835f5254006c64af\",\n \"NextToken\": \"\"\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"9328049f-30bc-4feb-aecf-e3b4ff2d1b00\",\n \"TaskInfo\": {\n \"TaskId\": \"9e20f9c021cb11ec835f5254006c64af\",\n \"DatasourceConnectionName\": \"CosDataCatalog\",\n \"DatabaseName\": \"auth_test\",\n \"SQL\": \"SELECT * FROM `auth_test`.`hive_test` LIMIT 10\",\n \"SQLType\": \"DQL\",\n \"State\": 2,\n \"DataAmount\": 850363,\n \"UsedTime\": 1761,\n \"TotalTime\": 2000,\n \"OutputPath\": \"cosn://dlc-nj-1258469122/test/DLCQueryResults/2021/09/30/9e20f9c021cb11ec835f5254006c64af/\",\n \"CreateTime\": \"1632991895728\",\n \"OutputMessage\": \"success\",\n \"RowAffectInfo\": \"59378 rows affected (1.761000 seconds)\",\n \"ResultSchema\": [\n {\n \"Name\": \"a\",\n \"Type\": \"integer\",\n \"Comment\": \"\",\n \"Precision\": 0,\n \"Scale\": 0,\n \"Nullable\": \"NULLABLE\"\n },\n {\n \"Name\": \"b\",\n \"Type\": \"varchar\",\n \"Comment\": \"\",\n \"Precision\": 0,\n \"Scale\": 0,\n \"Nullable\": \"NULLABLE\"\n }\n ],\n \"ResultSet\": \"[[\\\"3\\\",\\\"kk\\\"],[\\\"3\\\",\\\"kk\\\"],[\\\"9143\\\",\\\" \\\\\\\"28992\\\\\\\"\\\"],[\\\"19048\\\",\\\" \\\\\\\"11266\\\\\\\"\\\"],[\\\"16711\\\",\\\" \\\\\\\"17422\\\\\\\"\\\"],[\\\"3816\\\",\\\" \\\\\\\"18501\\\\\\\"\\\"],[\\\"16428\\\",\\\" \\\\\\\"13774\\\\\\\"\\\"],[\\\"30190\\\",\\\" \\\\\\\"5177\\\\\\\"\\\"],[\\\"24824\\\",\\\" \\\\\\\"19479\\\\\\\"\\\"],[\\\"9709\\\",\\\" \\\\\\\"5532\\\\\\\"\\\"]]\",\n \"NextToken\": \"\",\n \"Percentage\": 100,\n \"ProgressDetail\": \"[{\\\"jobId\\\":\\\"0\\\",\\\"stages\\\":[{\\\"stageId\\\":\\\"0\\\",\\\"schedule\\\":1},{\\\"stageId\\\":\\\"1\\\",\\\"schedule\\\":1},{\\\"stageId\\\":\\\"2\\\",\\\"schedule\\\":1},{\\\"stageId\\\":\\\"3\\\",\\\"schedule\\\":1}],\\\"jobState\\\":\\\"\\\"}]\",\n \"DisplayFormat\": \"table\"\n }\n }\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"9328049f-30bc-4feb-aecf-e3b4ff2d1b00\",\n \"TaskInfo\": {\n \"TaskId\": \"9e20f9c021cb11ec835f5254006c64af\",\n \"DatasourceConnectionName\": \"CosDataCatalog\",\n \"DatabaseName\": \"auth_test\",\n \"SQL\": \"SELECT * FROM `auth_test`.`hive_test` LIMIT 10\",\n \"SQLType\": \"DQL\",\n \"State\": 2,\n \"DataAmount\": 850363,\n \"UsedTime\": 1761,\n \"TotalTime\": 2000,\n \"OutputPath\": \"cosn://dlc-nj-1258469122/test/DLCQueryResults/2021/09/30/9e20f9c021cb11ec835f5254006c64af/\",\n \"CreateTime\": \"1632991895728\",\n \"OutputMessage\": \"success\",\n \"RowAffectInfo\": \"59378 rows affected (1.761000 seconds)\",\n \"ResultSchema\": [\n {\n \"Name\": \"a\",\n \"Type\": \"integer\",\n \"Comment\": \"\",\n \"Precision\": 0,\n \"Scale\": 0,\n \"Nullable\": \"NULLABLE\",\n \"Position\": 0,\n \"CreateTime\": \"abc\",\n \"ModifiedTime\": \"abc\",\n \"IsPartition\": true\n },\n {\n \"Name\": \"b\",\n \"Type\": \"varchar\",\n \"Comment\": \"\",\n \"Precision\": 0,\n \"Scale\": 0,\n \"Nullable\": \"NULLABLE\",\n \"Position\": 0,\n \"CreateTime\": \"abc\",\n \"ModifiedTime\": \"abc\",\n \"IsPartition\": true\n }\n ],\n \"ResultSet\": \"[[\\\"3\\\",\\\"kk\\\"],[\\\"3\\\",\\\"kk\\\"],[\\\"9143\\\",\\\" \\\\\\\"28992\\\\\\\"\\\"],[\\\"19048\\\",\\\" \\\\\\\"11266\\\\\\\"\\\"],[\\\"16711\\\",\\\" \\\\\\\"17422\\\\\\\"\\\"],[\\\"3816\\\",\\\" \\\\\\\"18501\\\\\\\"\\\"],[\\\"16428\\\",\\\" \\\\\\\"13774\\\\\\\"\\\"],[\\\"30190\\\",\\\" \\\\\\\"5177\\\\\\\"\\\"],[\\\"24824\\\",\\\" \\\\\\\"19479\\\\\\\"\\\"],[\\\"9709\\\",\\\" \\\\\\\"5532\\\\\\\"\\\"]]\",\n \"NextToken\": \"\",\n \"Percentage\": 100,\n \"ProgressDetail\": \"[{\\\"jobId\\\":\\\"0\\\",\\\"stages\\\":[{\\\"stageId\\\":\\\"0\\\",\\\"schedule\\\":1},{\\\"stageId\\\":\\\"1\\\",\\\"schedule\\\":1},{\\\"stageId\\\":\\\"2\\\",\\\"schedule\\\":1},{\\\"stageId\\\":\\\"3\\\",\\\"schedule\\\":1}],\\\"jobState\\\":\\\"\\\"}]\",\n \"DisplayFormat\": \"table\"\n }\n }\n}", "title": "查询任务结果" } ], diff --git a/tccli/services/dnspod/v20210323/api.json b/tccli/services/dnspod/v20210323/api.json index e746624b45..ec6d14b77b 100644 --- a/tccli/services/dnspod/v20210323/api.json +++ b/tccli/services/dnspod/v20210323/api.json @@ -337,7 +337,7 @@ "status": "online" }, "DescribeUserDetail": { - "document": "获取帐户信息", + "document": "获取账户信息", "input": "DescribeUserDetailRequest", "name": "获取账户信息", "output": "DescribeUserDetailResponse", diff --git a/tccli/services/dnspod/v20210323/examples.json b/tccli/services/dnspod/v20210323/examples.json index cbc9006ceb..e5baf33b56 100644 --- a/tccli/services/dnspod/v20210323/examples.json +++ b/tccli/services/dnspod/v20210323/examples.json @@ -404,10 +404,10 @@ ], "DescribeUserDetail": [ { - "document": "获取帐户信息", + "document": "获取账户信息", "input": "POST / HTTP/1.1\nHost: dnspod.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserDetail\n<公共请求参数>\n\n{}", "output": "{\n \"Response\": {\n \"RequestId\": \"ab4f1426-ea15-42ea-8183-dc1b44151166\",\n \"UserInfo\": {\n \"Nick\": \"jionly\",\n \"Id\": 5299600,\n \"Email\": \"qcloud_uin_100000000328@qcloud.com\",\n \"Status\": \"enabled\",\n \"Telephone\": \"187****3214\",\n \"EmailVerified\": \"yes\",\n \"TelephoneVerified\": \"yes\",\n \"UserGrade\": \"DP_Free\",\n \"RealName\": \"王小云\",\n \"WechatBinded\": \"no\",\n \"Uin\": 100000000328,\n \"FreeNs\": [\n \"hannah.dnspod.net\",\n \"perch.dnspod.net\"\n ]\n }\n }\n}", - "title": "获取帐户信息" + "title": "获取账户信息" } ], "DescribeVASStatistic": [ diff --git a/tccli/services/ecm/v20190719/api.json b/tccli/services/ecm/v20190719/api.json index efd85b532d..24042081a2 100644 --- a/tccli/services/ecm/v20190719/api.json +++ b/tccli/services/ecm/v20190719/api.json @@ -2942,7 +2942,7 @@ { "disabled": false, "document": "模块默认安全组列表", - "example": "无", + "example": "[\"esg-ggdr123\",\"esg-15fd123\",\"esg-mt9b9123\"]", "member": "string", "name": "SecurityGroups", "required": false, @@ -4645,18 +4645,20 @@ { "disabled": false, "document": "支持的导入镜像的操作系统类型", - "example": "", + "example": " \"ImportImageOsListSupported\": { \"Windows\": [ \"Windows Server 2008\", \"Windows Server 2012\", \"Windows Server 2016\" ], \"Linux\": [ \"CentOS\", \"Ubuntu\", \"Debian\", \"OpenSUSE\", \"SUSE\", \"CoreOS\", \"FreeBSD\", \"Other Linux\" ] }", "member": "ImageOsList", "name": "ImportImageOsListSupported", + "output_required": true, "type": "object", "value_allowed_null": false }, { "disabled": false, "document": "支持的导入镜像的操作系统版本", - "example": "", + "example": "\"ImportImageOsVersionSet\": [ { \"OsName\": \"CentOS 7.4 64位\", \"Architecture\": [ \"x86_64\", \"i386\" ], \"OsVersions\": [ \"-\" ] }, { \"OsVersions\": [ \"-\" ], \"OsName\": \"CentOS 7.4 64位\", \"Architecture\": [ \"x86_64\", \"i386\" ] }, { \"OsVersions\": [ \"-\" ], \"OsName\": \"CentOS 7.4 64位\", \"Architecture\": [ \"x86_64\", \"i386\" ] }, { \"OsVersions\": [ \"5\", \"6\", \"7\" ], \"OsName\": \"CentOS 7.4 64位\", \"Architecture\": [ \"x86_64\", \"i386\" ] }, { \"OsVersions\": [ \"7\" ], \"OsName\": \"CentOS 7.4 64位\", \"Architecture\": [ \"x86_64\", \"i386\" ] }, { \"OsVersions\": [ \"6\", \"7\", \"8\", \"9\" ], \"OsName\": \"CentOS 7.4 64位\", \"Architecture\": [ \"x86_64\", \"i386\" ] }, { \"OsVersions\": [ \"10\" ], \"OsName\": \"CentOS 7.4 64位\", \"Architecture\": [ \"x86_64\", \"i386\" ] }, { \"OsVersions\": [ \"5\", \"6\", \"7\" ], \"OsName\": \"CentOS 7.4 64位\", \"Architecture\": [ \"x86_64\", \"i386\" ] }, { \"OsVersions\": [ \"11\", \"12\" ], \"OsName\": \"CentOS 7.4 64位\", \"Architecture\": [ \"x86_64\", \"i386\" ] }, { \"OsVersions\": [ \"10\", \"11\", \"12\", \"13\" ], \"OsName\": \"CentOS 7.4 64位\", \"Architecture\": [ \"x86_64\", \"i386\" ] }, { \"OsVersions\": [ \"10\", \"12\", \"14\", \"16\" ], \"OsName\": \"CentOS 7.4 64位\", \"Architecture\": [ \"x86_64\", \"i386\" ] }, { \"OsVersions\": [ \"-\" ], \"OsName\": \"CentOS 7.4 64位\", \"Architecture\": [ \"x86_64\", \"i386\" ] } ]", "member": "OsVersion", "name": "ImportImageOsVersionSet", + "output_required": true, "type": "list", "value_allowed_null": false }, @@ -4782,7 +4784,7 @@ { "disabled": false, "document": "过滤条件。\nzone String 是否必填:否 (过滤条件)按照可用区英文标识符过滤。\nzone-name String 是否必填:否 (过滤条件)按照可用区中文名过滤,支持模糊匹配。\nmodule-id String 是否必填:否 (过滤条件)按照模块ID过滤。\ninstance-id String 是否必填:否 (过滤条件)按照实例ID过滤。\ninstance-name String 是否必填:否 (过滤条件)按照实例名称过滤,支持模糊匹配。\nip-address String 是否必填:否 (过滤条件)按照实例的内网/公网IP过滤。\ninstance-uuid string 是否必填:否 (过滤条件)按照uuid过滤实例列表。\ninstance-state string 是否必填:否 (过滤条件)按照实例状态更新实例列表。\ninternet-service-provider String 是否必填:否 (过滤条件)按照实例公网IP所属的运营商进行过滤。\ntag-key String 是否必填:否 (过滤条件)按照标签键进行过滤。\ntag:tag-key String 是否必填:否 (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。\ninstance-family String 是否必填:否 (过滤条件)按照机型family过滤。\nmodule-name String 是否必填:否 (过滤条件)按照模块名称过滤,支持模糊匹配。\nimage-id String 是否必填:否 (过滤条件)按照实例的镜像ID过滤。\nvpc-id String 是否必填:否 (过滤条件)按照实例的vpc id过滤。\nsubnet-id String 是否必填:否 (过滤条件)按照实例的subnet id过滤。\n\n若不传Filters参数则表示查询所有相关的实例信息。\n单次请求的Filter.Values的上限为5。", - "example": "", + "example": "{\"Filters\":[{\"Values\":[\"ap-ningbo-ecm2-1\"],\"Name\":\"zone\"}]}", "member": "Filter", "name": "Filters", "required": false, @@ -4791,7 +4793,7 @@ { "disabled": false, "document": "偏移量,默认为0。", - "example": "", + "example": "10", "member": "int64", "name": "Offset", "required": false, @@ -4800,7 +4802,7 @@ { "disabled": false, "document": "返回数量,默认为20(如果查询结果数目大于等于20),最大值为100。", - "example": "", + "example": "10", "member": "int64", "name": "Limit", "required": false, @@ -4809,7 +4811,7 @@ { "disabled": false, "document": "指定排序字段。目前支持的可选值如下\ntimestamp 按实例创建时间排序。\n注意:目前仅支持按创建时间排序,后续可能会有扩展。\n如果不传,默认按实例创建时间排序", - "example": "", + "example": "timestamp", "member": "string", "name": "OrderByField", "required": false, @@ -4818,7 +4820,7 @@ { "disabled": false, "document": "指定排序是降序还是升序。0表示降序; 1表示升序。如果不传默认为降序", - "example": "", + "example": "0", "member": "int64", "name": "OrderDirection", "required": false, @@ -4833,18 +4835,20 @@ { "disabled": false, "document": "返回的实例相关信息列表的长度。", - "example": "", + "example": "5", "member": "int64", "name": "TotalCount", + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "返回的实例相关信息列表。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "", + "example": "无", "member": "Instance", "name": "InstanceSet", + "output_required": true, "type": "list", "value_allowed_null": true }, @@ -5205,7 +5209,7 @@ "example": "17", "member": "int64", "name": "TotalCount", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -5215,7 +5219,7 @@ "example": "无", "member": "ModuleItem", "name": "ModuleItemSet", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": true }, @@ -7551,7 +7555,7 @@ { "disabled": false, "document": "运营商名称", - "example": "无", + "example": "CTCC", "member": "string", "name": "ProviderName", "output_required": true, @@ -7561,7 +7565,7 @@ { "disabled": false, "document": "节点数量", - "example": "无", + "example": "1", "member": "int64", "name": "ProviderNodeNum", "output_required": true, @@ -7581,7 +7585,7 @@ { "disabled": false, "document": "Zone实例信息结构体数组", - "example": "无", + "example": "[ { \"ZoneName\": \"北京三区(电信)\", \"InstanceNum\": 1 } ]", "member": "ZoneInstanceInfo", "name": "ZoneInstanceInfoSet", "output_required": true, @@ -7591,7 +7595,7 @@ { "disabled": false, "document": "实例数量\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "1", "member": "int64", "name": "ProviderInstanceNum", "output_required": false, @@ -7642,7 +7646,7 @@ { "disabled": false, "document": "申请IPv6 Cidr Block的个数。作为入参数时为必选。", - "example": "无", + "example": "1", "member": "uint64", "name": "Count", "required": false, @@ -7767,7 +7771,7 @@ { "disabled": false, "document": "镜像所有者", - "example": "无", + "example": "12345678", "member": "int64", "name": "ImageOwner", "output_required": true, @@ -8081,30 +8085,30 @@ { "disabled": false, "document": "实例ID。", - "example": "无", + "example": "ein-5afzpqpk", "member": "string", "name": "InstanceId", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, "document": "实例名称,如ens-34241f3s。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "proxyIns0410009", "member": "string", "name": "InstanceName", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, { "disabled": false, "document": "实例状态。取值范围:\nPENDING:表示创建中\nLAUNCH_FAILED:表示创建失败\nRUNNING:表示运行中\nSTOPPED:表示关机\nSTARTING:表示开机中\nSTOPPING:表示关机中\nREBOOTING:表示重启中\nSHUTDOWN:表示停止待销毁\nTERMINATING:表示销毁中。", - "example": "无", + "example": "TERMINATED", "member": "string", "name": "InstanceState", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -8114,7 +8118,7 @@ "example": "无", "member": "Image", "name": "Image", - "required": true, + "output_required": true, "type": "object", "value_allowed_null": true }, @@ -8124,7 +8128,7 @@ "example": "无", "member": "SimpleModule", "name": "SimpleModule", - "required": true, + "output_required": true, "type": "object", "value_allowed_null": true }, @@ -8134,7 +8138,7 @@ "example": "无", "member": "Position", "name": "Position", - "required": true, + "output_required": true, "type": "object", "value_allowed_null": true }, @@ -8144,7 +8148,7 @@ "example": "无", "member": "Internet", "name": "Internet", - "required": true, + "output_required": true, "type": "object", "value_allowed_null": true }, @@ -8154,17 +8158,17 @@ "example": "无", "member": "InstanceTypeConfig", "name": "InstanceTypeConfig", - "required": true, + "output_required": true, "type": "object", "value_allowed_null": true }, { "disabled": false, "document": "实例的创建时间。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "2024-02-18 16:59:51", "member": "string", "name": "CreateTime", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -8174,117 +8178,117 @@ "example": "无", "member": "Tag", "name": "TagSet", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": true }, { "disabled": false, "document": "实例最后一次操作。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "TerminateInstances", "member": "string", "name": "LatestOperation", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, { "disabled": false, "document": "实例最后一次操作结果。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "OPERATING", "member": "string", "name": "LatestOperationState", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, { "disabled": false, "document": "实例业务状态。取值范围:\nNORMAL:表示正常状态的实例\nEXPIRED:表示过期的实例\nPROTECTIVELY_ISOLATED:表示被安全隔离的实例。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "NORMAL", "member": "string", "name": "RestrictState", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, { "disabled": false, "document": "系统盘大小,单位GB。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "50", "member": "int64", "name": "SystemDiskSize", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, { "disabled": false, "document": "数据盘大小,单位GB。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "500", "member": "int64", "name": "DataDiskSize", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, { "disabled": false, "document": "实例UUID\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "3d4b86db-6380-4fe4-8f0b-c9e78fa92ba0", "member": "string", "name": "UUID", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, { "disabled": false, "document": "付费方式。\n 0为后付费。\n 1为预付费。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "0", "member": "int64", "name": "PayMode", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, { "disabled": false, "document": "过期时间。格式为yyyy-mm-dd HH:mm:ss。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "2024-02-18 16:59:51", "member": "string", "name": "ExpireTime", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, { "disabled": false, "document": "隔离时间。格式为yyyy-mm-dd HH:mm:ss。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "2024-02-18 16:59:51", "member": "string", "name": "IsolatedTime", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, { "disabled": false, "document": "是否自动续费。\n 0为不自动续费。\n 1为自动续费。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "0", "member": "int64", "name": "RenewFlag", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, { "disabled": false, "document": "过期状态。\n NORMAL 表示机器运行正常。\n WILL_EXPIRE 表示即将过期。\n EXPIRED 表示已过期。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "NORMAL", "member": "string", "name": "ExpireState", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -8294,7 +8298,7 @@ "example": "无", "member": "DiskInfo", "name": "SystemDisk", - "required": true, + "output_required": true, "type": "object", "value_allowed_null": true }, @@ -8304,27 +8308,27 @@ "example": "无", "member": "DiskInfo", "name": "DataDisks", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": true }, { "disabled": false, "document": "新实例标志\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "0", "member": "int64", "name": "NewFlag", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, { "disabled": false, "document": "实例所属安全组。该参数可以通过调用 DescribeSecurityGroups 的返回值中的sgId字段来获取。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "esg-g4k9lznc", "member": "string", "name": "SecurityGroupIds", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": true }, @@ -8334,17 +8338,17 @@ "example": "无", "member": "VirtualPrivateCloud", "name": "VirtualPrivateCloud", - "required": true, + "output_required": true, "type": "object", "value_allowed_null": true }, { "disabled": false, "document": "实例运营商字段。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "CTCC", "member": "string", "name": "ISP", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -8354,7 +8358,7 @@ "example": "无", "member": "PhysicalPosition", "name": "PhysicalPosition", - "required": true, + "output_required": true, "type": "object", "value_allowed_null": true } @@ -8602,7 +8606,7 @@ "example": "无", "member": "InstanceFamilyConfig", "name": "InstanceFamilyConfig", - "required": true, + "output_required": true, "type": "object", "value_allowed_null": false }, @@ -8612,7 +8616,7 @@ "example": "VIS.16XLARGE128", "member": "string", "name": "InstanceType", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -8622,7 +8626,7 @@ "example": "2", "member": "int64", "name": "Vcpu", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -8632,7 +8636,7 @@ "example": "4", "member": "int64", "name": "Memory", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -8642,7 +8646,7 @@ "example": "2.5 GHz", "member": "string", "name": "Frequency", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -8652,7 +8656,7 @@ "example": "Intel Xeon Skylake 6133", "member": "string", "name": "CpuModelName", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -8662,17 +8666,17 @@ "example": "无", "member": "InstanceFamilyTypeConfig", "name": "InstanceFamilyTypeConfig", - "required": true, + "output_required": true, "type": "object", "value_allowed_null": false }, { "disabled": false, "document": "机型额外信息 是一个json字符串,如果存在则表示特殊机型,格式如下:{\"dataDiskSize\":3200,\"systemDiskSize\":60, \"systemDiskSizeShow\":\"系统盘默认60G\",\"dataDiskSizeShow\":\"本地NVMe SSD 硬盘3200 GB\"}\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "{\"dataDiskSize\":3200,\"systemDiskSize\":60, \"systemDiskSizeShow\":\"系统盘默认60G\",\"dataDiskSizeShow\":\"本地NVMe SSD 硬盘3200 GB\"}", "member": "string", "name": "ExtInfo", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -8682,7 +8686,7 @@ "example": "1", "member": "float", "name": "Vgpu", - "required": true, + "output_required": true, "type": "float", "value_allowed_null": true }, @@ -8692,7 +8696,7 @@ "example": "NVDIA Tesla T4", "member": "string", "name": "GpuModelName", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true } @@ -10716,60 +10720,60 @@ { "disabled": false, "document": "模块Id。", - "example": "无", + "example": "em-n212345", "member": "string", "name": "ModuleId", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, "document": "模块名称。", - "example": "无", + "example": "t1_u2", "member": "string", "name": "ModuleName", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, "document": "模块状态:\nNORMAL:正常。\nDELETING:删除中 \nDELETEFAILED:删除失败。", - "example": "无", + "example": "NORMAL", "member": "string", "name": "ModuleState", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, "document": "默认系统盘大小。", - "example": "无", + "example": "50", "member": "int64", "name": "DefaultSystemDiskSize", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "默认数据盘大小。", - "example": "无", + "example": "0", "member": "int64", "name": "DefaultDataDiskSize", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "默认机型。", - "example": "无", + "example": " \"InstanceTypeConfig\": { \"CpuModelName\": \"Intel Xeon Skylake 6133\", \"ExtInfo\": \"\", \"Frequency\": \"2.5 GHz\", \"GpuModelName\": null, \"InstanceFamilyConfig\": { \"InstanceFamily\": \"S5\", \"InstanceFamilyName\": \"标准型S5\" }, \"InstanceFamilyTypeConfig\": { \"InstanceFamilyType\": \"S\", \"InstanceFamilyTypeName\": \"标准型\" }, \"InstanceType\": \"S5.2XLARGE16\", \"Memory\": 16, \"Vcpu\": 8, \"Vgpu\": null }", "member": "InstanceTypeConfig", "name": "InstanceTypeConfig", - "required": true, + "output_required": true, "type": "object", "value_allowed_null": false }, @@ -10779,27 +10783,27 @@ "example": "无", "member": "Image", "name": "DefaultImage", - "required": true, + "output_required": true, "type": "object", "value_allowed_null": false }, { "disabled": false, "document": "创建时间。", - "example": "无", + "example": "2020-02-18 16:59:51", "member": "string", "name": "CreateTime", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, "document": "默认出带宽。", - "example": "无", + "example": "100", "member": "int64", "name": "DefaultBandwidth", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -10809,47 +10813,47 @@ "example": "无", "member": "Tag", "name": "TagSet", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": true }, { "disabled": false, "document": "是否关闭IP直通。", - "example": "无", + "example": "0", "member": "int64", "name": "CloseIpDirect", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "默认安全组id列表。", - "example": "无", + "example": "[\"esg-ggdr1234\",\"esg-15fd1234\",\"esg-mt9b1234\"]", "member": "string", "name": "SecurityGroupIds", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": false }, { "disabled": false, "document": "默认入带宽。", - "example": "无", + "example": "100", "member": "int64", "name": "DefaultBandwidthIn", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "自定义脚本数据", - "example": "无", + "example": "AAA123***===SG", "member": "string", "name": "UserData", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -10859,7 +10863,7 @@ "example": "无", "member": "SystemDisk", "name": "SystemDisk", - "required": true, + "output_required": true, "type": "object", "value_allowed_null": false }, @@ -10869,17 +10873,17 @@ "example": "无", "member": "DataDisk", "name": "DataDisks", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": false }, { "disabled": false, "document": "是否禁止外网ip", - "example": "无", + "example": "1", "member": "int64", "name": "DisableWanIp", - "required": false, + "output_required": true, "type": "int", "value_allowed_null": false } @@ -11342,150 +11346,170 @@ { "disabled": false, "document": "网络带宽上限", - "example": "无", + "example": "100", "member": "int64", "name": "MaxBandwidth", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "数据盘上限", - "example": "无", + "example": "100", "member": "int64", "name": "MaxSystemDiskSize", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "网络带宽下限", - "example": "无", + "example": "10", "member": "int64", "name": "MinBandwidth", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "数据盘下限", - "example": "无", + "example": "50", "member": "int64", "name": "MinSystemDiskSize", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "最大数据盘大小", - "example": "无", + "example": "500", "member": "int64", "name": "MaxDataDiskSize", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "最小数据盘大小", - "example": "无", + "example": "50", "member": "int64", "name": "MinDataDiskSize", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "建议带宽", - "example": "无", + "example": "1000", "member": "int64", "name": "SuggestBandwidth", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "建议硬盘大小", - "example": "无", + "example": "100", "member": "int64", "name": "SuggestDataDiskSize", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "建议系统盘大小", - "example": "无", + "example": "100", "member": "int64", "name": "SuggestSystemDiskSize", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "Cpu核数峰值", - "example": "无", + "example": "100", "member": "int64", "name": "MaxVcpu", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "Cpu核最小值", - "example": "无", + "example": "10", "member": "int64", "name": "MinVcpu", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "单次请求最大cpu核数", - "example": "无", + "example": "10", "member": "int64", "name": "MaxVcpuPerReq", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "带宽步长", - "example": "无", + "example": "100", "member": "int64", "name": "PerBandwidth", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "数据盘步长", - "example": "无", + "example": "100", "member": "int64", "name": "PerDataDisk", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "总模块数量", - "example": "无", + "example": "100", "member": "int64", "name": "MaxModuleNum", - "required": true, + "output_required": true, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "是否支持cbs", + "example": "false", + "member": "bool", + "name": "CBSSupported", + "output_required": true, + "type": "bool", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "磁盘数量限制", + "example": "50", + "member": "int64", + "name": "DiskNumLimit", + "output_required": true, "type": "int", "value_allowed_null": false } @@ -11578,7 +11602,7 @@ { "disabled": false, "document": "节点是否支持LB", - "example": "无", + "example": "false", "member": "bool", "name": "LBSupported", "output_required": true, @@ -12000,7 +12024,7 @@ { "disabled": false, "document": "实例所在的Zone的信息。", - "example": "", + "example": "无", "member": "ZoneInfo", "name": "ZoneInfo", "required": true, @@ -12010,7 +12034,7 @@ { "disabled": false, "document": "实例所在的国家的信息。", - "example": "", + "example": "无", "member": "Country", "name": "Country", "required": true, @@ -12020,7 +12044,7 @@ { "disabled": false, "document": "实例所在的Area的信息。", - "example": "", + "example": "无", "member": "Area", "name": "Area", "required": true, @@ -12030,7 +12054,7 @@ { "disabled": false, "document": "实例所在的省份的信息。", - "example": "", + "example": "无", "member": "Province", "name": "Province", "required": true, @@ -12040,7 +12064,7 @@ { "disabled": false, "document": "实例所在的城市的信息。", - "example": "", + "example": "无", "member": "City", "name": "City", "required": true, @@ -12050,12 +12074,22 @@ { "disabled": false, "document": "实例所在的Region的信息。", - "example": "", + "example": "无", "member": "RegionInfo", "name": "RegionInfo", "required": true, "type": "object", "value_allowed_null": false + }, + { + "disabled": false, + "document": "实例是否支持ipv6\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "bool", + "name": "Ipv6Supported", + "required": false, + "type": "bool", + "value_allowed_null": true } ], "usage": "out" @@ -12856,7 +12890,7 @@ { "disabled": false, "document": "是否保留数据盘数据,取值\"true\"/\"false\"。默认为\"true\"", - "example": "无", + "example": "true", "member": "string", "name": "KeepData", "required": false, @@ -12865,7 +12899,7 @@ { "disabled": false, "document": "保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为TRUE。取值范围:\nTRUE:表示保持镜像的登录设置\nFALSE:表示不保持镜像的登录设置\n\n默认取值:FALSE。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "true", "member": "string", "name": "KeepImageLogin", "required": false, @@ -13212,7 +13246,7 @@ { "disabled": false, "document": "实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:\nLinux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) ` ~ ! @ # $ % ^ & - + = | { } [ ] : ; ' , . ? / ]中的特殊符。Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) ` ~ ! @ # $ % ^ & - + = | { } [ ] : ; ' , . ? /]中的特殊符号。", - "example": "无", + "example": "pwd123", "member": "string", "name": "Password", "required": false, @@ -13221,7 +13255,7 @@ { "disabled": false, "document": "公网出带宽上限,单位:Mbps。\n1.如果未传该参数或者传的值为0,则使用模块下的默认值。\n2.如果未传该参数或者传的值为0且未指定模块,则使用InternetMaxBandwidthIn的值", - "example": "无", + "example": "100", "member": "int64", "name": "InternetMaxBandwidthOut", "required": false, @@ -13230,7 +13264,7 @@ { "disabled": false, "document": "模块ID。如果未传该参数,则必须传ImageId,InstanceType,DataDiskSize,InternetMaxBandwidthOut参数", - "example": "无", + "example": "em-12345", "member": "string", "name": "ModuleId", "required": false, @@ -13239,7 +13273,7 @@ { "disabled": false, "document": "镜像ID。如果未传该参数或者传的值为空,则使用模块下的默认值", - "example": "无", + "example": "img-12345", "member": "string", "name": "ImageId", "required": false, @@ -13248,7 +13282,7 @@ { "disabled": false, "document": "实例显示名称。\n不指定实例显示名称则默认显示‘未命名’。\n购买多台实例,如果指定模式串{R:x},表示生成数字[x, x+n-1],其中n表示购买实例的数量,例如server\\_{R:3},购买1台时,实例显示名称为server\\_3;购买2台时,实例显示名称分别为server\\_3,server\\_4。\n支持指定多个模式串{R:x}。\n购买多台实例,如果不指定模式串,则在实例显示名称添加后缀1、2...n,其中n表示购买实例的数量,例如server_,购买2台时,实例显示名称分别为server\\_1,server\\_2。\n如果购买的实例属于不同的地域或运营商,则上述规则在每个地域和运营商内独立计数。\n最多支持60个字符(包含模式串)。", - "example": "无", + "example": "tsIns", "member": "string", "name": "InstanceName", "required": false, @@ -13257,7 +13291,7 @@ { "disabled": false, "document": "主机名称\n点号(.)和短横线(-)不能作为 HostName 的首尾字符,不能连续使用。\nWindows 实例:名字符长度为[2, 15],允许字母(不限制大小写)、数字和短横线(-)组成,不支持点号(.),不能全是数字。\n其他类型(Linux 等)实例:字符长度为[2, 60],允许支持多个点号,点之间为一段,每段允许字母(不限制大小写)、数字和短横线(-)组成。", - "example": "无", + "example": "test", "member": "string", "name": "HostName", "required": false, @@ -13266,7 +13300,7 @@ { "disabled": false, "document": "用于保证请求幂等性的字符串。目前为保留参数,请勿使用。", - "example": "无", + "example": "qwerty**sfd", "member": "string", "name": "ClientToken", "required": false, @@ -13293,7 +13327,7 @@ { "disabled": false, "document": "提供给实例使用的用户数据,需要以 base64 方式编码,支持的最大数据大小为 16KB", - "example": "无", + "example": "AA1234***==SG", "member": "string", "name": "UserData", "required": false, @@ -13302,7 +13336,7 @@ { "disabled": false, "document": "机型。如果未传该参数或者传的值为空,则使用模块下的默认值", - "example": "无", + "example": "S4.2XLARGE16", "member": "string", "name": "InstanceType", "required": false, @@ -13311,7 +13345,7 @@ { "disabled": false, "document": "数据盘大小,单位是G。如果未传该参数或者传的值为0,则使用模块下的默认值", - "example": "无", + "example": "50", "member": "int64", "name": "DataDiskSize", "required": false, @@ -13320,7 +13354,7 @@ { "disabled": false, "document": "实例所属安全组。该参数可以通过调用 DescribeSecurityGroups 的返回值中的sgId字段来获取。若不指定该参数,则绑定默认安全组。", - "example": "无", + "example": "[ \"esg-g4k23455\" ]", "member": "string", "name": "SecurityGroupIds", "required": false, @@ -13329,7 +13363,7 @@ { "disabled": false, "document": "系统盘大小,单位是G。如果未传该参数或者传的值为0,则使用模块下的默认值", - "example": "无", + "example": "50", "member": "uint64", "name": "SystemDiskSize", "required": false, @@ -13338,7 +13372,7 @@ { "disabled": false, "document": "公网入带宽上限,单位:Mbps。\n1.如果未传该参数或者传的值为0,则使用对应模块的默认值。\n2.如果未传该参数或者传的值为0且未指定模块,则使用InternetMaxBandwidthOut", - "example": "无", + "example": "100", "member": "int64", "name": "InternetMaxBandwidthIn", "required": false, @@ -13347,7 +13381,7 @@ { "disabled": false, "document": "实例计费类型。其中:\n0,按资源维度后付费,计算当日用量峰值,例如CPU,内存,硬盘等,仅适用于非GNR系列机型;\n1,按小时后付费,单价:xx元/实例/小时,仅适用于GNR机型,如需开通该计费方式请提工单申请;\n2,按月后付费,单价:xx元/实例/月,仅适用于GNR机型;\n该字段不填时,非GNR机型会默认选择0;GNR机型默认选择2。", - "example": "无", + "example": "0", "member": "int64", "name": "InstanceChargeType", "required": false, @@ -13356,7 +13390,7 @@ { "disabled": false, "document": "密钥对。", - "example": "无", + "example": "[\"skey-dk12345\"]", "member": "string", "name": "KeyIds", "required": false, @@ -13365,7 +13399,7 @@ { "disabled": false, "document": "保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为TRUE。取值范围:\nTRUE:表示保持镜像的登录设置\nFALSE:表示不保持镜像的登录设置\n\n默认取值:FALSE。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "TRUE", "member": "string", "name": "KeepImageLogin", "required": false, @@ -13398,7 +13432,7 @@ { "disabled": false, "document": "创建中的实例ID列表\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "[\"ein-8cnmds12\"]", "member": "string", "name": "InstanceIdSet", "output_required": true, @@ -14931,7 +14965,7 @@ { "disabled": false, "document": "待销毁的实例ID列表。", - "example": "无", + "example": "[\"ein-ce71234\"]", "member": "string", "name": "InstanceIdSet", "required": true, @@ -14940,7 +14974,7 @@ { "disabled": false, "document": "是否定时销毁,默认为否。", - "example": "无", + "example": "false", "member": "bool", "name": "TerminateDelay", "required": false, @@ -14949,7 +14983,7 @@ { "disabled": false, "document": "定时销毁的时间,格式形如:\"2019-08-05 12:01:30\",若非定时销毁,则此参数被忽略。", - "example": "无", + "example": "2020-06-01 16:04:48", "member": "string", "name": "TerminateTime", "required": false, @@ -14958,7 +14992,7 @@ { "disabled": false, "document": "是否关联删除已绑定的弹性网卡和弹性IP,默认为true。\n当为true时,一并删除弹性网卡和弹性IP;\n当为false时,只销毁主机,保留弹性网卡和弹性IP。", - "example": "无", + "example": "false", "member": "bool", "name": "AssociatedResourceDestroy", "required": false, @@ -15030,9 +15064,10 @@ { "disabled": false, "document": "私有网络ID,形如vpc-xxx。", - "example": "", + "example": "无", "member": "string", "name": "VpcId", + "output_required": true, "required": true, "type": "string", "value_allowed_null": false @@ -15040,9 +15075,10 @@ { "disabled": false, "document": "私有网络子网ID,形如subnet-xxx。", - "example": "", + "example": "无", "member": "string", "name": "SubnetId", + "output_required": true, "required": true, "type": "string", "value_allowed_null": false @@ -15050,9 +15086,10 @@ { "disabled": false, "document": "是否用作公网网关。公网网关只有在实例拥有公网IP以及处于私有网络下时才能正常使用。取值范围:\nTRUE:表示用作公网网关\nFALSE:表示不用作公网网关\n\n默认取值:FALSE。", - "example": "", + "example": "无", "member": "bool", "name": "AsVpcGateway", + "output_required": true, "required": false, "type": "bool", "value_allowed_null": false @@ -15060,9 +15097,10 @@ { "disabled": false, "document": "私有网络子网 IP 数组,在创建实例、修改实例vpc属性操作中可使用此参数。", - "example": "", + "example": "无", "member": "string", "name": "PrivateIpAddresses", + "output_required": true, "required": false, "type": "list", "value_allowed_null": false @@ -15070,12 +15108,24 @@ { "disabled": false, "document": "为弹性网卡指定随机生成的 IPv6 地址数量。", - "example": "", + "example": "无", "member": "int64", "name": "Ipv6AddressCount", + "output_required": true, "required": false, "type": "int", "value_allowed_null": false + }, + { + "disabled": false, + "document": "runInstances接口创建三网ipv6地址使用\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "string", + "name": "Ipv6SubnetIds", + "output_required": false, + "required": false, + "type": "list", + "value_allowed_null": true } ], "usage": "both" diff --git a/tccli/services/ecm/v20190719/examples.json b/tccli/services/ecm/v20190719/examples.json index b8a783baec..9a451714c3 100644 --- a/tccli/services/ecm/v20190719/examples.json +++ b/tccli/services/ecm/v20190719/examples.json @@ -442,7 +442,7 @@ { "document": "", "input": "https://ecm.tencentcloudapi.com/?Action=DescribeImportImageOs\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"ImportImageOsListSupported\": {\n \"Windows\": [\n \"Windows Server 2008\",\n \"Windows Server 2012\",\n \"Windows Server 2016\"\n ],\n \"Linux\": [\n \"CentOS\",\n \"Ubuntu\",\n \"Debian\",\n \"OpenSUSE\",\n \"SUSE\",\n \"CoreOS\",\n \"FreeBSD\",\n \"Other Linux\"\n ]\n },\n \"RequestId\": \"xx\",\n \"ImportImageOsVersionSet\": [\n {\n \"OsName\": \"xx\",\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ],\n \"OsVersions\": [\n \"-\"\n ]\n },\n {\n \"OsVersions\": [\n \"-\"\n ],\n \"OsName\": \"xx\",\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsVersions\": [\n \"-\"\n ],\n \"OsName\": \"xx\",\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsVersions\": [\n \"5\",\n \"6\",\n \"7\"\n ],\n \"OsName\": \"xx\",\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsVersions\": [\n \"7\"\n ],\n \"OsName\": \"xx\",\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsVersions\": [\n \"6\",\n \"7\",\n \"8\",\n \"9\"\n ],\n \"OsName\": \"xx\",\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsVersions\": [\n \"10\"\n ],\n \"OsName\": \"xx\",\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsVersions\": [\n \"5\",\n \"6\",\n \"7\"\n ],\n \"OsName\": \"xx\",\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsVersions\": [\n \"11\",\n \"12\"\n ],\n \"OsName\": \"xx\",\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsVersions\": [\n \"10\",\n \"11\",\n \"12\",\n \"13\"\n ],\n \"OsName\": \"xx\",\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsVersions\": [\n \"10\",\n \"12\",\n \"14\",\n \"16\"\n ],\n \"OsName\": \"xx\",\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsVersions\": [\n \"-\"\n ],\n \"OsName\": \"xx\",\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n }\n ]\n }\n}", + "output": "{\n \"Response\": {\n \"ImportImageOsListSupported\": {\n \"Windows\": [\n \"Windows Server 2008\",\n \"Windows Server 2012\",\n \"Windows Server 2016\"\n ],\n \"Linux\": [\n \"CentOS\",\n \"Ubuntu\",\n \"Debian\",\n \"OpenSUSE\",\n \"SUSE\",\n \"CoreOS\",\n \"FreeBSD\",\n \"Other Linux\"\n ]\n },\n \"RequestId\": \"ef14668d-1daa-4e98-b545-c121a5e4ef18\",\n \"ImportImageOsVersionSet\": [\n {\n \"OsName\": \"CentOS 7.4 64位\",\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ],\n \"OsVersions\": [\n \"-\"\n ]\n },\n {\n \"OsVersions\": [\n \"-\"\n ],\n \"OsName\": \"CentOS 7.4 64位\",\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsVersions\": [\n \"-\"\n ],\n \"OsName\": \"CentOS 7.4 64位\",\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsVersions\": [\n \"5\",\n \"6\",\n \"7\"\n ],\n \"OsName\": \"CentOS 7.4 64位\",\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsVersions\": [\n \"7\"\n ],\n \"OsName\": \"CentOS 7.4 64位\",\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsVersions\": [\n \"6\",\n \"7\",\n \"8\",\n \"9\"\n ],\n \"OsName\": \"CentOS 7.4 64位\",\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsVersions\": [\n \"10\"\n ],\n \"OsName\": \"CentOS 7.4 64位\",\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsVersions\": [\n \"5\",\n \"6\",\n \"7\"\n ],\n \"OsName\": \"CentOS 7.4 64位\",\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsVersions\": [\n \"11\",\n \"12\"\n ],\n \"OsName\": \"CentOS 7.4 64位\",\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsVersions\": [\n \"10\",\n \"11\",\n \"12\",\n \"13\"\n ],\n \"OsName\": \"CentOS 7.4 64位\",\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsVersions\": [\n \"10\",\n \"12\",\n \"14\",\n \"16\"\n ],\n \"OsName\": \"CentOS 7.4 64位\",\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsVersions\": [\n \"-\"\n ],\n \"OsName\": \"CentOS 7.4 64位\",\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n }\n ]\n }\n}", "title": "查询导入镜像支持的操作系统配置信息" } ], @@ -463,23 +463,23 @@ } ], "DescribeInstances": [ - { - "document": "通过指定过滤条件来获取实例的信息。", - "input": "https://ecm.tencentcloudapi.com/?Action=DescribeInstances\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"RequestId\": \"\",\n \"InstanceSet\": [\n {\n \"DataDiskSize\": 0,\n \"RestrictState\": \"NORMAL\",\n \"InstanceId\": \"ein-bb0ab3pc\",\n \"ISP\": \"CTCC\",\n \"SecurityGroupIds\": [],\n \"SystemDisk\": {\n \"DiskType\": \"LOCAL_BASIC\",\n \"DiskId\": \"ldisk-91p8tj1p\",\n \"DiskSize\": 50\n },\n \"ExpireTime\": \"2020-09-27 16:13:51\",\n \"TagSet\": null,\n \"SimpleModule\": {\n \"ModuleId\": \"em-5wrpefy1\",\n \"ModuleName\": \"jiaxuan\"\n },\n \"DataDisks\": null,\n \"LatestOperationState\": \"SUCCESS\",\n \"UUID\": \"3c3e605a-33a0-41ca-9251-5f115a531c3e\",\n \"SystemDiskSize\": 50,\n \"InstanceTypeConfig\": {\n \"Frequency\": \"2.5 GHz\",\n \"InstanceType\": \"SN3ne.2XLARGE16\",\n \"Vcpu\": 8,\n \"InstanceFamilyConfig\": {\n \"InstanceFamilyName\": \"标准型SN3ne\",\n \"InstanceFamily\": \"SN3ne\"\n },\n \"InstanceFamilyTypeConfig\": {\n \"InstanceFamilyTypeName\": \"标准型\",\n \"InstanceFamilyType\": \"S\"\n },\n \"CpuModelName\": \"Intel Xeon Skylake 6133\",\n \"Memory\": 16,\n \"ExtInfo\": \"\"\n },\n \"RenewFlag\": 0,\n \"VirtualPrivateCloud\": {\n \"PrivateIpAddresses\": [\n \"10.11.12.6\"\n ],\n \"VpcId\": \"vpc-95ytv1vr\",\n \"AsVpcGateway\": false,\n \"SubnetId\": \"subnet-fua8fff8\",\n \"Ipv6AddressCount\": 0\n },\n \"IsolatedTime\": \"2020-09-27 16:13:51\",\n \"InstanceName\": \"jiaxuan滨海_勿删2\",\n \"Position\": {\n \"ZoneInfo\": {\n \"ZoneId\": 12000001,\n \"Zone\": \"ap-bhmini-ecm-1\",\n \"ZoneName\": \"腾讯滨海专区\"\n },\n \"Country\": {\n \"CountryName\": \"中国\",\n \"CountryId\": \"china\"\n },\n \"Area\": {\n \"AreaName\": \"华南\",\n \"AreaId\": \"china-south\"\n },\n \"Province\": {\n \"ProvinceId\": \"china-south-guangdong\",\n \"ProvinceName\": \"广东\"\n },\n \"City\": {\n \"CityName\": \"深圳\",\n \"CityId\": \"china-south-guangdong-shenzhen\"\n },\n \"RegionInfo\": {\n \"RegionId\": 0,\n \"Region\": \"ap-bhmini-ecm\",\n \"RegionName\": \"腾讯滨海专区\"\n }\n },\n \"CreateTime\": \"2020-09-27 16:13:51\",\n \"Image\": {\n \"SrcImage\": {\n \"InstanceName\": \"\",\n \"InstanceId\": \"\",\n \"ImageOsName\": \"centos_test\",\n \"ImageId\": \"img-test\",\n \"ImageName\": \"centos\",\n \"RegionID\": 20,\n \"RegionName\": \"上海\",\n \"ImageType\": \"\",\n \"ImageDescription\": \"info_test\",\n \"Region\": \"ap-shanghai\"\n },\n \"ImageOsName\": \"CentOS 7.6 64位\",\n \"ImageId\": \"img-9qabwvbn\",\n \"Platform\": \"CentOS\",\n \"ImageName\": \"CentOS 7.6 64位\",\n \"ImageCreateTime\": \"\",\n \"ImageOwner\": 0,\n \"ImageSource\": \"OFFICIAL\",\n \"ImageType\": \"PUBLIC_IMAGE\",\n \"OsType\": \"linux\",\n \"OsVersion\": \"7.6.0\",\n \"ImageState\": \"NORMAL\",\n \"ImageDescription\": \"CentOS 7.6 64位\",\n \"Architecture\": \"x86_64\",\n \"ImageSize\": 50\n },\n \"InstanceState\": \"RUNNING\",\n \"Internet\": {\n \"InstanceNetworkInfoSet\": [\n {\n \"Primary\": true,\n \"NetworkInterfaceId\": \"eni-m5gnw3tv\",\n \"NetworkInterfaceName\": \"ein-bb0ab3pc Primary ENI\",\n \"AddressInfoSet\": [\n {\n \"PublicIPAddressInfo\": {\n \"PublicIPAddress\": \"118.126.126.23\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 25,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n },\n \"PrivateIPAddressInfo\": {\n \"PrivateIPAddress\": \"10.11.12.6\"\n }\n }\n ]\n }\n ],\n \"PrivateIPAddressSet\": [\n {\n \"PrivateIPAddress\": \"10.11.12.6\"\n }\n ],\n \"PublicIPAddressSet\": [\n {\n \"PublicIPAddress\": \"118.126.126.23\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 25,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n }\n ]\n },\n \"NewFlag\": 0,\n \"ExpireState\": \"NORMAL\",\n \"PayMode\": 0,\n \"LatestOperation\": \"ResetInstancesPassword\"\n },\n {\n \"DataDiskSize\": 0,\n \"RestrictState\": \"NORMAL\",\n \"InstanceId\": \"ein-b6kee4dg\",\n \"ISP\": \"CTCC\",\n \"SecurityGroupIds\": [],\n \"SystemDisk\": {\n \"DiskType\": \"LOCAL_BASIC\",\n \"DiskId\": \"ldisk-9tvkpn8p\",\n \"DiskSize\": 50\n },\n \"ExpireTime\": \"2020-09-27 16:12:24\",\n \"TagSet\": null,\n \"SimpleModule\": {\n \"ModuleId\": \"em-xgi6r1hk\",\n \"ModuleName\": \"视频V8-cedricliu\"\n },\n \"DataDisks\": null,\n \"LatestOperationState\": \"SUCCESS\",\n \"UUID\": \"edf97143-b1e3-43d9-b34b-cfcf3fba1820\",\n \"SystemDiskSize\": 50,\n \"InstanceTypeConfig\": {\n \"Frequency\": \"2.5 GHz\",\n \"InstanceType\": \"SN3ne.4XLARGE32\",\n \"Vcpu\": 16,\n \"InstanceFamilyConfig\": {\n \"InstanceFamilyName\": \"标准型SN3ne\",\n \"InstanceFamily\": \"SN3ne\"\n },\n \"InstanceFamilyTypeConfig\": {\n \"InstanceFamilyTypeName\": \"标准型\",\n \"InstanceFamilyType\": \"S\"\n },\n \"CpuModelName\": \"Intel Xeon Skylake 6133\",\n \"Memory\": 32,\n \"ExtInfo\": \"\"\n },\n \"RenewFlag\": 0,\n \"VirtualPrivateCloud\": {\n \"PrivateIpAddresses\": [\n \"10.11.12.17\"\n ],\n \"VpcId\": \"vpc-95ytv1vr\",\n \"AsVpcGateway\": false,\n \"SubnetId\": \"subnet-fua8fff8\",\n \"Ipv6AddressCount\": 0\n },\n \"IsolatedTime\": \"2020-09-27 16:12:24\",\n \"InstanceName\": \"jiaxuan滨海机器_勿删2\",\n \"Position\": {\n \"ZoneInfo\": {\n \"ZoneId\": 12000001,\n \"Zone\": \"ap-bhmini-ecm-1\",\n \"ZoneName\": \"腾讯滨海专区\"\n },\n \"Country\": {\n \"CountryName\": \"中国\",\n \"CountryId\": \"china\"\n },\n \"Area\": {\n \"AreaName\": \"华南\",\n \"AreaId\": \"china-south\"\n },\n \"Province\": {\n \"ProvinceId\": \"china-south-guangdong\",\n \"ProvinceName\": \"广东\"\n },\n \"City\": {\n \"CityName\": \"深圳\",\n \"CityId\": \"china-south-guangdong-shenzhen\"\n },\n \"RegionInfo\": {\n \"RegionId\": 0,\n \"Region\": \"ap-bhmini-ecm\",\n \"RegionName\": \"腾讯滨海专区\"\n }\n },\n \"CreateTime\": \"2020-09-27 16:12:24\",\n \"Image\": {\n \"SrcImage\": {\n \"InstanceName\": \"\",\n \"InstanceId\": \"\",\n \"ImageOsName\": \"centos_test\",\n \"ImageId\": \"img-test\",\n \"ImageName\": \"centos\",\n \"RegionID\": 20,\n \"RegionName\": \"上海\",\n \"ImageType\": \"\",\n \"ImageDescription\": \"info_test\",\n \"Region\": \"ap-shanghai\"\n },\n \"ImageOsName\": \"CentOS 7.6 64位\",\n \"ImageId\": \"img-9qabwvbn\",\n \"Platform\": \"CentOS\",\n \"ImageName\": \"CentOS 7.6 64位\",\n \"ImageCreateTime\": \"\",\n \"ImageOwner\": 0,\n \"ImageSource\": \"OFFICIAL\",\n \"ImageType\": \"PUBLIC_IMAGE\",\n \"OsType\": \"linux\",\n \"OsVersion\": \"7.6.0\",\n \"ImageState\": \"NORMAL\",\n \"ImageDescription\": \"CentOS 7.6 64位\",\n \"Architecture\": \"x86_64\",\n \"ImageSize\": 50\n },\n \"InstanceState\": \"RUNNING\",\n \"Internet\": {\n \"InstanceNetworkInfoSet\": [\n {\n \"Primary\": true,\n \"NetworkInterfaceId\": \"eni-mhym6o89\",\n \"NetworkInterfaceName\": \"ein-b6kee4dg Primary ENI\",\n \"AddressInfoSet\": [\n {\n \"PublicIPAddressInfo\": {\n \"PublicIPAddress\": \"118.126.126.27\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 105,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n },\n \"PrivateIPAddressInfo\": {\n \"PrivateIPAddress\": \"10.11.12.17\"\n }\n }\n ]\n }\n ],\n \"PrivateIPAddressSet\": [\n {\n \"PrivateIPAddress\": \"10.11.12.17\"\n }\n ],\n \"PublicIPAddressSet\": [\n {\n \"PublicIPAddress\": \"118.126.126.27\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 105,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n }\n ]\n },\n \"NewFlag\": 0,\n \"ExpireState\": \"NORMAL\",\n \"PayMode\": 0,\n \"LatestOperation\": \"ResetInstancesPassword\"\n },\n {\n \"DataDiskSize\": 0,\n \"RestrictState\": \"NORMAL\",\n \"InstanceId\": \"ein-5uhtyyps\",\n \"ISP\": \"CTCC\",\n \"SecurityGroupIds\": [],\n \"SystemDisk\": {\n \"DiskType\": \"LOCAL_BASIC\",\n \"DiskId\": \"ldisk-0fqlcnj7\",\n \"DiskSize\": 50\n },\n \"ExpireTime\": \"2020-09-27 16:12:24\",\n \"TagSet\": null,\n \"SimpleModule\": {\n \"ModuleId\": \"em-xgi6r1hk\",\n \"ModuleName\": \"视频V8-cedricliu\"\n },\n \"DataDisks\": null,\n \"LatestOperationState\": \"SUCCESS\",\n \"UUID\": \"e85e02fb-8efd-4728-a3d7-10cf913ed4e5\",\n \"SystemDiskSize\": 50,\n \"InstanceTypeConfig\": {\n \"Frequency\": \"2.5 GHz\",\n \"InstanceType\": \"SN3ne.4XLARGE32\",\n \"Vcpu\": 16,\n \"InstanceFamilyConfig\": {\n \"InstanceFamilyName\": \"标准型SN3ne\",\n \"InstanceFamily\": \"SN3ne\"\n },\n \"InstanceFamilyTypeConfig\": {\n \"InstanceFamilyTypeName\": \"标准型\",\n \"InstanceFamilyType\": \"S\"\n },\n \"CpuModelName\": \"Intel Xeon Skylake 6133\",\n \"Memory\": 32,\n \"ExtInfo\": \"\"\n },\n \"RenewFlag\": 0,\n \"VirtualPrivateCloud\": {\n \"PrivateIpAddresses\": [\n \"10.11.12.4\"\n ],\n \"VpcId\": \"vpc-95ytv1vr\",\n \"AsVpcGateway\": false,\n \"SubnetId\": \"subnet-fua8fff8\",\n \"Ipv6AddressCount\": 0\n },\n \"IsolatedTime\": \"2020-09-27 16:12:24\",\n \"InstanceName\": \"jiaxuan滨海机器_勿删1\",\n \"Position\": {\n \"ZoneInfo\": {\n \"ZoneId\": 12000001,\n \"Zone\": \"ap-bhmini-ecm-1\",\n \"ZoneName\": \"腾讯滨海专区\"\n },\n \"Country\": {\n \"CountryName\": \"中国\",\n \"CountryId\": \"china\"\n },\n \"Area\": {\n \"AreaName\": \"华南\",\n \"AreaId\": \"china-south\"\n },\n \"Province\": {\n \"ProvinceId\": \"china-south-guangdong\",\n \"ProvinceName\": \"广东\"\n },\n \"City\": {\n \"CityName\": \"深圳\",\n \"CityId\": \"china-south-guangdong-shenzhen\"\n },\n \"RegionInfo\": {\n \"RegionId\": 0,\n \"Region\": \"ap-bhmini-ecm\",\n \"RegionName\": \"腾讯滨海专区\"\n }\n },\n \"CreateTime\": \"2020-09-27 16:12:24\",\n \"Image\": {\n \"SrcImage\": {\n \"InstanceName\": \"\",\n \"InstanceId\": \"\",\n \"ImageOsName\": \"centos_test\",\n \"ImageId\": \"img-test\",\n \"ImageName\": \"centos\",\n \"RegionID\": 20,\n \"RegionName\": \"上海\",\n \"ImageType\": \"\",\n \"ImageDescription\": \"info_test\",\n \"Region\": \"ap-shanghai\"\n },\n \"ImageOsName\": \"CentOS 7.6 64位\",\n \"ImageId\": \"img-9qabwvbn\",\n \"Platform\": \"CentOS\",\n \"ImageName\": \"CentOS 7.6 64位\",\n \"ImageCreateTime\": \"\",\n \"ImageOwner\": 0,\n \"ImageSource\": \"OFFICIAL\",\n \"ImageType\": \"PUBLIC_IMAGE\",\n \"OsType\": \"linux\",\n \"OsVersion\": \"7.6.0\",\n \"ImageState\": \"NORMAL\",\n \"ImageDescription\": \"CentOS 7.6 64位\",\n \"Architecture\": \"x86_64\",\n \"ImageSize\": 50\n },\n \"InstanceState\": \"RUNNING\",\n \"Internet\": {\n \"InstanceNetworkInfoSet\": [\n {\n \"Primary\": true,\n \"NetworkInterfaceId\": \"eni-i7nvrvbj\",\n \"NetworkInterfaceName\": \"ein-5uhtyyps Primary ENI\",\n \"AddressInfoSet\": [\n {\n \"PublicIPAddressInfo\": {\n \"PublicIPAddress\": \"118.126.126.39\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 105,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n },\n \"PrivateIPAddressInfo\": {\n \"PrivateIPAddress\": \"10.11.12.4\"\n }\n }\n ]\n }\n ],\n \"PrivateIPAddressSet\": [\n {\n \"PrivateIPAddress\": \"10.11.12.4\"\n }\n ],\n \"PublicIPAddressSet\": [\n {\n \"PublicIPAddress\": \"118.126.126.39\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 105,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n }\n ]\n },\n \"NewFlag\": 0,\n \"ExpireState\": \"NORMAL\",\n \"PayMode\": 0,\n \"LatestOperation\": \"ResetInstancesPassword\"\n }\n ],\n \"TotalCount\": 3\n }\n}", - "title": "通过过滤条件获取实例信息" - }, { "document": "", - "input": "https://ecm.tencentcloudapi.com/?Action=DescribeInstances\n&OrderByField=timestamp\n&OrderDirection=0\n&Limit=2\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"RequestId\": \"\",\n \"InstanceSet\": [\n {\n \"DataDiskSize\": 0,\n \"RestrictState\": \"NORMAL\",\n \"InstanceId\": \"ein-bb0ab3pc\",\n \"ISP\": \"CTCC\",\n \"SecurityGroupIds\": [],\n \"SystemDisk\": {\n \"DiskType\": \"LOCAL_BASIC\",\n \"DiskId\": \"ldisk-91p8tj1p\",\n \"DiskSize\": 50\n },\n \"ExpireTime\": \"2020-09-27 16:13:51\",\n \"TagSet\": null,\n \"SimpleModule\": {\n \"ModuleId\": \"em-5wrpefy1\",\n \"ModuleName\": \"jiaxuan\"\n },\n \"DataDisks\": null,\n \"LatestOperationState\": \"SUCCESS\",\n \"UUID\": \"3c3e605a-33a0-41ca-9251-5f115a531c3e\",\n \"SystemDiskSize\": 50,\n \"InstanceTypeConfig\": {\n \"Frequency\": \"2.5 GHz\",\n \"InstanceType\": \"SN3ne.2XLARGE16\",\n \"Vcpu\": 8,\n \"InstanceFamilyConfig\": {\n \"InstanceFamilyName\": \"标准型SN3ne\",\n \"InstanceFamily\": \"SN3ne\"\n },\n \"InstanceFamilyTypeConfig\": {\n \"InstanceFamilyTypeName\": \"标准型\",\n \"InstanceFamilyType\": \"S\"\n },\n \"CpuModelName\": \"Intel Xeon Skylake 6133\",\n \"Memory\": 16,\n \"ExtInfo\": \"\"\n },\n \"RenewFlag\": 0,\n \"VirtualPrivateCloud\": {\n \"PrivateIpAddresses\": [\n \"10.11.12.6\"\n ],\n \"VpcId\": \"vpc-95ytv1vr\",\n \"AsVpcGateway\": false,\n \"SubnetId\": \"subnet-fua8fff8\",\n \"Ipv6AddressCount\": 0\n },\n \"IsolatedTime\": \"2020-09-27 16:13:51\",\n \"InstanceName\": \"jiaxuan滨海_勿删2\",\n \"Position\": {\n \"ZoneInfo\": {\n \"ZoneId\": 12000001,\n \"Zone\": \"ap-bhmini-ecm-1\",\n \"ZoneName\": \"腾讯滨海专区\"\n },\n \"Country\": {\n \"CountryName\": \"中国\",\n \"CountryId\": \"china\"\n },\n \"Area\": {\n \"AreaName\": \"华南\",\n \"AreaId\": \"china-south\"\n },\n \"Province\": {\n \"ProvinceId\": \"china-south-guangdong\",\n \"ProvinceName\": \"广东\"\n },\n \"City\": {\n \"CityName\": \"深圳\",\n \"CityId\": \"china-south-guangdong-shenzhen\"\n },\n \"RegionInfo\": {\n \"RegionId\": 0,\n \"Region\": \"ap-bhmini-ecm\",\n \"RegionName\": \"腾讯滨海专区\"\n }\n },\n \"CreateTime\": \"2020-09-27 16:13:51\",\n \"Image\": {\n \"SrcImage\": {\n \"InstanceName\": \"\",\n \"InstanceId\": \"\",\n \"ImageOsName\": \"centos_test\",\n \"ImageId\": \"img-test\",\n \"ImageName\": \"centos\",\n \"RegionID\": 20,\n \"RegionName\": \"上海\",\n \"ImageType\": \"\",\n \"ImageDescription\": \"info_test\",\n \"Region\": \"ap-shanghai\"\n },\n \"ImageOsName\": \"CentOS 7.6 64位\",\n \"ImageId\": \"img-9qabwvbn\",\n \"Platform\": \"CentOS\",\n \"ImageName\": \"CentOS 7.6 64位\",\n \"ImageCreateTime\": \"\",\n \"ImageOwner\": 0,\n \"ImageSource\": \"OFFICIAL\",\n \"ImageType\": \"PUBLIC_IMAGE\",\n \"OsType\": \"linux\",\n \"OsVersion\": \"7.6.0\",\n \"ImageState\": \"NORMAL\",\n \"ImageDescription\": \"CentOS 7.6 64位\",\n \"Architecture\": \"x86_64\",\n \"ImageSize\": 50\n },\n \"InstanceState\": \"RUNNING\",\n \"Internet\": {\n \"InstanceNetworkInfoSet\": [\n {\n \"Primary\": true,\n \"NetworkInterfaceId\": \"eni-m5gnw3tv\",\n \"NetworkInterfaceName\": \"ein-bb0ab3pc Primary ENI\",\n \"AddressInfoSet\": [\n {\n \"PublicIPAddressInfo\": {\n \"PublicIPAddress\": \"118.126.126.23\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 25,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n },\n \"PrivateIPAddressInfo\": {\n \"PrivateIPAddress\": \"10.11.12.6\"\n }\n }\n ]\n }\n ],\n \"PrivateIPAddressSet\": [\n {\n \"PrivateIPAddress\": \"10.11.12.6\"\n }\n ],\n \"PublicIPAddressSet\": [\n {\n \"PublicIPAddress\": \"118.126.126.23\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 25,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n }\n ]\n },\n \"NewFlag\": 0,\n \"ExpireState\": \"NORMAL\",\n \"PayMode\": 0,\n \"LatestOperation\": \"ResetInstancesPassword\"\n },\n {\n \"DataDiskSize\": 0,\n \"RestrictState\": \"NORMAL\",\n \"InstanceId\": \"ein-b6kee4dg\",\n \"ISP\": \"CTCC\",\n \"SecurityGroupIds\": [],\n \"SystemDisk\": {\n \"DiskType\": \"LOCAL_BASIC\",\n \"DiskId\": \"ldisk-9tvkpn8p\",\n \"DiskSize\": 50\n },\n \"ExpireTime\": \"2020-09-27 16:12:24\",\n \"TagSet\": null,\n \"SimpleModule\": {\n \"ModuleId\": \"em-xgi6r1hk\",\n \"ModuleName\": \"视频V8-cedricliu\"\n },\n \"DataDisks\": null,\n \"LatestOperationState\": \"SUCCESS\",\n \"UUID\": \"edf97143-b1e3-43d9-b34b-cfcf3fba1820\",\n \"SystemDiskSize\": 50,\n \"InstanceTypeConfig\": {\n \"Frequency\": \"2.5 GHz\",\n \"InstanceType\": \"SN3ne.4XLARGE32\",\n \"Vcpu\": 16,\n \"InstanceFamilyConfig\": {\n \"InstanceFamilyName\": \"标准型SN3ne\",\n \"InstanceFamily\": \"SN3ne\"\n },\n \"InstanceFamilyTypeConfig\": {\n \"InstanceFamilyTypeName\": \"标准型\",\n \"InstanceFamilyType\": \"S\"\n },\n \"CpuModelName\": \"Intel Xeon Skylake 6133\",\n \"Memory\": 32,\n \"ExtInfo\": \"\"\n },\n \"RenewFlag\": 0,\n \"VirtualPrivateCloud\": {\n \"PrivateIpAddresses\": [\n \"10.11.12.17\"\n ],\n \"VpcId\": \"vpc-95ytv1vr\",\n \"AsVpcGateway\": false,\n \"SubnetId\": \"subnet-fua8fff8\",\n \"Ipv6AddressCount\": 0\n },\n \"IsolatedTime\": \"2020-09-27 16:12:24\",\n \"InstanceName\": \"jiaxuan滨海机器_勿删2\",\n \"Position\": {\n \"ZoneInfo\": {\n \"ZoneId\": 12000001,\n \"Zone\": \"ap-bhmini-ecm-1\",\n \"ZoneName\": \"腾讯滨海专区\"\n },\n \"Country\": {\n \"CountryName\": \"中国\",\n \"CountryId\": \"china\"\n },\n \"Area\": {\n \"AreaName\": \"华南\",\n \"AreaId\": \"china-south\"\n },\n \"Province\": {\n \"ProvinceId\": \"china-south-guangdong\",\n \"ProvinceName\": \"广东\"\n },\n \"City\": {\n \"CityName\": \"深圳\",\n \"CityId\": \"china-south-guangdong-shenzhen\"\n },\n \"RegionInfo\": {\n \"RegionId\": 0,\n \"Region\": \"ap-bhmini-ecm\",\n \"RegionName\": \"腾讯滨海专区\"\n }\n },\n \"CreateTime\": \"2020-09-27 16:12:24\",\n \"Image\": {\n \"SrcImage\": {\n \"InstanceName\": \"\",\n \"InstanceId\": \"\",\n \"ImageOsName\": \"centos_test\",\n \"ImageId\": \"img-test\",\n \"ImageName\": \"centos\",\n \"RegionID\": 20,\n \"RegionName\": \"上海\",\n \"ImageType\": \"\",\n \"ImageDescription\": \"info_test\",\n \"Region\": \"ap-shanghai\"\n },\n \"ImageOsName\": \"CentOS 7.6 64位\",\n \"ImageId\": \"img-9qabwvbn\",\n \"Platform\": \"CentOS\",\n \"ImageName\": \"CentOS 7.6 64位\",\n \"ImageCreateTime\": \"\",\n \"ImageOwner\": 0,\n \"ImageSource\": \"OFFICIAL\",\n \"ImageType\": \"PUBLIC_IMAGE\",\n \"OsType\": \"linux\",\n \"OsVersion\": \"7.6.0\",\n \"ImageState\": \"NORMAL\",\n \"ImageDescription\": \"CentOS 7.6 64位\",\n \"Architecture\": \"x86_64\",\n \"ImageSize\": 50\n },\n \"InstanceState\": \"RUNNING\",\n \"Internet\": {\n \"InstanceNetworkInfoSet\": [\n {\n \"Primary\": true,\n \"NetworkInterfaceId\": \"eni-mhym6o89\",\n \"NetworkInterfaceName\": \"ein-b6kee4dg Primary ENI\",\n \"AddressInfoSet\": [\n {\n \"PublicIPAddressInfo\": {\n \"PublicIPAddress\": \"118.126.126.27\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 105,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n },\n \"PrivateIPAddressInfo\": {\n \"PrivateIPAddress\": \"10.11.12.17\"\n }\n }\n ]\n }\n ],\n \"PrivateIPAddressSet\": [\n {\n \"PrivateIPAddress\": \"10.11.12.17\"\n }\n ],\n \"PublicIPAddressSet\": [\n {\n \"PublicIPAddress\": \"118.126.126.27\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 105,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n }\n ]\n },\n \"NewFlag\": 0,\n \"ExpireState\": \"NORMAL\",\n \"PayMode\": 0,\n \"LatestOperation\": \"ResetInstancesPassword\"\n }\n ],\n \"TotalCount\": 15\n }\n}", + "input": "POST / HTTP/1.1\nHost: ecm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<公共请求参数>\n\n{\n \"Limit\": 2,\n \"OrderByField\": \"timestamp\",\n \"OrderDirection\": 0\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"\",\n \"InstanceSet\": [\n {\n \"DataDiskSize\": 0,\n \"RestrictState\": \"NORMAL\",\n \"InstanceId\": \"ein-bb0ab3pc\",\n \"ISP\": \"CTCC\",\n \"SecurityGroupIds\": [],\n \"SystemDisk\": {\n \"DeleteWithInstance\": false,\n \"DiskType\": \"LOCAL_BASIC\",\n \"DiskId\": \"ldisk-91p8tj1p\",\n \"DiskSize\": 50,\n \"SnapshotId\": \"\"\n },\n \"ExpireTime\": \"2020-09-27 16:13:51\",\n \"TagSet\": null,\n \"SimpleModule\": {\n \"ModuleId\": \"em-5wrpefy1\",\n \"ModuleName\": \"jiaxuan\"\n },\n \"DataDisks\": null,\n \"LatestOperationState\": \"SUCCESS\",\n \"UUID\": \"3c3e605a-33a0-41ca-9251-5f115a531c3e\",\n \"SystemDiskSize\": 50,\n \"InstanceTypeConfig\": {\n \"Frequency\": \"2.5 GHz\",\n \"GpuModelName\": null,\n \"InstanceType\": \"SN3ne.2XLARGE16\",\n \"Vcpu\": 8,\n \"Vgpu\": null,\n \"InstanceFamilyConfig\": {\n \"InstanceFamilyName\": \"标准型SN3ne\",\n \"InstanceFamily\": \"SN3ne\"\n },\n \"InstanceFamilyTypeConfig\": {\n \"InstanceFamilyTypeName\": \"标准型\",\n \"InstanceFamilyType\": \"S\"\n },\n \"CpuModelName\": \"Intel Xeon Skylake 6133\",\n \"Memory\": 16,\n \"ExtInfo\": \"\"\n },\n \"RenewFlag\": 0,\n \"VirtualPrivateCloud\": {\n \"PrivateIpAddresses\": [\n \"10.11.12.6\"\n ],\n \"VpcId\": \"vpc-95ytv1vr\",\n \"AsVpcGateway\": false,\n \"SubnetId\": \"subnet-fua8fff8\",\n \"Ipv6AddressCount\": 0\n },\n \"IsolatedTime\": \"2020-09-27 16:13:51\",\n \"InstanceName\": \"jiaxuan滨海_勿删2\",\n \"Position\": {\n \"ZoneInfo\": {\n \"ZoneId\": 12000001,\n \"Zone\": \"ap-bhmini-ecm-1\",\n \"ZoneName\": \"腾讯滨海专区\"\n },\n \"Country\": {\n \"CountryName\": \"中国\",\n \"CountryId\": \"china\"\n },\n \"Ipv6Supported\": true,\n \"Area\": {\n \"AreaName\": \"华南\",\n \"AreaId\": \"china-south\"\n },\n \"Province\": {\n \"ProvinceId\": \"china-south-guangdong\",\n \"ProvinceName\": \"广东\"\n },\n \"City\": {\n \"CityName\": \"深圳\",\n \"CityId\": \"china-south-guangdong-shenzhen\"\n },\n \"RegionInfo\": {\n \"RegionId\": 0,\n \"Region\": \"ap-bhmini-ecm\",\n \"RegionName\": \"腾讯滨海专区\"\n }\n },\n \"CreateTime\": \"2020-09-27 16:13:51\",\n \"Image\": {\n \"SrcImage\": {\n \"InstanceName\": \"\",\n \"InstanceId\": \"\",\n \"ImageOsName\": \"centos_test\",\n \"ImageId\": \"img-test\",\n \"ImageName\": \"centos\",\n \"RegionID\": 20,\n \"RegionName\": \"上海\",\n \"ImageType\": \"\",\n \"ImageDescription\": \"info_test\",\n \"Region\": \"ap-shanghai\"\n },\n \"ImageOsName\": \"CentOS 7.6 64位\",\n \"ImageId\": \"img-9qabwvbn\",\n \"Platform\": \"CentOS\",\n \"ImageName\": \"CentOS 7.6 64位\",\n \"ImageCreateTime\": \"\",\n \"ImageOwner\": 0,\n \"ImageSource\": \"OFFICIAL\",\n \"ImageType\": \"PUBLIC_IMAGE\",\n \"IsSupportCloudInit\": true,\n \"OsType\": \"linux\",\n \"OsVersion\": \"7.6.0\",\n \"ImageState\": \"NORMAL\",\n \"ImageDescription\": \"CentOS 7.6 64位\",\n \"Architecture\": \"x86_64\",\n \"ImageSize\": 50,\n \"TaskId\": \"\"\n },\n \"InstanceState\": \"RUNNING\",\n \"Internet\": {\n \"InstanceNetworkInfoSet\": [\n {\n \"Primary\": true,\n \"NetworkInterfaceId\": \"eni-m5gnw3tv\",\n \"NetworkInterfaceName\": \"ein-bb0ab3pc Primary ENI\",\n \"AddressInfoSet\": [\n {\n \"PublicIPAddressInfo\": {\n \"PublicIPAddress\": \"118.126.126.23\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 25,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n },\n \"PrivateIPAddressInfo\": {\n \"PrivateIPAddress\": \"10.11.12.6\"\n }\n }\n ]\n }\n ],\n \"PrivateIPAddressSet\": [\n {\n \"PrivateIPAddress\": \"10.11.12.6\"\n }\n ],\n \"PublicIPAddressSet\": [\n {\n \"PublicIPAddress\": \"118.126.126.23\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 25,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n }\n ]\n },\n \"NewFlag\": 0,\n \"ExpireState\": \"NORMAL\",\n \"PayMode\": 0,\n \"PhysicalPosition\": {\n \"PosId\": \"\",\n \"RackId\": \"\",\n \"SwitchId\": \"\"\n },\n \"LatestOperation\": \"ResetInstancesPassword\"\n },\n {\n \"DataDiskSize\": 0,\n \"RestrictState\": \"NORMAL\",\n \"InstanceId\": \"ein-b6kee4dg\",\n \"ISP\": \"CTCC\",\n \"SecurityGroupIds\": [],\n \"SystemDisk\": {\n \"DeleteWithInstance\": false,\n \"DiskType\": \"LOCAL_BASIC\",\n \"DiskId\": \"ldisk-9tvkpn8p\",\n \"DiskSize\": 50,\n \"SnapshotId\": \"\"\n },\n \"ExpireTime\": \"2020-09-27 16:12:24\",\n \"TagSet\": null,\n \"SimpleModule\": {\n \"ModuleId\": \"em-xgi6r1hk\",\n \"ModuleName\": \"视频V8-cedricliu\"\n },\n \"DataDisks\": null,\n \"LatestOperationState\": \"SUCCESS\",\n \"UUID\": \"edf97143-b1e3-43d9-b34b-cfcf3fba1820\",\n \"SystemDiskSize\": 50,\n \"InstanceTypeConfig\": {\n \"Frequency\": \"2.5 GHz\",\n \"GpuModelName\": null,\n \"InstanceType\": \"SN3ne.4XLARGE32\",\n \"Vcpu\": 16,\n \"Vgpu\": null,\n \"InstanceFamilyConfig\": {\n \"InstanceFamilyName\": \"标准型SN3ne\",\n \"InstanceFamily\": \"SN3ne\"\n },\n \"InstanceFamilyTypeConfig\": {\n \"InstanceFamilyTypeName\": \"标准型\",\n \"InstanceFamilyType\": \"S\"\n },\n \"CpuModelName\": \"Intel Xeon Skylake 6133\",\n \"Memory\": 32,\n \"ExtInfo\": \"\"\n },\n \"RenewFlag\": 0,\n \"VirtualPrivateCloud\": {\n \"PrivateIpAddresses\": [\n \"10.11.12.17\"\n ],\n \"VpcId\": \"vpc-95ytv1vr\",\n \"AsVpcGateway\": false,\n \"SubnetId\": \"subnet-fua8fff8\",\n \"Ipv6AddressCount\": 0\n },\n \"IsolatedTime\": \"2020-09-27 16:12:24\",\n \"InstanceName\": \"jiaxuan滨海机器_勿删2\",\n \"Position\": {\n \"ZoneInfo\": {\n \"ZoneId\": 12000001,\n \"Zone\": \"ap-bhmini-ecm-1\",\n \"ZoneName\": \"腾讯滨海专区\"\n },\n \"Country\": {\n \"CountryName\": \"中国\",\n \"CountryId\": \"china\"\n },\n \"Ipv6Supported\": true,\n \"Area\": {\n \"AreaName\": \"华南\",\n \"AreaId\": \"china-south\"\n },\n \"Province\": {\n \"ProvinceId\": \"china-south-guangdong\",\n \"ProvinceName\": \"广东\"\n },\n \"City\": {\n \"CityName\": \"深圳\",\n \"CityId\": \"china-south-guangdong-shenzhen\"\n },\n \"RegionInfo\": {\n \"RegionId\": 0,\n \"Region\": \"ap-bhmini-ecm\",\n \"RegionName\": \"腾讯滨海专区\"\n }\n },\n \"CreateTime\": \"2020-09-27 16:12:24\",\n \"Image\": {\n \"SrcImage\": {\n \"InstanceName\": \"\",\n \"InstanceId\": \"\",\n \"ImageOsName\": \"centos_test\",\n \"ImageId\": \"img-test\",\n \"ImageName\": \"centos\",\n \"RegionID\": 20,\n \"RegionName\": \"上海\",\n \"ImageType\": \"\",\n \"ImageDescription\": \"info_test\",\n \"Region\": \"ap-shanghai\"\n },\n \"ImageOsName\": \"CentOS 7.6 64位\",\n \"ImageId\": \"img-9qabwvbn\",\n \"Platform\": \"CentOS\",\n \"ImageName\": \"CentOS 7.6 64位\",\n \"ImageCreateTime\": \"\",\n \"ImageOwner\": 0,\n \"ImageSource\": \"OFFICIAL\",\n \"ImageType\": \"PUBLIC_IMAGE\",\n \"IsSupportCloudInit\": true,\n \"OsType\": \"linux\",\n \"OsVersion\": \"7.6.0\",\n \"ImageState\": \"NORMAL\",\n \"ImageDescription\": \"CentOS 7.6 64位\",\n \"Architecture\": \"x86_64\",\n \"ImageSize\": 50,\n \"TaskId\": \"\"\n },\n \"InstanceState\": \"RUNNING\",\n \"Internet\": {\n \"InstanceNetworkInfoSet\": [\n {\n \"Primary\": true,\n \"NetworkInterfaceId\": \"eni-mhym6o89\",\n \"NetworkInterfaceName\": \"ein-b6kee4dg Primary ENI\",\n \"AddressInfoSet\": [\n {\n \"PublicIPAddressInfo\": {\n \"PublicIPAddress\": \"118.126.126.27\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 105,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n },\n \"PrivateIPAddressInfo\": {\n \"PrivateIPAddress\": \"10.11.12.17\"\n }\n }\n ]\n }\n ],\n \"PrivateIPAddressSet\": [\n {\n \"PrivateIPAddress\": \"10.11.12.17\"\n }\n ],\n \"PublicIPAddressSet\": [\n {\n \"PublicIPAddress\": \"118.126.126.27\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 105,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n }\n ]\n },\n \"NewFlag\": 0,\n \"ExpireState\": \"NORMAL\",\n \"PayMode\": 0,\n \"PhysicalPosition\": {\n \"PosId\": \"\",\n \"RackId\": \"\",\n \"SwitchId\": \"\"\n },\n \"LatestOperation\": \"ResetInstancesPassword\"\n }\n ],\n \"TotalCount\": 15\n }\n}", "title": "按照创建时间倒序查询最近的两个实例" }, { "document": "", - "input": "https://ecm.tencentcloudapi.com/?Action=DescribeInstances\n&Filters.0.Name=vpc-id\n&Filters.0.Values.0=vpc-ec3mnb4d\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"RequestId\": \"\",\n \"InstanceSet\": [\n {\n \"DataDiskSize\": 0,\n \"RestrictState\": \"NORMAL\",\n \"InstanceId\": \"ein-bb0ab3pc\",\n \"ISP\": \"CTCC\",\n \"SecurityGroupIds\": [],\n \"SystemDisk\": {\n \"DiskType\": \"LOCAL_BASIC\",\n \"DiskId\": \"ldisk-91p8tj1p\",\n \"DiskSize\": 50\n },\n \"ExpireTime\": \"2020-09-27 16:13:51\",\n \"TagSet\": null,\n \"SimpleModule\": {\n \"ModuleId\": \"em-5wrpefy1\",\n \"ModuleName\": \"jiaxuan\"\n },\n \"DataDisks\": null,\n \"LatestOperationState\": \"SUCCESS\",\n \"UUID\": \"3c3e605a-33a0-41ca-9251-5f115a531c3e\",\n \"SystemDiskSize\": 50,\n \"InstanceTypeConfig\": {\n \"Frequency\": \"2.5 GHz\",\n \"InstanceType\": \"SN3ne.2XLARGE16\",\n \"Vcpu\": 8,\n \"InstanceFamilyConfig\": {\n \"InstanceFamilyName\": \"标准型SN3ne\",\n \"InstanceFamily\": \"SN3ne\"\n },\n \"InstanceFamilyTypeConfig\": {\n \"InstanceFamilyTypeName\": \"标准型\",\n \"InstanceFamilyType\": \"S\"\n },\n \"CpuModelName\": \"Intel Xeon Skylake 6133\",\n \"Memory\": 16,\n \"ExtInfo\": \"\"\n },\n \"RenewFlag\": 0,\n \"VirtualPrivateCloud\": {\n \"PrivateIpAddresses\": [\n \"10.11.12.6\"\n ],\n \"VpcId\": \"vpc-95ytv1vr\",\n \"AsVpcGateway\": false,\n \"SubnetId\": \"subnet-fua8fff8\",\n \"Ipv6AddressCount\": 0\n },\n \"IsolatedTime\": \"2020-09-27 16:13:51\",\n \"InstanceName\": \"jiaxuan滨海_勿删2\",\n \"Position\": {\n \"ZoneInfo\": {\n \"ZoneId\": 12000001,\n \"Zone\": \"ap-bhmini-ecm-1\",\n \"ZoneName\": \"腾讯滨海专区\"\n },\n \"Country\": {\n \"CountryName\": \"中国\",\n \"CountryId\": \"china\"\n },\n \"Area\": {\n \"AreaName\": \"华南\",\n \"AreaId\": \"china-south\"\n },\n \"Province\": {\n \"ProvinceId\": \"china-south-guangdong\",\n \"ProvinceName\": \"广东\"\n },\n \"City\": {\n \"CityName\": \"深圳\",\n \"CityId\": \"china-south-guangdong-shenzhen\"\n },\n \"RegionInfo\": {\n \"RegionId\": 0,\n \"Region\": \"ap-bhmini-ecm\",\n \"RegionName\": \"腾讯滨海专区\"\n }\n },\n \"CreateTime\": \"2020-09-27 16:13:51\",\n \"Image\": {\n \"SrcImage\": {\n \"InstanceName\": \"\",\n \"InstanceId\": \"\",\n \"ImageOsName\": \"centos_test\",\n \"ImageId\": \"img-test\",\n \"ImageName\": \"centos\",\n \"RegionID\": 20,\n \"RegionName\": \"上海\",\n \"ImageType\": \"\",\n \"ImageDescription\": \"info_test\",\n \"Region\": \"ap-shanghai\"\n },\n \"ImageOsName\": \"CentOS 7.6 64位\",\n \"ImageId\": \"img-9qabwvbn\",\n \"Platform\": \"CentOS\",\n \"ImageName\": \"CentOS 7.6 64位\",\n \"ImageCreateTime\": \"\",\n \"ImageOwner\": 0,\n \"ImageSource\": \"OFFICIAL\",\n \"ImageType\": \"PUBLIC_IMAGE\",\n \"OsType\": \"linux\",\n \"OsVersion\": \"7.6.0\",\n \"ImageState\": \"NORMAL\",\n \"ImageDescription\": \"CentOS 7.6 64位\",\n \"Architecture\": \"x86_64\",\n \"ImageSize\": 50\n },\n \"InstanceState\": \"RUNNING\",\n \"Internet\": {\n \"InstanceNetworkInfoSet\": [\n {\n \"Primary\": true,\n \"NetworkInterfaceId\": \"eni-m5gnw3tv\",\n \"NetworkInterfaceName\": \"ein-bb0ab3pc Primary ENI\",\n \"AddressInfoSet\": [\n {\n \"PublicIPAddressInfo\": {\n \"PublicIPAddress\": \"118.126.126.23\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 25,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n },\n \"PrivateIPAddressInfo\": {\n \"PrivateIPAddress\": \"10.11.12.6\"\n }\n }\n ]\n }\n ],\n \"PrivateIPAddressSet\": [\n {\n \"PrivateIPAddress\": \"10.11.12.6\"\n }\n ],\n \"PublicIPAddressSet\": [\n {\n \"PublicIPAddress\": \"118.126.126.23\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 25,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n }\n ]\n },\n \"NewFlag\": 0,\n \"ExpireState\": \"NORMAL\",\n \"PayMode\": 0,\n \"LatestOperation\": \"ResetInstancesPassword\"\n },\n {\n \"DataDiskSize\": 0,\n \"RestrictState\": \"NORMAL\",\n \"InstanceId\": \"ein-b6kee4dg\",\n \"ISP\": \"CTCC\",\n \"SecurityGroupIds\": [],\n \"SystemDisk\": {\n \"DiskType\": \"LOCAL_BASIC\",\n \"DiskId\": \"ldisk-9tvkpn8p\",\n \"DiskSize\": 50\n },\n \"ExpireTime\": \"2020-09-27 16:12:24\",\n \"TagSet\": null,\n \"SimpleModule\": {\n \"ModuleId\": \"em-xgi6r1hk\",\n \"ModuleName\": \"视频V8-cedricliu\"\n },\n \"DataDisks\": null,\n \"LatestOperationState\": \"SUCCESS\",\n \"UUID\": \"edf97143-b1e3-43d9-b34b-cfcf3fba1820\",\n \"SystemDiskSize\": 50,\n \"InstanceTypeConfig\": {\n \"Frequency\": \"2.5 GHz\",\n \"InstanceType\": \"SN3ne.4XLARGE32\",\n \"Vcpu\": 16,\n \"InstanceFamilyConfig\": {\n \"InstanceFamilyName\": \"标准型SN3ne\",\n \"InstanceFamily\": \"SN3ne\"\n },\n \"InstanceFamilyTypeConfig\": {\n \"InstanceFamilyTypeName\": \"标准型\",\n \"InstanceFamilyType\": \"S\"\n },\n \"CpuModelName\": \"Intel Xeon Skylake 6133\",\n \"Memory\": 32,\n \"ExtInfo\": \"\"\n },\n \"RenewFlag\": 0,\n \"VirtualPrivateCloud\": {\n \"PrivateIpAddresses\": [\n \"10.11.12.17\"\n ],\n \"VpcId\": \"vpc-95ytv1vr\",\n \"AsVpcGateway\": false,\n \"SubnetId\": \"subnet-fua8fff8\",\n \"Ipv6AddressCount\": 0\n },\n \"IsolatedTime\": \"2020-09-27 16:12:24\",\n \"InstanceName\": \"jiaxuan滨海机器_勿删2\",\n \"Position\": {\n \"ZoneInfo\": {\n \"ZoneId\": 12000001,\n \"Zone\": \"ap-bhmini-ecm-1\",\n \"ZoneName\": \"腾讯滨海专区\"\n },\n \"Country\": {\n \"CountryName\": \"中国\",\n \"CountryId\": \"china\"\n },\n \"Area\": {\n \"AreaName\": \"华南\",\n \"AreaId\": \"china-south\"\n },\n \"Province\": {\n \"ProvinceId\": \"china-south-guangdong\",\n \"ProvinceName\": \"广东\"\n },\n \"City\": {\n \"CityName\": \"深圳\",\n \"CityId\": \"china-south-guangdong-shenzhen\"\n },\n \"RegionInfo\": {\n \"RegionId\": 0,\n \"Region\": \"ap-bhmini-ecm\",\n \"RegionName\": \"腾讯滨海专区\"\n }\n },\n \"CreateTime\": \"2020-09-27 16:12:24\",\n \"Image\": {\n \"SrcImage\": {\n \"InstanceName\": \"\",\n \"InstanceId\": \"\",\n \"ImageOsName\": \"centos_test\",\n \"ImageId\": \"img-test\",\n \"ImageName\": \"centos\",\n \"RegionID\": 20,\n \"RegionName\": \"上海\",\n \"ImageType\": \"\",\n \"ImageDescription\": \"info_test\",\n \"Region\": \"ap-shanghai\"\n },\n \"ImageOsName\": \"CentOS 7.6 64位\",\n \"ImageId\": \"img-9qabwvbn\",\n \"Platform\": \"CentOS\",\n \"ImageName\": \"CentOS 7.6 64位\",\n \"ImageCreateTime\": \"\",\n \"ImageOwner\": 0,\n \"ImageSource\": \"OFFICIAL\",\n \"ImageType\": \"PUBLIC_IMAGE\",\n \"OsType\": \"linux\",\n \"OsVersion\": \"7.6.0\",\n \"ImageState\": \"NORMAL\",\n \"ImageDescription\": \"CentOS 7.6 64位\",\n \"Architecture\": \"x86_64\",\n \"ImageSize\": 50\n },\n \"InstanceState\": \"RUNNING\",\n \"Internet\": {\n \"InstanceNetworkInfoSet\": [\n {\n \"Primary\": true,\n \"NetworkInterfaceId\": \"eni-mhym6o89\",\n \"NetworkInterfaceName\": \"ein-b6kee4dg Primary ENI\",\n \"AddressInfoSet\": [\n {\n \"PublicIPAddressInfo\": {\n \"PublicIPAddress\": \"118.126.126.27\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 105,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n },\n \"PrivateIPAddressInfo\": {\n \"PrivateIPAddress\": \"10.11.12.17\"\n }\n }\n ]\n }\n ],\n \"PrivateIPAddressSet\": [\n {\n \"PrivateIPAddress\": \"10.11.12.17\"\n }\n ],\n \"PublicIPAddressSet\": [\n {\n \"PublicIPAddress\": \"118.126.126.27\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 105,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n }\n ]\n },\n \"NewFlag\": 0,\n \"ExpireState\": \"NORMAL\",\n \"PayMode\": 0,\n \"LatestOperation\": \"ResetInstancesPassword\"\n },\n {\n \"DataDiskSize\": 0,\n \"RestrictState\": \"NORMAL\",\n \"InstanceId\": \"ein-5uhtyyps\",\n \"ISP\": \"CTCC\",\n \"SecurityGroupIds\": [],\n \"SystemDisk\": {\n \"DiskType\": \"LOCAL_BASIC\",\n \"DiskId\": \"ldisk-0fqlcnj7\",\n \"DiskSize\": 50\n },\n \"ExpireTime\": \"2020-09-27 16:12:24\",\n \"TagSet\": null,\n \"SimpleModule\": {\n \"ModuleId\": \"em-xgi6r1hk\",\n \"ModuleName\": \"视频V8-cedricliu\"\n },\n \"DataDisks\": null,\n \"LatestOperationState\": \"SUCCESS\",\n \"UUID\": \"e85e02fb-8efd-4728-a3d7-10cf913ed4e5\",\n \"SystemDiskSize\": 50,\n \"InstanceTypeConfig\": {\n \"Frequency\": \"2.5 GHz\",\n \"InstanceType\": \"SN3ne.4XLARGE32\",\n \"Vcpu\": 16,\n \"InstanceFamilyConfig\": {\n \"InstanceFamilyName\": \"标准型SN3ne\",\n \"InstanceFamily\": \"SN3ne\"\n },\n \"InstanceFamilyTypeConfig\": {\n \"InstanceFamilyTypeName\": \"标准型\",\n \"InstanceFamilyType\": \"S\"\n },\n \"CpuModelName\": \"Intel Xeon Skylake 6133\",\n \"Memory\": 32,\n \"ExtInfo\": \"\"\n },\n \"RenewFlag\": 0,\n \"VirtualPrivateCloud\": {\n \"PrivateIpAddresses\": [\n \"10.11.12.4\"\n ],\n \"VpcId\": \"vpc-95ytv1vr\",\n \"AsVpcGateway\": false,\n \"SubnetId\": \"subnet-fua8fff8\",\n \"Ipv6AddressCount\": 0\n },\n \"IsolatedTime\": \"2020-09-27 16:12:24\",\n \"InstanceName\": \"jiaxuan滨海机器_勿删1\",\n \"Position\": {\n \"ZoneInfo\": {\n \"ZoneId\": 12000001,\n \"Zone\": \"ap-bhmini-ecm-1\",\n \"ZoneName\": \"腾讯滨海专区\"\n },\n \"Country\": {\n \"CountryName\": \"中国\",\n \"CountryId\": \"china\"\n },\n \"Area\": {\n \"AreaName\": \"华南\",\n \"AreaId\": \"china-south\"\n },\n \"Province\": {\n \"ProvinceId\": \"china-south-guangdong\",\n \"ProvinceName\": \"广东\"\n },\n \"City\": {\n \"CityName\": \"深圳\",\n \"CityId\": \"china-south-guangdong-shenzhen\"\n },\n \"RegionInfo\": {\n \"RegionId\": 0,\n \"Region\": \"ap-bhmini-ecm\",\n \"RegionName\": \"腾讯滨海专区\"\n }\n },\n \"CreateTime\": \"2020-09-27 16:12:24\",\n \"Image\": {\n \"SrcImage\": {\n \"InstanceName\": \"\",\n \"InstanceId\": \"\",\n \"ImageOsName\": \"centos_test\",\n \"ImageId\": \"img-test\",\n \"ImageName\": \"centos\",\n \"RegionID\": 20,\n \"RegionName\": \"上海\",\n \"ImageType\": \"\",\n \"ImageDescription\": \"info_test\",\n \"Region\": \"ap-shanghai\"\n },\n \"ImageOsName\": \"CentOS 7.6 64位\",\n \"ImageId\": \"img-9qabwvbn\",\n \"Platform\": \"CentOS\",\n \"ImageName\": \"CentOS 7.6 64位\",\n \"ImageCreateTime\": \"\",\n \"ImageOwner\": 0,\n \"ImageSource\": \"OFFICIAL\",\n \"ImageType\": \"PUBLIC_IMAGE\",\n \"OsType\": \"linux\",\n \"OsVersion\": \"7.6.0\",\n \"ImageState\": \"NORMAL\",\n \"ImageDescription\": \"CentOS 7.6 64位\",\n \"Architecture\": \"x86_64\",\n \"ImageSize\": 50\n },\n \"InstanceState\": \"RUNNING\",\n \"Internet\": {\n \"InstanceNetworkInfoSet\": [\n {\n \"Primary\": true,\n \"NetworkInterfaceId\": \"eni-i7nvrvbj\",\n \"NetworkInterfaceName\": \"ein-5uhtyyps Primary ENI\",\n \"AddressInfoSet\": [\n {\n \"PublicIPAddressInfo\": {\n \"PublicIPAddress\": \"118.126.126.39\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 105,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n },\n \"PrivateIPAddressInfo\": {\n \"PrivateIPAddress\": \"10.11.12.4\"\n }\n }\n ]\n }\n ],\n \"PrivateIPAddressSet\": [\n {\n \"PrivateIPAddress\": \"10.11.12.4\"\n }\n ],\n \"PublicIPAddressSet\": [\n {\n \"PublicIPAddress\": \"118.126.126.39\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 105,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n }\n ]\n },\n \"NewFlag\": 0,\n \"ExpireState\": \"NORMAL\",\n \"PayMode\": 0,\n \"LatestOperation\": \"ResetInstancesPassword\"\n }\n ],\n \"TotalCount\": 12\n }\n}", + "input": "POST / HTTP/1.1\nHost: ecm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Values\": [\n \"vpc-ec3mnb4d\"\n ],\n \"Name\": \"vpc-id\"\n }\n ]\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"\",\n \"InstanceSet\": [\n {\n \"DataDiskSize\": 0,\n \"RestrictState\": \"NORMAL\",\n \"InstanceId\": \"ein-bb0ab3pc\",\n \"ISP\": \"CTCC\",\n \"SecurityGroupIds\": [],\n \"SystemDisk\": {\n \"DeleteWithInstance\": false,\n \"DiskType\": \"LOCAL_BASIC\",\n \"DiskId\": \"ldisk-91p8tj1p\",\n \"DiskSize\": 50,\n \"SnapshotId\": \"\"\n },\n \"ExpireTime\": \"2020-09-27 16:13:51\",\n \"TagSet\": null,\n \"SimpleModule\": {\n \"ModuleId\": \"em-5wrpefy1\",\n \"ModuleName\": \"jiaxuan\"\n },\n \"DataDisks\": null,\n \"LatestOperationState\": \"SUCCESS\",\n \"UUID\": \"3c3e605a-33a0-41ca-9251-5f115a531c3e\",\n \"SystemDiskSize\": 50,\n \"InstanceTypeConfig\": {\n \"Frequency\": \"2.5 GHz\",\n \"GpuModelName\": null,\n \"InstanceType\": \"SN3ne.2XLARGE16\",\n \"Vcpu\": 8,\n \"Vgpu\": null,\n \"InstanceFamilyConfig\": {\n \"InstanceFamilyName\": \"标准型SN3ne\",\n \"InstanceFamily\": \"SN3ne\"\n },\n \"InstanceFamilyTypeConfig\": {\n \"InstanceFamilyTypeName\": \"标准型\",\n \"InstanceFamilyType\": \"S\"\n },\n \"CpuModelName\": \"Intel Xeon Skylake 6133\",\n \"Memory\": 16,\n \"ExtInfo\": \"\"\n },\n \"RenewFlag\": 0,\n \"VirtualPrivateCloud\": {\n \"PrivateIpAddresses\": [\n \"10.11.12.6\"\n ],\n \"VpcId\": \"vpc-95ytv1vr\",\n \"AsVpcGateway\": false,\n \"SubnetId\": \"subnet-fua8fff8\",\n \"Ipv6AddressCount\": 0\n },\n \"IsolatedTime\": \"2020-09-27 16:13:51\",\n \"InstanceName\": \"jiaxuan滨海_勿删2\",\n \"Position\": {\n \"ZoneInfo\": {\n \"ZoneId\": 12000001,\n \"Zone\": \"ap-bhmini-ecm-1\",\n \"ZoneName\": \"腾讯滨海专区\"\n },\n \"Country\": {\n \"CountryName\": \"中国\",\n \"CountryId\": \"china\"\n },\n \"Ipv6Supported\": true,\n \"Area\": {\n \"AreaName\": \"华南\",\n \"AreaId\": \"china-south\"\n },\n \"Province\": {\n \"ProvinceId\": \"china-south-guangdong\",\n \"ProvinceName\": \"广东\"\n },\n \"City\": {\n \"CityName\": \"深圳\",\n \"CityId\": \"china-south-guangdong-shenzhen\"\n },\n \"RegionInfo\": {\n \"RegionId\": 0,\n \"Region\": \"ap-bhmini-ecm\",\n \"RegionName\": \"腾讯滨海专区\"\n }\n },\n \"CreateTime\": \"2020-09-27 16:13:51\",\n \"Image\": {\n \"SrcImage\": {\n \"InstanceName\": \"\",\n \"InstanceId\": \"\",\n \"ImageOsName\": \"centos_test\",\n \"ImageId\": \"img-test\",\n \"ImageName\": \"centos\",\n \"RegionID\": 20,\n \"RegionName\": \"上海\",\n \"ImageType\": \"\",\n \"ImageDescription\": \"info_test\",\n \"Region\": \"ap-shanghai\"\n },\n \"ImageOsName\": \"CentOS 7.6 64位\",\n \"ImageId\": \"img-9qabwvbn\",\n \"Platform\": \"CentOS\",\n \"ImageName\": \"CentOS 7.6 64位\",\n \"ImageCreateTime\": \"\",\n \"ImageOwner\": 0,\n \"ImageSource\": \"OFFICIAL\",\n \"ImageType\": \"PUBLIC_IMAGE\",\n \"IsSupportCloudInit\": true,\n \"OsType\": \"linux\",\n \"OsVersion\": \"7.6.0\",\n \"ImageState\": \"NORMAL\",\n \"ImageDescription\": \"CentOS 7.6 64位\",\n \"Architecture\": \"x86_64\",\n \"ImageSize\": 50,\n \"TaskId\": \"\"\n },\n \"InstanceState\": \"RUNNING\",\n \"Internet\": {\n \"InstanceNetworkInfoSet\": [\n {\n \"Primary\": true,\n \"NetworkInterfaceId\": \"eni-m5gnw3tv\",\n \"NetworkInterfaceName\": \"ein-bb0ab3pc Primary ENI\",\n \"AddressInfoSet\": [\n {\n \"PublicIPAddressInfo\": {\n \"PublicIPAddress\": \"118.126.126.23\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 25,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n },\n \"PrivateIPAddressInfo\": {\n \"PrivateIPAddress\": \"10.11.12.6\"\n }\n }\n ]\n }\n ],\n \"PrivateIPAddressSet\": [\n {\n \"PrivateIPAddress\": \"10.11.12.6\"\n }\n ],\n \"PublicIPAddressSet\": [\n {\n \"PublicIPAddress\": \"118.126.126.23\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 25,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n }\n ]\n },\n \"NewFlag\": 0,\n \"ExpireState\": \"NORMAL\",\n \"PayMode\": 0,\n \"PhysicalPosition\": {\n \"PosId\": \"\",\n \"RackId\": \"\",\n \"SwitchId\": \"\"\n },\n \"LatestOperation\": \"ResetInstancesPassword\"\n },\n {\n \"DataDiskSize\": 0,\n \"RestrictState\": \"NORMAL\",\n \"InstanceId\": \"ein-b6kee4dg\",\n \"ISP\": \"CTCC\",\n \"SecurityGroupIds\": [],\n \"SystemDisk\": {\n \"DeleteWithInstance\": false,\n \"DiskType\": \"LOCAL_BASIC\",\n \"DiskId\": \"ldisk-9tvkpn8p\",\n \"DiskSize\": 50,\n \"SnapshotId\": \"\"\n },\n \"ExpireTime\": \"2020-09-27 16:12:24\",\n \"TagSet\": null,\n \"SimpleModule\": {\n \"ModuleId\": \"em-xgi6r1hk\",\n \"ModuleName\": \"视频V8-cedricliu\"\n },\n \"DataDisks\": null,\n \"LatestOperationState\": \"SUCCESS\",\n \"UUID\": \"edf97143-b1e3-43d9-b34b-cfcf3fba1820\",\n \"SystemDiskSize\": 50,\n \"InstanceTypeConfig\": {\n \"Frequency\": \"2.5 GHz\",\n \"GpuModelName\": null,\n \"InstanceType\": \"SN3ne.4XLARGE32\",\n \"Vcpu\": 16,\n \"Vgpu\": null,\n \"InstanceFamilyConfig\": {\n \"InstanceFamilyName\": \"标准型SN3ne\",\n \"InstanceFamily\": \"SN3ne\"\n },\n \"InstanceFamilyTypeConfig\": {\n \"InstanceFamilyTypeName\": \"标准型\",\n \"InstanceFamilyType\": \"S\"\n },\n \"CpuModelName\": \"Intel Xeon Skylake 6133\",\n \"Memory\": 32,\n \"ExtInfo\": \"\"\n },\n \"RenewFlag\": 0,\n \"VirtualPrivateCloud\": {\n \"PrivateIpAddresses\": [\n \"10.11.12.17\"\n ],\n \"VpcId\": \"vpc-95ytv1vr\",\n \"AsVpcGateway\": false,\n \"SubnetId\": \"subnet-fua8fff8\",\n \"Ipv6AddressCount\": 0\n },\n \"IsolatedTime\": \"2020-09-27 16:12:24\",\n \"InstanceName\": \"jiaxuan滨海机器_勿删2\",\n \"Position\": {\n \"ZoneInfo\": {\n \"ZoneId\": 12000001,\n \"Zone\": \"ap-bhmini-ecm-1\",\n \"ZoneName\": \"腾讯滨海专区\"\n },\n \"Country\": {\n \"CountryName\": \"中国\",\n \"CountryId\": \"china\"\n },\n \"Ipv6Supported\": true,\n \"Area\": {\n \"AreaName\": \"华南\",\n \"AreaId\": \"china-south\"\n },\n \"Province\": {\n \"ProvinceId\": \"china-south-guangdong\",\n \"ProvinceName\": \"广东\"\n },\n \"City\": {\n \"CityName\": \"深圳\",\n \"CityId\": \"china-south-guangdong-shenzhen\"\n },\n \"RegionInfo\": {\n \"RegionId\": 0,\n \"Region\": \"ap-bhmini-ecm\",\n \"RegionName\": \"腾讯滨海专区\"\n }\n },\n \"CreateTime\": \"2020-09-27 16:12:24\",\n \"Image\": {\n \"SrcImage\": {\n \"InstanceName\": \"\",\n \"InstanceId\": \"\",\n \"ImageOsName\": \"centos_test\",\n \"ImageId\": \"img-test\",\n \"ImageName\": \"centos\",\n \"RegionID\": 20,\n \"RegionName\": \"上海\",\n \"ImageType\": \"\",\n \"ImageDescription\": \"info_test\",\n \"Region\": \"ap-shanghai\"\n },\n \"ImageOsName\": \"CentOS 7.6 64位\",\n \"ImageId\": \"img-9qabwvbn\",\n \"Platform\": \"CentOS\",\n \"ImageName\": \"CentOS 7.6 64位\",\n \"ImageCreateTime\": \"\",\n \"ImageOwner\": 0,\n \"ImageSource\": \"OFFICIAL\",\n \"ImageType\": \"PUBLIC_IMAGE\",\n \"IsSupportCloudInit\": true,\n \"OsType\": \"linux\",\n \"OsVersion\": \"7.6.0\",\n \"ImageState\": \"NORMAL\",\n \"ImageDescription\": \"CentOS 7.6 64位\",\n \"Architecture\": \"x86_64\",\n \"ImageSize\": 50,\n \"TaskId\": \"\"\n },\n \"InstanceState\": \"RUNNING\",\n \"Internet\": {\n \"InstanceNetworkInfoSet\": [\n {\n \"Primary\": true,\n \"NetworkInterfaceId\": \"eni-mhym6o89\",\n \"NetworkInterfaceName\": \"ein-b6kee4dg Primary ENI\",\n \"AddressInfoSet\": [\n {\n \"PublicIPAddressInfo\": {\n \"PublicIPAddress\": \"118.126.126.27\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 105,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n },\n \"PrivateIPAddressInfo\": {\n \"PrivateIPAddress\": \"10.11.12.17\"\n }\n }\n ]\n }\n ],\n \"PrivateIPAddressSet\": [\n {\n \"PrivateIPAddress\": \"10.11.12.17\"\n }\n ],\n \"PublicIPAddressSet\": [\n {\n \"PublicIPAddress\": \"118.126.126.27\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 105,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n }\n ]\n },\n \"NewFlag\": 0,\n \"ExpireState\": \"NORMAL\",\n \"PayMode\": 0,\n \"PhysicalPosition\": {\n \"PosId\": \"\",\n \"RackId\": \"\",\n \"SwitchId\": \"\"\n },\n \"LatestOperation\": \"ResetInstancesPassword\"\n },\n {\n \"DataDiskSize\": 0,\n \"RestrictState\": \"NORMAL\",\n \"InstanceId\": \"ein-5uhtyyps\",\n \"ISP\": \"CTCC\",\n \"SecurityGroupIds\": [],\n \"SystemDisk\": {\n \"DeleteWithInstance\": false,\n \"DiskType\": \"LOCAL_BASIC\",\n \"DiskId\": \"ldisk-0fqlcnj7\",\n \"DiskSize\": 50,\n \"SnapshotId\": \"\"\n },\n \"ExpireTime\": \"2020-09-27 16:12:24\",\n \"TagSet\": null,\n \"SimpleModule\": {\n \"ModuleId\": \"em-xgi6r1hk\",\n \"ModuleName\": \"视频V8-cedricliu\"\n },\n \"DataDisks\": null,\n \"LatestOperationState\": \"SUCCESS\",\n \"UUID\": \"e85e02fb-8efd-4728-a3d7-10cf913ed4e5\",\n \"SystemDiskSize\": 50,\n \"InstanceTypeConfig\": {\n \"Frequency\": \"2.5 GHz\",\n \"GpuModelName\": null,\n \"InstanceType\": \"SN3ne.4XLARGE32\",\n \"Vcpu\": 16,\n \"Vgpu\": null,\n \"InstanceFamilyConfig\": {\n \"InstanceFamilyName\": \"标准型SN3ne\",\n \"InstanceFamily\": \"SN3ne\"\n },\n \"InstanceFamilyTypeConfig\": {\n \"InstanceFamilyTypeName\": \"标准型\",\n \"InstanceFamilyType\": \"S\"\n },\n \"CpuModelName\": \"Intel Xeon Skylake 6133\",\n \"Memory\": 32,\n \"ExtInfo\": \"\"\n },\n \"RenewFlag\": 0,\n \"VirtualPrivateCloud\": {\n \"PrivateIpAddresses\": [\n \"10.11.12.4\"\n ],\n \"VpcId\": \"vpc-95ytv1vr\",\n \"AsVpcGateway\": false,\n \"SubnetId\": \"subnet-fua8fff8\",\n \"Ipv6AddressCount\": 0\n },\n \"IsolatedTime\": \"2020-09-27 16:12:24\",\n \"InstanceName\": \"jiaxuan滨海机器_勿删1\",\n \"Position\": {\n \"ZoneInfo\": {\n \"ZoneId\": 12000001,\n \"Zone\": \"ap-bhmini-ecm-1\",\n \"ZoneName\": \"腾讯滨海专区\"\n },\n \"Country\": {\n \"CountryName\": \"中国\",\n \"CountryId\": \"china\"\n },\n \"Ipv6Supported\": true,\n \"Area\": {\n \"AreaName\": \"华南\",\n \"AreaId\": \"china-south\"\n },\n \"Province\": {\n \"ProvinceId\": \"china-south-guangdong\",\n \"ProvinceName\": \"广东\"\n },\n \"City\": {\n \"CityName\": \"深圳\",\n \"CityId\": \"china-south-guangdong-shenzhen\"\n },\n \"RegionInfo\": {\n \"RegionId\": 0,\n \"Region\": \"ap-bhmini-ecm\",\n \"RegionName\": \"腾讯滨海专区\"\n }\n },\n \"CreateTime\": \"2020-09-27 16:12:24\",\n \"Image\": {\n \"SrcImage\": {\n \"InstanceName\": \"\",\n \"InstanceId\": \"\",\n \"ImageOsName\": \"centos_test\",\n \"ImageId\": \"img-test\",\n \"ImageName\": \"centos\",\n \"RegionID\": 20,\n \"RegionName\": \"上海\",\n \"ImageType\": \"\",\n \"ImageDescription\": \"info_test\",\n \"Region\": \"ap-shanghai\"\n },\n \"ImageOsName\": \"CentOS 7.6 64位\",\n \"ImageId\": \"img-9qabwvbn\",\n \"Platform\": \"CentOS\",\n \"ImageName\": \"CentOS 7.6 64位\",\n \"ImageCreateTime\": \"\",\n \"ImageOwner\": 0,\n \"ImageSource\": \"OFFICIAL\",\n \"ImageType\": \"PUBLIC_IMAGE\",\n \"IsSupportCloudInit\": true,\n \"OsType\": \"linux\",\n \"OsVersion\": \"7.6.0\",\n \"ImageState\": \"NORMAL\",\n \"ImageDescription\": \"CentOS 7.6 64位\",\n \"Architecture\": \"x86_64\",\n \"ImageSize\": 50,\n \"TaskId\": \"\"\n },\n \"InstanceState\": \"RUNNING\",\n \"Internet\": {\n \"InstanceNetworkInfoSet\": [\n {\n \"Primary\": true,\n \"NetworkInterfaceId\": \"eni-i7nvrvbj\",\n \"NetworkInterfaceName\": \"ein-5uhtyyps Primary ENI\",\n \"AddressInfoSet\": [\n {\n \"PublicIPAddressInfo\": {\n \"PublicIPAddress\": \"118.126.126.39\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 105,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n },\n \"PrivateIPAddressInfo\": {\n \"PrivateIPAddress\": \"10.11.12.4\"\n }\n }\n ]\n }\n ],\n \"PrivateIPAddressSet\": [\n {\n \"PrivateIPAddress\": \"10.11.12.4\"\n }\n ],\n \"PublicIPAddressSet\": [\n {\n \"PublicIPAddress\": \"118.126.126.39\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 105,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n }\n ]\n },\n \"NewFlag\": 0,\n \"ExpireState\": \"NORMAL\",\n \"PayMode\": 0,\n \"PhysicalPosition\": {\n \"PosId\": \"\",\n \"RackId\": \"\",\n \"SwitchId\": \"\"\n },\n \"LatestOperation\": \"ResetInstancesPassword\"\n }\n ],\n \"TotalCount\": 12\n }\n}", "title": "用vpc-id查询实例" + }, + { + "document": "通过默认参数来获取实例的信息。", + "input": "POST / HTTP/1.1\nHost: ecm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<公共请求参数>\n\n{}", + "output": "{\n \"Response\": {\n \"RequestId\": \"\",\n \"InstanceSet\": [\n {\n \"DataDiskSize\": 0,\n \"RestrictState\": \"NORMAL\",\n \"InstanceId\": \"ein-bb0ab3pc\",\n \"ISP\": \"CTCC\",\n \"SecurityGroupIds\": [],\n \"SystemDisk\": {\n \"DeleteWithInstance\": false,\n \"DiskType\": \"LOCAL_BASIC\",\n \"DiskId\": \"ldisk-91p8tj1p\",\n \"DiskSize\": 50,\n \"SnapshotId\": \"\"\n },\n \"ExpireTime\": \"2020-09-27 16:13:51\",\n \"TagSet\": null,\n \"SimpleModule\": {\n \"ModuleId\": \"em-5wrpefy1\",\n \"ModuleName\": \"jiaxuan\"\n },\n \"DataDisks\": null,\n \"LatestOperationState\": \"SUCCESS\",\n \"UUID\": \"3c3e605a-33a0-41ca-9251-5f115a531c3e\",\n \"SystemDiskSize\": 50,\n \"InstanceTypeConfig\": {\n \"Frequency\": \"2.5 GHz\",\n \"GpuModelName\": null,\n \"InstanceType\": \"SN3ne.2XLARGE16\",\n \"Vcpu\": 8,\n \"Vgpu\": null,\n \"InstanceFamilyConfig\": {\n \"InstanceFamilyName\": \"标准型SN3ne\",\n \"InstanceFamily\": \"SN3ne\"\n },\n \"InstanceFamilyTypeConfig\": {\n \"InstanceFamilyTypeName\": \"标准型\",\n \"InstanceFamilyType\": \"S\"\n },\n \"CpuModelName\": \"Intel Xeon Skylake 6133\",\n \"Memory\": 16,\n \"ExtInfo\": \"\"\n },\n \"RenewFlag\": 0,\n \"VirtualPrivateCloud\": {\n \"PrivateIpAddresses\": [\n \"10.11.12.6\"\n ],\n \"VpcId\": \"vpc-95ytv1vr\",\n \"AsVpcGateway\": false,\n \"SubnetId\": \"subnet-fua8fff8\",\n \"Ipv6AddressCount\": 0\n },\n \"IsolatedTime\": \"2020-09-27 16:13:51\",\n \"InstanceName\": \"jiaxuan滨海_勿删2\",\n \"Position\": {\n \"ZoneInfo\": {\n \"ZoneId\": 12000001,\n \"Zone\": \"ap-bhmini-ecm-1\",\n \"ZoneName\": \"腾讯滨海专区\"\n },\n \"Country\": {\n \"CountryName\": \"中国\",\n \"CountryId\": \"china\"\n },\n \"Ipv6Supported\": true,\n \"Area\": {\n \"AreaName\": \"华南\",\n \"AreaId\": \"china-south\"\n },\n \"Province\": {\n \"ProvinceId\": \"china-south-guangdong\",\n \"ProvinceName\": \"广东\"\n },\n \"City\": {\n \"CityName\": \"深圳\",\n \"CityId\": \"china-south-guangdong-shenzhen\"\n },\n \"RegionInfo\": {\n \"RegionId\": 0,\n \"Region\": \"ap-bhmini-ecm\",\n \"RegionName\": \"腾讯滨海专区\"\n }\n },\n \"CreateTime\": \"2020-09-27 16:13:51\",\n \"Image\": {\n \"SrcImage\": {\n \"InstanceName\": \"\",\n \"InstanceId\": \"\",\n \"ImageOsName\": \"centos_test\",\n \"ImageId\": \"img-test\",\n \"ImageName\": \"centos\",\n \"RegionID\": 20,\n \"RegionName\": \"上海\",\n \"ImageType\": \"\",\n \"ImageDescription\": \"info_test\",\n \"Region\": \"ap-shanghai\"\n },\n \"ImageOsName\": \"CentOS 7.6 64位\",\n \"ImageId\": \"img-9qabwvbn\",\n \"Platform\": \"CentOS\",\n \"ImageName\": \"CentOS 7.6 64位\",\n \"ImageCreateTime\": \"\",\n \"ImageOwner\": 0,\n \"ImageSource\": \"OFFICIAL\",\n \"ImageType\": \"PUBLIC_IMAGE\",\n \"IsSupportCloudInit\": true,\n \"OsType\": \"linux\",\n \"OsVersion\": \"7.6.0\",\n \"ImageState\": \"NORMAL\",\n \"ImageDescription\": \"CentOS 7.6 64位\",\n \"Architecture\": \"x86_64\",\n \"ImageSize\": 50,\n \"TaskId\": \"\"\n },\n \"InstanceState\": \"RUNNING\",\n \"Internet\": {\n \"InstanceNetworkInfoSet\": [\n {\n \"Primary\": true,\n \"NetworkInterfaceId\": \"eni-m5gnw3tv\",\n \"NetworkInterfaceName\": \"ein-bb0ab3pc Primary ENI\",\n \"AddressInfoSet\": [\n {\n \"PublicIPAddressInfo\": {\n \"PublicIPAddress\": \"118.126.126.23\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 25,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n },\n \"PrivateIPAddressInfo\": {\n \"PrivateIPAddress\": \"10.11.12.6\"\n }\n }\n ]\n }\n ],\n \"PrivateIPAddressSet\": [\n {\n \"PrivateIPAddress\": \"10.11.12.6\"\n }\n ],\n \"PublicIPAddressSet\": [\n {\n \"PublicIPAddress\": \"118.126.126.23\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 25,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n }\n ]\n },\n \"NewFlag\": 0,\n \"ExpireState\": \"NORMAL\",\n \"PayMode\": 0,\n \"PhysicalPosition\": {\n \"PosId\": \"\",\n \"RackId\": \"\",\n \"SwitchId\": \"\"\n },\n \"LatestOperation\": \"ResetInstancesPassword\"\n },\n {\n \"DataDiskSize\": 0,\n \"RestrictState\": \"NORMAL\",\n \"InstanceId\": \"ein-b6kee4dg\",\n \"ISP\": \"CTCC\",\n \"SecurityGroupIds\": [],\n \"SystemDisk\": {\n \"DeleteWithInstance\": false,\n \"DiskType\": \"LOCAL_BASIC\",\n \"DiskId\": \"ldisk-9tvkpn8p\",\n \"DiskSize\": 50,\n \"SnapshotId\": \"\"\n },\n \"ExpireTime\": \"2020-09-27 16:12:24\",\n \"TagSet\": null,\n \"SimpleModule\": {\n \"ModuleId\": \"em-xgi6r1hk\",\n \"ModuleName\": \"视频V8-cedricliu\"\n },\n \"DataDisks\": null,\n \"LatestOperationState\": \"SUCCESS\",\n \"UUID\": \"edf97143-b1e3-43d9-b34b-cfcf3fba1820\",\n \"SystemDiskSize\": 50,\n \"InstanceTypeConfig\": {\n \"Frequency\": \"2.5 GHz\",\n \"GpuModelName\": null,\n \"InstanceType\": \"SN3ne.4XLARGE32\",\n \"Vcpu\": 16,\n \"Vgpu\": null,\n \"InstanceFamilyConfig\": {\n \"InstanceFamilyName\": \"标准型SN3ne\",\n \"InstanceFamily\": \"SN3ne\"\n },\n \"InstanceFamilyTypeConfig\": {\n \"InstanceFamilyTypeName\": \"标准型\",\n \"InstanceFamilyType\": \"S\"\n },\n \"CpuModelName\": \"Intel Xeon Skylake 6133\",\n \"Memory\": 32,\n \"ExtInfo\": \"\"\n },\n \"RenewFlag\": 0,\n \"VirtualPrivateCloud\": {\n \"PrivateIpAddresses\": [\n \"10.11.12.17\"\n ],\n \"VpcId\": \"vpc-95ytv1vr\",\n \"AsVpcGateway\": false,\n \"SubnetId\": \"subnet-fua8fff8\",\n \"Ipv6AddressCount\": 0\n },\n \"IsolatedTime\": \"2020-09-27 16:12:24\",\n \"InstanceName\": \"jiaxuan滨海机器_勿删2\",\n \"Position\": {\n \"ZoneInfo\": {\n \"ZoneId\": 12000001,\n \"Zone\": \"ap-bhmini-ecm-1\",\n \"ZoneName\": \"腾讯滨海专区\"\n },\n \"Country\": {\n \"CountryName\": \"中国\",\n \"CountryId\": \"china\"\n },\n \"Ipv6Supported\": true,\n \"Area\": {\n \"AreaName\": \"华南\",\n \"AreaId\": \"china-south\"\n },\n \"Province\": {\n \"ProvinceId\": \"china-south-guangdong\",\n \"ProvinceName\": \"广东\"\n },\n \"City\": {\n \"CityName\": \"深圳\",\n \"CityId\": \"china-south-guangdong-shenzhen\"\n },\n \"RegionInfo\": {\n \"RegionId\": 0,\n \"Region\": \"ap-bhmini-ecm\",\n \"RegionName\": \"腾讯滨海专区\"\n }\n },\n \"CreateTime\": \"2020-09-27 16:12:24\",\n \"Image\": {\n \"SrcImage\": {\n \"InstanceName\": \"\",\n \"InstanceId\": \"\",\n \"ImageOsName\": \"centos_test\",\n \"ImageId\": \"img-test\",\n \"ImageName\": \"centos\",\n \"RegionID\": 20,\n \"RegionName\": \"上海\",\n \"ImageType\": \"\",\n \"ImageDescription\": \"info_test\",\n \"Region\": \"ap-shanghai\"\n },\n \"ImageOsName\": \"CentOS 7.6 64位\",\n \"ImageId\": \"img-9qabwvbn\",\n \"Platform\": \"CentOS\",\n \"ImageName\": \"CentOS 7.6 64位\",\n \"ImageCreateTime\": \"\",\n \"ImageOwner\": 0,\n \"ImageSource\": \"OFFICIAL\",\n \"ImageType\": \"PUBLIC_IMAGE\",\n \"IsSupportCloudInit\": true,\n \"OsType\": \"linux\",\n \"OsVersion\": \"7.6.0\",\n \"ImageState\": \"NORMAL\",\n \"ImageDescription\": \"CentOS 7.6 64位\",\n \"Architecture\": \"x86_64\",\n \"ImageSize\": 50,\n \"TaskId\": \"\"\n },\n \"InstanceState\": \"RUNNING\",\n \"Internet\": {\n \"InstanceNetworkInfoSet\": [\n {\n \"Primary\": true,\n \"NetworkInterfaceId\": \"eni-mhym6o89\",\n \"NetworkInterfaceName\": \"ein-b6kee4dg Primary ENI\",\n \"AddressInfoSet\": [\n {\n \"PublicIPAddressInfo\": {\n \"PublicIPAddress\": \"118.126.126.27\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 105,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n },\n \"PrivateIPAddressInfo\": {\n \"PrivateIPAddress\": \"10.11.12.17\"\n }\n }\n ]\n }\n ],\n \"PrivateIPAddressSet\": [\n {\n \"PrivateIPAddress\": \"10.11.12.17\"\n }\n ],\n \"PublicIPAddressSet\": [\n {\n \"PublicIPAddress\": \"118.126.126.27\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 105,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n }\n ]\n },\n \"NewFlag\": 0,\n \"ExpireState\": \"NORMAL\",\n \"PayMode\": 0,\n \"PhysicalPosition\": {\n \"PosId\": \"\",\n \"RackId\": \"\",\n \"SwitchId\": \"\"\n },\n \"LatestOperation\": \"ResetInstancesPassword\"\n },\n {\n \"DataDiskSize\": 0,\n \"RestrictState\": \"NORMAL\",\n \"InstanceId\": \"ein-5uhtyyps\",\n \"ISP\": \"CTCC\",\n \"SecurityGroupIds\": [],\n \"SystemDisk\": {\n \"DeleteWithInstance\": false,\n \"DiskType\": \"LOCAL_BASIC\",\n \"DiskId\": \"ldisk-0fqlcnj7\",\n \"DiskSize\": 50,\n \"SnapshotId\": \"\"\n },\n \"ExpireTime\": \"2020-09-27 16:12:24\",\n \"TagSet\": null,\n \"SimpleModule\": {\n \"ModuleId\": \"em-xgi6r1hk\",\n \"ModuleName\": \"视频V8-cedricliu\"\n },\n \"DataDisks\": null,\n \"LatestOperationState\": \"SUCCESS\",\n \"UUID\": \"e85e02fb-8efd-4728-a3d7-10cf913ed4e5\",\n \"SystemDiskSize\": 50,\n \"InstanceTypeConfig\": {\n \"Frequency\": \"2.5 GHz\",\n \"GpuModelName\": null,\n \"InstanceType\": \"SN3ne.4XLARGE32\",\n \"Vcpu\": 16,\n \"Vgpu\": null,\n \"InstanceFamilyConfig\": {\n \"InstanceFamilyName\": \"标准型SN3ne\",\n \"InstanceFamily\": \"SN3ne\"\n },\n \"InstanceFamilyTypeConfig\": {\n \"InstanceFamilyTypeName\": \"标准型\",\n \"InstanceFamilyType\": \"S\"\n },\n \"CpuModelName\": \"Intel Xeon Skylake 6133\",\n \"Memory\": 32,\n \"ExtInfo\": \"\"\n },\n \"RenewFlag\": 0,\n \"VirtualPrivateCloud\": {\n \"PrivateIpAddresses\": [\n \"10.11.12.4\"\n ],\n \"VpcId\": \"vpc-95ytv1vr\",\n \"AsVpcGateway\": false,\n \"SubnetId\": \"subnet-fua8fff8\",\n \"Ipv6AddressCount\": 0\n },\n \"IsolatedTime\": \"2020-09-27 16:12:24\",\n \"InstanceName\": \"jiaxuan滨海机器_勿删1\",\n \"Position\": {\n \"ZoneInfo\": {\n \"ZoneId\": 12000001,\n \"Zone\": \"ap-bhmini-ecm-1\",\n \"ZoneName\": \"腾讯滨海专区\"\n },\n \"Country\": {\n \"CountryName\": \"中国\",\n \"CountryId\": \"china\"\n },\n \"Ipv6Supported\": true,\n \"Area\": {\n \"AreaName\": \"华南\",\n \"AreaId\": \"china-south\"\n },\n \"Province\": {\n \"ProvinceId\": \"china-south-guangdong\",\n \"ProvinceName\": \"广东\"\n },\n \"City\": {\n \"CityName\": \"深圳\",\n \"CityId\": \"china-south-guangdong-shenzhen\"\n },\n \"RegionInfo\": {\n \"RegionId\": 0,\n \"Region\": \"ap-bhmini-ecm\",\n \"RegionName\": \"腾讯滨海专区\"\n }\n },\n \"CreateTime\": \"2020-09-27 16:12:24\",\n \"Image\": {\n \"SrcImage\": {\n \"InstanceName\": \"\",\n \"InstanceId\": \"\",\n \"ImageOsName\": \"centos_test\",\n \"ImageId\": \"img-test\",\n \"ImageName\": \"centos\",\n \"RegionID\": 20,\n \"RegionName\": \"上海\",\n \"ImageType\": \"\",\n \"ImageDescription\": \"info_test\",\n \"Region\": \"ap-shanghai\"\n },\n \"ImageOsName\": \"CentOS 7.6 64位\",\n \"ImageId\": \"img-9qabwvbn\",\n \"Platform\": \"CentOS\",\n \"ImageName\": \"CentOS 7.6 64位\",\n \"ImageCreateTime\": \"\",\n \"ImageOwner\": 0,\n \"ImageSource\": \"OFFICIAL\",\n \"ImageType\": \"PUBLIC_IMAGE\",\n \"IsSupportCloudInit\": true,\n \"OsType\": \"linux\",\n \"OsVersion\": \"7.6.0\",\n \"ImageState\": \"NORMAL\",\n \"ImageDescription\": \"CentOS 7.6 64位\",\n \"Architecture\": \"x86_64\",\n \"ImageSize\": 50,\n \"TaskId\": \"\"\n },\n \"InstanceState\": \"RUNNING\",\n \"Internet\": {\n \"InstanceNetworkInfoSet\": [\n {\n \"Primary\": true,\n \"NetworkInterfaceId\": \"eni-i7nvrvbj\",\n \"NetworkInterfaceName\": \"ein-5uhtyyps Primary ENI\",\n \"AddressInfoSet\": [\n {\n \"PublicIPAddressInfo\": {\n \"PublicIPAddress\": \"118.126.126.39\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 105,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n },\n \"PrivateIPAddressInfo\": {\n \"PrivateIPAddress\": \"10.11.12.4\"\n }\n }\n ]\n }\n ],\n \"PrivateIPAddressSet\": [\n {\n \"PrivateIPAddress\": \"10.11.12.4\"\n }\n ],\n \"PublicIPAddressSet\": [\n {\n \"PublicIPAddress\": \"118.126.126.39\",\n \"ISP\": {\n \"ISPName\": \"电信\",\n \"ISPId\": \"CTCC\"\n },\n \"MaxBandwidthOut\": 105,\n \"ChargeMode\": \"BANDWIDTH_PACKAGE\",\n \"MaxBandwidthIn\": 0\n }\n ]\n },\n \"NewFlag\": 0,\n \"ExpireState\": \"NORMAL\",\n \"PayMode\": 0,\n \"PhysicalPosition\": {\n \"PosId\": \"\",\n \"RackId\": \"\",\n \"SwitchId\": \"\"\n },\n \"LatestOperation\": \"ResetInstancesPassword\"\n }\n ],\n \"TotalCount\": 3\n }\n}", + "title": "通过默认参数获取实例信息" } ], "DescribeInstancesDeniedActions": [ @@ -518,7 +518,7 @@ { "document": "查看模块列表", "input": "https://ecm.tencentcloudapi.com/?Action=DescribeModule\n&Offset=0\n&Limit=10\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"TotalCount\": 17,\n \"ModuleItemSet\": [\n {\n \"NodeInstanceNum\": {\n \"InstanceNum\": 3,\n \"NodeNum\": 3\n },\n \"Module\": {\n \"ModuleName\": \"xx\",\n \"DefaultDataDiskSize\": 48,\n \"DefaultBandwidthIn\": 0,\n \"InstanceTypeConfig\": {\n \"CpuModelName\": \"xx\",\n \"Vcpu\": 8,\n \"InstanceFamilyConfig\": {\n \"InstanceFamilyName\": \"xx\",\n \"InstanceFamily\": \"xx\"\n },\n \"InstanceFamilyTypeConfig\": {\n \"InstanceFamilyType\": \"xx\",\n \"InstanceFamilyTypeName\": \"xx\"\n },\n \"Memory\": 16,\n \"ExtInfo\": \"xx\",\n \"Frequency\": \"xx\",\n \"InstanceType\": \"xx\"\n },\n \"DefaultImage\": {\n \"SrcImage\": {\n \"ImageDescription\": \"xx\",\n \"InstanceId\": \"xx\",\n \"Region\": \"xx\",\n \"RegionID\": 0,\n \"ImageId\": \"xx\",\n \"ImageName\": \"xx\",\n \"RegionName\": \"xx\",\n \"InstanceName\": \"xx\",\n \"ImageType\": \"xx\",\n \"ImageOsName\": \"xx\"\n },\n \"ImageCreateTime\": \"xx\",\n \"ImageSize\": 50,\n \"ImageSource\": \"xx\",\n \"ImageDescription\": \"xx\",\n \"ImageOwner\": 0,\n \"ImageId\": \"xx\",\n \"ImageState\": \"xx\",\n \"Platform\": \"xx\",\n \"ImageName\": \"xx\",\n \"Architecture\": \"xx\",\n \"OsType\": \"xx\",\n \"OsVersion\": \"xx\",\n \"ImageType\": \"xx\",\n \"ImageOsName\": \"xx\"\n },\n \"DefaultSystemDiskSize\": 50,\n \"DefaultBandwidth\": 106,\n \"SecurityGroupIds\": [\n \"xx\"\n ],\n \"TagSet\": [\n {\n \"Value\": \"xx\",\n \"Key\": \"xx\"\n }\n ],\n \"CloseIpDirect\": 0,\n \"ModuleState\": \"xx\",\n \"CreateTime\": \"xx\",\n \"ModuleId\": \"xx\"\n }\n },\n {\n \"NodeInstanceNum\": {\n \"InstanceNum\": 1,\n \"NodeNum\": 1\n },\n \"Module\": {\n \"ModuleName\": \"xx\",\n \"DefaultDataDiskSize\": 50,\n \"DefaultBandwidthIn\": 0,\n \"InstanceTypeConfig\": {\n \"CpuModelName\": \"xx\",\n \"Vcpu\": 4,\n \"InstanceFamilyConfig\": {\n \"InstanceFamilyName\": \"xx\",\n \"InstanceFamily\": \"xx\"\n },\n \"InstanceFamilyTypeConfig\": {\n \"InstanceFamilyType\": \"xx\",\n \"InstanceFamilyTypeName\": \"xx\"\n },\n \"Memory\": 8,\n \"ExtInfo\": \"xx\",\n \"Frequency\": \"xx\",\n \"InstanceType\": \"xx\"\n },\n \"DefaultImage\": {\n \"SrcImage\": {\n \"ImageDescription\": \"xx\",\n \"InstanceId\": \"xx\",\n \"Region\": \"xx\",\n \"RegionID\": 0,\n \"ImageId\": \"xx\",\n \"ImageName\": \"xx\",\n \"ImageOsName\": \"xx\",\n \"InstanceName\": \"xx\",\n \"ImageType\": \"xx\",\n \"RegionName\": \"xx\"\n },\n \"ImageCreateTime\": \"xx\",\n \"ImageSize\": 50,\n \"OsVersion\": \"xx\",\n \"ImageDescription\": \"xx\",\n \"ImageOwner\": 0,\n \"ImageId\": \"xx\",\n \"ImageState\": \"xx\",\n \"Platform\": \"xx\",\n \"ImageName\": \"xx\",\n \"Architecture\": \"xx\",\n \"OsType\": \"xx\",\n \"ImageSource\": \"xx\",\n \"ImageType\": \"xx\",\n \"ImageOsName\": \"xx\"\n },\n \"DefaultSystemDiskSize\": 50,\n \"DefaultBandwidth\": 100,\n \"SecurityGroupIds\": [\n \"xx\"\n ],\n \"TagSet\": [\n {\n \"Key\": \"xx\",\n \"Value\": \"xx\"\n }\n ],\n \"CloseIpDirect\": 0,\n \"ModuleState\": \"xx\",\n \"CreateTime\": \"xx\",\n \"ModuleId\": \"xx\"\n }\n },\n {\n \"NodeInstanceNum\": {\n \"InstanceNum\": 0,\n \"NodeNum\": 0\n },\n \"Module\": {\n \"ModuleName\": \"xx\",\n \"DefaultDataDiskSize\": 0,\n \"DefaultBandwidthIn\": 0,\n \"InstanceTypeConfig\": {\n \"CpuModelName\": \"xx\",\n \"Vcpu\": 24,\n \"InstanceFamilyConfig\": {\n \"InstanceFamilyName\": \"xx\",\n \"InstanceFamily\": \"xx\"\n },\n \"InstanceFamilyTypeConfig\": {\n \"InstanceFamilyType\": \"xx\",\n \"InstanceFamilyTypeName\": \"xx\"\n },\n \"Memory\": 48,\n \"ExtInfo\": \"xx\",\n \"Frequency\": \"xx\",\n \"InstanceType\": \"xx\"\n },\n \"DefaultImage\": {\n \"SrcImage\": {\n \"ImageDescription\": \"xx\",\n \"InstanceId\": \"xx\",\n \"Region\": \"xx\",\n \"RegionID\": 0,\n \"ImageId\": \"xx\",\n \"ImageName\": \"xx\",\n \"ImageOsName\": \"xx\",\n \"InstanceName\": \"xx\",\n \"ImageType\": \"xx\",\n \"RegionName\": \"xx\"\n },\n \"ImageCreateTime\": \"xx\",\n \"ImageSize\": 50,\n \"OsVersion\": \"xx\",\n \"ImageDescription\": \"xx\",\n \"ImageOwner\": 0,\n \"ImageId\": \"xx\",\n \"ImageState\": \"xx\",\n \"Platform\": \"xx\",\n \"ImageName\": \"xx\",\n \"Architecture\": \"xx\",\n \"OsType\": \"xx\",\n \"ImageSource\": \"xx\",\n \"ImageType\": \"xx\",\n \"ImageOsName\": \"xx\"\n },\n \"DefaultSystemDiskSize\": 50,\n \"DefaultBandwidth\": 25,\n \"SecurityGroupIds\": [\n \"xx\"\n ],\n \"TagSet\": [\n {\n \"Key\": \"xx\",\n \"Value\": \"xx\"\n }\n ],\n \"CloseIpDirect\": 0,\n \"ModuleState\": \"xx\",\n \"CreateTime\": \"xx\",\n \"ModuleId\": \"xx\"\n }\n },\n {\n \"NodeInstanceNum\": {\n \"InstanceNum\": 0,\n \"NodeNum\": 0\n },\n \"Module\": {\n \"ModuleName\": \"xx\",\n \"DefaultDataDiskSize\": 0,\n \"DefaultBandwidthIn\": 0,\n \"InstanceTypeConfig\": {\n \"CpuModelName\": \"xx\",\n \"Vcpu\": 1,\n \"InstanceFamilyConfig\": {\n \"InstanceFamilyName\": \"xx\",\n \"InstanceFamily\": \"xx\"\n },\n \"InstanceFamilyTypeConfig\": {\n \"InstanceFamilyType\": \"xx\",\n \"InstanceFamilyTypeName\": \"xx\"\n },\n \"Memory\": 2,\n \"ExtInfo\": \"xx\",\n \"Frequency\": \"xx\",\n \"InstanceType\": \"xx\"\n },\n \"DefaultImage\": {\n \"SrcImage\": {\n \"ImageDescription\": \"xx\",\n \"InstanceId\": \"xx\",\n \"Region\": \"xx\",\n \"RegionID\": 0,\n \"ImageId\": \"xx\",\n \"ImageName\": \"xx\",\n \"ImageOsName\": \"xx\",\n \"InstanceName\": \"xx\",\n \"ImageType\": \"xx\",\n \"RegionName\": \"xx\"\n },\n \"ImageCreateTime\": \"xx\",\n \"ImageSize\": 50,\n \"OsVersion\": \"xx\",\n \"ImageDescription\": \"xx\",\n \"ImageOwner\": 0,\n \"ImageId\": \"xx\",\n \"ImageState\": \"xx\",\n \"Platform\": \"xx\",\n \"ImageName\": \"xx\",\n \"Architecture\": \"xx\",\n \"OsType\": \"xx\",\n \"ImageSource\": \"xx\",\n \"ImageType\": \"xx\",\n \"ImageOsName\": \"xx\"\n },\n \"DefaultSystemDiskSize\": 50,\n \"DefaultBandwidth\": 35,\n \"SecurityGroupIds\": [\n \"xx\"\n ],\n \"TagSet\": [\n {\n \"Key\": \"xx\",\n \"Value\": \"xx\"\n }\n ],\n \"CloseIpDirect\": 0,\n \"ModuleState\": \"xx\",\n \"CreateTime\": \"xx\",\n \"ModuleId\": \"xx\"\n }\n },\n {\n \"NodeInstanceNum\": {\n \"InstanceNum\": 1,\n \"NodeNum\": 1\n },\n \"Module\": {\n \"ModuleName\": \"xx\",\n \"DefaultDataDiskSize\": 49,\n \"DefaultBandwidthIn\": 0,\n \"InstanceTypeConfig\": {\n \"CpuModelName\": \"xx\",\n \"Vcpu\": 8,\n \"InstanceFamilyConfig\": {\n \"InstanceFamilyName\": \"xx\",\n \"InstanceFamily\": \"xx\"\n },\n \"InstanceFamilyTypeConfig\": {\n \"InstanceFamilyType\": \"xx\",\n \"InstanceFamilyTypeName\": \"xx\"\n },\n \"Memory\": 16,\n \"ExtInfo\": \"xx\",\n \"Frequency\": \"xx\",\n \"InstanceType\": \"xx\"\n },\n \"DefaultImage\": {\n \"SrcImage\": {\n \"ImageDescription\": \"xx\",\n \"InstanceId\": \"xx\",\n \"Region\": \"xx\",\n \"RegionID\": 0,\n \"ImageId\": \"xx\",\n \"ImageName\": \"xx\",\n \"ImageOsName\": \"xx\",\n \"InstanceName\": \"xx\",\n \"ImageType\": \"xx\",\n \"RegionName\": \"xx\"\n },\n \"ImageCreateTime\": \"xx\",\n \"ImageSize\": 50,\n \"OsVersion\": \"xx\",\n \"ImageDescription\": \"xx\",\n \"ImageOwner\": 0,\n \"ImageId\": \"xx\",\n \"ImageState\": \"xx\",\n \"Platform\": \"xx\",\n \"ImageName\": \"xx\",\n \"Architecture\": \"xx\",\n \"OsType\": \"xx\",\n \"ImageSource\": \"xx\",\n \"ImageType\": \"xx\",\n \"ImageOsName\": \"xx\"\n },\n \"DefaultSystemDiskSize\": 50,\n \"DefaultBandwidth\": 534,\n \"SecurityGroupIds\": [\n \"xx\"\n ],\n \"TagSet\": [\n {\n \"Key\": \"xx\",\n \"Value\": \"xx\"\n }\n ],\n \"CloseIpDirect\": 0,\n \"ModuleState\": \"xx\",\n \"CreateTime\": \"xx\",\n \"ModuleId\": \"xx\"\n }\n },\n {\n \"NodeInstanceNum\": {\n \"InstanceNum\": 0,\n \"NodeNum\": 0\n },\n \"Module\": {\n \"ModuleName\": \"xx\",\n \"DefaultDataDiskSize\": 0,\n \"DefaultBandwidthIn\": 0,\n \"InstanceTypeConfig\": {\n \"CpuModelName\": \"xx\",\n \"Vcpu\": 1,\n \"InstanceFamilyConfig\": {\n \"InstanceFamilyName\": \"xx\",\n \"InstanceFamily\": \"xx\"\n },\n \"InstanceFamilyTypeConfig\": {\n \"InstanceFamilyType\": \"xx\",\n \"InstanceFamilyTypeName\": \"xx\"\n },\n \"Memory\": 2,\n \"ExtInfo\": \"xx\",\n \"Frequency\": \"xx\",\n \"InstanceType\": \"xx\"\n },\n \"DefaultImage\": {\n \"SrcImage\": {\n \"ImageDescription\": \"xx\",\n \"InstanceId\": \"xx\",\n \"Region\": \"xx\",\n \"RegionID\": 0,\n \"ImageId\": \"xx\",\n \"ImageName\": \"xx\",\n \"ImageOsName\": \"xx\",\n \"InstanceName\": \"xx\",\n \"ImageType\": \"xx\",\n \"RegionName\": \"xx\"\n },\n \"ImageCreateTime\": \"xx\",\n \"ImageSize\": 50,\n \"OsVersion\": \"xx\",\n \"ImageDescription\": \"xx\",\n \"ImageOwner\": 0,\n \"ImageId\": \"xx\",\n \"ImageState\": \"xx\",\n \"Platform\": \"xx\",\n \"ImageName\": \"xx\",\n \"Architecture\": \"xx\",\n \"OsType\": \"xx\",\n \"ImageSource\": \"xx\",\n \"ImageType\": \"xx\",\n \"ImageOsName\": \"xx\"\n },\n \"DefaultSystemDiskSize\": 50,\n \"DefaultBandwidth\": 25,\n \"SecurityGroupIds\": [\n \"xx\"\n ],\n \"TagSet\": [\n {\n \"Key\": \"xx\",\n \"Value\": \"xx\"\n }\n ],\n \"CloseIpDirect\": 0,\n \"ModuleState\": \"xx\",\n \"CreateTime\": \"xx\",\n \"ModuleId\": \"xx\"\n }\n },\n {\n \"NodeInstanceNum\": {\n \"InstanceNum\": 0,\n \"NodeNum\": 0\n },\n \"Module\": {\n \"ModuleName\": \"xx\",\n \"DefaultDataDiskSize\": 0,\n \"DefaultBandwidthIn\": 0,\n \"InstanceTypeConfig\": {\n \"CpuModelName\": \"xx\",\n \"Vcpu\": 1,\n \"InstanceFamilyConfig\": {\n \"InstanceFamilyName\": \"xx\",\n \"InstanceFamily\": \"xx\"\n },\n \"InstanceFamilyTypeConfig\": {\n \"InstanceFamilyType\": \"xx\",\n \"InstanceFamilyTypeName\": \"xx\"\n },\n \"Memory\": 2,\n \"ExtInfo\": \"xx\",\n \"Frequency\": \"xx\",\n \"InstanceType\": \"xx\"\n },\n \"DefaultImage\": {\n \"SrcImage\": {\n \"ImageDescription\": \"xx\",\n \"InstanceId\": \"xx\",\n \"Region\": \"xx\",\n \"RegionID\": 0,\n \"ImageId\": \"xx\",\n \"ImageName\": \"xx\",\n \"ImageOsName\": \"xx\",\n \"InstanceName\": \"xx\",\n \"ImageType\": \"xx\",\n \"RegionName\": \"xx\"\n },\n \"ImageCreateTime\": \"xx\",\n \"ImageSize\": 50,\n \"OsVersion\": \"xx\",\n \"ImageDescription\": \"xx\",\n \"ImageOwner\": 0,\n \"ImageId\": \"xx\",\n \"ImageState\": \"xx\",\n \"Platform\": \"xx\",\n \"ImageName\": \"xx\",\n \"Architecture\": \"xx\",\n \"OsType\": \"xx\",\n \"ImageSource\": \"xx\",\n \"ImageType\": \"xx\",\n \"ImageOsName\": \"xx\"\n },\n \"DefaultSystemDiskSize\": 50,\n \"DefaultBandwidth\": 25,\n \"SecurityGroupIds\": [\n \"xx\"\n ],\n \"TagSet\": [\n {\n \"Key\": \"xx\",\n \"Value\": \"xx\"\n }\n ],\n \"CloseIpDirect\": 0,\n \"ModuleState\": \"xx\",\n \"CreateTime\": \"xx\",\n \"ModuleId\": \"xx\"\n }\n },\n {\n \"NodeInstanceNum\": {\n \"InstanceNum\": 0,\n \"NodeNum\": 0\n },\n \"Module\": {\n \"ModuleName\": \"xx\",\n \"DefaultDataDiskSize\": 0,\n \"DefaultBandwidthIn\": 0,\n \"InstanceTypeConfig\": {\n \"CpuModelName\": \"xx\",\n \"Vcpu\": 16,\n \"InstanceFamilyConfig\": {\n \"InstanceFamilyName\": \"xx\",\n \"InstanceFamily\": \"xx\"\n },\n \"InstanceFamilyTypeConfig\": {\n \"InstanceFamilyType\": \"xx\",\n \"InstanceFamilyTypeName\": \"xx\"\n },\n \"Memory\": 32,\n \"ExtInfo\": \"xx\",\n \"Frequency\": \"xx\",\n \"InstanceType\": \"xx\"\n },\n \"DefaultImage\": {\n \"SrcImage\": {\n \"ImageDescription\": \"xx\",\n \"InstanceId\": \"xx\",\n \"Region\": \"xx\",\n \"RegionID\": 0,\n \"ImageId\": \"xx\",\n \"ImageName\": \"xx\",\n \"ImageOsName\": \"xx\",\n \"InstanceName\": \"xx\",\n \"ImageType\": \"xx\",\n \"RegionName\": \"xx\"\n },\n \"ImageCreateTime\": \"xx\",\n \"ImageSize\": 50,\n \"OsVersion\": \"xx\",\n \"ImageDescription\": \"xx\",\n \"ImageOwner\": 0,\n \"ImageId\": \"xx\",\n \"ImageState\": \"xx\",\n \"Platform\": \"xx\",\n \"ImageName\": \"xx\",\n \"Architecture\": \"xx\",\n \"OsType\": \"xx\",\n \"ImageSource\": \"xx\",\n \"ImageType\": \"xx\",\n \"ImageOsName\": \"xx\"\n },\n \"DefaultSystemDiskSize\": 50,\n \"DefaultBandwidth\": 25,\n \"SecurityGroupIds\": [\n \"xx\"\n ],\n \"TagSet\": [\n {\n \"Key\": \"xx\",\n \"Value\": \"xx\"\n }\n ],\n \"CloseIpDirect\": 0,\n \"ModuleState\": \"xx\",\n \"CreateTime\": \"xx\",\n \"ModuleId\": \"xx\"\n }\n },\n {\n \"NodeInstanceNum\": {\n \"InstanceNum\": 0,\n \"NodeNum\": 0\n },\n \"Module\": {\n \"ModuleName\": \"xx\",\n \"DefaultDataDiskSize\": 0,\n \"DefaultBandwidthIn\": 0,\n \"InstanceTypeConfig\": {\n \"CpuModelName\": \"xx\",\n \"Vcpu\": 1,\n \"InstanceFamilyConfig\": {\n \"InstanceFamilyName\": \"xx\",\n \"InstanceFamily\": \"xx\"\n },\n \"InstanceFamilyTypeConfig\": {\n \"InstanceFamilyType\": \"xx\",\n \"InstanceFamilyTypeName\": \"xx\"\n },\n \"Memory\": 2,\n \"ExtInfo\": \"xx\",\n \"Frequency\": \"xx\",\n \"InstanceType\": \"xx\"\n },\n \"DefaultImage\": {\n \"SrcImage\": {\n \"ImageDescription\": \"xx\",\n \"InstanceId\": \"xx\",\n \"Region\": \"xx\",\n \"RegionID\": 0,\n \"ImageId\": \"xx\",\n \"ImageName\": \"xx\",\n \"ImageOsName\": \"xx\",\n \"InstanceName\": \"xx\",\n \"ImageType\": \"xx\",\n \"RegionName\": \"xx\"\n },\n \"ImageCreateTime\": \"xx\",\n \"ImageSize\": 50,\n \"OsVersion\": \"xx\",\n \"ImageDescription\": \"xx\",\n \"ImageOwner\": 0,\n \"ImageId\": \"xx\",\n \"ImageState\": \"xx\",\n \"Platform\": \"xx\",\n \"ImageName\": \"xx\",\n \"Architecture\": \"xx\",\n \"OsType\": \"xx\",\n \"ImageSource\": \"xx\",\n \"ImageType\": \"xx\",\n \"ImageOsName\": \"xx\"\n },\n \"DefaultSystemDiskSize\": 50,\n \"DefaultBandwidth\": 25,\n \"SecurityGroupIds\": [\n \"xx\"\n ],\n \"TagSet\": [\n {\n \"Key\": \"xx\",\n \"Value\": \"xx\"\n }\n ],\n \"CloseIpDirect\": 0,\n \"ModuleState\": \"xx\",\n \"CreateTime\": \"xx\",\n \"ModuleId\": \"xx\"\n }\n },\n {\n \"NodeInstanceNum\": {\n \"InstanceNum\": 0,\n \"NodeNum\": 0\n },\n \"Module\": {\n \"ModuleName\": \"xx\",\n \"DefaultDataDiskSize\": 100,\n \"DefaultBandwidthIn\": 0,\n \"InstanceTypeConfig\": {\n \"CpuModelName\": \"xx\",\n \"Vcpu\": 32,\n \"InstanceFamilyConfig\": {\n \"InstanceFamilyName\": \"xx\",\n \"InstanceFamily\": \"xx\"\n },\n \"InstanceFamilyTypeConfig\": {\n \"InstanceFamilyType\": \"xx\",\n \"InstanceFamilyTypeName\": \"xx\"\n },\n \"Memory\": 64,\n \"ExtInfo\": \"xx\",\n \"Frequency\": \"xx\",\n \"InstanceType\": \"xx\"\n },\n \"DefaultImage\": {\n \"SrcImage\": {\n \"ImageDescription\": \"xx\",\n \"InstanceId\": \"xx\",\n \"Region\": \"xx\",\n \"RegionID\": 0,\n \"ImageId\": \"xx\",\n \"ImageName\": \"xx\",\n \"ImageOsName\": \"xx\",\n \"InstanceName\": \"xx\",\n \"ImageType\": \"xx\",\n \"RegionName\": \"xx\"\n },\n \"ImageCreateTime\": \"xx\",\n \"ImageSize\": 50,\n \"OsVersion\": \"xx\",\n \"ImageDescription\": \"xx\",\n \"ImageOwner\": 0,\n \"ImageId\": \"xx\",\n \"ImageState\": \"xx\",\n \"Platform\": \"xx\",\n \"ImageName\": \"xx\",\n \"Architecture\": \"xx\",\n \"OsType\": \"xx\",\n \"ImageSource\": \"xx\",\n \"ImageType\": \"xx\",\n \"ImageOsName\": \"xx\"\n },\n \"DefaultSystemDiskSize\": 50,\n \"DefaultBandwidth\": 5000,\n \"SecurityGroupIds\": [\n \"xx\"\n ],\n \"TagSet\": [\n {\n \"Key\": \"xx\",\n \"Value\": \"xx\"\n }\n ],\n \"CloseIpDirect\": 0,\n \"ModuleState\": \"xx\",\n \"CreateTime\": \"xx\",\n \"ModuleId\": \"xx\"\n }\n }\n ],\n \"RequestId\": \"xx\"\n }\n}", + "output": "{\n \"Response\": {\n \"ModuleItemSet\": [\n {\n \"Module\": {\n \"CloseIpDirect\": 0,\n \"CreateTime\": \"2024-01-25 19:35:00\",\n \"DataDisks\": [\n {\n \"DiskSize\": 0,\n \"DiskType\": \"LOCAL_BASIC\"\n }\n ],\n \"DefaultBandwidth\": 1024,\n \"DefaultBandwidthIn\": 1024,\n \"DefaultDataDiskSize\": 0,\n \"DefaultImage\": {\n \"Architecture\": \"x86_64\",\n \"ImageCreateTime\": \"2024-01-24 19:21:08\",\n \"ImageDescription\": \"t1版本测试\",\n \"ImageId\": \"img-im4w1234\",\n \"ImageName\": \"d-v21-new\",\n \"ImageOsName\": \"Ubuntu 16.0 64位\",\n \"ImageOwner\": 123456,\n \"ImageSize\": 50,\n \"ImageSource\": \"EXTERNAL_IMPORT\",\n \"ImageState\": \"NORMAL\",\n \"ImageType\": \"PRIVATE_IMAGE\",\n \"IsSupportCloudInit\": true,\n \"OsType\": \"linux\",\n \"OsVersion\": \"16.0\",\n \"Platform\": \"Ubuntu\",\n \"SrcImage\": {\n \"ImageDescription\": \"\",\n \"ImageId\": \"img-im4s1234\",\n \"ImageName\": \"tsImg\",\n \"ImageOsName\": \"Ubuntu 16.0 64位\",\n \"ImageType\": \"PRIVATE_IMAGE\",\n \"InstanceId\": \"ein-123345\",\n \"InstanceName\": \"ts\",\n \"Region\": \"gz\",\n \"RegionID\": 0,\n \"RegionName\": \"\"\n },\n \"TaskId\": \"3281\"\n },\n \"DefaultSystemDiskSize\": 50,\n \"DisableWanIp\": 0,\n \"InstanceTypeConfig\": {\n \"CpuModelName\": \"Intel Xeon Skylake 6133\",\n \"ExtInfo\": \"\",\n \"Frequency\": \"2.5 GHz\",\n \"GpuModelName\": null,\n \"InstanceFamilyConfig\": {\n \"InstanceFamily\": \"S5\",\n \"InstanceFamilyName\": \"标准型S5\"\n },\n \"InstanceFamilyTypeConfig\": {\n \"InstanceFamilyType\": \"S\",\n \"InstanceFamilyTypeName\": \"标准型\"\n },\n \"InstanceType\": \"S5.2XLARGE16\",\n \"Memory\": 16,\n \"Vcpu\": 8,\n \"Vgpu\": null\n },\n \"ModuleId\": \"em-n2e2345\",\n \"ModuleName\": \"t1_u22\",\n \"ModuleState\": \"NORMAL\",\n \"SecurityGroupIds\": [\n \"esg-g4k23455\"\n ],\n \"SystemDisk\": {\n \"DiskId\": \"ldisk-1ly4f53h\",\n \"DiskSize\": 50,\n \"DiskType\": \"LOCAL_BASIC\"\n },\n \"TagSet\": null,\n \"UserData\": \"\"\n },\n \"NodeInstanceNum\": {\n \"InstanceNum\": 8,\n \"NodeNum\": 3\n }\n }\n ],\n \"RequestId\": \"565a466c-cb44-4fd1-bbff-92f88986ab56\",\n \"TotalCount\": 87\n }\n}", "title": "查看模块列表" } ], diff --git a/tccli/services/emr/v20190103/api.json b/tccli/services/emr/v20190103/api.json index d1a58cd14a..0a24da0c6a 100644 --- a/tccli/services/emr/v20190103/api.json +++ b/tccli/services/emr/v20190103/api.json @@ -8985,6 +8985,15 @@ "name": "SubnetId", "required": false, "type": "string" + }, + { + "disabled": false, + "document": "扩容指定配置组", + "example": "无", + "member": "ScaleOutServiceConfGroupsInfo", + "name": "ScaleOutServiceConfGroupsInfo", + "required": false, + "type": "list" } ], "type": "object" @@ -9359,6 +9368,30 @@ ], "usage": "in" }, + "ScaleOutServiceConfGroupsInfo": { + "document": "扩容指定配置组", + "members": [ + { + "disabled": false, + "document": "组件版本名称 如 HDFS-2.8.5", + "example": "HDFS-2.8.5", + "member": "string", + "name": "ServiceComponentName", + "required": false, + "type": "string" + }, + { + "disabled": false, + "document": "配置组名 如hdfs-core-defaultGroup ConfGroupName参数传入 代表配置组维度 \n ConfGroupName参数不传 默认 代表集群维度", + "example": "hdfs-core-defaultGroup", + "member": "string", + "name": "ConfGroupName", + "required": false, + "type": "string" + } + ], + "usage": "in" + }, "SceneSoftwareConfig": { "document": "集群应用场景以及支持部署组件信息", "members": [ diff --git a/tccli/services/ess/v20201111/api.json b/tccli/services/ess/v20201111/api.json index 67fb99776f..3944ac6820 100644 --- a/tccli/services/ess/v20201111/api.json +++ b/tccli/services/ess/v20201111/api.json @@ -1,7 +1,7 @@ { "actions": { "BindEmployeeUserIdWithClientOpenId": { - "document": "此接口(BindEmployeeUserIdWithClientOpenId)用于将电子签系统员工UserId与客户系统员工OpenId进行绑定。", + "document": "此接口(BindEmployeeUserIdWithClientOpenId)用于将电子签系统员工UserId与客户系统员工OpenId进行绑定。\n\n此OpenId只在 [更新企业员工信息 ](https://qian.tencent.com/developers/companyApis/staffs/UpdateIntegrationEmployees)、[移除企业员工](https://qian.tencent.com/developers/companyApis/staffs/DeleteIntegrationEmployees) 等场景下可以使用", "input": "BindEmployeeUserIdWithClientOpenIdRequest", "name": "员工Userid与客户系统Openid绑定", "output": "BindEmployeeUserIdWithClientOpenIdResponse", @@ -57,7 +57,7 @@ "status": "online" }, "CreateDocument": { - "document": "创建签署流程电子文档
\n\n### 调用流程\n该接口需要给对应的流程指定一个模板id,并且填充该模板中需要补充的信息。需要配置创建签署流程发起签署流程接口使用。具体逻辑可以参考下图:\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/06f2bc0f1772d8deac2f92b5df61a5ac.png)\n\n\n### 填充模版中定义的填写控件\n模版中配置的发起人填充控件可以通过本接口的**FormFields数组**字段填充\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/37457e0e450fc221effddfcb8b1bad55.png)\n\n填充的传参示例如下\n\n```\n request.FormFields = [{\n \"ComponentName\": \"项目的名字\",\n \"ComponentValue\": \"休闲山庄\"\n }, {\n \"ComponentName\": \"项目的地址\",\n \"ComponentValue\": \"凤凰山北侧\",\n }, {\n \"ComponentName\": \"范围\",\n \"ComponentValue\": \"凤凰山至107国道\",\n }, {\n \"ComponentName\": \"面积\",\n \"ComponentValue\": \"100亩\",\n }, {\n \"ComponentName\": \"基本情况\",\n \"ComponentValue\": \"完好\",\n }, , {\n \"ComponentName\": \"用途\",\n \"ComponentValue\": \"经营农家乐\",\n }\n ]\n```\n合成后合同样子示例\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/140a2fb771ac66a185d0a000d37485f6.png)", + "document": "创建签署流程电子文档
\n\n### 调用流程\n该接口需要给对应的流程指定一个模板id,并且填充该模板中需要补充的信息。需要配置创建签署流程发起签署流程接口使用。具体逻辑可以参考下图:\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/06f2bc0f1772d8deac2f92b5df61a5ac.png)\n\n\n### 填充模板中定义的填写控件\n模板中配置的发起人填充控件可以通过本接口的**FormFields数组**字段填充\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/37457e0e450fc221effddfcb8b1bad55.png)\n\n填充的传参示例如下\n\n```\n request.FormFields = [{\n \"ComponentName\": \"项目的名字\",\n \"ComponentValue\": \"休闲山庄\"\n }, {\n \"ComponentName\": \"项目的地址\",\n \"ComponentValue\": \"凤凰山北侧\",\n }, {\n \"ComponentName\": \"范围\",\n \"ComponentValue\": \"凤凰山至107国道\",\n }, {\n \"ComponentName\": \"面积\",\n \"ComponentValue\": \"100亩\",\n }, {\n \"ComponentName\": \"基本情况\",\n \"ComponentValue\": \"完好\",\n }, , {\n \"ComponentName\": \"用途\",\n \"ComponentValue\": \"经营农家乐\",\n }\n ]\n```\n合成后合同样子示例\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/140a2fb771ac66a185d0a000d37485f6.png)", "input": "CreateDocumentRequest", "name": "模板发起合同-创建电子文档", "output": "CreateDocumentResponse", @@ -78,7 +78,7 @@ "status": "online" }, "CreateFlow": { - "document": "通过模板创建签署流程
\n适用场景:在标准制式的合同场景中,可通过提前预制好模板文件,每次调用模板文件的id,补充合同内容信息及签署信息生成电子合同。\n\n\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\n\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\n
签署人类别需要提前准备的信息
自己企业的员工签署(未认证加入或已认证加入)签署企业的名字、员工的真实名字、员工的触达手机号、员工的证件号(证件号非必传)
自己企业的员工签署(已认证加入)签署企业的名字、员工在电子签平台的ID(UserId)
其他企业的员工签署签署企业的名字、员工的真实名字、员工的触达手机号、员工的证件号(证件号非必传)
个人(自然人)签署个人的真实名字、个人的触达手机号、个人的身份证(证件号非必传)
\n\n\n注:配合创建电子文档发起签署流程接口使用。整体的逻辑如下图\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/06f2bc0f1772d8deac2f92b5df61a5ac.png)\n\n注:**静默(自动)签署不支持合同签署方存在填写**功能\n
\n\n相关视频指引
\n1. 创建静默(自动)签署模板和开通自动签署
\n2. 用模版创建发起合同
", + "document": "通过模板创建签署流程
\n适用场景:在标准制式的合同场景中,可通过提前预制好模板文件,每次调用模板文件的id,补充合同内容信息及签署信息生成电子合同。\n\n\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\n\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\n
签署人类别需要提前准备的信息
自己企业的员工签署(未认证加入或已认证加入)签署企业的名字、员工的真实名字、员工的触达手机号、员工的证件号(证件号非必传)
自己企业的员工签署(已认证加入)签署企业的名字、员工在电子签平台的ID(UserId)
其他企业的员工签署签署企业的名字、员工的真实名字、员工的触达手机号、员工的证件号(证件号非必传)
个人(自然人)签署个人的真实名字、个人的触达手机号、个人的身份证(证件号非必传)
\n\n\n注:配合创建电子文档发起签署流程接口使用。整体的逻辑如下图\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/06f2bc0f1772d8deac2f92b5df61a5ac.png)\n\n注:**静默(自动)签署不支持合同签署方存在填写**功能\n
\n\n相关视频指引
\n1. 创建静默(自动)签署模板和开通自动签署
\n2. 用模板创建发起合同
", "input": "CreateFlowRequest", "name": "模板发起合同-创建签署流程", "output": "CreateFlowResponse", @@ -127,7 +127,7 @@ "status": "online" }, "CreateFlowReminds": { - "document": "指定需要批量催办的签署流程ID,批量催办合同,最多100个。需要符合以下条件的合同才可被催办:\n\n1. 发起合同时,**签署人的NotifyType需设置为sms**\n2. 合同中当前状态为 **待签署** 的签署人是催办的对象\n3. **每个合同只能催办一次**\n\n**催办的效果**: 对方会收到如下的短信通知\n![image](https://qcloudimg.tencent-cloud.cn/raw/3caf94b7f540fa5736270d38528d3a7b.png)\n\n注:`合同催办是白名单功能,请联系客户经理申请开白后使用`", + "document": "指定需要批量催办的签署流程ID,批量催办合同,最多100个。需要符合以下条件的合同才可被催办:\n\n1. 发起合同时,**签署人的NotifyType需设置为sms**\n2. 合同中当前状态为 **待签署** 的签署人是催办的对象\n3. **每个合同只能催办一次**\n\n**催办的效果**: 对方会收到如下的短信通知\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/3caf94b7f540fa5736270d38528d3a7b.png)\n\n注:`合同催办是白名单功能,请联系客户经理申请开白后使用`", "input": "CreateFlowRemindsRequest", "name": "合同催办", "output": "CreateFlowRemindsResponse", @@ -155,7 +155,7 @@ "status": "online" }, "CreateIntegrationEmployees": { - "document": "此接口(CreateIntegrationEmployees)用于创建企业员工。\n支持以下场景\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
生成端入参提醒方式
普通saas员工不需要传递 InvitationNotifyType短信
企微员工不需要传递 InvitationNotifyType,将Employees 中的WeworkOpenId字段设置为企微员工明文的openid,但需确保该企微员工在应用的可见范围内企微内部实名消息
H5端 saas员工传递 InvitationNotifyType = H5,不支持企微生成H5链接
\n注意:\n\n- 若通过手机号发现员工已经创建,则不会重复创建,但会发送短信或者生成链接提醒员工实名。\n- jumpUrl 仅支持H5的邀请方式,回跳的url,使用前请联系对接的客户经理沟通,进行域名的配置。", + "document": "此接口(CreateIntegrationEmployees)用于创建企业员工。\n支持以下场景\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
生成端入参提醒方式
普通saas员工将Employees中的DisplayName设置员工的名字,Mobile设置成员工的手机号发送短信通知员工(短信中带有认证加入企业的链接)
企微员工将Employees 中的WeworkOpenId字段设置为企微员工明文的openid,需确保该企微员工在应用的可见范围内企微内部实名消息
H5端 saas员工传递 InvitationNotifyType = H5,将Employees中的DisplayName设置员工的名字,Mobile设置成员工的手机号,此场景不支持企微生成认证加入企业的H5链接,贵方可以通过自己的渠道触达到此员工
\n注意:\n\n- 若通过手机号发现员工已经创建,则不会重复创建,但会发送短信或者生成链接提醒员工实名。\n- jumpUrl 仅支持H5的邀请方式,回跳的url,使用前请联系对接的客户经理沟通,进行域名的配置。", "input": "CreateIntegrationEmployeesRequest", "name": "创建企业员工", "output": "CreateIntegrationEmployeesResponse", @@ -1219,7 +1219,7 @@ }, { "disabled": false, - "document": "员工在腾讯电子签平台的唯一身份标识,为32位字符串。\n可登录腾讯电子签控制台,在 \"更多能力\"->\"组织管理\" 中查看某位员工的UserId(在页面中展示为用户ID);或者通过DescribeIntegrationEmployees接口获取。", + "document": "员工在腾讯电子签平台的唯一身份标识,为32位字符串。\n\n通过DescribeIntegrationEmployees接口获取,也可登录腾讯电子签控制台查看\n![image](https://qcloudimg.tencent-cloud.cn/raw/97cfffabb0caa61df16999cd395d7850.png)", "example": "无", "member": "string", "name": "UserId", @@ -1371,7 +1371,7 @@ }, { "disabled": false, - "document": "合同流程ID, 为32位字符串。\n\n可登录腾讯电子签控制台,[点击产看FlowId在控制台中的位置](https://qcloudimg.tencent-cloud.cn/raw/0a83015166cfe1cb043d14f9ec4bd75e.png)", + "document": "合同流程ID, 为32位字符串。\n\n可登录腾讯电子签控制台,[点击查看FlowId在控制台中的位置](https://qcloudimg.tencent-cloud.cn/raw/0a83015166cfe1cb043d14f9ec4bd75e.png)", "example": "yDwFmUUckpstqfvzUE1h3jo1f3cqjkGm", "member": "string", "name": "FlowId", @@ -1380,7 +1380,7 @@ }, { "disabled": false, - "document": "撤销此合同流程的**撤销理由**,最多支持200个字符长度。只能由中文、字母、数字、中文标点和英文标点组成(不支持表情)。\n\n![image](https://dyn.ess.tencent.cn/guide/capi/channel_ChannelCancelFlow.png)", + "document": "撤销此合同流程的**撤销理由**,最多支持200个字符长度。只能由中文、字母、数字、中文标点和英文标点组成(不支持表情)。\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/f16cf37dbb3a09d6569877f093b92204/channel_ChannelCancelFlow.png)", "example": "这个合同里边的付款金额写错", "member": "string", "name": "CancelMessage", @@ -2837,7 +2837,7 @@ "members": [ { "disabled": false, - "document": "合同流程ID,为32位字符串。\n建议开发者妥善保存此流程ID,以便于顺利进行后续操作。\n\n注: 如果是预览模式(即NeedPreview设置为true)时, 此处不会有值返回。\n\n[点击产看FlowId在控制台中的位置](https://qcloudimg.tencent-cloud.cn/raw/0a83015166cfe1cb043d14f9ec4bd75e.png)", + "document": "合同流程ID,为32位字符串。\n建议开发者妥善保存此流程ID,以便于顺利进行后续操作。\n\n注: 如果是预览模式(即NeedPreview设置为true)时, 此处不会有值返回。\n\n[点击查看FlowId在控制台中的位置](https://qcloudimg.tencent-cloud.cn/raw/0a83015166cfe1cb043d14f9ec4bd75e.png)", "example": "无", "member": "string", "name": "FlowId", @@ -3502,7 +3502,7 @@ "members": [ { "disabled": false, - "document": "合同流程ID,为32位字符串。\n建议开发者妥善保存此流程ID,以便于顺利进行后续操作。\n\n注:\n此返回的合同流程ID,需再次调用创建电子文档发起签署流程接口将合同开始后,合同才能进入签署环节,[点击产看FlowId在控制台中的位置(只在进如签署环节后有效)](https://qcloudimg.tencent-cloud.cn/raw/0a83015166cfe1cb043d14f9ec4bd75e.png)\n\n", + "document": "合同流程ID,为32位字符串。\n建议开发者妥善保存此流程ID,以便于顺利进行后续操作。\n\n注:\n此返回的合同流程ID,需再次调用创建电子文档发起签署流程接口将合同开始后,合同才能进入签署环节,[点击查看FlowId在控制台中的位置(只在进入签署环节后有效)](https://qcloudimg.tencent-cloud.cn/raw/0a83015166cfe1cb043d14f9ec4bd75e.png)\n\n", "example": "无", "member": "string", "name": "FlowId", @@ -6392,7 +6392,7 @@ }, { "disabled": false, - "document": "查询的合同流程ID列表最多支持100个流程ID。 \n如果某个合同流程ID不存在,系统会跳过此ID的查询,继续查询剩余存在的合同流程。\n\n可登录腾讯电子签控制台,在 \"合同\"->\"合同中心\" 中查看某个合同的FlowId(在页面中展示为合同ID)。\n\n[点击产看FlowId在控制台中的位置](https://qcloudimg.tencent-cloud.cn/raw/0a83015166cfe1cb043d14f9ec4bd75e.png)", + "document": "查询的合同流程ID列表最多支持100个流程ID。 \n如果某个合同流程ID不存在,系统会跳过此ID的查询,继续查询剩余存在的合同流程。\n\n可登录腾讯电子签控制台,在 \"合同\"->\"合同中心\" 中查看某个合同的FlowId(在页面中展示为合同ID)。\n\n[点击查看FlowId在控制台中的位置](https://qcloudimg.tencent-cloud.cn/raw/0a83015166cfe1cb043d14f9ec4bd75e.png)", "example": "[yDRCLUUgygq2xun5UuO4zjEwg0vjoimj]", "member": "string", "name": "FlowIds", @@ -8929,7 +8929,7 @@ }, { "disabled": false, - "document": "控件id,和ComponentName选择一项传入即可\n\n点击查看在模版中找到控件ID的方式", + "document": "控件id,和ComponentName选择一项传入即可\n\n点击查看在模板中找到控件ID的方式", "example": "componentId", "member": "string", "name": "ComponentId", @@ -8940,7 +8940,7 @@ }, { "disabled": false, - "document": "控件名字,最大长度不超过30字符,和ComponentId选择一项传入即可\n\n点击查看在模版中找到控件名字的方式", + "document": "控件名字,最大长度不超过30字符,和ComponentId选择一项传入即可\n\n点击查看在模板中找到控件名字的方式", "example": "ComponentName", "member": "string", "name": "ComponentName", @@ -11534,7 +11534,7 @@ }, { "disabled": false, - "document": "员工在腾讯电子签平台的唯一身份标识,为32位字符串。\n可登录腾讯电子签控制台,在 \"更多能力\"->\"组织管理\" 中查看某位员工的UserId(在页面中展示为用户ID)。", + "document": "员工在腾讯电子签平台的唯一身份标识,为32位字符串。\n\n通过DescribeIntegrationEmployees接口获取,也可登录腾讯电子签控制台查看\n![image](https://qcloudimg.tencent-cloud.cn/raw/97cfffabb0caa61df16999cd395d7850.png)", "example": "无", "member": "string", "name": "UserId", diff --git a/tccli/services/ess/v20201111/examples.json b/tccli/services/ess/v20201111/examples.json index 42de999e90..a5eb6c60d3 100644 --- a/tccli/services/ess/v20201111/examples.json +++ b/tccli/services/ess/v20201111/examples.json @@ -3,15 +3,21 @@ "BindEmployeeUserIdWithClientOpenId": [ { "document": "传入UserId和OpenId,绑定成功。", - "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BindEmployeeUserIdWithClientOpenId\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDwgKUUcXXXXXXXXXXXXXXXXXXQxx2u1\"\n },\n \"UserId\": \"yDwgKUUcXXXXXXXXXXXXXXXXXXQZDRuD\",\n \"OpenId\": \"open_user2\"\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"s1665xxxxx74024539\",\n \"Status\": 1\n }\n}", + "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BindEmployeeUserIdWithClientOpenId\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDRSRUUgygj6qnwfUuO4zjEwc193c2hH\"\n },\n \"UserId\": \"yDRS4UUgygqdcj56UuO4zjExBQcOiB68\",\n \"OpenId\": \"n9527\"\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"fc0b0a6b-01b4-4042-b236-c5356af1d5d8\",\n \"Status\": 1\n }\n}", "title": "员工Userid与客户系统Openid绑定" }, { - "document": "调用此接口时,请确保用户ID参数未经过绑定,否则接口将返回错误信息。以传入UserId已绑定为例,接口提示不需重新绑定。", - "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BindEmployeeUserIdWithClientOpenId\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDwgKUUcXXXXXXXXXXXXXXXXXXQxx2u1\"\n },\n \"UserId\": \"yDwgKUUcXXXXXXXXXXXXXXXXXXQZDRuD\",\n \"OpenId\": \"open_user2\"\n}", - "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameter\",\n \"Message\": \"该userId已绑定该openId,无需重新绑定\"\n },\n \"RequestId\": \"5116xxxx-xxxx-xxxx-xxxx-xxxx5f02877b\"\n }\n}", - "title": "错误示例-重复绑定" + "document": "", + "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BindEmployeeUserIdWithClientOpenId\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDRSRUUgygj6qnwfUuO4zjEwc193c2hH\"\n },\n \"UserId\": \"yDSLmUUckpou8bj8UyvAk4FBqAoWzvy4\",\n \"OpenId\": \"n9527\"\n}", + "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameter\",\n \"Message\": \"该openid已绑定其他userid,请解绑后重试\"\n },\n \"RequestId\": \"535482ad-caa5-4302-909c-de054bf4df99\"\n }\n}", + "title": "错误示例-重复使用OpenId绑定其他UserId" + }, + { + "document": "接口绑定是不幂等的", + "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BindEmployeeUserIdWithClientOpenId\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDRSRUUgygj6qnwfUuO4zjEwc193c2hH\"\n },\n \"UserId\": \"yDSLmUUckpou8bj8UyvAk4FBqAoWzvy4\",\n \"OpenId\": \"n9527\"\n}", + "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameter\",\n \"Message\": \"该userId已绑定该openId,无需重新绑定\"\n },\n \"RequestId\": \"535482ad-caa5-4302-909c-de054bf4df99\"\n }\n}", + "title": "错误示例-重复使用OpenId绑定同一个UserId" } ], "CancelFlow": [ @@ -1423,14 +1429,14 @@ "UnbindEmployeeUserIdWithClientOpenId": [ { "document": "传入经过绑定的员工UserId与客户系统OpenId,调用此接口解绑成功,返回值Status为1。", - "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UnbindEmployeeUserIdWithClientOpenId\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDRCLUUXXXXXXXXXXXX4zjEwg0vjoimj\"\n },\n \"UserId\": \"yDxVwUyXXXXXXXXXXXXjEyQOAgwvr4Zy\",\n \"OpenId\": \"open_user1\"\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"s16652185xxx032958\",\n \"Status\": 1\n }\n}", + "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UnbindEmployeeUserIdWithClientOpenId\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDRS4UUgygqdcj2tUuO4zjEEFuP35Swc\"\n },\n \"UserId\": \"yDxbNUyKQDxGYNUuO4zjEwvl3XYQmAcO\",\n \"OpenId\": \"n9527\"\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"s1665674603446404796\",\n \"Status\": 1\n }\n}", "title": "解除员工UserId与客户系统OpenId的绑定" }, { "document": "在调用此接口时,需确保OpenId已通过调用BindEmployeeUserIdWithClientOpenId接口与电子签系统的UserId绑定过。", - "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UnbindEmployeeUserIdWithClientOpenId\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDRCLUUXXXXXXXXXXXX4zjEwg0vjoimj\"\n },\n \"UserId\": \"yDxVwUyXXXXXXXXXXXXjEyQOAgwvr4Zy\",\n \"OpenId\": \"123\"\n}", - "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameter\",\n \"Message\": \"该openId并未绑定企业员工\"\n },\n \"RequestId\": \"dec22fb5-xxxx-xxxx-xxxx-xxxxxxc514d6\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UnbindEmployeeUserIdWithClientOpenId\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDRS4UUgygqdcj2tUuO4zjEEFuP35Swc\"\n },\n \"UserId\": \"yDwJ0UUckpk2077eUxgm9jJv5GGyJXCh\",\n \"OpenId\": \"n9527\"\n}", + "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameter\",\n \"Message\": \"该openId并未绑定企业员工\"\n },\n \"RequestId\": \"s1615674603446404796\"\n }\n}", "title": "错误示例-OpenId未经过绑定" } ], diff --git a/tccli/services/essbasic/v20210526/api.json b/tccli/services/essbasic/v20210526/api.json index 7fcc5a7fd8..2e466bbeaf 100644 --- a/tccli/services/essbasic/v20210526/api.json +++ b/tccli/services/essbasic/v20210526/api.json @@ -337,7 +337,7 @@ "status": "online" }, "CreateFlowsByTemplates": { - "document": "接口(CreateFlowsByTemplates)用于使用模板批量创建签署流程。当前可批量发起合同(签署流程)数量为1-20个。\n如若在模板中配置了动态表格, 上传的附件必须为A4大小 \n合同发起人必须在电子签已经进行实名。\n\n### 一. 整体的逻辑如下\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/e193519d4383fa74782a9e19147ef01a/CreateFlowsByTemplates.png)\n\n### 二. 可以作为发起方和签署方的角色列表\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
场景编号可作为发起方类型可作为签署方的类型
场景一第三方子企业A员工第三方子企业A员工
场景二第三方子企业A员工第三方子企业B(不指定经办人)
场景三第三方子企业A员工第三方子企业B员工
场景四第三方子企业A员工个人/自然人
场景五第三方子企业A员工SaaS平台企业员工
\n\n### 三. 填充模版中定义的填写控件\n模版中配置的发起人填充控件可以通过本接口的**FormFields数组**字段填充\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/37457e0e450fc221effddfcb8b1bad55.png)\n填充的传参示例如下\n\n```\n request.FormFields = [{\n \"ComponentName\": \"项目的名字\",\n \"ComponentValue\": \"休闲山庄\"\n }, {\n \"ComponentName\": \"项目的地址\",\n \"ComponentValue\": \"凤凰山北侧\",\n }, {\n \"ComponentName\": \"范围\",\n \"ComponentValue\": \"凤凰山至107国道\",\n }, {\n \"ComponentName\": \"面积\",\n \"ComponentValue\": \"100亩\",\n }, {\n \"ComponentName\": \"基本情况\",\n \"ComponentValue\": \"完好\",\n }, , {\n \"ComponentName\": \"用途\",\n \"ComponentValue\": \"经营农家乐\",\n }\n ]\n```\n合成后合同样子示例\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/140a2fb771ac66a185d0a000d37485f6.png)\n\n\n\n### 四. 注意 \n1. 发起合同时候, 作为发起方的第三方子企业A员工的企业和员工必须经过实名, 而作为签署方的第三方子企业A员工/个人/自然人/SaaS平台企业员工/第三方子企业B员工企业中的企业和个人/员工可以未实名\n\n2. 不同类型的签署方传参不同, 可以参考开发者中心的FlowApproverInfo结构体说明\n\n3. 调用接口发起合同成功就会扣减合同的额度, 如果未签署完成时撤销合同会返还此额度(过期,拒签,签署完成,解除完成等状态不会返还额度)\n\n4. 静默(自动)签署不支持合同签署方存在填写\n\n5. 在下一步创建签署链接前,建议等待DocumentFill PDF合成完成的回调或者睡眠几秒,尤其是当模板中存在动态表格等复杂填写控件时,因为合成过程可能会耗费秒级别的时间。", + "document": "接口(CreateFlowsByTemplates)用于使用模板批量创建签署流程。当前可批量发起合同(签署流程)数量为1-20个。\n如若在模板中配置了动态表格, 上传的附件必须为A4大小 \n合同发起人必须在电子签已经进行实名。\n\n### 一. 整体的逻辑如下\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/e193519d4383fa74782a9e19147ef01a/CreateFlowsByTemplates.png)\n\n### 二. 可以作为发起方和签署方的角色列表\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
场景编号可作为发起方类型可作为签署方的类型
场景一第三方子企业A员工第三方子企业A员工
场景二第三方子企业A员工第三方子企业B(不指定经办人)
场景三第三方子企业A员工第三方子企业B员工
场景四第三方子企业A员工个人/自然人
场景五第三方子企业A员工SaaS平台企业员工
\n\n### 三. 填充模板中定义的填写控件\n模板中配置的发起人填充控件可以通过本接口的**FormFields数组**字段填充\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/37457e0e450fc221effddfcb8b1bad55.png)\n填充的传参示例如下\n\n```\n request.FormFields = [{\n \"ComponentName\": \"项目的名字\",\n \"ComponentValue\": \"休闲山庄\"\n }, {\n \"ComponentName\": \"项目的地址\",\n \"ComponentValue\": \"凤凰山北侧\",\n }, {\n \"ComponentName\": \"范围\",\n \"ComponentValue\": \"凤凰山至107国道\",\n }, {\n \"ComponentName\": \"面积\",\n \"ComponentValue\": \"100亩\",\n }, {\n \"ComponentName\": \"基本情况\",\n \"ComponentValue\": \"完好\",\n }, , {\n \"ComponentName\": \"用途\",\n \"ComponentValue\": \"经营农家乐\",\n }\n ]\n```\n合成后合同样子示例\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/140a2fb771ac66a185d0a000d37485f6.png)\n\n\n\n### 四. 注意 \n1. 发起合同时候, 作为发起方的第三方子企业A员工的企业和员工必须经过实名, 而作为签署方的第三方子企业A员工/个人/自然人/SaaS平台企业员工/第三方子企业B员工企业中的企业和个人/员工可以未实名\n\n2. 不同类型的签署方传参不同, 可以参考开发者中心的FlowApproverInfo结构体说明\n\n3. 调用接口发起合同成功就会扣减合同的额度, 如果未签署完成时撤销合同会返还此额度(过期,拒签,签署完成,解除完成等状态不会返还额度)\n\n4. 静默(自动)签署不支持合同签署方存在填写\n\n5. 在下一步创建签署链接前,建议等待DocumentFill PDF合成完成的回调或者睡眠几秒,尤其是当模板中存在动态表格等复杂填写控件时,因为合成过程可能会耗费秒级别的时间。", "input": "CreateFlowsByTemplatesRequest", "name": "用模板创建签署流程", "output": "CreateFlowsByTemplatesResponse", @@ -2177,7 +2177,7 @@ "members": [ { "disabled": false, - "document": "合同流程ID,为32位字符串。\n建议开发者妥善保存此流程ID,以便于顺利进行后续操作。\n\n[点击产看FlowId在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/05af26573d5106763b4cfbb9f7c64b41.png)\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "合同流程ID,为32位字符串。\n建议开发者妥善保存此流程ID,以便于顺利进行后续操作。\n\n[点击查看FlowId在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/05af26573d5106763b4cfbb9f7c64b41.png)\n注意:此字段可能返回 null,表示取不到有效值。", "example": "yDwFmUUckpstqfvzUE1h3jo1f3cqjkGm", "member": "string", "name": "FlowId", @@ -3125,7 +3125,7 @@ }, { "disabled": false, - "document": "待解除的签署流程编号(即原签署流程的编号)。\n\n\n[点击产看流程编号在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/05af26573d5106763b4cfbb9f7c64b41.png)", + "document": "待解除的签署流程编号(即原签署流程的编号)。\n\n\n[点击查看流程编号在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/05af26573d5106763b4cfbb9f7c64b41.png)", "example": "yDwFmUUckpstqfvzUE1h3jo1f3cqjkGm", "member": "string", "name": "NeedRelievedFlowId", @@ -7137,7 +7137,7 @@ }, { "disabled": false, - "document": "合同模板ID,为32位字符串。\n\n可以通过生成子客登录链接登录企业控制台, 在企业模板中得到合同模板ID。\n\n[点击产看模板Id在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/e988be12bf28a89b4716aed4502c2e02.png)", + "document": "合同模板ID,为32位字符串。\n\n可以通过生成子客登录链接登录企业控制台, 在企业模板中得到合同模板ID。\n\n[点击查看模板Id在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/e988be12bf28a89b4716aed4502c2e02.png)", "example": "无", "member": "string", "name": "TemplateId", @@ -7155,7 +7155,7 @@ }, { "disabled": false, - "document": "合同模板ID数组,每一个合同模板ID为32位字符串, 最多支持200个模板的批量查询。\n\n注意: \n1.` 此参数TemplateIds与TemplateId互为独立,若两者均传入,以TemplateId为准。`\n2. `请确保每个模板均正确且属于当前企业,若有任一模板不存在,则返回错误。`\n4. `若传递此参数,分页参数(Limit,Offset)无效`\n\n\n[点击产看模板Id在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/e988be12bf28a89b4716aed4502c2e02.png)\n", + "document": "合同模板ID数组,每一个合同模板ID为32位字符串, 最多支持200个模板的批量查询。\n\n注意: \n1.` 此参数TemplateIds与TemplateId互为独立,若两者均传入,以TemplateId为准。`\n2. `请确保每个模板均正确且属于当前企业,若有任一模板不存在,则返回错误。`\n4. `若传递此参数,分页参数(Limit,Offset)无效`\n\n\n[点击查看模板Id在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/e988be12bf28a89b4716aed4502c2e02.png)\n", "example": "无", "member": "string", "name": "TemplateIds", diff --git a/tccli/services/ocr/v20181119/api.json b/tccli/services/ocr/v20181119/api.json index 8f0dc58e9a..c4eca9c62d 100644 --- a/tccli/services/ocr/v20181119/api.json +++ b/tccli/services/ocr/v20181119/api.json @@ -561,7 +561,7 @@ "status": "online" }, "VerifyOfdVatInvoiceOCR": { - "document": "本接口支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。", + "document": "本接口支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(铁路电子客票)、电子发票(航空运输电子客票行程单)识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。", "input": "VerifyOfdVatInvoiceOCRRequest", "name": "OFD发票识别", "output": "VerifyOfdVatInvoiceOCRResponse", @@ -10998,6 +10998,26 @@ "type": "string", "value_allowed_null": false }, + { + "disabled": false, + "document": "曾持证件号码。", + "example": "PAK310080010103", + "member": "string", + "name": "PreviousNumber", + "output_required": false, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "签发机关。", + "example": "无", + "member": "string", + "name": "IssuedAuthority", + "output_required": false, + "type": "string", + "value_allowed_null": false + }, { "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。", "member": "string", @@ -17605,7 +17625,7 @@ }, { "disabled": false, - "document": "票种类型\n01:增值税专用发票,\n02:货运运输业增值税专用发票,\n03:机动车销售统一发票,\n04:增值税普通发票,\n08:增值税电子专用发票(含全电,全电仅新版接口支持),\n10:增值税电子普通发票(含全电,全电仅新版接口支持),\n11:增值税普通发票(卷式),\n14:增值税电子(通行费)发票,\n15:二手车销售统一发票,\n32:深圳区块链发票,\n102:通用机打电子发票\n61:电子发票(航空运输电子客票行程单)\n83:电子发票(铁路电子发票)", + "document": "票种类型\n01:增值税专用发票,\n02:货运运输业增值税专用发票,\n03:机动车销售统一发票,\n04:增值税普通发票,\n08:增值税电子专用发票(含全电,全电仅新版接口支持),\n10:增值税电子普通发票(含全电,全电仅新版接口支持),\n11:增值税普通发票(卷式),\n14:增值税电子(通行费)发票,\n15:二手车销售统一发票,\n32:深圳区块链发票,\n102:通用机打电子发票\n61:电子发票(航空运输电子客票行程单)\n83:电子发票(铁路电子发票)\n0915:全电纸质(二手车统一销售发票)\n0903:全电纸质(机动车统一发票)", "example": "01", "member": "string", "name": "Type", diff --git a/tccli/services/ssm/v20190923/api.json b/tccli/services/ssm/v20190923/api.json index 61a0ec17c5..3172f34ab5 100644 --- a/tccli/services/ssm/v20190923/api.json +++ b/tccli/services/ssm/v20190923/api.json @@ -1809,7 +1809,7 @@ "example": "testName", "member": "string", "name": "SecretName", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -1819,7 +1819,7 @@ "example": "test", "member": "string", "name": "Description", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -1829,7 +1829,7 @@ "example": "6cdf26d1-44ff-11eb-841c-5254006d0810", "member": "string", "name": "KmsKeyId", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -1839,7 +1839,7 @@ "example": "12345", "member": "uint64", "name": "CreateUin", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -1849,7 +1849,7 @@ "example": "Initializing", "member": "string", "name": "Status", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -1859,7 +1859,7 @@ "example": "1234", "member": "uint64", "name": "DeleteTime", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -1869,7 +1869,7 @@ "example": "1234", "member": "uint64", "name": "CreateTime", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -1879,7 +1879,7 @@ "example": "DEFAULT", "member": "string", "name": "KmsKeyType", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -1889,7 +1889,7 @@ "example": "Enabled", "member": "int64", "name": "RotationStatus", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -1899,17 +1899,17 @@ "example": "1574160561", "member": "uint64", "name": "NextRotationTime", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, { "disabled": false, - "document": "0 -- 用户自定义凭据;\n1 -- 云产品凭据;\n2 -- SSH密钥对凭据;\n3 -- 云API密钥对凭据;\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "0 -- 用户自定义凭据;\n1 -- 云产品凭据;\n2 -- SSH密钥对凭据;\n3 -- 云API密钥对凭据;\n4 -- Redis类型凭据;\n注意:此字段可能返回 null,表示取不到有效值。", "example": "CloudProduct", "member": "int64", "name": "SecretType", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -1919,7 +1919,7 @@ "example": "MYSQL", "member": "string", "name": "ProductName", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -1929,7 +1929,7 @@ "example": "无", "member": "string", "name": "ResourceName", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -1939,7 +1939,7 @@ "example": "无", "member": "int64", "name": "ProjectID", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -1949,7 +1949,7 @@ "example": "无", "member": "string", "name": "AssociatedInstanceIDs", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": true }, @@ -1959,7 +1959,7 @@ "example": "无", "member": "uint64", "name": "TargetUin", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -1969,7 +1969,7 @@ "example": "7", "member": "int64", "name": "RotationFrequency", - "required": false, + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -1979,7 +1979,7 @@ "example": "skey-a1b2c3d4", "member": "string", "name": "ResourceID", - "required": false, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -1989,7 +1989,7 @@ "example": "2022-12-28 15:07:11", "member": "string", "name": "RotationBeginTime", - "required": false, + "output_required": true, "type": "string", "value_allowed_null": true } diff --git a/tccli/services/thpc/v20230321/api.json b/tccli/services/thpc/v20230321/api.json index 9d10e9cba7..063e418b56 100644 --- a/tccli/services/thpc/v20230321/api.json +++ b/tccli/services/thpc/v20230321/api.json @@ -1626,15 +1626,17 @@ "example": "无", "member": "QueueOverview", "name": "QueueSet", + "output_required": true, "type": "list", "value_allowed_null": false }, { "disabled": false, - "document": "符合条件的节点数量。", + "document": "符合条件的队列数量。", "example": "1", "member": "int64", "name": "TotalCount", + "output_required": true, "type": "int", "value_allowed_null": false },