diff --git a/CHANGELOG.md b/CHANGELOG.md index fe2202c5a7..26cfb775e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,364 @@ +# Release 3.0.1213.1 + +## 验证码(captcha) 版本:2019-07-22 + +### 第 18 次发布 + +发布时间:2024-10-22 01:09:32 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeCaptchaResult](https://cloud.tencent.com/document/api/1110/36926) + + * 新增出参:DeviceRiskCategory + + + + +## 云数据库 MySQL(cdb) 版本:2017-03-20 + +### 第 169 次发布 + +发布时间:2024-10-22 01:10:00 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [UpgradeDBInstance](https://cloud.tencent.com/document/api/236/15876) + + * 新增入参:ClusterTopology + + + + +## 云防火墙(cfw) 版本:2019-09-04 + +### 第 66 次发布 + +发布时间:2024-10-22 01:11:25 + +本次发布包含了以下内容: + +改善已有的文档。 + +**预下线接口**: + +* DescribeSwitchLists + +修改数据结构: + +* [TemplateListInfo](https://cloud.tencent.com/document/api/1132/49071#TemplateListInfo) + + * 新增成员:IpVersion + + + + +## 主机安全(cwp) 版本:2018-02-28 + +### 第 125 次发布 + +发布时间:2024-10-22 01:13:51 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [VulInfoList](https://cloud.tencent.com/document/api/296/19867#VulInfoList) + + * 新增成员:VulFixSwitch + + * **修改成员**:AttackLevel, FixNoNeedRestart, Method + +* [VulStoreListInfo](https://cloud.tencent.com/document/api/296/19867#VulStoreListInfo) + + * **修改成员**:Method, AttackLevel, FixSwitch, SupportDefense + + + + +## TDSQL-C MySQL 版(cynosdb) 版本:2019-01-07 + +### 第 109 次发布 + +发布时间:2024-10-22 01:15:19 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeProxySpecs](https://cloud.tencent.com/document/api/1003/94241) + + * 新增入参:ClusterId + + + + +## 腾讯电子签企业版(ess) 版本:2020-11-11 + +### 第 191 次发布 + +发布时间:2024-10-22 01:19:30 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateBatchQuickSignUrl](https://cloud.tencent.com/document/api/1323/101058) + + * 新增入参:Intention, CacheApproverInfo + + + + +## 腾讯电子签(基础版)(essbasic) 版本:2021-05-26 + +### 第 189 次发布 + +发布时间:2024-10-22 01:19:53 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [ChannelCreateBatchQuickSignUrl](https://cloud.tencent.com/document/api/1420/101059) + + * 新增入参:Intention, CacheApproverInfo + + + + +## 腾讯电子签(基础版)(essbasic) 版本:2020-12-22 + + + +## 实时互动-教育版(lcic) 版本:2022-08-17 + +### 第 62 次发布 + +发布时间:2024-10-22 01:23:38 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateRoom](https://cloud.tencent.com/document/api/1639/80942) + + + + +## 腾讯云可观测平台(monitor) 版本:2018-07-24 + +### 第 122 次发布 + +发布时间:2024-10-22 01:25:28 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeAlarmHistories](https://cloud.tencent.com/document/api/248/48684) + + * 新增入参:AlarmTypes + + +修改数据结构: + +* [AlarmHistory](https://cloud.tencent.com/document/api/248/30354#AlarmHistory) + + * 新增成员:PolicyPermissions + + + + +## 流量反欺诈(taf) 版本:2020-02-10 + +### 第 19 次发布 + +发布时间:2024-10-22 01:30:02 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [InputBusinessEncryptData](https://cloud.tencent.com/document/api/1031/43310#InputBusinessEncryptData) + + * 新增成员:EncryptMethod, EncryptData, EncryptMode, PaddingType + + + + +## 消息队列 TDMQ(tdmq) 版本:2020-02-17 + +### 第 124 次发布 + +发布时间:2024-10-22 01:32:24 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [CreateRabbitMQBinding](https://cloud.tencent.com/document/api/1179/111850) + +修改数据结构: + +* [RocketMQNamespace](https://cloud.tencent.com/document/api/1179/46089#RocketMQNamespace) + + * **修改成员**:InternalEndpoint + + + + +## 消息队列 RocketMQ 版(trocket) 版本:2023-03-08 + +### 第 23 次发布 + +发布时间:2024-10-22 01:34:38 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [SourceClusterTopicConfig](https://cloud.tencent.com/document/api/1493/96031#SourceClusterTopicConfig) + + * 新增成员:NamespaceV4, TopicNameV4, FullNamespaceV4 + + +### 第 22 次发布 + +发布时间:2024-10-21 19:32:27 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateConsumerGroup](https://cloud.tencent.com/document/api/1493/97943) + + * **修改入参**:ConsumerGroup + +* [DeleteConsumerGroup](https://cloud.tencent.com/document/api/1493/97942) + + * **修改入参**:ConsumerGroup + +* [DescribeConsumerGroup](https://cloud.tencent.com/document/api/1493/97941) + + * 新增出参:MessageModel + +* [DescribeConsumerGroupList](https://cloud.tencent.com/document/api/1493/101535) + + * **修改入参**:Offset, Limit + +* [DescribeFusionInstanceList](https://cloud.tencent.com/document/api/1493/106745) + + * **修改入参**:Offset, Limit + +* [DescribeRoleList](https://cloud.tencent.com/document/api/1493/98862) + + * **修改入参**:Offset, Limit + + +修改数据结构: + +* [Endpoint](https://cloud.tencent.com/document/api/1493/96031#Endpoint) + + * 新增成员:BillingFlow + +* [RoleItem](https://cloud.tencent.com/document/api/1493/96031#RoleItem) + + * **修改成员**:RoleName, PermRead, PermWrite + + + + +## 私有网络(vpc) 版本:2017-03-12 + +### 第 214 次发布 + +发布时间:2024-10-22 01:37:03 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateVpnGatewaySslServer](https://cloud.tencent.com/document/api/215/70289) + + * **修改入参**:LocalAddress + + + + +## Web 应用防火墙(waf) 版本:2018-01-25 + +### 第 97 次发布 + +发布时间:2024-10-22 01:38:00 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeProtectionModes](https://cloud.tencent.com/document/api/627/111851) + +新增数据结构: + +* [TigaMainClassMode](https://cloud.tencent.com/document/api/627/53609#TigaMainClassMode) + + + +## 数据开发治理平台 WeData(wedata) 版本:2021-08-20 + +### 第 108 次发布 + +发布时间:2024-10-22 01:38:35 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeProjectUsers](https://cloud.tencent.com/document/api/1267/111852) + +新增数据结构: + +* [ProjectUserRole](https://cloud.tencent.com/document/api/1267/76336#ProjectUserRole) +* [ProjectUsersPage](https://cloud.tencent.com/document/api/1267/76336#ProjectUsersPage) +* [RolePrivilege](https://cloud.tencent.com/document/api/1267/76336#RolePrivilege) +* [SystemRole](https://cloud.tencent.com/document/api/1267/76336#SystemRole) + + + # Release 3.0.1212.1 ## 云数据库 MySQL(cdb) 版本:2017-03-20 diff --git a/SERVICE_CHANGELOG.md b/SERVICE_CHANGELOG.md index df54d05767..ed3c6edf45 100644 --- a/SERVICE_CHANGELOG.md +++ b/SERVICE_CHANGELOG.md @@ -1,10 +1,29 @@ # 本版本更新包含以下内容: +## 验证码(captcha) 版本:2019-07-22 + +### 第 18 次发布 + +发布时间:2024-10-22 01:09:32 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeCaptchaResult](https://cloud.tencent.com/document/api/1110/36926) + + * 新增出参:DeviceRiskCategory + + + + ## 云数据库 MySQL(cdb) 版本:2017-03-20 -### 第 168 次发布 +### 第 169 次发布 -发布时间:2024-10-21 01:05:28 +发布时间:2024-10-22 01:10:00 本次发布包含了以下内容: @@ -14,37 +33,64 @@ * [UpgradeDBInstance](https://cloud.tencent.com/document/api/236/15876) - * 新增入参:CheckFastUpgradeReboot + * 新增入参:ClusterTopology -## 实时互动-教育版(lcic) 版本:2022-08-17 +## 云防火墙(cfw) 版本:2019-09-04 -### 第 61 次发布 +### 第 66 次发布 -发布时间:2024-10-21 01:18:28 +发布时间:2024-10-22 01:11:25 本次发布包含了以下内容: 改善已有的文档。 +**预下线接口**: + +* DescribeSwitchLists + 修改数据结构: -* [RoomInfo](https://cloud.tencent.com/document/api/1639/81423#RoomInfo) +* [TemplateListInfo](https://cloud.tencent.com/document/api/1132/49071#TemplateListInfo) + * 新增成员:IpVersion -## 容器服务(tke) 版本:2022-05-01 +## 主机安全(cwp) 版本:2018-02-28 +### 第 125 次发布 -## 容器服务(tke) 版本:2018-05-25 +发布时间:2024-10-22 01:13:51 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [VulInfoList](https://cloud.tencent.com/document/api/296/19867#VulInfoList) + + * 新增成员:VulFixSwitch + + * **修改成员**:AttackLevel, FixNoNeedRestart, Method + +* [VulStoreListInfo](https://cloud.tencent.com/document/api/296/19867#VulStoreListInfo) + + * **修改成员**:Method, AttackLevel, FixSwitch, SupportDefense -### 第 184 次发布 -发布时间:2024-10-21 01:28:31 + + +## TDSQL-C MySQL 版(cynosdb) 版本:2019-01-07 + +### 第 109 次发布 + +发布时间:2024-10-22 01:15:19 本次发布包含了以下内容: @@ -52,13 +98,267 @@ 修改接口: -* [DescribeBatchModifyTagsStatus](https://cloud.tencent.com/document/api/457/111753) +* [DescribeProxySpecs](https://cloud.tencent.com/document/api/1003/94241) * 新增入参:ClusterId +## 腾讯电子签企业版(ess) 版本:2020-11-11 + +### 第 191 次发布 + +发布时间:2024-10-22 01:19:30 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateBatchQuickSignUrl](https://cloud.tencent.com/document/api/1323/101058) + + * 新增入参:Intention, CacheApproverInfo + + + + +## 腾讯电子签(基础版)(essbasic) 版本:2021-05-26 + +### 第 189 次发布 + +发布时间:2024-10-22 01:19:53 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [ChannelCreateBatchQuickSignUrl](https://cloud.tencent.com/document/api/1420/101059) + + * 新增入参:Intention, CacheApproverInfo + + + + +## 腾讯电子签(基础版)(essbasic) 版本:2020-12-22 + + + +## 实时互动-教育版(lcic) 版本:2022-08-17 + +### 第 62 次发布 + +发布时间:2024-10-22 01:23:38 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateRoom](https://cloud.tencent.com/document/api/1639/80942) + + + + +## 腾讯云可观测平台(monitor) 版本:2018-07-24 + +### 第 122 次发布 + +发布时间:2024-10-22 01:25:28 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeAlarmHistories](https://cloud.tencent.com/document/api/248/48684) + + * 新增入参:AlarmTypes + + +修改数据结构: + +* [AlarmHistory](https://cloud.tencent.com/document/api/248/30354#AlarmHistory) + + * 新增成员:PolicyPermissions + + + + +## 流量反欺诈(taf) 版本:2020-02-10 + +### 第 19 次发布 + +发布时间:2024-10-22 01:30:02 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [InputBusinessEncryptData](https://cloud.tencent.com/document/api/1031/43310#InputBusinessEncryptData) + + * 新增成员:EncryptMethod, EncryptData, EncryptMode, PaddingType + + + + +## 消息队列 TDMQ(tdmq) 版本:2020-02-17 + +### 第 124 次发布 + +发布时间:2024-10-22 01:32:24 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [CreateRabbitMQBinding](https://cloud.tencent.com/document/api/1179/111850) + +修改数据结构: + +* [RocketMQNamespace](https://cloud.tencent.com/document/api/1179/46089#RocketMQNamespace) + + * **修改成员**:InternalEndpoint + + + + +## 消息队列 RocketMQ 版(trocket) 版本:2023-03-08 + +### 第 23 次发布 + +发布时间:2024-10-22 01:34:38 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [SourceClusterTopicConfig](https://cloud.tencent.com/document/api/1493/96031#SourceClusterTopicConfig) + + * 新增成员:NamespaceV4, TopicNameV4, FullNamespaceV4 + + +### 第 22 次发布 + +发布时间:2024-10-21 19:32:27 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateConsumerGroup](https://cloud.tencent.com/document/api/1493/97943) + + * **修改入参**:ConsumerGroup + +* [DeleteConsumerGroup](https://cloud.tencent.com/document/api/1493/97942) + + * **修改入参**:ConsumerGroup + +* [DescribeConsumerGroup](https://cloud.tencent.com/document/api/1493/97941) + + * 新增出参:MessageModel + +* [DescribeConsumerGroupList](https://cloud.tencent.com/document/api/1493/101535) + + * **修改入参**:Offset, Limit + +* [DescribeFusionInstanceList](https://cloud.tencent.com/document/api/1493/106745) + + * **修改入参**:Offset, Limit + +* [DescribeRoleList](https://cloud.tencent.com/document/api/1493/98862) + + * **修改入参**:Offset, Limit + + +修改数据结构: + +* [Endpoint](https://cloud.tencent.com/document/api/1493/96031#Endpoint) + + * 新增成员:BillingFlow + +* [RoleItem](https://cloud.tencent.com/document/api/1493/96031#RoleItem) + + * **修改成员**:RoleName, PermRead, PermWrite + + + + +## 私有网络(vpc) 版本:2017-03-12 + +### 第 214 次发布 + +发布时间:2024-10-22 01:37:03 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateVpnGatewaySslServer](https://cloud.tencent.com/document/api/215/70289) + + * **修改入参**:LocalAddress + + + + +## Web 应用防火墙(waf) 版本:2018-01-25 + +### 第 97 次发布 + +发布时间:2024-10-22 01:38:00 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeProtectionModes](https://cloud.tencent.com/document/api/627/111851) + +新增数据结构: + +* [TigaMainClassMode](https://cloud.tencent.com/document/api/627/53609#TigaMainClassMode) + + + +## 数据开发治理平台 WeData(wedata) 版本:2021-08-20 + +### 第 108 次发布 + +发布时间:2024-10-22 01:38:35 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeProjectUsers](https://cloud.tencent.com/document/api/1267/111852) + +新增数据结构: + +* [ProjectUserRole](https://cloud.tencent.com/document/api/1267/76336#ProjectUserRole) +* [ProjectUsersPage](https://cloud.tencent.com/document/api/1267/76336#ProjectUsersPage) +* [RolePrivilege](https://cloud.tencent.com/document/api/1267/76336#RolePrivilege) +* [SystemRole](https://cloud.tencent.com/document/api/1267/76336#SystemRole) + + + # 历次版本更新如下: ## 活动防刷(aa) 版本:2020-02-24 @@ -13840,6 +14140,21 @@ ## 验证码(captcha) 版本:2019-07-22 +### 第 18 次发布 + +发布时间:2024-10-22 01:09:32 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeCaptchaResult](https://cloud.tencent.com/document/api/1110/36926) + + * 新增出参:DeviceRiskCategory + + ### 第 17 次发布 发布时间:2023-12-01 01:09:01 @@ -17185,6 +17500,21 @@ ## 云数据库 MySQL(cdb) 版本:2017-03-20 +### 第 169 次发布 + +发布时间:2024-10-22 01:10:00 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [UpgradeDBInstance](https://cloud.tencent.com/document/api/236/15876) + + * 新增入参:ClusterTopology + + ### 第 168 次发布 发布时间:2024-10-21 01:05:28 @@ -25869,6 +26199,25 @@ ## 云防火墙(cfw) 版本:2019-09-04 +### 第 66 次发布 + +发布时间:2024-10-22 01:11:25 + +本次发布包含了以下内容: + +改善已有的文档。 + +**预下线接口**: + +* DescribeSwitchLists + +修改数据结构: + +* [TemplateListInfo](https://cloud.tencent.com/document/api/1132/49071#TemplateListInfo) + + * 新增成员:IpVersion + + ### 第 65 次发布 发布时间:2024-09-16 01:21:22 @@ -43621,6 +43970,27 @@ ## 主机安全(cwp) 版本:2018-02-28 +### 第 125 次发布 + +发布时间:2024-10-22 01:13:51 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [VulInfoList](https://cloud.tencent.com/document/api/296/19867#VulInfoList) + + * 新增成员:VulFixSwitch + + * **修改成员**:AttackLevel, FixNoNeedRestart, Method + +* [VulStoreListInfo](https://cloud.tencent.com/document/api/296/19867#VulStoreListInfo) + + * **修改成员**:Method, AttackLevel, FixSwitch, SupportDefense + + ### 第 124 次发布 发布时间:2024-09-26 01:14:22 @@ -47413,6 +47783,21 @@ ## TDSQL-C MySQL 版(cynosdb) 版本:2019-01-07 +### 第 109 次发布 + +发布时间:2024-10-22 01:15:19 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeProxySpecs](https://cloud.tencent.com/document/api/1003/94241) + + * 新增入参:ClusterId + + ### 第 108 次发布 发布时间:2024-10-17 01:14:59 @@ -66253,6 +66638,21 @@ ## 腾讯电子签企业版(ess) 版本:2020-11-11 +### 第 191 次发布 + +发布时间:2024-10-22 01:19:30 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateBatchQuickSignUrl](https://cloud.tencent.com/document/api/1323/101058) + + * 新增入参:Intention, CacheApproverInfo + + ### 第 190 次发布 发布时间:2024-10-14 01:18:57 @@ -69881,6 +70281,21 @@ ## 腾讯电子签(基础版)(essbasic) 版本:2021-05-26 +### 第 189 次发布 + +发布时间:2024-10-22 01:19:53 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [ChannelCreateBatchQuickSignUrl](https://cloud.tencent.com/document/api/1420/101059) + + * 新增入参:Intention, CacheApproverInfo + + ### 第 188 次发布 发布时间:2024-10-17 01:19:20 @@ -87845,6 +88260,19 @@ ## 实时互动-教育版(lcic) 版本:2022-08-17 +### 第 62 次发布 + +发布时间:2024-10-22 01:23:38 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateRoom](https://cloud.tencent.com/document/api/1639/80942) + + ### 第 61 次发布 发布时间:2024-10-21 01:18:28 @@ -96617,6 +97045,28 @@ ## 腾讯云可观测平台(monitor) 版本:2018-07-24 +### 第 122 次发布 + +发布时间:2024-10-22 01:25:28 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeAlarmHistories](https://cloud.tencent.com/document/api/248/48684) + + * 新增入参:AlarmTypes + + +修改数据结构: + +* [AlarmHistory](https://cloud.tencent.com/document/api/248/30354#AlarmHistory) + + * 新增成员:PolicyPermissions + + ### 第 121 次发布 发布时间:2024-09-25 01:26:32 @@ -121085,6 +121535,21 @@ ## 流量反欺诈(taf) 版本:2020-02-10 +### 第 19 次发布 + +发布时间:2024-10-22 01:30:02 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [InputBusinessEncryptData](https://cloud.tencent.com/document/api/1031/43310#InputBusinessEncryptData) + + * 新增成员:EncryptMethod, EncryptData, EncryptMode, PaddingType + + ### 第 18 次发布 发布时间:2024-02-05 01:21:52 @@ -130510,6 +130975,25 @@ ## 消息队列 TDMQ(tdmq) 版本:2020-02-17 +### 第 124 次发布 + +发布时间:2024-10-22 01:32:24 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[CreateRabbitMQBinding](https://cloud.tencent.com/document/api/1179/111850)](https://cloud.tencent.com/document/api/#/#) + +修改数据结构: + +* [RocketMQNamespace](https://cloud.tencent.com/document/api/1179/46089#RocketMQNamespace) + + * **修改成员**:InternalEndpoint + + ### 第 123 次发布 发布时间:2024-09-03 02:33:30 @@ -146721,6 +147205,67 @@ ## 消息队列 RocketMQ 版(trocket) 版本:2023-03-08 +### 第 23 次发布 + +发布时间:2024-10-22 01:34:38 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [SourceClusterTopicConfig](https://cloud.tencent.com/document/api/1493/96031#SourceClusterTopicConfig) + + * 新增成员:NamespaceV4, TopicNameV4, FullNamespaceV4 + + +### 第 22 次发布 + +发布时间:2024-10-21 19:32:27 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateConsumerGroup](https://cloud.tencent.com/document/api/1493/97943) + + * **修改入参**:ConsumerGroup + +* [DeleteConsumerGroup](https://cloud.tencent.com/document/api/1493/97942) + + * **修改入参**:ConsumerGroup + +* [DescribeConsumerGroup](https://cloud.tencent.com/document/api/1493/97941) + + * 新增出参:MessageModel + +* [DescribeConsumerGroupList](https://cloud.tencent.com/document/api/1493/101535) + + * **修改入参**:Offset, Limit + +* [DescribeFusionInstanceList](https://cloud.tencent.com/document/api/1493/106745) + + * **修改入参**:Offset, Limit + +* [DescribeRoleList](https://cloud.tencent.com/document/api/1493/98862) + + * **修改入参**:Offset, Limit + + +修改数据结构: + +* [Endpoint](https://cloud.tencent.com/document/api/1493/96031#Endpoint) + + * 新增成员:BillingFlow + +* [RoleItem](https://cloud.tencent.com/document/api/1493/96031#RoleItem) + + * **修改成员**:RoleName, PermRead, PermWrite + + ### 第 21 次发布 发布时间:2024-09-09 02:22:07 @@ -160483,6 +161028,21 @@ ## 私有网络(vpc) 版本:2017-03-12 +### 第 214 次发布 + +发布时间:2024-10-22 01:37:03 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateVpnGatewaySslServer](https://cloud.tencent.com/document/api/215/70289) + + * **修改入参**:LocalAddress + + ### 第 213 次发布 发布时间:2024-10-17 01:36:43 @@ -165506,6 +166066,22 @@ ## Web 应用防火墙(waf) 版本:2018-01-25 +### 第 97 次发布 + +发布时间:2024-10-22 01:38:00 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[DescribeProtectionModes](https://cloud.tencent.com/document/api/627/111851)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[TigaMainClassMode](https://cloud.tencent.com/document/api/627/53609#TigaMainClassMode)](https://cloud.tencent.com/document/api/627/53609#[TigaMainClassMode](https://cloud.tencent.com/document/api/627/53609#TigaMainClassMode)) + ### 第 96 次发布 发布时间:2024-10-14 01:37:11 @@ -168112,6 +168688,25 @@ ## 数据开发治理平台 WeData(wedata) 版本:2021-08-20 +### 第 108 次发布 + +发布时间:2024-10-22 01:38:35 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[DescribeProjectUsers](https://cloud.tencent.com/document/api/1267/111852)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[ProjectUserRole](https://cloud.tencent.com/document/api/1267/76336#ProjectUserRole)](https://cloud.tencent.com/document/api/1267/76336#[ProjectUserRole](https://cloud.tencent.com/document/api/1267/76336#ProjectUserRole)) +* [[ProjectUsersPage](https://cloud.tencent.com/document/api/1267/76336#ProjectUsersPage)](https://cloud.tencent.com/document/api/1267/76336#[ProjectUsersPage](https://cloud.tencent.com/document/api/1267/76336#ProjectUsersPage)) +* [[RolePrivilege](https://cloud.tencent.com/document/api/1267/76336#RolePrivilege)](https://cloud.tencent.com/document/api/1267/76336#[RolePrivilege](https://cloud.tencent.com/document/api/1267/76336#RolePrivilege)) +* [[SystemRole](https://cloud.tencent.com/document/api/1267/76336#SystemRole)](https://cloud.tencent.com/document/api/1267/76336#[SystemRole](https://cloud.tencent.com/document/api/1267/76336#SystemRole)) + ### 第 107 次发布 发布时间:2024-09-25 01:40:14 diff --git a/products.md b/products.md index 2a5756fcf1..9f97cc8712 100644 --- a/products.md +++ b/products.md @@ -36,12 +36,12 @@ | btoe | [区块链可信取证](https://cloud.tencent.com/document/product/1259) | 2024-03-20 01:09:12 | | ca | [腾讯云CA](https://cloud.tencent.com/document/product/1691) | 2024-09-30 01:09:31 | | cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2024-10-18 01:04:41 | -| captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2024-07-26 01:14:48 | +| captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2024-10-22 01:09:32 | | car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2024-06-19 01:14:59 | | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2024-07-26 01:15:04 | | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2024-10-14 01:09:40 | | ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-10-21 01:05:17 | -| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-10-21 01:05:28 | +| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-10-22 01:10:00 | | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-08-28 01:14:49 | | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-10-14 01:10:31 | | cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2024-06-18 01:18:51 | @@ -51,7 +51,7 @@ | cdz | [专属可用区](https://cloud.tencent.com/document/product/1629) | 2024-08-28 01:17:24 | | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2024-10-18 01:06:35 | | cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2024-08-28 01:17:42 | -| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2024-09-19 01:15:41 | +| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2024-10-22 01:11:25 | | chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2024-03-20 01:10:55 | | ciam | [账号风控平台](https://cloud.tencent.com/document/product/1441) | 2024-06-17 01:21:02 | | cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2023-05-18 01:12:07 | @@ -73,14 +73,14 @@ | cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 | | csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2024-09-19 01:21:01 | | csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2024-03-20 01:12:25 | -| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-10-11 01:13:23 | -| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-09-26 01:14:22 | +| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-10-22 01:13:31 | +| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-10-22 01:13:51 | | 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-10-21 01:10:20 | +| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-10-22 01:15:19 | | dasb | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-10-18 01:10:42 | | 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 | -| dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2024-09-03 01:38:02 | +| dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2024-10-22 01:16:15 | | dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2024-07-08 01:12:54 | | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2024-10-15 16:53:15 | | dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2024-09-11 01:32:35 | @@ -94,14 +94,14 @@ | dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2024-09-27 01:14:07 | | eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2024-08-19 01:36:09 | | ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2024-09-05 01:32:54 | -| ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2024-03-20 01:15:52 | +| ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2024-10-22 01:18:29 | | ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2024-08-20 01:35:54 | | eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2024-06-25 01:14:34 | | eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 | -| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-10-21 01:14:01 | +| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-10-22 01:19:02 | | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-10-18 01:14:20 | -| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-10-18 01:14:33 | -| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-10-21 01:14:50 | +| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-10-22 01:19:30 | +| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-10-22 01:19:53 | | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-09-11 01:42:57 | | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-10-21 01:15:09 | | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-07-05 01:10:44 | @@ -117,7 +117,7 @@ | hai | [高性能应用服务](https://cloud.tencent.com/document/product/1721) | 2024-05-29 01:43:09 | | hasim | [高可用物联网卡](https://cloud.tencent.com/document/product/1482) | 2023-05-18 01:29:47 | | hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2024-05-09 01:16:27 | -| hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2024-10-17 01:20:28 | +| hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2024-10-22 01:20:58 | | iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2024-03-20 01:17:43 | | ic | [图片瘦身](https://cloud.tencent.com/document/product/636) | 2023-03-02 01:23:21 | | icr | [对话机器人](https://cloud.tencent.com/document/product/1268) | 2024-04-22 01:17:48 | @@ -137,8 +137,8 @@ | ivld | [媒体智能标签](https://cloud.tencent.com/document/product/1509) | 2024-07-09 14:27:21 | | keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2024-03-20 01:19:20 | | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2024-09-16 01:59:35 | -| lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-10-21 01:18:28 | -| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-09-27 01:20:12 | +| lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-10-22 01:23:38 | +| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-10-22 01:23:51 | | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-09-12 01:53:31 | | lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-10-14 01:23:56 | | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 | @@ -151,9 +151,9 @@ | mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2024-07-02 01:19:41 | | mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2024-08-23 01:55:12 | | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-10-14 01:24:42 | -| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-09-25 01:26:32 | +| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-10-22 01:25:28 | | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-10-17 01:25:25 | -| mqtt | [消息队列 MQTT 版](https://cloud.tencent.com/document/product/1778) | 2024-09-30 01:26:55 | +| mqtt | [消息队列 MQTT 版](https://cloud.tencent.com/document/product/1778) | 2024-10-22 01:26:22 | | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-10-09 01:25:21 | | ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2024-08-16 02:04:04 | | msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2024-04-17 14:48:31 | @@ -169,18 +169,18 @@ | postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2024-09-25 01:28:57 | | privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2024-10-16 01:22:48 | | pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2024-08-09 02:01:53 | -| rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2024-09-25 01:29:30 | +| rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2024-10-22 01:28:15 | | redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2024-10-18 01:23:16 | | region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2024-09-13 02:02:09 | | rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2023-12-25 00:16:39 | | rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 | | rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2024-08-23 02:05:36 | | scf | [云函数](https://cloud.tencent.com/document/product/583) | 2024-10-11 01:27:56 | -| ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2024-09-27 01:25:49 | +| ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2024-10-22 01:28:58 | | smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2024-08-12 02:09:46 | | smop | [腾讯安心用户运营平台](https://cloud.tencent.com/document/product/1310) | 2024-04-11 01:20:38 | | smpn | [营销号码安全](https://cloud.tencent.com/document/product/1127) | 2024-07-09 01:21:06 | -| sms | [短信](https://cloud.tencent.com/document/product/382) | 2024-10-18 10:27:12 | +| sms | [短信](https://cloud.tencent.com/document/product/382) | 2024-10-21 17:47:13 | | soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2024-04-11 01:20:45 | | solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 | | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2024-10-17 01:29:06 | @@ -190,7 +190,7 @@ | ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2024-10-16 01:24:51 | | sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2024-10-18 01:24:58 | | svp | [节省计划](https://cloud.tencent.com/document/product/1761) | 2024-05-23 17:09:13 | -| taf | [流量反欺诈](https://cloud.tencent.com/document/product/1031) | 2024-06-12 02:24:32 | +| taf | [流量反欺诈](https://cloud.tencent.com/document/product/1031) | 2024-10-22 01:30:02 | | tag | [标签](https://cloud.tencent.com/document/product/651) | 2024-08-23 02:09:59 | | tan | [碳引擎](https://cloud.tencent.com/document/product/1498) | 2024-03-20 01:24:15 | | tat | [自动化助手](https://cloud.tencent.com/document/product/1340) | 2024-09-16 02:20:05 | @@ -209,7 +209,7 @@ | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2024-10-18 01:26:11 | | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2024-07-10 01:25:35 | | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2024-06-04 02:17:43 | -| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-09-26 01:34:12 | +| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-10-22 01:32:24 | | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2024-08-07 02:22:38 | | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2024-07-24 02:14:59 | | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-10-18 01:27:56 | @@ -228,10 +228,10 @@ | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2024-09-13 02:18:44 | | tourism | [文旅客情大数据](https://cloud.tencent.com/document/product/1684) | 2024-03-20 01:28:59 | | trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2023-05-18 02:01:19 | -| trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-09-10 02:17:47 | +| trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-10-22 01:34:38 | | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2024-09-09 02:22:32 | | trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-07-31 02:17:29 | -| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-10-21 01:29:36 | +| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-10-22 01:35:03 | | tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-09-25 01:36:42 | | tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-09-25 01:37:11 | | tsi | [腾讯同传系统](https://cloud.tencent.com/document/product/1399) | 2024-08-02 02:22:13 | @@ -244,12 +244,12 @@ | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2024-07-26 02:26:34 | | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2024-03-20 01:30:13 | | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-09-11 19:07:13 | -| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-10-18 01:31:52 | +| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-10-22 01:37:03 | | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-09-06 02:27:27 | | vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-10-16 01:32:39 | -| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-10-14 01:37:11 | +| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-10-22 01:38:00 | | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2024-03-20 01:32:09 | -| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-09-25 01:40:14 | +| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-10-22 01:38:35 | | weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2024-05-15 01:38:36 | | wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 | | yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2024-06-05 02:38:46 | diff --git a/pyproject.toml b/pyproject.toml index 7ec6004fe9..d61487e0ad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ exclude = ["tccli/examples"] [project] name = "tccli" -version = "3.0.1212.1" +version = "3.0.1213.1" authors = [ { name="tencentcloudapi", email="tencentcloudapi@tencent.com" }, ] @@ -24,7 +24,7 @@ classifiers = [ dependencies = [ "jmespath==0.10.0", "six==1.16.0", - "tencentcloud-sdk-python>=3.0.1212", + "tencentcloud-sdk-python>=3.0.1213", ] [project.urls] diff --git a/tccli/__init__.py b/tccli/__init__.py index 658c80664d..2de8ea3847 100644 --- a/tccli/__init__.py +++ b/tccli/__init__.py @@ -1 +1 @@ -__version__ = '3.0.1212.1' +__version__ = '3.0.1213.1' diff --git a/tccli/examples/cfw/v20190904/CreateBlockIgnoreRuleList.md b/tccli/examples/cfw/v20190904/CreateBlockIgnoreRuleList.md index 6bd4174f06..500090185d 100644 --- a/tccli/examples/cfw/v20190904/CreateBlockIgnoreRuleList.md +++ b/tccli/examples/cfw/v20190904/CreateBlockIgnoreRuleList.md @@ -6,13 +6,13 @@ Input: ``` tccli cfw CreateBlockIgnoreRuleList --cli-unfold-argument \ - --Rules.0.IP abc \ - --Rules.0.Domain abc \ - --Rules.0.Direction 0 \ - --Rules.0.EndTime abc \ - --Rules.0.Comment abc \ - --Rules.0.StartTime abc \ - --RuleType 0 + --Rules.0.IP 1.1.1.1 \ + --Rules.0.Domain \ + --Rules.0.Direction 1 \ + --Rules.0.EndTime 2025-01-01 00:00:00 \ + --Rules.0.Comment 阻断访问 \ + --Rules.0.StartTime 2024-10-10 00:00:00 \ + --RuleType 1 ``` Output: diff --git a/tccli/examples/cfw/v20190904/DescribeAddressTemplateList.md b/tccli/examples/cfw/v20190904/DescribeAddressTemplateList.md index b3c570775f..d762968edc 100644 --- a/tccli/examples/cfw/v20190904/DescribeAddressTemplateList.md +++ b/tccli/examples/cfw/v20190904/DescribeAddressTemplateList.md @@ -7,33 +7,41 @@ Input: ``` tccli cfw DescribeAddressTemplateList --cli-unfold-argument \ --Offset 0 \ - --Limit 0 \ - --By abc \ - --Order abc \ - --SearchValue abc + --Limit 20 \ + --SearchValue 出向白名单 \ + --TemplateType ``` Output: ``` { "Response": { - "Total": 0, "Data": [ { - "Uuid": "abc", - "Name": "abc", - "Detail": "abc", - "IpString": "abc", - "InsertTime": "abc", - "UpdateTime": "abc", - "Type": 0, - "RulesNum": 0 + "Detail": "", + "IPNum": 4, + "InsertTime": "2024-02-21 16:33:11", + "IpString": "10.222.0.0/16,10.222.0.14,10.26.26.11,10.115.1.12", + "IpVersion": 0, + "Name": "出向白名单", + "ProtocolType": "", + "RulesNum": 5, + "TemplateId": "ip-863papye", + "Type": 1, + "UpdateTime": "2024-09-11 10:14:42", + "Uuid": "mb_appid_1708504391199" } ], + "DomainTemplateCount": 0, + "IpTemplateCount": 1, "NameList": [ - "abc" + "dora" ], - "RequestId": "abc" + "PortTemplateCount": 0, + "RequestId": "f68d4fbb-4887-4fbb-91cb-e964131d5b4c", + "TemplateQuotaCount": 300, + "Total": 1, + "UsedTemplateCount": 1 } } ``` diff --git a/tccli/examples/cfw/v20190904/DescribeBlockIgnoreList.md b/tccli/examples/cfw/v20190904/DescribeBlockIgnoreList.md index 0a90cc9600..2d10328109 100644 --- a/tccli/examples/cfw/v20190904/DescribeBlockIgnoreList.md +++ b/tccli/examples/cfw/v20190904/DescribeBlockIgnoreList.md @@ -21,51 +21,56 @@ Output: "Response": { "Data": [ { - "RuleType": 0, - "Ioc": "abc", - "IocInfo": "abc", - "Domain": "abc", - "IP": "abc", - "Level": "abc", - "EventName": "abc", - "Direction": 0, - "DirectionList": "0,1", - "Protocol": "abc", - "Address": "abc", - "Action": 0, - "StartTime": "abc", - "EndTime": "abc", - "IgnoreReason": "abc", - "Source": "abc", - "UniqueId": "abc", - "MatchTimes": 0, - "Country": "abc", - "Comment": "abc", - "LastHitTime": "abc", + "Action": 1, + "Address": "土耳其伊斯坦布尔省伊斯坦布尔", + "Comment": "", + "Country": "土耳其", "CustomRule": { - "SrcIP": "abc", - "DstIP": "abc", - "IdsRuleName": "abc", - "IdsRuleId": "abc" - } + "DstIP": "", + "IdsRuleId": "", + "IdsRuleName": "", + "SrcIP": "" + }, + "Direction": 1, + "DirectionList": "1", + "Domain": "", + "EndTime": "2024-10-23 09:50:59", + "EventName": "泛微OA蜜罐探测事件", + "FwType": 15, + "IP": "1.1.1.1", + "IgnoreReason": "0", + "Ioc": "1.1.1.1", + "IocInfo": "", + "IocName": "", + "LastHitTime": "2024-10-21 16:59:09", + "Level": "高危", + "MatchTimes": 563038, + "Protocol": "HTTP", + "RuleType": 1, + "Source": "网络蜜罐(严格模式)", + "StartTime": "2024-09-27 09:50:59", + "UniqueId": "appid-1.1.1.1-1-1" } ], - "Total": 0, + "RequestId": "d4b7cab1-5594-41fb-88c6-67822af94807", "ReturnCode": 0, - "ReturnMsg": "abc", - "SourceList": [ - "abc" - ], + "ReturnMsg": "success", "RuleTypeDataList": [ 0, - 122, - 30, - 55, - 12, - 232, + 5, + 1, + 0, + 0, + 1, 0 ], - "RequestId": "abc" + "SourceList": [ + "基础防御", + "手动添加", + "网络蜜罐(严格模式)", + "虚拟补丁" + ], + "Total": 30 } } ``` diff --git a/tccli/examples/cfw/v20190904/DescribeDefenseSwitch.md b/tccli/examples/cfw/v20190904/DescribeDefenseSwitch.md index 7122c3ca57..7c9c95b287 100644 --- a/tccli/examples/cfw/v20190904/DescribeDefenseSwitch.md +++ b/tccli/examples/cfw/v20190904/DescribeDefenseSwitch.md @@ -17,8 +17,8 @@ Output: "VirtualPatchSwitch": 0, "HistoryOpen": 0, "ReturnCode": 0, - "ReturnMsg": "abc", - "RequestId": "abc" + "ReturnMsg": "sccess", + "RequestId": "RequestId" } } ``` diff --git a/tccli/examples/cfw/v20190904/DescribeEnterpriseSecurityGroupRuleList.md b/tccli/examples/cfw/v20190904/DescribeEnterpriseSecurityGroupRuleList.md index cc1d05c35f..22a3d2bce7 100644 --- a/tccli/examples/cfw/v20190904/DescribeEnterpriseSecurityGroupRuleList.md +++ b/tccli/examples/cfw/v20190904/DescribeEnterpriseSecurityGroupRuleList.md @@ -48,7 +48,8 @@ Output: "Strategy": 1, "TargetId": "cfwrg-b803523898534bcbd9b7d2c7d92c175e1712804418", "TargetType": 100, - "Uuid": "cfw_newsg_1300448058_0.0.0.0/0_17228848067531" + "Uuid": "cfw_newsg_1300448058_0.0.0.0/0_17228848067531", + "Id": 61257 } ], "Enable": 2, diff --git a/tccli/examples/cfw/v20190904/DescribeFwSyncStatus.md b/tccli/examples/cfw/v20190904/DescribeFwSyncStatus.md index 0d4b771292..3ad4b829bc 100644 --- a/tccli/examples/cfw/v20190904/DescribeFwSyncStatus.md +++ b/tccli/examples/cfw/v20190904/DescribeFwSyncStatus.md @@ -1,20 +1,20 @@ -**Example 1: 获取防火墙同步状态** +**Example 1: 获取防火墙路由同步状态** -获取防火墙同步状态,一般在执行同步操作后查询 +获取防火墙路由同步状态 Input: ``` tccli cfw DescribeFwSyncStatus --cli-unfold-argument \ - --SyncType abc + --SyncType Route ``` Output: ``` { "Response": { - "SyncStatus": 0, - "RequestId": "abc" + "RequestId": "00075104-8d9e-4b29-a0b1-b0609a4ce726", + "SyncStatus": 0 } } ``` diff --git a/tccli/examples/cfw/v20190904/DescribeIPStatusList.md b/tccli/examples/cfw/v20190904/DescribeIPStatusList.md index 7fdf4f8dd9..37e9fd36dc 100644 --- a/tccli/examples/cfw/v20190904/DescribeIPStatusList.md +++ b/tccli/examples/cfw/v20190904/DescribeIPStatusList.md @@ -1,27 +1,27 @@ -**Example 1: 告警中心-资产安全事件统计-资产详情** - +**Example 1: 查询IP状态接口示例** +查询IP状态接口 Input: ``` tccli cfw DescribeIPStatusList --cli-unfold-argument \ - --IPList 1.2.3.4 + --IPList 124.220.226.180 ``` Output: ``` { "Response": { + "RequestId": "3fc3d1f9-b80f-4c2b-88c9-e3a8c0ec5ddd", + "ReturnCode": 0, + "ReturnMsg": "success", "StatusList": [ { - "IP": "abc", - "Status": 0 + "IP": "124.220.226.180", + "Status": 1 } - ], - "ReturnCode": 0, - "ReturnMsg": "abc", - "RequestId": "abc" + ] } } ``` diff --git a/tccli/examples/cfw/v20190904/DescribeLogs.md b/tccli/examples/cfw/v20190904/DescribeLogs.md index 7f9be3b7f1..2f19b6a8a7 100644 --- a/tccli/examples/cfw/v20190904/DescribeLogs.md +++ b/tccli/examples/cfw/v20190904/DescribeLogs.md @@ -20,7 +20,7 @@ Output: ``` { "Response": { - "Data": "[]", + "Data": "[{\"StartTime\":\"2024-09-21 12:00:00\",\"EndTime\":\"2024-09-21 12:01:00\",\"SourceIp\":\"91.148.190.158\",\"TargetIp\":\"81.70.48.154\",\"SourcePort\":\"50865\",\"TargetPort\":\"17589\",\"Direction\":\"1\",\"Domain\":\"\",\"Protocol\":\"TCP\",\"Address\":\"保加利亚索非亚州索非亚\",\"Supplier\":\"Tamatiya EOOD\",\"AssetName\":\"\",\"ReceivePackageNum\":1,\"ReceiveBytesNum\":44,\"SendPackageNum\":0,\"SendBytesNum\":0,\"FlowPackageNum\":1,\"FlowBytesNum\":44,\"AssetId\":\"\",\"Tags\":\"\"},{\"StartTime\":\"2024-09-21 12:00:00\",\"EndTime\":\"2024-09-21 12:00:11\",\"SourceIp\":\"80.64.30.109\",\"TargetIp\":\"81.70.41.63\",\"SourcePort\":\"42573\",\"TargetPort\":\"38847\",\"Direction\":\"1\",\"Domain\":\"\",\"Protocol\":\"TCP\",\"Address\":\"俄罗斯莫斯科\",\"Supplier\":\"Hivelocity Inc\",\"AssetName\":\"\",\"ReceivePackageNum\":2,\"ReceiveBytesNum\":80,\"SendPackageNum\":1,\"SendBytesNum\":40,\"FlowPackageNum\":3,\"FlowBytesNum\":120,\"AssetId\":\"\",\"Tags\":\"\"},{\"StartTime\":\"2024-09-21 12:00:00\",\"EndTime\":\"2024-09-21 12:01:00\",\"SourceIp\":\"91.148.190.158\",\"TargetIp\":\"81.70.48.154\",\"SourcePort\":\"50865\",\"TargetPort\":\"17589\",\"Direction\":\"1\",\"Domain\":\"\",\"Protocol\":\"TCP\",\"Address\":\"保加利亚索非亚州索非亚\",\"Supplier\":\"Tamatiya EOOD\",\"AssetName\":\"league-规则测试靶机-勿删\",\"ReceivePackageNum\":1,\"ReceiveBytesNum\":44,\"SendPackageNum\":0,\"SendBytesNum\":0,\"FlowPackageNum\":1,\"FlowBytesNum\":44,\"AssetId\":\"ins-mec2asax\",\"Tags\":\"\"},{\"StartTime\":\"2024-09-21 12:00:00\",\"EndTime\":\"2024-09-21 12:00:11\",\"SourceIp\":\"89.248.165.16\",\"TargetIp\":\"81.70.41.63\",\"SourcePort\":\"52015\",\"TargetPort\":\"38433\",\"Direction\":\"1\",\"Domain\":\"\",\"Protocol\":\"TCP\",\"Address\":\"荷兰北荷兰省阿姆斯特丹\",\"Supplier\":\"IP Volume inc\",\"AssetName\":\"\",\"ReceivePackageNum\":2,\"ReceiveBytesNum\":88,\"SendPackageNum\":1,\"SendBytesNum\":40,\"FlowPackageNum\":3,\"FlowBytesNum\":128,\"AssetId\":\"\",\"Tags\":\"\"},{\"StartTime\":\"2024-09-21 12:00:00\",\"EndTime\":\"2024-09-21 12:00:11\",\"SourceIp\":\"80.64.30.109\",\"TargetIp\":\"81.70.41.63\",\"SourcePort\":\"42573\",\"TargetPort\":\"38847\",\"Direction\":\"1\",\"Domain\":\"\",\"Protocol\":\"TCP\",\"Address\":\"俄罗斯莫斯科\",\"Supplier\":\"Hivelocity Inc\",\"AssetName\":\"ins-r0jh352d\",\"ReceivePackageNum\":2,\"ReceiveBytesNum\":80,\"SendPackageNum\":1,\"SendBytesNum\":40,\"FlowPackageNum\":3,\"FlowBytesNum\":120,\"AssetId\":\"ins-r0jh352d\",\"Tags\":\"\"},{\"StartTime\":\"2024-09-21 12:00:00\",\"EndTime\":\"2024-09-21 12:00:11\",\"SourceIp\":\"89.248.165.16\",\"TargetIp\":\"81.70.41.63\",\"SourcePort\":\"52015\",\"TargetPort\":\"38433\",\"Direction\":\"1\",\"Domain\":\"\",\"Protocol\":\"TCP\",\"Address\":\"荷兰北荷兰省阿姆斯特丹\",\"Supplier\":\"IP Volume inc\",\"AssetName\":\"ins-r0jh352d\",\"ReceivePackageNum\":2,\"ReceiveBytesNum\":88,\"SendPackageNum\":1,\"SendBytesNum\":40,\"FlowPackageNum\":3,\"FlowBytesNum\":128,\"AssetId\":\"ins-r0jh352d\",\"Tags\":\"\"}]", "RequestId": "e368c536-0331-46d3-b888-90c27152970f", "ReturnCode": 0, "ReturnMsg": "success", diff --git a/tccli/examples/cfw/v20190904/DescribeNatFwDnatRule.md b/tccli/examples/cfw/v20190904/DescribeNatFwDnatRule.md index 4ab2abd2c4..529dd68cc1 100644 --- a/tccli/examples/cfw/v20190904/DescribeNatFwDnatRule.md +++ b/tccli/examples/cfw/v20190904/DescribeNatFwDnatRule.md @@ -1,21 +1,13 @@ -**Example 1: 查询Nat防火墙Dnat规则** +**Example 1: 查询Nat防火墙Dnat规则示例** -查询Nat防火墙Dnat规则 +查询Nat防火墙Dnat规则示例 Input: ``` tccli cfw DescribeNatFwDnatRule --cli-unfold-argument \ - --Index abc \ - --Filters.0.Name abc \ - --Filters.0.Values abc \ - --Filters.0.OperatorType 0 \ - --Limit 1 \ - --Offset 1 \ - --StartTime abc \ - --EndTime abc \ - --Order abc \ - --By abc + --Limit 3 \ + --Offset 0 ``` Output: @@ -24,20 +16,44 @@ Output: "Response": { "Data": [ { - "Id": 0, - "IpProtocol": "abc", - "PublicIpAddress": "abc", - "PublicPort": 0, - "PrivateIpAddress": "abc", - "PrivatePort": 0, - "Description": "abc", + "Description": "自动化勿删", + "FwInsId": "cfwnat-ef74fdaf", + "Id": 6176, + "IpProtocol": "TCP", "IsReferenced": 0, - "FwInsId": "abc", - "NatGwId": "abc" + "NatGwId": "", + "PrivateIpAddress": "10.8.1.12", + "PrivatePort": 8080, + "PublicIpAddress": "124.223.94.81", + "PublicPort": 8080 + }, + { + "Description": "自动化勿删", + "FwInsId": "cfwnat-ef74fdaf", + "Id": 6175, + "IpProtocol": "TCP", + "IsReferenced": 0, + "NatGwId": "", + "PrivateIpAddress": "10.8.2.4", + "PrivatePort": 80, + "PublicIpAddress": "124.223.94.81", + "PublicPort": 80 + }, + { + "Description": "test", + "FwInsId": "cfwnat-dce8698e", + "Id": 6126, + "IpProtocol": "UDP", + "IsReferenced": 0, + "NatGwId": "", + "PrivateIpAddress": "172.16.0.17", + "PrivatePort": 65530, + "PublicIpAddress": "43.138.154.20", + "PublicPort": 65530 } ], - "Total": 1, - "RequestId": "abc" + "RequestId": "d6ab3ac9-0902-48f3-8753-c0a48adcfc3f", + "Total": 5 } } ``` diff --git a/tccli/examples/cfw/v20190904/ModifyAddressTemplate.md b/tccli/examples/cfw/v20190904/ModifyAddressTemplate.md index 948aa30e94..72d38ee417 100644 --- a/tccli/examples/cfw/v20190904/ModifyAddressTemplate.md +++ b/tccli/examples/cfw/v20190904/ModifyAddressTemplate.md @@ -6,11 +6,12 @@ Input: ``` tccli cfw ModifyAddressTemplate --cli-unfold-argument \ - --Uuid abc \ - --Name abc \ - --Detail abc \ - --IpString abc \ - --Type 0 + --Name dora \ + --Detail \ + --IpString 1.1.1.1 \ + --Type 1 \ + --ProtocolType \ + --Uuid mb_appid_1708504391199 ``` Output: @@ -18,8 +19,8 @@ Output: { "Response": { "Status": 0, - "Uuid": "abc", - "RequestId": "abc" + "Uuid": "mb_appid_1708504391199", + "RequestId": "RequestId" } } ``` diff --git a/tccli/examples/cfw/v20190904/ModifyBlockIgnoreRule.md b/tccli/examples/cfw/v20190904/ModifyBlockIgnoreRule.md index 606e445a2a..22cdfdfb5b 100644 --- a/tccli/examples/cfw/v20190904/ModifyBlockIgnoreRule.md +++ b/tccli/examples/cfw/v20190904/ModifyBlockIgnoreRule.md @@ -6,12 +6,12 @@ Input: ``` tccli cfw ModifyBlockIgnoreRule --cli-unfold-argument \ - --Rule.IP abc \ - --Rule.Domain abc \ + --Rule.IP 1.1.1.1 \ + --Rule.Domain \ --Rule.Direction 0 \ - --Rule.EndTime abc \ - --Rule.Comment abc \ - --Rule.StartTime abc \ + --Rule.EndTime 2025-01-01 00:00:00 \ + --Rule.Comment 阻断访问 \ + --Rule.StartTime 2024-01-01 00:00:00 \ --RuleType 0 ``` diff --git a/tccli/examples/cwp/v20180228/DescribeAlarmIncidentNodes.md b/tccli/examples/cwp/v20180228/DescribeAlarmIncidentNodes.md index dbb8d86491..d79b69eef7 100644 --- a/tccli/examples/cwp/v20180228/DescribeAlarmIncidentNodes.md +++ b/tccli/examples/cwp/v20180228/DescribeAlarmIncidentNodes.md @@ -6,8 +6,8 @@ Input: ``` tccli cwp DescribeAlarmIncidentNodes --cli-unfold-argument \ - --Uuid abc \ - --AlarmVid abc \ + --Uuid 1c26308c-5493-4eaf-a817-112ec25f499e \ + --AlarmVid 23eeeb4347bdd26bfc6b7ee9a3b755dd \ --AlarmTime 0 ``` @@ -17,30 +17,30 @@ Output: "Response": { "IncidentNodes": [ { - "IncidentId": "abc", - "TableName": "abc", + "IncidentId": "xxxx-xx-xx-xxxx", + "TableName": "events_bash", "Vertex": [ { "Type": 0, - "Vid": "abc", - "ParentVid": "abc", + "Vid": "23eeeb4347bdd26bfc6b7ee9a3b755dd", + "ParentVid": "23eeeb4347bdd26bfc6b7ee9a3b755dd", "IsLeaf": true, - "ProcNamePrefix": "abc", - "ProcNameMd5": "abc", - "CmdLinePrefix": "abc", - "CmdLineMd5": "abc", - "FilePathPrefix": "abc", - "AddressPrefix": "abc", + "ProcNamePrefix": "python", + "ProcNameMd5": "23eeeb4347bdd26bfc6b7ee9a3b755dd", + "CmdLinePrefix": "python", + "CmdLineMd5": "23eeeb4347bdd26bfc6b7ee9a3b755dd", + "FilePathPrefix": "/root", + "AddressPrefix": "/root", "IsWeDetect": true, "IsAlarm": true, - "FilePathMd5": "abc", - "AddressMd5": "abc" + "FilePathMd5": "887904812217cca9bc2b9adb875daf42", + "AddressMd5": "887904812217cca9bc2b9adb875daf42" } ], "VertexCount": 0 } ], - "RequestId": "abc" + "RequestId": "xxxxxxxx-1234-5678-9101-yyyyyyyyyy" } } ``` diff --git a/tccli/examples/cwp/v20180228/DescribeAlarmVertexId.md b/tccli/examples/cwp/v20180228/DescribeAlarmVertexId.md index 578213b542..a576d942eb 100644 --- a/tccli/examples/cwp/v20180228/DescribeAlarmVertexId.md +++ b/tccli/examples/cwp/v20180228/DescribeAlarmVertexId.md @@ -6,7 +6,7 @@ Input: ``` tccli cwp DescribeAlarmVertexId --cli-unfold-argument \ - --Uuid abc \ + --Uuid 1c26308c-5493-4eaf-a817-112ec25f499e \ --StartTime 0 \ --EndTime 0 ``` @@ -16,9 +16,9 @@ Output: { "Response": { "AlarmVertexIds": [ - "abc" + "23eeeb4347bdd26bfc6b7ee9a3b755dd" ], - "RequestId": "abc" + "RequestId": "xxxxxxxx-1234-5678-9101-yyyyyyyyyy" } } ``` diff --git a/tccli/examples/cwp/v20180228/DescribeAssetTypes.md b/tccli/examples/cwp/v20180228/DescribeAssetTypes.md index ed5299dbb7..012a97a18a 100644 --- a/tccli/examples/cwp/v20180228/DescribeAssetTypes.md +++ b/tccli/examples/cwp/v20180228/DescribeAssetTypes.md @@ -11,11 +11,11 @@ Output: ``` { "Response": { - "RequestId": "xx", + "RequestId": "xxxxxxxx-1234-5678-9101-yyyyyyyyyy", "Types": [ { "Id": 1, - "Name": "xx" + "Name": "name" } ] } diff --git a/tccli/examples/cwp/v20180228/DescribeBaselineAnalysisData.md b/tccli/examples/cwp/v20180228/DescribeBaselineAnalysisData.md index 132fad617f..ff6d015b6c 100644 --- a/tccli/examples/cwp/v20180228/DescribeBaselineAnalysisData.md +++ b/tccli/examples/cwp/v20180228/DescribeBaselineAnalysisData.md @@ -14,8 +14,8 @@ Output: { "Response": { "RequestId": "f1dd9f5e-4ac0-48a7-9410-c86d24656d9a", - "LatestScanTime": "最近基线检测时间", - "IsGlobal": "扫描范围是否全部服务器", + "LatestScanTime": "2019-12-25 11:57:15", + "IsGlobal": 1, "ScanHostCount": 170, "ScanRuleCount": 25, "IfFirstScan": 1 diff --git a/tccli/examples/cwp/v20180228/DescribeBaselineStrategyDetail.md b/tccli/examples/cwp/v20180228/DescribeBaselineStrategyDetail.md index 61f7b16cfc..2962b9f849 100644 --- a/tccli/examples/cwp/v20180228/DescribeBaselineStrategyDetail.md +++ b/tccli/examples/cwp/v20180228/DescribeBaselineStrategyDetail.md @@ -16,7 +16,7 @@ Output: "RequestId": "req-566234234", "PassRate": 50, "StrategyName": "等保一级策略", - "ScanCycle": 1, + "ScanCycle": "1", "ScanAt": "00:00:00", "IsGlobal": 1, "IfScanned": 1, @@ -28,9 +28,7 @@ Output: "2003" ], "CategoryIds": [ - 1, - 2, - 3 + "1" ] } } diff --git a/tccli/examples/cwp/v20180228/DescribeCanNotSeparateMachine.md b/tccli/examples/cwp/v20180228/DescribeCanNotSeparateMachine.md index 8520904667..c4ec091fa2 100644 --- a/tccli/examples/cwp/v20180228/DescribeCanNotSeparateMachine.md +++ b/tccli/examples/cwp/v20180228/DescribeCanNotSeparateMachine.md @@ -17,15 +17,15 @@ Output: "Response": { "List": [ { - "Uuid": "xx", - "PrivateIp": "xx", - "PublicIp": "xx", - "Alias": "xx", + "Uuid": "1c26308c-5493-4eaf-a817-112ec25f499e", + "PrivateIp": "xx.xx.xx.xx", + "PublicIp": "xx.xx.xx.xx", + "Alias": "a", "Reason": 1, - "Quuid": "xx" + "Quuid": "1c26308c-5493-4eaf-a817-112ec25f499e" } ], - "RequestId": "xx" + "RequestId": "xxxxxxxx-1234-5678-9101-yyyyyyyyyy" } } ``` diff --git a/tccli/examples/cwp/v20180228/DescribeEmergencyVulList.md b/tccli/examples/cwp/v20180228/DescribeEmergencyVulList.md index 63b03d2a62..e1c2c850ae 100644 --- a/tccli/examples/cwp/v20180228/DescribeEmergencyVulList.md +++ b/tccli/examples/cwp/v20180228/DescribeEmergencyVulList.md @@ -16,20 +16,23 @@ Output: "Response": { "List": [ { - "VulId": 1, - "Level": 1, - "VulName": "abc", - "PublishDate": "abc", - "Category": 1, - "Status": 1, - "LastScanTime": "abc", - "Progress": 1, - "CveId": "abc", - "CvssScore": 0, - "Labels": "abc", - "HostCount": 1, - "IsSupportDefense": 1, - "DefenseAttackCount": 1 + "VulId": 105374, + "Level": 4, + "VulName": "Apache OFBiz SSRF到远程代码执行漏洞(CVE-2024-45507)", + "PublishDate": "2024-09-04 00:00:00", + "Category": 2, + "Status": 2, + "LastScanTime": "2024-10-21 14:27:07", + "Progress": 0, + "CveId": "CVE-2024-45507", + "CvssScore": 9.8, + "Labels": "远程利用", + "HostCount": 0, + "IsSupportDefense": 0, + "DefenseAttackCount": 0, + "Method": 1, + "AttackLevel": 0, + "DefenseState": false } ], "TotalCount": 1, diff --git a/tccli/examples/cwp/v20180228/DescribeEventByTable.md b/tccli/examples/cwp/v20180228/DescribeEventByTable.md index 03d3e7efd4..ac39bed11a 100644 --- a/tccli/examples/cwp/v20180228/DescribeEventByTable.md +++ b/tccli/examples/cwp/v20180228/DescribeEventByTable.md @@ -6,7 +6,7 @@ Input: ``` tccli cwp DescribeEventByTable --cli-unfold-argument \ - --TableName abc \ + --TableName events_bash \ --Ids 0 ``` @@ -14,9 +14,9 @@ Output: ``` { "Response": { - "Type": "abc", - "Value": "abc", - "RequestId": "abc" + "Type": "bash", + "Value": "value", + "RequestId": "xxxxxxxx-1234-5678-9101-yyyyyyyyyy" } } ``` diff --git a/tccli/examples/cwp/v20180228/DescribeLogKafkaDeliverInfo.md b/tccli/examples/cwp/v20180228/DescribeLogKafkaDeliverInfo.md index 4ec8f9425f..b1f1ea0e76 100644 --- a/tccli/examples/cwp/v20180228/DescribeLogKafkaDeliverInfo.md +++ b/tccli/examples/cwp/v20180228/DescribeLogKafkaDeliverInfo.md @@ -11,34 +11,37 @@ Output: ``` { "Response": { - "KafkaEnvName": "abc", - "KafkaId": "abc", - "Zone": "abc", - "Az": "abc", - "VpcId": "abc", - "SubnetId": "abc", + "KafkaEnvName": "name", + "KafkaId": "ckafka-xxx", + "Zone": "10006", + "Az": "az", + "VpcId": "vpc-xxx", + "SubnetId": "subnet-xxx", "AccessType": 1, - "AccessAddr": "abc", + "AccessAddr": "addr", "DeliverStatus": 1, - "InsVersion": "abc", + "InsVersion": "1.0.1", "BandWidth": 0, "DiskSize": 0, - "Username": "abc", + "Username": "username", "DeliverTypeDetails": [ { "SecurityType": 1, "LogType": [ 0 ], - "TopicId": "abc", - "TopicName": "abc", + "TopicId": "topic-xxx", + "TopicName": "topic-name", "Switch": 1, "Status": 1, - "ErrInfo": "abc", - "StatusTime": 0 + "ErrInfo": "err", + "StatusTime": 0, + "LogName": "log-name", + "LogSetId": "cls-xxx", + "Region": "ap-guangzhou" } ], - "RequestId": "abc" + "RequestId": "xxxxxxxx-1234-5678-9101-yyyyyyyyyy" } } ``` diff --git a/tccli/examples/cwp/v20180228/DescribeProductStatus.md b/tccli/examples/cwp/v20180228/DescribeProductStatus.md index db9445991a..a8042c1507 100644 --- a/tccli/examples/cwp/v20180228/DescribeProductStatus.md +++ b/tccli/examples/cwp/v20180228/DescribeProductStatus.md @@ -12,14 +12,14 @@ Output: { "Response": { "ReturnCode": 1, - "ReturnMsg": "xx", + "ReturnMsg": "msg", "Data": { "FWUserStatus": 1, "CanApplyTrial": true, - "CanNotApplyReason": "xx", - "LastTrialTime": "xx" + "CanNotApplyReason": "reason", + "LastTrialTime": " 2019-12-25 11:57:15" }, - "RequestId": "xx" + "RequestId": "xxxxxxxx-1234-5678-9101-yyyyyyyyyy" } } ``` diff --git a/tccli/examples/cwp/v20180228/DescribePublicProxyInstallCommand.md b/tccli/examples/cwp/v20180228/DescribePublicProxyInstallCommand.md index 3c01375a8b..5f73a7bbba 100644 --- a/tccli/examples/cwp/v20180228/DescribePublicProxyInstallCommand.md +++ b/tccli/examples/cwp/v20180228/DescribePublicProxyInstallCommand.md @@ -1,6 +1,6 @@ -**Example 1: DescribePublicProxyInstallCommand** - +**Example 1: 示例** + Input: @@ -13,9 +13,9 @@ Output: ``` { "Response": { - "KeepAliveCommand": "abc", - "NginxCommand": "abc", - "RequestId": "abc" + "KeepAliveCommand": "", + "NginxCommand": "wget --no-check-certificate https://up.yd.qcloud.com/ydeyes/download/install_proxy.sh -O install_proxy.sh && sudo bash install_proxy.sh", + "RequestId": "5921b751-84f3-4332-a89f-fca2a139bd10" } } ``` diff --git a/tccli/examples/cwp/v20180228/DescribeScanTaskDetails.md b/tccli/examples/cwp/v20180228/DescribeScanTaskDetails.md index 891ad2db12..213eed281c 100644 --- a/tccli/examples/cwp/v20180228/DescribeScanTaskDetails.md +++ b/tccli/examples/cwp/v20180228/DescribeScanTaskDetails.md @@ -15,47 +15,56 @@ Output: { "Response": { "ScanContent": [ - "xx" + "cve" ], "VulInfo": [ { - "CveId": "xx", - "CvssScore": 0.0, - "Name": "xx", - "Reference": "xx", + "CveId": "cve-xx", + "CvssScore": 0, + "Name": "name", + "Reference": "ref", "Level": 1, - "Fix": "xx", - "Descript": "xx", - "PublishTime": "xx", + "Fix": "fix", + "Descript": "desc", + "PublishTime": " 2019-12-25 11:57:15", "VulId": 1, - "Cvss": "xx", + "Cvss": "cvss", "VulCategory": 1 } ], "ScanMachineCount": 1, "ScanTaskDetailList": [ { - "Status": "xx", - "Uuid": "xx", - "ScanEndTime": "xx", + "Status": "status", + "Uuid": "1c26308c-5493-4eaf-a817-112ec25f499e", + "ScanEndTime": " 2019-12-25 11:57:15", "FailType": 1, - "HostName": "xx", - "ScanBeginTime": "xx", - "OsName": "xx", - "Quuid": "xx", - "HostIp": "xx", + "HostName": "hostname", + "ScanBeginTime": " 2019-12-25 11:57:15", + "OsName": "osname", + "Quuid": "1c26308c-5493-4eaf-a817-112ec25f499e", + "HostIp": "xx.xx.xx.xx", "RiskNum": 1, "Id": 1, - "Description": "xx" + "Description": "desc", + "MachineWanIp": "xx.xx.xx.xx", + "MachineExtraInfo": { + "WanIP": "xx.xx.xx.xx", + "PrivateIP": "xx.xx.xx.xx", + "NetworkType": 0, + "NetworkName": "name", + "InstanceID": "ins-xxx", + "HostName": "hostname" + } } ], - "ScanEndTime": "xx", + "ScanEndTime": " 2019-12-25 11:57:15", "ScanTime": 1, "ScanProgress": 1, "ScanLeftTime": 1, - "ScanBeginTime": "xx", + "ScanBeginTime": " 2019-12-25 11:57:15", "TotalCount": 1, - "RequestId": "xx", + "RequestId": "xxxxxxxx-1234-5678-9101-yyyyyyyyyy", "RiskEventCount": 1, "VulCount": 1, "RiskMachineCount": 1, diff --git a/tccli/examples/cwp/v20180228/DescribeScanVulSetting.md b/tccli/examples/cwp/v20180228/DescribeScanVulSetting.md index 6cbad20fc1..54cbe94442 100644 --- a/tccli/examples/cwp/v20180228/DescribeScanVulSetting.md +++ b/tccli/examples/cwp/v20180228/DescribeScanVulSetting.md @@ -11,20 +11,18 @@ Output: ``` { "Response": { - "VulCategories": "abc", - "VulLevels": "abc", + "ClickTimeout": 0, + "EnableScan": 0, + "EndTime": "23:50", + "RequestId": "54111d3a-373d-4175-80dd-8d855b595647", + "ScanMethod": 0, + "StartTime": "00:40", "TimerInterval": 1, - "TimerTime": "abc", + "TimerTime": "00:40", + "Uuids": [], + "VulCategories": "4;5;1;2", "VulEmergency": 1, - "StartTime": "abc", - "EnableScan": 1, - "EndTime": "abc", - "ClickTimeout": 1, - "Uuids": [ - "abc" - ], - "ScanMethod": 1, - "RequestId": "abc" + "VulLevels": "1;2;3;4" } } ``` diff --git a/tccli/examples/cwp/v20180228/DescribeScreenAttackHotspot.md b/tccli/examples/cwp/v20180228/DescribeScreenAttackHotspot.md index ffbc301abe..ab71f29b5d 100644 --- a/tccli/examples/cwp/v20180228/DescribeScreenAttackHotspot.md +++ b/tccli/examples/cwp/v20180228/DescribeScreenAttackHotspot.md @@ -13,14 +13,14 @@ Output: "Response": { "List": [ { - "EventName": "xx", - "SrcIp": "xx", - "Region": "xx", - "DstIp": "xx", - "CreatedTime": "xx" + "CreatedTime": "2022-06-28 19:27:26", + "DstIp": "xx.xx.xx.xx", + "EventName": "Atlassian Crowd和Atlassian Crowd Data Center 输入验证错误漏洞(CVE-2019-11580)", + "Region": "", + "SrcIp": "xx.xx.xx.xx" } ], - "RequestId": "0e078e5e-32bf-41ba-853c-88c697888d99" + "RequestId": "3dcfeabc-c2fa-4e5c-a1f7-9f28ce88f554" } } ``` diff --git a/tccli/examples/cwp/v20180228/DescribeScreenBroadcasts.md b/tccli/examples/cwp/v20180228/DescribeScreenBroadcasts.md index cfdb572c2d..16f7e63efd 100644 --- a/tccli/examples/cwp/v20180228/DescribeScreenBroadcasts.md +++ b/tccli/examples/cwp/v20180228/DescribeScreenBroadcasts.md @@ -13,13 +13,13 @@ Output: "Response": { "List": [ { - "Time": "xx", + "Id": 331, "Level": 1, - "Id": 1, - "Title": "xx" + "Time": "2024-08-07 18:57:27", + "Title": "数据构造_1723028247" } ], - "RequestId": "0e078e5e-32bf-41ba-853c-88c697888d99" + "RequestId": "185a857f-c103-4e77-9380-a523f622dc90" } } ``` diff --git a/tccli/examples/cwp/v20180228/DescribeScreenDefenseTrends.md b/tccli/examples/cwp/v20180228/DescribeScreenDefenseTrends.md index fcb64e6590..f202f8ae5e 100644 --- a/tccli/examples/cwp/v20180228/DescribeScreenDefenseTrends.md +++ b/tccli/examples/cwp/v20180228/DescribeScreenDefenseTrends.md @@ -11,14 +11,89 @@ Output: ``` { "Response": { + "RequestId": "ec95b0c7-a1f9-4806-991a-f600bb99edb2", "TrendsChart": [ { - "Y": 1, - "X": "xx", - "Type": "xx" + "Type": "攻击次数", + "X": "2024-09-21", + "Y": 402 + }, + { + "Type": "防御次数", + "X": "2024-09-21", + "Y": 402 + }, + { + "Type": "攻击次数", + "X": "2024-09-22", + "Y": 319 + }, + { + "Type": "防御次数", + "X": "2024-09-22", + "Y": 319 + }, + { + "Type": "攻击次数", + "X": "2024-09-23", + "Y": 517 + }, + { + "Type": "防御次数", + "X": "2024-09-23", + "Y": 517 + }, + { + "Type": "攻击次数", + "X": "2024-09-24", + "Y": 486 + }, + { + "Type": "防御次数", + "X": "2024-09-24", + "Y": 486 + }, + { + "Type": "攻击次数", + "X": "2024-09-25", + "Y": 422 + }, + { + "Type": "防御次数", + "X": "2024-09-25", + "Y": 422 + }, + { + "Type": "攻击次数", + "X": "2024-09-26", + "Y": 477 + }, + { + "Type": "防御次数", + "X": "2024-09-26", + "Y": 477 + }, + { + "Type": "攻击次数", + "X": "2024-09-27", + "Y": 461 + }, + { + "Type": "防御次数", + "X": "2024-09-27", + "Y": 461 + }, + { + "Type": "攻击次数", + "X": "2024-09-28", + "Y": 448 + }, + { + "Type": "防御次数", + "X": "2024-09-28", + "Y": 448 } - ], - "RequestId": "0e078e5e-32bf-41ba-853c-88c697888d99" + ] } } ``` diff --git a/tccli/examples/cwp/v20180228/DescribeScreenEmergentMsg.md b/tccli/examples/cwp/v20180228/DescribeScreenEmergentMsg.md index 255d1a4af3..7ba6d850a5 100644 --- a/tccli/examples/cwp/v20180228/DescribeScreenEmergentMsg.md +++ b/tccli/examples/cwp/v20180228/DescribeScreenEmergentMsg.md @@ -13,12 +13,12 @@ Output: "Response": { "MessageInfo": [ { - "Text": "xx", - "Type": 1, - "Title": "xx" + "Text": "新支持Jeecg-boot积木报表jmreport权限绕过漏洞检测,披露时间:2024-08-05 00:00:00", + "Title": "紧急通知", + "Type": 0 } ], - "RequestId": "xx" + "RequestId": "0b2443b9-da24-449d-a07d-7ba389846886" } } ``` diff --git a/tccli/examples/cwp/v20180228/DescribeScreenEventsCnt.md b/tccli/examples/cwp/v20180228/DescribeScreenEventsCnt.md index 5720f28b27..043ffe66fc 100644 --- a/tccli/examples/cwp/v20180228/DescribeScreenEventsCnt.md +++ b/tccli/examples/cwp/v20180228/DescribeScreenEventsCnt.md @@ -15,15 +15,19 @@ Output: { "Category": [ { - "Name": "xx", - "Value": 1 + "Name": "入侵检测", + "Value": 41343 + }, + { + "Name": "网络攻击", + "Value": 5795 } ], - "Total": "xx", - "Title": "xx" + "Title": "待处理风险总数", + "Total": 47138 } ], - "RequestId": "0e078e5e-32bf-41ba-853c-88c697888d99" + "RequestId": "42f1c2a0-088c-43bb-909f-b9d54809b1d1" } } ``` diff --git a/tccli/examples/cwp/v20180228/DescribeScreenHostInvasion.md b/tccli/examples/cwp/v20180228/DescribeScreenHostInvasion.md index bd102bfe75..f1f2ef62fe 100644 --- a/tccli/examples/cwp/v20180228/DescribeScreenHostInvasion.md +++ b/tccli/examples/cwp/v20180228/DescribeScreenHostInvasion.md @@ -15,51 +15,51 @@ Output: "Response": { "DefendAttackLog": [ { - "DstIp": "xx", - "Uuid": "xx", - "VulType": "xx", + "DstIp": "xx.xx.xx.xx", + "Uuid": "1c26308c-5493-4eaf-a817-112ec25f499e", + "VulType": "web", "SrcPort": 1, - "HttpMethod": "xx", - "Quuid": "xx", - "CreatedTime": "xx", + "HttpMethod": "POST", + "Quuid": "1c26308c-5493-4eaf-a817-112ec25f499e", + "CreatedTime": " 2019-12-25 11:57:15", "DstPort": 1, "Id": 1, - "SrcIp": "xx" + "SrcIp": "xx.xx.xx.xx" } ], "Vul": [ { "Category": 1, - "Name": "xx", + "Name": "name", "Level": 1, "VulId": 1, - "LastTime": "xx", + "LastTime": " 2019-12-25 11:57:15", "Id": 1, - "Uuid": "xx" + "Uuid": "1c26308c-5493-4eaf-a817-112ec25f499e" } ], "InvasionEvents": [ { - "Uuid": "xx", + "Uuid": "1c26308c-5493-4eaf-a817-112ec25f499e", "Level": 1, "EventType": 1, - "Content": "xx", - "CreatedTime": "xx", - "LevelZh": "xx", + "Content": "content", + "CreatedTime": " 2019-12-25 11:57:15", + "LevelZh": "level", "Id": 1 } ], "Baseline": [ { - "Uuid": "xx", + "Uuid": "1c26308c-5493-4eaf-a817-112ec25f499e", "Level": 1, - "LastScanTime": "xx", + "LastScanTime": " 2019-12-25 11:57:15", "BaselineFailCount": 1, "CategoryId": 1, - "Name": "xx" + "Name": "name" } ], - "RequestId": "xx" + "RequestId": "xxxxxxxx-1234-5678-9101-yyyyyyyyyy" } } ``` diff --git a/tccli/examples/cwp/v20180228/DescribeScreenMachineRegions.md b/tccli/examples/cwp/v20180228/DescribeScreenMachineRegions.md index 25b0d63d14..0bf210a396 100644 --- a/tccli/examples/cwp/v20180228/DescribeScreenMachineRegions.md +++ b/tccli/examples/cwp/v20180228/DescribeScreenMachineRegions.md @@ -1,6 +1,6 @@ **Example 1: 示例** - +示例 Input: @@ -13,14 +13,49 @@ Output: "Response": { "List": [ { - "RegionCode": "xx", - "Region": "xx", + "Region": "ap-guangzhou", + "RegionCode": "gz", "RegionId": 1, - "RegionNameEn": "xx", - "RegionName": "xx" + "RegionName": "华南地区(广州)", + "RegionNameEn": "South China (Guangzhou)" + }, + { + "Region": "ap-nanjing", + "RegionCode": "nj", + "RegionId": 33, + "RegionName": "华东地区(南京)", + "RegionNameEn": "East Chinaxa0(Nanjing)" + }, + { + "Region": "ap-others", + "RegionCode": "others", + "RegionId": 47, + "RegionName": "其他地域(其他)", + "RegionNameEn": "Others (Other)" + }, + { + "Region": "ap-beijing", + "RegionCode": "bj", + "RegionId": 8, + "RegionName": "华北地区(北京)", + "RegionNameEn": "North China (Beijing)" + }, + { + "Region": "ap-chengdu", + "RegionCode": "cd", + "RegionId": 16, + "RegionName": "西南地区(成都)", + "RegionNameEn": "Southwestxa0China (Chengdu)" + }, + { + "Region": "ap-shanghai", + "RegionCode": "sh", + "RegionId": 4, + "RegionName": "华东地区(上海)", + "RegionNameEn": "East Chinaxa0(Shanghai)" } ], - "RequestId": "0e078e5e-32bf-41ba-853c-88c697888d99" + "RequestId": "01b46ad0-11ab-46fe-9f54-d998385913ee" } } ``` diff --git a/tccli/examples/cwp/v20180228/DescribeScreenMachines.md b/tccli/examples/cwp/v20180228/DescribeScreenMachines.md index c2d0a3275e..d044ab3386 100644 --- a/tccli/examples/cwp/v20180228/DescribeScreenMachines.md +++ b/tccli/examples/cwp/v20180228/DescribeScreenMachines.md @@ -1,5 +1,6 @@ **Example 1: 示例** +主机3D图数据 Input: @@ -13,35 +14,49 @@ Output: "Response": { "List": [ { - "TotalCount": 1, - "Region": "xx", + "AttackCnt": 0, + "IgnoreCnt": 0, "Machines": [ { - "InvasionNum": 0, - "MachineOs": "xx", - "Uuid": "xx", - "CpuSize": 0.0, - "MemLoad": "xx", - "MachineName": "xx", - "DiskLoad": "xx", - "BaselineNum": 0, - "MachineIp": "xx", - "CpuLoad": "xx", - "CyberAttackNum": 0, - "DiskSize": 0.0, - "Quuid": "xx", - "SecurityStatus": "xx", - "MemSize": 0.0, - "MachineStatus": "xx", - "MachineWanIp": "xx", - "MachineType": "xx", - "VulNum": 0 + "BaselineNum": 147, + "CoreVersion": "3.10.0", + "CpuLoad": "低", + "CpuSize": 2, + "CyberAttackNum": 162, + "DiskLoad": "32.07", + "DiskSize": 50, + "InvasionNum": 38479, + "MachineExtraInfo": { + "HostName": "", + "InstanceID": "ins-xxx", + "NetworkName": "", + "NetworkType": 0, + "PrivateIP": "xx.xx.xx.xx", + "WanIP": "xx.xx.xx.xx" + }, + "MachineIp": "xx.xx.xx.xx", + "MachineName": "ha2", + "MachineOs": "CentOS 7.9 64位", + "MachineStatus": 9, + "MachineType": "CVM", + "MachineWanIp": "xx.xx.xx.xx", + "MemLoad": "36.52", + "MemSize": 4, + "Quuid": "1c26308c-5493-4eaf-a817-112ec25f499e", + "SecurityStatus": "RISK", + "Uuid": "1c26308c-5493-4eaf-a817-112ec25f499e", + "VulNum": 18 } ], - "RegionName": "xx" + "Region": "ap-guangzhou", + "RegionName": "华南地区(广州)", + "RiskCnt": 1, + "SafetyCnt": 1, + "TotalCount": 1, + "UnAgentOfflineCnt": 1 } ], - "RequestId": "0e078e5e-32bf-41ba-853c-88c697888d99" + "RequestId": "xxxxxxxx-1234-5678-9101-yyyyyyyyyy" } } ``` diff --git a/tccli/examples/cwp/v20180228/DescribeScreenProtectionCnt.md b/tccli/examples/cwp/v20180228/DescribeScreenProtectionCnt.md index d5e8b5da1f..c60488da49 100644 --- a/tccli/examples/cwp/v20180228/DescribeScreenProtectionCnt.md +++ b/tccli/examples/cwp/v20180228/DescribeScreenProtectionCnt.md @@ -1,6 +1,6 @@ **Example 1: 示例** - + Input: @@ -13,12 +13,37 @@ Output: "Response": { "List": [ { - "Count": 1, - "Type": "xx", - "Name": "xx" + "Count": 7636893, + "Name": "异常行为", + "Type": "analysis" + }, + { + "Count": 6142807, + "Name": "BinaryAI引擎", + "Type": "ai" + }, + { + "Count": 30083186, + "Name": "云查杀引擎", + "Type": "cloud" + }, + { + "Count": 5791759, + "Name": "TAV引擎", + "Type": "detect" + }, + { + "Count": 1410148, + "Name": "攻击防御", + "Type": "defend" + }, + { + "Count": 1557109, + "Name": "威胁情报", + "Type": "threat" } ], - "RequestId": "0e078e5e-32bf-41ba-853c-88c697888d99" + "RequestId": "1703ef61-2b43-45bc-82e8-e13d3babdece" } } ``` diff --git a/tccli/examples/cwp/v20180228/DescribeScreenProtectionStat.md b/tccli/examples/cwp/v20180228/DescribeScreenProtectionStat.md index dbf13d57fb..3b31eae5d8 100644 --- a/tccli/examples/cwp/v20180228/DescribeScreenProtectionStat.md +++ b/tccli/examples/cwp/v20180228/DescribeScreenProtectionStat.md @@ -14,7 +14,7 @@ Output: "Info": [ { "Status": 1, - "Name": "xx" + "Name": "nnn" } ], "RequestId": "e12bdf62-9683-4faf-bdee-7ce6ec6fd790" diff --git a/tccli/examples/cwp/v20180228/DescribeScreenRiskAssetsTop.md b/tccli/examples/cwp/v20180228/DescribeScreenRiskAssetsTop.md index cf434d0d61..75506cb7a1 100644 --- a/tccli/examples/cwp/v20180228/DescribeScreenRiskAssetsTop.md +++ b/tccli/examples/cwp/v20180228/DescribeScreenRiskAssetsTop.md @@ -2,11 +2,12 @@ 大屏获取安全事件数统计数据 + Input: ``` tccli cwp DescribeScreenRiskAssetsTop --cli-unfold-argument \ - --BusinessType 1 + --BusinessType 2 ``` Output: @@ -15,11 +16,11 @@ Output: "Response": { "Chart": [ { - "Name": "xx", - "Value": 1 + "Name": "172.17.0.0 广州", + "Value": 21 } ], - "RequestId": "0e078e5e-32bf-41ba-853c-88c697888d99" + "RequestId": "f1d8e260-c75c-454d-bc84-34ce0ed8d9bf" } } ``` diff --git a/tccli/examples/cwp/v20180228/DescribeUsersConfig.md b/tccli/examples/cwp/v20180228/DescribeUsersConfig.md index 2a425d3e62..24acd74a7f 100644 --- a/tccli/examples/cwp/v20180228/DescribeUsersConfig.md +++ b/tccli/examples/cwp/v20180228/DescribeUsersConfig.md @@ -6,7 +6,7 @@ Input: ``` tccli cwp DescribeUsersConfig --cli-unfold-argument \ - --ConfigName abc + --ConfigName license_monitor ``` Output: diff --git a/tccli/examples/cwp/v20180228/DescribeVertexDetail.md b/tccli/examples/cwp/v20180228/DescribeVertexDetail.md index 5631fdc421..06477e51ec 100644 --- a/tccli/examples/cwp/v20180228/DescribeVertexDetail.md +++ b/tccli/examples/cwp/v20180228/DescribeVertexDetail.md @@ -6,9 +6,9 @@ Input: ``` tccli cwp DescribeVertexDetail --cli-unfold-argument \ - --VertexIds abc \ - --IncidentId abc \ - --TableName abc + --VertexIds dd8c40c6737f75a0c24244d6f4fa6173 \ + --IncidentId 468314cc-4004-492d-a974-7bf5666cb11b \ + --TableName incidents_xxx ``` Output: @@ -18,32 +18,32 @@ Output: "VertexDetails": [ { "Type": 0, - "Time": "abc", + "Time": " 2019-12-25 11:57:15", "AlarmInfo": [ { - "AlarmId": "abc", + "AlarmId": "dd8c40c6", "Status": 0 } ], - "ProcName": "abc", - "CmdLine": "abc", - "Pid": "abc", - "FileMd5": "abc", - "FileContent": "abc", - "FilePath": "abc", - "FileCreateTime": "abc", - "Address": "abc", - "DstPort": 1, - "SrcIP": "abc", - "User": "abc", - "VulName": "abc", - "VulTime": "abc", - "HttpContent": "abc", - "VulSrcIP": "abc", - "VertexId": "abc" + "ProcName": "curl", + "CmdLine": "curl", + "Pid": "2534", + "FileMd5": "", + "FileContent": "", + "FilePath": "", + "FileCreateTime": "", + "Address": "", + "DstPort": 18888, + "SrcIP": "", + "User": "", + "VulName": "", + "VulTime": "", + "HttpContent": "", + "VulSrcIP": "", + "VertexId": "dd8c40c6737f75a0c24244d6f4fa6173" } ], - "RequestId": "abc" + "RequestId": "xxxxxxxx-1234-5678-9101-yyyyyyyyyy" } } ``` diff --git a/tccli/examples/cwp/v20180228/DescribeVulDefencePluginStatus.md b/tccli/examples/cwp/v20180228/DescribeVulDefencePluginStatus.md index 788218b1d3..f309aea1b6 100644 --- a/tccli/examples/cwp/v20180228/DescribeVulDefencePluginStatus.md +++ b/tccli/examples/cwp/v20180228/DescribeVulDefencePluginStatus.md @@ -14,13 +14,13 @@ Output: "TotalCount": 1, "List": [ { - "Quuid": "abc", - "Alias": "abc", - "PrivateIp": "abc", - "PublicIp": "abc", - "Exception": 0, - "CreateTime": "abc", - "ModifyTime": "abc" + "Quuid": "1c26308c-5493-4eaf-a817-112ec25f499e", + "Alias": "销售许可测试机器", + "PrivateIp": "10.0.1.15", + "PublicIp": "xx.xx.xx.xx", + "Exception": 2, + "CreateTime": "2024-10-21 19:38:46", + "ModifyTime": "2024-10-21 19:38:46" } ], "RequestId": "abc" diff --git a/tccli/examples/cwp/v20180228/DescribeVulList.md b/tccli/examples/cwp/v20180228/DescribeVulList.md index 7fc38beefd..c6099d52ef 100644 --- a/tccli/examples/cwp/v20180228/DescribeVulList.md +++ b/tccli/examples/cwp/v20180228/DescribeVulList.md @@ -16,31 +16,33 @@ Output: "Response": { "VulInfoList": [ { - "Ids": "abc", - "Name": "abc", - "Status": 1, - "VulId": 1, - "PublishTime": "abc", - "LastTime": "abc", + "Ids": "1", + "Name": "Apache Log4j 1.x JNDI 注入漏洞(CVE-2021-4104)", + "VulId": 34338, + "Status": 0, + "PublishTime": "2021-12-14 20:15:00", + "LastTime": "2024-10-21 17:20:13", "HostCount": 1, - "Level": 1, - "From": 1, - "Descript": "abc", - "PublishTimeWisteria": "abc", - "NameWisteria": "abc", - "DescriptWisteria": "abc", - "StatusStr": "abc", - "CveId": "abc", - "CvssScore": 0, - "Labels": "abc", + "Level": 3, + "From": 0, + "Descript": "Apache Log4j是美国阿帕奇(Apache)基金会的一款基于Java的开源日志记录工具。 \nApache Log4j 1.2存在代码问题漏洞,攻击者可利用该漏洞通过JMSApender反序列化来运行代码。", + "PublishTimeWisteria": "", + "NameWisteria": "", + "DescriptWisteria": "", + "CveId": "CVE-2021-4104", + "CvssScore": 7.5, + "Labels": "远程利用,存在POC", + "IsSupportDefense": 0, "FixSwitch": 1, "TaskId": 1, - "IsSupportDefense": 1, - "DefenseAttackCount": 1, - "FirstAppearTime": "abc", - "VulCategory": 1, - "AttackLevel": 1, - "FixNoNeedRestart": true + "StatusStr": "", + "DefenseAttackCount": 0, + "FirstAppearTime": "2024-10-18T01:22:06+08:00", + "VulCategory": 4, + "AttackLevel": 0, + "FixNoNeedRestart": false, + "Method": 0, + "VulFixSwitch": 1 } ], "TotalCount": 1, diff --git a/tccli/examples/cwp/v20180228/DescribeVulStoreList.md b/tccli/examples/cwp/v20180228/DescribeVulStoreList.md index e6fde449fe..280108f0e5 100644 --- a/tccli/examples/cwp/v20180228/DescribeVulStoreList.md +++ b/tccli/examples/cwp/v20180228/DescribeVulStoreList.md @@ -8,13 +8,13 @@ Input: ``` tccli cwp DescribeVulStoreList --cli-unfold-argument \ - --Filters.0.Name abc \ - --Filters.0.Values abc \ + --Filters.0.Name VulName \ + --Filters.0.Values CVE-2023-46604 \ --Filters.0.ExactMatch True \ - --Limit 0 \ + --Limit 10 \ --Offset 0 \ - --Order abc \ - --By abc + --Order DESC \ + --By PublishDate ``` Output: @@ -23,15 +23,15 @@ Output: "Response": { "List": [ { - "VulId": 1, - "Level": 1, - "Name": "abc", - "CveId": "abc", - "VulCategory": 1, - "PublishDate": "abc", - "Method": 1, - "AttackLevel": 1, - "FixSwitch": 1, + "VulId": 105006, + "Level": 4, + "Name": "Apache ActiveMQ远程代码执行漏洞(CVE-2023-46604)", + "CveId": "CVE-2023-46604", + "VulCategory": 2, + "PublishDate": "2023-10-24 00:00:00", + "Method": 0, + "AttackLevel": 3, + "FixSwitch": 0, "SupportDefense": 1 } ], diff --git a/tccli/examples/cwp/v20180228/ExportScanTaskDetails.md b/tccli/examples/cwp/v20180228/ExportScanTaskDetails.md index cbe6f681f4..4aaa94c013 100644 --- a/tccli/examples/cwp/v20180228/ExportScanTaskDetails.md +++ b/tccli/examples/cwp/v20180228/ExportScanTaskDetails.md @@ -6,7 +6,7 @@ Input: ``` tccli cwp ExportScanTaskDetails --cli-unfold-argument \ - --ModuleType abc \ + --ModuleType Vul \ --TaskId 1 ``` diff --git a/tccli/examples/cwp/v20180228/GetLocalStorageItem.md b/tccli/examples/cwp/v20180228/GetLocalStorageItem.md index 544d3eb35e..9b637a58be 100644 --- a/tccli/examples/cwp/v20180228/GetLocalStorageItem.md +++ b/tccli/examples/cwp/v20180228/GetLocalStorageItem.md @@ -6,7 +6,7 @@ Input: ``` tccli cwp GetLocalStorageItem --cli-unfold-argument \ - --Key xxx + --Key key ``` Output: @@ -14,7 +14,7 @@ Output: { "Response": { "RequestId": "bf93077b-51f5-4428-b9de-7e33a0b9cc4a", - "Value": "xxx" + "Value": "value" } } ``` diff --git a/tccli/examples/cwp/v20180228/RansomDefenseRollback.md b/tccli/examples/cwp/v20180228/RansomDefenseRollback.md index 1d72e55f14..1ae8ed602d 100644 --- a/tccli/examples/cwp/v20180228/RansomDefenseRollback.md +++ b/tccli/examples/cwp/v20180228/RansomDefenseRollback.md @@ -6,15 +6,15 @@ Input: ``` tccli cwp RansomDefenseRollback --cli-unfold-argument \ - --Quuid xx \ - --BackupTime xx + --Quuid 1c26308c-5493-4eaf-a817-112ec25f499e \ + --BackupTime 2019-12-25 11:57:15 ``` Output: ``` { "Response": { - "RequestId": "xx" + "RequestId": "xxxx-xxxx-xxxx-xxxx-xxxx" } } ``` diff --git a/tccli/examples/cwp/v20180228/RetryVulFix.md b/tccli/examples/cwp/v20180228/RetryVulFix.md index 97693fe9e2..772eafc2c3 100644 --- a/tccli/examples/cwp/v20180228/RetryVulFix.md +++ b/tccli/examples/cwp/v20180228/RetryVulFix.md @@ -7,7 +7,7 @@ Input: ``` tccli cwp RetryVulFix --cli-unfold-argument \ --VulId 1 \ - --Quuid xxxxx \ + --Quuid 1c26308c-5493-4eaf-a817-112ec25f499e \ --FixId 1 ``` diff --git a/tccli/examples/cynosdb/v20190107/ModifyAccountHost.md b/tccli/examples/cynosdb/v20190107/ModifyAccountHost.md index 40cd2ec645..559795b1d4 100644 --- a/tccli/examples/cynosdb/v20190107/ModifyAccountHost.md +++ b/tccli/examples/cynosdb/v20190107/ModifyAccountHost.md @@ -6,17 +6,17 @@ Input: ``` tccli cynosdb ModifyAccountHost --cli-unfold-argument \ - --ClusterId abc \ - --NewHost abc \ - --Account.AccountName abc \ - --Account.Host abc + --ClusterId cynosdbmysql-on5xw0ni \ + --NewHost 192.168.12.15 \ + --Account.AccountName tomo1 \ + --Account.Host % ``` Output: ``` { "Response": { - "RequestId": "128046" + "RequestId": "3558f586-4f83-4f3b-aabc-49d20126f657" } } ``` diff --git a/tccli/examples/dbbrain/v20210527/DescribeMailProfile.md b/tccli/examples/dbbrain/v20210527/DescribeMailProfile.md index 223ce489f6..b0c15de4d9 100644 --- a/tccli/examples/dbbrain/v20210527/DescribeMailProfile.md +++ b/tccli/examples/dbbrain/v20210527/DescribeMailProfile.md @@ -33,7 +33,7 @@ Output: "HIGH_RISK" ], "Region": [ - "eu-moscow" + "ap-guangzhou" ], "ContactGroup": [], "SendMail": 0, diff --git a/tccli/examples/ecdn/v20191012/DescribeEcdnDomainStatistics.md b/tccli/examples/ecdn/v20191012/DescribeEcdnDomainStatistics.md index d98d151a21..a98bc519b8 100644 --- a/tccli/examples/ecdn/v20191012/DescribeEcdnDomainStatistics.md +++ b/tccli/examples/ecdn/v20191012/DescribeEcdnDomainStatistics.md @@ -20,7 +20,7 @@ Output: "RequestId": "13d41d37-546f-42ed-a3b9-ff82a51ecd0a", "Data": [ { - "Resource": "stsdk.vivo.com.cn", + "Resource": "www.test.com", "DetailData": [ { "Name": "request", diff --git a/tccli/examples/emr/v20190103/DescribeTrinoQueryInfo.md b/tccli/examples/emr/v20190103/DescribeTrinoQueryInfo.md index 0c9dbd333c..36a4a11529 100644 --- a/tccli/examples/emr/v20190103/DescribeTrinoQueryInfo.md +++ b/tccli/examples/emr/v20190103/DescribeTrinoQueryInfo.md @@ -1,4 +1,4 @@ -**Example 1: 获取trino查询结果** +**Example 1: 查询Trino(PrestoSQL)查询信息** diff --git a/tccli/examples/ess/v20201111/CreateBatchQuickSignUrl.md b/tccli/examples/ess/v20201111/CreateBatchQuickSignUrl.md index e01e4d7bc2..23dacb0349 100644 --- a/tccli/examples/ess/v20201111/CreateBatchQuickSignUrl.md +++ b/tccli/examples/ess/v20201111/CreateBatchQuickSignUrl.md @@ -296,3 +296,45 @@ Output: } ``` +**Example 9: 为个人用户,创建合同组批量签署链接,并且指定视频问答模式的认证方式** + +1. 为个人用户生成合同组H5批量签署链接 +2. 使用默认的签名类型 +3. 使用默认的签署方式 +4. 默认跳转到合同列表页 +5.指定视频问答模式的认证方式 + +Input: + +``` +tccli ess CreateBatchQuickSignUrl --cli-unfold-argument \ + --Operator.ClientIp 1.2.3.4 \ + --Operator.UserId yDxVwUyKQWho8CUuO4zjEyQOAgwvr4Zy \ + --FlowApproverInfo.ApproverType 1 \ + --FlowApproverInfo.ApproverMobile 13200000000 \ + --FlowApproverInfo.ApproverName 典子谦 \ + --FlowApproverInfo.ApproverIdCardNumber 620000198802020000 \ + --FlowApproverInfo.ApproverIdCardType ID_CARD \ + --FlowGroupId yDSLcUUck****ysv1OQYIe9H \ + --ApproverSignTypes 1 \ + --Intention.IntentionType 1 \ + --Intention.IntentionQuestions.0.Question 请问,您是否同意签署本协议?可语音回复“同意”或“不同意”。 \ + --Intention.IntentionQuestions.0.Answers 同意 我同意 +``` + +Output: +``` +{ + "Response": { + "FlowApproverUrlInfo": { + "ApproverMobile": "13200000000", + "ApproverName": "典子谦", + "ApproverType": 1, + "LongUrl": "https://quick.qian.tencent.cn/guide?Code=yDwi0U**xoK&CodeType=QUICK&shortKey=yDw**S2ATh95&token=Y9b**O", + "SignUrl": "https://essurl.cn/Y9b**O" + }, + "RequestId": "s169**68" + } +} +``` + diff --git a/tccli/examples/essbasic/v20210526/ChannelCreateBatchQuickSignUrl.md b/tccli/examples/essbasic/v20210526/ChannelCreateBatchQuickSignUrl.md index 699d167854..a5486ad697 100644 --- a/tccli/examples/essbasic/v20210526/ChannelCreateBatchQuickSignUrl.md +++ b/tccli/examples/essbasic/v20210526/ChannelCreateBatchQuickSignUrl.md @@ -292,3 +292,41 @@ Output: } ``` +**Example 9: 为个人用户生成合同组H5批量签署链接, 并且指定视频问答模式的认证方式** + +为个人用户生成合同组H5批量签署链接, 并且指定视频问答模式的认证方式 + +Input: + +``` +tccli essbasic ChannelCreateBatchQuickSignUrl --cli-unfold-argument \ + --Agent.ProxyOrganizationOpenId org_dianziqian \ + --Agent.AppId yDRSRUUgygj6rq7wUuO4zjECxndqQApl \ + --FlowApproverInfo.ApproverType PERSON \ + --FlowApproverInfo.Mobile 13200000000 \ + --FlowApproverInfo.Name 典子谦 \ + --FlowApproverInfo.IdCardNumber 620000198802020000 \ + --FlowApproverInfo.IdCardType ID_CARD \ + --ApproverSignTypes 1 \ + --Intention.IntentionType 1 \ + --Intention.IntentionQuestions.0.Question 请问,您是否同意签署本协议?可语音回复“同意”或“不同意”。 \ + --Intention.IntentionQuestions.0.Answers 同意 我同意 \ + --FlowGroupId yDSL9UUckpo*****jwSsug2y3cW +``` + +Output: +``` +{ + "Response": { + "FlowApproverUrlInfo": { + "ApproverType": "PERSON", + "LongUrl": "https://quick.qian.tencent.cn/guide?Code=yDwi0**BWW4MYlpI&CodeType=QUICK&shortKey=yDwi**KF45&token=C**E", + "Mobile": "13200000000", + "Name": "典子谦", + "SignUrl": "https://test.essurl.cn/C**E" + }, + "RequestId": "s16986**08" + } +} +``` + diff --git a/tccli/examples/lcic/v20220817/BatchCreateRoom.md b/tccli/examples/lcic/v20220817/BatchCreateRoom.md index 1ef82c69b3..e02c31a565 100644 --- a/tccli/examples/lcic/v20220817/BatchCreateRoom.md +++ b/tccli/examples/lcic/v20220817/BatchCreateRoom.md @@ -19,7 +19,6 @@ tccli lcic BatchCreateRoom --cli-unfold-argument \ --RoomInfos.0.SubType abc \ --RoomInfos.0.DisableRecord 1 \ --RoomInfos.0.Assistants abc \ - --RoomInfos.0.RTCAudienceNumber 1 \ --RoomInfos.0.AudienceType 1 \ --RoomInfos.0.RecordLayout 1 \ --RoomInfos.0.GroupId abc \ diff --git a/tccli/examples/lcic/v20220817/CreateRoom.md b/tccli/examples/lcic/v20220817/CreateRoom.md index a7062c9b96..5b4e015023 100644 --- a/tccli/examples/lcic/v20220817/CreateRoom.md +++ b/tccli/examples/lcic/v20220817/CreateRoom.md @@ -19,7 +19,6 @@ tccli lcic CreateRoom --cli-unfold-argument \ --SubType abc \ --DisableRecord 1 \ --Assistants abc \ - --RTCAudienceNumber 1 \ --AudienceType 1 \ --RecordLayout 1 \ --GroupId abc \ diff --git a/tccli/examples/lighthouse/v20200324/ApplyFirewallTemplate.md b/tccli/examples/lighthouse/v20200324/ApplyFirewallTemplate.md index e3c1641854..fdef7f205e 100644 --- a/tccli/examples/lighthouse/v20200324/ApplyFirewallTemplate.md +++ b/tccli/examples/lighthouse/v20200324/ApplyFirewallTemplate.md @@ -6,8 +6,8 @@ Input: ``` tccli lighthouse ApplyFirewallTemplate --cli-unfold-argument \ - --TemplateId lhft-6brh0ciy \ - --ApplyInstances.0.InstanceId lhins-abcd1234 \ + --TemplateId lhft-s2dxd7iy \ + --ApplyInstances.0.InstanceId lhins-wld7xie9 \ --ApplyInstances.0.Region ap-guangzhou ``` diff --git a/tccli/examples/rce/v20201103/ManageMarketingRisk.md b/tccli/examples/rce/v20201103/ManageMarketingRisk.md index aaaadeb8aa..2f5fda1175 100644 --- a/tccli/examples/rce/v20201103/ManageMarketingRisk.md +++ b/tccli/examples/rce/v20201103/ManageMarketingRisk.md @@ -10,7 +10,15 @@ tccli rce ManageMarketingRisk --cli-unfold-argument \ --BusinessSecurityData.Account.OtherAccount.AccountId 3ac9aa********************526ed9 \ --BusinessSecurityData.SceneCode e_activity_antirush \ --BusinessSecurityData.UserIp 113.***.***.150 \ - --BusinessSecurityData.PostTime 1712841851 + --BusinessSecurityData.PostTime 1712841851 \ + --BusinessSecurityData.DataAuthorization.DataProviderName 某某有限公司 \ + --BusinessSecurityData.DataAuthorization.DataRecipientName 腾讯云计算(北京)有限责任公司 \ + --BusinessSecurityData.DataAuthorization.UserDataType 1 4 \ + --BusinessSecurityData.DataAuthorization.IsAuthorize 1 \ + --BusinessSecurityData.DataAuthorization.IsOrderHandling 1 \ + --BusinessSecurityData.DataAuthorization.AuthorizationTerm 1728714893 \ + --BusinessSecurityData.DataAuthorization.PrivacyPolicyLink https://www.*****.com/ \ + --BusinessSecurityData.DataAuthorization.IsPersonalData 1 ``` Output: diff --git a/tccli/examples/sms/v20190711/CallbackStatusStatistics.md b/tccli/examples/sms/v20190711/CallbackStatusStatistics.md index b622daa6b3..fb977eaf05 100644 --- a/tccli/examples/sms/v20190711/CallbackStatusStatistics.md +++ b/tccli/examples/sms/v20190711/CallbackStatusStatistics.md @@ -8,7 +8,7 @@ Input: tccli sms CallbackStatusStatistics --cli-unfold-argument \ --StartDateTime 2016090800 \ --EndDataTime 2016090823 \ - --SmsSdkAppid 1400006874 \ + --SmsSdkAppid ' 1400006666' \ --Limit 0 \ --Offset 0 ``` diff --git a/tccli/examples/sms/v20190711/PullSmsReplyStatus.md b/tccli/examples/sms/v20190711/PullSmsReplyStatus.md index ed4183d15a..f631e927a1 100644 --- a/tccli/examples/sms/v20190711/PullSmsReplyStatus.md +++ b/tccli/examples/sms/v20190711/PullSmsReplyStatus.md @@ -7,7 +7,7 @@ Input: ``` tccli sms PullSmsReplyStatus --cli-unfold-argument \ --Limit 2 \ - --SmsSdkAppid 1400006874 + --SmsSdkAppid ' 1400006666' ``` Output: @@ -17,21 +17,21 @@ Output: "RequestId": "a0aabda6-cf91-4f3e-a81f-9198114a2279", "PullSmsReplyStatusSet": [ { - "ReplyContent": "xxxxxx", + "ReplyContent": "2", "ReplyUnixTime": 1620734188, "ExtendCode": "11", "ReplyTime": "2021-05-11 19:56:28", "Sign": "腾讯云", - "PhoneNumber": "+8615291990000", + "PhoneNumber": "+8618501234444", "NationCode": "86" }, { - "ReplyContent": "xxxxxx", + "ReplyContent": "1", "ReplyUnixTime": 1620734189, "ExtendCode": "11", "ReplyTime": "2021-05-11 19:56:29", "Sign": "腾讯云", - "PhoneNumber": "+8615291990001", + "PhoneNumber": "+8618501234444", "NationCode": "86" } ] diff --git a/tccli/examples/sms/v20190711/PullSmsReplyStatusByPhoneNumber.md b/tccli/examples/sms/v20190711/PullSmsReplyStatusByPhoneNumber.md index a307fb7df2..2e0aea7471 100644 --- a/tccli/examples/sms/v20190711/PullSmsReplyStatusByPhoneNumber.md +++ b/tccli/examples/sms/v20190711/PullSmsReplyStatusByPhoneNumber.md @@ -10,8 +10,8 @@ tccli sms PullSmsReplyStatusByPhoneNumber --cli-unfold-argument \ --EndDateTime 1620734200 \ --Offset 0 \ --Limit 2 \ - --PhoneNumber +8615291996666 \ - --SmsSdkAppid 1400006874 + --PhoneNumber +8618501234444 \ + --SmsSdkAppid ' 1400006666' ``` Output: @@ -21,21 +21,21 @@ Output: "RequestId": "a0aabda6-cf91-4f3e-a81f-9198114a2279", "PullSmsReplyStatusSet": [ { - "ReplyContent": "xxxxxx", + "ReplyContent": "2", "ReplyUnixTime": 1620734188, "ExtendCode": "11", "ReplyTime": "2021-05-11 19:56:28", "Sign": "腾讯云", - "PhoneNumber": "+8615291996666", + "PhoneNumber": "+8618501234444", "NationCode": "86" }, { - "ReplyContent": "xxxxxx", + "ReplyContent": "1", "ReplyUnixTime": 1620734189, "ExtendCode": "11", "ReplyTime": "2021-05-11 19:56:29", "Sign": "腾讯云", - "PhoneNumber": "+8615291996666", + "PhoneNumber": "+8618501234444", "NationCode": "86" } ] diff --git a/tccli/examples/sms/v20190711/PullSmsSendStatus.md b/tccli/examples/sms/v20190711/PullSmsSendStatus.md index 4f4892093e..eb059be65a 100644 --- a/tccli/examples/sms/v20190711/PullSmsSendStatus.md +++ b/tccli/examples/sms/v20190711/PullSmsSendStatus.md @@ -19,9 +19,9 @@ Output: "UserReceiveTime": "2019-10-08 17:18:37", "UserReceiveUnixTime": 1570526317, "NationCode": "86", - "PurePhoneNumber": "+8615291996666", - "PhoneNumber": "15291996666", - "SerialNo": "14:19325917feb3914eb78b50d6182d7e452e", + "PurePhoneNumber": "+8618501234444", + "PhoneNumber": "18501234444", + "SerialNo": "5000:1045710669157053657849499619", "ReportStatus": "SUCCESS", "Description": "DELIVRD" }, @@ -29,9 +29,9 @@ Output: "UserReceiveTime": "2019-10-08 17:18:37", "UserReceiveUnixTime": 1570526317, "NationCode": "86", - "PurePhoneNumber": "+8615291997777", - "PhoneNumber": "15291997777", - "SerialNo": "14:19325917feb3914eb78b50d6182d7e552f", + "PurePhoneNumber": "+8618501234445", + "PhoneNumber": "18501234445", + "SerialNo": "5000:1045710669157053657849499718", "ReportStatus": "SUCCESS", "Description": "DELIVRD" } diff --git a/tccli/examples/sms/v20190711/PullSmsSendStatusByPhoneNumber.md b/tccli/examples/sms/v20190711/PullSmsSendStatusByPhoneNumber.md index f8e0a310ee..d4f2c8fdaa 100644 --- a/tccli/examples/sms/v20190711/PullSmsSendStatusByPhoneNumber.md +++ b/tccli/examples/sms/v20190711/PullSmsSendStatusByPhoneNumber.md @@ -10,8 +10,8 @@ tccli sms PullSmsSendStatusByPhoneNumber --cli-unfold-argument \ --EndDateTime 1570526400 \ --Offset 0 \ --Limit 2 \ - --PhoneNumber +8615291996666 \ - --SmsSdkAppid 1400006874 + --PhoneNumber +8618501234444 \ + --SmsSdkAppid 1400006666 ``` Output: @@ -21,21 +21,21 @@ Output: "PullSmsSendStatusSet": [ { "Description": "DELIVRD", - "SerialNo": "14:19325917feb3914eb78b50d6182d7e452e", - "PurePhoneNumber": "+8615291996666", + "SerialNo": "5000:1045710669157053657849499619", + "PurePhoneNumber": "+8618501234444", "ReportStatus": "SUCCESS", "UserReceiveUnixTime": 1570526317, - "PhoneNumber": "15291996666", + "PhoneNumber": "18501234444", "UserReceiveTime": "2019-10-08 17:18:37", "NationCode": "86" }, { "Description": "DELIVRD", - "SerialNo": "14:19325917feb3914eb78b50d6182d7e452f", - "PurePhoneNumber": "+8615291996666", + "SerialNo": "5000:1045710669157053657849498556", + "PurePhoneNumber": "+8618501234444", "ReportStatus": "SUCCESS", "UserReceiveUnixTime": 1570526318, - "PhoneNumber": "15291996666", + "PhoneNumber": "18501234444", "UserReceiveTime": "2019-10-08 17:18:38", "NationCode": "86" } diff --git a/tccli/examples/sms/v20190711/SendSms.md b/tccli/examples/sms/v20190711/SendSms.md index 6c5fa65449..11c01c4bc3 100644 --- a/tccli/examples/sms/v20190711/SendSms.md +++ b/tccli/examples/sms/v20190711/SendSms.md @@ -6,12 +6,12 @@ Input: ``` tccli sms SendSms --cli-unfold-argument \ - --PhoneNumberSet +8618511122233 +8618511122266 \ - --TemplateID 1234 \ + --PhoneNumberSet +8618501234444 +8618501234445 \ + --TemplateID 1110 \ --Sign 腾讯云 \ - --TemplateParamSet 12345 \ + --TemplateParamSet 4370 \ --SmsSdkAppid 1400006666 \ - --SessionContext test + --SessionContext outsid_1729495320_1011 ``` Output: @@ -21,18 +21,18 @@ Output: "SendStatusSet": [ { "SerialNo": "5000:1045710669157053657849499619", - "PhoneNumber": "+8618511122233", + "PhoneNumber": "+8618501234444", "Fee": 1, - "SessionContext": "test", + "SessionContext": "outsid_1729495320_1011", "Code": "Ok", "Message": "send success", "IsoCode": "CN" }, { - "SerialNo": "5000:104571066915705365784949619", - "PhoneNumber": "+8618511122266", + "SerialNo": "5000:1045710669157053657849499718", + "PhoneNumber": "+8618501234445", "Fee": 1, - "SessionContext": "test", + "SessionContext": "outsid_1729495320_1011", "Code": "Ok", "Message": "send success", "IsoCode": "CN" diff --git a/tccli/examples/sms/v20190711/SendStatusStatistics.md b/tccli/examples/sms/v20190711/SendStatusStatistics.md index 95d86cd430..236fb54192 100644 --- a/tccli/examples/sms/v20190711/SendStatusStatistics.md +++ b/tccli/examples/sms/v20190711/SendStatusStatistics.md @@ -8,7 +8,7 @@ Input: tccli sms SendStatusStatistics --cli-unfold-argument \ --StartDateTime 2016090800 \ --EndDataTime 2016090823 \ - --SmsSdkAppid 1400006874 \ + --SmsSdkAppid 1400006666 \ --Limit 0 \ --Offset 0 ``` diff --git a/tccli/examples/sms/v20190711/SmsPackagesStatistics.md b/tccli/examples/sms/v20190711/SmsPackagesStatistics.md index e73a1fa93c..aed5b14722 100644 --- a/tccli/examples/sms/v20190711/SmsPackagesStatistics.md +++ b/tccli/examples/sms/v20190711/SmsPackagesStatistics.md @@ -6,7 +6,7 @@ Input: ``` tccli sms SmsPackagesStatistics --cli-unfold-argument \ - --SmsSdkAppid 1400006879 \ + --SmsSdkAppid 1400006666 \ --Limit 2 \ --Offset 0 ``` diff --git a/tccli/examples/sms/v20210111/CallbackStatusStatistics.md b/tccli/examples/sms/v20210111/CallbackStatusStatistics.md index f65ccc2fbf..48f1794f1b 100644 --- a/tccli/examples/sms/v20210111/CallbackStatusStatistics.md +++ b/tccli/examples/sms/v20210111/CallbackStatusStatistics.md @@ -6,7 +6,7 @@ Input: ``` tccli sms CallbackStatusStatistics --cli-unfold-argument \ - --SmsSdkAppId 1400006874 \ + --SmsSdkAppId 1400006666 \ --EndTime 2021050123 \ --Limit 0 \ --BeginTime 2021050113 \ diff --git a/tccli/examples/sms/v20210111/DescribePhoneNumberInfo.md b/tccli/examples/sms/v20210111/DescribePhoneNumberInfo.md index 6d394495d7..340004e2a8 100644 --- a/tccli/examples/sms/v20210111/DescribePhoneNumberInfo.md +++ b/tccli/examples/sms/v20210111/DescribePhoneNumberInfo.md @@ -6,7 +6,7 @@ Input: ``` tccli sms DescribePhoneNumberInfo --cli-unfold-argument \ - --PhoneNumberSet +8618511122266 +8618511122233 + --PhoneNumberSet +8618501234444 +8618501234445 ``` Output: @@ -15,19 +15,19 @@ Output: "Response": { "PhoneNumberInfoSet": [ { - "SubscriberNumber": "18511122266", + "SubscriberNumber": "18501234444", "Message": "Describe success", "Code": "Ok", - "PhoneNumber": "+8618511122266", + "PhoneNumber": "+8618501234444", "IsoCode": "CN", "IsoName": "China", "NationCode": "86" }, { - "SubscriberNumber": "18511122233", + "SubscriberNumber": "18501234445", "Message": "Describe success", "Code": "Ok", - "PhoneNumber": "+8618511122233", + "PhoneNumber": "+8618501234445", "IsoCode": "CN", "IsoName": "China", "NationCode": "86" diff --git a/tccli/examples/sms/v20210111/PullSmsReplyStatus.md b/tccli/examples/sms/v20210111/PullSmsReplyStatus.md index 5b0c7473b4..b058544aa5 100644 --- a/tccli/examples/sms/v20210111/PullSmsReplyStatus.md +++ b/tccli/examples/sms/v20210111/PullSmsReplyStatus.md @@ -6,7 +6,7 @@ Input: ``` tccli sms PullSmsReplyStatus --cli-unfold-argument \ - --SmsSdkAppId 1400006874 \ + --SmsSdkAppId 1400006666 \ --Limit 100 ``` @@ -19,19 +19,19 @@ Output: { "CountryCode": "86", "ReplyContent": "1", - "SubscriberNumber": "15291990000", + "SubscriberNumber": "18501234444", "ExtendCode": "11", "ReplyTime": 1620734188, - "PhoneNumber": "+8615291990000", + "PhoneNumber": "+8618501234444", "SignName": "腾讯云" }, { "CountryCode": "86", "ReplyContent": "2", - "SubscriberNumber": "15291990001", + "SubscriberNumber": "18501234444", "ExtendCode": "11", "ReplyTime": 1620734189, - "PhoneNumber": "+8615291990001", + "PhoneNumber": "+8618501234444", "SignName": "腾讯云" } ] diff --git a/tccli/examples/sms/v20210111/PullSmsReplyStatusByPhoneNumber.md b/tccli/examples/sms/v20210111/PullSmsReplyStatusByPhoneNumber.md index e30c817c5d..9a50c6cc0e 100644 --- a/tccli/examples/sms/v20210111/PullSmsReplyStatusByPhoneNumber.md +++ b/tccli/examples/sms/v20210111/PullSmsReplyStatusByPhoneNumber.md @@ -7,7 +7,7 @@ Input: ``` tccli sms PullSmsReplyStatusByPhoneNumber --cli-unfold-argument \ --SmsSdkAppId 1400006666 \ - --PhoneNumber +8615291996666 \ + --PhoneNumber +8618501234444 \ --BeginTime 1620734100 \ --Offset 0 \ --Limit 2 \ @@ -23,19 +23,19 @@ Output: { "CountryCode": "86", "ReplyContent": "1", - "SubscriberNumber": "15291996666", + "SubscriberNumber": "18501234444", "ExtendCode": "11", "ReplyTime": 1620734188, - "PhoneNumber": "+8615291996666", + "PhoneNumber": "+8618501234444", "SignName": "腾讯云" }, { "CountryCode": "86", "ReplyContent": "2", - "SubscriberNumber": "15291996666", + "SubscriberNumber": "18501234444", "ExtendCode": "11", "ReplyTime": 1620734189, - "PhoneNumber": "+8615291996666", + "PhoneNumber": "+8618501234444", "SignName": "腾讯云" } ] diff --git a/tccli/examples/sms/v20210111/PullSmsSendStatus.md b/tccli/examples/sms/v20210111/PullSmsSendStatus.md index d24d8bcf5f..bd8fe80fb7 100644 --- a/tccli/examples/sms/v20210111/PullSmsSendStatus.md +++ b/tccli/examples/sms/v20210111/PullSmsSendStatus.md @@ -6,7 +6,7 @@ Input: ``` tccli sms PullSmsSendStatus --cli-unfold-argument \ - --SmsSdkAppId 1400006874 \ + --SmsSdkAppId 1400006666 \ --Limit 100 ``` @@ -18,20 +18,20 @@ Output: { "Description": "DELIVRD", "CountryCode": "86", - "SubscriberNumber": "15291990000", + "SubscriberNumber": "18501234444", "ReportStatus": "SUCCESS", - "PhoneNumber": "+8615291990000", - "SerialNo": "14:19325917feb3914eb78b50d6182d7e452e", + "PhoneNumber": "+8618501234444", + "SerialNo": "5000:1045710669157053657849499619", "UserReceiveTime": 1620734188, "SessionContext": "" }, { "Description": "DELIVRD", "CountryCode": "86", - "SubscriberNumber": "15291990001", + "SubscriberNumber": "18501234445", "ReportStatus": "SUCCESS", - "PhoneNumber": "+8615291990001", - "SerialNo": "14:19325917feb3914eb78b50d6182d7e462f", + "PhoneNumber": "+8618501234445", + "SerialNo": "5000:1045710669157053657849499718", "UserReceiveTime": 1620734188, "SessionContext": "" } diff --git a/tccli/examples/sms/v20210111/PullSmsSendStatusByPhoneNumber.md b/tccli/examples/sms/v20210111/PullSmsSendStatusByPhoneNumber.md index 8b195b5181..cebf93b4a4 100644 --- a/tccli/examples/sms/v20210111/PullSmsSendStatusByPhoneNumber.md +++ b/tccli/examples/sms/v20210111/PullSmsSendStatusByPhoneNumber.md @@ -7,7 +7,7 @@ Input: ``` tccli sms PullSmsSendStatusByPhoneNumber --cli-unfold-argument \ --SmsSdkAppId 1400006666 \ - --PhoneNumber +8615291996666 \ + --PhoneNumber +8618501234444 \ --BeginTime 1620734100 \ --Offset 0 \ --Limit 2 \ @@ -22,20 +22,20 @@ Output: { "Description": "DELIVRD", "CountryCode": "86", - "SubscriberNumber": "15291996666", + "SubscriberNumber": "18501234444", "ReportStatus": "SUCCESS", - "PhoneNumber": "+8615291996666", - "SerialNo": "14:19325917feb3914eb78b50d6182d7e452e", + "PhoneNumber": "+8618501234444", + "SerialNo": "5000:1045710669157053657849499619", "UserReceiveTime": 1620734188, "SessionContext": "" }, { "Description": "DELIVRD", "CountryCode": "86", - "SubscriberNumber": "15291996666", + "SubscriberNumber": "18501234444", "ReportStatus": "SUCCESS", - "PhoneNumber": "+8615291996666", - "SerialNo": "14:19325917feb3914eb78b50d6182d7e456f", + "PhoneNumber": "+8618501234444", + "SerialNo": "5000:1045710669157053657849498556", "UserReceiveTime": 1620734188, "SessionContext": "" } diff --git a/tccli/examples/sms/v20210111/SendSms.md b/tccli/examples/sms/v20210111/SendSms.md index 9fd5f00889..3c0526e9e8 100644 --- a/tccli/examples/sms/v20210111/SendSms.md +++ b/tccli/examples/sms/v20210111/SendSms.md @@ -6,12 +6,12 @@ Input: ``` tccli sms SendSms --cli-unfold-argument \ - --PhoneNumberSet +8618511122233 +8618511122266 \ + --PhoneNumberSet +8618501234444 +8618501234445 \ --SmsSdkAppId 1400006666 \ --SignName 腾讯云 \ --TemplateId 1110 \ - --TemplateParamSet 1234 \ - --SessionContext test + --TemplateParamSet 4370 \ + --SessionContext outsid_1729495320_1011 ``` Output: @@ -21,18 +21,18 @@ Output: "SendStatusSet": [ { "SerialNo": "5000:1045710669157053657849499619", - "PhoneNumber": "+8618511122233", + "PhoneNumber": "+8618501234444", "Fee": 1, - "SessionContext": "test", + "SessionContext": "outsid_1729495320_1011", "Code": "Ok", "Message": "send success", "IsoCode": "CN" }, { "SerialNo": "5000:1045710669157053657849499718", - "PhoneNumber": "+8618511122266", + "PhoneNumber": "+8618501234445", "Fee": 1, - "SessionContext": "test", + "SessionContext": "outsid_1729495320_1011", "Code": "Ok", "Message": "send success", "IsoCode": "CN" diff --git a/tccli/examples/sms/v20210111/SendStatusStatistics.md b/tccli/examples/sms/v20210111/SendStatusStatistics.md index ebb67fcb19..2e55d90fb2 100644 --- a/tccli/examples/sms/v20210111/SendStatusStatistics.md +++ b/tccli/examples/sms/v20210111/SendStatusStatistics.md @@ -6,7 +6,7 @@ Input: ``` tccli sms SendStatusStatistics --cli-unfold-argument \ - --SmsSdkAppId 1400006874 \ + --SmsSdkAppId 1400006666 \ --EndTime 2021050123 \ --Limit 0 \ --BeginTime 2021050113 \ diff --git a/tccli/examples/sms/v20210111/SmsPackagesStatistics.md b/tccli/examples/sms/v20210111/SmsPackagesStatistics.md index b7fb9e960f..7de894bc82 100644 --- a/tccli/examples/sms/v20210111/SmsPackagesStatistics.md +++ b/tccli/examples/sms/v20210111/SmsPackagesStatistics.md @@ -6,7 +6,7 @@ Input: ``` tccli sms SmsPackagesStatistics --cli-unfold-argument \ - --SmsSdkAppId 1400006874 \ + --SmsSdkAppId 1400006666 \ --EndTime 2021043023 \ --Limit 2 \ --BeginTime 2021040113 \ diff --git a/tccli/examples/taf/v20200210/RecognizeTargetAudience.md b/tccli/examples/taf/v20200210/RecognizeTargetAudience.md index fe275d05a8..5052f94328 100644 --- a/tccli/examples/taf/v20200210/RecognizeTargetAudience.md +++ b/tccli/examples/taf/v20200210/RecognizeTargetAudience.md @@ -9,7 +9,11 @@ tccli taf RecognizeTargetAudience --cli-unfold-argument \ --BspData.Uid XXXXXXXXXXXXXXX \ --BspData.AccountType 256 \ --BspData.ModelIdList 5260 \ - --BspData.IsAuthorized 1 + --BspData.IsAuthorized 1 \ + --BusinessEncryptData.EncryptMethod 0 \ + --BusinessEncryptData.EncryptData xxxxxxxxx \ + --BusinessEncryptData.EncryptMode 0 \ + --BusinessEncryptData.PaddingType 1 ``` Output: diff --git a/tccli/examples/tdmq/v20200217/CreateRabbitMQBinding.md b/tccli/examples/tdmq/v20200217/CreateRabbitMQBinding.md new file mode 100644 index 0000000000..41772d7bd9 --- /dev/null +++ b/tccli/examples/tdmq/v20200217/CreateRabbitMQBinding.md @@ -0,0 +1,28 @@ +**Example 1: 创建RabbitMQ路由关系** + + + +Input: + +``` +tccli tdmq CreateRabbitMQBinding --cli-unfold-argument \ + --InstanceId amqp-44w9928j \ + --VirtualHost test \ + --Source amq.direct \ + --DestinationType queue \ + --Destination test \ + --RoutingKey hehe1 +``` + +Output: +``` +{ + "Response": { + "RequestId": "dsfadsa", + "InstanceId": "amqp-44w9928j", + "VirtualHost": "test", + "BindingId": 127441 + } +} +``` + diff --git a/tccli/examples/tdmq/v20200217/CreateRocketMQNamespace.md b/tccli/examples/tdmq/v20200217/CreateRocketMQNamespace.md index 7547bb7314..a0ce6ea2e2 100644 --- a/tccli/examples/tdmq/v20200217/CreateRocketMQNamespace.md +++ b/tccli/examples/tdmq/v20200217/CreateRocketMQNamespace.md @@ -7,10 +7,10 @@ Input: ``` tccli tdmq CreateRocketMQNamespace --cli-unfold-argument \ --ClusterId rocketmq-2p9vx3ax9jxg \ - --NamespaceId example \ - --Ttl 60000 \ - --RetentionTime 600000 \ - --Remark example + --NamespaceId test_namespace \ + --Ttl 259200000 \ + --RetentionTime 259200000 \ + --Remark 测试命名空间 ``` Output: diff --git a/tccli/examples/tdmq/v20200217/CreateRocketMQVipInstance.md b/tccli/examples/tdmq/v20200217/CreateRocketMQVipInstance.md index c45fc51be4..66af1364ef 100644 --- a/tccli/examples/tdmq/v20200217/CreateRocketMQVipInstance.md +++ b/tccli/examples/tdmq/v20200217/CreateRocketMQVipInstance.md @@ -6,13 +6,13 @@ Input: ``` tccli tdmq CreateRocketMQVipInstance --cli-unfold-argument \ - --Name abc \ + --Name test_instance \ --Spec rocket-vip-basic-1 \ - --NodeCount 1 \ - --StorageSize 0 \ - --ZoneIds 100001 \ - --VpcInfo.VpcId abc \ - --VpcInfo.SubnetId abc \ + --NodeCount 2 \ + --StorageSize 200 \ + --ZoneIds 100001 100002 \ + --VpcInfo.VpcId vpc-9dlrd5h1 \ + --VpcInfo.SubnetId subnet-jadmas \ --TimeSpan 1 ``` @@ -20,8 +20,8 @@ Output: ``` { "Response": { - "ClusterId": "rocketmq-xxxx", - "RequestId": "abc" + "ClusterId": "rocketmq-7drjznvjqzee", + "RequestId": "23ca1a58-0388-4d2d-8465-653a53addda7" } } ``` diff --git a/tccli/examples/tdmq/v20200217/DescribeRocketMQNamespaces.md b/tccli/examples/tdmq/v20200217/DescribeRocketMQNamespaces.md index f37f487c45..45a69a69cb 100644 --- a/tccli/examples/tdmq/v20200217/DescribeRocketMQNamespaces.md +++ b/tccli/examples/tdmq/v20200217/DescribeRocketMQNamespaces.md @@ -16,15 +16,16 @@ Output: { "Response": { "TotalCount": 1, - "RequestId": "xx", + "RequestId": "23ca1a58-0388-4d2d-8465-653a53addda7", "Namespaces": [ { - "Remark": "xx", - "PublicEndpoint": "xx", + "Remark": "info-remark", + "PublicEndpoint": "http://public.test.com", "RetentionTime": 1, - "VpcEndpoint": "xx", + "VpcEndpoint": "http://vpc.test.com", "Ttl": 1, - "NamespaceId": "xx" + "NamespaceId": "ordernamespace", + "InternalEndpoint": "http://internal.test.com" } ] } diff --git a/tccli/examples/tdmq/v20200217/DescribeRocketMQVipInstanceDetail.md b/tccli/examples/tdmq/v20200217/DescribeRocketMQVipInstanceDetail.md index c3edac90df..a747806423 100644 --- a/tccli/examples/tdmq/v20200217/DescribeRocketMQVipInstanceDetail.md +++ b/tccli/examples/tdmq/v20200217/DescribeRocketMQVipInstanceDetail.md @@ -1,4 +1,4 @@ -**Example 1: huo** +**Example 1: 获取单个RocketMQ专享集群信息** @@ -14,37 +14,37 @@ Output: { "Response": { "ClusterInfo": { - "ClusterId": "abc", - "ClusterName": "abc", - "Region": "abc", - "CreateTime": 1, - "Remark": "abc", - "PublicEndPoint": "abc", - "VpcEndPoint": "abc", + "ClusterId": "rocketmq-rd3545bkkj49", + "ClusterName": "rocket-order-cluster", + "Region": "华南地区", + "CreateTime": 1729478721, + "Remark": "info- remark", + "PublicEndPoint": "rocketmq.access.public.com:9867", + "VpcEndPoint": "rocketmq.resource.vpc.com:5010", "SupportNamespaceEndpoint": true, "Vpcs": [ { - "VpcId": "abc", - "SubnetId": "abc" + "VpcId": "vpc-9dlrd5h1", + "SubnetId": "subnet-jadmas" } ], "IsVip": true, "RocketMQFlag": true, - "Status": 0, - "IsolateTime": 0, - "HttpPublicEndpoint": "abc", - "HttpVpcEndpoint": "abc", - "InternalEndpoint": "abc", - "HttpInternalEndpoint": "abc", + "Status": 1, + "IsolateTime": 1729478721, + "HttpPublicEndpoint": "http://rocketmq.access.public.com:9867", + "HttpVpcEndpoint": "http://rocketmq.resource.vpc.com:5010", + "InternalEndpoint": "rocketmq.tencent.internal.com:8080", + "HttpInternalEndpoint": "http://rocketmq.tencent.internal.com:8080", "AclEnabled": true, "PublicClbId": "abc", "Vip": "abc", "VpcId": "abc", "SupportMigration": true, - "InstanceStatus": 0, - "ZoneId": 0, + "InstanceStatus": 1, + "ZoneId": 100001, "ZoneIds": [ - 0 + 100001 ] }, "InstanceConfig": { @@ -59,14 +59,14 @@ Output: "NodeCount": 1, "NodeDistribution": [ { - "ZoneName": "abc", - "ZoneId": "abc", + "ZoneName": "广东一区", + "ZoneId": "100001", "NodeCount": 1 } ], "TopicDistribution": [ { - "TopicType": "abc", + "TopicType": "normal", "Count": 1 } ], @@ -77,7 +77,7 @@ Output: "TopicNumLowerLimit": 0, "TopicNumUpperLimit": 0 }, - "RequestId": "abc" + "RequestId": "23ca1a58-0388-4d2d-8465-653a53addda7" } } ``` diff --git a/tccli/examples/tdmq/v20200217/DescribeRocketMQVipInstances.md b/tccli/examples/tdmq/v20200217/DescribeRocketMQVipInstances.md index 23cbfd2ffa..ace0675abe 100644 --- a/tccli/examples/tdmq/v20200217/DescribeRocketMQVipInstances.md +++ b/tccli/examples/tdmq/v20200217/DescribeRocketMQVipInstances.md @@ -7,8 +7,8 @@ Input: ``` tccli tdmq DescribeRocketMQVipInstances --cli-unfold-argument \ --Limit 1 \ - --Filters.0.Values rocketmq-1233 \ - --Filters.0.Name InstanceIds \ + --Filters.0.Values rocketmq-1q23swe3 \ + --Filters.0.Name order-instance \ --Offset 1 ``` @@ -17,12 +17,12 @@ Output: { "Response": { "TotalCount": 1, - "RequestId": "abcdef", + "RequestId": "23ca1a58-0388-4d2d-8465-653a53addda7", "Instances": [ { "Status": 1, "PayMode": 1, - "Remark": "test", + "Remark": "remark-info", "AutoRenewFlag": 1, "InstanceId": "rocketmq-1233", "NodeCount": 1, @@ -32,8 +32,12 @@ Output: "MaxBandWidth": 1, "SpecName": "rocket-vip-basic-1", "ConfigDisplay": "基础型", - "InstanceName": "abc", - "MaxTps": 1 + "InstanceName": "order-instance", + "MaxTps": 1, + "AclEnabled": true, + "Retention": 0, + "MinRetention": 0, + "MaxRetention": 0 } ] } diff --git a/tccli/examples/tdmq/v20200217/ModifyRocketMQInstance.md b/tccli/examples/tdmq/v20200217/ModifyRocketMQInstance.md index 536dcba2f2..67d18548d2 100644 --- a/tccli/examples/tdmq/v20200217/ModifyRocketMQInstance.md +++ b/tccli/examples/tdmq/v20200217/ModifyRocketMQInstance.md @@ -6,17 +6,17 @@ Input: ``` tccli tdmq ModifyRocketMQInstance --cli-unfold-argument \ - --InstanceId abc \ - --Name abc \ - --Remark abc \ - --MessageRetention 0 + --InstanceId rocketmq-4k4orqgq \ + --Name order-service-instance \ + --Remark info-mark \ + --MessageRetention 24 ``` Output: ``` { "Response": { - "RequestId": "abc" + "RequestId": "23ca1a58-0388-4d2d-8465-653a53addda7" } } ``` diff --git a/tccli/examples/tdmq/v20200217/ModifyRocketMQInstanceSpec.md b/tccli/examples/tdmq/v20200217/ModifyRocketMQInstanceSpec.md index 14a9e8038b..604809c992 100644 --- a/tccli/examples/tdmq/v20200217/ModifyRocketMQInstanceSpec.md +++ b/tccli/examples/tdmq/v20200217/ModifyRocketMQInstanceSpec.md @@ -6,18 +6,18 @@ Input: ``` tccli tdmq ModifyRocketMQInstanceSpec --cli-unfold-argument \ - --InstanceId abc \ - --Specification abc \ - --NodeCount 1 \ - --StorageSize 1 + --InstanceId rocketmq-4k4orqgq \ + --Specification rocket-vip-basic-1 \ + --NodeCount 2 \ + --StorageSize 1000 ``` Output: ``` { "Response": { - "OrderId": "abc", - "RequestId": "abc" + "OrderId": "TDMQ20121212312322", + "RequestId": "23ca1a58-0388-4d2d-8465-653a53addda7" } } ``` diff --git a/tccli/examples/trocket/v20230308/CreateConsumerGroup.md b/tccli/examples/trocket/v20230308/CreateConsumerGroup.md index 6c9ab4d247..2fb34288b8 100644 --- a/tccli/examples/trocket/v20230308/CreateConsumerGroup.md +++ b/tccli/examples/trocket/v20230308/CreateConsumerGroup.md @@ -1,13 +1,13 @@ **Example 1: 创建消费组** -创建消费组 +创建消费组成功 Input: ``` tccli trocket CreateConsumerGroup --cli-unfold-argument \ --InstanceId rmq-72mo3a9o \ - --ConsumerGroup group \ + --ConsumerGroup test_group \ --MaxRetryTimes 16 \ --ConsumeEnable True \ --ConsumeMessageOrderly True \ @@ -20,36 +20,10 @@ Output: "Error": null, "RequestId": null, "Response": { - "ConsumerGroup": "group", + "ConsumerGroup": "test_group", "InstanceId": "rmq-72mo3a9o", "RequestId": "58f60891-002f-4b8a-b71f-3767a645c28e" } } ``` -**Example 2: 创建消费者组** - -创建消费者组 - -Input: - -``` -tccli trocket CreateConsumerGroup --cli-unfold-argument \ - --InstanceId rmq-g83xq2jn \ - --ConsumerGroup group \ - --ConsumeMessageOrderly False \ - --MaxRetryTimes 16 \ - --ConsumeEnable True -``` - -Output: -``` -{ - "Response": { - "RequestId": "60a1347e-e418-42f1-9f9e-00226a3a3c18", - "InstanceId": "rmq-g83xq2jn", - "ConsumerGroup": "group" - } -} -``` - diff --git a/tccli/examples/trocket/v20230308/CreateInstance.md b/tccli/examples/trocket/v20230308/CreateInstance.md index b4b1f0513c..4f2a3ac2ce 100644 --- a/tccli/examples/trocket/v20230308/CreateInstance.md +++ b/tccli/examples/trocket/v20230308/CreateInstance.md @@ -7,7 +7,7 @@ Input: ``` tccli trocket CreateInstance --cli-unfold-argument \ --InstanceType BASIC \ - --Name testbuy3 \ + --Name test_instance \ --SkuCode basic_2k ``` @@ -17,7 +17,7 @@ Output: "Error": null, "RequestId": null, "Response": { - "InstanceId": "rmq-odrvrqwr", + "InstanceId": "rmq-72mo3a9or", "RequestId": "32759095-0372-4ec0-ae3a-e5a2759fd0ff" } } diff --git a/tccli/examples/trocket/v20230308/CreateMQTTInstance.md b/tccli/examples/trocket/v20230308/CreateMQTTInstance.md index da5e5984c9..c4d023bd72 100644 --- a/tccli/examples/trocket/v20230308/CreateMQTTInstance.md +++ b/tccli/examples/trocket/v20230308/CreateMQTTInstance.md @@ -7,7 +7,7 @@ Input: ``` tccli trocket CreateMQTTInstance --cli-unfold-argument \ --InstanceType BASIC \ - --Name sunjianxiong-1 \ + --Name instance-1 \ --SkuCode basic_1k \ --Remark this is remark \ --VpcList.0.VpcId vpc-9a5wnirv \ diff --git a/tccli/examples/trocket/v20230308/CreateMQTTUser.md b/tccli/examples/trocket/v20230308/CreateMQTTUser.md index 77e5aec615..45c4224fe5 100644 --- a/tccli/examples/trocket/v20230308/CreateMQTTUser.md +++ b/tccli/examples/trocket/v20230308/CreateMQTTUser.md @@ -7,11 +7,11 @@ Input: ``` tccli trocket CreateMQTTUser --cli-unfold-argument \ --InstanceId mqtt-7pnqmkrx \ - --Remark 33333 \ + --Remark remark \ --PermWrite True \ --PermRead True \ - --Username 123 \ - --Password 456 + --Username username \ + --Password pwd ``` Output: diff --git a/tccli/examples/trocket/v20230308/CreateRole.md b/tccli/examples/trocket/v20230308/CreateRole.md index 55838f4e8c..48179b73e1 100644 --- a/tccli/examples/trocket/v20230308/CreateRole.md +++ b/tccli/examples/trocket/v20230308/CreateRole.md @@ -7,8 +7,8 @@ Input: ``` tccli trocket CreateRole --cli-unfold-argument \ --InstanceId rmq-72mo3a9o \ - --Role testRole \ - --Remark testRemark \ + --Role test_role_name \ + --Remark 测试角色 \ --PermWrite True \ --PermRead True ``` @@ -20,7 +20,7 @@ Output: "RequestId": null, "Response": { "RequestId": "0bb79e96-2531-4088-8d90-e1372c15518a", - "Role": "testRole" + "Role": "test_role_name" } } ``` diff --git a/tccli/examples/trocket/v20230308/CreateTopic.md b/tccli/examples/trocket/v20230308/CreateTopic.md index 3077f651a7..5a5049d189 100644 --- a/tccli/examples/trocket/v20230308/CreateTopic.md +++ b/tccli/examples/trocket/v20230308/CreateTopic.md @@ -1,4 +1,4 @@ -**Example 1: 创建主题** +**Example 1: 创建主题示例** 创建主题 @@ -7,10 +7,10 @@ Input: ``` tccli trocket CreateTopic --cli-unfold-argument \ --InstanceId rmq-72mo3a9o \ - --Topic test \ + --Topic test_topic \ --TopicType NORMAL \ --QueueNum 16 \ - --Remark remoark + --Remark 测试主题 ``` Output: @@ -21,7 +21,7 @@ Output: "Response": { "InstanceId": "rmq-72mo3a9o", "RequestId": "97f45511-b653-4e2a-ade6-58c8d3ae523b", - "Topic": "test" + "Topic": "test_topic" } } ``` diff --git a/tccli/examples/trocket/v20230308/DeleteConsumerGroup.md b/tccli/examples/trocket/v20230308/DeleteConsumerGroup.md index 37be6a8fcd..55edf39727 100644 --- a/tccli/examples/trocket/v20230308/DeleteConsumerGroup.md +++ b/tccli/examples/trocket/v20230308/DeleteConsumerGroup.md @@ -7,7 +7,7 @@ Input: ``` tccli trocket DeleteConsumerGroup --cli-unfold-argument \ --InstanceId rmq-72mo3a9o \ - --ConsumerGroup group + --ConsumerGroup test_group ``` Output: diff --git a/tccli/examples/trocket/v20230308/DeleteInstance.md b/tccli/examples/trocket/v20230308/DeleteInstance.md index b3f02d487d..dc1553aef5 100644 --- a/tccli/examples/trocket/v20230308/DeleteInstance.md +++ b/tccli/examples/trocket/v20230308/DeleteInstance.md @@ -1,19 +1,19 @@ -**Example 1: 删除实例** +**Example 1: 删除集群** -删除实例 +删除 RocketMQ 5.x 集群 Input: ``` tccli trocket DeleteInstance --cli-unfold-argument \ - --InstanceId rmq-xxxxx + --InstanceId rmq-72mo3a9o ``` Output: ``` { "Response": { - "RequestId": "abc" + "RequestId": "97f45511-b653-4e2a-ade6-58c8d3ae523b" } } ``` diff --git a/tccli/examples/trocket/v20230308/DeleteMQTTUser.md b/tccli/examples/trocket/v20230308/DeleteMQTTUser.md index 2e3c78ba95..9c1b351d44 100644 --- a/tccli/examples/trocket/v20230308/DeleteMQTTUser.md +++ b/tccli/examples/trocket/v20230308/DeleteMQTTUser.md @@ -7,7 +7,7 @@ Input: ``` tccli trocket DeleteMQTTUser --cli-unfold-argument \ --InstanceId mqtt-7pnqmkrx \ - --Username 123 + --Username user1 ``` Output: diff --git a/tccli/examples/trocket/v20230308/DeleteRole.md b/tccli/examples/trocket/v20230308/DeleteRole.md index e11313cf02..bcf437a581 100644 --- a/tccli/examples/trocket/v20230308/DeleteRole.md +++ b/tccli/examples/trocket/v20230308/DeleteRole.md @@ -7,7 +7,7 @@ Input: ``` tccli trocket DeleteRole --cli-unfold-argument \ --InstanceId rmq-72mo3a9o \ - --Role testRole + --Role test_role_name ``` Output: diff --git a/tccli/examples/trocket/v20230308/DeleteTopic.md b/tccli/examples/trocket/v20230308/DeleteTopic.md index 0920ee6b67..a6d38307c5 100644 --- a/tccli/examples/trocket/v20230308/DeleteTopic.md +++ b/tccli/examples/trocket/v20230308/DeleteTopic.md @@ -7,7 +7,7 @@ Input: ``` tccli trocket DeleteTopic --cli-unfold-argument \ --InstanceId rmq-72mo3a9o \ - --Topic test + --Topic test_topic ``` Output: diff --git a/tccli/examples/trocket/v20230308/DescribeConsumerGroupList.md b/tccli/examples/trocket/v20230308/DescribeConsumerGroupList.md index d76a27b29c..c233888bb9 100644 --- a/tccli/examples/trocket/v20230308/DescribeConsumerGroupList.md +++ b/tccli/examples/trocket/v20230308/DescribeConsumerGroupList.md @@ -21,14 +21,14 @@ Output: { "ConsumeEnable": true, "ConsumeMessageOrderly": true, - "ConsumerGroup": "group", + "ConsumerGroup": "test_group", "InstanceId": "rmq-72mo3a9o", "MaxRetryTimes": 16, - "Remark": "test" + "Remark": "测试消费组" } ], "RequestId": "318142bf-0dd1-4b81-9444-a40f988619a1", - "TotalCount": 7 + "TotalCount": 1 } } ``` diff --git a/tccli/examples/trocket/v20230308/DescribeConsumerLag.md b/tccli/examples/trocket/v20230308/DescribeConsumerLag.md index 15a9cff0ce..d8c70fe950 100644 --- a/tccli/examples/trocket/v20230308/DescribeConsumerLag.md +++ b/tccli/examples/trocket/v20230308/DescribeConsumerLag.md @@ -7,7 +7,7 @@ Input: ``` tccli trocket DescribeConsumerLag --cli-unfold-argument \ --InstanceId rmq-24kzek2b \ - --ConsumerGroup test + --ConsumerGroup test_group ``` Output: @@ -16,7 +16,7 @@ Output: "Error": null, "RequestId": null, "Response": { - "ConsumerLag": 0, + "ConsumerLag": 260, "RequestId": "2b9eef15-a8bc-47a3-9445-9edcafccb459" } } diff --git a/tccli/examples/trocket/v20230308/DescribeFusionInstanceList.md b/tccli/examples/trocket/v20230308/DescribeFusionInstanceList.md index 53687a0ddc..8dd32b13b6 100644 --- a/tccli/examples/trocket/v20230308/DescribeFusionInstanceList.md +++ b/tccli/examples/trocket/v20230308/DescribeFusionInstanceList.md @@ -1,4 +1,4 @@ -**Example 1: 示例** +**Example 1: 获取全量集群列表** @@ -6,45 +6,41 @@ Input: ``` tccli trocket DescribeFusionInstanceList --cli-unfold-argument \ - --Filters.0.Name abc \ - --Filters.0.Values abc \ - --TagFilters.0.TagKey abc \ - --TagFilters.0.TagValues abc \ --Offset 0 \ - --Limit 0 + --Limit 20 ``` Output: ``` { "Response": { - "TotalCount": 0, + "TotalCount": 2, "Data": [ { - "InstanceId": "abc", - "InstanceName": "abc", - "Version": "abc", - "InstanceType": "abc", - "InstanceStatus": "abc", - "TopicNumLimit": 0, - "GroupNumLimit": 0, - "PayMode": "abc", - "ExpiryTime": 0, - "Remark": "abc", - "TopicNum": 0, - "GroupNum": 0, + "InstanceId": "rmq-72mo3a9o", + "InstanceName": "test_instance5x", + "Version": "5.0", + "InstanceType": "EXPERIMENT", + "InstanceStatus": "RUNNING", + "TopicNumLimit": 52, + "GroupNumLimit": 520, + "PayMode": "PREPAID", + "ExpiryTime": 1731830193435, + "Remark": "5.X 版本测试集群", + "TopicNum": 3, + "GroupNum": 10, "TagList": [ { - "TagKey": "abc", - "TagValue": "abc" + "TagKey": "test_tag", + "TagValue": "test_tag_key" } ], - "SkuCode": "abc", - "TpsLimit": 0, + "SkuCode": "experiment_500", + "TpsLimit": 500, "ScaledTpsLimit": 0, - "MessageRetention": 0, - "MaxMessageDelay": 0, - "RenewFlag": 0, + "MessageRetention": 72, + "MaxMessageDelay": 168, + "RenewFlag": 1, "InstanceItemExtraInfo": { "IsVip": true, "VipInstanceStatus": 0, @@ -57,9 +53,47 @@ Output: "InstanceStatus": 0 }, "DestroyTime": 0 + }, + { + "InstanceId": "rocketmq-5kze4gr222mx", + "InstanceName": "test_instance4x", + "Version": "4", + "InstanceType": "BASIC", + "InstanceStatus": "RUNNING", + "TopicNumLimit": 400, + "GroupNumLimit": 4000, + "PayMode": "PREPAID", + "ExpiryTime": 1730710586538, + "Remark": "4.X 版本测试集群", + "TopicNum": 1, + "GroupNum": 1, + "TagList": [ + { + "TagKey": "test_tag", + "TagValue": "test_tag_key" + } + ], + "SkuCode": "", + "TpsLimit": 8000, + "ScaledTpsLimit": 0, + "MessageRetention": 72, + "MaxMessageDelay": 0, + "RenewFlag": 1, + "DestroyTime": 0, + "InstanceItemExtraInfo": { + "IsVip": true, + "InstanceStatus": 1, + "VipInstanceStatus": 1, + "MaxBandWidth": 80, + "NodeCount": 2, + "MaxStorage": 200, + "SpecName": "rocket-vip-basic-0", + "MaxRetention": 168, + "MinRetention": 24 + } } ], - "RequestId": "abc" + "RequestId": "eac6b301-a322-493a-8e36-83b295459397" } } ``` diff --git a/tccli/examples/trocket/v20230308/DescribeInstance.md b/tccli/examples/trocket/v20230308/DescribeInstance.md index fe84ee0044..ffebe32c70 100644 --- a/tccli/examples/trocket/v20230308/DescribeInstance.md +++ b/tccli/examples/trocket/v20230308/DescribeInstance.md @@ -1,12 +1,12 @@ -**Example 1: 查询实例** +**Example 1: 查询集群信息成功** -查询实例 +查询集群信息成功 Input: ``` tccli trocket DescribeInstance --cli-unfold-argument \ - --InstanceId abc + --InstanceId rmq-72mo3a9o ``` Output: @@ -14,52 +14,46 @@ Output: { "Response": { "ScaledTpsEnabled": false, - "InstanceType": "abc", - "InstanceId": "abc", - "InstanceName": "abc", - "TopicNum": 0, - "TopicNumLimit": 0, - "GroupNum": 0, - "GroupNumLimit": 0, - "MessageRetention": 0, - "RetentionUpperLimit": 0, - "RetentionLowerLimit": 0, - "TpsLimit": 0, + "InstanceType": "EXPERIMENT", + "InstanceId": "rmq-72mo3a9o", + "InstanceName": "test_instance", + "TopicNum": 2, + "TopicNumLimit": 50, + "GroupNum": 10, + "GroupNumLimit": 500, + "MessageRetention": 72, + "RetentionUpperLimit": 168, + "RetentionLowerLimit": 1, + "TpsLimit": 500, "ScaledTpsLimit": 0, - "MaxMessageDelay": 0, - "CreatedTime": 0, - "SendReceiveRatio": 0, + "MaxMessageDelay": 168, + "CreatedTime": 1731920303801, + "SendReceiveRatio": 0.5, "TagList": [ { - "TagKey": "abc", - "TagValue": "abc" + "TagKey": "test_tag_key", + "TagValue": "test_tag_value" } ], "EndpointList": [ { - "Type": "abc", - "Status": "abc", - "PayMode": "abc", - "EndpointUrl": "abc", - "VpcId": "abc", - "SubnetId": "abc", + "Type": "VPC", + "Status": "OPEN", + "PayMode": "PREPAID", + "EndpointUrl": "rmq-72mo3a9o.rocketmq.xx.qcloud.tencenttdmq.com:8080", + "VpcId": "vpc-be1tvrab", + "SubnetId": "subnet-i6fjswac", "Bandwidth": 0, - "IpRules": [ - { - "Ip": "abc", - "Allow": true, - "Remark": "abc" - } - ] + "IpRules": [] } ], - "TopicQueueNumUpperLimit": 0, - "TopicQueueNumLowerLimit": 0, - "Remark": "abc", - "InstanceStatus": "abc", - "SkuCode": "abc", - "PayMode": "abc", - "RequestId": "abc" + "TopicQueueNumUpperLimit": 32, + "TopicQueueNumLowerLimit": 1, + "Remark": "测试集群", + "InstanceStatus": "RUNNING", + "SkuCode": "experiment_500", + "PayMode": "PREPAID", + "RequestId": "32759095-0372-4ec0-ae3a-e5a2759fd0ff" } } ``` diff --git a/tccli/examples/trocket/v20230308/DescribeInstanceList.md b/tccli/examples/trocket/v20230308/DescribeInstanceList.md index dd0d7042d7..fc07982b58 100644 --- a/tccli/examples/trocket/v20230308/DescribeInstanceList.md +++ b/tccli/examples/trocket/v20230308/DescribeInstanceList.md @@ -1,13 +1,13 @@ -**Example 1: 查询实例列表** +**Example 1: 查询集群列表** -查询实例列表 +查询RocketMQ 5.X 集群列表 Input: ``` tccli trocket DescribeInstanceList --cli-unfold-argument \ --Offset 0 \ - --Limit 10 + --Limit 20 ``` Output: @@ -19,57 +19,32 @@ Output: "Data": [ { "ExpiryTime": 0, - "GroupNum": 0, - "GroupNumLimit": 500, - "InstanceId": "rmq-4knx4z7p", - "InstanceName": "tag-test", - "InstanceStatus": "RUNNING", - "InstanceType": "EXPERIMENT", - "MaxMessageDelay": 48, - "MessageRetention": 72, - "PayMode": "POSTPAID", - "Remark": "aabb", - "ScaledTpsLimit": 0, - "SkuCode": "experiment_500", - "TagList": [ - { - "TagKey": "test-key", - "TagValue": "tag-value" - } - ], - "TopicNum": 0, - "TopicNumLimit": 50, - "TpsLimit": 500, - "Version": "5.0" - }, - { - "ExpiryTime": 0, - "GroupNum": 6, + "GroupNum": 10, "GroupNumLimit": 500, "InstanceId": "rmq-72mo3a9o", - "InstanceName": "breatche-test", + "InstanceName": "test_instance5x", "InstanceStatus": "RUNNING", "InstanceType": "EXPERIMENT", "MaxMessageDelay": 48, - "MessageRetention": 24, + "MessageRetention": 72, "PayMode": "POSTPAID", - "Remark": "cddf", + "Remark": "5.X版本测试集群", "ScaledTpsLimit": 0, "SkuCode": "experiment_500", "TagList": [ { - "TagKey": "tagkey", - "TagValue": "aa" + "TagKey": "test_tag_key", + "TagValue": "test_tag_value" } ], - "TopicNum": 6, + "TopicNum": 10, "TopicNumLimit": 50, "TpsLimit": 500, "Version": "5.0" } ], "RequestId": "561a34ff-965b-4a2d-852e-973c0b2a6f01", - "TotalCount": 2 + "TotalCount": 1 } } ``` diff --git a/tccli/examples/trocket/v20230308/DescribeMQTTInsPublicEndpoints.md b/tccli/examples/trocket/v20230308/DescribeMQTTInsPublicEndpoints.md index 56a1e9e9bf..9c2c5ab35f 100644 --- a/tccli/examples/trocket/v20230308/DescribeMQTTInsPublicEndpoints.md +++ b/tccli/examples/trocket/v20230308/DescribeMQTTInsPublicEndpoints.md @@ -18,27 +18,27 @@ Output: "Bandwidth": 2, "Endpoints": [ { - "Host": "mqtt-gn8qoq3z-cd.mqtt.public.tencenttdmq.com", - "Port": 22, + "Host": "mqttproxy-gn8qoq3z-gz-public.mqtt.tencenttdmq.com", + "Port": 8888, "SubnetId": null, "Type": "mqtt-ws", - "Url": null, + "Url": "mqttproxy-gn8qoq3z-gz-public.mqtt.tencenttdmq.com:8888", "VpcId": null }, { - "Host": "mqtt-gn8qoq3z-cd.mqtt.public.tencenttdmq.com", - "Port": 11, + "Host": "mqttproxy-gn8qoq3z-gz-public.mqtt.tencenttdmq.com", + "Port": 1883, "SubnetId": null, "Type": "mqtt-tcp", - "Url": null, + "Url": "mqttproxy-gn8qoq3z-gz-public.mqtt.tencenttdmq.com:1883", "VpcId": null }, { - "Host": "mqtt-gn8qoq3z-cd.mqtt.public.tencenttdmq.com", - "Port": 33, + "Host": "mqttproxy-gn8qoq3z-gz-public.mqtt.tencenttdmq.com", + "Port": 8883, "SubnetId": null, "Type": "mqtt-tls", - "Url": null, + "Url": "mqttproxy-gn8qoq3z-gz-public.mqtt.tencenttdmq.com:8883", "VpcId": null } ], diff --git a/tccli/examples/trocket/v20230308/DescribeMQTTInstance.md b/tccli/examples/trocket/v20230308/DescribeMQTTInstance.md index da0cba4749..94e33430d1 100644 --- a/tccli/examples/trocket/v20230308/DescribeMQTTInstance.md +++ b/tccli/examples/trocket/v20230308/DescribeMQTTInstance.md @@ -18,7 +18,7 @@ Output: "ClientNumLimit": 1000, "CreatedTime": 1705562417, "InstanceId": "mqtt-7pnqmkrx", - "InstanceName": "sunjianxiong-1", + "InstanceName": "instance-1", "InstanceStatus": "RUNNING", "InstanceType": "BASIC", "Remark": "this is remark", diff --git a/tccli/examples/trocket/v20230308/DescribeMQTTInstanceCert.md b/tccli/examples/trocket/v20230308/DescribeMQTTInstanceCert.md index 23b42bc27c..c46f5024fc 100644 --- a/tccli/examples/trocket/v20230308/DescribeMQTTInstanceCert.md +++ b/tccli/examples/trocket/v20230308/DescribeMQTTInstanceCert.md @@ -15,10 +15,10 @@ Output: "Error": null, "RequestId": null, "Response": { - "InstanceId": null, + "InstanceId": "instance-1", "RequestId": "a07a950a-43ea-4c13-a812-7ba4337d186a", - "SSLCaCertId": null, - "SSLServerCertId": null + "SSLCaCertId": "ca-id", + "SSLServerCertId": "server-cert-id" } } ``` diff --git a/tccli/examples/trocket/v20230308/DescribeMQTTMessage.md b/tccli/examples/trocket/v20230308/DescribeMQTTMessage.md index 2a2792e968..269d95ba92 100644 --- a/tccli/examples/trocket/v20230308/DescribeMQTTMessage.md +++ b/tccli/examples/trocket/v20230308/DescribeMQTTMessage.md @@ -17,7 +17,7 @@ Output: "Error": null, "RequestId": null, "Response": { - "Body": "Hello MQTT111111", + "Body": "Hello MQTT", "MessageId": "0B8D67F0002D6ACBCFC0557BCEBA0001", "ProduceTime": "2024-01-17 14:22:57", "ProducerAddr": "11.176.16.153:51134", @@ -76,7 +76,7 @@ Output: } ], "RequestId": "e658afc8-e2c0-463e-bf90-3103d881d59f", - "ShowTopicName": "topic24" + "ShowTopicName": "topic-home" } } ``` diff --git a/tccli/examples/trocket/v20230308/DescribeMQTTProductSKUList.md b/tccli/examples/trocket/v20230308/DescribeMQTTProductSKUList.md index 3a221d3fa5..0910ddb951 100644 --- a/tccli/examples/trocket/v20230308/DescribeMQTTProductSKUList.md +++ b/tccli/examples/trocket/v20230308/DescribeMQTTProductSKUList.md @@ -14,18 +14,6 @@ Output: "RequestId": null, "Response": { "MQTTProductSkuList": [ - { - "ClientNumLimit": 1, - "InstanceType": "BASIC", - "OnSale": true, - "ProxySpecCore": 2, - "ProxySpecCount": 1, - "ProxySpecMemory": 4, - "SkuCode": "mqtt_1k", - "SubscriptionNumLimit": 1, - "TopicNumLimit": 1, - "TpsLimit": 1 - }, { "ClientNumLimit": 1000, "InstanceType": "BASIC", diff --git a/tccli/examples/trocket/v20230308/DescribeRoleList.md b/tccli/examples/trocket/v20230308/DescribeRoleList.md index 1e31a50180..0e571718ab 100644 --- a/tccli/examples/trocket/v20230308/DescribeRoleList.md +++ b/tccli/examples/trocket/v20230308/DescribeRoleList.md @@ -1,6 +1,6 @@ **Example 1: 查询角色列表** -查询角色列表 +查询角色列表成功 Input: @@ -8,7 +8,7 @@ Input: tccli trocket DescribeRoleList --cli-unfold-argument \ --InstanceId rmq-72mo3a9o \ --Offset 0 \ - --Limit 1 + --Limit 20 ``` Output: @@ -17,20 +17,20 @@ Output: "Error": null, "RequestId": null, "Response": { + "RequestId": "c5d126b6-aeeb-40ad-81c0-a94abd43f157", + "TotalCount": 1, "Data": [ { - "AccessKey": "eyJrZXlJZCI6InJtcS03Mm1vM2E5byIsImFsZyI6IkhTMjU2In0.eyJzdWIiOiJybXEtNzJtbzNhOW9fdGVzdFJvbGUifQ.vrdHDzzfeDsX1c5rhaFcLpJBd_dGIWQIlAPLOuOEDfM", - "CreatedTime": 1683615280000, - "ModifiedTime": 1683615280000, + "RoleName": "test_role_name", + "AccessKey": "ak4ae3zkj2zea6741a2a709", + "SecretKey": "skd68607c7dc2be6a4", "PermRead": true, "PermWrite": true, - "Remark": "testRemark", - "RoleName": "testRole", - "SecretKey": "/tuS7zTKFNmsApaUvq4l5kTnV/GSWJ2m4bGhR62kVYY=" + "Remark": "", + "CreatedTime": 1729153015000, + "ModifiedTime": 1729153015000 } - ], - "RequestId": "346f63a2-dd66-439e-9abc-338a56f6523c", - "TotalCount": 2 + ] } } ``` diff --git a/tccli/examples/trocket/v20230308/DescribeTopic.md b/tccli/examples/trocket/v20230308/DescribeTopic.md index ff14ce8e5d..d7979999db 100644 --- a/tccli/examples/trocket/v20230308/DescribeTopic.md +++ b/tccli/examples/trocket/v20230308/DescribeTopic.md @@ -7,7 +7,7 @@ Input: ``` tccli trocket DescribeTopic --cli-unfold-argument \ --InstanceId rmq-72mo3a9o \ - --Topic test \ + --Topic test_topic \ --Offset 0 \ --Limit 10 ``` @@ -21,11 +21,11 @@ Output: "CreatedTime": 1683601674000, "InstanceId": "rmq-72mo3a9o", "LastUpdateTime": 0, - "Remark": "remoark", + "Remark": "测试主题", "RequestId": "f7f7ba8a-4335-4adb-9186-680b91502c42", "SubscriptionCount": 0, "SubscriptionData": [], - "Topic": "test", + "Topic": "test_topic", "TopicType": "NORMAL" } } diff --git a/tccli/examples/trocket/v20230308/DescribeTopicList.md b/tccli/examples/trocket/v20230308/DescribeTopicList.md index ad06533258..3ccbce0a12 100644 --- a/tccli/examples/trocket/v20230308/DescribeTopicList.md +++ b/tccli/examples/trocket/v20230308/DescribeTopicList.md @@ -8,7 +8,7 @@ Input: tccli trocket DescribeTopicList --cli-unfold-argument \ --InstanceId rmq-72mo3a9o \ --Offset 0 \ - --Limit 1 + --Limit 20 ``` Output: @@ -21,13 +21,13 @@ Output: { "InstanceId": "rmq-72mo3a9o", "QueueNum": 16, - "Remark": "remoark", - "Topic": "test", + "Remark": "测试主题", + "Topic": "test_topic", "TopicType": "NORMAL" } ], "RequestId": "927cbd2c-be83-410e-a83f-24dcea1d88d9", - "TotalCount": 7 + "TotalCount": 1 } } ``` diff --git a/tccli/examples/trocket/v20230308/ImportSourceClusterConsumerGroups.md b/tccli/examples/trocket/v20230308/ImportSourceClusterConsumerGroups.md index 008efdf4c5..a473de1725 100644 --- a/tccli/examples/trocket/v20230308/ImportSourceClusterConsumerGroups.md +++ b/tccli/examples/trocket/v20230308/ImportSourceClusterConsumerGroups.md @@ -6,17 +6,17 @@ Input: ``` tccli trocket ImportSourceClusterConsumerGroups --cli-unfold-argument \ - --TaskId abc \ - --GroupList.0.GroupName Test \ - --GroupList.0.Remark abc \ - --GroupList.0.Namespace + --TaskId n4zk7nv4-d596886f \ + --GroupList.0.GroupName test_group \ + --GroupList.0.Remark 测试 \ + --GroupList.0.Namespace test_namespace ``` Output: ``` { "Response": { - "RequestId": "abc" + "RequestId": "c5d126b6-aeeb-40ad-81c0-a94abd43f157" } } ``` diff --git a/tccli/examples/trocket/v20230308/ImportSourceClusterTopics.md b/tccli/examples/trocket/v20230308/ImportSourceClusterTopics.md index fd90d95a72..a995e03db6 100644 --- a/tccli/examples/trocket/v20230308/ImportSourceClusterTopics.md +++ b/tccli/examples/trocket/v20230308/ImportSourceClusterTopics.md @@ -6,19 +6,19 @@ Input: ``` tccli trocket ImportSourceClusterTopics --cli-unfold-argument \ - --TaskId abc \ - --TopicList.0.TopicName Test \ + --TaskId 215d3ec6-70c9 \ + --TopicList.0.TopicName test_topic \ --TopicList.0.TopicType Normal \ - --TopicList.0.QueueNum 10 \ - --TopicList.0.Remark abc \ - --TopicList.0.Namespace + --TopicList.0.QueueNum 3 \ + --TopicList.0.Remark 测试导入 \ + --TopicList.0.Namespace test_namespace ``` Output: ``` { "Response": { - "RequestId": "abc" + "RequestId": "c5d126b6-aeeb-40ad-81c0-a94abd43f157" } } ``` diff --git a/tccli/examples/trocket/v20230308/ModifyConsumerGroup.md b/tccli/examples/trocket/v20230308/ModifyConsumerGroup.md index 0224544002..f7a8592364 100644 --- a/tccli/examples/trocket/v20230308/ModifyConsumerGroup.md +++ b/tccli/examples/trocket/v20230308/ModifyConsumerGroup.md @@ -1,17 +1,17 @@ **Example 1: 修改消费组属性** -修改消费组属性 +修改消费组属性成功 Input: ``` tccli trocket ModifyConsumerGroup --cli-unfold-argument \ --InstanceId rmq-72mo3a9o \ - --ConsumerGroup group \ + --ConsumerGroup test_group \ --ConsumeEnable True \ --ConsumeMessageOrderly True \ --MaxRetryTimes 16 \ - --Remark test + --Remark 测试修改 ``` Output: diff --git a/tccli/examples/trocket/v20230308/ModifyMQTTInsPublicEndpoint.md b/tccli/examples/trocket/v20230308/ModifyMQTTInsPublicEndpoint.md index 5c5566ec62..be451c8f4a 100644 --- a/tccli/examples/trocket/v20230308/ModifyMQTTInsPublicEndpoint.md +++ b/tccli/examples/trocket/v20230308/ModifyMQTTInsPublicEndpoint.md @@ -10,7 +10,7 @@ tccli trocket ModifyMQTTInsPublicEndpoint --cli-unfold-argument \ --Bandwidth 2 \ --Rules.0.IpRule 2.2.2.2 \ --Rules.0.Allow True \ - --Rules.0.Remark 555 + --Rules.0.Remark remark1 ``` Output: diff --git a/tccli/examples/trocket/v20230308/ModifyMQTTInstance.md b/tccli/examples/trocket/v20230308/ModifyMQTTInstance.md index acf3c82105..9572a63b97 100644 --- a/tccli/examples/trocket/v20230308/ModifyMQTTInstance.md +++ b/tccli/examples/trocket/v20230308/ModifyMQTTInstance.md @@ -7,8 +7,8 @@ Input: ``` tccli trocket ModifyMQTTInstance --cli-unfold-argument \ --InstanceId mqtt-47ka4rdr \ - --Name sjx0119 \ - --Remark 555 + --Name instance-2 \ + --Remark ramark ``` Output: diff --git a/tccli/examples/trocket/v20230308/ModifyMQTTTopic.md b/tccli/examples/trocket/v20230308/ModifyMQTTTopic.md index 06aa17799e..39877b405c 100644 --- a/tccli/examples/trocket/v20230308/ModifyMQTTTopic.md +++ b/tccli/examples/trocket/v20230308/ModifyMQTTTopic.md @@ -7,8 +7,8 @@ Input: ``` tccli trocket ModifyMQTTTopic --cli-unfold-argument \ --InstanceId mqtt-rvb5xxrn \ - --Topic 222 \ - --Remark 444 + --Topic topic1 \ + --Remark ramark1 ``` Output: diff --git a/tccli/examples/trocket/v20230308/ModifyMQTTUser.md b/tccli/examples/trocket/v20230308/ModifyMQTTUser.md index 91b3e12658..26b93a8482 100644 --- a/tccli/examples/trocket/v20230308/ModifyMQTTUser.md +++ b/tccli/examples/trocket/v20230308/ModifyMQTTUser.md @@ -7,8 +7,8 @@ Input: ``` tccli trocket ModifyMQTTUser --cli-unfold-argument \ --InstanceId mqtt-7pnqmkrx \ - --Username 222 \ - --Remark 3333 \ + --Username user2 \ + --Remark remark2 \ --PermRead True \ --PermWrite True ``` diff --git a/tccli/examples/trocket/v20230308/ModifyRole.md b/tccli/examples/trocket/v20230308/ModifyRole.md index ae148b68a2..534e544dd4 100644 --- a/tccli/examples/trocket/v20230308/ModifyRole.md +++ b/tccli/examples/trocket/v20230308/ModifyRole.md @@ -1,16 +1,16 @@ **Example 1: 修改角色** -修改角色 +修改角色成功 Input: ``` tccli trocket ModifyRole --cli-unfold-argument \ --InstanceId rmq-72mo3a9o \ - --Role testRole \ - --Remark test \ - --PermRead True \ - --PermWrite True + --Role test_role_name \ + --Remark 测试修改 \ + --PermRead False \ + --PermWrite False ``` Output: diff --git a/tccli/examples/waf/v20180125/DescribeAreaBanSupportAreas.md b/tccli/examples/waf/v20180125/DescribeAreaBanSupportAreas.md index 79de821216..cca0ef57df 100644 --- a/tccli/examples/waf/v20180125/DescribeAreaBanSupportAreas.md +++ b/tccli/examples/waf/v20180125/DescribeAreaBanSupportAreas.md @@ -11,7 +11,7 @@ Output: ``` { "Response": { - "Data": "{\"areas\":[{\"en_abbr\":\"US\",\"en\":\"United States\",\"zh\":\"美国\"},{\"en_abbr\":\"CN\",\"en\":\"China\",\"zh\":\"中国\"},{\"en_abbr\":\"JP\",\"en\":\"Japan\",\"zh\":\"日本\"},{\"en_abbr\":\"DE\",\"en\":\"Germany\",\"zh\":\"德国\"},{\"en_abbr\":\"UK\",\"en\":\"United Kingdom\",\"zh\":\"英国\"},{\"en_abbr\":\"KR\",\"en\":\"South Korea\",\"zh\":\"韩国\"},{\"en_abbr\":\"BR\",\"en\":\"Brazil\",\"zh\":\"巴西\"},{\"en_abbr\":\"FR\",\"en\":\"France\",\"zh\":\"法国\"},{\"en_abbr\":\"CA\",\"en\":\"Canada\",\"zh\":\"加拿大\"},{\"en_abbr\":\"IT\",\"en\":\"Italy\",\"zh\":\"意大利\"},{\"en_abbr\":\"AU\",\"en\":\"Australia\",\"zh\":\"澳大利亚\"},{\"en_abbr\":\"NL\",\"en\":\"Netherlands\",\"zh\":\"荷兰\"},{\"en_abbr\":\"RU\",\"en\":\"Russia\",\"zh\":\"俄罗斯\"},{\"en_abbr\":\"IN\",\"en\":\"India\",\"zh\":\"印度\"},{\"en_abbr\":\"ES\",\"en\":\"Spain\",\"zh\":\"西班牙\"},{\"en_abbr\":\"SE\",\"en\":\"Sweden\",\"zh\":\"瑞典\"},{\"en_abbr\":\"ZA\",\"en\":\"South Africa\",\"zh\":\"南非\"},{\"en_abbr\":\"MX\",\"en\":\"Mexico\",\"zh\":\"墨西哥\"},{\"en_abbr\":\"BE\",\"en\":\"Belgium\",\"zh\":\"比利时\"},{\"en_abbr\":\"EG\",\"en\":\"Egypt\",\"zh\":\"埃及\"},{\"en_abbr\":\"PL\",\"en\":\"Poland\",\"zh\":\"波兰\"},{\"en_abbr\":\"CH\",\"en\":\"Switzerland\",\"zh\":\"瑞士\"},{\"en_abbr\":\"AR\",\"en\":\"Argentina\",\"zh\":\"阿根廷\"},{\"en_abbr\":\"ID\",\"en\":\"Indonesia\",\"zh\":\"印度尼西亚\"},{\"en_abbr\":\"CO\",\"en\":\"Colombia\",\"zh\":\"哥伦比亚\"},{\"en_abbr\":\"TR\",\"en\":\"Turkey\",\"zh\":\"土耳其\"},{\"en_abbr\":\"NO\",\"en\":\"Norway\",\"zh\":\"挪威\"},{\"en_abbr\":\"VN\",\"en\":\"Vietnam\",\"zh\":\"越南\"},{\"en_abbr\":\"SG\",\"en\":\"Singapore\",\"zh\":\"新加坡\"},{\"en_abbr\":\"FI\",\"en\":\"Finland\",\"zh\":\"芬兰\"},{\"en_abbr\":\"IR\",\"en\":\"Iran\",\"zh\":\"伊朗\"},{\"en_abbr\":\"DK\",\"en\":\"Denmark\",\"zh\":\"丹麦\"},{\"en_abbr\":\"MA\",\"en\":\"Morocco\",\"zh\":\"摩洛哥\"},{\"en_abbr\":\"AT\",\"en\":\"Austria\",\"zh\":\"奥地利\"},{\"en_abbr\":\"UA\",\"en\":\"Ukraine\",\"zh\":\"乌克兰\"},{\"en_abbr\":\"SA\",\"en\":\"Saudi Arabia\",\"zh\":\"沙特阿拉伯\"},{\"en_abbr\":\"CL\",\"en\":\"Chile\",\"zh\":\"智利\"},{\"en_abbr\":\"CZ\",\"en\":\"Czech\",\"zh\":\"捷克\"},{\"en_abbr\":\"TH\",\"en\":\"Thailand\",\"zh\":\"泰国\"},{\"en_abbr\":\"RO\",\"en\":\"Romania\",\"zh\":\"罗马尼亚\"},{\"en_abbr\":\"SC\",\"en\":\"Seychelles\",\"zh\":\"塞舌尔\"},{\"en_abbr\":\"IL\",\"en\":\"Israel\",\"zh\":\"以色列\"},{\"en_abbr\":\"NZ\",\"en\":\"New Zealand\",\"zh\":\"新西兰\"},{\"en_abbr\":\"TN\",\"en\":\"Tunisia\",\"zh\":\"突尼斯\"},{\"en_abbr\":\"VE\",\"en\":\"Venezuela\",\"zh\":\"委内瑞拉\"},{\"en_abbr\":\"PT\",\"en\":\"Portugal\",\"zh\":\"葡萄牙\"},{\"en_abbr\":\"MY\",\"en\":\"Malaysia\",\"zh\":\"马来西亚\"},{\"en_abbr\":\"IE\",\"en\":\"Ireland\",\"zh\":\"爱尔兰\"},{\"en_abbr\":\"HU\",\"en\":\"Hungary\",\"zh\":\"匈牙利\"},{\"en_abbr\":\"GR\",\"en\":\"Greece\",\"zh\":\"希腊\"},{\"en_abbr\":\"PH\",\"en\":\"Philippines\",\"zh\":\"菲律宾\"},{\"en_abbr\":\"KE\",\"en\":\"Kenya\",\"zh\":\"肯尼亚\"},{\"en_abbr\":\"PK\",\"en\":\"Pakistan\",\"zh\":\"巴基斯坦\"},{\"en_abbr\":\"DZ\",\"en\":\"Algeria\",\"zh\":\"阿尔及利亚\"},{\"en_abbr\":\"BG\",\"en\":\"Bulgaria\",\"zh\":\"保加利亚\"},{\"en_abbr\":\"AE\",\"en\":\"United Arab Emirates\",\"zh\":\"阿联酋\"},{\"en_abbr\":\"PE\",\"en\":\"Peru\",\"zh\":\"秘鲁\"},{\"en_abbr\":\"NG\",\"en\":\"Nigeria\",\"zh\":\"尼日利亚\"},{\"en_abbr\":\"KZ\",\"en\":\"Kazakhstan\",\"zh\":\"哈萨克斯坦\"},{\"en_abbr\":\"SK\",\"en\":\"Slovakia\",\"zh\":\"斯洛伐克\"},{\"en_abbr\":\"EC\",\"en\":\"Ecuador\",\"zh\":\"厄瓜多尔\"},{\"en_abbr\":\"SI\",\"en\":\"Slovenia\",\"zh\":\"斯洛文尼亚\"},{\"en_abbr\":\"CR\",\"en\":\"Costa Rica\",\"zh\":\"哥斯达黎加\"},{\"en_abbr\":\"MU\",\"en\":\"Mauritius\",\"zh\":\"毛里求斯\"},{\"en_abbr\":\"LT\",\"en\":\"Lithuania\",\"zh\":\"立陶宛\"},{\"en_abbr\":\"UY\",\"en\":\"Uruguay\",\"zh\":\"乌拉圭\"},{\"en_abbr\":\"RS\",\"en\":\"Serbia\",\"zh\":\"塞尔维亚\"},{\"en_abbr\":\"GH\",\"en\":\"Ghana\",\"zh\":\"加纳\"},{\"en_abbr\":\"HR\",\"en\":\"Croatia\",\"zh\":\"克罗地亚\"},{\"en_abbr\":\"KW\",\"en\":\"Kuwait\",\"zh\":\"科威特\"},{\"en_abbr\":\"SD\",\"en\":\"Sudan\",\"zh\":\"苏丹\"},{\"en_abbr\":\"PA\",\"en\":\"Panama\",\"zh\":\"巴拿马\"},{\"en_abbr\":\"BY\",\"en\":\"Belarus\",\"zh\":\"白俄罗斯\"},{\"en_abbr\":\"LV\",\"en\":\"Latvia\",\"zh\":\"拉脱维亚\"},{\"en_abbr\":\"BD\",\"en\":\"Bangladesh\",\"zh\":\"孟加拉\"},{\"en_abbr\":\"ZM\",\"en\":\"Zambia\",\"zh\":\"赞比亚\"},{\"en_abbr\":\"DM\",\"en\":\"Dominica\",\"zh\":\"多米尼加\"},{\"en_abbr\":\"LU\",\"en\":\"Luxembourg\",\"zh\":\"卢森堡\"},{\"en_abbr\":\"UG\",\"en\":\"Uganda\",\"zh\":\"乌干达\"},{\"en_abbr\":\"EE\",\"en\":\"Estonia\",\"zh\":\"爱沙尼亚\"},{\"en_abbr\":\"MD\",\"en\":\"Moldova\",\"zh\":\"摩尔多瓦\"},{\"en_abbr\":\"GE\",\"en\":\"Georgia\",\"zh\":\"格鲁吉亚\"},{\"en_abbr\":\"AO\",\"en\":\"Angola\",\"zh\":\"安哥拉\"},{\"en_abbr\":\"CI\",\"en\":\"Cote D'Ivoire\",\"zh\":\"科特迪瓦\"},{\"en_abbr\":\"SY\",\"en\":\"Syria\",\"zh\":\"叙利亚\"},{\"en_abbr\":\"BO\",\"en\":\"Bolivia\",\"zh\":\"玻利维亚\"},{\"en_abbr\":\"PY\",\"en\":\"Paraguay\",\"zh\":\"巴拉圭\"},{\"en_abbr\":\"TZ\",\"en\":\"Tanzania\",\"zh\":\"坦桑尼亚\"},{\"en_abbr\":\"OM\",\"en\":\"Oman\",\"zh\":\"阿曼\"},{\"en_abbr\":\"CY\",\"en\":\"Cyprus\",\"zh\":\"塞浦路斯\"},{\"en_abbr\":\"PR\",\"en\":\"Puerto Rico\",\"zh\":\"波多黎各\"},{\"en_abbr\":\"IS\",\"en\":\"Iceland\",\"zh\":\"冰岛\"},{\"en_abbr\":\"QA\",\"en\":\"Qatar\",\"zh\":\"卡塔尔\"},{\"en_abbr\":\"BA\",\"en\":\"Bosnia and Herzegovina\",\"zh\":\"波斯尼亚和黑塞哥维那\"},{\"en_abbr\":\"AZ\",\"en\":\"Azerbaijan\",\"zh\":\"阿塞拜疆\"},{\"en_abbr\":\"CM\",\"en\":\"Cameroon\",\"zh\":\"喀麦隆\"},{\"en_abbr\":\"PS\",\"en\":\"Palestine\",\"zh\":\"巴勒斯坦\"},{\"en_abbr\":\"MK\",\"en\":\"Macedonia\",\"zh\":\"马其顿\"},{\"en_abbr\":\"IQ\",\"en\":\"Iraq\",\"zh\":\"伊拉克\"},{\"en_abbr\":\"JO\",\"en\":\"Jordan\",\"zh\":\"约旦\"},{\"en_abbr\":\"SV\",\"en\":\"El Salvador\",\"zh\":\"萨尔瓦多\"},{\"en_abbr\":\"MT\",\"en\":\"Malta\",\"zh\":\"马耳他\"},{\"en_abbr\":\"AM\",\"en\":\"Armenia\",\"zh\":\"亚美尼亚\"},{\"en_abbr\":\"LB\",\"en\":\"Lebanon\",\"zh\":\"黎巴嫩\"},{\"en_abbr\":\"GT\",\"en\":\"Guatemala\",\"zh\":\"危地马拉\"},{\"en_abbr\":\"NP\",\"en\":\"Nepal\",\"zh\":\"尼泊尔\"},{\"en_abbr\":\"LK\",\"en\":\"Sri Lanka\",\"zh\":\"斯里兰卡\"},{\"en_abbr\":\"MW\",\"en\":\"Malawi\",\"zh\":\"马拉维\"},{\"en_abbr\":\"TT\",\"en\":\"Trinidad and Tobago\",\"zh\":\"特立尼达和多巴哥\"},{\"en_abbr\":\"HN\",\"en\":\"Honduras\",\"zh\":\"洪都拉斯\"},{\"en_abbr\":\"NA\",\"en\":\"Namibia\",\"zh\":\"纳米比亚\"},{\"en_abbr\":\"BH\",\"en\":\"Bahrain\",\"zh\":\"巴林\"},{\"en_abbr\":\"MZ\",\"en\":\"Mozambique\",\"zh\":\"莫桑比克\"},{\"en_abbr\":\"GA\",\"en\":\"Gabon\",\"zh\":\"加蓬\"},{\"en_abbr\":\"NI\",\"en\":\"Nicaragua\",\"zh\":\"尼加拉瓜\"},{\"en_abbr\":\"LY\",\"en\":\"Libya\",\"zh\":\"利比亚\"},{\"en_abbr\":\"AL\",\"en\":\"Albania\",\"zh\":\"阿尔巴尼亚\"},{\"en_abbr\":\"SN\",\"en\":\"Senegal\",\"zh\":\"塞内加尔\"},{\"en_abbr\":\"KH\",\"en\":\"Cambodia\",\"zh\":\"柬埔寨\"},{\"en_abbr\":\"ET\",\"en\":\"Ethiopia\",\"zh\":\"埃塞俄比亚\"},{\"en_abbr\":\"TG\",\"en\":\"Togo\",\"zh\":\"多哥\"},{\"en_abbr\":\"BF\",\"en\":\"Burkina Faso\",\"zh\":\"布基纳法索\"},{\"en_abbr\":\"RE\",\"en\":\"Reunion\",\"zh\":\"留尼汪\"},{\"en_abbr\":\"KG\",\"en\":\"Kyrgyzstan\",\"zh\":\"吉尔吉斯斯坦\"},{\"en_abbr\":\"GM\",\"en\":\"Gambia\",\"zh\":\"冈比亚\"},{\"en_abbr\":\"RW\",\"en\":\"Rwanda\",\"zh\":\"卢旺达\"},{\"en_abbr\":\"CU\",\"en\":\"Cuba\",\"zh\":\"古巴\"},{\"en_abbr\":\"MN\",\"en\":\"Mongolia\",\"zh\":\"蒙古\"},{\"en_abbr\":\"UZ\",\"en\":\"Uzbekistan\",\"zh\":\"乌兹别克斯坦\"},{\"en_abbr\":\"ME\",\"en\":\"Montenegro\",\"zh\":\"黑山\"},{\"en_abbr\":\"GU\",\"en\":\"Guam\",\"zh\":\"关岛\"},{\"en_abbr\":\"JM\",\"en\":\"Jamaica\",\"zh\":\"牙买加\"},{\"en_abbr\":\"BN\",\"en\":\"Brunei\",\"zh\":\"文莱\"},{\"en_abbr\":\"CRC\",\"en\":\"Curaçao\",\"zh\":\"库拉索\"},{\"en_abbr\":\"MG\",\"en\":\"Madagascar\",\"zh\":\"马达加斯加\"},{\"en_abbr\":\"MM\",\"en\":\"Myanmar\",\"zh\":\"缅甸\"},{\"en_abbr\":\"YE\",\"en\":\"Yemen\",\"zh\":\"也门\"},{\"en_abbr\":\"KY\",\"en\":\"Cayman Islands\",\"zh\":\"开曼群岛\"},{\"en_abbr\":\"GI\",\"en\":\"Gibraltar\",\"zh\":\"直布罗陀\"},{\"en_abbr\":\"BB\",\"en\":\"Barbados\",\"zh\":\"巴巴多斯\"},{\"en_abbr\":\"BZ\",\"en\":\"Belize\",\"zh\":\"伯利兹\"},{\"en_abbr\":\"AF\",\"en\":\"Afghanistan\",\"zh\":\"阿富汗\"},{\"en_abbr\":\"HT\",\"en\":\"Haiti\",\"zh\":\"海地\"},{\"en_abbr\":\"BJ\",\"en\":\"Benin\",\"zh\":\"贝宁\"},{\"en_abbr\":\"NC\",\"en\":\"New Caledonia\",\"zh\":\"新喀里多尼亚\"},{\"en_abbr\":\"CD\",\"en\":\"Congo (Congo-Kinshasa)\",\"zh\":\"刚果(金)\"},{\"en_abbr\":\"BW\",\"en\":\"Botswana\",\"zh\":\"博茨瓦纳\"},{\"en_abbr\":\"FJ\",\"en\":\"Fiji\",\"zh\":\"斐济群岛\"},{\"en_abbr\":\"CG\",\"en\":\"Congo\",\"zh\":\"刚果(布)\"},{\"en_abbr\":\"BS\",\"en\":\"Bahamas\",\"zh\":\"巴哈马\"},{\"en_abbr\":\"ZW\",\"en\":\"Zimbabwe\",\"zh\":\"津巴布韦\"},{\"en_abbr\":\"LS\",\"en\":\"Lesotho\",\"zh\":\"莱索托\"},{\"en_abbr\":\"USV\",\"en\":\"U.S. Virgin Islands\",\"zh\":\"美属维尔京群岛\"},{\"en_abbr\":\"BM\",\"en\":\"Bermuda\",\"zh\":\"百慕大\"},{\"en_abbr\":\"LI\",\"en\":\"Liechtenstein\",\"zh\":\"列支敦士登\"},{\"en_abbr\":\"LR\",\"en\":\"Liberia\",\"zh\":\"利比里亚\"},{\"en_abbr\":\"AW\",\"en\":\"Aruba\",\"zh\":\"阿鲁巴\"},{\"en_abbr\":\"SL\",\"en\":\"Sierra Leone\",\"zh\":\"塞拉利昂\"},{\"en_abbr\":\"ML\",\"en\":\"Mali\",\"zh\":\"马里\"},{\"en_abbr\":\"MV\",\"en\":\"Maldives\",\"zh\":\"马尔代夫\"},{\"en_abbr\":\"SR\",\"en\":\"Suriname\",\"zh\":\"苏里南\"},{\"en_abbr\":\"LO\",\"en\":\"Laos\",\"zh\":\"老挝\"},{\"en_abbr\":\"TJ\",\"en\":\"Tajikistan\",\"zh\":\"塔吉克斯坦\"},{\"en_abbr\":\"MC\",\"en\":\"Monaco\",\"zh\":\"摩纳哥\"},{\"en_abbr\":\"GY\",\"en\":\"Guyana\",\"zh\":\"圭亚那\"},{\"en_abbr\":\"AG\",\"en\":\"Antigua and Barbuda\",\"zh\":\"安提瓜和巴布达\"},{\"en_abbr\":\"PG\",\"en\":\"Papua New Guinea\",\"zh\":\"巴布亚新几内亚\"},{\"en_abbr\":\"JE\",\"en\":\"Jersey\",\"zh\":\"泽西岛\"},{\"en_abbr\":\"PF\",\"en\":\"French Polynesia\",\"zh\":\"法属波利尼西亚\"},{\"en_abbr\":\"AD\",\"en\":\"Andorra\",\"zh\":\"安道尔\"},{\"en_abbr\":\"DJ\",\"en\":\"Djibouti\",\"zh\":\"吉布提\"},{\"en_abbr\":\"SZ\",\"en\":\"Swaziland\",\"zh\":\"斯威士兰\"},{\"en_abbr\":\"FO\",\"en\":\"Faroe Islands\",\"zh\":\"法罗群岛\"},{\"en_abbr\":\"SO\",\"en\":\"Somalia\",\"zh\":\"索马里\"},{\"en_abbr\":\"MR\",\"en\":\"Mauritania\",\"zh\":\"毛里塔尼亚\"},{\"en_abbr\":\"BSV\",\"en\":\"The British Virgin Islands\",\"zh\":\"英属维尔京群岛\"},{\"en_abbr\":\"NE\",\"en\":\"Niger\",\"zh\":\"尼日尔\"},{\"en_abbr\":\"BI\",\"en\":\"Burundi\",\"zh\":\"布隆迪\"},{\"en_abbr\":\"SM\",\"en\":\"San Marino\",\"zh\":\"圣马力诺\"},{\"en_abbr\":\"MF\",\"en\":\"Sint Maarten\",\"zh\":\"荷属圣马丁\"},{\"en_abbr\":\"BT\",\"en\":\"Bhutan\",\"zh\":\"不丹\"},{\"en_abbr\":\"GN\",\"en\":\"Guinea\",\"zh\":\"几内亚\"},{\"en_abbr\":\"GL\",\"en\":\"Greenland\",\"zh\":\"格陵兰\"},{\"en_abbr\":\"IM\",\"en\":\"Isle of Man\",\"zh\":\"马恩岛\"},{\"en_abbr\":\"CV\",\"en\":\"Cape Verde\",\"zh\":\"佛得角\"},{\"en_abbr\":\"CN\",\"en\":\"Caribisch Nederland\",\"zh\":\"荷兰加勒比区\"},{\"en_abbr\":\"GF\",\"en\":\"French Guiana\",\"zh\":\"法属圭亚那\"},{\"en_abbr\":\"TD\",\"en\":\"Chad\",\"zh\":\"乍得\"},{\"en_abbr\":\"GG\",\"en\":\"Guernsey\",\"zh\":\"根西岛\"},{\"en_abbr\":\"GQ\",\"en\":\"Equatorial Guinea\",\"zh\":\"赤道几内亚\"},{\"en_abbr\":\"LC\",\"en\":\"Saint Lucia\",\"zh\":\"圣卢西亚\"},{\"en_abbr\":\"WS\",\"en\":\"Samoa\",\"zh\":\"萨摩亚\"},{\"en_abbr\":\"VN\",\"en\":\"Vanuatu\",\"zh\":\"瓦努阿图\"},{\"en_abbr\":\"GP\",\"en\":\"Guadeloupe\",\"zh\":\"瓜德罗普\"},{\"en_abbr\":\"EastTimor\",\"en\":\"East Timor\",\"zh\":\"东帝汶\"},{\"en_abbr\":\"NM\",\"en\":\"Northern Mariana Islands\",\"zh\":\"北马里亚纳群岛\"},{\"en_abbr\":\"TM\",\"en\":\"Turkmenistan\",\"zh\":\"土库曼斯坦\"},{\"en_abbr\":\"KN\",\"en\":\"Saint Kitts-Nevis\",\"zh\":\"圣基茨和尼维斯\"},{\"en_abbr\":\"SD\",\"en\":\"South Sudan\",\"zh\":\"南苏丹\"},{\"en_abbr\":\"MQ\",\"en\":\"Martinique\",\"zh\":\"马提尼克\"},{\"en_abbr\":\"VA\",\"en\":\"Vatican City\",\"zh\":\"梵蒂冈\"},{\"en_abbr\":\"SB\",\"en\":\"Solomon Islands\",\"zh\":\"所罗门群岛\"},{\"en_abbr\":\"DM\",\"en\":\"The Commonwealth of Dominica\",\"zh\":\"多米尼克\"},{\"en_abbr\":\"TC\",\"en\":\"The Turks and Caicos Islands\",\"zh\":\"特克斯和凯科斯群岛\"},{\"en_abbr\":\"TO\",\"en\":\"Tonga\",\"zh\":\"汤加\"},{\"en_abbr\":\"NR\",\"en\":\"Nauru\",\"zh\":\"瑙鲁\"},{\"en_abbr\":\"AN\",\"en\":\"Saint Martin\",\"zh\":\"法属圣马丁\"},{\"en_abbr\":\"GD\",\"en\":\"Grenada\",\"zh\":\"格林纳达\"},{\"en_abbr\":\"ST\",\"en\":\"Sao Tome and Principe\",\"zh\":\"圣多美和普林西比\"},{\"en_abbr\":\"VG\",\"en\":\"Saint Vincent and the Grenadines\",\"zh\":\"圣文森特和格林纳丁斯\"},{\"en_abbr\":\"AI\",\"en\":\"Anguilla\",\"zh\":\"安圭拉\"},{\"en_abbr\":\"MF\",\"en\":\"Micronesia\",\"zh\":\"密克罗尼西亚联邦\"},{\"en_abbr\":\"CK\",\"en\":\"Cook Islands\",\"zh\":\"库克群岛\"},{\"en_abbr\":\"TV\",\"en\":\"Tuvalu\",\"zh\":\"图瓦卢\"},{\"en_abbr\":\"GW\",\"en\":\"Guinea-Bissau\",\"zh\":\"几内亚比绍\"},{\"en_abbr\":\"AS\",\"en\":\"American Samoa\",\"zh\":\"美属萨摩亚\"},{\"en_abbr\":\"PW\",\"en\":\"Palau\",\"zh\":\"帕劳\"},{\"en_abbr\":\"CF\",\"en\":\"Central African Republic\",\"zh\":\"中非\"},{\"en_abbr\":\"KM\",\"en\":\"Comoros\",\"zh\":\"科摩罗\"}],\"provinces\":[{\"en\":\"Beijing\",\"zh\":\"北京\"},{\"en\":\"Tianjing\",\"zh\":\"天津\"},{\"en\":\"Hebei\",\"zh\":\"河北\"},{\"en\":\"Macao\",\"zh\":\"澳门\"},{\"en\":\"Anhui\",\"zh\":\"安徽\"},{\"en\":\"Chongqing\",\"zh\":\"重庆\"},{\"en\":\"Fujian\",\"zh\":\"福建\"},{\"en\":\"Guangdong\",\"zh\":\"广东\"},{\"en\":\"Guangxi\",\"zh\":\"广西\"},{\"en\":\"Guizhou\",\"zh\":\"贵州\"},{\"en\":\"Gansu\",\"zh\":\"甘肃\"},{\"en\":\"Henan\",\"zh\":\"河南\"},{\"en\":\"Hubei\",\"zh\":\"湖北\"},{\"en\":\"Hunan\",\"zh\":\"湖南\"},{\"en\":\"Hainan\",\"zh\":\"海南\"},{\"en\":\"Jiangsu\",\"zh\":\"江苏\"},{\"en\":\"Jilin\",\"zh\":\"吉林\"},{\"en\":\"Jiangxi\",\"zh\":\"江西\"},{\"en\":\"Liaoning\",\"zh\":\"辽宁\"},{\"en\":\"Ningxia\",\"zh\":\"宁夏\"},{\"en\":\"Qinghai\",\"zh\":\"青海\"},{\"en\":\"Shanxi\",\"zh\":\"山西\"},{\"en\":\"Shanghai\",\"zh\":\"上海\"},{\"en\":\"Shandong\",\"zh\":\"山东\"},{\"en\":\"Sichuan\",\"zh\":\"四川\"},{\"en\":\"Shaanxi\",\"zh\":\"陕西\"},{\"en\":\"Taiwan\",\"zh\":\"台湾\"},{\"en\":\"Tibet\",\"zh\":\"西藏\"},{\"en\":\"Xinjiang\",\"zh\":\"新疆\"},{\"en\":\"Hong Kong\",\"zh\":\"香港\"},{\"en\":\"Yunnan\",\"zh\":\"云南\"},{\"en\":\"Zhejiang\",\"zh\":\"浙江\"},{\"en\":\"Guangzhou\",\"zh\":\"广州\"},{\"en\":\"Shenzhen\",\"zh\":\"深圳\"},{\"en\":\"Heilongjiang\",\"zh\":\"黑龙江\"},{\"en\":\"Inner Mongolia Autonomous Regio\",\"zh\":\"内蒙古\"}]}\n", + "Data": "{\"areas\":[{\"en_abbr\":\"US\",\"en\":\"United States\",\"zh\":\"美国\"},{\"en_abbr\":\"CN\",\"en\":\"China\",\"zh\":\"中国\"},{\"en_abbr\":\"JP\",\"en\":\"Japan\",\"zh\":\"日本\"},{\"en_abbr\":\"DE\",\"en\":\"Germany\",\"zh\":\"德国\"},{\"en_abbr\":\"UK\",\"en\":\"United Kingdom\",\"zh\":\"英国\"},{\"en_abbr\":\"KR\",\"en\":\"South Korea\",\"zh\":\"韩国\"},{\"en_abbr\":\"BR\",\"en\":\"Brazil\",\"zh\":\"巴西\"},{\"en_abbr\":\"FR\",\"en\":\"France\",\"zh\":\"法国\"},{\"en_abbr\":\"CA\",\"en\":\"Canada\",\"zh\":\"加拿大\"},{\"en_abbr\":\"IT\",\"en\":\"Italy\",\"zh\":\"意大利\"},{\"en_abbr\":\"AU\",\"en\":\"Australia\",\"zh\":\"澳大利亚\"},{\"en_abbr\":\"NL\",\"en\":\"Netherlands\",\"zh\":\"荷兰\"},{\"en_abbr\":\"IN\",\"en\":\"India\",\"zh\":\"印度\"},{\"en_abbr\":\"ES\",\"en\":\"Spain\",\"zh\":\"西班牙\"},{\"en_abbr\":\"SE\",\"en\":\"Sweden\",\"zh\":\"瑞典\"},{\"en_abbr\":\"ZA\",\"en\":\"South Africa\",\"zh\":\"南非\"},{\"en_abbr\":\"MX\",\"en\":\"Mexico\",\"zh\":\"墨西哥\"},{\"en_abbr\":\"BE\",\"en\":\"Belgium\",\"zh\":\"比利时\"},{\"en_abbr\":\"EG\",\"en\":\"Egypt\",\"zh\":\"埃及\"},{\"en_abbr\":\"PL\",\"en\":\"Poland\",\"zh\":\"波兰\"},{\"en_abbr\":\"CH\",\"en\":\"Switzerland\",\"zh\":\"瑞士\"},{\"en_abbr\":\"AR\",\"en\":\"Argentina\",\"zh\":\"阿根廷\"},{\"en_abbr\":\"ID\",\"en\":\"Indonesia\",\"zh\":\"印度尼西亚\"},{\"en_abbr\":\"CO\",\"en\":\"Colombia\",\"zh\":\"哥伦比亚\"},{\"en_abbr\":\"TR\",\"en\":\"Turkey\",\"zh\":\"土耳其\"},{\"en_abbr\":\"NO\",\"en\":\"Norway\",\"zh\":\"挪威\"},{\"en_abbr\":\"VN\",\"en\":\"Vietnam\",\"zh\":\"越南\"},{\"en_abbr\":\"SG\",\"en\":\"Singapore\",\"zh\":\"新加坡\"},{\"en_abbr\":\"FI\",\"en\":\"Finland\",\"zh\":\"芬兰\"},{\"en_abbr\":\"IR\",\"en\":\"Iran\",\"zh\":\"伊朗\"},{\"en_abbr\":\"DK\",\"en\":\"Denmark\",\"zh\":\"丹麦\"},{\"en_abbr\":\"MA\",\"en\":\"Morocco\",\"zh\":\"摩洛哥\"},{\"en_abbr\":\"AT\",\"en\":\"Austria\",\"zh\":\"奥地利\"},{\"en_abbr\":\"UA\",\"en\":\"Ukraine\",\"zh\":\"乌克兰\"},{\"en_abbr\":\"SA\",\"en\":\"Saudi Arabia\",\"zh\":\"沙特阿拉伯\"},{\"en_abbr\":\"CL\",\"en\":\"Chile\",\"zh\":\"智利\"},{\"en_abbr\":\"CZ\",\"en\":\"Czech\",\"zh\":\"捷克\"},{\"en_abbr\":\"TH\",\"en\":\"Thailand\",\"zh\":\"泰国\"},{\"en_abbr\":\"RO\",\"en\":\"Romania\",\"zh\":\"罗马尼亚\"},{\"en_abbr\":\"SC\",\"en\":\"Seychelles\",\"zh\":\"塞舌尔\"},{\"en_abbr\":\"IL\",\"en\":\"Israel\",\"zh\":\"以色列\"},{\"en_abbr\":\"NZ\",\"en\":\"New Zealand\",\"zh\":\"新西兰\"},{\"en_abbr\":\"TN\",\"en\":\"Tunisia\",\"zh\":\"突尼斯\"},{\"en_abbr\":\"VE\",\"en\":\"Venezuela\",\"zh\":\"委内瑞拉\"},{\"en_abbr\":\"PT\",\"en\":\"Portugal\",\"zh\":\"葡萄牙\"},{\"en_abbr\":\"MY\",\"en\":\"Malaysia\",\"zh\":\"马来西亚\"},{\"en_abbr\":\"IE\",\"en\":\"Ireland\",\"zh\":\"爱尔兰\"},{\"en_abbr\":\"HU\",\"en\":\"Hungary\",\"zh\":\"匈牙利\"},{\"en_abbr\":\"GR\",\"en\":\"Greece\",\"zh\":\"希腊\"},{\"en_abbr\":\"PH\",\"en\":\"Philippines\",\"zh\":\"菲律宾\"},{\"en_abbr\":\"KE\",\"en\":\"Kenya\",\"zh\":\"肯尼亚\"},{\"en_abbr\":\"PK\",\"en\":\"Pakistan\",\"zh\":\"巴基斯坦\"},{\"en_abbr\":\"DZ\",\"en\":\"Algeria\",\"zh\":\"阿尔及利亚\"},{\"en_abbr\":\"BG\",\"en\":\"Bulgaria\",\"zh\":\"保加利亚\"},{\"en_abbr\":\"AE\",\"en\":\"United Arab Emirates\",\"zh\":\"阿联酋\"},{\"en_abbr\":\"PE\",\"en\":\"Peru\",\"zh\":\"秘鲁\"},{\"en_abbr\":\"NG\",\"en\":\"Nigeria\",\"zh\":\"尼日利亚\"},{\"en_abbr\":\"KZ\",\"en\":\"Kazakhstan\",\"zh\":\"哈萨克斯坦\"},{\"en_abbr\":\"SK\",\"en\":\"Slovakia\",\"zh\":\"斯洛伐克\"},{\"en_abbr\":\"EC\",\"en\":\"Ecuador\",\"zh\":\"厄瓜多尔\"},{\"en_abbr\":\"SI\",\"en\":\"Slovenia\",\"zh\":\"斯洛文尼亚\"},{\"en_abbr\":\"CR\",\"en\":\"Costa Rica\",\"zh\":\"哥斯达黎加\"},{\"en_abbr\":\"MU\",\"en\":\"Mauritius\",\"zh\":\"毛里求斯\"},{\"en_abbr\":\"LT\",\"en\":\"Lithuania\",\"zh\":\"立陶宛\"},{\"en_abbr\":\"UY\",\"en\":\"Uruguay\",\"zh\":\"乌拉圭\"},{\"en_abbr\":\"RS\",\"en\":\"Serbia\",\"zh\":\"塞尔维亚\"},{\"en_abbr\":\"GH\",\"en\":\"Ghana\",\"zh\":\"加纳\"},{\"en_abbr\":\"HR\",\"en\":\"Croatia\",\"zh\":\"克罗地亚\"},{\"en_abbr\":\"KW\",\"en\":\"Kuwait\",\"zh\":\"科威特\"},{\"en_abbr\":\"SD\",\"en\":\"Sudan\",\"zh\":\"苏丹\"},{\"en_abbr\":\"PA\",\"en\":\"Panama\",\"zh\":\"巴拿马\"},{\"en_abbr\":\"LV\",\"en\":\"Latvia\",\"zh\":\"拉脱维亚\"},{\"en_abbr\":\"BD\",\"en\":\"Bangladesh\",\"zh\":\"孟加拉\"},{\"en_abbr\":\"ZM\",\"en\":\"Zambia\",\"zh\":\"赞比亚\"},{\"en_abbr\":\"DM\",\"en\":\"Dominica\",\"zh\":\"多米尼加\"},{\"en_abbr\":\"LU\",\"en\":\"Luxembourg\",\"zh\":\"卢森堡\"},{\"en_abbr\":\"UG\",\"en\":\"Uganda\",\"zh\":\"乌干达\"},{\"en_abbr\":\"EE\",\"en\":\"Estonia\",\"zh\":\"爱沙尼亚\"},{\"en_abbr\":\"MD\",\"en\":\"Moldova\",\"zh\":\"摩尔多瓦\"},{\"en_abbr\":\"GE\",\"en\":\"Georgia\",\"zh\":\"格鲁吉亚\"},{\"en_abbr\":\"AO\",\"en\":\"Angola\",\"zh\":\"安哥拉\"},{\"en_abbr\":\"CI\",\"en\":\"Cote D'Ivoire\",\"zh\":\"科特迪瓦\"},{\"en_abbr\":\"SY\",\"en\":\"Syria\",\"zh\":\"叙利亚\"},{\"en_abbr\":\"BO\",\"en\":\"Bolivia\",\"zh\":\"玻利维亚\"},{\"en_abbr\":\"PY\",\"en\":\"Paraguay\",\"zh\":\"巴拉圭\"},{\"en_abbr\":\"TZ\",\"en\":\"Tanzania\",\"zh\":\"坦桑尼亚\"},{\"en_abbr\":\"OM\",\"en\":\"Oman\",\"zh\":\"阿曼\"},{\"en_abbr\":\"CY\",\"en\":\"Cyprus\",\"zh\":\"塞浦路斯\"},{\"en_abbr\":\"PR\",\"en\":\"Puerto Rico\",\"zh\":\"波多黎各\"},{\"en_abbr\":\"IS\",\"en\":\"Iceland\",\"zh\":\"冰岛\"},{\"en_abbr\":\"QA\",\"en\":\"Qatar\",\"zh\":\"卡塔尔\"},{\"en_abbr\":\"BA\",\"en\":\"Bosnia and Herzegovina\",\"zh\":\"波斯尼亚和黑塞哥维那\"},{\"en_abbr\":\"AZ\",\"en\":\"Azerbaijan\",\"zh\":\"阿塞拜疆\"},{\"en_abbr\":\"CM\",\"en\":\"Cameroon\",\"zh\":\"喀麦隆\"},{\"en_abbr\":\"PS\",\"en\":\"Palestine\",\"zh\":\"巴勒斯坦\"},{\"en_abbr\":\"MK\",\"en\":\"Macedonia\",\"zh\":\"马其顿\"},{\"en_abbr\":\"IQ\",\"en\":\"Iraq\",\"zh\":\"伊拉克\"},{\"en_abbr\":\"JO\",\"en\":\"Jordan\",\"zh\":\"约旦\"},{\"en_abbr\":\"SV\",\"en\":\"El Salvador\",\"zh\":\"萨尔瓦多\"},{\"en_abbr\":\"MT\",\"en\":\"Malta\",\"zh\":\"马耳他\"},{\"en_abbr\":\"AM\",\"en\":\"Armenia\",\"zh\":\"亚美尼亚\"},{\"en_abbr\":\"LB\",\"en\":\"Lebanon\",\"zh\":\"黎巴嫩\"},{\"en_abbr\":\"GT\",\"en\":\"Guatemala\",\"zh\":\"危地马拉\"},{\"en_abbr\":\"NP\",\"en\":\"Nepal\",\"zh\":\"尼泊尔\"},{\"en_abbr\":\"LK\",\"en\":\"Sri Lanka\",\"zh\":\"斯里兰卡\"},{\"en_abbr\":\"MW\",\"en\":\"Malawi\",\"zh\":\"马拉维\"},{\"en_abbr\":\"TT\",\"en\":\"Trinidad and Tobago\",\"zh\":\"特立尼达和多巴哥\"},{\"en_abbr\":\"HN\",\"en\":\"Honduras\",\"zh\":\"洪都拉斯\"},{\"en_abbr\":\"NA\",\"en\":\"Namibia\",\"zh\":\"纳米比亚\"},{\"en_abbr\":\"BH\",\"en\":\"Bahrain\",\"zh\":\"巴林\"},{\"en_abbr\":\"MZ\",\"en\":\"Mozambique\",\"zh\":\"莫桑比克\"},{\"en_abbr\":\"GA\",\"en\":\"Gabon\",\"zh\":\"加蓬\"},{\"en_abbr\":\"NI\",\"en\":\"Nicaragua\",\"zh\":\"尼加拉瓜\"},{\"en_abbr\":\"LY\",\"en\":\"Libya\",\"zh\":\"利比亚\"},{\"en_abbr\":\"AL\",\"en\":\"Albania\",\"zh\":\"阿尔巴尼亚\"},{\"en_abbr\":\"SN\",\"en\":\"Senegal\",\"zh\":\"塞内加尔\"},{\"en_abbr\":\"KH\",\"en\":\"Cambodia\",\"zh\":\"柬埔寨\"},{\"en_abbr\":\"ET\",\"en\":\"Ethiopia\",\"zh\":\"埃塞俄比亚\"},{\"en_abbr\":\"TG\",\"en\":\"Togo\",\"zh\":\"多哥\"},{\"en_abbr\":\"BF\",\"en\":\"Burkina Faso\",\"zh\":\"布基纳法索\"},{\"en_abbr\":\"RE\",\"en\":\"Reunion\",\"zh\":\"留尼汪\"},{\"en_abbr\":\"KG\",\"en\":\"Kyrgyzstan\",\"zh\":\"吉尔吉斯斯坦\"},{\"en_abbr\":\"GM\",\"en\":\"Gambia\",\"zh\":\"冈比亚\"},{\"en_abbr\":\"RW\",\"en\":\"Rwanda\",\"zh\":\"卢旺达\"},{\"en_abbr\":\"CU\",\"en\":\"Cuba\",\"zh\":\"古巴\"},{\"en_abbr\":\"MN\",\"en\":\"Mongolia\",\"zh\":\"蒙古\"},{\"en_abbr\":\"UZ\",\"en\":\"Uzbekistan\",\"zh\":\"乌兹别克斯坦\"},{\"en_abbr\":\"ME\",\"en\":\"Montenegro\",\"zh\":\"黑山\"},{\"en_abbr\":\"GU\",\"en\":\"Guam\",\"zh\":\"关岛\"},{\"en_abbr\":\"JM\",\"en\":\"Jamaica\",\"zh\":\"牙买加\"},{\"en_abbr\":\"BN\",\"en\":\"Brunei\",\"zh\":\"文莱\"},{\"en_abbr\":\"CRC\",\"en\":\"Curaçao\",\"zh\":\"库拉索\"},{\"en_abbr\":\"MG\",\"en\":\"Madagascar\",\"zh\":\"马达加斯加\"},{\"en_abbr\":\"MM\",\"en\":\"Myanmar\",\"zh\":\"缅甸\"},{\"en_abbr\":\"YE\",\"en\":\"Yemen\",\"zh\":\"也门\"},{\"en_abbr\":\"KY\",\"en\":\"Cayman Islands\",\"zh\":\"开曼群岛\"},{\"en_abbr\":\"GI\",\"en\":\"Gibraltar\",\"zh\":\"直布罗陀\"},{\"en_abbr\":\"BB\",\"en\":\"Barbados\",\"zh\":\"巴巴多斯\"},{\"en_abbr\":\"BZ\",\"en\":\"Belize\",\"zh\":\"伯利兹\"},{\"en_abbr\":\"AF\",\"en\":\"Afghanistan\",\"zh\":\"阿富汗\"},{\"en_abbr\":\"HT\",\"en\":\"Haiti\",\"zh\":\"海地\"},{\"en_abbr\":\"BJ\",\"en\":\"Benin\",\"zh\":\"贝宁\"},{\"en_abbr\":\"NC\",\"en\":\"New Caledonia\",\"zh\":\"新喀里多尼亚\"},{\"en_abbr\":\"CD\",\"en\":\"Congo (Congo-Kinshasa)\",\"zh\":\"刚果(金)\"},{\"en_abbr\":\"BW\",\"en\":\"Botswana\",\"zh\":\"博茨瓦纳\"},{\"en_abbr\":\"FJ\",\"en\":\"Fiji\",\"zh\":\"斐济群岛\"},{\"en_abbr\":\"CG\",\"en\":\"Congo\",\"zh\":\"刚果(布)\"},{\"en_abbr\":\"BS\",\"en\":\"Bahamas\",\"zh\":\"巴哈马\"},{\"en_abbr\":\"ZW\",\"en\":\"Zimbabwe\",\"zh\":\"津巴布韦\"},{\"en_abbr\":\"LS\",\"en\":\"Lesotho\",\"zh\":\"莱索托\"},{\"en_abbr\":\"USV\",\"en\":\"U.S. Virgin Islands\",\"zh\":\"美属维尔京群岛\"},{\"en_abbr\":\"BM\",\"en\":\"Bermuda\",\"zh\":\"百慕大\"},{\"en_abbr\":\"LI\",\"en\":\"Liechtenstein\",\"zh\":\"列支敦士登\"},{\"en_abbr\":\"LR\",\"en\":\"Liberia\",\"zh\":\"利比里亚\"},{\"en_abbr\":\"AW\",\"en\":\"Aruba\",\"zh\":\"阿鲁巴\"},{\"en_abbr\":\"SL\",\"en\":\"Sierra Leone\",\"zh\":\"塞拉利昂\"},{\"en_abbr\":\"ML\",\"en\":\"Mali\",\"zh\":\"马里\"},{\"en_abbr\":\"MV\",\"en\":\"Maldives\",\"zh\":\"马尔代夫\"},{\"en_abbr\":\"SR\",\"en\":\"Suriname\",\"zh\":\"苏里南\"},{\"en_abbr\":\"LO\",\"en\":\"Laos\",\"zh\":\"老挝\"},{\"en_abbr\":\"TJ\",\"en\":\"Tajikistan\",\"zh\":\"塔吉克斯坦\"},{\"en_abbr\":\"MC\",\"en\":\"Monaco\",\"zh\":\"摩纳哥\"},{\"en_abbr\":\"GY\",\"en\":\"Guyana\",\"zh\":\"圭亚那\"},{\"en_abbr\":\"AG\",\"en\":\"Antigua and Barbuda\",\"zh\":\"安提瓜和巴布达\"},{\"en_abbr\":\"PG\",\"en\":\"Papua New Guinea\",\"zh\":\"巴布亚新几内亚\"},{\"en_abbr\":\"JE\",\"en\":\"Jersey\",\"zh\":\"泽西岛\"},{\"en_abbr\":\"PF\",\"en\":\"French Polynesia\",\"zh\":\"法属波利尼西亚\"},{\"en_abbr\":\"AD\",\"en\":\"Andorra\",\"zh\":\"安道尔\"},{\"en_abbr\":\"DJ\",\"en\":\"Djibouti\",\"zh\":\"吉布提\"},{\"en_abbr\":\"SZ\",\"en\":\"Swaziland\",\"zh\":\"斯威士兰\"},{\"en_abbr\":\"FO\",\"en\":\"Faroe Islands\",\"zh\":\"法罗群岛\"},{\"en_abbr\":\"SO\",\"en\":\"Somalia\",\"zh\":\"索马里\"},{\"en_abbr\":\"MR\",\"en\":\"Mauritania\",\"zh\":\"毛里塔尼亚\"},{\"en_abbr\":\"BSV\",\"en\":\"The British Virgin Islands\",\"zh\":\"英属维尔京群岛\"},{\"en_abbr\":\"NE\",\"en\":\"Niger\",\"zh\":\"尼日尔\"},{\"en_abbr\":\"BI\",\"en\":\"Burundi\",\"zh\":\"布隆迪\"},{\"en_abbr\":\"SM\",\"en\":\"San Marino\",\"zh\":\"圣马力诺\"},{\"en_abbr\":\"MF\",\"en\":\"Sint Maarten\",\"zh\":\"荷属圣马丁\"},{\"en_abbr\":\"BT\",\"en\":\"Bhutan\",\"zh\":\"不丹\"},{\"en_abbr\":\"GN\",\"en\":\"Guinea\",\"zh\":\"几内亚\"},{\"en_abbr\":\"GL\",\"en\":\"Greenland\",\"zh\":\"格陵兰\"},{\"en_abbr\":\"IM\",\"en\":\"Isle of Man\",\"zh\":\"马恩岛\"},{\"en_abbr\":\"CV\",\"en\":\"Cape Verde\",\"zh\":\"佛得角\"},{\"en_abbr\":\"CN\",\"en\":\"Caribisch Nederland\",\"zh\":\"荷兰加勒比区\"},{\"en_abbr\":\"GF\",\"en\":\"French Guiana\",\"zh\":\"法属圭亚那\"},{\"en_abbr\":\"TD\",\"en\":\"Chad\",\"zh\":\"乍得\"},{\"en_abbr\":\"GG\",\"en\":\"Guernsey\",\"zh\":\"根西岛\"},{\"en_abbr\":\"GQ\",\"en\":\"Equatorial Guinea\",\"zh\":\"赤道几内亚\"},{\"en_abbr\":\"LC\",\"en\":\"Saint Lucia\",\"zh\":\"圣卢西亚\"},{\"en_abbr\":\"WS\",\"en\":\"Samoa\",\"zh\":\"萨摩亚\"},{\"en_abbr\":\"VN\",\"en\":\"Vanuatu\",\"zh\":\"瓦努阿图\"},{\"en_abbr\":\"GP\",\"en\":\"Guadeloupe\",\"zh\":\"瓜德罗普\"},{\"en_abbr\":\"EastTimor\",\"en\":\"East Timor\",\"zh\":\"东帝汶\"},{\"en_abbr\":\"NM\",\"en\":\"Northern Mariana Islands\",\"zh\":\"北马里亚纳群岛\"},{\"en_abbr\":\"TM\",\"en\":\"Turkmenistan\",\"zh\":\"土库曼斯坦\"},{\"en_abbr\":\"KN\",\"en\":\"Saint Kitts-Nevis\",\"zh\":\"圣基茨和尼维斯\"},{\"en_abbr\":\"SD\",\"en\":\"South Sudan\",\"zh\":\"南苏丹\"},{\"en_abbr\":\"MQ\",\"en\":\"Martinique\",\"zh\":\"马提尼克\"},{\"en_abbr\":\"VA\",\"en\":\"Vatican City\",\"zh\":\"梵蒂冈\"},{\"en_abbr\":\"SB\",\"en\":\"Solomon Islands\",\"zh\":\"所罗门群岛\"},{\"en_abbr\":\"DM\",\"en\":\"The Commonwealth of Dominica\",\"zh\":\"多米尼克\"},{\"en_abbr\":\"TC\",\"en\":\"The Turks and Caicos Islands\",\"zh\":\"特克斯和凯科斯群岛\"},{\"en_abbr\":\"TO\",\"en\":\"Tonga\",\"zh\":\"汤加\"},{\"en_abbr\":\"NR\",\"en\":\"Nauru\",\"zh\":\"瑙鲁\"},{\"en_abbr\":\"AN\",\"en\":\"Saint Martin\",\"zh\":\"法属圣马丁\"},{\"en_abbr\":\"GD\",\"en\":\"Grenada\",\"zh\":\"格林纳达\"},{\"en_abbr\":\"ST\",\"en\":\"Sao Tome and Principe\",\"zh\":\"圣多美和普林西比\"},{\"en_abbr\":\"VG\",\"en\":\"Saint Vincent and the Grenadines\",\"zh\":\"圣文森特和格林纳丁斯\"},{\"en_abbr\":\"AI\",\"en\":\"Anguilla\",\"zh\":\"安圭拉\"},{\"en_abbr\":\"MF\",\"en\":\"Micronesia\",\"zh\":\"密克罗尼西亚联邦\"},{\"en_abbr\":\"CK\",\"en\":\"Cook Islands\",\"zh\":\"库克群岛\"},{\"en_abbr\":\"TV\",\"en\":\"Tuvalu\",\"zh\":\"图瓦卢\"},{\"en_abbr\":\"GW\",\"en\":\"Guinea-Bissau\",\"zh\":\"几内亚比绍\"},{\"en_abbr\":\"AS\",\"en\":\"American Samoa\",\"zh\":\"美属萨摩亚\"},{\"en_abbr\":\"PW\",\"en\":\"Palau\",\"zh\":\"帕劳\"},{\"en_abbr\":\"CF\",\"en\":\"Central African Republic\",\"zh\":\"中非\"},{\"en_abbr\":\"KM\",\"en\":\"Comoros\",\"zh\":\"科摩罗\"}],\"provinces\":[{\"en\":\"Beijing\",\"zh\":\"北京\"},{\"en\":\"Tianjing\",\"zh\":\"天津\"},{\"en\":\"Hebei\",\"zh\":\"河北\"},{\"en\":\"Macao\",\"zh\":\"澳门\"},{\"en\":\"Anhui\",\"zh\":\"安徽\"},{\"en\":\"Chongqing\",\"zh\":\"重庆\"},{\"en\":\"Fujian\",\"zh\":\"福建\"},{\"en\":\"Guangdong\",\"zh\":\"广东\"},{\"en\":\"Guangxi\",\"zh\":\"广西\"},{\"en\":\"Guizhou\",\"zh\":\"贵州\"},{\"en\":\"Gansu\",\"zh\":\"甘肃\"},{\"en\":\"Henan\",\"zh\":\"河南\"},{\"en\":\"Hubei\",\"zh\":\"湖北\"},{\"en\":\"Hunan\",\"zh\":\"湖南\"},{\"en\":\"Hainan\",\"zh\":\"海南\"},{\"en\":\"Jiangsu\",\"zh\":\"江苏\"},{\"en\":\"Jilin\",\"zh\":\"吉林\"},{\"en\":\"Jiangxi\",\"zh\":\"江西\"},{\"en\":\"Liaoning\",\"zh\":\"辽宁\"},{\"en\":\"Ningxia\",\"zh\":\"宁夏\"},{\"en\":\"Qinghai\",\"zh\":\"青海\"},{\"en\":\"Shanxi\",\"zh\":\"山西\"},{\"en\":\"Shanghai\",\"zh\":\"上海\"},{\"en\":\"Shandong\",\"zh\":\"山东\"},{\"en\":\"Sichuan\",\"zh\":\"四川\"},{\"en\":\"Shaanxi\",\"zh\":\"陕西\"},{\"en\":\"Taiwan\",\"zh\":\"台湾\"},{\"en\":\"Tibet\",\"zh\":\"西藏\"},{\"en\":\"Xinjiang\",\"zh\":\"新疆\"},{\"en\":\"Hong Kong\",\"zh\":\"香港\"},{\"en\":\"Yunnan\",\"zh\":\"云南\"},{\"en\":\"Zhejiang\",\"zh\":\"浙江\"},{\"en\":\"Guangzhou\",\"zh\":\"广州\"},{\"en\":\"Shenzhen\",\"zh\":\"深圳\"},{\"en\":\"Heilongjiang\",\"zh\":\"黑龙江\"},{\"en\":\"Inner Mongolia Autonomous Regio\",\"zh\":\"内蒙古\"}]}\n", "RequestId": "05ba4f7c-f1b7-40c3-9038-a5fb74e8873a" } } diff --git a/tccli/examples/waf/v20180125/DescribeProtectionModes.md b/tccli/examples/waf/v20180125/DescribeProtectionModes.md new file mode 100644 index 0000000000..3dcda77000 --- /dev/null +++ b/tccli/examples/waf/v20180125/DescribeProtectionModes.md @@ -0,0 +1,27 @@ +**Example 1: 查询Tiga引擎大类规则及其防护模式** + +查询Tiga引擎大类规则及其防护模式 + +Input: + +``` +tccli waf DescribeProtectionModes --cli-unfold-argument \ + --Edition abc \ + --Domain abc +``` + +Output: +``` +{ + "Response": { + "Modes": [ + { + "TypeID": "abc", + "Mode": 0 + } + ], + "RequestId": "abc" + } +} +``` + diff --git a/tccli/examples/wedata/v20210820/DescribeProjectUsers.md b/tccli/examples/wedata/v20210820/DescribeProjectUsers.md new file mode 100644 index 0000000000..847feae092 --- /dev/null +++ b/tccli/examples/wedata/v20210820/DescribeProjectUsers.md @@ -0,0 +1,219 @@ +**Example 1: 成功示例2** + +查询项目下用户 + +Input: + +``` +tccli wedata DescribeProjectUsers --cli-unfold-argument \ + --PageNumber 0 \ + --PageSize 10 +``` + +Output: +``` +{ + "Response": { + "RequestId": "f59ff4b5-6999-484a-a7e2-960605d68333", + "Data": { + "Rows": [ + { + "UserId": "100006908545", + "UserName": "3193772711_WeData", + "DisplayName": "3193772711_WeData", + "Roles": [ + { + "RoleId": "308335260274237440", + "Name": null, + "NameCn": "空间管理员", + "Description": null, + "Privileges": [], + "MethodPaths": null + }, + { + "RoleId": "308335260676890624", + "Name": null, + "NameCn": "数据科学家", + "Description": null, + "Privileges": [], + "MethodPaths": null + }, + { + "RoleId": "308335260844662784", + "Name": null, + "NameCn": "运维工程师", + "Description": null, + "Privileges": [], + "MethodPaths": null + }, + { + "RoleId": "308335260945326080", + "Name": null, + "NameCn": "访客", + "Description": null, + "Privileges": [], + "MethodPaths": null + } + ], + "CreateTime": "2021-06-16 16:44:51", + "Creator": true + }, + { + "UserId": "100015684538", + "UserName": "zhiqinzhang", + "DisplayName": "zhiqinzhang", + "Roles": [ + { + "RoleId": "308335260676890624", + "Name": null, + "NameCn": "数据科学家", + "Description": null, + "Privileges": [], + "MethodPaths": null + } + ], + "CreateTime": "2021-07-29 15:15:41", + "Creator": false + } + ], + "PageNumber": 0, + "PageSize": 10, + "TotalCount": 7, + "TotalPageNumber": 0 + } + } +} +``` + +**Example 2: 成功示例-filter** + +查询项目下所有用户 + +Input: + +``` +tccli wedata DescribeProjectUsers --cli-unfold-argument \ + --PageNumber 1 \ + --OrderFields.0.Direction DESC \ + --OrderFields.0.Name CreateTime \ + --PageSize 10 \ + --Filters.0.Values \ + --Filters.0.Name DisplayName +``` + +Output: +``` +{ + "Response": { + "RequestId": "4c659efc-0372-4e3d-a484-0476b564420d", + "Data": { + "Rows": [ + { + "UserId": "100013890962", + "UserName": "", + "DisplayName": "sundyang", + "Roles": [ + { + "RoleId": "308335260676890624", + "Name": null, + "NameCn": "数据工程师", + "Description": null, + "Privileges": [], + "MethodPaths": null + } + ], + "CreateTime": "2021-07-29 15:14:54", + "Creator": false + }, + { + "UserId": "100020026287", + "UserName": "", + "DisplayName": "v_huangaluo", + "Roles": [ + { + "RoleId": "308335260274237440", + "Name": null, + "NameCn": "项目管理员", + "Description": null, + "Privileges": [], + "MethodPaths": null + }, + { + "RoleId": "308335260676890624", + "Name": null, + "NameCn": "数据工程师", + "Description": null, + "Privileges": [], + "MethodPaths": null + }, + { + "RoleId": "308335260844662784", + "Name": null, + "NameCn": "运维工程师", + "Description": null, + "Privileges": [], + "MethodPaths": null + }, + { + "RoleId": "308335260945326080", + "Name": null, + "NameCn": "访客", + "Description": null, + "Privileges": [], + "MethodPaths": null + } + ], + "CreateTime": "2021-07-09 15:20:22", + "Creator": false + }, + { + "UserId": "100019904305", + "UserName": "", + "DisplayName": "kuanliu", + "Roles": [ + { + "RoleId": "308335260274237440", + "Name": null, + "NameCn": "项目管理员", + "Description": null, + "Privileges": [], + "MethodPaths": null + }, + { + "RoleId": "308335260676890624", + "Name": null, + "NameCn": "数据工程师", + "Description": null, + "Privileges": [], + "MethodPaths": null + }, + { + "RoleId": "308335260844662784", + "Name": null, + "NameCn": "运维工程师", + "Description": null, + "Privileges": [], + "MethodPaths": null + }, + { + "RoleId": "308335260945326080", + "Name": null, + "NameCn": "访客", + "Description": null, + "Privileges": [], + "MethodPaths": null + } + ], + "CreateTime": "2021-07-09 15:20:22", + "Creator": false + } + ], + "PageNumber": 0, + "PageSize": 10, + "TotalCount": 3, + "TotalPageNumber": 0 + } + } +} +``` + diff --git a/tccli/services/captcha/v20190722/api.json b/tccli/services/captcha/v20190722/api.json index 0f933b18c9..1c5818d5d6 100644 --- a/tccli/services/captcha/v20190722/api.json +++ b/tccli/services/captcha/v20190722/api.json @@ -1242,7 +1242,7 @@ "members": [ { "disabled": false, - "document": "固定填值:9(滑块验证码)", + "document": "固定填值:9", "example": "9", "member": "uint64", "name": "CaptchaType", @@ -1592,7 +1592,7 @@ "members": [ { "disabled": false, - "document": "固定填值:9。可在控制台配置不同验证码类型。", + "document": "固定填值:9。", "example": "9", "member": "uint64", "name": "CaptchaType", @@ -1779,7 +1779,7 @@ "members": [ { "disabled": false, - "document": "固定填值:9。可在控制台配置不同验证码类型。", + "document": "固定填值:9。", "example": "9", "member": "uint64", "name": "CaptchaType", @@ -1942,6 +1942,16 @@ "type": "int", "value_allowed_null": false }, + { + "disabled": false, + "document": "设备风险大类\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "string", + "name": "DeviceRiskCategory", + "output_required": false, + "type": "string", + "value_allowed_null": true + }, { "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", "member": "string", diff --git a/tccli/services/cdb/v20170320/api.json b/tccli/services/cdb/v20170320/api.json index 0397812e87..d8d712ac11 100644 --- a/tccli/services/cdb/v20170320/api.json +++ b/tccli/services/cdb/v20170320/api.json @@ -20811,6 +20811,15 @@ "required": false, "type": "string" }, + { + "disabled": false, + "document": "集群版节点拓扑配置。", + "example": "无", + "member": "ClusterTopology", + "name": "ClusterTopology", + "required": false, + "type": "object" + }, { "disabled": false, "document": "检查原地升级是否需要重启,1 检查, 0 不检查。如果值为1,检查为原地升级需要重启,则会停止升级并进行返回提示,如果为原地升级不重启,则正常执行升级流程。", diff --git a/tccli/services/cfw/v20190904/api.json b/tccli/services/cfw/v20190904/api.json index 0c8af7ee35..2ef34505a1 100644 --- a/tccli/services/cfw/v20190904/api.json +++ b/tccli/services/cfw/v20190904/api.json @@ -442,11 +442,11 @@ "status": "online" }, "DescribeSwitchLists": { - "document": "防火墙开关列表,已废弃,请使用DescribeFwEdgeIps", + "document": "历史接口,已经废弃,产品有新的替代接口\n\n防火墙开关列表,已废弃,请使用DescribeFwEdgeIps", "input": "DescribeSwitchListsRequest", "name": "防火墙开关列表,已废弃,请使用DescribeFwEdgeIps", "output": "DescribeSwitchListsResponse", - "status": "online" + "status": "deprecated" }, "DescribeTLogInfo": { "document": "DescribeTLogInfo告警中心概况\n", @@ -1591,7 +1591,7 @@ "members": [ { "disabled": false, - "document": "1 封禁 2外部IP 3域名 4情报 5assets 6udf 7入侵防御规则id (2-7属于白名单类型)\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "规则类型,取值:1 封禁,2外部IP,3域名,4情报,5assets,6自定义策略,7入侵防御规则id (2-7属于白名单类型)\n注意:此字段可能返回 null,表示取不到有效值。", "example": "1", "member": "int64", "name": "RuleType", @@ -1632,7 +1632,7 @@ { "disabled": false, "document": "域名\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "www.test.com", "member": "string", "name": "Domain", "output_required": true, @@ -1642,7 +1642,7 @@ { "disabled": false, "document": "IP\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "1.1.1.1", "member": "string", "name": "IP", "output_required": false, @@ -1652,7 +1652,7 @@ { "disabled": false, "document": "危险等级\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "未知", + "example": "高危", "member": "string", "name": "Level", "output_required": true, @@ -4823,7 +4823,7 @@ }, { "disabled": false, - "document": "排序字段,取值 'UpdateTime' | 'RulesNum'", + "document": "排序字段,取值:UpdateTime最近更新时间,RulesNum关联规则数", "example": "id", "member": "string", "name": "By", @@ -4832,7 +4832,7 @@ }, { "disabled": false, - "document": "排序,取值 'asc'|'desc'", + "document": "排序,取值 :asc正序,desc逆序", "example": "desc", "member": "string", "name": "Order", @@ -4859,7 +4859,7 @@ }, { "disabled": false, - "document": "1:ip模板,5:域名模板,6:协议端口模板", + "document": "模板类型,取值:1:ip模板,5:域名模板,6:协议端口模板", "example": "1", "member": "string", "name": "TemplateType", @@ -4914,7 +4914,7 @@ { "disabled": false, "document": "Ip地址模板数量", - "example": "1", + "example": "20", "member": "int64", "name": "IpTemplateCount", "output_required": false, @@ -4924,7 +4924,7 @@ { "disabled": false, "document": "域名地址模板数量", - "example": "1", + "example": "30", "member": "int64", "name": "DomainTemplateCount", "output_required": false, @@ -4934,7 +4934,7 @@ { "disabled": false, "document": "协议端口模板数量", - "example": "1", + "example": "50", "member": "int64", "name": "PortTemplateCount", "output_required": false, @@ -4944,7 +4944,7 @@ { "disabled": false, "document": "已使用的地址模板数", - "example": "0", + "example": "10", "member": "int64", "name": "UsedTemplateCount", "output_required": false, @@ -4954,7 +4954,7 @@ { "disabled": false, "document": "地址模板配额数量", - "example": "10", + "example": "100", "member": "int64", "name": "TemplateQuotaCount", "output_required": false, @@ -5723,7 +5723,7 @@ }, { "disabled": false, - "document": "规则整体启用状态", + "document": "规则列表整体启用状态 \n取值范围 0/1/2\n0.表示没有启用的(可以批量启用) \n1.表示没有禁用的(可以批量禁用) \n2 表示混合情况(不可批量操作)", "example": "1", "member": "int64", "name": "Enable", @@ -8514,7 +8514,7 @@ }, { "disabled": false, - "document": "源规则类型\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "源规则类型 \n取值范围 0/1/2/3/4/5/6/7/8/9/100\n0表示ip(net),\n1表示VPC实例(intance)\n2表示子网实例(intance)\n3表示CVM实例(intance)\n4表示CLB实例(intance)\n5表示ENI实例(intance)\n6表示数据库实例(intance)\n7表示模版(template)\n8表示标签(tag)\n9表示地域(region)\n100表示资产分组(resourcegroup)\n注意:此字段可能返回 null,表示取不到有效值。", "example": "1", "member": "int64", "name": "SourceType", @@ -8534,7 +8534,7 @@ }, { "disabled": false, - "document": "目的规则类型\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "目的规则类型 \n取值范围 0/1/2/3/4/5/6/7/8/9/100\n0表示ip(net),\n1表示VPC实例(intance)\n2表示子网实例(intance)\n3表示CVM实例(intance)\n4表示CLB实例(intance)\n5表示ENI实例(intance)\n6表示数据库实例(intance)\n7表示模版(template)\n8表示标签(tag)\n9表示地域(region)\n100表示资产分组(resourcegroup)\n注意:此字段可能返回 null,表示取不到有效值。", "example": "1", "member": "int64", "name": "TargetType", @@ -8544,7 +8544,7 @@ }, { "disabled": false, - "document": "协议名称\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "协议名称\n取值范围:TCP/ANY/ICMP/UDP\nANY:表示所有\n\n注意:此字段可能返回 null,表示取不到有效值。", "example": "TCP", "member": "string", "name": "Protocol", @@ -8564,7 +8564,7 @@ }, { "disabled": false, - "document": "策略,1阻断,2放行\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "规则策略\n取值范围:1/2\n1:阻断\n2:放行\n注意:此字段可能返回 null,表示取不到有效值。", "example": "1", "member": "int64", "name": "Strategy", @@ -8574,7 +8574,7 @@ }, { "disabled": false, - "document": "启用状态 ,0未开启,1开启\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "规则启用状态 \n取值范围: 0/1\n0:未开启\n1:开启\n注意:此字段可能返回 null,表示取不到有效值。", "example": "1", "member": "int64", "name": "Status", @@ -8604,7 +8604,7 @@ }, { "disabled": false, - "document": "是否最新一次改动的规则,0否,1是\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "规则最新一次是否有改动\n取值范围:0/1\n0:否\n1:是\n注意:此字段可能返回 null,表示取不到有效值。", "example": "1", "member": "int64", "name": "IsNew", @@ -8624,7 +8624,7 @@ }, { "disabled": false, - "document": "是否延迟下发\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "是否延迟下发规则 \n取值范围:0/1\n0:立即下发 1:延迟下发\n注意:此字段可能返回 null,表示取不到有效值。", "example": "0", "member": "int64", "name": "IsDelay", @@ -8754,8 +8754,8 @@ }, { "disabled": false, - "document": "自动化任务任务信息\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "[{}]", + "document": "自动化任务信息\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", "member": "EnterpriseSecurityGroupRuleBetaInfo", "name": "BetaList", "output_required": false, @@ -8764,8 +8764,8 @@ }, { "disabled": false, - "document": "规则id\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "document": "规则id 等同RuleUuid\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "1", "member": "int64", "name": "Id", "output_required": false, @@ -9494,8 +9494,7 @@ "member": "int64", "name": "Direction", "required": true, - "type": "int", - "value_allowed_null": false + "type": "int" }, { "disabled": false, @@ -9504,8 +9503,7 @@ "member": "string", "name": "EndTime", "required": true, - "type": "string", - "value_allowed_null": false + "type": "string" }, { "disabled": false, @@ -9514,8 +9512,7 @@ "member": "string", "name": "IP", "required": false, - "type": "string", - "value_allowed_null": false + "type": "string" }, { "disabled": false, @@ -9524,28 +9521,25 @@ "member": "string", "name": "Domain", "required": false, - "type": "string", - "value_allowed_null": false + "type": "string" }, { "disabled": false, - "document": "备注信息,长度不能超过50", - "example": "放通ip", + "document": "规则开始时间", + "example": "2021-09-21 12:00:00", "member": "string", - "name": "Comment", + "name": "StartTime", "required": false, - "type": "string", - "value_allowed_null": false + "type": "string" }, { "disabled": false, - "document": "规则开始时间", - "example": "2021-09-21 12:00:00", + "document": "备注信息,长度不能超过50", + "example": "放通ip", "member": "string", - "name": "StartTime", + "name": "Comment", "required": false, - "type": "string", - "value_allowed_null": false + "type": "string" } ], "usage": "in" @@ -9732,7 +9726,7 @@ { "disabled": false, "document": "地址模板唯一Id", - "example": "无", + "example": "mb_appid_1708504391199", "member": "string", "name": "Uuid", "required": true, @@ -9741,7 +9735,7 @@ { "disabled": false, "document": "模板名称", - "example": "模板名称", + "example": "出向放通白名单", "member": "string", "name": "Name", "required": true, @@ -9750,7 +9744,7 @@ { "disabled": false, "document": "模板描述", - "example": "模板描述", + "example": "出向放通白名单", "member": "string", "name": "Detail", "required": true, @@ -9759,7 +9753,7 @@ { "disabled": false, "document": "Type为1,ip模板eg:1.1.1.1,2.2.2.2;\nType为5,域名模板eg:www.qq.com,www.tencent.com", - "example": "模板地址", + "example": "1", "member": "string", "name": "IpString", "required": true, @@ -9768,7 +9762,7 @@ { "disabled": false, "document": "1 ip模板\n5 域名模板", - "example": "模板类型", + "example": "1", "member": "int64", "name": "Type", "required": true, @@ -9802,7 +9796,7 @@ { "disabled": false, "document": "唯一Id", - "example": "无", + "example": "mb_appid_1708504391199", "member": "string", "name": "Uuid", "output_required": false, @@ -10245,7 +10239,7 @@ "members": [ { "disabled": false, - "document": "规则", + "document": "规则列表", "example": "无", "member": "IntrusionDefenseRule", "name": "Rule", @@ -13127,7 +13121,7 @@ { "disabled": false, "document": "公网IP,多个以英文逗号分隔\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "PublicIp", + "example": "1.1.1.1", "member": "string", "name": "PublicIp", "output_required": true, @@ -13138,7 +13132,7 @@ { "disabled": false, "document": "内网IP,多个以英文逗号分隔\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "PrivateIp", + "example": "9.0.0.1", "member": "string", "name": "PrivateIp", "output_required": true, @@ -13149,7 +13143,7 @@ { "disabled": false, "document": "掩码地址,多个以英文逗号分隔\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "Cidr", + "example": "9.0.0.1/32", "member": "string", "name": "Cidr", "output_required": true, @@ -13171,7 +13165,7 @@ { "disabled": false, "document": "生成双向下发规则\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "BothWayInfo", + "example": "无", "member": "SecurityGroupBothWayInfo", "name": "BothWayInfo", "output_required": true, @@ -13204,7 +13198,7 @@ { "disabled": false, "document": "Uuid\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "cfw_sg_appid_0.0.0.0/0_17295140975391", "member": "string", "name": "Uuid", "output_required": true, @@ -13215,7 +13209,7 @@ { "disabled": false, "document": "地域\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "ap-guangzhou", "member": "string", "name": "Region", "output_required": true, @@ -13226,7 +13220,7 @@ { "disabled": false, "document": "资产分组名称\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "/全部资产/", "member": "string", "name": "AssetGroupNameIn", "output_required": true, @@ -13237,7 +13231,7 @@ { "disabled": false, "document": "资产分组名称\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "/全部资产/", "member": "string", "name": "AssetGroupNameOut", "output_required": true, @@ -13248,7 +13242,7 @@ { "disabled": false, "document": "模板名称\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "自动化勿删IP组模板", "member": "string", "name": "ParameterName", "output_required": true, @@ -13259,7 +13253,7 @@ { "disabled": false, "document": "端口协议类型参数模板名称", - "example": "无", + "example": "端口协议类型参数模板名称", "member": "string", "name": "ProtocolPortName", "output_required": false, @@ -14045,7 +14039,7 @@ { "disabled": false, "document": "模板名称\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "abc", + "example": "出向白名单", "member": "string", "name": "Name", "output_required": true, @@ -14055,7 +14049,7 @@ { "disabled": false, "document": "描述\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "whitelist", + "example": "放通出方向目的ip", "member": "string", "name": "Detail", "output_required": true, @@ -14135,12 +14129,22 @@ { "disabled": false, "document": "模板包含地址数量\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "1", "member": "int64", "name": "IPNum", "output_required": false, "type": "int", "value_allowed_null": true + }, + { + "disabled": false, + "document": "IP版本,0,IPv4;1,IPv6\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "0", + "member": "int64", + "name": "IpVersion", + "output_required": false, + "type": "int", + "value_allowed_null": true } ], "usage": "out" diff --git a/tccli/services/cfw/v20190904/examples.json b/tccli/services/cfw/v20190904/examples.json index fa2cea07eb..0421f344e1 100644 --- a/tccli/services/cfw/v20190904/examples.json +++ b/tccli/services/cfw/v20190904/examples.json @@ -89,7 +89,7 @@ "CreateBlockIgnoreRuleList": [ { "document": "空值返回", - "input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateBlockIgnoreRuleList\n<公共请求参数>\n\n{\n \"Rules\": [\n {\n \"IP\": \"abc\",\n \"Domain\": \"abc\",\n \"Direction\": 0,\n \"EndTime\": \"abc\",\n \"Comment\": \"abc\",\n \"StartTime\": \"abc\"\n }\n ],\n \"RuleType\": 0\n}", + "input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateBlockIgnoreRuleList\n<公共请求参数>\n\n{\n \"Rules\": [\n {\n \"IP\": \"1.1.1.1\",\n \"Domain\": \"\",\n \"Direction\": 1,\n \"EndTime\": \"2025-01-01 00:00:00\",\n \"Comment\": \"阻断访问\",\n \"StartTime\": \"2024-10-10 00:00:00\"\n }\n ],\n \"RuleType\": 1\n}", "output": "{\n \"Response\": {\n \"RequestId\": \"\"\n }\n}", "title": "空值返回" } @@ -277,8 +277,8 @@ "DescribeAddressTemplateList": [ { "document": "", - "input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAddressTemplateList\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 0,\n \"By\": \"abc\",\n \"Order\": \"abc\",\n \"SearchValue\": \"abc\"\n}", - "output": "{\n \"Response\": {\n \"Total\": 0,\n \"Data\": [\n {\n \"Uuid\": \"abc\",\n \"Name\": \"abc\",\n \"Detail\": \"abc\",\n \"IpString\": \"abc\",\n \"InsertTime\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"Type\": 0,\n \"RulesNum\": 0\n }\n ],\n \"NameList\": [\n \"abc\"\n ],\n \"RequestId\": \"abc\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAddressTemplateList\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 20,\n \"SearchValue\": \"出向白名单\",\n \"TemplateType\": \"\"\n}", + "output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Detail\": \"\",\n \"IPNum\": 4,\n \"InsertTime\": \"2024-02-21 16:33:11\",\n \"IpString\": \"10.222.0.0/16,10.222.0.14,10.26.26.11,10.115.1.12\",\n \"IpVersion\": 0,\n \"Name\": \"出向白名单\",\n \"ProtocolType\": \"\",\n \"RulesNum\": 5,\n \"TemplateId\": \"ip-863papye\",\n \"Type\": 1,\n \"UpdateTime\": \"2024-09-11 10:14:42\",\n \"Uuid\": \"mb_appid_1708504391199\"\n }\n ],\n \"DomainTemplateCount\": 0,\n \"IpTemplateCount\": 1,\n \"NameList\": [\n \"dora\"\n ],\n \"PortTemplateCount\": 0,\n \"RequestId\": \"f68d4fbb-4887-4fbb-91cb-e964131d5b4c\",\n \"TemplateQuotaCount\": 300,\n \"Total\": 1,\n \"UsedTemplateCount\": 1\n }\n}", "title": "查询地址模板列表" } ], @@ -310,7 +310,7 @@ { "document": "查询入侵防御放通封禁列表", "input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBlockIgnoreList\n<公共请求参数>\n\n{\n \"Limit\": 0,\n \"Offset\": 0,\n \"SearchValue\": \"abc\",\n \"Direction\": \"abc\",\n \"RuleType\": 1,\n \"Order\": \"abc\",\n \"By\": \"abc\"\n}", - "output": "{\n \"Response\": {\n \"Data\": [\n {\n \"RuleType\": 0,\n \"Ioc\": \"abc\",\n \"IocInfo\": \"abc\",\n \"Domain\": \"abc\",\n \"IP\": \"abc\",\n \"Level\": \"abc\",\n \"EventName\": \"abc\",\n \"Direction\": 0,\n \"DirectionList\": \"0,1\",\n \"Protocol\": \"abc\",\n \"Address\": \"abc\",\n \"Action\": 0,\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\",\n \"IgnoreReason\": \"abc\",\n \"Source\": \"abc\",\n \"UniqueId\": \"abc\",\n \"MatchTimes\": 0,\n \"Country\": \"abc\",\n \"Comment\": \"abc\",\n \"LastHitTime\": \"abc\",\n \"CustomRule\": {\n \"SrcIP\": \"abc\",\n \"DstIP\": \"abc\",\n \"IdsRuleName\": \"abc\",\n \"IdsRuleId\": \"abc\"\n }\n }\n ],\n \"Total\": 0,\n \"ReturnCode\": 0,\n \"ReturnMsg\": \"abc\",\n \"SourceList\": [\n \"abc\"\n ],\n \"RuleTypeDataList\": [\n 0,\n 122,\n 30,\n 55,\n 12,\n 232,\n 0\n ],\n \"RequestId\": \"abc\"\n }\n}", + "output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Action\": 1,\n \"Address\": \"土耳其伊斯坦布尔省伊斯坦布尔\",\n \"Comment\": \"\",\n \"Country\": \"土耳其\",\n \"CustomRule\": {\n \"DstIP\": \"\",\n \"IdsRuleId\": \"\",\n \"IdsRuleName\": \"\",\n \"SrcIP\": \"\"\n },\n \"Direction\": 1,\n \"DirectionList\": \"1\",\n \"Domain\": \"\",\n \"EndTime\": \"2024-10-23 09:50:59\",\n \"EventName\": \"泛微OA蜜罐探测事件\",\n \"FwType\": 15,\n \"IP\": \"1.1.1.1\",\n \"IgnoreReason\": \"0\",\n \"Ioc\": \"1.1.1.1\",\n \"IocInfo\": \"\",\n \"IocName\": \"\",\n \"LastHitTime\": \"2024-10-21 16:59:09\",\n \"Level\": \"高危\",\n \"MatchTimes\": 563038,\n \"Protocol\": \"HTTP\",\n \"RuleType\": 1,\n \"Source\": \"网络蜜罐(严格模式)\",\n \"StartTime\": \"2024-09-27 09:50:59\",\n \"UniqueId\": \"appid-1.1.1.1-1-1\"\n }\n ],\n \"RequestId\": \"d4b7cab1-5594-41fb-88c6-67822af94807\",\n \"ReturnCode\": 0,\n \"ReturnMsg\": \"success\",\n \"RuleTypeDataList\": [\n 0,\n 5,\n 1,\n 0,\n 0,\n 1,\n 0\n ],\n \"SourceList\": [\n \"基础防御\",\n \"手动添加\",\n \"网络蜜罐(严格模式)\",\n \"虚拟补丁\"\n ],\n \"Total\": 30\n }\n}", "title": "查询入侵防御放通封禁列表" } ], @@ -334,7 +334,7 @@ { "document": "接口返回常见入侵防御开关接口", "input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDefenseSwitch\n<公共请求参数>\n\n{}", - "output": "{\n \"Response\": {\n \"BasicRuleSwitch\": 0,\n \"BaselineAllSwitch\": 0,\n \"TiSwitch\": 0,\n \"VirtualPatchSwitch\": 0,\n \"HistoryOpen\": 0,\n \"ReturnCode\": 0,\n \"ReturnMsg\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}", + "output": "{\n \"Response\": {\n \"BasicRuleSwitch\": 0,\n \"BaselineAllSwitch\": 0,\n \"TiSwitch\": 0,\n \"VirtualPatchSwitch\": 0,\n \"HistoryOpen\": 0,\n \"ReturnCode\": 0,\n \"ReturnMsg\": \"sccess\",\n \"RequestId\": \"RequestId\"\n }\n}", "title": "入侵防御开关相关" } ], @@ -358,7 +358,7 @@ { "document": "示例1", "input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEnterpriseSecurityGroupRuleList\n<公共请求参数>\n\n{\n \"Limit\": 1,\n \"Offset\": 0,\n \"SearchFilters\": [\n {\n \"Name\": \"common\",\n \"Values\": [\n \"模板\"\n ],\n \"OperatorType\": 9\n }\n ]\n}", - "output": "{\n \"Response\": {\n \"AllTotal\": 30,\n \"Data\": [\n {\n \"AclTags\": \"云防火墙封禁IP自动下发,请勿删除或修改\",\n \"BetaList\": [],\n \"Cidr\": \"\",\n \"Detail\": \"云防火墙封禁IP自动下发,请勿删除或修改\",\n \"InstanceName\": \"\",\n \"IsDelay\": 0,\n \"IsNew\": 1,\n \"OrderIndex\": 1,\n \"ParameterName\": \"\",\n \"Port\": \"-1/-1\",\n \"PrivateIp\": \"\",\n \"Protocol\": \"ANY\",\n \"ProtocolPortName\": \"\",\n \"PublicIp\": \"\",\n \"Region\": \"AllRegion\",\n \"RuleUuid\": 61257,\n \"ServiceTemplateId\": \"\",\n \"SouCidr\": \"\",\n \"SouInstanceName\": \"\",\n \"SouParameterName\": \"云防火墙拦截列表IP地址组IN,请勿删除\",\n \"SouPrivateIp\": \"\",\n \"SouPublicIp\": \"\",\n \"SourceId\": \"ipmg-17hphuxg\",\n \"SourceType\": 7,\n \"Status\": 1,\n \"Strategy\": 1,\n \"TargetId\": \"cfwrg-b803523898534bcbd9b7d2c7d92c175e1712804418\",\n \"TargetType\": 100,\n \"Uuid\": \"cfw_newsg_1300448058_0.0.0.0/0_17228848067531\"\n }\n ],\n \"Enable\": 2,\n \"RequestId\": \"d835bbe0-99e8-4cb7-a29a-3dfe2eff7d14\",\n \"Total\": 28\n }\n}", + "output": "{\n \"Response\": {\n \"AllTotal\": 30,\n \"Data\": [\n {\n \"AclTags\": \"云防火墙封禁IP自动下发,请勿删除或修改\",\n \"BetaList\": [],\n \"Cidr\": \"\",\n \"Detail\": \"云防火墙封禁IP自动下发,请勿删除或修改\",\n \"InstanceName\": \"\",\n \"IsDelay\": 0,\n \"IsNew\": 1,\n \"OrderIndex\": 1,\n \"ParameterName\": \"\",\n \"Port\": \"-1/-1\",\n \"PrivateIp\": \"\",\n \"Protocol\": \"ANY\",\n \"ProtocolPortName\": \"\",\n \"PublicIp\": \"\",\n \"Region\": \"AllRegion\",\n \"RuleUuid\": 61257,\n \"ServiceTemplateId\": \"\",\n \"SouCidr\": \"\",\n \"SouInstanceName\": \"\",\n \"SouParameterName\": \"云防火墙拦截列表IP地址组IN,请勿删除\",\n \"SouPrivateIp\": \"\",\n \"SouPublicIp\": \"\",\n \"SourceId\": \"ipmg-17hphuxg\",\n \"SourceType\": 7,\n \"Status\": 1,\n \"Strategy\": 1,\n \"TargetId\": \"cfwrg-b803523898534bcbd9b7d2c7d92c175e1712804418\",\n \"TargetType\": 100,\n \"Uuid\": \"cfw_newsg_1300448058_0.0.0.0/0_17228848067531\",\n \"Id\": 61257\n }\n ],\n \"Enable\": 2,\n \"RequestId\": \"d835bbe0-99e8-4cb7-a29a-3dfe2eff7d14\",\n \"Total\": 28\n }\n}", "title": "示例1" } ], @@ -380,10 +380,10 @@ ], "DescribeFwSyncStatus": [ { - "document": "获取防火墙同步状态,一般在执行同步操作后查询", - "input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFwSyncStatus\n<公共请求参数>\n\n{\n \"SyncType\": \"abc\"\n}", - "output": "{\n \"Response\": {\n \"SyncStatus\": 0,\n \"RequestId\": \"abc\"\n }\n}", - "title": "获取防火墙同步状态" + "document": "获取防火墙路由同步状态", + "input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFwSyncStatus\n<公共请求参数>\n\n{\n \"SyncType\": \"Route\"\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"00075104-8d9e-4b29-a0b1-b0609a4ce726\",\n \"SyncStatus\": 0\n }\n}", + "title": "获取防火墙路由同步状态" } ], "DescribeGuideScanInfo": [ @@ -396,10 +396,10 @@ ], "DescribeIPStatusList": [ { - "document": "", - "input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeIPStatusList\n<公共请求参数>\n\n{\n \"IPList\": [\n \"1.2.3.4\"\n ]\n}", - "output": "{\n \"Response\": {\n \"StatusList\": [\n {\n \"IP\": \"abc\",\n \"Status\": 0\n }\n ],\n \"ReturnCode\": 0,\n \"ReturnMsg\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}", - "title": "告警中心-资产安全事件统计-资产详情" + "document": "查询IP状态接口", + "input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeIPStatusList\n<公共请求参数>\n\n{\n \"IPList\": [\n \"124.220.226.180\"\n ]\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"3fc3d1f9-b80f-4c2b-88c9-e3a8c0ec5ddd\",\n \"ReturnCode\": 0,\n \"ReturnMsg\": \"success\",\n \"StatusList\": [\n {\n \"IP\": \"124.220.226.180\",\n \"Status\": 1\n }\n ]\n }\n}", + "title": "查询IP状态接口示例" } ], "DescribeIdsWhiteRule": [ @@ -414,7 +414,7 @@ { "document": "日志审计日志查询", "input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLogs\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"protocol\",\n \"Values\": [\n \"ANY\",\n \"TCP\",\n \"ICMP\"\n ],\n \"OperatorType\": 1\n }\n ],\n \"Limit\": 10,\n \"Offset\": 0,\n \"Index\": \"netflow_border\",\n \"StartTime\": \"2021-09-21 12:00:00\",\n \"EndTime\": \"2021-09-21 12:00:00\"\n}", - "output": "{\n \"Response\": {\n \"Data\": \"[]\",\n \"RequestId\": \"e368c536-0331-46d3-b888-90c27152970f\",\n \"ReturnCode\": 0,\n \"ReturnMsg\": \"success\",\n \"Total\": 0\n }\n}", + "output": "{\n \"Response\": {\n \"Data\": \"[{\\\"StartTime\\\":\\\"2024-09-21 12:00:00\\\",\\\"EndTime\\\":\\\"2024-09-21 12:01:00\\\",\\\"SourceIp\\\":\\\"91.148.190.158\\\",\\\"TargetIp\\\":\\\"81.70.48.154\\\",\\\"SourcePort\\\":\\\"50865\\\",\\\"TargetPort\\\":\\\"17589\\\",\\\"Direction\\\":\\\"1\\\",\\\"Domain\\\":\\\"\\\",\\\"Protocol\\\":\\\"TCP\\\",\\\"Address\\\":\\\"保加利亚索非亚州索非亚\\\",\\\"Supplier\\\":\\\"Tamatiya EOOD\\\",\\\"AssetName\\\":\\\"\\\",\\\"ReceivePackageNum\\\":1,\\\"ReceiveBytesNum\\\":44,\\\"SendPackageNum\\\":0,\\\"SendBytesNum\\\":0,\\\"FlowPackageNum\\\":1,\\\"FlowBytesNum\\\":44,\\\"AssetId\\\":\\\"\\\",\\\"Tags\\\":\\\"\\\"},{\\\"StartTime\\\":\\\"2024-09-21 12:00:00\\\",\\\"EndTime\\\":\\\"2024-09-21 12:00:11\\\",\\\"SourceIp\\\":\\\"80.64.30.109\\\",\\\"TargetIp\\\":\\\"81.70.41.63\\\",\\\"SourcePort\\\":\\\"42573\\\",\\\"TargetPort\\\":\\\"38847\\\",\\\"Direction\\\":\\\"1\\\",\\\"Domain\\\":\\\"\\\",\\\"Protocol\\\":\\\"TCP\\\",\\\"Address\\\":\\\"俄罗斯莫斯科\\\",\\\"Supplier\\\":\\\"Hivelocity Inc\\\",\\\"AssetName\\\":\\\"\\\",\\\"ReceivePackageNum\\\":2,\\\"ReceiveBytesNum\\\":80,\\\"SendPackageNum\\\":1,\\\"SendBytesNum\\\":40,\\\"FlowPackageNum\\\":3,\\\"FlowBytesNum\\\":120,\\\"AssetId\\\":\\\"\\\",\\\"Tags\\\":\\\"\\\"},{\\\"StartTime\\\":\\\"2024-09-21 12:00:00\\\",\\\"EndTime\\\":\\\"2024-09-21 12:01:00\\\",\\\"SourceIp\\\":\\\"91.148.190.158\\\",\\\"TargetIp\\\":\\\"81.70.48.154\\\",\\\"SourcePort\\\":\\\"50865\\\",\\\"TargetPort\\\":\\\"17589\\\",\\\"Direction\\\":\\\"1\\\",\\\"Domain\\\":\\\"\\\",\\\"Protocol\\\":\\\"TCP\\\",\\\"Address\\\":\\\"保加利亚索非亚州索非亚\\\",\\\"Supplier\\\":\\\"Tamatiya EOOD\\\",\\\"AssetName\\\":\\\"league-规则测试靶机-勿删\\\",\\\"ReceivePackageNum\\\":1,\\\"ReceiveBytesNum\\\":44,\\\"SendPackageNum\\\":0,\\\"SendBytesNum\\\":0,\\\"FlowPackageNum\\\":1,\\\"FlowBytesNum\\\":44,\\\"AssetId\\\":\\\"ins-mec2asax\\\",\\\"Tags\\\":\\\"\\\"},{\\\"StartTime\\\":\\\"2024-09-21 12:00:00\\\",\\\"EndTime\\\":\\\"2024-09-21 12:00:11\\\",\\\"SourceIp\\\":\\\"89.248.165.16\\\",\\\"TargetIp\\\":\\\"81.70.41.63\\\",\\\"SourcePort\\\":\\\"52015\\\",\\\"TargetPort\\\":\\\"38433\\\",\\\"Direction\\\":\\\"1\\\",\\\"Domain\\\":\\\"\\\",\\\"Protocol\\\":\\\"TCP\\\",\\\"Address\\\":\\\"荷兰北荷兰省阿姆斯特丹\\\",\\\"Supplier\\\":\\\"IP Volume inc\\\",\\\"AssetName\\\":\\\"\\\",\\\"ReceivePackageNum\\\":2,\\\"ReceiveBytesNum\\\":88,\\\"SendPackageNum\\\":1,\\\"SendBytesNum\\\":40,\\\"FlowPackageNum\\\":3,\\\"FlowBytesNum\\\":128,\\\"AssetId\\\":\\\"\\\",\\\"Tags\\\":\\\"\\\"},{\\\"StartTime\\\":\\\"2024-09-21 12:00:00\\\",\\\"EndTime\\\":\\\"2024-09-21 12:00:11\\\",\\\"SourceIp\\\":\\\"80.64.30.109\\\",\\\"TargetIp\\\":\\\"81.70.41.63\\\",\\\"SourcePort\\\":\\\"42573\\\",\\\"TargetPort\\\":\\\"38847\\\",\\\"Direction\\\":\\\"1\\\",\\\"Domain\\\":\\\"\\\",\\\"Protocol\\\":\\\"TCP\\\",\\\"Address\\\":\\\"俄罗斯莫斯科\\\",\\\"Supplier\\\":\\\"Hivelocity Inc\\\",\\\"AssetName\\\":\\\"ins-r0jh352d\\\",\\\"ReceivePackageNum\\\":2,\\\"ReceiveBytesNum\\\":80,\\\"SendPackageNum\\\":1,\\\"SendBytesNum\\\":40,\\\"FlowPackageNum\\\":3,\\\"FlowBytesNum\\\":120,\\\"AssetId\\\":\\\"ins-r0jh352d\\\",\\\"Tags\\\":\\\"\\\"},{\\\"StartTime\\\":\\\"2024-09-21 12:00:00\\\",\\\"EndTime\\\":\\\"2024-09-21 12:00:11\\\",\\\"SourceIp\\\":\\\"89.248.165.16\\\",\\\"TargetIp\\\":\\\"81.70.41.63\\\",\\\"SourcePort\\\":\\\"52015\\\",\\\"TargetPort\\\":\\\"38433\\\",\\\"Direction\\\":\\\"1\\\",\\\"Domain\\\":\\\"\\\",\\\"Protocol\\\":\\\"TCP\\\",\\\"Address\\\":\\\"荷兰北荷兰省阿姆斯特丹\\\",\\\"Supplier\\\":\\\"IP Volume inc\\\",\\\"AssetName\\\":\\\"ins-r0jh352d\\\",\\\"ReceivePackageNum\\\":2,\\\"ReceiveBytesNum\\\":88,\\\"SendPackageNum\\\":1,\\\"SendBytesNum\\\":40,\\\"FlowPackageNum\\\":3,\\\"FlowBytesNum\\\":128,\\\"AssetId\\\":\\\"ins-r0jh352d\\\",\\\"Tags\\\":\\\"\\\"}]\",\n \"RequestId\": \"e368c536-0331-46d3-b888-90c27152970f\",\n \"ReturnCode\": 0,\n \"ReturnMsg\": \"success\",\n \"Total\": 0\n }\n}", "title": "日志审计日志查询" } ], @@ -428,10 +428,10 @@ ], "DescribeNatFwDnatRule": [ { - "document": "查询Nat防火墙Dnat规则", - "input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeNatFwDnatRule\n<公共请求参数>\n\n{\n \"Index\": \"abc\",\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ],\n \"OperatorType\": 0\n }\n ],\n \"Limit\": 1,\n \"Offset\": 1,\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\",\n \"Order\": \"abc\",\n \"By\": \"abc\"\n}", - "output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Id\": 0,\n \"IpProtocol\": \"abc\",\n \"PublicIpAddress\": \"abc\",\n \"PublicPort\": 0,\n \"PrivateIpAddress\": \"abc\",\n \"PrivatePort\": 0,\n \"Description\": \"abc\",\n \"IsReferenced\": 0,\n \"FwInsId\": \"abc\",\n \"NatGwId\": \"abc\"\n }\n ],\n \"Total\": 1,\n \"RequestId\": \"abc\"\n }\n}", - "title": "查询Nat防火墙Dnat规则" + "document": "查询Nat防火墙Dnat规则示例", + "input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeNatFwDnatRule\n<公共请求参数>\n\n{\n \"Limit\": 3,\n \"Offset\": 0\n}", + "output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Description\": \"自动化勿删\",\n \"FwInsId\": \"cfwnat-ef74fdaf\",\n \"Id\": 6176,\n \"IpProtocol\": \"TCP\",\n \"IsReferenced\": 0,\n \"NatGwId\": \"\",\n \"PrivateIpAddress\": \"10.8.1.12\",\n \"PrivatePort\": 8080,\n \"PublicIpAddress\": \"124.223.94.81\",\n \"PublicPort\": 8080\n },\n {\n \"Description\": \"自动化勿删\",\n \"FwInsId\": \"cfwnat-ef74fdaf\",\n \"Id\": 6175,\n \"IpProtocol\": \"TCP\",\n \"IsReferenced\": 0,\n \"NatGwId\": \"\",\n \"PrivateIpAddress\": \"10.8.2.4\",\n \"PrivatePort\": 80,\n \"PublicIpAddress\": \"124.223.94.81\",\n \"PublicPort\": 80\n },\n {\n \"Description\": \"test\",\n \"FwInsId\": \"cfwnat-dce8698e\",\n \"Id\": 6126,\n \"IpProtocol\": \"UDP\",\n \"IsReferenced\": 0,\n \"NatGwId\": \"\",\n \"PrivateIpAddress\": \"172.16.0.17\",\n \"PrivatePort\": 65530,\n \"PublicIpAddress\": \"43.138.154.20\",\n \"PublicPort\": 65530\n }\n ],\n \"RequestId\": \"d6ab3ac9-0902-48f3-8753-c0a48adcfc3f\",\n \"Total\": 5\n }\n}", + "title": "查询Nat防火墙Dnat规则示例" } ], "DescribeNatFwInfoCount": [ @@ -605,8 +605,8 @@ "ModifyAddressTemplate": [ { "document": "", - "input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAddressTemplate\n<公共请求参数>\n\n{\n \"Uuid\": \"abc\",\n \"Name\": \"abc\",\n \"Detail\": \"abc\",\n \"IpString\": \"abc\",\n \"Type\": 0\n}", - "output": "{\n \"Response\": {\n \"Status\": 0,\n \"Uuid\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAddressTemplate\n<公共请求参数>\n\n{\n \"Name\": \"dora\",\n \"Detail\": \"\",\n \"IpString\": \"1.1.1.1\",\n \"Type\": 1,\n \"ProtocolType\": \"\",\n \"Uuid\": \"mb_appid_1708504391199\"\n}", + "output": "{\n \"Response\": {\n \"Status\": 0,\n \"Uuid\": \"mb_appid_1708504391199\",\n \"RequestId\": \"RequestId\"\n }\n}", "title": "修改地址模板" } ], @@ -661,7 +661,7 @@ "ModifyBlockIgnoreRule": [ { "document": "空值返回", - "input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyBlockIgnoreRule\n<公共请求参数>\n\n{\n \"Rule\": {\n \"IP\": \"abc\",\n \"Domain\": \"abc\",\n \"Direction\": 0,\n \"EndTime\": \"abc\",\n \"Comment\": \"abc\",\n \"StartTime\": \"abc\"\n },\n \"RuleType\": 0\n}", + "input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyBlockIgnoreRule\n<公共请求参数>\n\n{\n \"Rule\": {\n \"IP\": \"1.1.1.1\",\n \"Domain\": \"\",\n \"Direction\": 0,\n \"EndTime\": \"2025-01-01 00:00:00\",\n \"Comment\": \"阻断访问\",\n \"StartTime\": \"2024-01-01 00:00:00\"\n },\n \"RuleType\": 0\n}", "output": "{\n \"Response\": {\n \"RequestId\": \"\"\n }\n}", "title": "空值返回" } diff --git a/tccli/services/cvm/v20170312/api.json b/tccli/services/cvm/v20170312/api.json index 300aff389d..31db5666eb 100644 --- a/tccli/services/cvm/v20170312/api.json +++ b/tccli/services/cvm/v20170312/api.json @@ -12082,7 +12082,7 @@ "members": [ { "disabled": false, - "document": "可用区名称,例如,ap-guangzhou-3\n全网可用区名称如下:\n
  • ap-chongqing-1
  • \n
  • ap-seoul-1
  • \n
  • ap-seoul-2
  • \n
  • ap-chengdu-1
  • \n
  • ap-chengdu-2
  • \n
  • ap-hongkong-1(售罄)
  • \n
  • ap-hongkong-2
  • \n
  • ap-hongkong-3
  • \n
  • ap-shenzhen-fsi-1
  • \n
  • ap-shenzhen-fsi-2
  • \n
  • ap-shenzhen-fsi-3(售罄)
  • \n
  • ap-guangzhou-1(售罄)
  • \n
  • ap-guangzhou-2(售罄)
  • \n
  • ap-guangzhou-3
  • \n
  • ap-guangzhou-4
  • \n
  • ap-guangzhou-6
  • \n
  • ap-guangzhou-7
  • \n
  • ap-tokyo-1
  • \n
  • ap-tokyo-2
  • \n
  • ap-singapore-1
  • \n
  • ap-singapore-2
  • \n
  • ap-singapore-3
  • \n
  • ap-singapore-4
  • \n
  • ap-shanghai-fsi-1
  • \n
  • ap-shanghai-fsi-2
  • \n
  • ap-shanghai-fsi-3
  • \n
  • ap-bangkok-1
  • \n
  • ap-bangkok-2
  • \n
  • ap-shanghai-1(售罄)
  • \n
  • ap-shanghai-2
  • \n
  • ap-shanghai-3
  • \n
  • ap-shanghai-4
  • \n
  • ap-shanghai-5
  • \n
  • ap-shanghai-8
  • \n
  • ap-mumbai-1
  • \n
  • ap-mumbai-2
  • \n
  • eu-moscow-1
  • \n
  • ap-beijing-1(售罄)
  • \n
  • ap-beijing-2
  • \n
  • ap-beijing-3
  • \n
  • ap-beijing-4
  • \n
  • ap-beijing-5
  • \n
  • ap-beijing-6
  • \n
  • ap-beijing-7
  • \n
  • na-siliconvalley-1
  • \n
  • na-siliconvalley-2
  • \n
  • eu-frankfurt-1
  • \n
  • eu-frankfurt-2
  • \n
  • na-ashburn-1
  • \n
  • na-ashburn-2
  • \n
  • ap-nanjing-1
  • \n
  • ap-nanjing-2
  • \n
  • ap-nanjing-3
  • \n
  • sa-saopaulo-1
  • \n
  • ap-jakarta-1
  • \n
  • ap-jakarta-2
  • ", + "document": "可用区名称,例如,ap-guangzhou-3\n全网可用区名称如下:\n
  • ap-chongqing-1
  • \n
  • ap-seoul-1
  • \n
  • ap-seoul-2
  • \n
  • ap-chengdu-1
  • \n
  • ap-chengdu-2
  • \n
  • ap-hongkong-1(售罄)
  • \n
  • ap-hongkong-2
  • \n
  • ap-hongkong-3
  • \n
  • ap-shenzhen-fsi-1
  • \n
  • ap-shenzhen-fsi-2
  • \n
  • ap-shenzhen-fsi-3(售罄)
  • \n
  • ap-guangzhou-1(售罄)
  • \n
  • ap-guangzhou-2(售罄)
  • \n
  • ap-guangzhou-3
  • \n
  • ap-guangzhou-4
  • \n
  • ap-guangzhou-6
  • \n
  • ap-guangzhou-7
  • \n
  • ap-tokyo-1
  • \n
  • ap-tokyo-2
  • \n
  • ap-singapore-1
  • \n
  • ap-singapore-2
  • \n
  • ap-singapore-3
  • \n
  • ap-singapore-4
  • \n
  • ap-shanghai-fsi-1
  • \n
  • ap-shanghai-fsi-2
  • \n
  • ap-shanghai-fsi-3
  • \n
  • ap-bangkok-1
  • \n
  • ap-bangkok-2
  • \n
  • ap-shanghai-1(售罄)
  • \n
  • ap-shanghai-2
  • \n
  • ap-shanghai-3
  • \n
  • ap-shanghai-4
  • \n
  • ap-shanghai-5
  • \n
  • ap-shanghai-8
  • \n
  • ap-mumbai-1
  • \n
  • ap-mumbai-2
  • \n
  • ap-beijing-1(售罄)
  • \n
  • ap-beijing-2
  • \n
  • ap-beijing-3
  • \n
  • ap-beijing-4
  • \n
  • ap-beijing-5
  • \n
  • ap-beijing-6
  • \n
  • ap-beijing-7
  • \n
  • na-siliconvalley-1
  • \n
  • na-siliconvalley-2
  • \n
  • eu-frankfurt-1
  • \n
  • eu-frankfurt-2
  • \n
  • na-ashburn-1
  • \n
  • na-ashburn-2
  • \n
  • ap-nanjing-1
  • \n
  • ap-nanjing-2
  • \n
  • ap-nanjing-3
  • \n
  • sa-saopaulo-1
  • \n
  • ap-jakarta-1
  • \n
  • ap-jakarta-2
  • ", "example": "ap-guangzhou-3", "member": "string", "name": "Zone", diff --git a/tccli/services/cwp/v20180228/api.json b/tccli/services/cwp/v20180228/api.json index 4d355413f5..84b4bcd5ec 100644 --- a/tccli/services/cwp/v20180228/api.json +++ b/tccli/services/cwp/v20180228/api.json @@ -17076,6 +17076,7 @@ "example": "无", "member": "IncidentVertexInfo", "name": "IncidentNodes", + "output_required": true, "type": "list", "value_allowed_null": true }, @@ -17130,6 +17131,7 @@ "example": "无", "member": "string", "name": "AlarmVertexIds", + "output_required": true, "type": "list", "value_allowed_null": true }, @@ -19283,7 +19285,7 @@ "example": "wfwfw", "member": "AssetType", "name": "Types", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": false }, @@ -21220,10 +21222,10 @@ { "disabled": false, "document": "最后检测时间\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "xxx", + "example": "2019-12-25 11:57:15", "member": "string", "name": "LatestScanTime", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -21233,7 +21235,7 @@ "example": "1", "member": "uint64", "name": "IsGlobal", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -21243,7 +21245,7 @@ "example": "1", "member": "uint64", "name": "ScanHostCount", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -21253,7 +21255,7 @@ "example": "1", "member": "uint64", "name": "ScanRuleCount", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -21263,7 +21265,7 @@ "example": "1", "member": "uint64", "name": "IfFirstScan", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -23014,37 +23016,37 @@ "example": "1", "member": "uint64", "name": "PassRate", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, { "disabled": false, "document": "策略名\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "xxx", + "example": "等保一级策略", "member": "string", "name": "StrategyName", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, { "disabled": false, "document": "策略扫描周期(天)\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "xxx", + "example": "1", "member": "string", "name": "ScanCycle", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, { "disabled": false, "document": "定期检测时间, 该时间下发扫描\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "xxx", + "example": "00:00:00", "member": "string", "name": "ScanAt", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -23054,7 +23056,7 @@ "example": "1", "member": "uint64", "name": "IsGlobal", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -23064,17 +23066,17 @@ "example": "CVM", "member": "string", "name": "MachineType", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, { "disabled": false, "document": "主机地域\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "xxx", + "example": "ap-bj", "member": "string", "name": "Region", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -23084,7 +23086,7 @@ "example": "[]", "member": "string", "name": "Quuids", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": true }, @@ -23094,7 +23096,7 @@ "example": "[]", "member": "string", "name": "CategoryIds", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": true }, @@ -23104,7 +23106,7 @@ "example": "1", "member": "uint64", "name": "IfScanned", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -23895,7 +23897,7 @@ "example": "无", "member": "CanNotSeparateInfo", "name": "List", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": false }, @@ -24330,7 +24332,7 @@ { "disabled": false, "document": "返回数量,最大值为100。", - "example": "无", + "example": "10", "member": "uint64", "name": "Limit", "required": false, @@ -24339,7 +24341,7 @@ { "disabled": false, "document": "偏移量,默认为0。", - "example": "无", + "example": "0", "member": "uint64", "name": "Offset", "required": false, @@ -24348,7 +24350,7 @@ { "disabled": false, "document": "过滤条件。\n
  • Status - String - 是否必填:是 - 漏洞状态筛选,0//未检测 1有风险 ,2无风险 ,3 检查中展示progress
  • \n
  • Level - String - 是否必填:否 - 漏洞等级筛选 1:低 2:中 3:高 4:提示
  • \n
  • VulName- String - 是否必填:否 - 漏洞名称搜索
  • \n
  • Uuids- String - 是否必填:否 - 主机uuid
  • \n
  • IsSupportDefense - int- 是否必填:否 - 是否支持防御 0:不支持 1:支持
  • ", - "example": "无", + "example": "[]", "member": "Filters", "name": "Filters", "required": false, @@ -24357,7 +24359,7 @@ { "disabled": false, "document": "排序方式 desc , asc", - "example": "无", + "example": "desc", "member": "string", "name": "Order", "required": false, @@ -24366,7 +24368,7 @@ { "disabled": false, "document": "排序字段 PublishDate LastScanTime HostCount", - "example": "无", + "example": "PublishDate", "member": "string", "name": "By", "required": false, @@ -24393,6 +24395,7 @@ "example": "无", "member": "EmergencyVul", "name": "List", + "output_required": true, "type": "list", "value_allowed_null": true }, @@ -24402,6 +24405,7 @@ "example": "无", "member": "uint64", "name": "TotalCount", + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -24411,6 +24415,7 @@ "example": "true", "member": "bool", "name": "ExistsRisk", + "output_required": true, "type": "bool", "value_allowed_null": true }, @@ -24429,7 +24434,7 @@ { "disabled": false, "document": "事件表名", - "example": "event_risk_dns", + "example": "table", "member": "string", "name": "TableName", "required": true, @@ -24456,6 +24461,7 @@ "example": "malware", "member": "string", "name": "Type", + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -24465,6 +24471,7 @@ "example": "xxx", "member": "string", "name": "Value", + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -30032,6 +30039,7 @@ "example": "1", "member": "uint64", "name": "ReturnCode", + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -30041,6 +30049,7 @@ "example": "Success", "member": "string", "name": "ReturnMsg", + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -30050,6 +30059,7 @@ "example": "xxx", "member": "ProductStatusInfo", "name": "Data", + "output_required": true, "type": "object", "value_allowed_null": false }, @@ -32058,7 +32068,7 @@ "example": "[]", "member": "ScanTaskDetails", "name": "ScanTaskDetailList", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": false }, @@ -32068,7 +32078,7 @@ "example": "1", "member": "uint64", "name": "TotalCount", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -32078,7 +32088,7 @@ "example": "1", "member": "uint64", "name": "ScanMachineCount", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -32088,7 +32098,7 @@ "example": "1", "member": "uint64", "name": "RiskMachineCount", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -32098,7 +32108,7 @@ "example": "xxx", "member": "string", "name": "ScanBeginTime", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -32108,7 +32118,7 @@ "example": "xxx", "member": "string", "name": "ScanEndTime", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -32118,7 +32128,7 @@ "example": "xxx", "member": "uint64", "name": "ScanTime", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -32128,7 +32138,7 @@ "example": "10", "member": "uint64", "name": "ScanProgress", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -32138,7 +32148,7 @@ "example": "xxx", "member": "uint64", "name": "ScanLeftTime", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -32148,7 +32158,7 @@ "example": "xxx", "member": "string", "name": "ScanContent", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": false }, @@ -32158,7 +32168,7 @@ "example": "[]", "member": "VulDetailInfo", "name": "VulInfo", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": true }, @@ -32168,7 +32178,7 @@ "example": "1", "member": "uint64", "name": "RiskEventCount", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -32178,7 +32188,7 @@ "example": "1", "member": "uint64", "name": "Type", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -32188,7 +32198,7 @@ "example": "true", "member": "bool", "name": "StoppingAll", - "required": true, + "output_required": true, "type": "bool", "value_allowed_null": true }, @@ -32198,7 +32208,7 @@ "example": "0", "member": "uint64", "name": "VulCount", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -32279,7 +32289,7 @@ { "disabled": false, "document": "定期检测间隔时间(天)", - "example": "xxx", + "example": "1", "member": "uint64", "name": "TimerInterval", "output_required": true, @@ -32289,7 +32299,7 @@ { "disabled": false, "document": "定期检测时间,如:00:00", - "example": "xxx", + "example": "00:00", "member": "string", "name": "TimerTime", "output_required": true, @@ -32329,7 +32339,7 @@ { "disabled": false, "document": "结束时间", - "example": "00:00", + "example": "05:00", "member": "string", "name": "EndTime", "output_required": true, @@ -32349,7 +32359,7 @@ { "disabled": false, "document": "为空默认扫描全部专业版、旗舰版、普惠版主机,不为空只扫描选中主机", - "example": "['']", + "example": "[]", "member": "string", "name": "Uuids", "output_required": true, @@ -32389,7 +32399,7 @@ "example": "无", "member": "ScreenAttackHotspot", "name": "List", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": true }, @@ -32416,7 +32426,7 @@ "example": "无", "member": "ScreenBroadcasts", "name": "List", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": true }, @@ -32462,7 +32472,7 @@ "example": "无", "member": "ScreenTrendsChart", "name": "TrendsChart", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": true }, @@ -32489,7 +32499,7 @@ "example": "无", "member": "ScreenEmergentMsg", "name": "MessageInfo", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": false }, @@ -32526,7 +32536,7 @@ "example": "无", "member": "ScreenEventsCnt", "name": "Info", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": true }, @@ -32600,7 +32610,7 @@ "example": "无", "member": "ScreenDefendAttackLog", "name": "DefendAttackLog", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": false }, @@ -32610,7 +32620,7 @@ "example": "无", "member": "ScreenInvasion", "name": "InvasionEvents", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": false }, @@ -32620,7 +32630,7 @@ "example": "无", "member": "ScreenVulInfo", "name": "Vul", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": false }, @@ -32630,7 +32640,7 @@ "example": "无", "member": "ScreenBaselineInfo", "name": "Baseline", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": true }, @@ -32657,7 +32667,7 @@ "example": "无", "member": "ScreenRegionInfo", "name": "List", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": true }, @@ -32712,7 +32722,7 @@ "example": "无", "member": "ScreenRegionMachines", "name": "List", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": true }, @@ -32739,7 +32749,7 @@ "example": "无", "member": "ScreenProtectionCnt", "name": "List", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": false }, @@ -32766,7 +32776,7 @@ "example": "无", "member": "ScreenProtection", "name": "Info", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": false }, @@ -32803,7 +32813,7 @@ "example": "无", "member": "ScreenNameValue", "name": "Chart", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": true }, @@ -34420,6 +34430,7 @@ "example": "无", "member": "VertexDetail", "name": "VertexDetails", + "output_required": true, "type": "list", "value_allowed_null": true }, @@ -34834,7 +34845,7 @@ { "disabled": false, "document": "过滤条件。\n
  • Keywords - String - 是否必填:否 - 主机ip或别名筛选
  • \n
  • Exception - String - 是否必填:否 - 插件状态 0:正常,1:异常,2:无java进程注入
  • ", - "example": "无", + "example": "[]", "member": "Filter", "name": "Filters", "required": false, @@ -34888,15 +34899,17 @@ "example": "123", "member": "uint64", "name": "TotalCount", + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "各主机漏洞防御插件信息列表\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "[]", "member": "VulDefencePluginStatus", "name": "List", + "output_required": true, "type": "list", "value_allowed_null": true }, @@ -35801,7 +35814,7 @@ { "disabled": false, "document": "可选排序字段 Level,LastTime,HostCount", - "example": "无", + "example": "Level", "member": "string", "name": "By", "required": false, @@ -35810,7 +35823,7 @@ { "disabled": false, "document": "排序顺序:desc 默认asc", - "example": "无", + "example": "desc", "member": "string", "name": "Order", "required": false, @@ -35828,6 +35841,7 @@ "example": "[]", "member": "VulInfoList", "name": "VulInfoList", + "output_required": true, "type": "list", "value_allowed_null": true }, @@ -35837,6 +35851,7 @@ "example": "1", "member": "uint64", "name": "TotalCount", + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -35846,6 +35861,7 @@ "example": "23", "member": "uint64", "name": "FollowVulCount", + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -35989,6 +36005,7 @@ "example": "无", "member": "VulStoreListInfo", "name": "List", + "output_required": true, "type": "list", "value_allowed_null": true }, @@ -35998,6 +36015,7 @@ "example": "无", "member": "uint64", "name": "TotalCount", + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -36007,6 +36025,7 @@ "example": "1", "member": "uint64", "name": "Remaining", + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -36016,6 +36035,7 @@ "example": "1", "member": "uint64", "name": "FreeSearchTimes", + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -40839,6 +40859,7 @@ "example": "1615549629", "member": "string", "name": "TaskId", + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -42348,6 +42369,7 @@ "example": "test_val", "member": "string", "name": "Value", + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -53188,7 +53210,7 @@ { "disabled": false, "document": "主机quuid", - "example": "xxxxxx", + "example": "1c26308c-5493-4eaf-a817-112ec25f499e ", "member": "string", "name": "Quuid", "required": true, @@ -53233,7 +53255,7 @@ { "disabled": false, "document": "主机Quuid", - "example": "xxxxxxxxx", + "example": "1c26308c-5493-4eaf-a817-112ec25f499e", "member": "string", "name": "Quuid", "required": true, @@ -55039,7 +55061,7 @@ }, { "disabled": false, - "document": "失败详情", + "document": "失败类型 3离线、4超时、5失败、8agent版本过低", "example": "4", "member": "uint64", "name": "FailType", @@ -55379,7 +55401,7 @@ "example": "国际标准xxxx", "member": "string", "name": "Name", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -55389,7 +55411,7 @@ "example": "1", "member": "uint64", "name": "Level", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -55399,7 +55421,7 @@ "example": "12", "member": "uint64", "name": "CategoryId", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -55409,7 +55431,7 @@ "example": "2021-03-30 19:17:28", "member": "string", "name": "LastScanTime", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -55419,17 +55441,17 @@ "example": "23", "member": "uint64", "name": "BaselineFailCount", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, { "disabled": false, "document": "主机uuid\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "xxxxxxx,xxxxx", + "example": "1c26308c-5493-4eaf-a817-112ec25f499e", "member": "string", "name": "Uuid", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true } @@ -59960,7 +59982,7 @@ "example": "1", "member": "string", "name": "Ids", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -59970,7 +59992,7 @@ "example": "git注入", "member": "string", "name": "Name", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -59980,7 +60002,7 @@ "example": "1", "member": "uint64", "name": "Status", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -59990,7 +60012,7 @@ "example": "1", "member": "uint64", "name": "VulId", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -60000,7 +60022,7 @@ "example": "2021-03-16 16:21:51", "member": "string", "name": "PublishTime", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -60010,7 +60032,7 @@ "example": "2021-03-16 16:21:51", "member": "string", "name": "LastTime", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -60020,7 +60042,7 @@ "example": "2", "member": "uint64", "name": "HostCount", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -60030,7 +60052,7 @@ "example": "1", "member": "uint64", "name": "Level", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -60040,7 +60062,7 @@ "example": "0", "member": "uint64", "name": "From", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -60050,7 +60072,7 @@ "example": "漏洞描述", "member": "string", "name": "Descript", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -60060,7 +60082,7 @@ "example": "废弃字段", "member": "string", "name": "PublishTimeWisteria", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -60070,7 +60092,7 @@ "example": "废弃字段", "member": "string", "name": "NameWisteria", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -60080,7 +60102,7 @@ "example": "废弃字段", "member": "string", "name": "DescriptWisteria", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -60090,7 +60112,7 @@ "example": "1,2", "member": "string", "name": "StatusStr", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -60100,7 +60122,7 @@ "example": "CVE-2021-3156", "member": "string", "name": "CveId", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -60110,7 +60132,7 @@ "example": "9", "member": "float", "name": "CvssScore", - "required": true, + "output_required": true, "type": "float", "value_allowed_null": true }, @@ -60120,7 +60142,7 @@ "example": "标签1,标签2", "member": "string", "name": "Labels", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -60130,7 +60152,7 @@ "example": "1", "member": "uint64", "name": "FixSwitch", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -60140,7 +60162,7 @@ "example": "12", "member": "uint64", "name": "TaskId", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -60150,7 +60172,7 @@ "example": "1", "member": "uint64", "name": "IsSupportDefense", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -60160,7 +60182,7 @@ "example": "12", "member": "uint64", "name": "DefenseAttackCount", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -60170,7 +60192,7 @@ "example": "2021-03-30 19:17:28", "member": "string", "name": "FirstAppearTime", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -60180,7 +60202,7 @@ "example": "1", "member": "uint64", "name": "VulCategory", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -60190,7 +60212,7 @@ "example": "1", "member": "uint64", "name": "AttackLevel", - "required": false, + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -60200,7 +60222,7 @@ "example": "true", "member": "bool", "name": "FixNoNeedRestart", - "required": false, + "output_required": true, "type": "bool", "value_allowed_null": true }, @@ -60210,7 +60232,17 @@ "example": "1", "member": "uint64", "name": "Method", - "required": false, + "output_required": true, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "漏洞是否支持修复 0不支持,1支持\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "1", + "member": "uint64", + "name": "VulFixSwitch", + "output_required": false, "type": "int", "value_allowed_null": true } @@ -60304,7 +60336,7 @@ "example": "1", "member": "uint64", "name": "VulId", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -60314,7 +60346,7 @@ "example": "1", "member": "uint64", "name": "Level", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -60324,7 +60356,7 @@ "example": "漏洞", "member": "string", "name": "Name", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -60334,7 +60366,7 @@ "example": "123", "member": "string", "name": "CveId", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -60344,7 +60376,7 @@ "example": "1", "member": "uint64", "name": "VulCategory", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -60354,7 +60386,7 @@ "example": "11", "member": "string", "name": "PublishDate", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -60364,7 +60396,7 @@ "example": "0", "member": "uint64", "name": "Method", - "required": false, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -60374,17 +60406,17 @@ "example": "1", "member": "uint64", "name": "AttackLevel", - "required": false, + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, - "document": "漏洞是否支持自动修复\n0-windows/linux均关闭; 1-windows/linux均打开; 2-仅linux; 3-仅windows", + "document": "漏洞是否支持自动修复\n0-Windows/Linux均关闭; 1-Windows/Linux均打开; 2-仅Linux; 3-仅Windows", "example": "1", "member": "uint64", "name": "FixSwitch", - "required": false, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -60394,7 +60426,7 @@ "example": "1", "member": "uint64", "name": "SupportDefense", - "required": false, + "output_required": true, "type": "int", "value_allowed_null": false } diff --git a/tccli/services/cwp/v20180228/examples.json b/tccli/services/cwp/v20180228/examples.json index a1b0a1bb73..73bb435dc6 100644 --- a/tccli/services/cwp/v20180228/examples.json +++ b/tccli/services/cwp/v20180228/examples.json @@ -585,16 +585,16 @@ "DescribeAlarmIncidentNodes": [ { "document": "获取告警点所在事件的所有节点信息", - "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAlarmIncidentNodes\n<公共请求参数>\n\n{\n \"Uuid\": \"abc\",\n \"AlarmVid\": \"abc\",\n \"AlarmTime\": 0\n}", - "output": "{\n \"Response\": {\n \"IncidentNodes\": [\n {\n \"IncidentId\": \"abc\",\n \"TableName\": \"abc\",\n \"Vertex\": [\n {\n \"Type\": 0,\n \"Vid\": \"abc\",\n \"ParentVid\": \"abc\",\n \"IsLeaf\": true,\n \"ProcNamePrefix\": \"abc\",\n \"ProcNameMd5\": \"abc\",\n \"CmdLinePrefix\": \"abc\",\n \"CmdLineMd5\": \"abc\",\n \"FilePathPrefix\": \"abc\",\n \"AddressPrefix\": \"abc\",\n \"IsWeDetect\": true,\n \"IsAlarm\": true,\n \"FilePathMd5\": \"abc\",\n \"AddressMd5\": \"abc\"\n }\n ],\n \"VertexCount\": 0\n }\n ],\n \"RequestId\": \"abc\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAlarmIncidentNodes\n<公共请求参数>\n\n{\n \"Uuid\": \"1c26308c-5493-4eaf-a817-112ec25f499e\",\n \"AlarmVid\": \"23eeeb4347bdd26bfc6b7ee9a3b755dd\",\n \"AlarmTime\": 0\n}", + "output": "{\n \"Response\": {\n \"IncidentNodes\": [\n {\n \"IncidentId\": \"xxxx-xx-xx-xxxx\",\n \"TableName\": \"events_bash\",\n \"Vertex\": [\n {\n \"Type\": 0,\n \"Vid\": \"23eeeb4347bdd26bfc6b7ee9a3b755dd\",\n \"ParentVid\": \"23eeeb4347bdd26bfc6b7ee9a3b755dd\",\n \"IsLeaf\": true,\n \"ProcNamePrefix\": \"python\",\n \"ProcNameMd5\": \"23eeeb4347bdd26bfc6b7ee9a3b755dd\",\n \"CmdLinePrefix\": \"python\",\n \"CmdLineMd5\": \"23eeeb4347bdd26bfc6b7ee9a3b755dd\",\n \"FilePathPrefix\": \"/root\",\n \"AddressPrefix\": \"/root\",\n \"IsWeDetect\": true,\n \"IsAlarm\": true,\n \"FilePathMd5\": \"887904812217cca9bc2b9adb875daf42\",\n \"AddressMd5\": \"887904812217cca9bc2b9adb875daf42\"\n }\n ],\n \"VertexCount\": 0\n }\n ],\n \"RequestId\": \"xxxxxxxx-1234-5678-9101-yyyyyyyyyy\"\n }\n}", "title": "示例" } ], "DescribeAlarmVertexId": [ { "document": "获取时间范围内所有告警vid", - "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAlarmVertexId\n<公共请求参数>\n\n{\n \"Uuid\": \"abc\",\n \"StartTime\": 0,\n \"EndTime\": 0\n}", - "output": "{\n \"Response\": {\n \"AlarmVertexIds\": [\n \"abc\"\n ],\n \"RequestId\": \"abc\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAlarmVertexId\n<公共请求参数>\n\n{\n \"Uuid\": \"1c26308c-5493-4eaf-a817-112ec25f499e\",\n \"StartTime\": 0,\n \"EndTime\": 0\n}", + "output": "{\n \"Response\": {\n \"AlarmVertexIds\": [\n \"23eeeb4347bdd26bfc6b7ee9a3b755dd\"\n ],\n \"RequestId\": \"xxxxxxxx-1234-5678-9101-yyyyyyyyyy\"\n }\n}", "title": "示例" } ], @@ -826,7 +826,7 @@ { "document": "", "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAssetTypes\n<公共请求参数>\n\n{}", - "output": "{\n \"Response\": {\n \"RequestId\": \"xx\",\n \"Types\": [\n {\n \"Id\": 1,\n \"Name\": \"xx\"\n }\n ]\n }\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"xxxxxxxx-1234-5678-9101-yyyyyyyyyy\",\n \"Types\": [\n {\n \"Id\": 1,\n \"Name\": \"name\"\n }\n ]\n }\n}", "title": "DescribeAssetTypes" } ], @@ -1074,7 +1074,7 @@ { "document": "根据基线策略id查询基线策略数据概览统计", "input": "https://cwp.tencentcloudapi.com/?Action=DescribeBaselineAnalysisData\n&StrategyId=1\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"RequestId\": \"f1dd9f5e-4ac0-48a7-9410-c86d24656d9a\",\n \"LatestScanTime\": \"最近基线检测时间\",\n \"IsGlobal\": \"扫描范围是否全部服务器\",\n \"ScanHostCount\": 170,\n \"ScanRuleCount\": 25,\n \"IfFirstScan\": 1\n }\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"f1dd9f5e-4ac0-48a7-9410-c86d24656d9a\",\n \"LatestScanTime\": \"2019-12-25 11:57:15\",\n \"IsGlobal\": 1,\n \"ScanHostCount\": 170,\n \"ScanRuleCount\": 25,\n \"IfFirstScan\": 1\n }\n}", "title": "安全基线策略概览统计数据查询接口" } ], @@ -1288,7 +1288,7 @@ { "document": "根据策略id查询该策略的详情", "input": "https://cwp.tencentcloudapi.com/?Action=DescribeBaselineStrategyDetail\n&StrategyId=1\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"RequestId\": \"req-566234234\",\n \"PassRate\": 50,\n \"StrategyName\": \"等保一级策略\",\n \"ScanCycle\": 1,\n \"ScanAt\": \"00:00:00\",\n \"IsGlobal\": 1,\n \"IfScanned\": 1,\n \"MachineType\": \"cvm\",\n \"Region\": \"ap-bj\",\n \"Quuids\": [\n \"2001\",\n \"2002\",\n \"2003\"\n ],\n \"CategoryIds\": [\n 1,\n 2,\n 3\n ]\n }\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"req-566234234\",\n \"PassRate\": 50,\n \"StrategyName\": \"等保一级策略\",\n \"ScanCycle\": \"1\",\n \"ScanAt\": \"00:00:00\",\n \"IsGlobal\": 1,\n \"IfScanned\": 1,\n \"MachineType\": \"cvm\",\n \"Region\": \"ap-bj\",\n \"Quuids\": [\n \"2001\",\n \"2002\",\n \"2003\"\n ],\n \"CategoryIds\": [\n \"1\"\n ]\n }\n}", "title": "查询策略详情接口" } ], @@ -1404,7 +1404,7 @@ { "document": "获取木马不可隔离的主机", "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCanNotSeparateMachine\n<公共请求参数>\n\n{\n \"UpdateAll\": true,\n \"Ids\": [\n 1\n ],\n \"ExcludeId\": [\n 1\n ]\n}", - "output": "{\n \"Response\": {\n \"List\": [\n {\n \"Uuid\": \"xx\",\n \"PrivateIp\": \"xx\",\n \"PublicIp\": \"xx\",\n \"Alias\": \"xx\",\n \"Reason\": 1,\n \"Quuid\": \"xx\"\n }\n ],\n \"RequestId\": \"xx\"\n }\n}", + "output": "{\n \"Response\": {\n \"List\": [\n {\n \"Uuid\": \"1c26308c-5493-4eaf-a817-112ec25f499e\",\n \"PrivateIp\": \"xx.xx.xx.xx\",\n \"PublicIp\": \"xx.xx.xx.xx\",\n \"Alias\": \"a\",\n \"Reason\": 1,\n \"Quuid\": \"1c26308c-5493-4eaf-a817-112ec25f499e\"\n }\n ],\n \"RequestId\": \"xxxxxxxx-1234-5678-9101-yyyyyyyyyy\"\n }\n}", "title": "示例" } ], @@ -1474,15 +1474,15 @@ { "document": "应急漏洞列表", "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEmergencyVulList\n<公共请求参数>\n\n{\n \"Limit\": \"10\",\n \"Offset\": \"0\"\n}", - "output": "{\n \"Response\": {\n \"List\": [\n {\n \"VulId\": 1,\n \"Level\": 1,\n \"VulName\": \"abc\",\n \"PublishDate\": \"abc\",\n \"Category\": 1,\n \"Status\": 1,\n \"LastScanTime\": \"abc\",\n \"Progress\": 1,\n \"CveId\": \"abc\",\n \"CvssScore\": 0,\n \"Labels\": \"abc\",\n \"HostCount\": 1,\n \"IsSupportDefense\": 1,\n \"DefenseAttackCount\": 1\n }\n ],\n \"TotalCount\": 1,\n \"ExistsRisk\": true,\n \"RequestId\": \"abc\"\n }\n}", + "output": "{\n \"Response\": {\n \"List\": [\n {\n \"VulId\": 105374,\n \"Level\": 4,\n \"VulName\": \"Apache OFBiz SSRF到远程代码执行漏洞(CVE-2024-45507)\",\n \"PublishDate\": \"2024-09-04 00:00:00\",\n \"Category\": 2,\n \"Status\": 2,\n \"LastScanTime\": \"2024-10-21 14:27:07\",\n \"Progress\": 0,\n \"CveId\": \"CVE-2024-45507\",\n \"CvssScore\": 9.8,\n \"Labels\": \"远程利用\",\n \"HostCount\": 0,\n \"IsSupportDefense\": 0,\n \"DefenseAttackCount\": 0,\n \"Method\": 1,\n \"AttackLevel\": 0,\n \"DefenseState\": false\n }\n ],\n \"TotalCount\": 1,\n \"ExistsRisk\": true,\n \"RequestId\": \"abc\"\n }\n}", "title": "应急漏洞列表" } ], "DescribeEventByTable": [ { "document": "根据事件表名和id查询告警事件详情", - "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEventByTable\n<公共请求参数>\n\n{\n \"TableName\": \"abc\",\n \"Ids\": [\n 0\n ]\n}", - "output": "{\n \"Response\": {\n \"Type\": \"abc\",\n \"Value\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEventByTable\n<公共请求参数>\n\n{\n \"TableName\": \"events_bash\",\n \"Ids\": [\n 0\n ]\n}", + "output": "{\n \"Response\": {\n \"Type\": \"bash\",\n \"Value\": \"value\",\n \"RequestId\": \"xxxxxxxx-1234-5678-9101-yyyyyyyyyy\"\n }\n}", "title": "示例" } ], @@ -1762,7 +1762,7 @@ { "document": "", "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLogKafkaDeliverInfo\n<公共请求参数>\n\n{}", - "output": "{\n \"Response\": {\n \"KafkaEnvName\": \"abc\",\n \"KafkaId\": \"abc\",\n \"Zone\": \"abc\",\n \"Az\": \"abc\",\n \"VpcId\": \"abc\",\n \"SubnetId\": \"abc\",\n \"AccessType\": 1,\n \"AccessAddr\": \"abc\",\n \"DeliverStatus\": 1,\n \"InsVersion\": \"abc\",\n \"BandWidth\": 0,\n \"DiskSize\": 0,\n \"Username\": \"abc\",\n \"DeliverTypeDetails\": [\n {\n \"SecurityType\": 1,\n \"LogType\": [\n 0\n ],\n \"TopicId\": \"abc\",\n \"TopicName\": \"abc\",\n \"Switch\": 1,\n \"Status\": 1,\n \"ErrInfo\": \"abc\",\n \"StatusTime\": 0\n }\n ],\n \"RequestId\": \"abc\"\n }\n}", + "output": "{\n \"Response\": {\n \"KafkaEnvName\": \"name\",\n \"KafkaId\": \"ckafka-xxx\",\n \"Zone\": \"10006\",\n \"Az\": \"az\",\n \"VpcId\": \"vpc-xxx\",\n \"SubnetId\": \"subnet-xxx\",\n \"AccessType\": 1,\n \"AccessAddr\": \"addr\",\n \"DeliverStatus\": 1,\n \"InsVersion\": \"1.0.1\",\n \"BandWidth\": 0,\n \"DiskSize\": 0,\n \"Username\": \"username\",\n \"DeliverTypeDetails\": [\n {\n \"SecurityType\": 1,\n \"LogType\": [\n 0\n ],\n \"TopicId\": \"topic-xxx\",\n \"TopicName\": \"topic-name\",\n \"Switch\": 1,\n \"Status\": 1,\n \"ErrInfo\": \"err\",\n \"StatusTime\": 0,\n \"LogName\": \"log-name\",\n \"LogSetId\": \"cls-xxx\",\n \"Region\": \"ap-guangzhou\"\n }\n ],\n \"RequestId\": \"xxxxxxxx-1234-5678-9101-yyyyyyyyyy\"\n }\n}", "title": "获取kafka投递信息" } ], @@ -2098,7 +2098,7 @@ { "document": "产品试用状态查询接口", "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProductStatus\n<公共请求参数>\n\n{}", - "output": "{\n \"Response\": {\n \"ReturnCode\": 1,\n \"ReturnMsg\": \"xx\",\n \"Data\": {\n \"FWUserStatus\": 1,\n \"CanApplyTrial\": true,\n \"CanNotApplyReason\": \"xx\",\n \"LastTrialTime\": \"xx\"\n },\n \"RequestId\": \"xx\"\n }\n}", + "output": "{\n \"Response\": {\n \"ReturnCode\": 1,\n \"ReturnMsg\": \"msg\",\n \"Data\": {\n \"FWUserStatus\": 1,\n \"CanApplyTrial\": true,\n \"CanNotApplyReason\": \"reason\",\n \"LastTrialTime\": \" 2019-12-25 11:57:15\"\n },\n \"RequestId\": \"xxxxxxxx-1234-5678-9101-yyyyyyyyyy\"\n }\n}", "title": "示例" } ], @@ -2128,10 +2128,10 @@ ], "DescribePublicProxyInstallCommand": [ { - "document": "", + "document": " ", "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePublicProxyInstallCommand\n<公共请求参数>\n\n{\n \"Ip\": \"0.0.0.0\"\n}", - "output": "{\n \"Response\": {\n \"KeepAliveCommand\": \"abc\",\n \"NginxCommand\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}", - "title": "DescribePublicProxyInstallCommand" + "output": "{\n \"Response\": {\n \"KeepAliveCommand\": \"\",\n \"NginxCommand\": \"wget --no-check-certificate https://up.yd.qcloud.com/ydeyes/download/install_proxy.sh -O install_proxy.sh && sudo bash install_proxy.sh\",\n \"RequestId\": \"5921b751-84f3-4332-a89f-fca2a139bd10\"\n }\n}", + "title": "示例" } ], "DescribeRansomDefenseBackupList": [ @@ -2338,7 +2338,7 @@ { "document": "", "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeScanTaskDetails\n<公共请求参数>\n\n{\n \"ModuleType\": \"Vul\",\n \"TaskId\": 1\n}", - "output": "{\n \"Response\": {\n \"ScanContent\": [\n \"xx\"\n ],\n \"VulInfo\": [\n {\n \"CveId\": \"xx\",\n \"CvssScore\": 0.0,\n \"Name\": \"xx\",\n \"Reference\": \"xx\",\n \"Level\": 1,\n \"Fix\": \"xx\",\n \"Descript\": \"xx\",\n \"PublishTime\": \"xx\",\n \"VulId\": 1,\n \"Cvss\": \"xx\",\n \"VulCategory\": 1\n }\n ],\n \"ScanMachineCount\": 1,\n \"ScanTaskDetailList\": [\n {\n \"Status\": \"xx\",\n \"Uuid\": \"xx\",\n \"ScanEndTime\": \"xx\",\n \"FailType\": 1,\n \"HostName\": \"xx\",\n \"ScanBeginTime\": \"xx\",\n \"OsName\": \"xx\",\n \"Quuid\": \"xx\",\n \"HostIp\": \"xx\",\n \"RiskNum\": 1,\n \"Id\": 1,\n \"Description\": \"xx\"\n }\n ],\n \"ScanEndTime\": \"xx\",\n \"ScanTime\": 1,\n \"ScanProgress\": 1,\n \"ScanLeftTime\": 1,\n \"ScanBeginTime\": \"xx\",\n \"TotalCount\": 1,\n \"RequestId\": \"xx\",\n \"RiskEventCount\": 1,\n \"VulCount\": 1,\n \"RiskMachineCount\": 1,\n \"Type\": 1,\n \"StoppingAll\": false\n }\n}", + "output": "{\n \"Response\": {\n \"ScanContent\": [\n \"cve\"\n ],\n \"VulInfo\": [\n {\n \"CveId\": \"cve-xx\",\n \"CvssScore\": 0,\n \"Name\": \"name\",\n \"Reference\": \"ref\",\n \"Level\": 1,\n \"Fix\": \"fix\",\n \"Descript\": \"desc\",\n \"PublishTime\": \" 2019-12-25 11:57:15\",\n \"VulId\": 1,\n \"Cvss\": \"cvss\",\n \"VulCategory\": 1\n }\n ],\n \"ScanMachineCount\": 1,\n \"ScanTaskDetailList\": [\n {\n \"Status\": \"status\",\n \"Uuid\": \"1c26308c-5493-4eaf-a817-112ec25f499e\",\n \"ScanEndTime\": \" 2019-12-25 11:57:15\",\n \"FailType\": 1,\n \"HostName\": \"hostname\",\n \"ScanBeginTime\": \" 2019-12-25 11:57:15\",\n \"OsName\": \"osname\",\n \"Quuid\": \"1c26308c-5493-4eaf-a817-112ec25f499e\",\n \"HostIp\": \"xx.xx.xx.xx\",\n \"RiskNum\": 1,\n \"Id\": 1,\n \"Description\": \"desc\",\n \"MachineWanIp\": \"xx.xx.xx.xx\",\n \"MachineExtraInfo\": {\n \"WanIP\": \"xx.xx.xx.xx\",\n \"PrivateIP\": \"xx.xx.xx.xx\",\n \"NetworkType\": 0,\n \"NetworkName\": \"name\",\n \"InstanceID\": \"ins-xxx\",\n \"HostName\": \"hostname\"\n }\n }\n ],\n \"ScanEndTime\": \" 2019-12-25 11:57:15\",\n \"ScanTime\": 1,\n \"ScanProgress\": 1,\n \"ScanLeftTime\": 1,\n \"ScanBeginTime\": \" 2019-12-25 11:57:15\",\n \"TotalCount\": 1,\n \"RequestId\": \"xxxxxxxx-1234-5678-9101-yyyyyyyyyy\",\n \"RiskEventCount\": 1,\n \"VulCount\": 1,\n \"RiskMachineCount\": 1,\n \"Type\": 1,\n \"StoppingAll\": false\n }\n}", "title": "示例" } ], @@ -2354,47 +2354,47 @@ { "document": "使用appid查询定时检测配置的信息", "input": "https://cwp.tencentcloudapi.com/?Action=DescribeScanVulSetting\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"VulCategories\": \"abc\",\n \"VulLevels\": \"abc\",\n \"TimerInterval\": 1,\n \"TimerTime\": \"abc\",\n \"VulEmergency\": 1,\n \"StartTime\": \"abc\",\n \"EnableScan\": 1,\n \"EndTime\": \"abc\",\n \"ClickTimeout\": 1,\n \"Uuids\": [\n \"abc\"\n ],\n \"ScanMethod\": 1,\n \"RequestId\": \"abc\"\n }\n}", + "output": "{\n \"Response\": {\n \"ClickTimeout\": 0,\n \"EnableScan\": 0,\n \"EndTime\": \"23:50\",\n \"RequestId\": \"54111d3a-373d-4175-80dd-8d855b595647\",\n \"ScanMethod\": 0,\n \"StartTime\": \"00:40\",\n \"TimerInterval\": 1,\n \"TimerTime\": \"00:40\",\n \"Uuids\": [],\n \"VulCategories\": \"4;5;1;2\",\n \"VulEmergency\": 1,\n \"VulLevels\": \"1;2;3;4\"\n }\n}", "title": "查询定时检测配置信息" } ], "DescribeScreenAttackHotspot": [ { "document": "大屏获取安全事件数统计数据", - "input": "https://cwp.tencentcloudapi.com/?Action=DescribeScreenAttackHotspot\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"List\": [\n {\n \"EventName\": \"xx\",\n \"SrcIp\": \"xx\",\n \"Region\": \"xx\",\n \"DstIp\": \"xx\",\n \"CreatedTime\": \"xx\"\n }\n ],\n \"RequestId\": \"0e078e5e-32bf-41ba-853c-88c697888d99\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeScreenAttackHotspot\n<公共请求参数>\n\n{}", + "output": "{\n \"Response\": {\n \"List\": [\n {\n \"CreatedTime\": \"2022-06-28 19:27:26\",\n \"DstIp\": \"xx.xx.xx.xx\",\n \"EventName\": \"Atlassian Crowd和Atlassian Crowd Data Center 输入验证错误漏洞(CVE-2019-11580)\",\n \"Region\": \"\",\n \"SrcIp\": \"xx.xx.xx.xx\"\n }\n ],\n \"RequestId\": \"3dcfeabc-c2fa-4e5c-a1f7-9f28ce88f554\"\n }\n}", "title": "大屏获取安全事件数统计数据" } ], "DescribeScreenBroadcasts": [ { "document": "大屏获取安全事件数统计数据", - "input": "https://cwp.tencentcloudapi.com/?Action=DescribeScreenBroadcasts\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"List\": [\n {\n \"Time\": \"xx\",\n \"Level\": 1,\n \"Id\": 1,\n \"Title\": \"xx\"\n }\n ],\n \"RequestId\": \"0e078e5e-32bf-41ba-853c-88c697888d99\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeScreenBroadcasts\n<公共请求参数>\n\n{}", + "output": "{\n \"Response\": {\n \"List\": [\n {\n \"Id\": 331,\n \"Level\": 1,\n \"Time\": \"2024-08-07 18:57:27\",\n \"Title\": \"数据构造_1723028247\"\n }\n ],\n \"RequestId\": \"185a857f-c103-4e77-9380-a523f622dc90\"\n }\n}", "title": "大屏获取安全事件数统计数据" } ], "DescribeScreenDefenseTrends": [ { "document": "大屏获取安全事件数统计数据", - "input": "https://cwp.tencentcloudapi.com/?Action=DescribeScreenDefenseTrends\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"TrendsChart\": [\n {\n \"Y\": 1,\n \"X\": \"xx\",\n \"Type\": \"xx\"\n }\n ],\n \"RequestId\": \"0e078e5e-32bf-41ba-853c-88c697888d99\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeScreenDefenseTrends\n<公共请求参数>\n\n{}", + "output": "{\n \"Response\": {\n \"RequestId\": \"ec95b0c7-a1f9-4806-991a-f600bb99edb2\",\n \"TrendsChart\": [\n {\n \"Type\": \"攻击次数\",\n \"X\": \"2024-09-21\",\n \"Y\": 402\n },\n {\n \"Type\": \"防御次数\",\n \"X\": \"2024-09-21\",\n \"Y\": 402\n },\n {\n \"Type\": \"攻击次数\",\n \"X\": \"2024-09-22\",\n \"Y\": 319\n },\n {\n \"Type\": \"防御次数\",\n \"X\": \"2024-09-22\",\n \"Y\": 319\n },\n {\n \"Type\": \"攻击次数\",\n \"X\": \"2024-09-23\",\n \"Y\": 517\n },\n {\n \"Type\": \"防御次数\",\n \"X\": \"2024-09-23\",\n \"Y\": 517\n },\n {\n \"Type\": \"攻击次数\",\n \"X\": \"2024-09-24\",\n \"Y\": 486\n },\n {\n \"Type\": \"防御次数\",\n \"X\": \"2024-09-24\",\n \"Y\": 486\n },\n {\n \"Type\": \"攻击次数\",\n \"X\": \"2024-09-25\",\n \"Y\": 422\n },\n {\n \"Type\": \"防御次数\",\n \"X\": \"2024-09-25\",\n \"Y\": 422\n },\n {\n \"Type\": \"攻击次数\",\n \"X\": \"2024-09-26\",\n \"Y\": 477\n },\n {\n \"Type\": \"防御次数\",\n \"X\": \"2024-09-26\",\n \"Y\": 477\n },\n {\n \"Type\": \"攻击次数\",\n \"X\": \"2024-09-27\",\n \"Y\": 461\n },\n {\n \"Type\": \"防御次数\",\n \"X\": \"2024-09-27\",\n \"Y\": 461\n },\n {\n \"Type\": \"攻击次数\",\n \"X\": \"2024-09-28\",\n \"Y\": 448\n },\n {\n \"Type\": \"防御次数\",\n \"X\": \"2024-09-28\",\n \"Y\": 448\n }\n ]\n }\n}", "title": "大屏获取安全事件数统计数据" } ], "DescribeScreenEmergentMsg": [ { "document": "大屏可视化紧急通知", - "input": "https://cwp.tencentcloudapi.com/?Action=DescribeScreenEmergentMsg\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"MessageInfo\": [\n {\n \"Text\": \"xx\",\n \"Type\": 1,\n \"Title\": \"xx\"\n }\n ],\n \"RequestId\": \"xx\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeScreenEmergentMsg\n<公共请求参数>\n\n{}", + "output": "{\n \"Response\": {\n \"MessageInfo\": [\n {\n \"Text\": \"新支持Jeecg-boot积木报表jmreport权限绕过漏洞检测,披露时间:2024-08-05 00:00:00\",\n \"Title\": \"紧急通知\",\n \"Type\": 0\n }\n ],\n \"RequestId\": \"0b2443b9-da24-449d-a07d-7ba389846886\"\n }\n}", "title": "大屏可视化紧急通知" } ], "DescribeScreenEventsCnt": [ { "document": "大屏获取安全事件数统计数据", - "input": "https://cwp.tencentcloudapi.com/?Action=DescribeScreenEventsCnt\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"Info\": [\n {\n \"Category\": [\n {\n \"Name\": \"xx\",\n \"Value\": 1\n }\n ],\n \"Total\": \"xx\",\n \"Title\": \"xx\"\n }\n ],\n \"RequestId\": \"0e078e5e-32bf-41ba-853c-88c697888d99\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeScreenEventsCnt\n<公共请求参数>\n\n{}", + "output": "{\n \"Response\": {\n \"Info\": [\n {\n \"Category\": [\n {\n \"Name\": \"入侵检测\",\n \"Value\": 41343\n },\n {\n \"Name\": \"网络攻击\",\n \"Value\": 5795\n }\n ],\n \"Title\": \"待处理风险总数\",\n \"Total\": 47138\n }\n ],\n \"RequestId\": \"42f1c2a0-088c-43bb-909f-b9d54809b1d1\"\n }\n}", "title": "大屏获取安全事件数统计数据" } ], @@ -2410,31 +2410,31 @@ { "document": "", "input": "https://cwp.tencentcloudapi.com/?Action=DescribeScreenHostInvasion\n&Quuid=\"xxx\"\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"DefendAttackLog\": [\n {\n \"DstIp\": \"xx\",\n \"Uuid\": \"xx\",\n \"VulType\": \"xx\",\n \"SrcPort\": 1,\n \"HttpMethod\": \"xx\",\n \"Quuid\": \"xx\",\n \"CreatedTime\": \"xx\",\n \"DstPort\": 1,\n \"Id\": 1,\n \"SrcIp\": \"xx\"\n }\n ],\n \"Vul\": [\n {\n \"Category\": 1,\n \"Name\": \"xx\",\n \"Level\": 1,\n \"VulId\": 1,\n \"LastTime\": \"xx\",\n \"Id\": 1,\n \"Uuid\": \"xx\"\n }\n ],\n \"InvasionEvents\": [\n {\n \"Uuid\": \"xx\",\n \"Level\": 1,\n \"EventType\": 1,\n \"Content\": \"xx\",\n \"CreatedTime\": \"xx\",\n \"LevelZh\": \"xx\",\n \"Id\": 1\n }\n ],\n \"Baseline\": [\n {\n \"Uuid\": \"xx\",\n \"Level\": 1,\n \"LastScanTime\": \"xx\",\n \"BaselineFailCount\": 1,\n \"CategoryId\": 1,\n \"Name\": \"xx\"\n }\n ],\n \"RequestId\": \"xx\"\n }\n}", + "output": "{\n \"Response\": {\n \"DefendAttackLog\": [\n {\n \"DstIp\": \"xx.xx.xx.xx\",\n \"Uuid\": \"1c26308c-5493-4eaf-a817-112ec25f499e\",\n \"VulType\": \"web\",\n \"SrcPort\": 1,\n \"HttpMethod\": \"POST\",\n \"Quuid\": \"1c26308c-5493-4eaf-a817-112ec25f499e\",\n \"CreatedTime\": \" 2019-12-25 11:57:15\",\n \"DstPort\": 1,\n \"Id\": 1,\n \"SrcIp\": \"xx.xx.xx.xx\"\n }\n ],\n \"Vul\": [\n {\n \"Category\": 1,\n \"Name\": \"name\",\n \"Level\": 1,\n \"VulId\": 1,\n \"LastTime\": \" 2019-12-25 11:57:15\",\n \"Id\": 1,\n \"Uuid\": \"1c26308c-5493-4eaf-a817-112ec25f499e\"\n }\n ],\n \"InvasionEvents\": [\n {\n \"Uuid\": \"1c26308c-5493-4eaf-a817-112ec25f499e\",\n \"Level\": 1,\n \"EventType\": 1,\n \"Content\": \"content\",\n \"CreatedTime\": \" 2019-12-25 11:57:15\",\n \"LevelZh\": \"level\",\n \"Id\": 1\n }\n ],\n \"Baseline\": [\n {\n \"Uuid\": \"1c26308c-5493-4eaf-a817-112ec25f499e\",\n \"Level\": 1,\n \"LastScanTime\": \" 2019-12-25 11:57:15\",\n \"BaselineFailCount\": 1,\n \"CategoryId\": 1,\n \"Name\": \"name\"\n }\n ],\n \"RequestId\": \"xxxxxxxx-1234-5678-9101-yyyyyyyyyy\"\n }\n}", "title": "示例" } ], "DescribeScreenMachineRegions": [ { - "document": "", - "input": "https://cwp.tencentcloudapi.com/?Action=DescribeScreenMachineRegions\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"List\": [\n {\n \"RegionCode\": \"xx\",\n \"Region\": \"xx\",\n \"RegionId\": 1,\n \"RegionNameEn\": \"xx\",\n \"RegionName\": \"xx\"\n }\n ],\n \"RequestId\": \"0e078e5e-32bf-41ba-853c-88c697888d99\"\n }\n}", + "document": "示例", + "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeScreenMachineRegions\n<公共请求参数>\n\n{}", + "output": "{\n \"Response\": {\n \"List\": [\n {\n \"Region\": \"ap-guangzhou\",\n \"RegionCode\": \"gz\",\n \"RegionId\": 1,\n \"RegionName\": \"华南地区(广州)\",\n \"RegionNameEn\": \"South China (Guangzhou)\"\n },\n {\n \"Region\": \"ap-nanjing\",\n \"RegionCode\": \"nj\",\n \"RegionId\": 33,\n \"RegionName\": \"华东地区(南京)\",\n \"RegionNameEn\": \"East Chinaxa0(Nanjing)\"\n },\n {\n \"Region\": \"ap-others\",\n \"RegionCode\": \"others\",\n \"RegionId\": 47,\n \"RegionName\": \"其他地域(其他)\",\n \"RegionNameEn\": \"Others (Other)\"\n },\n {\n \"Region\": \"ap-beijing\",\n \"RegionCode\": \"bj\",\n \"RegionId\": 8,\n \"RegionName\": \"华北地区(北京)\",\n \"RegionNameEn\": \"North China (Beijing)\"\n },\n {\n \"Region\": \"ap-chengdu\",\n \"RegionCode\": \"cd\",\n \"RegionId\": 16,\n \"RegionName\": \"西南地区(成都)\",\n \"RegionNameEn\": \"Southwestxa0China (Chengdu)\"\n },\n {\n \"Region\": \"ap-shanghai\",\n \"RegionCode\": \"sh\",\n \"RegionId\": 4,\n \"RegionName\": \"华东地区(上海)\",\n \"RegionNameEn\": \"East Chinaxa0(Shanghai)\"\n }\n ],\n \"RequestId\": \"01b46ad0-11ab-46fe-9f54-d998385913ee\"\n }\n}", "title": "示例" } ], "DescribeScreenMachines": [ { - "document": "", - "input": "https://cwp.tencentcloudapi.com/?Action=DescribeScreenMachines\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"List\": [\n {\n \"TotalCount\": 1,\n \"Region\": \"xx\",\n \"Machines\": [\n {\n \"InvasionNum\": 0,\n \"MachineOs\": \"xx\",\n \"Uuid\": \"xx\",\n \"CpuSize\": 0.0,\n \"MemLoad\": \"xx\",\n \"MachineName\": \"xx\",\n \"DiskLoad\": \"xx\",\n \"BaselineNum\": 0,\n \"MachineIp\": \"xx\",\n \"CpuLoad\": \"xx\",\n \"CyberAttackNum\": 0,\n \"DiskSize\": 0.0,\n \"Quuid\": \"xx\",\n \"SecurityStatus\": \"xx\",\n \"MemSize\": 0.0,\n \"MachineStatus\": \"xx\",\n \"MachineWanIp\": \"xx\",\n \"MachineType\": \"xx\",\n \"VulNum\": 0\n }\n ],\n \"RegionName\": \"xx\"\n }\n ],\n \"RequestId\": \"0e078e5e-32bf-41ba-853c-88c697888d99\"\n }\n}", + "document": "主机3D图数据\n", + "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeScreenMachines\n<公共请求参数>\n\n{}", + "output": "{\n \"Response\": {\n \"List\": [\n {\n \"AttackCnt\": 0,\n \"IgnoreCnt\": 0,\n \"Machines\": [\n {\n \"BaselineNum\": 147,\n \"CoreVersion\": \"3.10.0\",\n \"CpuLoad\": \"低\",\n \"CpuSize\": 2,\n \"CyberAttackNum\": 162,\n \"DiskLoad\": \"32.07\",\n \"DiskSize\": 50,\n \"InvasionNum\": 38479,\n \"MachineExtraInfo\": {\n \"HostName\": \"\",\n \"InstanceID\": \"ins-xxx\",\n \"NetworkName\": \"\",\n \"NetworkType\": 0,\n \"PrivateIP\": \"xx.xx.xx.xx\",\n \"WanIP\": \"xx.xx.xx.xx\"\n },\n \"MachineIp\": \"xx.xx.xx.xx\",\n \"MachineName\": \"ha2\",\n \"MachineOs\": \"CentOS 7.9 64位\",\n \"MachineStatus\": 9,\n \"MachineType\": \"CVM\",\n \"MachineWanIp\": \"xx.xx.xx.xx\",\n \"MemLoad\": \"36.52\",\n \"MemSize\": 4,\n \"Quuid\": \"1c26308c-5493-4eaf-a817-112ec25f499e\",\n \"SecurityStatus\": \"RISK\",\n \"Uuid\": \"1c26308c-5493-4eaf-a817-112ec25f499e\",\n \"VulNum\": 18\n }\n ],\n \"Region\": \"ap-guangzhou\",\n \"RegionName\": \"华南地区(广州)\",\n \"RiskCnt\": 1,\n \"SafetyCnt\": 1,\n \"TotalCount\": 1,\n \"UnAgentOfflineCnt\": 1\n }\n ],\n \"RequestId\": \"xxxxxxxx-1234-5678-9101-yyyyyyyyyy\"\n }\n}", "title": "示例" } ], "DescribeScreenProtectionCnt": [ { - "document": "", - "input": "https://cwp.tencentcloudapi.com/?Action=DescribeScreenProtectionCnt\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"List\": [\n {\n \"Count\": 1,\n \"Type\": \"xx\",\n \"Name\": \"xx\"\n }\n ],\n \"RequestId\": \"0e078e5e-32bf-41ba-853c-88c697888d99\"\n }\n}", + "document": " ", + "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeScreenProtectionCnt\n<公共请求参数>\n\n{}", + "output": "{\n \"Response\": {\n \"List\": [\n {\n \"Count\": 7636893,\n \"Name\": \"异常行为\",\n \"Type\": \"analysis\"\n },\n {\n \"Count\": 6142807,\n \"Name\": \"BinaryAI引擎\",\n \"Type\": \"ai\"\n },\n {\n \"Count\": 30083186,\n \"Name\": \"云查杀引擎\",\n \"Type\": \"cloud\"\n },\n {\n \"Count\": 5791759,\n \"Name\": \"TAV引擎\",\n \"Type\": \"detect\"\n },\n {\n \"Count\": 1410148,\n \"Name\": \"攻击防御\",\n \"Type\": \"defend\"\n },\n {\n \"Count\": 1557109,\n \"Name\": \"威胁情报\",\n \"Type\": \"threat\"\n }\n ],\n \"RequestId\": \"1703ef61-2b43-45bc-82e8-e13d3babdece\"\n }\n}", "title": "示例" } ], @@ -2442,15 +2442,15 @@ { "document": "", "input": "https://cwp.tencentcloudapi.com/?Action=DescribeScreenProtectionStat\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"Info\": [\n {\n \"Status\": 1,\n \"Name\": \"xx\"\n }\n ],\n \"RequestId\": \"e12bdf62-9683-4faf-bdee-7ce6ec6fd790\"\n }\n}", + "output": "{\n \"Response\": {\n \"Info\": [\n {\n \"Status\": 1,\n \"Name\": \"nnn\"\n }\n ],\n \"RequestId\": \"e12bdf62-9683-4faf-bdee-7ce6ec6fd790\"\n }\n}", "title": "示例" } ], "DescribeScreenRiskAssetsTop": [ { - "document": "大屏获取安全事件数统计数据", - "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeScreenRiskAssetsTop\n<公共请求参数>\n\n{\n \"BusinessType\": 1\n}", - "output": "{\n \"Response\": {\n \"Chart\": [\n {\n \"Name\": \"xx\",\n \"Value\": 1\n }\n ],\n \"RequestId\": \"0e078e5e-32bf-41ba-853c-88c697888d99\"\n }\n}", + "document": "大屏获取安全事件数统计数据\n", + "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeScreenRiskAssetsTop\n<公共请求参数>\n\n{\n \"BusinessType\": 2\n}", + "output": "{\n \"Response\": {\n \"Chart\": [\n {\n \"Name\": \"172.17.0.0 广州\",\n \"Value\": 21\n }\n ],\n \"RequestId\": \"f1d8e260-c75c-454d-bc84-34ce0ed8d9bf\"\n }\n}", "title": "大屏获取安全事件数统计数据" } ], @@ -2585,7 +2585,7 @@ "DescribeUsersConfig": [ { "document": "查询用户自定义配置", - "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUsersConfig\n<公共请求参数>\n\n{\n \"ConfigName\": \"abc\"\n}", + "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUsersConfig\n<公共请求参数>\n\n{\n \"ConfigName\": \"license_monitor\"\n}", "output": "{\n \"Response\": {\n \"RequestId\": \"fd768174-3c72-4c62-8fa0-fd0106d31494\",\n \"Value\": \"1\"\n }\n}", "title": "查询用户自定义配置" } @@ -2625,8 +2625,8 @@ "DescribeVertexDetail": [ { "document": "获取指定点属性信息", - "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeVertexDetail\n<公共请求参数>\n\n{\n \"VertexIds\": [\n \"abc\"\n ],\n \"IncidentId\": \"abc\",\n \"TableName\": \"abc\"\n}", - "output": "{\n \"Response\": {\n \"VertexDetails\": [\n {\n \"Type\": 0,\n \"Time\": \"abc\",\n \"AlarmInfo\": [\n {\n \"AlarmId\": \"abc\",\n \"Status\": 0\n }\n ],\n \"ProcName\": \"abc\",\n \"CmdLine\": \"abc\",\n \"Pid\": \"abc\",\n \"FileMd5\": \"abc\",\n \"FileContent\": \"abc\",\n \"FilePath\": \"abc\",\n \"FileCreateTime\": \"abc\",\n \"Address\": \"abc\",\n \"DstPort\": 1,\n \"SrcIP\": \"abc\",\n \"User\": \"abc\",\n \"VulName\": \"abc\",\n \"VulTime\": \"abc\",\n \"HttpContent\": \"abc\",\n \"VulSrcIP\": \"abc\",\n \"VertexId\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeVertexDetail\n<公共请求参数>\n\n{\n \"VertexIds\": [\n \"dd8c40c6737f75a0c24244d6f4fa6173\"\n ],\n \"IncidentId\": \"468314cc-4004-492d-a974-7bf5666cb11b\",\n \"TableName\": \"incidents_xxx\"\n}", + "output": "{\n \"Response\": {\n \"VertexDetails\": [\n {\n \"Type\": 0,\n \"Time\": \" 2019-12-25 11:57:15\",\n \"AlarmInfo\": [\n {\n \"AlarmId\": \"dd8c40c6\",\n \"Status\": 0\n }\n ],\n \"ProcName\": \"curl\",\n \"CmdLine\": \"curl\",\n \"Pid\": \"2534\",\n \"FileMd5\": \"\",\n \"FileContent\": \"\",\n \"FilePath\": \"\",\n \"FileCreateTime\": \"\",\n \"Address\": \"\",\n \"DstPort\": 18888,\n \"SrcIP\": \"\",\n \"User\": \"\",\n \"VulName\": \"\",\n \"VulTime\": \"\",\n \"HttpContent\": \"\",\n \"VulSrcIP\": \"\",\n \"VertexId\": \"dd8c40c6737f75a0c24244d6f4fa6173\"\n }\n ],\n \"RequestId\": \"xxxxxxxx-1234-5678-9101-yyyyyyyyyy\"\n }\n}", "title": "示例" } ], @@ -2690,7 +2690,7 @@ { "document": "获取各主机漏洞防御插件状态", "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeVulDefencePluginStatus\n<公共请求参数>\n\n{}", - "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"List\": [\n {\n \"Quuid\": \"abc\",\n \"Alias\": \"abc\",\n \"PrivateIp\": \"abc\",\n \"PublicIp\": \"abc\",\n \"Exception\": 0,\n \"CreateTime\": \"abc\",\n \"ModifyTime\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}", + "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"List\": [\n {\n \"Quuid\": \"1c26308c-5493-4eaf-a817-112ec25f499e\",\n \"Alias\": \"销售许可测试机器\",\n \"PrivateIp\": \"10.0.1.15\",\n \"PublicIp\": \"xx.xx.xx.xx\",\n \"Exception\": 2,\n \"CreateTime\": \"2024-10-21 19:38:46\",\n \"ModifyTime\": \"2024-10-21 19:38:46\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}", "title": "获取各主机漏洞防御插件状态" } ], @@ -2778,7 +2778,7 @@ { "document": "获取指定分类和状态的漏洞列表数据", "input": "https://cwp.tencentcloudapi.com/?Action=DescribeVulList\n&Limit=10\n&Offset=0\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"VulInfoList\": [\n {\n \"Ids\": \"abc\",\n \"Name\": \"abc\",\n \"Status\": 1,\n \"VulId\": 1,\n \"PublishTime\": \"abc\",\n \"LastTime\": \"abc\",\n \"HostCount\": 1,\n \"Level\": 1,\n \"From\": 1,\n \"Descript\": \"abc\",\n \"PublishTimeWisteria\": \"abc\",\n \"NameWisteria\": \"abc\",\n \"DescriptWisteria\": \"abc\",\n \"StatusStr\": \"abc\",\n \"CveId\": \"abc\",\n \"CvssScore\": 0,\n \"Labels\": \"abc\",\n \"FixSwitch\": 1,\n \"TaskId\": 1,\n \"IsSupportDefense\": 1,\n \"DefenseAttackCount\": 1,\n \"FirstAppearTime\": \"abc\",\n \"VulCategory\": 1,\n \"AttackLevel\": 1,\n \"FixNoNeedRestart\": true\n }\n ],\n \"TotalCount\": 1,\n \"FollowVulCount\": 1,\n \"RequestId\": \"abc\"\n }\n}", + "output": "{\n \"Response\": {\n \"VulInfoList\": [\n {\n \"Ids\": \"1\",\n \"Name\": \"Apache Log4j 1.x JNDI 注入漏洞(CVE-2021-4104)\",\n \"VulId\": 34338,\n \"Status\": 0,\n \"PublishTime\": \"2021-12-14 20:15:00\",\n \"LastTime\": \"2024-10-21 17:20:13\",\n \"HostCount\": 1,\n \"Level\": 3,\n \"From\": 0,\n \"Descript\": \"Apache Log4j是美国阿帕奇(Apache)基金会的一款基于Java的开源日志记录工具。 \\nApache Log4j 1.2存在代码问题漏洞,攻击者可利用该漏洞通过JMSApender反序列化来运行代码。\",\n \"PublishTimeWisteria\": \"\",\n \"NameWisteria\": \"\",\n \"DescriptWisteria\": \"\",\n \"CveId\": \"CVE-2021-4104\",\n \"CvssScore\": 7.5,\n \"Labels\": \"远程利用,存在POC\",\n \"IsSupportDefense\": 0,\n \"FixSwitch\": 1,\n \"TaskId\": 1,\n \"StatusStr\": \"\",\n \"DefenseAttackCount\": 0,\n \"FirstAppearTime\": \"2024-10-18T01:22:06+08:00\",\n \"VulCategory\": 4,\n \"AttackLevel\": 0,\n \"FixNoNeedRestart\": false,\n \"Method\": 0,\n \"VulFixSwitch\": 1\n }\n ],\n \"TotalCount\": 1,\n \"FollowVulCount\": 1,\n \"RequestId\": \"abc\"\n }\n}", "title": "获取指定分类和状态的漏洞列表" } ], @@ -2793,8 +2793,8 @@ "DescribeVulStoreList": [ { "document": "获取漏洞库列表\n\n", - "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeVulStoreList\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ],\n \"ExactMatch\": true\n }\n ],\n \"Limit\": 0,\n \"Offset\": 0,\n \"Order\": \"abc\",\n \"By\": \"abc\"\n}", - "output": "{\n \"Response\": {\n \"List\": [\n {\n \"VulId\": 1,\n \"Level\": 1,\n \"Name\": \"abc\",\n \"CveId\": \"abc\",\n \"VulCategory\": 1,\n \"PublishDate\": \"abc\",\n \"Method\": 1,\n \"AttackLevel\": 1,\n \"FixSwitch\": 1,\n \"SupportDefense\": 1\n }\n ],\n \"TotalCount\": 1,\n \"Remaining\": 1,\n \"FreeSearchTimes\": 1,\n \"RequestId\": \"abc\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeVulStoreList\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"VulName\",\n \"Values\": [\n \"CVE-2023-46604\"\n ],\n \"ExactMatch\": true\n }\n ],\n \"Limit\": 10,\n \"Offset\": 0,\n \"Order\": \"DESC\",\n \"By\": \"PublishDate\"\n}", + "output": "{\n \"Response\": {\n \"List\": [\n {\n \"VulId\": 105006,\n \"Level\": 4,\n \"Name\": \"Apache ActiveMQ远程代码执行漏洞(CVE-2023-46604)\",\n \"CveId\": \"CVE-2023-46604\",\n \"VulCategory\": 2,\n \"PublishDate\": \"2023-10-24 00:00:00\",\n \"Method\": 0,\n \"AttackLevel\": 3,\n \"FixSwitch\": 0,\n \"SupportDefense\": 1\n }\n ],\n \"TotalCount\": 1,\n \"Remaining\": 1,\n \"FreeSearchTimes\": 1,\n \"RequestId\": \"abc\"\n }\n}", "title": "获取漏洞库列表" } ], @@ -3361,7 +3361,7 @@ "ExportScanTaskDetails": [ { "document": "导出扫描任务详情", - "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ExportScanTaskDetails\n<公共请求参数>\n\n{\n \"ModuleType\": \"abc\",\n \"TaskId\": 1\n}", + "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ExportScanTaskDetails\n<公共请求参数>\n\n{\n \"ModuleType\": \"Vul\",\n \"TaskId\": 1\n}", "output": "{\n \"Response\": {\n \"RequestId\": \"354f4ac3-8546-4516-8c8a-69e3ab73aa8a\",\n \"TaskId\": \"1615549629\"\n }\n}", "title": "导出扫描任务详情" } @@ -3465,8 +3465,8 @@ "GetLocalStorageItem": [ { "document": "获取本地存储数据", - "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetLocalStorageItem\n<公共请求参数>\n\n{\n \"Key\": \"xxx\"\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"bf93077b-51f5-4428-b9de-7e33a0b9cc4a\",\n \"Value\": \"xxx\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetLocalStorageItem\n<公共请求参数>\n\n{\n \"Key\": \"key\"\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"bf93077b-51f5-4428-b9de-7e33a0b9cc4a\",\n \"Value\": \"value\"\n }\n}", "title": "示例" } ], @@ -3939,8 +3939,8 @@ "RansomDefenseRollback": [ { "document": "", - "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RansomDefenseRollback\n<公共请求参数>\n\n{\n \"Quuid\": \"xx\",\n \"BackupTime\": \"xx\"\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"xx\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RansomDefenseRollback\n<公共请求参数>\n\n{\n \"Quuid\": \"1c26308c-5493-4eaf-a817-112ec25f499e\",\n \"BackupTime\": \"2019-12-25 11:57:15\"\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"xxxx-xxxx-xxxx-xxxx-xxxx\"\n }\n}", "title": "防勒索快照回滚" } ], @@ -3979,7 +3979,7 @@ "RetryVulFix": [ { "document": "漏洞修复失败时,重试修复", - "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RetryVulFix\n<公共请求参数>\n\n{\n \"VulId\": 1,\n \"Quuid\": \"xxxxx\",\n \"FixId\": 1\n}", + "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RetryVulFix\n<公共请求参数>\n\n{\n \"VulId\": 1,\n \"Quuid\": \"1c26308c-5493-4eaf-a817-112ec25f499e\",\n \"FixId\": 1\n}", "output": "{\n \"Response\": {\n \"RequestId\": \"f14ce73f-50d7-4c36-af1d-fc33dae510c4\"\n }\n}", "title": "示例" } diff --git a/tccli/services/cynosdb/v20190107/api.json b/tccli/services/cynosdb/v20190107/api.json index 2accd7d68e..bcae7d063d 100644 --- a/tccli/services/cynosdb/v20190107/api.json +++ b/tccli/services/cynosdb/v20190107/api.json @@ -71,7 +71,7 @@ "status": "online" }, "CreateAccounts": { - "document": "创建用户账号", + "document": "本接口(CreateAccounts)用于创建用户账号。", "input": "CreateAccountsRequest", "name": "创建用户账号", "output": "CreateAccountsResponse", @@ -92,7 +92,7 @@ "status": "online" }, "CreateBackup": { - "document": "为集群创建手动备份", + "document": "本接口(CreateBackup)用于为集群创建手动备份。", "input": "CreateBackupRequest", "name": "创建手动备份", "output": "CreateBackupResponse", @@ -106,7 +106,7 @@ "status": "online" }, "CreateClusterDatabase": { - "document": "创建数据库", + "document": "本接口(CreateClusterDatabase)用于创建数据库。", "input": "CreateClusterDatabaseRequest", "name": "创建数据库", "output": "CreateClusterDatabaseResponse", @@ -120,7 +120,7 @@ "status": "online" }, "CreateParamTemplate": { - "document": "本接口(CreateParamTemplate)用于创建参数模板", + "document": "本接口(CreateParamTemplate)用于创建参数模板。", "input": "CreateParamTemplateRequest", "name": "创建参数模板", "output": "CreateParamTemplateResponse", @@ -134,7 +134,7 @@ "status": "online" }, "CreateProxyEndPoint": { - "document": "创建数据库代理连接点", + "document": "本接口(CreateProxyEndPoint)用于创建数据库代理连接点。", "input": "CreateProxyEndPointRequest", "name": "创建数据库代理连接点", "output": "CreateProxyEndPointResponse", @@ -148,7 +148,7 @@ "status": "online" }, "DeleteAccounts": { - "document": "删除用户账号", + "document": "本接口(DeleteAccounts)用于删除用户账号。", "input": "DeleteAccountsRequest", "name": "删除用户账号", "output": "DeleteAccountsResponse", @@ -162,7 +162,7 @@ "status": "online" }, "DeleteAuditRuleTemplates": { - "document": "删除审计规则模板", + "document": "本接口(DeleteAuditRuleTemplates)用于删除审计规则模板。", "input": "DeleteAuditRuleTemplatesRequest", "name": "删除审计规则模板", "output": "DeleteAuditRuleTemplatesResponse", @@ -204,7 +204,7 @@ "status": "online" }, "DescribeAccountPrivileges": { - "document": "查询账号已有权限", + "document": "本接口(DescribeAccountPrivileges)用于查询账号已有权限。", "input": "DescribeAccountPrivilegesRequest", "name": "查询账号已有权限", "output": "DescribeAccountPrivilegesResponse", @@ -239,7 +239,7 @@ "status": "online" }, "DescribeAuditRuleTemplates": { - "document": "查询审计规则模板信息", + "document": "本接口(DescribeAuditRuleTemplates)用于查询审计规则模板信息。", "input": "DescribeAuditRuleTemplatesRequest", "name": "查询审计规则模板", "output": "DescribeAuditRuleTemplatesResponse", @@ -351,14 +351,14 @@ "status": "online" }, "DescribeClusterParams": { - "document": "本接口(DescribeClusterParams)用于查询集群参数", + "document": "本接口(DescribeClusterParams)用于查询集群参数。", "input": "DescribeClusterParamsRequest", "name": "查询集群参数", "output": "DescribeClusterParamsResponse", "status": "online" }, "DescribeClusterPasswordComplexity": { - "document": "本接口(DescribeClusterPasswordComplexity)用于查看集群密码复杂度详情", + "document": "本接口(DescribeClusterPasswordComplexity)用于查看集群密码复杂度详情。", "input": "DescribeClusterPasswordComplexityRequest", "name": "查看集群密码复杂度详情", "output": "DescribeClusterPasswordComplexityResponse", @@ -372,7 +372,7 @@ "status": "online" }, "DescribeDBSecurityGroups": { - "document": "查询实例安全组信息", + "document": "本接口(DescribeDBSecurityGroups)用于查询实例安全组信息。", "input": "DescribeDBSecurityGroupsRequest", "name": "查询实例安全组信息", "output": "DescribeDBSecurityGroupsResponse", @@ -400,14 +400,14 @@ "status": "online" }, "DescribeInstanceErrorLogs": { - "document": "查询实例错误日志列表", + "document": "本接口(DescribeInstanceErrorLogs)用于查询实例错误日志列表。", "input": "DescribeInstanceErrorLogsRequest", "name": "查询错误日志列表", "output": "DescribeInstanceErrorLogsResponse", "status": "online" }, "DescribeInstanceParams": { - "document": "该接口(DescribeInstanceParams)查询实例参数列表", + "document": "本接口(DescribeInstanceParams)用于查询实例参数列表。", "input": "DescribeInstanceParamsRequest", "name": "查询实例参数列表", "output": "DescribeInstanceParamsResponse", @@ -449,14 +449,14 @@ "status": "online" }, "DescribeParamTemplateDetail": { - "document": "本接口(DescribeParamTemplateDetail)用于查询用户参数模板详情", + "document": "本接口(DescribeParamTemplateDetail)用于查询用户参数模板详情。", "input": "DescribeParamTemplateDetailRequest", "name": "查询参数模板详情", "output": "DescribeParamTemplateDetailResponse", "status": "online" }, "DescribeParamTemplates": { - "document": "查询用户指定产品下的所有参数模板信息", + "document": "本接口(DescribeParamTemplates)用于查询用户指定产品下的所有参数模板信息。", "input": "DescribeParamTemplatesRequest", "name": "查询参数模板信息", "output": "DescribeParamTemplatesResponse", @@ -470,7 +470,7 @@ "status": "online" }, "DescribeProxies": { - "document": "查询数据库代理列表", + "document": "本接口(DescribeProxies)用于查询数据库代理列表。", "input": "DescribeProxiesRequest", "name": "查询数据库代理列表", "output": "DescribeProxiesResponse", @@ -512,7 +512,7 @@ "status": "online" }, "DescribeResourcesByDealName": { - "document": "查询订单关联实例", + "document": "本接口(DescribeResourcesByDealName)用于查询订单关联实例。", "input": "DescribeResourcesByDealNameRequest", "name": "查询订单关联实例", "output": "DescribeResourcesByDealNameResponse", @@ -533,7 +533,7 @@ "status": "online" }, "DescribeSupportProxyVersion": { - "document": "查询支持的数据库代理版本", + "document": "本接口(DescribeSupportProxyVersion)用于查询支持的数据库代理版本。", "input": "DescribeSupportProxyVersionRequest", "name": "查询支持的数据库代理版本", "output": "DescribeSupportProxyVersionResponse", @@ -582,7 +582,7 @@ "status": "online" }, "GrantAccountPrivileges": { - "document": "批量授权账号权限", + "document": "本接口(GrantAccountPrivileges)用于批量授权账号权限。", "input": "GrantAccountPrivilegesRequest", "name": "批量授权账号权限", "output": "GrantAccountPrivilegesResponse", @@ -603,7 +603,7 @@ "status": "online" }, "InquirePriceRenew": { - "document": "查询续费集群价格", + "document": "本接口(InquirePriceRenew)用于查询续费集群价格。", "input": "InquirePriceRenewRequest", "name": "续费集群询价", "output": "InquirePriceRenewResponse", @@ -631,21 +631,21 @@ "status": "online" }, "ModifyAccountHost": { - "document": "修改账号主机", + "document": "本接口(ModifyAccountHost)用于修改账号主机。", "input": "ModifyAccountHostRequest", "name": "修改账号主机", "output": "ModifyAccountHostResponse", "status": "online" }, "ModifyAccountParams": { - "document": "修改账号配置", + "document": "本接口(ModifyAccountParams)用于修改账号配置。", "input": "ModifyAccountParamsRequest", "name": "修改账号配置", "output": "ModifyAccountParamsResponse", "status": "online" }, "ModifyAccountPrivileges": { - "document": "修改账号库表权限", + "document": "本接口(ModifyAccountPrivileges)用于修改账号库表权限。", "input": "ModifyAccountPrivilegesRequest", "name": "修改账号库表权限", "output": "ModifyAccountPrivilegesResponse", @@ -708,7 +708,7 @@ "status": "online" }, "ModifyClusterParam": { - "document": "修改集群参数", + "document": "本接口(ModifyClusterParam)用于修改集群参数。", "input": "ModifyClusterParamRequest", "name": "修改集群参数", "output": "ModifyClusterParamResponse", @@ -729,7 +729,7 @@ "status": "online" }, "ModifyClusterStorage": { - "document": "调整包年包月存储容量", + "document": "本接口(ModifyClusterStorage)用于调整包年包月存储容量。", "input": "ModifyClusterStorageRequest", "name": "调整包年包月存储容量", "output": "ModifyClusterStorageResponse", @@ -778,14 +778,14 @@ "status": "online" }, "ModifyProxyDesc": { - "document": "修改数据库代理描述", + "document": "本接口(ModifyProxyDesc)用于修改数据库代理描述。", "input": "ModifyProxyDescRequest", "name": "修改数据库代理描述", "output": "ModifyProxyDescResponse", "status": "online" }, "ModifyProxyRwSplit": { - "document": "配置数据库代理读写分离", + "document": "本接口(ModifyProxyRwSplit)用于配置数据库代理读写分离。", "input": "ModifyProxyRwSplitRequest", "name": "配置数据库代理读写分离", "output": "ModifyProxyRwSplitResponse", @@ -820,7 +820,7 @@ "status": "online" }, "ModifyVipVport": { - "document": "修改实例组ip,端口", + "document": "本接口(ModifyVipVport)用于修改实例组ip,端口。", "input": "ModifyVipVportRequest", "name": "修改实例组ip,端口", "output": "ModifyVipVportResponse", @@ -834,7 +834,7 @@ "status": "online" }, "OfflineInstance": { - "document": "销毁实例", + "document": "本接口(OfflineInstance)用于销毁实例。", "input": "OfflineInstanceRequest", "name": "销毁实例", "output": "OfflineInstanceResponse", @@ -890,7 +890,7 @@ "status": "online" }, "ReloadBalanceProxyNode": { - "document": "负载均衡数据库代理", + "document": "本接口(ReloadBalanceProxyNode)用于负载均衡数据库代理。", "input": "ReloadBalanceProxyNodeRequest", "name": "负载均衡数据库代理", "output": "ReloadBalanceProxyNodeResponse", @@ -911,14 +911,14 @@ "status": "online" }, "ResetAccountPassword": { - "document": "本接口(ResetAccountPassword)用于修改数据库账号密码", + "document": "本接口(ResetAccountPassword)用于修改数据库账号密码。", "input": "ResetAccountPasswordRequest", "name": "修改数据库账号密码", "output": "ResetAccountPasswordResponse", "status": "online" }, "RestartInstance": { - "document": "重启实例", + "document": "本接口(RestartInstance)用于重启实例。", "input": "RestartInstanceRequest", "name": "重启实例", "output": "RestartInstanceResponse", @@ -939,7 +939,7 @@ "status": "online" }, "RollBackCluster": { - "document": "本接口(RollBackCluster)用于集群回档", + "document": "本接口(RollBackCluster)用于集群回档。", "input": "RollBackClusterRequest", "name": "集群回档", "output": "RollBackClusterResponse", @@ -960,14 +960,14 @@ "status": "online" }, "SearchClusterTables": { - "document": "本接口(SearchClusterTables)搜索集群数据表列表", + "document": "本接口(SearchClusterTables)用于搜索集群数据表列表。", "input": "SearchClusterTablesRequest", "name": "搜索集群数据表列表", "output": "SearchClusterTablesResponse", "status": "online" }, "SetRenewFlag": { - "document": "SetRenewFlag设置实例的自动续费功能", + "document": "本接口(SetRenewFlag)用于设置实例的自动续费功能。", "input": "SetRenewFlagRequest", "name": "设置自动续费", "output": "SetRenewFlagResponse", @@ -988,7 +988,7 @@ "status": "online" }, "SwitchClusterVpc": { - "document": "更换集群vpc", + "document": "本接口(SwitchClusterVpc)用于更换集群vpc。", "input": "SwitchClusterVpcRequest", "name": "更换集群vpc", "output": "SwitchClusterVpcResponse", @@ -1002,7 +1002,7 @@ "status": "online" }, "SwitchProxyVpc": { - "document": "本接口(SwitchProxyVpc)更换数据库代理vpc", + "document": "本接口(SwitchProxyVpc)用于更换数据库代理vpc。", "input": "SwitchProxyVpcRequest", "name": "更换数据库代理vpc", "output": "SwitchProxyVpcResponse", @@ -1037,7 +1037,7 @@ "status": "online" }, "UpgradeProxyVersion": { - "document": "升级数据库代理版本", + "document": "本接口(UpgradeProxyVersion)用于升级数据库代理版本。", "input": "UpgradeProxyVersionRequest", "name": "升级数据库代理版本", "output": "UpgradeProxyVersionResponse", @@ -11134,7 +11134,17 @@ }, "DescribeProxySpecsRequest": { "document": "DescribeProxySpecs请求参数结构体", - "members": [], + "members": [ + { + "disabled": false, + "document": "集群id", + "example": "cynosdbmysql-12xx4321", + "member": "string", + "name": "ClusterId", + "required": false, + "type": "string" + } + ], "type": "object" }, "DescribeProxySpecsResponse": { @@ -11146,6 +11156,7 @@ "example": "无", "member": "ProxySpec", "name": "ProxySpecs", + "output_required": true, "type": "list", "value_allowed_null": false }, diff --git a/tccli/services/cynosdb/v20190107/examples.json b/tccli/services/cynosdb/v20190107/examples.json index 31e81e2e68..86e4f5e495 100644 --- a/tccli/services/cynosdb/v20190107/examples.json +++ b/tccli/services/cynosdb/v20190107/examples.json @@ -747,8 +747,8 @@ "ModifyAccountHost": [ { "document": "修改账号主机", - "input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAccountHost\n<公共请求参数>\n\n{\n \"ClusterId\": \"abc\",\n \"NewHost\": \"abc\",\n \"Account\": {\n \"AccountName\": \"abc\",\n \"Host\": \"abc\"\n }\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"128046\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAccountHost\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-on5xw0ni\",\n \"NewHost\": \"192.168.12.15\",\n \"Account\": {\n \"AccountName\": \"tomo1\",\n \"Host\": \"%\"\n }\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"3558f586-4f83-4f3b-aabc-49d20126f657\"\n }\n}", "title": "修改账号主机" } ], diff --git a/tccli/services/dbbrain/v20210527/api.json b/tccli/services/dbbrain/v20210527/api.json index c9514f9c09..cc9b5793d1 100644 --- a/tccli/services/dbbrain/v20210527/api.json +++ b/tccli/services/dbbrain/v20210527/api.json @@ -3575,7 +3575,7 @@ "example": "-", "member": "UserProfile", "name": "ProfileList", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": true }, @@ -3585,7 +3585,7 @@ "example": "1", "member": "int64", "name": "TotalCount", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, diff --git a/tccli/services/dbbrain/v20210527/examples.json b/tccli/services/dbbrain/v20210527/examples.json index dea32f8df2..e97afebc2e 100644 --- a/tccli/services/dbbrain/v20210527/examples.json +++ b/tccli/services/dbbrain/v20210527/examples.json @@ -260,7 +260,7 @@ { "document": "", "input": "https://dbbrain.tencentcloudapi.com/?Action=DescribeMailProfile\n&Product=mysql\n&ProfileType=scheduler_mail_configuration\n&Offset=0\n&Limit=20\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"c7324330-5fc8-11eb-a3f4-96666666\",\n \"ProfileList\": [\n {\n \"ProfileId\": \"12345\",\n \"ProfileType\": \"dbScan_mail_configuration\",\n \"ProfileLevel\": \"User\",\n \"ProfileName\": \"测试uin\",\n \"ProfileInfo\": {\n \"MailConfiguration\": {\n \"HealthStatus\": [\n \"HEALTH\",\n \"SUB_HEALTH\",\n \"RISK\",\n \"HIGH_RISK\"\n ],\n \"Region\": [\n \"eu-moscow\"\n ],\n \"ContactGroup\": [],\n \"SendMail\": 0,\n \"ContactPerson\": [\n 123\n ]\n },\n \"Language\": \"zh\"\n }\n }\n ]\n }\n}", + "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"c7324330-5fc8-11eb-a3f4-96666666\",\n \"ProfileList\": [\n {\n \"ProfileId\": \"12345\",\n \"ProfileType\": \"dbScan_mail_configuration\",\n \"ProfileLevel\": \"User\",\n \"ProfileName\": \"测试uin\",\n \"ProfileInfo\": {\n \"MailConfiguration\": {\n \"HealthStatus\": [\n \"HEALTH\",\n \"SUB_HEALTH\",\n \"RISK\",\n \"HIGH_RISK\"\n ],\n \"Region\": [\n \"ap-guangzhou\"\n ],\n \"ContactGroup\": [],\n \"SendMail\": 0,\n \"ContactPerson\": [\n 123\n ]\n },\n \"Language\": \"zh\"\n }\n }\n ]\n }\n}", "title": "获取邮件配置" } ], diff --git a/tccli/services/ecdn/v20191012/api.json b/tccli/services/ecdn/v20191012/api.json index 36533cf407..6a721499bd 100644 --- a/tccli/services/ecdn/v20191012/api.json +++ b/tccli/services/ecdn/v20191012/api.json @@ -838,7 +838,7 @@ "example": "无", "member": "DomainData", "name": "Data", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": false }, @@ -848,7 +848,7 @@ "example": "20", "member": "int64", "name": "TotalCount", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, diff --git a/tccli/services/ecdn/v20191012/examples.json b/tccli/services/ecdn/v20191012/examples.json index 6caf2121cc..e202ebc65b 100644 --- a/tccli/services/ecdn/v20191012/examples.json +++ b/tccli/services/ecdn/v20191012/examples.json @@ -52,7 +52,7 @@ { "document": "", "input": "https://ecdn.tencentcloudapi.com/?Action=DescribeEcdnDomainStatistics\n&StartTime=2018-09-04 00:00:00\n&EndTime=2018-09-04 12:00:00\n&Metrics.0=flux\n&Metrics.1=delay\n&Metrics.2=request\n&Metrics.3=bandwidth\n&Domains.0=www.test.com\n&Projects.0=0\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"RequestId\": \"13d41d37-546f-42ed-a3b9-ff82a51ecd0a\",\n \"Data\": [\n {\n \"Resource\": \"stsdk.vivo.com.cn\",\n \"DetailData\": [\n {\n \"Name\": \"request\",\n \"Value\": 5628872958\n },\n {\n \"Name\": \"flux\",\n \"Value\": 3535122082980\n },\n {\n \"Name\": \"delay\",\n \"Value\": 87\n },\n {\n \"Name\": \"bandwidth\",\n \"Value\": 825782981\n }\n ]\n }\n ],\n \"TotalCount\": 20\n }\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"13d41d37-546f-42ed-a3b9-ff82a51ecd0a\",\n \"Data\": [\n {\n \"Resource\": \"www.test.com\",\n \"DetailData\": [\n {\n \"Name\": \"request\",\n \"Value\": 5628872958\n },\n {\n \"Name\": \"flux\",\n \"Value\": 3535122082980\n },\n {\n \"Name\": \"delay\",\n \"Value\": 87\n },\n {\n \"Name\": \"bandwidth\",\n \"Value\": 825782981\n }\n ]\n }\n ],\n \"TotalCount\": 20\n }\n}", "title": "域名统计指标查询" } ], diff --git a/tccli/services/emr/v20190103/api.json b/tccli/services/emr/v20190103/api.json index 993f420434..ebf704acb2 100644 --- a/tccli/services/emr/v20190103/api.json +++ b/tccli/services/emr/v20190103/api.json @@ -239,9 +239,9 @@ "status": "online" }, "DescribeTrinoQueryInfo": { - "document": "获取trino查询结果", + "document": "查询Trino(PrestoSQL)查询信息", "input": "DescribeTrinoQueryInfoRequest", - "name": "获取trino查询信息", + "name": "查询Trino(PrestoSQL)查询信息", "output": "DescribeTrinoQueryInfoResponse", "status": "online" }, diff --git a/tccli/services/emr/v20190103/examples.json b/tccli/services/emr/v20190103/examples.json index 42635f4c56..078a47a349 100644 --- a/tccli/services/emr/v20190103/examples.json +++ b/tccli/services/emr/v20190103/examples.json @@ -277,7 +277,7 @@ "document": "", "input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTrinoQueryInfo\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-d82w3t9p\",\n \"PageSize\": 10,\n \"StartTime\": 1701792000,\n \"EndTime\": 1701878399,\n \"Page\": 1\n}", "output": "{\n \"Response\": {\n \"QueryInfoList\": [\n {\n \"Catalog\": \"hive\",\n \"ClientIpAddr\": \"10.0.1.104\",\n \"CompletedSplits\": \"\",\n \"CpuTime\": 0,\n \"CumulativeMemory\": 0,\n \"DurationMillis\": 0,\n \"EndTime\": 0,\n \"Id\": \"20240708_111543_00007_lcmdbi8z\",\n \"InternalNetworkBytes\": 0,\n \"OutputBytes\": 0,\n \"PeakUserMemoryBytes\": 0,\n \"PhysicalInputBytes\": 0,\n \"ProcessedInputBytes\": 0,\n \"SqlCompileTime\": 0,\n \"StartTime\": 0,\n \"State\": \"QUEUED\",\n \"Statement\": \"create table impala_ranger\",\n \"User\": \"hadoop\",\n \"WrittenBytes\": 0\n }\n ],\n \"RequestId\": \"cfbbbe0f-5d30-4bf7-b87b-428b14ac3ws22\",\n \"TotalCount\": 18\n }\n}", - "title": "获取trino查询结果" + "title": "查询Trino(PrestoSQL)查询信息" } ], "DescribeUsersForUserManager": [ diff --git a/tccli/services/ess/v20201111/api.json b/tccli/services/ess/v20201111/api.json index 7271ffe3b3..939b8eaa81 100644 --- a/tccli/services/ess/v20201111/api.json +++ b/tccli/services/ess/v20201111/api.json @@ -302,7 +302,7 @@ "status": "online" }, "CreateReleaseFlow": { - "document": "发起解除协议的主要应用场景为:基于一份已经签署的合同(签署流程),进行解除操作。\n解除协议的模板是官方提供 ,经过提供法务审核,暂不支持自定义。\n\n注意:\n\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/3427941ecb091bf0c55009bad192dd1c.png)", + "document": "发起解除协议的主要应用场景为:基于一份已经签署的合同(签署流程),进行解除操作。\n解除协议的模板是官方提供 ,经过提供法务审核,暂不支持自定义。\n\n注意:\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/3427941ecb091bf0c55009bad192dd1c.png)", "input": "CreateReleaseFlowRequest", "name": "发起解除协议", "output": "CreateReleaseFlowResponse", @@ -2683,6 +2683,24 @@ "name": "FlowBatchUrlInfo", "required": false, "type": "object" + }, + { + "disabled": false, + "document": "只有在生成H5签署链接的情形下( 如调用获取H5签署链接获取H5批量签署链接等接口),该配置才会生效。 您可以指定H5签署视频核身的意图配置,选择问答模式或点头模式的语音文本。 注意: 1. 视频认证为白名单功能,使用前请联系对接的客户经理沟通。 2. 使用视频认证时,生成H5签署链接的时候必须将签署认证方式指定为人脸(即ApproverSignTypes设置成人脸签署)。 3. 签署完成后,可以通过查询签署认证人脸视频获取到当时的视频。", + "example": "无", + "member": "Intention", + "name": "Intention", + "required": false, + "type": "object" + }, + { + "disabled": false, + "document": "是否开启缓存签署人信息", + "example": "无", + "member": "bool", + "name": "CacheApproverInfo", + "required": false, + "type": "bool" } ], "type": "object" diff --git a/tccli/services/ess/v20201111/examples.json b/tccli/services/ess/v20201111/examples.json index b351f7142c..a6d645df31 100644 --- a/tccli/services/ess/v20201111/examples.json +++ b/tccli/services/ess/v20201111/examples.json @@ -192,6 +192,12 @@ "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateBatchQuickSignUrl\n<公共请求参数>\n\n{\n \"ApproverSignTypes\": [\n 1,\n 3\n ],\n \"FlowApproverInfo\": {\n \"ApproverType\": 1\n },\n \"FlowIds\": [\n \"yDwFmUUckpstqfvzUE1h3jo1f3cqjkGm\",\n \"yDwFmUUckpst10i3UubBSat8PWOt2iQF\"\n ],\n \"JumpUrl\": \"https://abc.com\",\n \"SignatureTypes\": [\n 0,\n 1\n ],\n \"FlowBatchUrlInfo\": {\n \"FlowBatchApproverInfos\": [\n {\n \"FlowId\": \"yDwFmUUckpstqfvzUE1h3jo1f3cqjkGm\",\n \"RecipientId\": \"yDCmvUUckpup6xhwUxKRs1rIRejg254i\"\n },\n {\n \"FlowId\": \"yDwFmUUckpst10i3UubBSat8PWOt2iQF\",\n \"RecipientId\": \"yDCmvUUckpup6xh1UxKRs1rwHjT5QyHH\"\n }\n ]\n }\n}", "output": "{\n \"Response\": {\n \"FlowApproverUrlInfo\": {\n \"ApproverMobile\": \"\",\n \"ApproverName\": \"\",\n \"ApproverType\": 1,\n \"LongUrl\": \"https://quick.qian.tencent.cn/guide?Code=yDwiB**FOE&CodeType=QUICK&shortKey=yDwiB**1e5&token=Rg0**Q\",\n \"SignUrl\": \"https://essurl.cn/Rg0**Q\"\n },\n \"RequestId\": \"s1698**9686\"\n }\n}", "title": "发起合同后,获取C端签署人的H5批量领取链接" + }, + { + "document": "1. 为个人用户生成合同组H5批量签署链接\n2. 使用默认的签名类型\n3. 使用默认的签署方式\n4. 默认跳转到合同列表页\n5.指定视频问答模式的认证方式", + "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateBatchQuickSignUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"ClientIp\": \"1.2.3.4\",\n \"UserId\": \"yDxVwUyKQWho8CUuO4zjEyQOAgwvr4Zy\"\n },\n \"FlowApproverInfo\": {\n \"ApproverType\": 1,\n \"ApproverMobile\": \"13200000000\",\n \"ApproverName\": \"典子谦\",\n \"ApproverIdCardNumber\": \"620000198802020000\",\n \"ApproverIdCardType\": \"ID_CARD\"\n },\n \"FlowGroupId\": \"yDSLcUUck****ysv1OQYIe9H\",\n \"ApproverSignTypes\": [\n 1\n ],\n \"Intention\": {\n \"IntentionType\": 1,\n \"IntentionQuestions\": [\n {\n \"Question\": \"请问,您是否同意签署本协议?可语音回复“同意”或“不同意”。\",\n \"Answers\": [\n \"同意\",\n \"我同意\"\n ]\n }\n ]\n }\n}", + "output": "{\n \"Response\": {\n \"FlowApproverUrlInfo\": {\n \"ApproverMobile\": \"13200000000\",\n \"ApproverName\": \"典子谦\",\n \"ApproverType\": 1,\n \"LongUrl\": \"https://quick.qian.tencent.cn/guide?Code=yDwi0U**xoK&CodeType=QUICK&shortKey=yDw**S2ATh95&token=Y9b**O\",\n \"SignUrl\": \"https://essurl.cn/Y9b**O\"\n },\n \"RequestId\": \"s169**68\"\n }\n}", + "title": "为个人用户,创建合同组批量签署链接,并且指定视频问答模式的认证方式" } ], "CreateBatchSignUrl": [ diff --git a/tccli/services/essbasic/v20210526/api.json b/tccli/services/essbasic/v20210526/api.json index 7286e7e245..c8b1f83407 100644 --- a/tccli/services/essbasic/v20210526/api.json +++ b/tccli/services/essbasic/v20210526/api.json @@ -1692,6 +1692,24 @@ "name": "FlowBatchUrlInfo", "required": false, "type": "object" + }, + { + "disabled": false, + "document": "只有在生成H5签署链接的情形下( 如调用获取H5签署链接获取H5批量签署链接等接口),该配置才会生效。 您可以指定H5签署视频核身的意图配置,选择问答模式或点头模式的语音文本。 注意: 1. 视频认证为白名单功能,使用前请联系对接的客户经理沟通。 2. 使用视频认证时,生成H5签署链接的时候必须将签署认证方式指定为人脸(即ApproverSignTypes设置成人脸签署)。 3. 签署完成后,可以通过查询签署认证人脸视频获取到当时的视频。", + "example": "无", + "member": "Intention", + "name": "Intention", + "required": false, + "type": "object" + }, + { + "disabled": false, + "document": "是否开启缓存签署人信息", + "example": "无", + "member": "bool", + "name": "CacheApproverInfo", + "required": false, + "type": "bool" } ], "type": "object" diff --git a/tccli/services/essbasic/v20210526/examples.json b/tccli/services/essbasic/v20210526/examples.json index 01e21142c6..596f99e54d 100644 --- a/tccli/services/essbasic/v20210526/examples.json +++ b/tccli/services/essbasic/v20210526/examples.json @@ -112,6 +112,12 @@ "input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChannelCreateBatchQuickSignUrl\n<公共请求参数>\n\n{\n \"Agent\": {\n \"ProxyOrganizationOpenId\": \"org_dianziqian\",\n \"AppId\": \"yDRSRUUgygj6rq7wUuO4zjECxndqQApl\"\n },\n \"ApproverSignTypes\": [\n 1,\n 3\n ],\n \"FlowApproverInfo\": {\n \"ApproverType\": \"PERSON\"\n },\n \"FlowIds\": [\n \"yDwFkUUckpstin4sUuZjBEY5Ia2XB7sz\",\n \"yDwFkUUckpstzjhfUugNAWf1KibXqS26\"\n ],\n \"JumpUrl\": \"https://abc.com\",\n \"SignatureTypes\": [\n 0,\n 1\n ],\n \"FlowBatchUrlInfo\": {\n \"FlowBatchApproverInfos\": [\n {\n \"FlowId\": \"yDwFkUUckpstin4sUuZjBEY5Ia2XB7sz\",\n \"RecipientId\": \"yDCmvUUckpup6xhwUxKRs1rIRejg254i\"\n },\n {\n \"FlowId\": \"yDwFkUUckpstzjhfUugNAWf1KibXqS26\",\n \"RecipientId\": \"yDCmvUUckpup6xh1UxKRs1rwHjT5QyHH\"\n }\n ]\n }\n}", "output": "{\n \"Response\": {\n \"FlowApproverUrlInfo\": {\n \"ApproverType\": \"PERSON\",\n \"LongUrl\": \"https://quick.qian.tencent.cn/guide?Code=yDwi0**BWW4MYlpI&CodeType=QUICK&shortKey=yDwi**KF45&token=C**E\",\n \"Mobile\": \"\",\n \"Name\": \"\",\n \"SignUrl\": \"https://test.essurl.cn/C**E\"\n },\n \"RequestId\": \"s16986**08\"\n }\n}", "title": "发起合同后,获取C端签署人的H5批量领取链接" + }, + { + "document": "为个人用户生成合同组H5批量签署链接, 并且指定视频问答模式的认证方式", + "input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChannelCreateBatchQuickSignUrl\n<公共请求参数>\n\n{\n \"Agent\": {\n \"ProxyOrganizationOpenId\": \"org_dianziqian\",\n \"AppId\": \"yDRSRUUgygj6rq7wUuO4zjECxndqQApl\"\n },\n \"FlowApproverInfo\": {\n \"ApproverType\": \"PERSON\",\n \"Mobile\": \"13200000000\",\n \"Name\": \"典子谦\",\n \"IdCardNumber\": \"620000198802020000\",\n \"IdCardType\": \"ID_CARD\"\n },\n \"ApproverSignTypes\": [\n 1\n ],\n \"Intention\": {\n \"IntentionType\": 1,\n \"IntentionQuestions\": [\n {\n \"Question\": \"请问,您是否同意签署本协议?可语音回复“同意”或“不同意”。\",\n \"Answers\": [\n \"同意\",\n \"我同意\"\n ]\n }\n ]\n },\n \"FlowGroupId\": \"yDSL9UUckpo*****jwSsug2y3cW\"\n}", + "output": "{\n \"Response\": {\n \"FlowApproverUrlInfo\": {\n \"ApproverType\": \"PERSON\",\n \"LongUrl\": \"https://quick.qian.tencent.cn/guide?Code=yDwi0**BWW4MYlpI&CodeType=QUICK&shortKey=yDwi**KF45&token=C**E\",\n \"Mobile\": \"13200000000\",\n \"Name\": \"典子谦\",\n \"SignUrl\": \"https://test.essurl.cn/C**E\"\n },\n \"RequestId\": \"s16986**08\"\n }\n}", + "title": "为个人用户生成合同组H5批量签署链接, 并且指定视频问答模式的认证方式" } ], "ChannelCreateBatchSignUrl": [ diff --git a/tccli/services/hunyuan/v20230901/api.json b/tccli/services/hunyuan/v20230901/api.json index d00bae0073..2af21c7ef4 100644 --- a/tccli/services/hunyuan/v20230901/api.json +++ b/tccli/services/hunyuan/v20230901/api.json @@ -110,7 +110,7 @@ "members": [ { "disabled": false, - "document": "模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-pro、 hunyuan-code、 hunyuan-role、 hunyuan-functioncall、 hunyuan-vision、 hunyuan-turbo。\n各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。\n\n注意:\n不同的模型计费不同,请根据 [购买指南](https://cloud.tencent.com/document/product/1729/97731) 按需调用。", + "document": "模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-pro、 hunyuan-code、 hunyuan-role、 hunyuan-functioncall、 hunyuan-vision、 hunyuan-turbo、 hunyuan-turbo-latest。\n各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。\n\n注意:\n不同的模型计费不同,请根据 [购买指南](https://cloud.tencent.com/document/product/1729/97731) 按需调用。", "example": "hunyuan-pro", "member": "string", "name": "Model", diff --git a/tccli/services/lcic/v20220817/api.json b/tccli/services/lcic/v20220817/api.json index b1a579913a..bb739f975c 100644 --- a/tccli/services/lcic/v20220817/api.json +++ b/tccli/services/lcic/v20220817/api.json @@ -1638,7 +1638,7 @@ "type": "list" }, { - "disabled": false, + "disabled": true, "document": "rtc人数。", "example": "0", "member": "uint64", diff --git a/tccli/services/lcic/v20220817/examples.json b/tccli/services/lcic/v20220817/examples.json index 6c9dd5af35..becd1d67e0 100644 --- a/tccli/services/lcic/v20220817/examples.json +++ b/tccli/services/lcic/v20220817/examples.json @@ -27,7 +27,7 @@ "BatchCreateRoom": [ { "document": "批量创建课堂", - "input": "POST / HTTP/1.1\nHost: lcic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BatchCreateRoom\n<公共请求参数>\n\n{\n \"SdkAppId\": 1,\n \"RoomInfos\": [\n {\n \"Name\": \"abc\",\n \"StartTime\": 1,\n \"EndTime\": 1,\n \"TeacherId\": \"abc\",\n \"Resolution\": 1,\n \"MaxMicNumber\": 1,\n \"AutoMic\": 1,\n \"TurnOffMic\": 1,\n \"AudioQuality\": 1,\n \"SubType\": \"abc\",\n \"DisableRecord\": 1,\n \"Assistants\": [\n \"abc\"\n ],\n \"RTCAudienceNumber\": 1,\n \"AudienceType\": 1,\n \"RecordLayout\": 1,\n \"GroupId\": \"abc\",\n \"EnableDirectControl\": 1\n }\n ]\n}", + "input": "POST / HTTP/1.1\nHost: lcic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BatchCreateRoom\n<公共请求参数>\n\n{\n \"SdkAppId\": 1,\n \"RoomInfos\": [\n {\n \"Name\": \"abc\",\n \"StartTime\": 1,\n \"EndTime\": 1,\n \"TeacherId\": \"abc\",\n \"Resolution\": 1,\n \"MaxMicNumber\": 1,\n \"AutoMic\": 1,\n \"TurnOffMic\": 1,\n \"AudioQuality\": 1,\n \"SubType\": \"abc\",\n \"DisableRecord\": 1,\n \"Assistants\": [\n \"abc\"\n ],\n \"AudienceType\": 1,\n \"RecordLayout\": 1,\n \"GroupId\": \"abc\",\n \"EnableDirectControl\": 1\n }\n ]\n}", "output": "{\n \"Response\": {\n \"RoomIds\": [\n 301234567\n ],\n \"RequestId\": \"213das\"\n }\n}", "title": "批量创建课堂" } @@ -99,7 +99,7 @@ "CreateRoom": [ { "document": "示例", - "input": "POST / HTTP/1.1\nHost: lcic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRoom\n<公共请求参数>\n\n{\n \"Name\": \"abc\",\n \"StartTime\": 1,\n \"EndTime\": 1,\n \"TeacherId\": \"abc\",\n \"SdkAppId\": 1,\n \"Resolution\": 1,\n \"MaxMicNumber\": 1,\n \"AutoMic\": 1,\n \"TurnOffMic\": 1,\n \"AudioQuality\": 1,\n \"SubType\": \"abc\",\n \"DisableRecord\": 1,\n \"Assistants\": [\n \"abc\"\n ],\n \"RTCAudienceNumber\": 1,\n \"AudienceType\": 1,\n \"RecordLayout\": 1,\n \"GroupId\": \"abc\",\n \"InteractionMode\": 1,\n \"VideoOrientation\": 1,\n \"IsGradingRequiredPostClass\": 1,\n \"RoomType\": 1,\n \"EnableDirectControl\": 0\n}", + "input": "POST / HTTP/1.1\nHost: lcic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRoom\n<公共请求参数>\n\n{\n \"Name\": \"abc\",\n \"StartTime\": 1,\n \"EndTime\": 1,\n \"TeacherId\": \"abc\",\n \"SdkAppId\": 1,\n \"Resolution\": 1,\n \"MaxMicNumber\": 1,\n \"AutoMic\": 1,\n \"TurnOffMic\": 1,\n \"AudioQuality\": 1,\n \"SubType\": \"abc\",\n \"DisableRecord\": 1,\n \"Assistants\": [\n \"abc\"\n ],\n \"AudienceType\": 1,\n \"RecordLayout\": 1,\n \"GroupId\": \"abc\",\n \"InteractionMode\": 1,\n \"VideoOrientation\": 1,\n \"IsGradingRequiredPostClass\": 1,\n \"RoomType\": 1,\n \"EnableDirectControl\": 0\n}", "output": "{\n \"Response\": {\n \"RoomId\": 1,\n \"RequestId\": \"abc\"\n }\n}", "title": "创建房间" } diff --git a/tccli/services/lighthouse/v20200324/api.json b/tccli/services/lighthouse/v20200324/api.json index 57c3f0be3d..90f7f9635f 100644 --- a/tccli/services/lighthouse/v20200324/api.json +++ b/tccli/services/lighthouse/v20200324/api.json @@ -813,7 +813,7 @@ { "disabled": false, "document": "防火墙模板ID。可通过[DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874)接口返回值字段TemplateSet获取。", - "example": "lhft-xxxxxxxx", + "example": "lhft-s2dxd7iy", "member": "string", "name": "TemplateId", "required": true, @@ -837,7 +837,7 @@ { "disabled": false, "document": "任务ID。", - "example": "lgtk-xxxxxxxx", + "example": "lgtk-6brh0ciy", "member": "string", "name": "TaskId", "output_required": true, @@ -3726,7 +3726,7 @@ { "disabled": false, "document": "防火墙模板ID。可通过[DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874)接口返回值字段TemplateSet获取。", - "example": "lhft-abcd1234", + "example": "lhft-a5fh1i90", "member": "string", "name": "TemplateId", "required": true, @@ -3735,7 +3735,7 @@ { "disabled": false, "document": "应用防火墙模板任务ID列表。可通过[ApplyFirewallTemplate](https://cloud.tencent.com/document/product/1207/96883)接口返回值TaskId字段获取。", - "example": "lgtk-abcd1234", + "example": "lgtk-xalnmlko", "member": "string", "name": "TaskIds", "required": false, @@ -3809,7 +3809,7 @@ { "disabled": false, "document": "防火墙模板ID。可通过[DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874)接口返回值字段TemplateSet获取。", - "example": "lhft-xxxxxxxx", + "example": "lhft-ow2dn19x", "member": "string", "name": "TemplateId", "required": true, @@ -3856,7 +3856,7 @@ { "disabled": false, "document": "防火墙模板ID。", - "example": "lhft-abcd1234", + "example": "lhft-ow2dn19x", "member": "string", "name": "TemplateId", "required": true, diff --git a/tccli/services/lighthouse/v20200324/examples.json b/tccli/services/lighthouse/v20200324/examples.json index 759eb8c715..a37c6480b0 100644 --- a/tccli/services/lighthouse/v20200324/examples.json +++ b/tccli/services/lighthouse/v20200324/examples.json @@ -11,7 +11,7 @@ "ApplyFirewallTemplate": [ { "document": "应用防火墙模板", - "input": "POST / HTTP/1.1\nHost: lighthouse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ApplyFirewallTemplate\n<公共请求参数>\n\n{\n \"TemplateId\": \"lhft-6brh0ciy\",\n \"ApplyInstances\": [\n {\n \"InstanceId\": \"lhins-abcd1234\",\n \"Region\": \"ap-guangzhou\"\n }\n ]\n}", + "input": "POST / HTTP/1.1\nHost: lighthouse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ApplyFirewallTemplate\n<公共请求参数>\n\n{\n \"TemplateId\": \"lhft-s2dxd7iy\",\n \"ApplyInstances\": [\n {\n \"InstanceId\": \"lhins-wld7xie9\",\n \"Region\": \"ap-guangzhou\"\n }\n ]\n}", "output": "{\n \"Response\": {\n \"RequestId\": \"a880f7ad-a9a0-40a6-b67e-f3ad4f7d9abd\",\n \"TaskId\": \"lgtk-6brh0ciy\"\n }\n}", "title": "应用防火墙模板" } diff --git a/tccli/services/monitor/v20180724/api.json b/tccli/services/monitor/v20180724/api.json index 3c97f36f7e..1028f34aa1 100644 --- a/tccli/services/monitor/v20180724/api.json +++ b/tccli/services/monitor/v20180724/api.json @@ -1598,6 +1598,16 @@ "output_required": false, "type": "string", "value_allowed_null": true + }, + { + "disabled": false, + "document": "策略是否有权限\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "1", + "member": "uint64", + "name": "PolicyPermissions", + "output_required": false, + "type": "int", + "value_allowed_null": true } ], "usage": "out" @@ -6243,6 +6253,15 @@ "name": "ConvergenceHistoryIDs", "required": false, "type": "list" + }, + { + "disabled": false, + "document": "告警类型", + "example": "[\"METRIC\",\"PRODUCT\",\"PLATFORM\"]", + "member": "string", + "name": "AlarmTypes", + "required": false, + "type": "list" } ], "type": "object" diff --git a/tccli/services/mqtt/v20240516/api.json b/tccli/services/mqtt/v20240516/api.json index 2d5ab4b446..2691a19880 100644 --- a/tccli/services/mqtt/v20240516/api.json +++ b/tccli/services/mqtt/v20240516/api.json @@ -266,7 +266,7 @@ }, { "disabled": false, - "document": "1、2、3\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "1:表示匹配retain消息\n2:表示匹配非retain消息\n3:表示匹配retain和非retain消息\n注意:此字段可能返回 null,表示取不到有效值。", "example": "1", "member": "int64", "name": "Retain", @@ -277,7 +277,7 @@ { "disabled": false, "document": "描述\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "文本", + "example": "remark", "member": "string", "name": "Remark", "output_required": false, @@ -1398,7 +1398,7 @@ "members": [ { "disabled": false, - "document": "认证器类型\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "认证器类型: JWT:JWT认证器 JWKS:JWKS认证器 BYOC:一端一证认证器\n注意:此字段可能返回 null,表示取不到有效值。", "example": "JWKS", "member": "string", "name": "Type", diff --git a/tccli/services/rce/v20201103/api.json b/tccli/services/rce/v20201103/api.json index 54540cb2c0..6a5ff0b3b5 100644 --- a/tccli/services/rce/v20201103/api.json +++ b/tccli/services/rce/v20201103/api.json @@ -834,7 +834,7 @@ { "disabled": false, "document": "用户外网ip(传入用户非外网ip会影响判断结果)。", - "example": "123.124.125.253", + "example": "123.***.***.253", "member": "string", "name": "UserIp", "required": true, @@ -870,7 +870,7 @@ { "disabled": false, "document": "设备指纹 BusinessId。", - "example": "124277865452425", + "example": "DE****123", "member": "int64", "name": "DeviceBusinessId", "required": false, @@ -879,7 +879,7 @@ { "disabled": false, "document": "业务ID。网站或应用在多个业务中使用此服务,通过此ID区分统计数据。", - "example": "12", + "example": "1001", "member": "uint64", "name": "BusinessId", "required": false, @@ -888,7 +888,7 @@ { "disabled": false, "document": "昵称,UTF-8 编码。", - "example": "sadsad", + "example": "zhangsan", "member": "string", "name": "Nickname", "required": false, @@ -942,7 +942,7 @@ { "disabled": false, "document": "用户HTTP请求的X-Forwarded-For值。", - "example": "qewqeqwe", + "example": "192.***.***.1", "member": "string", "name": "XForwardedFor", "required": false, @@ -978,7 +978,7 @@ { "disabled": false, "document": "扩展字段。", - "example": "Details.1.FieldName='os_system'", + "example": "Details[0].FieldName='system_version' Details[0].FieldValue='V1.5'", "member": "InputDetails", "name": "Details", "required": false, @@ -2043,7 +2043,7 @@ { "disabled": false, "document": "账号ID:对应输入参数。\n当AccountType为1时,对应QQ的OpenId;\n当AccountType为2时,对应微信的OpenId/UnionId;\n当AccountType为10004时,对应手机号的MD5值;\n当AccountType为10005时,对应手机号的SHA256值。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "3ac9aa8a9a0074918763bfd6ed526ed9", + "example": "3ac9aa8a9a0**********fd6ed526ed9", "member": "string", "name": "UserId", "output_required": true, @@ -2073,7 +2073,7 @@ { "disabled": false, "document": "操作来源的外网IP(对应输入参数)。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "123.124.125.253", + "example": "123.***.***.253", "member": "string", "name": "UserIp", "output_required": true, @@ -2103,7 +2103,7 @@ { "disabled": false, "document": "设备指纹ID,如果集成了设备指纹,并传入了正确的DeviceToken和Platform,该字段正常输出;如果DeviceToken异常(校验不通过),则会在RiskType中返回\"-1\"标签,ConstId字段为空;如果没有集成设备指纹ConstId字段默认为空。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "7BCF1420708B26034880B789", + "example": "7BCF***************789", "member": "string", "name": "ConstId", "output_required": true, @@ -2113,7 +2113,7 @@ { "disabled": false, "document": "风险扩展数据。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "{\"Model\":[{\"FieldName\":\"05103001\",\"FieldValue\":\"2\"}]}", + "example": "{\"Model\":[{\"FieldName\":\"051***01\",\"FieldValue\":\"2\"}]}", "member": "string", "name": "RiskInformation", "output_required": false, diff --git a/tccli/services/rce/v20201103/examples.json b/tccli/services/rce/v20201103/examples.json index 2029a1469c..bd2498e8a0 100644 --- a/tccli/services/rce/v20201103/examples.json +++ b/tccli/services/rce/v20201103/examples.json @@ -59,7 +59,7 @@ "ManageMarketingRisk": [ { "document": "使用手机号MD5请求方式", - "input": "POST / HTTP/1.1\nHost: rce.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ManageMarketingRisk\n<公共请求参数>\n\n{\n \"BusinessSecurityData\": {\n \"Account\": {\n \"AccountType\": 10004,\n \"OtherAccount\": {\n \"AccountId\": \"3ac9aa********************526ed9\"\n }\n },\n \"SceneCode\": \"e_activity_antirush\",\n \"UserIp\": \"113.***.***.150\",\n \"PostTime\": 1712841851\n }\n}", + "input": "POST / HTTP/1.1\nHost: rce.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ManageMarketingRisk\n<公共请求参数>\n\n{\n \"BusinessSecurityData\": {\n \"Account\": {\n \"AccountType\": 10004,\n \"OtherAccount\": {\n \"AccountId\": \"3ac9aa********************526ed9\"\n }\n },\n \"SceneCode\": \"e_activity_antirush\",\n \"UserIp\": \"113.***.***.150\",\n \"PostTime\": 1712841851,\n \"DataAuthorization\": {\n \"DataProviderName\": \"某某有限公司\",\n \"DataRecipientName\": \"腾讯云计算(北京)有限责任公司\",\n \"UserDataType\": [\n 1,\n 4\n ],\n \"IsAuthorize\": 1,\n \"IsOrderHandling\": 1,\n \"AuthorizationTerm\": 1728714893,\n \"PrivacyPolicyLink\": \"https://www.*****.com/\",\n \"IsPersonalData\": 1\n }\n }\n}", "output": "{\n \"Response\": {\n \"Data\": {\n \"Code\": 0,\n \"Message\": \"OK\",\n \"UUid\": \"9a570741-****-****-****-****0b788232\",\n \"Value\": {\n \"AssociateAccount\": \"\",\n \"ConstId\": \"\",\n \"PostTime\": 1712841851,\n \"RiskInformation\": null,\n \"RiskLevel\": \"reject\",\n \"RiskType\": [\n 201,\n 1,\n 21,\n 11,\n 2011\n ],\n \"UserId\": \"3ac9aa********************526ed9\",\n \"UserIp\": \"113.***.***.150\"\n }\n },\n \"RequestId\": \"5d9e8c5d-****-****-****-1c0dca666edb\"\n }\n}", "title": "ManageMarketingRisk" } diff --git a/tccli/services/ses/v20201002/api.json b/tccli/services/ses/v20201002/api.json index 100040b1e2..c42e8f1414 100644 --- a/tccli/services/ses/v20201002/api.json +++ b/tccli/services/ses/v20201002/api.json @@ -390,53 +390,53 @@ "members": [ { "disabled": false, - "document": "黑名单地址id\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "黑名单地址id", "example": "1", "member": "uint64", "name": "Id", "output_required": false, "type": "int", - "value_allowed_null": true + "value_allowed_null": false }, { "disabled": false, - "document": "邮箱地址\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "a@mail.com", + "document": "邮箱地址", + "example": "example@mail.com", "member": "string", "name": "Email", "output_required": false, "type": "string", - "value_allowed_null": true + "value_allowed_null": false }, { "disabled": false, - "document": "创建时间\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "创建时间", "example": "无", "member": "string", "name": "CreateTime", "output_required": false, "type": "string", - "value_allowed_null": true + "value_allowed_null": false }, { "disabled": false, - "document": "过期时间\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "过期时间", "example": "2024-06-19", "member": "string", "name": "ExpireDate", "output_required": false, "type": "string", - "value_allowed_null": true + "value_allowed_null": false }, { "disabled": false, - "document": "黑名单状态,0:已过期,1:生效中\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "黑名单状态,0:已过期,1:生效中", "example": "1", "member": "uint64", "name": "Status", "output_required": false, "type": "int", - "value_allowed_null": true + "value_allowed_null": false } ], "usage": "out" @@ -506,53 +506,53 @@ "members": [ { "disabled": false, - "document": "收件人总数\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "收件人总数", "example": "1", "member": "uint64", "name": "TotalCount", "output_required": false, "type": "int", - "value_allowed_null": true + "value_allowed_null": false }, { "disabled": false, - "document": "实际上传数量\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "实际上传数量", "example": "1", "member": "uint64", "name": "ValidCount", "output_required": false, "type": "int", - "value_allowed_null": true + "value_allowed_null": false }, { "disabled": false, - "document": "数据过长数量\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "数据过长数量", "example": "1", "member": "uint64", "name": "TooLongCount", "output_required": false, "type": "int", - "value_allowed_null": true + "value_allowed_null": false }, { "disabled": false, - "document": "重复数量\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "重复数量", "example": "1", "member": "uint64", "name": "RepeatCount", "output_required": false, "type": "int", - "value_allowed_null": true + "value_allowed_null": false }, { "disabled": false, - "document": "格式不正确数量\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "格式不正确数量", "example": "1", "member": "uint64", "name": "InvalidCount", "output_required": false, "type": "int", - "value_allowed_null": true + "value_allowed_null": false }, { "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", diff --git a/tccli/services/sms/v20190711/api.json b/tccli/services/sms/v20190711/api.json index 9cad33b690..18206fc779 100644 --- a/tccli/services/sms/v20190711/api.json +++ b/tccli/services/sms/v20190711/api.json @@ -455,7 +455,7 @@ { "disabled": false, "document": "短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,示例如1400006666。", - "example": "1400006874", + "example": "1400006666", "member": "string", "name": "SmsSdkAppid", "required": true, @@ -509,25 +509,25 @@ "members": [ { "disabled": false, - "document": "删除状态信息。\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "删除状态信息。", "example": "return successfully!", "member": "string", "name": "DeleteStatus", "output_required": false, "required": true, "type": "string", - "value_allowed_null": true + "value_allowed_null": false }, { "disabled": false, - "document": "删除时间,UNIX 时间戳(单位:秒)。\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "删除时间,UNIX 时间戳(单位:秒)。", "example": "1578988506", "member": "uint64", "name": "DeleteTime", "output_required": false, "required": true, "type": "int", - "value_allowed_null": true + "value_allowed_null": false } ], "usage": "both" @@ -1095,70 +1095,70 @@ { "disabled": false, "document": "短信码号扩展号,默认未开通,如需开通请联系 [sms helper](https://cloud.tencent.com/document/product/382/3773)。", - "example": "", + "example": "11", "member": "string", "name": "ExtendCode", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, "document": "国家(或地区)码。", - "example": "", + "example": "86", "member": "string", "name": "NationCode", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, - "document": "手机号码,e.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。", - "example": "", + "document": "手机号码,E.164标准,+[国家或地区码][手机号] ,示例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。", + "example": "+8618501234444", "member": "string", "name": "PhoneNumber", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, "document": "短信签名。", - "example": "", + "example": "腾讯云", "member": "string", "name": "Sign", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, "document": "用户回复的内容。", - "example": "", + "example": "2", "member": "string", "name": "ReplyContent", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, "document": "回复时间(例如:2019-10-08 17:18:37)。", - "example": "", + "example": "2021-05-11 19:56:28", "member": "string", "name": "ReplyTime", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, "document": "回复时间,UNIX 时间戳(单位:秒)。", - "example": "", + "example": "1620734188", "member": "uint64", "name": "ReplyUnixTime", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false } @@ -1197,8 +1197,8 @@ }, { "disabled": false, - "document": "下发目的手机号码,依据 e.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。", - "example": "+8615291996666", + "document": "下发目的手机号码,依据 E.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。", + "example": "+8618501234444", "member": "string", "name": "PhoneNumber", "required": true, @@ -1207,7 +1207,7 @@ { "disabled": false, "document": "短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,例如1400006666。", - "example": "1400006874", + "example": "1400006666", "member": "string", "name": "SmsSdkAppid", "required": true, @@ -1231,7 +1231,7 @@ { "disabled": false, "document": "回复状态响应集合。", - "example": "[{\"ReplyContent\":\"xxxxxx\", \"ReplyUnixTime\":1620734188, \"ExtendCode\":\"11\", \"ReplyTime\":\"2021-05-11 19:56:28\", \"Sign\":\"腾讯云\", \"PhoneNumber\":\"+8615291996666\", \"NationCode\":\"86\"}]", + "example": "[{\"ReplyContent\":\"2\", \"ReplyUnixTime\":1620734188, \"ExtendCode\":\"11\", \"ReplyTime\":\"2021-05-11 19:56:28\", \"Sign\":\"腾讯云\", \"PhoneNumber\":\"+8618501234444\", \"NationCode\":\"86\"}]", "member": "PullSmsReplyStatus", "name": "PullSmsReplyStatusSet", "output_required": true, @@ -1262,7 +1262,7 @@ { "disabled": false, "document": "短信 SdkAppid 在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际 SdkAppid,例如1400006666。", - "example": "1400006874", + "example": "1400006666", "member": "string", "name": "SmsSdkAppid", "required": true, @@ -1277,7 +1277,7 @@ { "disabled": false, "document": "回复状态响应集合。", - "example": "[{\"ReplyContent\":\"xxxxxx\", \"ReplyUnixTime\":1620734188, \"ExtendCode\":\"11\", \"ReplyTime\":\"2021-05-11 19:56:28\", \"Sign\":\"腾讯云\", \"PhoneNumber\":\"+8615291990000\", \"NationCode\":\"86\"}]", + "example": "[{\"ReplyContent\":\"2\", \"ReplyUnixTime\":1620734188, \"ExtendCode\":\"11\", \"ReplyTime\":\"2021-05-11 19:56:28\", \"Sign\":\"腾讯云\", \"PhoneNumber\":\"+8618501234444\", \"NationCode\":\"86\"}]", "member": "PullSmsReplyStatus", "name": "PullSmsReplyStatusSet", "output_required": true, @@ -1299,80 +1299,80 @@ { "disabled": false, "document": "用户实际接收到短信的时间。", - "example": "", + "example": "2019-10-08 17:18:37", "member": "string", "name": "UserReceiveTime", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, "document": "用户实际接收到短信的时间,UNIX 时间戳(单位:秒)。", - "example": "", + "example": "1570526317", "member": "uint64", "name": "UserReceiveUnixTime", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "国家(或地区)码。", - "example": "", + "example": "86", "member": "string", "name": "NationCode", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, - "document": "手机号码,e.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。", - "example": "", + "document": "手机号码,e.164标准,+[国家或地区码][手机号] ,示例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。", + "example": "+8618501234444", "member": "string", "name": "PurePhoneNumber", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, - "document": "手机号码,普通格式,示例如:13711112222。", - "example": "", + "document": "手机号码,普通格式,示例如:18501234444。", + "example": "18501234444", "member": "string", "name": "PhoneNumber", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, "document": "本次发送标识 ID。", - "example": "", + "example": "5000:1045710669157053657849499619", "member": "string", "name": "SerialNo", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, "document": "实际是否收到短信接收状态,SUCCESS(成功)、FAIL(失败)。", - "example": "", + "example": "SUCCESS", "member": "string", "name": "ReportStatus", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, "document": "用户接收短信状态描述。", - "example": "", + "example": "DELIVRD", "member": "string", "name": "Description", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false } @@ -1411,8 +1411,8 @@ }, { "disabled": false, - "document": "下发目的手机号码,依据 e.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。", - "example": "+8615291996666", + "document": "下发目的手机号码,依据 E.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。", + "example": "+8618501234444", "member": "string", "name": "PhoneNumber", "required": true, @@ -1421,7 +1421,7 @@ { "disabled": false, "document": "短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,例如1400006666。", - "example": "1400006874", + "example": "1400006666", "member": "string", "name": "SmsSdkAppid", "required": true, @@ -1445,7 +1445,7 @@ { "disabled": false, "document": "下发状态响应集合。", - "example": "[{\"Description\":\"DELIVRD\", \"SerialNo\":\"14:19325917feb3914eb78b50d6182d7e452e\", \"PurePhoneNumber\":\"+8615291996666\", \"ReportStatus\":\"SUCCESS\", \"UserReceiveUnixTime\":1570526317, \"PhoneNumber\":\"15291996666\", \"UserReceiveTime\":\"2019-10-08 17:18:37\", \"NationCode\":\"86\"}]", + "example": "[{\"Description\":\"DELIVRD\", \"SerialNo\":\"5000:1045710669157053657849499619\", \"PurePhoneNumber\":\"+8618501234444\", \"ReportStatus\":\"SUCCESS\", \"UserReceiveUnixTime\":1570526317, \"PhoneNumber\":\"18501234444\", \"UserReceiveTime\":\"2019-10-08 17:18:37\", \"NationCode\":\"86\"}]", "member": "PullSmsSendStatus", "name": "PullSmsSendStatusSet", "output_required": true, @@ -1467,7 +1467,7 @@ { "disabled": false, "document": "拉取最大条数,最多100条。", - "example": "2", + "example": "100", "member": "uint64", "name": "Limit", "required": true, @@ -1476,7 +1476,7 @@ { "disabled": false, "document": "短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,例如1400006666。", - "example": "1400006874", + "example": "1400006666", "member": "string", "name": "SmsSdkAppid", "required": true, @@ -1491,7 +1491,7 @@ { "disabled": false, "document": "下发状态响应集合。", - "example": "[{\"UserReceiveTime\":\"2019-10-08 17:18:37\", \"UserReceiveUnixTime\":1570526317, \"NationCode\":\"86\", \"PurePhoneNumber\":\"+8615291996666\", \"PhoneNumber\":\"15291996666\", \"SerialNo\":\"14:19325917feb3914eb78b50d6182d7e452e\", \"ReportStatus\":\"SUCCESS\", \"Description\":\"DELIVRD\"}]", + "example": "[{\"UserReceiveTime\":\"2019-10-08 17:18:37\", \"UserReceiveUnixTime\":1570526317, \"NationCode\":\"86\", \"PurePhoneNumber\":\"+8618501234444\", \"PhoneNumber\":\"18501234444\", \"SerialNo\":\"5000:1045710669157053657849499619\", \"ReportStatus\":\"SUCCESS\", \"Description\":\"DELIVRD\"}]", "member": "PullSmsSendStatus", "name": "PullSmsSendStatusSet", "output_required": true, @@ -1512,8 +1512,8 @@ "members": [ { "disabled": false, - "document": "下发手机号码,采用 e.164 标准,格式为+[国家或地区码][手机号],单次请求最多支持200个手机号且要求全为境内手机号或全为境外手机号。\n例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。", - "example": "[\"+8618511122233\",\"+8618511122266\"]", + "document": "下发手机号码,采用 E.164 标准,格式为+[国家或地区码][手机号],单次请求最多支持200个手机号且要求全为境内手机号或全为境外手机号。\n例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。", + "example": "[\"+8618501234444\"]", "member": "string", "name": "PhoneNumberSet", "required": true, @@ -1549,7 +1549,7 @@ { "disabled": false, "document": "模板参数,若无模板参数,则设置为空。", - "example": "[\"12345\"]", + "example": "[\"4370\"]", "member": "string", "name": "TemplateParamSet", "required": false, @@ -1558,7 +1558,7 @@ { "disabled": false, "document": "短信码号扩展号,默认未开通,如需开通请联系 [sms helper](https://cloud.tencent.com/document/product/382/3773)。", - "example": "1234", + "example": "10", "member": "string", "name": "ExtendCode", "required": false, @@ -1567,7 +1567,7 @@ { "disabled": false, "document": "用户的 session 内容,可以携带用户侧 ID 等上下文信息,server 会原样返回。注意长度需小于512字节。", - "example": "test", + "example": "outsid_1729495320_1011", "member": "string", "name": "SessionContext", "required": false, @@ -1591,7 +1591,7 @@ { "disabled": false, "document": "短信发送状态。", - "example": "[{\"SerialNo\":\"5000:1045710669157053657849499619\", \"PhoneNumber\":\"+8618511122233\", \"Fee\":1, \"SessionContext\":\"test\", \"Code\":\"Ok\", \"Message\":\"send success\", \"IsoCode\":\"CN\"}]", + "example": "[{\"SerialNo\":\"5000:1045710669157053657849499619\", \"PhoneNumber\":\"+8618501234444\", \"Fee\":1, \"SessionContext\":\"outsid_1729495320_1011\", \"Code\":\"Ok\", \"Message\":\"send success\", \"IsoCode\":\"CN\"}]", "member": "SendStatus", "name": "SendStatusSet", "output_required": true, @@ -1613,70 +1613,70 @@ { "disabled": false, "document": "发送流水号。", - "example": "", + "example": "5000:1045710669157053657849499619", "member": "string", "name": "SerialNo", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, - "document": "手机号码,e.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。", - "example": "", + "document": "手机号码,E.164标准,+[国家或地区码][手机号] ,示例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。", + "example": "+8618501234444", "member": "string", "name": "PhoneNumber", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, "document": "计费条数,计费规则请查询 [计费策略](https://cloud.tencent.com/document/product/382/36135)。", - "example": "", + "example": "1", "member": "uint64", "name": "Fee", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "用户Session内容。", - "example": "", + "example": "outsid_1729495320_1011", "member": "string", "name": "SessionContext", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, "document": "短信请求错误码,具体含义请参考错误码。", - "example": "", + "example": "Ok", "member": "string", "name": "Code", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, "document": "短信请求错误码描述。", - "example": "", + "example": "send success", "member": "string", "name": "Message", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, "document": "国家码或地区码,例如CN,US等,对于未识别出国家码或者地区码,默认返回DEF,具体支持列表请参考国际/港澳台计费总览。", - "example": "", + "example": "CN", "member": "string", "name": "IsoCode", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false } @@ -1743,7 +1743,7 @@ { "disabled": false, "document": "短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,示例如1400006666。", - "example": "1400006874", + "example": "1400006666", "member": "string", "name": "SmsSdkAppid", "required": true, @@ -1904,7 +1904,7 @@ { "disabled": false, "document": "短信SdkAppid在 [短信控制台](https://console.cloud.tencent.com/smsv2) 添加应用后生成的实际SdkAppid,示例如1400006666。", - "example": "1400006879", + "example": "1400006666", "member": "string", "name": "SmsSdkAppid", "required": true, diff --git a/tccli/services/sms/v20190711/examples.json b/tccli/services/sms/v20190711/examples.json index f21d8ec66b..53d7f70526 100644 --- a/tccli/services/sms/v20190711/examples.json +++ b/tccli/services/sms/v20190711/examples.json @@ -19,7 +19,7 @@ "CallbackStatusStatistics": [ { "document": "", - "input": "https://sms.tencentcloudapi.com/?Action=CallbackStatusStatistics\n&StartDateTime=2016090800\n&EndDataTime=2016090823\n&SmsSdkAppid=1400006874\n&Limit=0\n&Offset=0\n&<公共请求参数>", + "input": "https://sms.tencentcloudapi.com/?Action=CallbackStatusStatistics\n&StartDateTime=2016090800\n&EndDataTime=2016090823\n&SmsSdkAppid= 1400006666\n&Limit=0\n&Offset=0\n&<公共请求参数>", "output": "{\n \"Response\": {\n \"CallbackStatusStatistics\": {\n \"CallbackCount\": 1745,\n \"RequestSuccessCount\": 1880,\n \"CallbackFailCount\": 401,\n \"CallbackSuccessCount\": 1344,\n \"InternalErrorCount\": 0,\n \"InvalidNumberCount\": 0,\n \"ShutdownErrorCount\": 401,\n \"BlackListCount\": 0,\n \"FrequencyLimitCount\": 0\n },\n \"RequestId\": \"3314836f-0b10-45cb-b7be-593e84c1c197\"\n }\n}", "title": "请求示例" } @@ -75,16 +75,16 @@ "PullSmsReplyStatus": [ { "document": "", - "input": "https://sms.tencentcloudapi.com/?Action=PullSmsReplyStatus\n&Limit=2\n&SmsSdkAppid=1400006874\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"RequestId\": \"a0aabda6-cf91-4f3e-a81f-9198114a2279\",\n \"PullSmsReplyStatusSet\": [\n {\n \"ReplyContent\": \"xxxxxx\",\n \"ReplyUnixTime\": 1620734188,\n \"ExtendCode\": \"11\",\n \"ReplyTime\": \"2021-05-11 19:56:28\",\n \"Sign\": \"腾讯云\",\n \"PhoneNumber\": \"+8615291990000\",\n \"NationCode\": \"86\"\n },\n {\n \"ReplyContent\": \"xxxxxx\",\n \"ReplyUnixTime\": 1620734189,\n \"ExtendCode\": \"11\",\n \"ReplyTime\": \"2021-05-11 19:56:29\",\n \"Sign\": \"腾讯云\",\n \"PhoneNumber\": \"+8615291990001\",\n \"NationCode\": \"86\"\n }\n ]\n }\n}", + "input": "https://sms.tencentcloudapi.com/?Action=PullSmsReplyStatus\n&Limit=2\n&SmsSdkAppid= 1400006666\n&<公共请求参数>", + "output": "{\n \"Response\": {\n \"RequestId\": \"a0aabda6-cf91-4f3e-a81f-9198114a2279\",\n \"PullSmsReplyStatusSet\": [\n {\n \"ReplyContent\": \"2\",\n \"ReplyUnixTime\": 1620734188,\n \"ExtendCode\": \"11\",\n \"ReplyTime\": \"2021-05-11 19:56:28\",\n \"Sign\": \"腾讯云\",\n \"PhoneNumber\": \"+8618501234444\",\n \"NationCode\": \"86\"\n },\n {\n \"ReplyContent\": \"1\",\n \"ReplyUnixTime\": 1620734189,\n \"ExtendCode\": \"11\",\n \"ReplyTime\": \"2021-05-11 19:56:29\",\n \"Sign\": \"腾讯云\",\n \"PhoneNumber\": \"+8618501234444\",\n \"NationCode\": \"86\"\n }\n ]\n }\n}", "title": "请求示例" } ], "PullSmsReplyStatusByPhoneNumber": [ { "document": "", - "input": "https://sms.tencentcloudapi.com/?Action=PullSmsReplyStatusByPhoneNumber\n&SendDateTime=1620734100\n&EndDateTime=1620734200\n&Offset=0\n&Limit=2\n&PhoneNumber=+8615291996666\n&SmsSdkAppid=1400006874\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"RequestId\": \"a0aabda6-cf91-4f3e-a81f-9198114a2279\",\n \"PullSmsReplyStatusSet\": [\n {\n \"ReplyContent\": \"xxxxxx\",\n \"ReplyUnixTime\": 1620734188,\n \"ExtendCode\": \"11\",\n \"ReplyTime\": \"2021-05-11 19:56:28\",\n \"Sign\": \"腾讯云\",\n \"PhoneNumber\": \"+8615291996666\",\n \"NationCode\": \"86\"\n },\n {\n \"ReplyContent\": \"xxxxxx\",\n \"ReplyUnixTime\": 1620734189,\n \"ExtendCode\": \"11\",\n \"ReplyTime\": \"2021-05-11 19:56:29\",\n \"Sign\": \"腾讯云\",\n \"PhoneNumber\": \"+8615291996666\",\n \"NationCode\": \"86\"\n }\n ]\n }\n}", + "input": "https://sms.tencentcloudapi.com/?Action=PullSmsReplyStatusByPhoneNumber\n&SendDateTime=1620734100\n&EndDateTime=1620734200\n&Offset=0\n&Limit=2\n&PhoneNumber=+8618501234444\n&SmsSdkAppid= 1400006666\n&<公共请求参数>", + "output": "{\n \"Response\": {\n \"RequestId\": \"a0aabda6-cf91-4f3e-a81f-9198114a2279\",\n \"PullSmsReplyStatusSet\": [\n {\n \"ReplyContent\": \"2\",\n \"ReplyUnixTime\": 1620734188,\n \"ExtendCode\": \"11\",\n \"ReplyTime\": \"2021-05-11 19:56:28\",\n \"Sign\": \"腾讯云\",\n \"PhoneNumber\": \"+8618501234444\",\n \"NationCode\": \"86\"\n },\n {\n \"ReplyContent\": \"1\",\n \"ReplyUnixTime\": 1620734189,\n \"ExtendCode\": \"11\",\n \"ReplyTime\": \"2021-05-11 19:56:29\",\n \"Sign\": \"腾讯云\",\n \"PhoneNumber\": \"+8618501234444\",\n \"NationCode\": \"86\"\n }\n ]\n }\n}", "title": "请求示例" } ], @@ -92,30 +92,30 @@ { "document": "", "input": "https://sms.tencentcloudapi.com/?Action=PullSmsSendStatus\n&Limit=2\n&SmsSdkAppid=1400006874\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"PullSmsSendStatusSet\": [\n {\n \"UserReceiveTime\": \"2019-10-08 17:18:37\",\n \"UserReceiveUnixTime\": 1570526317,\n \"NationCode\": \"86\",\n \"PurePhoneNumber\": \"+8615291996666\",\n \"PhoneNumber\": \"15291996666\",\n \"SerialNo\": \"14:19325917feb3914eb78b50d6182d7e452e\",\n \"ReportStatus\": \"SUCCESS\",\n \"Description\": \"DELIVRD\"\n },\n {\n \"UserReceiveTime\": \"2019-10-08 17:18:37\",\n \"UserReceiveUnixTime\": 1570526317,\n \"NationCode\": \"86\",\n \"PurePhoneNumber\": \"+8615291997777\",\n \"PhoneNumber\": \"15291997777\",\n \"SerialNo\": \"14:19325917feb3914eb78b50d6182d7e552f\",\n \"ReportStatus\": \"SUCCESS\",\n \"Description\": \"DELIVRD\"\n }\n ],\n \"RequestId\": \"8979fc1e-9564-4fc9-bf7d-2958ce679b72\"\n }\n}", + "output": "{\n \"Response\": {\n \"PullSmsSendStatusSet\": [\n {\n \"UserReceiveTime\": \"2019-10-08 17:18:37\",\n \"UserReceiveUnixTime\": 1570526317,\n \"NationCode\": \"86\",\n \"PurePhoneNumber\": \"+8618501234444\",\n \"PhoneNumber\": \"18501234444\",\n \"SerialNo\": \"5000:1045710669157053657849499619\",\n \"ReportStatus\": \"SUCCESS\",\n \"Description\": \"DELIVRD\"\n },\n {\n \"UserReceiveTime\": \"2019-10-08 17:18:37\",\n \"UserReceiveUnixTime\": 1570526317,\n \"NationCode\": \"86\",\n \"PurePhoneNumber\": \"+8618501234445\",\n \"PhoneNumber\": \"18501234445\",\n \"SerialNo\": \"5000:1045710669157053657849499718\",\n \"ReportStatus\": \"SUCCESS\",\n \"Description\": \"DELIVRD\"\n }\n ],\n \"RequestId\": \"8979fc1e-9564-4fc9-bf7d-2958ce679b72\"\n }\n}", "title": "请求示例" } ], "PullSmsSendStatusByPhoneNumber": [ { "document": "", - "input": "https://sms.tencentcloudapi.com/?Action=PullSmsSendStatusByPhoneNumber\n&SendDateTime=1570526300\n&EndDateTime=1570526400\n&Offset=0\n&Limit=2\n&PhoneNumber=+8615291996666\n&SmsSdkAppid=1400006874\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"PullSmsSendStatusSet\": [\n {\n \"Description\": \"DELIVRD\",\n \"SerialNo\": \"14:19325917feb3914eb78b50d6182d7e452e\",\n \"PurePhoneNumber\": \"+8615291996666\",\n \"ReportStatus\": \"SUCCESS\",\n \"UserReceiveUnixTime\": 1570526317,\n \"PhoneNumber\": \"15291996666\",\n \"UserReceiveTime\": \"2019-10-08 17:18:37\",\n \"NationCode\": \"86\"\n },\n {\n \"Description\": \"DELIVRD\",\n \"SerialNo\": \"14:19325917feb3914eb78b50d6182d7e452f\",\n \"PurePhoneNumber\": \"+8615291996666\",\n \"ReportStatus\": \"SUCCESS\",\n \"UserReceiveUnixTime\": 1570526318,\n \"PhoneNumber\": \"15291996666\",\n \"UserReceiveTime\": \"2019-10-08 17:18:38\",\n \"NationCode\": \"86\"\n }\n ],\n \"RequestId\": \"8979fc1e-9564-4fc9-bf7d-2958ce679b72\"\n }\n}", + "input": "https://sms.tencentcloudapi.com/?Action=PullSmsSendStatusByPhoneNumber\n&SendDateTime=1570526300\n&EndDateTime=1570526400\n&Offset=0\n&Limit=2\n&PhoneNumber=+8618501234444\n&SmsSdkAppid=1400006666\n&<公共请求参数>", + "output": "{\n \"Response\": {\n \"PullSmsSendStatusSet\": [\n {\n \"Description\": \"DELIVRD\",\n \"SerialNo\": \"5000:1045710669157053657849499619\",\n \"PurePhoneNumber\": \"+8618501234444\",\n \"ReportStatus\": \"SUCCESS\",\n \"UserReceiveUnixTime\": 1570526317,\n \"PhoneNumber\": \"18501234444\",\n \"UserReceiveTime\": \"2019-10-08 17:18:37\",\n \"NationCode\": \"86\"\n },\n {\n \"Description\": \"DELIVRD\",\n \"SerialNo\": \"5000:1045710669157053657849498556\",\n \"PurePhoneNumber\": \"+8618501234444\",\n \"ReportStatus\": \"SUCCESS\",\n \"UserReceiveUnixTime\": 1570526318,\n \"PhoneNumber\": \"18501234444\",\n \"UserReceiveTime\": \"2019-10-08 17:18:38\",\n \"NationCode\": \"86\"\n }\n ],\n \"RequestId\": \"8979fc1e-9564-4fc9-bf7d-2958ce679b72\"\n }\n}", "title": "请求示例" } ], "SendSms": [ { "document": "请求示例", - "input": "https://sms.tencentcloudapi.com/?Action=SendSms\n&PhoneNumberSet.0=+8618511122233\n&PhoneNumberSet.1=+8618511122266\n&TemplateID=1234\n&Sign=腾讯云\n&TemplateParamSet.0=12345\n&SmsSdkAppid=1400006666\n&SessionContext=test\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"SendStatusSet\": [\n {\n \"SerialNo\": \"5000:1045710669157053657849499619\",\n \"PhoneNumber\": \"+8618511122233\",\n \"Fee\": 1,\n \"SessionContext\": \"test\",\n \"Code\": \"Ok\",\n \"Message\": \"send success\",\n \"IsoCode\": \"CN\"\n },\n {\n \"SerialNo\": \"5000:104571066915705365784949619\",\n \"PhoneNumber\": \"+8618511122266\",\n \"Fee\": 1,\n \"SessionContext\": \"test\",\n \"Code\": \"Ok\",\n \"Message\": \"send success\",\n \"IsoCode\": \"CN\"\n }\n ],\n \"RequestId\": \"a0aabda6-cf91-4f3e-a81f-9198114a2279\"\n }\n}", + "input": "https://sms.tencentcloudapi.com/?Action=SendSms\n&PhoneNumberSet.0=+8618501234444\n&PhoneNumberSet.1=+8618501234445\n&TemplateID=1110\n&Sign=腾讯云\n&TemplateParamSet.0=4370\n&SmsSdkAppid=1400006666\n&SessionContext=outsid_1729495320_1011\n&<公共请求参数>", + "output": "{\n \"Response\": {\n \"SendStatusSet\": [\n {\n \"SerialNo\": \"5000:1045710669157053657849499619\",\n \"PhoneNumber\": \"+8618501234444\",\n \"Fee\": 1,\n \"SessionContext\": \"outsid_1729495320_1011\",\n \"Code\": \"Ok\",\n \"Message\": \"send success\",\n \"IsoCode\": \"CN\"\n },\n {\n \"SerialNo\": \"5000:1045710669157053657849499718\",\n \"PhoneNumber\": \"+8618501234445\",\n \"Fee\": 1,\n \"SessionContext\": \"outsid_1729495320_1011\",\n \"Code\": \"Ok\",\n \"Message\": \"send success\",\n \"IsoCode\": \"CN\"\n }\n ],\n \"RequestId\": \"a0aabda6-cf91-4f3e-a81f-9198114a2279\"\n }\n}", "title": "请求示例" } ], "SendStatusStatistics": [ { "document": "", - "input": "https://sms.tencentcloudapi.com/?Action=SendStatusStatistics\n&StartDateTime=2016090800\n&EndDataTime=2016090823\n&SmsSdkAppid=1400006874\n&Limit=0\n&Offset=0\n&<公共请求参数>", + "input": "https://sms.tencentcloudapi.com/?Action=SendStatusStatistics\n&StartDateTime=2016090800\n&EndDataTime=2016090823\n&SmsSdkAppid=1400006666\n&Limit=0\n&Offset=0\n&<公共请求参数>", "output": "{\n \"Response\": {\n \"SendStatusStatistics\": {\n \"FeeCount\": 1880,\n \"RequestCount\": 1880,\n \"RequestSuccessCount\": 1880\n },\n \"RequestId\": \"f36e4f00-605e-49b1-ad0d-bfaba81c7325\"\n }\n}", "title": "请求示例" } @@ -123,7 +123,7 @@ "SmsPackagesStatistics": [ { "document": "", - "input": "https://sms.tencentcloudapi.com/?Action=SmsPackagesStatistics\n&SmsSdkAppid=1400006879\n&Limit=2\n&Offset=0\n&<公共请求参数>", + "input": "https://sms.tencentcloudapi.com/?Action=SmsPackagesStatistics\n&SmsSdkAppid=1400006666\n&Limit=2\n&Offset=0\n&<公共请求参数>", "output": "{\n \"Response\": {\n \"SmsPackagesStatisticsSet\": [\n {\n \"PackageCreateTime\": \"2019-05-01 00:00:00\",\n \"PackageEffectiveTime\": \"2019-05-01 00:00:00\",\n \"PackageExpiredTime\": \"2019-05-31 23:59:59\",\n \"PackageCreateUnixTime\": 1556640000,\n \"PackageExpiredUnixTime\": 1556640000,\n \"PackageEffectiveUnixTime\": 1559318399,\n \"AmountOfPackage\": 1000,\n \"TypeOfPackage\": 0,\n \"PackageId\": 1000876572,\n \"CurrentUsage\": 100\n },\n {\n \"PackageCreateTime\": \"2019-04-01 00:00:00\",\n \"PackageEffectiveTime\": \"2019-04-01 00:00:00\",\n \"PackageExpiredTime\": \"2019-04-30 23:59:59\",\n \"PackageCreateUnixTime\": 1554048000,\n \"PackageExpiredUnixTime\": 1554048000,\n \"PackageEffectiveUnixTime\": 1556639999,\n \"AmountOfPackage\": 1000,\n \"TypeOfPackage\": 0,\n \"PackageId\": 1000791745,\n \"CurrentUsage\": 100\n }\n ],\n \"RequestId\": \"90242d16-de50-4c9a-80fc-7709b566e93e\"\n }\n}", "title": "请求示例" } diff --git a/tccli/services/sms/v20210111/api.json b/tccli/services/sms/v20210111/api.json index a7c8e180d7..5ec0200d67 100644 --- a/tccli/services/sms/v20210111/api.json +++ b/tccli/services/sms/v20210111/api.json @@ -36,7 +36,7 @@ "status": "online" }, "DescribePhoneNumberInfo": { - "document": "本接口 (DescribePhoneNumberInfo) 用于提供电话号码的信息查询,包括国家(或地区)码、规范的 E.164 格式号码等。\n- 例如:查询号码 +86018845720123,可以得到国家码 86、规范的 E.164 号码 +8618845720123 等信息。", + "document": "本接口 (DescribePhoneNumberInfo) 用于提供电话号码的信息查询,包括国家(或地区)码、规范的 E.164 格式号码等。\n- 例如:查询号码 +86018501234444,可以得到国家码 86、规范的 E.164 号码 +8618501234444 等信息。", "input": "DescribePhoneNumberInfoRequest", "name": "号码信息查询", "output": "DescribePhoneNumberInfoResponse", @@ -459,7 +459,7 @@ { "disabled": false, "document": "短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。", - "example": "1400006874", + "example": "1400006666", "member": "string", "name": "SmsSdkAppId", "required": true, @@ -513,25 +513,25 @@ "members": [ { "disabled": false, - "document": "删除状态信息。\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "删除状态信息。", "example": "return successfully!", "member": "string", "name": "DeleteStatus", "output_required": false, "required": true, "type": "string", - "value_allowed_null": true + "value_allowed_null": false }, { "disabled": false, - "document": "删除时间,UNIX 时间戳(单位:秒)。\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "删除时间,UNIX 时间戳(单位:秒)。", "example": "1578988506", "member": "uint64", "name": "DeleteTime", "output_required": false, "required": true, "type": "int", - "value_allowed_null": true + "value_allowed_null": false } ], "usage": "both" @@ -641,8 +641,8 @@ "members": [ { "disabled": false, - "document": "查询手机号码,采用 E.164 标准,格式为+[国家或地区码][手机号],单次请求最多支持200个手机号。\n例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。", - "example": "[\"+8618843210001\"]", + "document": "查询手机号码,采用 E.164 标准,格式为+[国家或地区码][手机号],单次请求最多支持200个手机号。\n例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。", + "example": "[\"+8618501234444\"]", "member": "string", "name": "PhoneNumberSet", "required": true, @@ -657,7 +657,7 @@ { "disabled": false, "document": "获取号码信息。", - "example": "[{\"SubscriberNumber\":\"18511122266\", \"Message\":\"Describe success\", \"Code\":\"Ok\", \"PhoneNumber\":\"+8618511122266\", \"IsoCode\":\"CN\", \"IsoName\":\"China\", \"NationCode\":\"86\"}]", + "example": "[{\"SubscriberNumber\":\"18501234444\", \"Message\":\"Describe success\", \"Code\":\"Ok\", \"PhoneNumber\":\"+8618501234444\", \"IsoCode\":\"CN\", \"IsoName\":\"China\", \"NationCode\":\"86\"}]", "member": "PhoneNumberInfo", "name": "PhoneNumberInfoSet", "output_required": true, @@ -1157,7 +1157,7 @@ "example": "Ok", "member": "string", "name": "Code", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -1167,7 +1167,7 @@ "example": "Describe success", "member": "string", "name": "Message", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -1177,27 +1177,27 @@ "example": "86", "member": "string", "name": "NationCode", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, - "document": "用户号码,去除国家或地区码前缀的普通格式,示例如:13711112222。", - "example": "13711112222", + "document": "用户号码,去除国家或地区码前缀的普通格式,示例如:18501234444。", + "example": "18501234444", "member": "string", "name": "SubscriberNumber", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, "document": "解析后的规范的 E.164 号码,与下发短信的号码解析结果一致。解析失败时会原样返回。", - "example": "+8613711112222", + "example": "+8618501234444", "member": "string", "name": "PhoneNumber", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -1207,7 +1207,7 @@ "example": "CN", "member": "string", "name": "IsoCode", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -1217,7 +1217,7 @@ "example": "China", "member": "string", "name": "IsoName", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false } @@ -1233,7 +1233,7 @@ "example": "11", "member": "string", "name": "ExtendCode", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -1243,17 +1243,17 @@ "example": "86", "member": "string", "name": "CountryCode", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, - "document": "手机号码,E.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。", - "example": "+8613711112222", + "document": "手机号码,E.164标准,+[国家或地区码][手机号] ,示例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。", + "example": "+8618501234444", "member": "string", "name": "PhoneNumber", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -1263,17 +1263,17 @@ "example": "腾讯云", "member": "string", "name": "SignName", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, "document": "用户回复的内容。", - "example": "test", + "example": "2", "member": "string", "name": "ReplyContent", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -1283,17 +1283,17 @@ "example": "1620734188", "member": "uint64", "name": "ReplyTime", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, - "document": "用户号码,普通格式,示例如:13711112222。", - "example": "13711112222", + "document": "用户号码,普通格式,示例如:18501234444。", + "example": "18501234444", "member": "string", "name": "SubscriberNumber", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false } @@ -1332,8 +1332,8 @@ }, { "disabled": false, - "document": "下发目的手机号码,依据 E.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。", - "example": "+8615291996666", + "document": "下发目的手机号码,依据 E.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。", + "example": "+8618501234444", "member": "string", "name": "PhoneNumber", "required": true, @@ -1342,7 +1342,7 @@ { "disabled": false, "document": "短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。", - "example": "1400006874", + "example": "1400006666", "member": "string", "name": "SmsSdkAppId", "required": true, @@ -1366,7 +1366,7 @@ { "disabled": false, "document": "回复状态响应集合。", - "example": "[{\"CountryCode\":\"86\",\"ReplyContent\":\"1\",\"SubscriberNumber\":\"15291996666\",\"ExtendCode\":\"11\",\"ReplyTime\":1620734188,\"PhoneNumber\":\"+8615291996666\",\"SignName\":\"腾讯云\"}]", + "example": "[{\"CountryCode\":\"86\",\"ReplyContent\":\"1\",\"SubscriberNumber\":\"18501234444\",\"ExtendCode\":\"11\",\"ReplyTime\":1620734188,\"PhoneNumber\":\"+8618501234444\",\"SignName\":\"腾讯云\"}]", "member": "PullSmsReplyStatus", "name": "PullSmsReplyStatusSet", "output_required": true, @@ -1397,7 +1397,7 @@ { "disabled": false, "document": "短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,例如1400006666。", - "example": "1400006874", + "example": "1400006666", "member": "string", "name": "SmsSdkAppId", "required": true, @@ -1412,7 +1412,7 @@ { "disabled": false, "document": "回复状态响应集合。", - "example": "[{\"CountryCode\":\"86\",\"ReplyContent\":\"1\",\"SubscriberNumber\":\"15291990000\",\"ExtendCode\":\"11\",\"ReplyTime\":1620734188,\"PhoneNumber\":\"+8615291990000\",\"SignName\":\"腾讯云\"}]", + "example": "[{\"CountryCode\":\"86\",\"ReplyContent\":\"1\",\"SubscriberNumber\":\"18501234444\",\"ExtendCode\":\"11\",\"ReplyTime\":1620734188,\"PhoneNumber\":\"+8618501234444\",\"SignName\":\"腾讯云\"}]", "member": "PullSmsReplyStatus", "name": "PullSmsReplyStatusSet", "output_required": true, @@ -1453,8 +1453,8 @@ }, { "disabled": false, - "document": "用户号码,普通格式,示例如:13711112222。", - "example": "13711112222", + "document": "用户号码,普通格式,示例如:18501234444。", + "example": "18501234444", "member": "string", "name": "SubscriberNumber", "output_required": true, @@ -1463,8 +1463,8 @@ }, { "disabled": false, - "document": "手机号码,E.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。", - "example": "+8613711112222", + "document": "手机号码,E.164标准,+[国家或地区码][手机号] ,示例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。", + "example": "+8618501234444", "member": "string", "name": "PhoneNumber", "output_required": true, @@ -1474,7 +1474,7 @@ { "disabled": false, "document": "本次发送标识 ID。", - "example": "14:19325917feb3914eb78b50d6182d7e452e", + "example": "5000:1045710669157053657849499619", "member": "string", "name": "SerialNo", "output_required": true, @@ -1503,13 +1503,13 @@ }, { "disabled": false, - "document": "用户的 session 内容。与请求中的 SessionContext 一致,默认为空,如需开通请联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81) 评估。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "test", + "document": "用户的 session 内容。与请求中的 SessionContext 一致,默认为空,如需开通请联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81) 评估。", + "example": "outsid_1729495320_1011", "member": "string", "name": "SessionContext", "output_required": true, "type": "string", - "value_allowed_null": true + "value_allowed_null": false } ], "usage": "out" @@ -1546,8 +1546,8 @@ }, { "disabled": false, - "document": "下发目的手机号码,依据 E.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。", - "example": "+8615291996666", + "document": "下发目的手机号码,依据 E.164 标准为:+[国家(或地区)码][手机号] ,示例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。", + "example": "+8618501234444", "member": "string", "name": "PhoneNumber", "required": true, @@ -1556,7 +1556,7 @@ { "disabled": false, "document": "短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。", - "example": "1400006874", + "example": "1400006666", "member": "string", "name": "SmsSdkAppId", "required": true, @@ -1580,7 +1580,7 @@ { "disabled": false, "document": "下发状态响应集合。", - "example": "[{\"Description\":\"DELIVRD\",\"CountryCode\":\"86\",\"SubscriberNumber\":\"15291996666\",\"ReportStatus\":\"SUCCESS\",\"PhoneNumber\":\"+8615291996666\",\"SerialNo\":\"14:19325917feb3914eb78b50d6182d7e452e\",\"UserReceiveTime\":1620734188}]", + "example": "[{\"Description\":\"DELIVRD\",\"CountryCode\":\"86\",\"SubscriberNumber\":\"18501234444\",\"ReportStatus\":\"SUCCESS\",\"PhoneNumber\":\"+8618501234444\",\"SerialNo\":\"5000:1045710669157053657849499619\",\"UserReceiveTime\":1620734188}]", "member": "PullSmsSendStatus", "name": "PullSmsSendStatusSet", "output_required": true, @@ -1611,7 +1611,7 @@ { "disabled": false, "document": "短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,例如1400006666。", - "example": "1400006874", + "example": "1400006666", "member": "string", "name": "SmsSdkAppId", "required": true, @@ -1626,7 +1626,7 @@ { "disabled": false, "document": "下发状态响应集合。", - "example": "[{\"Description\":\"DELIVRD\",\"CountryCode\":\"86\",\"SubscriberNumber\":\"15291990000\",\"ReportStatus\":\"SUCCESS\",\"PhoneNumber\":\"+8615291990000\",\"SerialNo\":\"14:19325917feb3914eb78b50d6182d7e452e\",\"UserReceiveTime\":1620734188}]", + "example": "[{\"Description\":\"DELIVRD\",\"CountryCode\":\"86\",\"SubscriberNumber\":\"18501234444\",\"ReportStatus\":\"SUCCESS\",\"PhoneNumber\":\"+8618501234444\",\"SerialNo\":\"5000:1045710669157053657849499619\",\"UserReceiveTime\":1620734188}]", "member": "PullSmsSendStatus", "name": "PullSmsSendStatusSet", "output_required": true, @@ -1728,8 +1728,8 @@ "members": [ { "disabled": false, - "document": "下发手机号码,采用 E.164 标准,格式为+[国家或地区码][手机号],单次请求最多支持200个手机号且要求全为境内手机号或全为境外手机号。\n例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。\n注:发送国内短信格式还支持0086、86或无任何国家或地区码的11位手机号码,前缀默认为+86。", - "example": "[\"+8618511122233\"]", + "document": "下发手机号码,采用 E.164 标准,格式为+[国家或地区码][手机号],单次请求最多支持200个手机号且要求全为境内手机号或全为境外手机号。\n例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。\n注:发送国内短信格式还支持0086、86或无任何国家或地区码的11位手机号码,前缀默认为+86。", + "example": "[\"+8618501234444\"]", "member": "string", "name": "PhoneNumberSet", "required": true, @@ -1738,7 +1738,7 @@ { "disabled": false, "document": "短信 SdkAppId,在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。", - "example": "\"1400006666\"", + "example": "1400006666", "member": "string", "name": "SmsSdkAppId", "required": true, @@ -1747,7 +1747,7 @@ { "disabled": false, "document": "模板 ID,必须填写已审核通过的模板 ID。模板 ID 可前往 [国内短信](https://console.cloud.tencent.com/smsv2/csms-template) 或 [国际/港澳台短信](https://console.cloud.tencent.com/smsv2/isms-template) 的正文模板管理查看,若向境外手机号发送短信,仅支持使用国际/港澳台短信模板。", - "example": "\"1110\"", + "example": "1110", "member": "string", "name": "TemplateId", "required": true, @@ -1756,7 +1756,7 @@ { "disabled": false, "document": "短信签名内容,使用 UTF-8 编码,必须填写已审核通过的签名,例如:腾讯云,签名信息可前往 [国内短信](https://console.cloud.tencent.com/smsv2/csms-sign) 或 [国际/港澳台短信](https://console.cloud.tencent.com/smsv2/isms-sign) 的签名管理查看。\n", - "example": "\"腾讯云\"", + "example": "腾讯云", "member": "string", "name": "SignName", "required": false, @@ -1765,7 +1765,7 @@ { "disabled": false, "document": "模板参数,若无模板参数,则设置为空。\n模板参数的个数需要与 TemplateId 对应模板的变量个数保持一致。", - "example": "[\"1234\"]", + "example": "[\"4370\"]", "member": "string", "name": "TemplateParamSet", "required": false, @@ -1774,7 +1774,7 @@ { "disabled": false, "document": "短信码号扩展号,默认未开通,如需开通请联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。", - "example": "\"12\"", + "example": "10", "member": "string", "name": "ExtendCode", "required": false, @@ -1783,7 +1783,7 @@ { "disabled": false, "document": "用户的 session 内容,可以携带用户侧 ID 等上下文信息,server 会原样返回。注意长度需小于512字节。", - "example": "\"test\"", + "example": "outsid_1729495320_1011", "member": "string", "name": "SessionContext", "required": false, @@ -1792,7 +1792,7 @@ { "disabled": false, "document": "国内短信无需填写该项;国际/港澳台短信已申请独立 SenderId 需要填写该字段,默认使用公共 SenderId,无需填写该字段。\n注:月度使用量达到指定量级可申请独立 SenderId 使用,详情请联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。", - "example": "\"Qsms\"", + "example": "Qsms", "member": "string", "name": "SenderId", "required": false, @@ -1807,7 +1807,7 @@ { "disabled": false, "document": "短信发送状态。", - "example": "[{\"SerialNo\":\"5000:1045710669157053657849499619\",\"PhoneNumber\":\"+8618511122233\",\"Fee\":1,\"SessionContext\":\"test\",\"Code\":\"Ok\",\"Message\":\"send success\",\"IsoCode\":\"CN\"}]", + "example": "[{\"SerialNo\":\"5000:1045710669157053657849499619\",\"PhoneNumber\":\"+8618501234444\",\"Fee\":1,\"SessionContext\":\"outsid_1729495320_1011\",\"Code\":\"Ok\",\"Message\":\"send success\",\"IsoCode\":\"CN\"}]", "member": "SendStatus", "name": "SendStatusSet", "output_required": true, @@ -1832,17 +1832,17 @@ "example": "5000:1045710669157053657849499619", "member": "string", "name": "SerialNo", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, - "document": "手机号码,E.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。", - "example": "+8618511122233", + "document": "手机号码,E.164标准,+[国家或地区码][手机号] ,示例如:+8618501234444, 其中前面有一个+号 ,86为国家码,18501234444为手机号。", + "example": "+8618501234444", "member": "string", "name": "PhoneNumber", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -1852,17 +1852,17 @@ "example": "1", "member": "uint64", "name": "Fee", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "用户 session 内容。", - "example": "test", + "example": "outsid_1729495320_1011", "member": "string", "name": "SessionContext", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -1872,7 +1872,7 @@ "example": "Ok", "member": "string", "name": "Code", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -1882,7 +1882,7 @@ "example": "send success", "member": "string", "name": "Message", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -1892,7 +1892,7 @@ "example": "CN", "member": "string", "name": "IsoCode", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false } @@ -1959,7 +1959,7 @@ { "disabled": false, "document": "短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。", - "example": "1400006874", + "example": "1400006666", "member": "string", "name": "SmsSdkAppId", "required": true, @@ -2090,7 +2090,7 @@ { "disabled": false, "document": "短信 SdkAppId 在 [短信控制台](https://console.cloud.tencent.com/smsv2/app-manage) 添加应用后生成的实际 SdkAppId,示例如1400006666。", - "example": "1400006879", + "example": "1400006666", "member": "string", "name": "SmsSdkAppId", "required": true, diff --git a/tccli/services/sms/v20210111/examples.json b/tccli/services/sms/v20210111/examples.json index 6e94f49c4d..a0d474925e 100644 --- a/tccli/services/sms/v20210111/examples.json +++ b/tccli/services/sms/v20210111/examples.json @@ -19,7 +19,7 @@ "CallbackStatusStatistics": [ { "document": "", - "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CallbackStatusStatistics\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006874\",\n \"EndTime\": \"2021050123\",\n \"Limit\": 0,\n \"BeginTime\": \"2021050113\",\n \"Offset\": 0\n}", + "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CallbackStatusStatistics\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006666\",\n \"EndTime\": \"2021050123\",\n \"Limit\": 0,\n \"BeginTime\": \"2021050113\",\n \"Offset\": 0\n}", "output": "{\n \"Response\": {\n \"CallbackStatusStatistics\": {\n \"CallbackCount\": 1745,\n \"RequestSuccessCount\": 1880,\n \"CallbackFailCount\": 401,\n \"CallbackSuccessCount\": 1344,\n \"InternalErrorCount\": 0,\n \"InvalidNumberCount\": 0,\n \"ShutdownErrorCount\": 401,\n \"BlackListCount\": 0,\n \"FrequencyLimitCount\": 0\n },\n \"RequestId\": \"3314836f-0b10-45cb-b7be-593e84c1c197\"\n }\n}", "title": "请求示例" } @@ -43,8 +43,8 @@ "DescribePhoneNumberInfo": [ { "document": "", - "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePhoneNumberInfo\n<公共请求参数>\n\n{\n \"PhoneNumberSet\": [\n \"+8618511122266\",\n \"+8618511122233\"\n ]\n}", - "output": "{\n \"Response\": {\n \"PhoneNumberInfoSet\": [\n {\n \"SubscriberNumber\": \"18511122266\",\n \"Message\": \"Describe success\",\n \"Code\": \"Ok\",\n \"PhoneNumber\": \"+8618511122266\",\n \"IsoCode\": \"CN\",\n \"IsoName\": \"China\",\n \"NationCode\": \"86\"\n },\n {\n \"SubscriberNumber\": \"18511122233\",\n \"Message\": \"Describe success\",\n \"Code\": \"Ok\",\n \"PhoneNumber\": \"+8618511122233\",\n \"IsoCode\": \"CN\",\n \"IsoName\": \"China\",\n \"NationCode\": \"86\"\n }\n ],\n \"RequestId\": \"a0aabda6-cf91-4f3e-a81f-9198114a2279\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePhoneNumberInfo\n<公共请求参数>\n\n{\n \"PhoneNumberSet\": [\n \"+8618501234444\",\n \"+8618501234445\"\n ]\n}", + "output": "{\n \"Response\": {\n \"PhoneNumberInfoSet\": [\n {\n \"SubscriberNumber\": \"18501234444\",\n \"Message\": \"Describe success\",\n \"Code\": \"Ok\",\n \"PhoneNumber\": \"+8618501234444\",\n \"IsoCode\": \"CN\",\n \"IsoName\": \"China\",\n \"NationCode\": \"86\"\n },\n {\n \"SubscriberNumber\": \"18501234445\",\n \"Message\": \"Describe success\",\n \"Code\": \"Ok\",\n \"PhoneNumber\": \"+8618501234445\",\n \"IsoCode\": \"CN\",\n \"IsoName\": \"China\",\n \"NationCode\": \"86\"\n }\n ],\n \"RequestId\": \"a0aabda6-cf91-4f3e-a81f-9198114a2279\"\n }\n}", "title": "请求示例" } ], @@ -83,32 +83,32 @@ "PullSmsReplyStatus": [ { "document": "", - "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PullSmsReplyStatus\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006874\",\n \"Limit\": 100\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"a0aabda6-cf91-4f3e-a81f-9198114a2279\",\n \"PullSmsReplyStatusSet\": [\n {\n \"CountryCode\": \"86\",\n \"ReplyContent\": \"1\",\n \"SubscriberNumber\": \"15291990000\",\n \"ExtendCode\": \"11\",\n \"ReplyTime\": 1620734188,\n \"PhoneNumber\": \"+8615291990000\",\n \"SignName\": \"腾讯云\"\n },\n {\n \"CountryCode\": \"86\",\n \"ReplyContent\": \"2\",\n \"SubscriberNumber\": \"15291990001\",\n \"ExtendCode\": \"11\",\n \"ReplyTime\": 1620734189,\n \"PhoneNumber\": \"+8615291990001\",\n \"SignName\": \"腾讯云\"\n }\n ]\n }\n}", + "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PullSmsReplyStatus\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006666\",\n \"Limit\": 100\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"a0aabda6-cf91-4f3e-a81f-9198114a2279\",\n \"PullSmsReplyStatusSet\": [\n {\n \"CountryCode\": \"86\",\n \"ReplyContent\": \"1\",\n \"SubscriberNumber\": \"18501234444\",\n \"ExtendCode\": \"11\",\n \"ReplyTime\": 1620734188,\n \"PhoneNumber\": \"+8618501234444\",\n \"SignName\": \"腾讯云\"\n },\n {\n \"CountryCode\": \"86\",\n \"ReplyContent\": \"2\",\n \"SubscriberNumber\": \"18501234444\",\n \"ExtendCode\": \"11\",\n \"ReplyTime\": 1620734189,\n \"PhoneNumber\": \"+8618501234444\",\n \"SignName\": \"腾讯云\"\n }\n ]\n }\n}", "title": "请求示例" } ], "PullSmsReplyStatusByPhoneNumber": [ { "document": "", - "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PullSmsReplyStatusByPhoneNumber\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006666\",\n \"PhoneNumber\": \"+8615291996666\",\n \"BeginTime\": 1620734100,\n \"Offset\": 0,\n \"Limit\": 2,\n \"EndTime\": 1620734200\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"a0aabda6-cf91-4f3e-a81f-9198114a2279\",\n \"PullSmsReplyStatusSet\": [\n {\n \"CountryCode\": \"86\",\n \"ReplyContent\": \"1\",\n \"SubscriberNumber\": \"15291996666\",\n \"ExtendCode\": \"11\",\n \"ReplyTime\": 1620734188,\n \"PhoneNumber\": \"+8615291996666\",\n \"SignName\": \"腾讯云\"\n },\n {\n \"CountryCode\": \"86\",\n \"ReplyContent\": \"2\",\n \"SubscriberNumber\": \"15291996666\",\n \"ExtendCode\": \"11\",\n \"ReplyTime\": 1620734189,\n \"PhoneNumber\": \"+8615291996666\",\n \"SignName\": \"腾讯云\"\n }\n ]\n }\n}", + "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PullSmsReplyStatusByPhoneNumber\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006666\",\n \"PhoneNumber\": \"+8618501234444\",\n \"BeginTime\": 1620734100,\n \"Offset\": 0,\n \"Limit\": 2,\n \"EndTime\": 1620734200\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"a0aabda6-cf91-4f3e-a81f-9198114a2279\",\n \"PullSmsReplyStatusSet\": [\n {\n \"CountryCode\": \"86\",\n \"ReplyContent\": \"1\",\n \"SubscriberNumber\": \"18501234444\",\n \"ExtendCode\": \"11\",\n \"ReplyTime\": 1620734188,\n \"PhoneNumber\": \"+8618501234444\",\n \"SignName\": \"腾讯云\"\n },\n {\n \"CountryCode\": \"86\",\n \"ReplyContent\": \"2\",\n \"SubscriberNumber\": \"18501234444\",\n \"ExtendCode\": \"11\",\n \"ReplyTime\": 1620734189,\n \"PhoneNumber\": \"+8618501234444\",\n \"SignName\": \"腾讯云\"\n }\n ]\n }\n}", "title": "请求示例" } ], "PullSmsSendStatus": [ { "document": "", - "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PullSmsSendStatus\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006874\",\n \"Limit\": 100\n}", - "output": "{\n \"Response\": {\n \"PullSmsSendStatusSet\": [\n {\n \"Description\": \"DELIVRD\",\n \"CountryCode\": \"86\",\n \"SubscriberNumber\": \"15291990000\",\n \"ReportStatus\": \"SUCCESS\",\n \"PhoneNumber\": \"+8615291990000\",\n \"SerialNo\": \"14:19325917feb3914eb78b50d6182d7e452e\",\n \"UserReceiveTime\": 1620734188,\n \"SessionContext\": \"\"\n },\n {\n \"Description\": \"DELIVRD\",\n \"CountryCode\": \"86\",\n \"SubscriberNumber\": \"15291990001\",\n \"ReportStatus\": \"SUCCESS\",\n \"PhoneNumber\": \"+8615291990001\",\n \"SerialNo\": \"14:19325917feb3914eb78b50d6182d7e462f\",\n \"UserReceiveTime\": 1620734188,\n \"SessionContext\": \"\"\n }\n ],\n \"RequestId\": \"8979fc1e-9564-4fc9-bf7d-2958ce679b72\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PullSmsSendStatus\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006666\",\n \"Limit\": 100\n}", + "output": "{\n \"Response\": {\n \"PullSmsSendStatusSet\": [\n {\n \"Description\": \"DELIVRD\",\n \"CountryCode\": \"86\",\n \"SubscriberNumber\": \"18501234444\",\n \"ReportStatus\": \"SUCCESS\",\n \"PhoneNumber\": \"+8618501234444\",\n \"SerialNo\": \"5000:1045710669157053657849499619\",\n \"UserReceiveTime\": 1620734188,\n \"SessionContext\": \"\"\n },\n {\n \"Description\": \"DELIVRD\",\n \"CountryCode\": \"86\",\n \"SubscriberNumber\": \"18501234445\",\n \"ReportStatus\": \"SUCCESS\",\n \"PhoneNumber\": \"+8618501234445\",\n \"SerialNo\": \"5000:1045710669157053657849499718\",\n \"UserReceiveTime\": 1620734188,\n \"SessionContext\": \"\"\n }\n ],\n \"RequestId\": \"8979fc1e-9564-4fc9-bf7d-2958ce679b72\"\n }\n}", "title": "请求示例" } ], "PullSmsSendStatusByPhoneNumber": [ { "document": "", - "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PullSmsSendStatusByPhoneNumber\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006666\",\n \"PhoneNumber\": \"+8615291996666\",\n \"BeginTime\": 1620734100,\n \"Offset\": 0,\n \"Limit\": 2,\n \"EndTime\": 1620734200\n}", - "output": "{\n \"Response\": {\n \"PullSmsSendStatusSet\": [\n {\n \"Description\": \"DELIVRD\",\n \"CountryCode\": \"86\",\n \"SubscriberNumber\": \"15291996666\",\n \"ReportStatus\": \"SUCCESS\",\n \"PhoneNumber\": \"+8615291996666\",\n \"SerialNo\": \"14:19325917feb3914eb78b50d6182d7e452e\",\n \"UserReceiveTime\": 1620734188,\n \"SessionContext\": \"\"\n },\n {\n \"Description\": \"DELIVRD\",\n \"CountryCode\": \"86\",\n \"SubscriberNumber\": \"15291996666\",\n \"ReportStatus\": \"SUCCESS\",\n \"PhoneNumber\": \"+8615291996666\",\n \"SerialNo\": \"14:19325917feb3914eb78b50d6182d7e456f\",\n \"UserReceiveTime\": 1620734188,\n \"SessionContext\": \"\"\n }\n ],\n \"RequestId\": \"8979fc1e-9564-4fc9-bf7d-2958ce679b72\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PullSmsSendStatusByPhoneNumber\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006666\",\n \"PhoneNumber\": \"+8618501234444\",\n \"BeginTime\": 1620734100,\n \"Offset\": 0,\n \"Limit\": 2,\n \"EndTime\": 1620734200\n}", + "output": "{\n \"Response\": {\n \"PullSmsSendStatusSet\": [\n {\n \"Description\": \"DELIVRD\",\n \"CountryCode\": \"86\",\n \"SubscriberNumber\": \"18501234444\",\n \"ReportStatus\": \"SUCCESS\",\n \"PhoneNumber\": \"+8618501234444\",\n \"SerialNo\": \"5000:1045710669157053657849499619\",\n \"UserReceiveTime\": 1620734188,\n \"SessionContext\": \"\"\n },\n {\n \"Description\": \"DELIVRD\",\n \"CountryCode\": \"86\",\n \"SubscriberNumber\": \"18501234444\",\n \"ReportStatus\": \"SUCCESS\",\n \"PhoneNumber\": \"+8618501234444\",\n \"SerialNo\": \"5000:1045710669157053657849498556\",\n \"UserReceiveTime\": 1620734188,\n \"SessionContext\": \"\"\n }\n ],\n \"RequestId\": \"8979fc1e-9564-4fc9-bf7d-2958ce679b72\"\n }\n}", "title": "请求示例" } ], @@ -123,15 +123,15 @@ "SendSms": [ { "document": "", - "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SendSms\n<公共请求参数>\n\n{\n \"PhoneNumberSet\": [\n \"+8618511122233\",\n \"+8618511122266\"\n ],\n \"SmsSdkAppId\": \"1400006666\",\n \"SignName\": \"腾讯云\",\n \"TemplateId\": \"1110\",\n \"TemplateParamSet\": [\n \"1234\"\n ],\n \"SessionContext\": \"test\"\n}", - "output": "{\n \"Response\": {\n \"SendStatusSet\": [\n {\n \"SerialNo\": \"5000:1045710669157053657849499619\",\n \"PhoneNumber\": \"+8618511122233\",\n \"Fee\": 1,\n \"SessionContext\": \"test\",\n \"Code\": \"Ok\",\n \"Message\": \"send success\",\n \"IsoCode\": \"CN\"\n },\n {\n \"SerialNo\": \"5000:1045710669157053657849499718\",\n \"PhoneNumber\": \"+8618511122266\",\n \"Fee\": 1,\n \"SessionContext\": \"test\",\n \"Code\": \"Ok\",\n \"Message\": \"send success\",\n \"IsoCode\": \"CN\"\n }\n ],\n \"RequestId\": \"a0aabda6-cf91-4f3e-a81f-9198114a2279\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SendSms\n<公共请求参数>\n\n{\n \"PhoneNumberSet\": [\n \"+8618501234444\",\n \"+8618501234445\"\n ],\n \"SmsSdkAppId\": \"1400006666\",\n \"SignName\": \"腾讯云\",\n \"TemplateId\": \"1110\",\n \"TemplateParamSet\": [\n \"4370\"\n ],\n \"SessionContext\": \"outsid_1729495320_1011\"\n}", + "output": "{\n \"Response\": {\n \"SendStatusSet\": [\n {\n \"SerialNo\": \"5000:1045710669157053657849499619\",\n \"PhoneNumber\": \"+8618501234444\",\n \"Fee\": 1,\n \"SessionContext\": \"outsid_1729495320_1011\",\n \"Code\": \"Ok\",\n \"Message\": \"send success\",\n \"IsoCode\": \"CN\"\n },\n {\n \"SerialNo\": \"5000:1045710669157053657849499718\",\n \"PhoneNumber\": \"+8618501234445\",\n \"Fee\": 1,\n \"SessionContext\": \"outsid_1729495320_1011\",\n \"Code\": \"Ok\",\n \"Message\": \"send success\",\n \"IsoCode\": \"CN\"\n }\n ],\n \"RequestId\": \"a0aabda6-cf91-4f3e-a81f-9198114a2279\"\n }\n}", "title": "请求示例" } ], "SendStatusStatistics": [ { "document": "", - "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SendStatusStatistics\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006874\",\n \"EndTime\": \"2021050123\",\n \"Limit\": 0,\n \"BeginTime\": \"2021050113\",\n \"Offset\": 0\n}", + "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SendStatusStatistics\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006666\",\n \"EndTime\": \"2021050123\",\n \"Limit\": 0,\n \"BeginTime\": \"2021050113\",\n \"Offset\": 0\n}", "output": "{\n \"Response\": {\n \"SendStatusStatistics\": {\n \"FeeCount\": 1880,\n \"RequestCount\": 1880,\n \"RequestSuccessCount\": 1880\n },\n \"RequestId\": \"f36e4f00-605e-49b1-ad0d-bfaba81c7325\"\n }\n}", "title": "请求示例" } @@ -139,7 +139,7 @@ "SmsPackagesStatistics": [ { "document": "", - "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SmsPackagesStatistics\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006874\",\n \"EndTime\": \"2021043023\",\n \"Limit\": 2,\n \"BeginTime\": \"2021040113\",\n \"Offset\": 0\n}", + "input": "POST / HTTP/1.1\nHost: sms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SmsPackagesStatistics\n<公共请求参数>\n\n{\n \"SmsSdkAppId\": \"1400006666\",\n \"EndTime\": \"2021043023\",\n \"Limit\": 2,\n \"BeginTime\": \"2021040113\",\n \"Offset\": 0\n}", "output": "{\n \"Response\": {\n \"SmsPackagesStatisticsSet\": [\n {\n \"PackageCreateTime\": 1617292800,\n \"PackageExpiredTime\": 1617292800,\n \"PackageEffectiveTime\": 1619884800,\n \"PackageType\": 1,\n \"CurrentUsage\": 1000,\n \"PackageId\": 1000791745,\n \"PackageAmount\": 1000\n },\n {\n \"PackageCreateTime\": 1617379200,\n \"PackageExpiredTime\": 1617379200,\n \"PackageEffectiveTime\": 1619971200,\n \"PackageType\": 1,\n \"CurrentUsage\": 100,\n \"PackageId\": 1000876572,\n \"PackageAmount\": 1000\n }\n ],\n \"RequestId\": \"3314836f-0b10-45cb-b7be-593e84c1c197\"\n }\n}", "title": "请求示例" } diff --git a/tccli/services/taf/v20200210/api.json b/tccli/services/taf/v20200210/api.json index d1a945011e..7b01cd525f 100644 --- a/tccli/services/taf/v20200210/api.json +++ b/tccli/services/taf/v20200210/api.json @@ -64,7 +64,44 @@ }, "InputBusinessEncryptData": { "document": "业务入参", - "members": [], + "members": [ + { + "disabled": false, + "document": "加密方式;0:AES;1:DES", + "example": "1", + "member": "uint64", + "name": "EncryptMethod", + "required": true, + "type": "int" + }, + { + "disabled": false, + "document": "业务数据加密字符串", + "example": "7ecfc5536b47f4fa7d176b6450b67564caab7e6845531f02fd28feb8122f7afa", + "member": "string", + "name": "EncryptData", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "加密模式;0:ECB,1:CBC;2:CTR;3:CFB;4:OFB", + "example": "1", + "member": "uint64", + "name": "EncryptMode", + "required": true, + "type": "int" + }, + { + "disabled": false, + "document": "填充模式;0:ZERO ;1:PKCS5;3:PKCS7", + "example": "1", + "member": "uint64", + "name": "PaddingType", + "required": true, + "type": "int" + } + ], "usage": "in" }, "InputRecognizeTargetAudience": { diff --git a/tccli/services/taf/v20200210/examples.json b/tccli/services/taf/v20200210/examples.json index e7cf52e118..4621ac718d 100644 --- a/tccli/services/taf/v20200210/examples.json +++ b/tccli/services/taf/v20200210/examples.json @@ -27,7 +27,7 @@ "RecognizeTargetAudience": [ { "document": "", - "input": "POST / HTTP/1.1\nHost: taf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeTargetAudience\n<公共请求参数>\n\n{\n \"BspData\": {\n \"Uid\": \"XXXXXXXXXXXXXXX\",\n \"AccountType\": 256,\n \"ModelIdList\": [\n 5260\n ],\n \"IsAuthorized\": 1\n },\n \"BusinessEncryptData\": {}\n}", + "input": "POST / HTTP/1.1\nHost: taf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeTargetAudience\n<公共请求参数>\n\n{\n \"BspData\": {\n \"Uid\": \"XXXXXXXXXXXXXXX\",\n \"AccountType\": 256,\n \"ModelIdList\": [\n 5260\n ],\n \"IsAuthorized\": 1\n },\n \"BusinessEncryptData\": {\n \"EncryptMethod\": 0,\n \"EncryptData\": \"xxxxxxxxx\",\n \"EncryptMode\": 0,\n \"PaddingType\": 1\n }\n}", "output": "{\n \"Response\": {\n \"Data\": {\n \"Message\": \"xx\",\n \"Code\": 0,\n \"Value\": [\n {\n \"IsFound\": 0,\n \"Score\": 0.0,\n \"ModelId\": 1\n }\n ]\n },\n \"RequestId\": \"xx\"\n }\n}", "title": "RecognizeTargetAudience" } diff --git a/tccli/services/tdmq/tdmq_client.py b/tccli/services/tdmq/tdmq_client.py index 01be265731..3a9b6546d4 100644 --- a/tccli/services/tdmq/tdmq_client.py +++ b/tccli/services/tdmq/tdmq_client.py @@ -3761,6 +3761,58 @@ def doResetMsgSubOffsetByTimestamp(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) +def doCreateRabbitMQBinding(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.TdmqClient(cred, g_param[OptionsDefine.Region], profile) + client._sdkVersion += ("_CLI_" + __version__) + models = MODELS_MAP[g_param[OptionsDefine.Version]] + model = models.CreateRabbitMQBindingRequest() + model.from_json_string(json.dumps(args)) + start_time = time.time() + while True: + rsp = client.CreateRabbitMQBinding(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 doDescribeMsgTrace(args, parsed_globals): g_param = parse_global_arg(parsed_globals) @@ -7484,6 +7536,7 @@ def doDeleteSubscriptions(args, parsed_globals): "DescribeRocketMQCluster": doDescribeRocketMQCluster, "DeleteTopics": doDeleteTopics, "ResetMsgSubOffsetByTimestamp": doResetMsgSubOffsetByTimestamp, + "CreateRabbitMQBinding": doCreateRabbitMQBinding, "DescribeMsgTrace": doDescribeMsgTrace, "ModifyRocketMQRole": doModifyRocketMQRole, "DescribeRabbitMQNodeList": doDescribeRabbitMQNodeList, diff --git a/tccli/services/tdmq/v20200217/api.json b/tccli/services/tdmq/v20200217/api.json index 24ad4609a2..ca92015106 100644 --- a/tccli/services/tdmq/v20200217/api.json +++ b/tccli/services/tdmq/v20200217/api.json @@ -70,6 +70,13 @@ "output": "CreateProClusterResponse", "status": "online" }, + "CreateRabbitMQBinding": { + "document": "创建RabbitMQ路由关系", + "input": "CreateRabbitMQBindingRequest", + "name": "创建RabbitMQ路由关系", + "output": "CreateRabbitMQBindingResponse", + "status": "online" + }, "CreateRabbitMQUser": { "document": "创建RabbitMQ的用户", "input": "CreateRabbitMQUserRequest", @@ -3500,6 +3507,108 @@ ], "type": "object" }, + "CreateRabbitMQBindingRequest": { + "document": "CreateRabbitMQBinding请求参数结构体", + "members": [ + { + "disabled": false, + "document": "实例Id", + "example": "amqp-xxx", + "member": "string", + "name": "InstanceId", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "Vhost参数", + "example": "testVhost", + "member": "string", + "name": "VirtualHost", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "源exchange", + "example": "testSource", + "member": "string", + "name": "Source", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "目标类型,取值queue或exchange", + "example": "testDestinationType", + "member": "string", + "name": "DestinationType", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "目标", + "example": "testDestination", + "member": "string", + "name": "Destination", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "绑定key", + "example": "testRoutingKey", + "member": "string", + "name": "RoutingKey", + "required": false, + "type": "string" + } + ], + "type": "object" + }, + "CreateRabbitMQBindingResponse": { + "document": "CreateRabbitMQBinding返回参数结构体", + "members": [ + { + "disabled": false, + "document": "队列名称\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "queue1", + "member": "string", + "name": "InstanceId", + "output_required": true, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "vhost参数\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "Vhost1", + "member": "string", + "name": "VirtualHost", + "output_required": true, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "路由关系Id\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "123", + "member": "int64", + "name": "BindingId", + "output_required": true, + "type": "int", + "value_allowed_null": true + }, + { + "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", + "member": "string", + "name": "RequestId", + "type": "string" + } + ], + "type": "object" + }, "CreateRabbitMQUserRequest": { "document": "CreateRabbitMQUser请求参数结构体", "members": [ @@ -4042,7 +4151,7 @@ { "disabled": false, "document": "集群ID", - "example": "rocketmq-xxxxx", + "example": "rocketmq-4k4orqgq", "member": "string", "name": "ClusterId", "required": true, @@ -4078,7 +4187,7 @@ { "disabled": false, "document": "说明,最大128个字符", - "example": "备注", + "example": "info-remark", "member": "string", "name": "Remark", "required": false, @@ -4252,7 +4361,7 @@ { "disabled": false, "document": "实例名称", - "example": "无", + "example": "mq-instance", "member": "string", "name": "Name", "required": true, @@ -4270,7 +4379,7 @@ { "disabled": false, "document": "节点数量,最小2,最大20", - "example": "无", + "example": "6", "member": "int64", "name": "NodeCount", "required": true, @@ -4279,7 +4388,7 @@ { "disabled": false, "document": "单节点存储空间,GB为单位,最低200GB", - "example": "无", + "example": "500", "member": "int64", "name": "StorageSize", "required": true, @@ -4288,7 +4397,7 @@ { "disabled": false, "document": "节点部署的区域ID列表,如广州一区,则是100001,具体可查询腾讯云官网", - "example": "无", + "example": "[\"100001\"]", "member": "string", "name": "ZoneIds", "required": true, @@ -4306,7 +4415,7 @@ { "disabled": false, "document": "购买时长,月为单位", - "example": "无", + "example": "12", "member": "int64", "name": "TimeSpan", "required": true, @@ -4333,7 +4442,7 @@ { "disabled": false, "document": "公网带宽,在开启公网情况下为必传字段", - "example": "1", + "example": "0", "member": "int64", "name": "Bandwidth", "required": false, @@ -4366,7 +4475,7 @@ { "disabled": false, "document": "集群ID", - "example": "无", + "example": "rocketmq-7drjznvjqzee", "member": "string", "name": "ClusterId", "output_required": true, @@ -5340,7 +5449,7 @@ { "disabled": false, "document": "实例的集群ID", - "example": "无", + "example": "rocketmq-ajknm838qzg4", "member": "string", "name": "ClusterId", "required": true, @@ -9586,7 +9695,7 @@ { "disabled": false, "document": "集群ID", - "example": "rocketmq-xxxxx", + "example": "rocketmq-4k4orqgq", "member": "string", "name": "ClusterId", "required": true, @@ -9613,7 +9722,7 @@ { "disabled": false, "document": "按名称搜索", - "example": "xxxx", + "example": "ordername", "member": "string", "name": "NameKeyword", "required": false, @@ -9631,7 +9740,7 @@ "example": "无", "member": "RocketMQNamespace", "name": "Namespaces", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": false }, @@ -9641,7 +9750,7 @@ "example": "100", "member": "uint64", "name": "TotalCount", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -10849,7 +10958,7 @@ { "disabled": false, "document": "集群ID", - "example": "rocketmq-xxxxx", + "example": "rocketmq-4k4orqgq", "member": "string", "name": "ClusterId", "required": true, @@ -10895,8 +11004,8 @@ "members": [ { "disabled": false, - "document": "查询条件过滤器,支持的查询条件如下:\ninstanceIds - 实例ID\ninstanceName - 实例名称", - "example": "无", + "document": "查询条件过滤器,支持的查询条件如下:\ninstanceIds - 实例ID\ninstanceName - 实例名称\nstatus - 实例状态", + "example": "[ {\"Values\": [ \"rocketmq-1233\"], \"Name\": \"InstanceIds\"} ]", "member": "Filter", "name": "Filters", "required": false, @@ -10932,6 +11041,7 @@ "example": "10", "member": "uint64", "name": "TotalCount", + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -10941,6 +11051,7 @@ "example": "无", "member": "RocketMQVipInstance", "name": "Instances", + "output_required": true, "type": "list", "value_allowed_null": false }, @@ -11767,22 +11878,20 @@ { "disabled": false, "document": "过滤参数的名字", - "example": "xxx", + "example": "paramName", "member": "string", "name": "Name", "required": false, - "type": "string", - "value_allowed_null": false + "type": "string" }, { "disabled": false, "document": "数值", - "example": "无", + "example": "[\"a\"]", "member": "string", "name": "Values", "required": false, - "type": "list", - "value_allowed_null": false + "type": "list" } ], "usage": "in" @@ -13253,7 +13362,7 @@ { "disabled": false, "document": "专享实例ID", - "example": "rocketmq-xxxx", + "example": "rocketmq-4k4orqgq", "member": "string", "name": "InstanceId", "required": true, @@ -13262,7 +13371,7 @@ { "disabled": false, "document": "实例名称", - "example": "test", + "example": "order-service-instance", "member": "string", "name": "Name", "required": false, @@ -13271,7 +13380,7 @@ { "disabled": false, "document": "实例备注信息", - "example": "test", + "example": "info-mark", "member": "string", "name": "Remark", "required": false, @@ -13307,7 +13416,7 @@ { "disabled": false, "document": "专享实例ID", - "example": "rocketmq-xxxx", + "example": "rocketmq-4k4orqgq", "member": "string", "name": "InstanceId", "required": true, @@ -13349,7 +13458,7 @@ { "disabled": false, "document": "订单号\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "20121212312322", + "example": "TDMQ20121212312322", "member": "string", "name": "OrderId", "output_required": true, @@ -14043,6 +14152,7 @@ "example": "0.0.0.0/0", "member": "string", "name": "IpRule", + "output_required": true, "required": true, "type": "string", "value_allowed_null": false @@ -14053,6 +14163,7 @@ "example": "true", "member": "bool", "name": "Allow", + "output_required": true, "required": true, "type": "bool", "value_allowed_null": false @@ -14060,9 +14171,10 @@ { "disabled": false, "document": "备注信息\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "test", + "example": "test remark info", "member": "string", "name": "Remark", + "output_required": true, "required": false, "type": "string", "value_allowed_null": true @@ -16675,7 +16787,7 @@ { "disabled": false, "document": "集群ID", - "example": "rocketmq-xxxxx", + "example": "rocketmq-4k4orqgq", "member": "string", "name": "ClusterId", "output_required": true, @@ -16685,7 +16797,7 @@ { "disabled": false, "document": "集群名称", - "example": "test", + "example": "rocket-order-instance", "member": "string", "name": "ClusterName", "output_required": true, @@ -16705,7 +16817,7 @@ { "disabled": false, "document": "创建时间,毫秒为单位", - "example": "100000000", + "example": "1729478721", "member": "uint64", "name": "CreateTime", "output_required": true, @@ -16715,7 +16827,7 @@ { "disabled": false, "document": "集群说明信息\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "备注", + "example": "info-remark", "member": "string", "name": "Remark", "output_required": true, @@ -16725,7 +16837,7 @@ { "disabled": false, "document": "公网接入地址", - "example": "xxx", + "example": "rocketmq.access.public.com:9867", "member": "string", "name": "PublicEndPoint", "output_required": true, @@ -16735,7 +16847,7 @@ { "disabled": false, "document": "VPC接入地址", - "example": "xxxx", + "example": "rocketmq.resource.vpc.com:5010", "member": "string", "name": "VpcEndPoint", "output_required": true, @@ -16795,7 +16907,7 @@ { "disabled": false, "document": "欠费停服时间,毫秒为单位\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "10000000", + "example": "1729478721", "member": "int64", "name": "IsolateTime", "output_required": true, @@ -16805,7 +16917,7 @@ { "disabled": false, "document": "HTTP协议公网接入地址\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "http://ip:port", "member": "string", "name": "HttpPublicEndpoint", "output_required": true, @@ -16815,7 +16927,7 @@ { "disabled": false, "document": "HTTP协议VPC接入地址\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "http://ip:port", "member": "string", "name": "HttpVpcEndpoint", "output_required": true, @@ -16825,7 +16937,7 @@ { "disabled": false, "document": "TCP内部接入地址\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "namespace.internal:port", "member": "string", "name": "InternalEndpoint", "output_required": true, @@ -16835,7 +16947,7 @@ { "disabled": false, "document": "HTTP协议内部接入地址\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "http://ip:port", "member": "string", "name": "HttpInternalEndpoint", "output_required": true, @@ -16865,7 +16977,7 @@ { "disabled": false, "document": "vip\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "vip", "member": "string", "name": "Vip", "output_required": false, @@ -16875,7 +16987,7 @@ { "disabled": false, "document": "所属VPC\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "mqvpc296", "member": "string", "name": "VpcId", "output_required": false, @@ -16885,7 +16997,7 @@ { "disabled": false, "document": "是否支持迁移\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "false", "member": "bool", "name": "SupportMigration", "output_required": false, @@ -16895,7 +17007,7 @@ { "disabled": false, "document": "实例状态,0表示创建中,1表示正常,2表示隔离中,3表示已销毁,4 - 异常, 5 - 发货失败,6 - 变配中,7 - 变配失败\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "1", "member": "int64", "name": "InstanceStatus", "output_required": false, @@ -16905,7 +17017,7 @@ { "disabled": false, "document": "集群所属可用区,表明集群归属的可用区\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "100001", "member": "int64", "name": "ZoneId", "output_required": false, @@ -16915,7 +17027,7 @@ { "disabled": false, "document": "集群节点所在的可用区,若该集群为跨可用区集群,则包含该集群节点所在的多个可用区。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "[100001]", "member": "int64", "name": "ZoneIds", "output_required": false, @@ -17537,7 +17649,7 @@ { "disabled": false, "document": "Topic个数最小配额,即免费额度,默认为集群规格单节点最小配额*节点个数\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "1", "member": "int64", "name": "TopicNumLowerLimit", "output_required": false, @@ -17547,7 +17659,7 @@ { "disabled": false, "document": "Topic个数最大配额,默认为集群规格单节点最大配额*节点个数\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "10", "member": "int64", "name": "TopicNumUpperLimit", "output_required": false, @@ -17724,7 +17836,7 @@ "example": "prod", "member": "string", "name": "NamespaceId", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -17734,7 +17846,7 @@ "example": "100000", "member": "uint64", "name": "Ttl", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -17744,7 +17856,7 @@ "example": "10000", "member": "uint64", "name": "RetentionTime", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -17754,37 +17866,37 @@ "example": "备注", "member": "string", "name": "Remark", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, { "disabled": false, "document": "公网接入点地址\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "http://ip:port", "member": "string", "name": "PublicEndpoint", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, { "disabled": false, "document": "VPC接入点地址\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "http://ip:port", "member": "string", "name": "VpcEndpoint", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, { "disabled": false, "document": "内部接入点地址\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "http://ip:port", "member": "string", "name": "InternalEndpoint", - "required": false, + "output_required": true, "type": "string", "value_allowed_null": true } @@ -18288,7 +18400,7 @@ { "disabled": false, "document": "实例id", - "example": "rocketmq-xxxx", + "example": "rmq-4k4orqgq1", "member": "string", "name": "InstanceId", "output_required": true, @@ -18298,7 +18410,7 @@ { "disabled": false, "document": "实例名称", - "example": "abc", + "example": "order-instance", "member": "string", "name": "InstanceName", "output_required": true, @@ -18408,7 +18520,7 @@ { "disabled": false, "document": "备注信息\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "xxx", + "example": "remark-info", "member": "string", "name": "Remark", "output_required": true, @@ -18468,7 +18580,7 @@ { "disabled": false, "document": "销毁时间\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "369182637452345", "member": "uint64", "name": "DestroyTime", "output_required": false, @@ -19328,7 +19440,7 @@ { "disabled": false, "document": "标签的key的值\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "test_tag_key", "member": "string", "name": "TagKey", "output_required": false, @@ -19339,7 +19451,7 @@ { "disabled": false, "document": "标签的Value的值\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "test_tag_value1", "member": "string", "name": "TagValue", "output_required": false, @@ -19901,9 +20013,10 @@ { "disabled": false, "document": "vpc的id", - "example": "vpc-xxxx", + "example": "vpc-9dlrd5h1", "member": "string", "name": "VpcId", + "output_required": true, "required": true, "type": "string", "value_allowed_null": false @@ -19911,9 +20024,10 @@ { "disabled": false, "document": "子网id", - "example": "subnet-xxx", + "example": "subnet-jadmas", "member": "string", "name": "SubnetId", + "output_required": true, "required": true, "type": "string", "value_allowed_null": false diff --git a/tccli/services/tdmq/v20200217/examples.json b/tccli/services/tdmq/v20200217/examples.json index 2687a80c70..bde333cb8d 100644 --- a/tccli/services/tdmq/v20200217/examples.json +++ b/tccli/services/tdmq/v20200217/examples.json @@ -92,6 +92,14 @@ "title": "创建专业集群" } ], + "CreateRabbitMQBinding": [ + { + "document": "", + "input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRabbitMQBinding\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-44w9928j\",\n \"VirtualHost\": \"test\",\n \"Source\": \"amq.direct\",\n \"DestinationType\": \"queue\",\n \"Destination\": \"test\",\n \"RoutingKey\": \"hehe1\"\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"dsfadsa\",\n \"InstanceId\": \"amqp-44w9928j\",\n \"VirtualHost\": \"test\",\n \"BindingId\": 127441\n }\n}", + "title": "创建RabbitMQ路由关系" + } + ], "CreateRabbitMQUser": [ { "document": "-", @@ -143,7 +151,7 @@ "CreateRocketMQNamespace": [ { "document": "创建命名空间", - "input": "https://tdmq.tencentcloudapi.com/?\nAction=CreateRocketMQNamespace\n&ClusterId=rocketmq-2p9vx3ax9jxg\n&NamespaceId=example\n&Ttl=60000\n&RetentionTime=600000\n&Remark=example\n&<公共请求参数>", + "input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRocketMQNamespace\n<公共请求参数>\n\n{\n \"ClusterId\": \"rocketmq-2p9vx3ax9jxg\",\n \"NamespaceId\": \"test_namespace\",\n \"Ttl\": 259200000,\n \"RetentionTime\": 259200000,\n \"Remark\": \"测试命名空间\"\n}", "output": "{\n \"Response\": {\n \"RequestId\": \"bf71e2ae-8b56-4231-87cf-0cbb6f421caa\"\n }\n}", "title": "创建命名空间" } @@ -167,8 +175,8 @@ "CreateRocketMQVipInstance": [ { "document": "购买RocketMQ专享实例", - "input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRocketMQVipInstance\n<公共请求参数>\n\n{\n \"Name\": \"abc\",\n \"Spec\": \"rocket-vip-basic-1\",\n \"NodeCount\": 1,\n \"StorageSize\": 0,\n \"ZoneIds\": [\n \"100001\"\n ],\n \"VpcInfo\": {\n \"VpcId\": \"abc\",\n \"SubnetId\": \"abc\"\n },\n \"TimeSpan\": 1\n}", - "output": "{\n \"Response\": {\n \"ClusterId\": \"rocketmq-xxxx\",\n \"RequestId\": \"abc\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRocketMQVipInstance\n<公共请求参数>\n\n{\n \"Name\": \"test_instance\",\n \"Spec\": \"rocket-vip-basic-1\",\n \"NodeCount\": 2,\n \"StorageSize\": 200,\n \"ZoneIds\": [\n \"100001\",\n \"100002\"\n ],\n \"VpcInfo\": {\n \"VpcId\": \"vpc-9dlrd5h1\",\n \"SubnetId\": \"subnet-jadmas\"\n },\n \"TimeSpan\": 1\n}", + "output": "{\n \"Response\": {\n \"ClusterId\": \"rocketmq-7drjznvjqzee\",\n \"RequestId\": \"23ca1a58-0388-4d2d-8465-653a53addda7\"\n }\n}", "title": "购买RocketMQ专享实例" } ], @@ -710,7 +718,7 @@ { "document": "", "input": "https://tdmq.tencentcloudapi.com/?Action=DescribeRocketMQNamespaces\n&ClusterId=rocketmq-rd3545bkkj49\n&Offset=0\n&Limit=10\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"xx\",\n \"Namespaces\": [\n {\n \"Remark\": \"xx\",\n \"PublicEndpoint\": \"xx\",\n \"RetentionTime\": 1,\n \"VpcEndpoint\": \"xx\",\n \"Ttl\": 1,\n \"NamespaceId\": \"xx\"\n }\n ]\n }\n}", + "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"23ca1a58-0388-4d2d-8465-653a53addda7\",\n \"Namespaces\": [\n {\n \"Remark\": \"info-remark\",\n \"PublicEndpoint\": \"http://public.test.com\",\n \"RetentionTime\": 1,\n \"VpcEndpoint\": \"http://vpc.test.com\",\n \"Ttl\": 1,\n \"NamespaceId\": \"ordernamespace\",\n \"InternalEndpoint\": \"http://internal.test.com\"\n }\n ]\n }\n}", "title": "获取用户命名空间列表" } ], @@ -826,15 +834,15 @@ { "document": "", "input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRocketMQVipInstanceDetail\n<公共请求参数>\n\n{\n \"ClusterId\": \"rocketmq-rd3545bkkj49\"\n}", - "output": "{\n \"Response\": {\n \"ClusterInfo\": {\n \"ClusterId\": \"abc\",\n \"ClusterName\": \"abc\",\n \"Region\": \"abc\",\n \"CreateTime\": 1,\n \"Remark\": \"abc\",\n \"PublicEndPoint\": \"abc\",\n \"VpcEndPoint\": \"abc\",\n \"SupportNamespaceEndpoint\": true,\n \"Vpcs\": [\n {\n \"VpcId\": \"abc\",\n \"SubnetId\": \"abc\"\n }\n ],\n \"IsVip\": true,\n \"RocketMQFlag\": true,\n \"Status\": 0,\n \"IsolateTime\": 0,\n \"HttpPublicEndpoint\": \"abc\",\n \"HttpVpcEndpoint\": \"abc\",\n \"InternalEndpoint\": \"abc\",\n \"HttpInternalEndpoint\": \"abc\",\n \"AclEnabled\": true,\n \"PublicClbId\": \"abc\",\n \"Vip\": \"abc\",\n \"VpcId\": \"abc\",\n \"SupportMigration\": true,\n \"InstanceStatus\": 0,\n \"ZoneId\": 0,\n \"ZoneIds\": [\n 0\n ]\n },\n \"InstanceConfig\": {\n \"MaxTpsPerNamespace\": 1,\n \"MaxNamespaceNum\": 1,\n \"UsedNamespaceNum\": 1,\n \"MaxTopicNum\": 1,\n \"UsedTopicNum\": 1,\n \"MaxGroupNum\": 1,\n \"UsedGroupNum\": 1,\n \"ConfigDisplay\": \"abc\",\n \"NodeCount\": 1,\n \"NodeDistribution\": [\n {\n \"ZoneName\": \"abc\",\n \"ZoneId\": \"abc\",\n \"NodeCount\": 1\n }\n ],\n \"TopicDistribution\": [\n {\n \"TopicType\": \"abc\",\n \"Count\": 1\n }\n ],\n \"MaxQueuesPerTopic\": 1,\n \"MaxRetention\": 0,\n \"MinRetention\": 0,\n \"Retention\": 0,\n \"TopicNumLowerLimit\": 0,\n \"TopicNumUpperLimit\": 0\n },\n \"RequestId\": \"abc\"\n }\n}", - "title": "huo" + "output": "{\n \"Response\": {\n \"ClusterInfo\": {\n \"ClusterId\": \"rocketmq-rd3545bkkj49\",\n \"ClusterName\": \"rocket-order-cluster\",\n \"Region\": \"华南地区\",\n \"CreateTime\": 1729478721,\n \"Remark\": \"info- remark\",\n \"PublicEndPoint\": \"rocketmq.access.public.com:9867\",\n \"VpcEndPoint\": \"rocketmq.resource.vpc.com:5010\",\n \"SupportNamespaceEndpoint\": true,\n \"Vpcs\": [\n {\n \"VpcId\": \"vpc-9dlrd5h1\",\n \"SubnetId\": \"subnet-jadmas\"\n }\n ],\n \"IsVip\": true,\n \"RocketMQFlag\": true,\n \"Status\": 1,\n \"IsolateTime\": 1729478721,\n \"HttpPublicEndpoint\": \"http://rocketmq.access.public.com:9867\",\n \"HttpVpcEndpoint\": \"http://rocketmq.resource.vpc.com:5010\",\n \"InternalEndpoint\": \"rocketmq.tencent.internal.com:8080\",\n \"HttpInternalEndpoint\": \"http://rocketmq.tencent.internal.com:8080\",\n \"AclEnabled\": true,\n \"PublicClbId\": \"abc\",\n \"Vip\": \"abc\",\n \"VpcId\": \"abc\",\n \"SupportMigration\": true,\n \"InstanceStatus\": 1,\n \"ZoneId\": 100001,\n \"ZoneIds\": [\n 100001\n ]\n },\n \"InstanceConfig\": {\n \"MaxTpsPerNamespace\": 1,\n \"MaxNamespaceNum\": 1,\n \"UsedNamespaceNum\": 1,\n \"MaxTopicNum\": 1,\n \"UsedTopicNum\": 1,\n \"MaxGroupNum\": 1,\n \"UsedGroupNum\": 1,\n \"ConfigDisplay\": \"abc\",\n \"NodeCount\": 1,\n \"NodeDistribution\": [\n {\n \"ZoneName\": \"广东一区\",\n \"ZoneId\": \"100001\",\n \"NodeCount\": 1\n }\n ],\n \"TopicDistribution\": [\n {\n \"TopicType\": \"normal\",\n \"Count\": 1\n }\n ],\n \"MaxQueuesPerTopic\": 1,\n \"MaxRetention\": 0,\n \"MinRetention\": 0,\n \"Retention\": 0,\n \"TopicNumLowerLimit\": 0,\n \"TopicNumUpperLimit\": 0\n },\n \"RequestId\": \"23ca1a58-0388-4d2d-8465-653a53addda7\"\n }\n}", + "title": "获取单个RocketMQ专享集群信息" } ], "DescribeRocketMQVipInstances": [ { "document": "获取实例列表", - "input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRocketMQVipInstances\n<公共请求参数>\n\n{\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Values\": [\n \"rocketmq-1233\"\n ],\n \"Name\": \"InstanceIds\"\n }\n ],\n \"Offset\": 1\n}", - "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"abcdef\",\n \"Instances\": [\n {\n \"Status\": 1,\n \"PayMode\": 1,\n \"Remark\": \"test\",\n \"AutoRenewFlag\": 1,\n \"InstanceId\": \"rocketmq-1233\",\n \"NodeCount\": 1,\n \"ExpireTime\": 1,\n \"InstanceVersion\": \"4.9.3\",\n \"MaxStorage\": 1,\n \"MaxBandWidth\": 1,\n \"SpecName\": \"rocket-vip-basic-1\",\n \"ConfigDisplay\": \"基础型\",\n \"InstanceName\": \"abc\",\n \"MaxTps\": 1\n }\n ]\n }\n}", + "input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRocketMQVipInstances\n<公共请求参数>\n\n{\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Values\": [\n \"rocketmq-1q23swe3\"\n ],\n \"Name\": \"order-instance\"\n }\n ],\n \"Offset\": 1\n}", + "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"23ca1a58-0388-4d2d-8465-653a53addda7\",\n \"Instances\": [\n {\n \"Status\": 1,\n \"PayMode\": 1,\n \"Remark\": \"remark-info\",\n \"AutoRenewFlag\": 1,\n \"InstanceId\": \"rocketmq-1233\",\n \"NodeCount\": 1,\n \"ExpireTime\": 1,\n \"InstanceVersion\": \"4.9.3\",\n \"MaxStorage\": 1,\n \"MaxBandWidth\": 1,\n \"SpecName\": \"rocket-vip-basic-1\",\n \"ConfigDisplay\": \"基础型\",\n \"InstanceName\": \"order-instance\",\n \"MaxTps\": 1,\n \"AclEnabled\": true,\n \"Retention\": 0,\n \"MinRetention\": 0,\n \"MaxRetention\": 0\n }\n ]\n }\n}", "title": "获取实例列表" } ], @@ -1015,16 +1023,16 @@ "ModifyRocketMQInstance": [ { "document": "修改RocketMQ专享实例", - "input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRocketMQInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"Name\": \"abc\",\n \"Remark\": \"abc\",\n \"MessageRetention\": 0\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRocketMQInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"rocketmq-4k4orqgq\",\n \"Name\": \"order-service-instance\",\n \"Remark\": \"info-mark\",\n \"MessageRetention\": 24\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"23ca1a58-0388-4d2d-8465-653a53addda7\"\n }\n}", "title": "修改RocketMQ专享实例" } ], "ModifyRocketMQInstanceSpec": [ { "document": "对实例进行升降配", - "input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRocketMQInstanceSpec\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"Specification\": \"abc\",\n \"NodeCount\": 1,\n \"StorageSize\": 1\n}", - "output": "{\n \"Response\": {\n \"OrderId\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRocketMQInstanceSpec\n<公共请求参数>\n\n{\n \"InstanceId\": \"rocketmq-4k4orqgq\",\n \"Specification\": \"rocket-vip-basic-1\",\n \"NodeCount\": 2,\n \"StorageSize\": 1000\n}", + "output": "{\n \"Response\": {\n \"OrderId\": \"TDMQ20121212312322\",\n \"RequestId\": \"23ca1a58-0388-4d2d-8465-653a53addda7\"\n }\n}", "title": "修改RocketMQ专享实例规格" } ], diff --git a/tccli/services/trocket/v20230308/api.json b/tccli/services/trocket/v20230308/api.json index fbd8611d58..40fa02cf8c 100644 --- a/tccli/services/trocket/v20230308/api.json +++ b/tccli/services/trocket/v20230308/api.json @@ -45,7 +45,7 @@ "CreateRole": { "document": "添加角色", "input": "CreateRoleRequest", - "name": "添加角色", + "name": "创建角色", "output": "CreateRoleResponse", "status": "online" }, @@ -64,9 +64,9 @@ "status": "online" }, "DeleteInstance": { - "document": "删除实例", + "document": "删除 RocketMQ 5.x 集群。", "input": "DeleteInstanceRequest", - "name": "删除实例", + "name": "删除集群", "output": "DeleteInstanceResponse", "status": "online" }, @@ -134,16 +134,16 @@ "status": "online" }, "DescribeFusionInstanceList": { - "document": "获取实例列表,Filters参数使用说明如下:\n1. InstanceName, 名称模糊查询\n2. InstanceId,实例ID查询\n3. InstanceType, 实例类型查询,支持多选\n4. Version,实例版本查询\n当使用TagFilters查询时,Filters参数失效。", + "document": "查询集群列表,支持 4.x 和 5.x 集群,其中 Filters 参数使用说明如下:\n1. InstanceName, 名称模糊查询\n2. InstanceId,集群ID查询\n3. InstanceType, 集群类型查询,支持多选\n4. Version,集群版本查询\n当使用TagFilters查询时,Filters参数失效。", "input": "DescribeFusionInstanceListRequest", - "name": "获取4.x和5.0版本的实例列表", + "name": "查询集群列表", "output": "DescribeFusionInstanceListResponse", "status": "online" }, "DescribeInstance": { - "document": "查询实例信息", + "document": "查询 RocketMQ 5.x 集群信息。", "input": "DescribeInstanceRequest", - "name": "查询实例信息", + "name": "查询集群信息", "output": "DescribeInstanceResponse", "status": "online" }, @@ -269,14 +269,14 @@ "ImportSourceClusterConsumerGroups": { "document": "导入消费者组列表", "input": "ImportSourceClusterConsumerGroupsRequest", - "name": "平滑迁移:导入消费者组列表", + "name": "导入 Group 元数据", "output": "ImportSourceClusterConsumerGroupsResponse", "status": "online" }, "ImportSourceClusterTopics": { "document": "导入topic列表", "input": "ImportSourceClusterTopicsRequest", - "name": "平滑迁移:导入topic列表", + "name": "导入 Topic 元数据", "output": "ImportSourceClusterTopicsResponse", "status": "online" }, @@ -472,22 +472,13 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "rocketmq-xxxx", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "required": true, "type": "string" }, - { - "disabled": false, - "document": "消费组名称", - "example": "group_test", - "member": "string", - "name": "ConsumerGroup", - "required": true, - "type": "string" - }, { "disabled": false, "document": "最大重试次数", @@ -500,7 +491,7 @@ { "disabled": false, "document": "是否开启消费", - "example": "无", + "example": "true", "member": "bool", "name": "ConsumeEnable", "required": true, @@ -509,16 +500,25 @@ { "disabled": false, "document": "顺序投递:true\n并发投递:false", - "example": "无", + "example": "true", "member": "bool", "name": "ConsumeMessageOrderly", "required": true, "type": "bool" }, + { + "disabled": false, + "document": "消费组名称", + "example": "test_group", + "member": "string", + "name": "ConsumerGroup", + "required": false, + "type": "string" + }, { "disabled": false, "document": "备注", - "example": "无", + "example": "测试消费组", "member": "string", "name": "Remark", "required": false, @@ -532,19 +532,21 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "无", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, - "document": "消费组", - "example": "无", + "document": "消费组名称", + "example": "test_group", "member": "string", "name": "ConsumerGroup", + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -572,7 +574,7 @@ { "disabled": false, "document": "集群名称", - "example": "testName", + "example": "test_name", "member": "string", "name": "Name", "required": true, @@ -703,8 +705,8 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "rmq-xxxx", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "output_required": true, @@ -788,7 +790,7 @@ }, { "disabled": false, - "document": "商品规格,可用规格如下:\nexperiment_500,\nbasic_1k,\nbasic_2k,\nbasic_4k,\nbasic_6k,\npro_4k,\npro_6k,\npro_1w,\npro_2w,\npro_3w,\npro_4w,\npro_5w,\nplatinum_6k,\nplatinum_1w,\nplatinum_2w,\nplatinum_4w,\nplatinum_10w,\nplatinum_15w,\nplatinum_20w,\nplatinum_40w,\nplatinum_60w,\nplatinum_100w", + "document": "商品规格,可用规格如下:\nbasic_1k,", "example": "basic_1k", "member": "string", "name": "SkuCode", @@ -807,7 +809,7 @@ { "disabled": false, "document": "标签列表", - "example": "[]", + "example": " [ \t\t{ \t\t\t\"tag1-key\": \"tag1-value\", \t\t\t\"tag2-key\": \"tag2-value\" \t\t} \t]", "member": "Tag", "name": "TagList", "required": false, @@ -897,8 +899,8 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "rocketmq-xxxx", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "required": true, @@ -906,8 +908,8 @@ }, { "disabled": false, - "document": "主题", - "example": "test", + "document": "主题名称", + "example": "test_topic", "member": "string", "name": "Topic", "required": true, @@ -941,7 +943,7 @@ { "disabled": false, "document": "主题", - "example": "test", + "example": "test_topic", "member": "string", "name": "Topic", "output_required": true, @@ -962,8 +964,8 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "rocketmq-xxxx", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "required": true, @@ -1034,8 +1036,8 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "rocketmq-xxxx", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "required": true, @@ -1044,7 +1046,7 @@ { "disabled": false, "document": "角色名称", - "example": "无", + "example": "test_role_name", "member": "string", "name": "Role", "required": true, @@ -1053,7 +1055,7 @@ { "disabled": false, "document": "备注", - "example": "无", + "example": "测试角色", "member": "string", "name": "Remark", "required": true, @@ -1062,7 +1064,7 @@ { "disabled": false, "document": "是否开启生产权限", - "example": "无", + "example": "true", "member": "bool", "name": "PermWrite", "required": true, @@ -1071,7 +1073,7 @@ { "disabled": false, "document": "是否开启消费权限", - "example": "无", + "example": "false", "member": "bool", "name": "PermRead", "required": true, @@ -1086,9 +1088,10 @@ { "disabled": false, "document": "角色名", - "example": "无", + "example": "test_role_name", "member": "string", "name": "Role", + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -1106,8 +1109,8 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "rocketmq-xxxx", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "required": true, @@ -1115,8 +1118,8 @@ }, { "disabled": false, - "document": "主题", - "example": "test", + "document": "主题名称", + "example": "test_topic", "member": "string", "name": "Topic", "required": true, @@ -1125,7 +1128,7 @@ { "disabled": false, "document": "主题类型\nUNSPECIFIED:未指定,\nNORMAL:普通消息,\nFIFO:顺序消息,\nDELAY:延时消息,\nTRANSACTION:事务消息", - "example": "无", + "example": "NORMAL", "member": "string", "name": "TopicType", "required": true, @@ -1143,7 +1146,7 @@ { "disabled": false, "document": "备注", - "example": "无", + "example": "测试主题", "member": "string", "name": "Remark", "required": false, @@ -1166,8 +1169,8 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "无", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "output_required": true, @@ -1176,8 +1179,8 @@ }, { "disabled": false, - "document": "主题", - "example": "无", + "document": "主题名", + "example": "test_topic", "member": "string", "name": "Topic", "output_required": true, @@ -1226,8 +1229,8 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "rocketmq-xxxx", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "required": true, @@ -1236,10 +1239,10 @@ { "disabled": false, "document": "消费组名称", - "example": "group_test", + "example": "test_group", "member": "string", "name": "ConsumerGroup", - "required": true, + "required": false, "type": "string" } ], @@ -1262,8 +1265,8 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "rocketmq-xxxx", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "required": true, @@ -1379,8 +1382,8 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "rocketmq-xxxx", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "required": true, @@ -1415,8 +1418,8 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "rocketmq-xxxx", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "required": true, @@ -1425,7 +1428,7 @@ { "disabled": false, "document": "角色名称", - "example": "无", + "example": "test_role_name", "member": "string", "name": "Role", "required": true, @@ -1451,8 +1454,8 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "rocketmq-xxxx", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "required": true, @@ -1460,8 +1463,8 @@ }, { "disabled": false, - "document": "主题", - "example": "test", + "document": "主题名称", + "example": "test_topic", "member": "string", "name": "Topic", "required": true, @@ -1487,44 +1490,44 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "rocketmq-xxxx", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "required": true, "type": "string" }, + { + "disabled": false, + "document": "查询条件列表", + "example": "无", + "member": "Filter", + "name": "Filters", + "required": false, + "type": "list" + }, { "disabled": false, "document": "查询起始位置", "example": "0", "member": "int64", "name": "Offset", - "required": true, + "required": false, "type": "int" }, { "disabled": false, "document": "查询结果限制数量", - "example": "10", + "example": "20", "member": "int64", "name": "Limit", - "required": true, - "type": "int" - }, - { - "disabled": false, - "document": "查询条件列表", - "example": "无", - "member": "Filter", - "name": "Filters", "required": false, - "type": "list" + "type": "int" }, { "disabled": false, "document": "查询指定主题下的消费组", - "example": "无", + "example": "test_topic", "member": "string", "name": "FromTopic", "required": false, @@ -1542,15 +1545,17 @@ "example": "10", "member": "int64", "name": "TotalCount", + "output_required": false, "type": "int", "value_allowed_null": true }, { "disabled": false, "document": "消费组列表", - "example": "无", + "example": "[]", "member": "ConsumeGroupItem", "name": "Data", + "output_required": true, "type": "list", "value_allowed_null": false }, @@ -1568,8 +1573,8 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "rocketmq-xxxx", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "required": true, @@ -1578,7 +1583,7 @@ { "disabled": false, "document": "消费组名称", - "example": "group_test", + "example": "test_group", "member": "string", "name": "ConsumerGroup", "required": false, @@ -1593,81 +1598,100 @@ { "disabled": false, "document": "在线消费者数量", - "example": "无", + "example": "1", "member": "int64", "name": "ConsumerNum", + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "TPS", - "example": "无", + "example": "1", "member": "int64", "name": "Tps", + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "消息堆积数量", - "example": "无", + "example": "1", "member": "int64", "name": "ConsumerLag", + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "消费者类型", - "example": "无", + "example": "PUSH", "member": "string", "name": "ConsumeType", + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, "document": "创建时间,秒为单位", - "example": "无", + "example": "1683613488000", "member": "int64", "name": "CreatedTime", + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "顺序投递:true\n并发投递:false", - "example": "无", + "example": "false", "member": "bool", "name": "ConsumeMessageOrderly", + "output_required": true, "type": "bool", "value_allowed_null": false }, { "disabled": false, "document": "是否开启消费", - "example": "无", + "example": "false", "member": "bool", "name": "ConsumeEnable", + "output_required": true, "type": "bool", "value_allowed_null": false }, { "disabled": false, "document": "最大重试次数", - "example": "无", + "example": "3", "member": "int64", "name": "MaxRetryTimes", + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "备注", - "example": "无", + "example": "测试消费组", "member": "string", "name": "Remark", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "消费模式:\nBROADCASTING 广播模式\nCLUSTERING 集群模式", + "example": "BROADCASTING", + "member": "string", + "name": "MessageModel", + "output_required": false, "type": "string", "value_allowed_null": false }, @@ -1685,8 +1709,8 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "rocketmq-xxxx", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "required": true, @@ -1695,7 +1719,7 @@ { "disabled": false, "document": "消费组名称", - "example": "group_test", + "example": "test_group", "member": "string", "name": "ConsumerGroup", "required": false, @@ -1753,16 +1777,16 @@ "example": "0", "member": "int64", "name": "Offset", - "required": true, + "required": false, "type": "int" }, { "disabled": false, "document": "查询结果限制数量", - "example": "10", + "example": "20", "member": "int64", "name": "Limit", - "required": true, + "required": false, "type": "int" }, { @@ -1851,7 +1875,7 @@ { "disabled": false, "document": "查询结果限制数量", - "example": "10", + "example": "20", "member": "int64", "name": "Limit", "required": false, @@ -1869,7 +1893,7 @@ "example": "10", "member": "int64", "name": "TotalCount", - "output_required": true, + "output_required": false, "type": "int", "value_allowed_null": true }, @@ -1897,8 +1921,8 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "rocketmq-xxxx", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "required": true, @@ -1913,7 +1937,7 @@ { "disabled": false, "document": "实例类型,\nEXPERIMENT 体验版\nBASIC 基础版\nPRO 专业版\nPLATINUM 铂金版", - "example": "BASIC", + "example": "EXPERIMENT", "member": "string", "name": "InstanceType", "output_required": true, @@ -1923,7 +1947,7 @@ { "disabled": false, "document": "实例ID", - "example": "无", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "output_required": true, @@ -1933,7 +1957,7 @@ { "disabled": false, "document": "实例名称", - "example": "无", + "example": "test_instance", "member": "string", "name": "InstanceName", "output_required": true, @@ -1943,7 +1967,7 @@ { "disabled": false, "document": "主题数量", - "example": "无", + "example": "2", "member": "int64", "name": "TopicNum", "output_required": true, @@ -1953,7 +1977,7 @@ { "disabled": false, "document": "实例最大主题数量", - "example": "无", + "example": "50", "member": "int64", "name": "TopicNumLimit", "output_required": true, @@ -1963,7 +1987,7 @@ { "disabled": false, "document": "消费组数量", - "example": "无", + "example": "10", "member": "int64", "name": "GroupNum", "output_required": true, @@ -1973,7 +1997,7 @@ { "disabled": false, "document": "实例最大消费组数量", - "example": "无", + "example": "500", "member": "int64", "name": "GroupNumLimit", "output_required": true, @@ -1983,7 +2007,7 @@ { "disabled": false, "document": "消息保留时间,小时为单位", - "example": "无", + "example": "72", "member": "int64", "name": "MessageRetention", "output_required": true, @@ -1993,7 +2017,7 @@ { "disabled": false, "document": "最大可调整消息保留时间,小时为单位", - "example": "无", + "example": "168", "member": "int64", "name": "RetentionUpperLimit", "output_required": true, @@ -2003,7 +2027,7 @@ { "disabled": false, "document": "最小可调整消息保留时间,小时为单位", - "example": "无", + "example": "1", "member": "int64", "name": "RetentionLowerLimit", "output_required": true, @@ -2013,7 +2037,7 @@ { "disabled": false, "document": "TPS限流值", - "example": "无", + "example": "500", "member": "int64", "name": "TpsLimit", "output_required": true, @@ -2023,7 +2047,7 @@ { "disabled": false, "document": "弹性TPS限流值", - "example": "无", + "example": "0", "member": "int64", "name": "ScaledTpsLimit", "output_required": true, @@ -2033,7 +2057,7 @@ { "disabled": false, "document": "延迟消息最长时间,小时为单位", - "example": "无", + "example": "168", "member": "int64", "name": "MaxMessageDelay", "output_required": true, @@ -2043,7 +2067,7 @@ { "disabled": false, "document": "创建时间,秒为单位", - "example": "无", + "example": "1695803467000", "member": "int64", "name": "CreatedTime", "output_required": true, @@ -2053,7 +2077,7 @@ { "disabled": false, "document": "消息发送接收比例", - "example": "无", + "example": "0.5", "member": "float", "name": "SendReceiveRatio", "output_required": true, @@ -2063,7 +2087,7 @@ { "disabled": false, "document": "标签\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "[]", "member": "Tag", "name": "TagList", "output_required": true, @@ -2073,7 +2097,7 @@ { "disabled": false, "document": "接入点列表\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "[]", "member": "Endpoint", "name": "EndpointList", "output_required": true, @@ -2083,7 +2107,7 @@ { "disabled": false, "document": "主题队列数上限", - "example": "无", + "example": "32", "member": "int64", "name": "TopicQueueNumUpperLimit", "output_required": true, @@ -2093,7 +2117,7 @@ { "disabled": false, "document": "主题队列数下限", - "example": "无", + "example": "1", "member": "int64", "name": "TopicQueueNumLowerLimit", "output_required": true, @@ -2103,7 +2127,7 @@ { "disabled": false, "document": "备注信息", - "example": "无", + "example": "测试集群", "member": "string", "name": "Remark", "output_required": true, @@ -2113,7 +2137,7 @@ { "disabled": false, "document": "实例状态", - "example": "无", + "example": "RUNNING", "member": "string", "name": "InstanceStatus", "output_required": true, @@ -2123,7 +2147,7 @@ { "disabled": false, "document": "实例规格", - "example": "无", + "example": "experiment_500", "member": "string", "name": "SkuCode", "output_required": true, @@ -2133,7 +2157,7 @@ { "disabled": false, "document": "计费模式", - "example": "无", + "example": "POSTPAID", "member": "string", "name": "PayMode", "output_required": true, @@ -2153,7 +2177,7 @@ { "disabled": false, "document": "是否自动续费", - "example": "无", + "example": "1", "member": "int64", "name": "RenewFlag", "output_required": false, @@ -2163,7 +2187,7 @@ { "disabled": false, "document": "到期时间", - "example": "无", + "example": "1695803467000", "member": "int64", "name": "ExpiryTime", "output_required": false, @@ -2173,7 +2197,7 @@ { "disabled": false, "document": "角色数量限制", - "example": "无", + "example": "10", "member": "int64", "name": "RoleNumLimit", "output_required": false, @@ -2183,7 +2207,7 @@ { "disabled": false, "document": "是否开启 ACL\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "true", "member": "bool", "name": "AclEnabled", "output_required": false, @@ -2193,7 +2217,7 @@ { "disabled": false, "document": "topic个数免费额度\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "0", + "example": "50", "member": "int64", "name": "TopicNumLowerLimit", "output_required": false, @@ -2203,7 +2227,7 @@ { "disabled": false, "document": "最大可设置的topic个数\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "100", "member": "int64", "name": "TopicNumUpperLimit", "output_required": false, @@ -2380,8 +2404,8 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "rocketmq-xxxx", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "required": true, @@ -2406,7 +2430,7 @@ { "disabled": false, "document": "实例id", - "example": "无", + "example": "mqtt-12345", "member": "string", "name": "InstanceId", "output_required": false, @@ -2494,8 +2518,8 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "rocketmq-xxxx", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "required": true, @@ -2570,7 +2594,7 @@ { "disabled": false, "document": "查询结果限制数量", - "example": "10", + "example": "20", "member": "int64", "name": "Limit", "required": false, @@ -2578,7 +2602,7 @@ }, { "disabled": false, - "document": "是否包含新控制台集群", + "document": "是否包含新控制台集群:默认为包含", "example": "0", "member": "bool", "name": "IncludeNew", @@ -2625,8 +2649,8 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "rocketmq-xxxx", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "required": true, @@ -2883,8 +2907,8 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "rocketmq-xxxx", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "required": true, @@ -2892,8 +2916,8 @@ }, { "disabled": false, - "document": "主题", - "example": "test", + "document": "主题名称", + "example": "test_topic", "member": "string", "name": "Topic", "required": true, @@ -3276,8 +3300,8 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "rocketmq-xxxx", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "required": true, @@ -3289,16 +3313,16 @@ "example": "0", "member": "int64", "name": "Offset", - "required": true, + "required": false, "type": "int" }, { "disabled": false, "document": "查询结果限制数量", - "example": "10", + "example": "20", "member": "int64", "name": "Limit", - "required": true, + "required": false, "type": "int" }, { @@ -3322,6 +3346,7 @@ "example": "10", "member": "int64", "name": "TotalCount", + "output_required": false, "type": "int", "value_allowed_null": true }, @@ -3331,6 +3356,7 @@ "example": "无", "member": "RoleItem", "name": "Data", + "output_required": true, "type": "list", "value_allowed_null": false }, @@ -3348,8 +3374,8 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "rocketmq-xxxx", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "required": true, @@ -3376,7 +3402,7 @@ { "disabled": false, "document": "查询结果限制数量", - "example": "10", + "example": "20", "member": "int64", "name": "Limit", "required": false, @@ -3394,6 +3420,7 @@ "example": "10", "member": "int64", "name": "TotalCount", + "output_required": false, "type": "int", "value_allowed_null": true }, @@ -3403,6 +3430,7 @@ "example": "无", "member": "TopicItem", "name": "Data", + "output_required": true, "type": "list", "value_allowed_null": false }, @@ -3420,8 +3448,8 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "rocketmq-xxxx", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "required": true, @@ -3429,8 +3457,8 @@ }, { "disabled": false, - "document": "主题", - "example": "test", + "document": "主题名称", + "example": "test_topic", "member": "string", "name": "Topic", "required": true, @@ -3457,7 +3485,7 @@ { "disabled": false, "document": "查询结果限制数量", - "example": "10", + "example": "20", "member": "int64", "name": "Limit", "required": false, @@ -3472,7 +3500,7 @@ { "disabled": false, "document": "实例ID", - "example": "无", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "output_required": true, @@ -3482,7 +3510,7 @@ { "disabled": false, "document": "主题名称", - "example": "无", + "example": "test_topic", "member": "string", "name": "Topic", "output_required": true, @@ -3492,7 +3520,7 @@ { "disabled": false, "document": "主题类型\nUNSPECIFIED:未指定,\nNORMAL:普通消息,\nFIFO:顺序消息,\nDELAY:延时消息,\nTRANSACTION:事务消息", - "example": "无", + "example": "NORMAL", "member": "string", "name": "TopicType", "output_required": true, @@ -3502,7 +3530,7 @@ { "disabled": false, "document": "备注", - "example": "无", + "example": "测试主题", "member": "string", "name": "Remark", "output_required": true, @@ -3512,7 +3540,7 @@ { "disabled": false, "document": "创建时间,秒为单位", - "example": "无", + "example": "1712729699", "member": "int64", "name": "CreatedTime", "output_required": true, @@ -3522,7 +3550,7 @@ { "disabled": false, "document": "最后写入时间,秒为单位", - "example": "无", + "example": "1712729699", "member": "int64", "name": "LastUpdateTime", "output_required": true, @@ -3532,7 +3560,7 @@ { "disabled": false, "document": "订阅数量", - "example": "无", + "example": "0", "member": "int64", "name": "SubscriptionCount", "output_required": true, @@ -3542,7 +3570,7 @@ { "disabled": false, "document": "订阅关系列表", - "example": "无", + "example": "[]", "member": "SubscriptionData", "name": "SubscriptionData", "output_required": true, @@ -3584,7 +3612,7 @@ { "disabled": false, "document": "状态,\nOPEN 开启,\nCLOSE 关闭,\nPROCESSING 操作中,", - "example": "无", + "example": "OPEN", "member": "string", "name": "Status", "output_required": true, @@ -3594,7 +3622,7 @@ { "disabled": false, "document": "付费类型,仅公网\nPREPAID 包年包月\nPOSTPAID 按量付费\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "PREPAID", "member": "string", "name": "PayMode", "output_required": true, @@ -3604,7 +3632,7 @@ { "disabled": false, "document": "接入点地址\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "127.0.0.1", "member": "string", "name": "EndpointUrl", "output_required": true, @@ -3614,7 +3642,7 @@ { "disabled": false, "document": "VPC ID\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "vpc-xxx", "member": "string", "name": "VpcId", "output_required": true, @@ -3624,7 +3652,7 @@ { "disabled": false, "document": "子网ID\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "subnet-xxx", "member": "string", "name": "SubnetId", "output_required": true, @@ -3634,7 +3662,7 @@ { "disabled": false, "document": "公网带宽,Mbps为单位\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "2", "member": "int64", "name": "Bandwidth", "output_required": true, @@ -3644,12 +3672,22 @@ { "disabled": false, "document": "公网放通规则\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "[ { \"Ip\": \"0.0.0.0/1\", \"Allow\": true, \"Remark\": \"全部放通\" } ]", "member": "IpRule", "name": "IpRules", "output_required": true, "type": "list", "value_allowed_null": true + }, + { + "disabled": false, + "document": "公网是否按流量计费\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "false", + "member": "bool", + "name": "BillingFlow", + "output_required": false, + "type": "bool", + "value_allowed_null": true } ], "usage": "out" @@ -3900,7 +3938,7 @@ { "disabled": false, "document": "任务ID", - "example": "无", + "example": "n4zk7nv4-d596886f", "member": "string", "name": "TaskId", "required": true, @@ -3909,7 +3947,7 @@ { "disabled": false, "document": "待导入的消费组列表", - "example": "无", + "example": "[]", "member": "SourceClusterGroupConfig", "name": "GroupList", "required": true, @@ -3936,7 +3974,7 @@ { "disabled": false, "document": "任务ID", - "example": "无", + "example": "abc", "member": "string", "name": "TaskId", "required": true, @@ -3945,7 +3983,7 @@ { "disabled": false, "document": "待导入的主题列表", - "example": "无", + "example": "[ { \"TopicName\": \"Test\", \"TopicType\": \"Normal\", \"QueueNum\": 10, \"Remark\": \"abc\", \"Namespace\": \"\" } ]", "member": "SourceClusterTopicConfig", "name": "TopicList", "required": true, @@ -4412,7 +4450,7 @@ { "disabled": false, "document": "实例ID", - "example": "rmq-xxxx", + "example": "mqtt-xxxx", "member": "string", "name": "InstanceId", "output_required": true, @@ -4441,8 +4479,8 @@ }, { "disabled": false, - "document": "实例类型,\nEXPERIMENT,体验版\nBASIC,基础版\nPRO,专业版\nPLATINUM,铂金版", - "example": "EXPERIMENT", + "document": "实例类型,\nBASIC,基础版\nPRO,专业版", + "example": "BASIC", "member": "string", "name": "InstanceType", "output_required": true, @@ -4861,8 +4899,8 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "rocketmq-xxxx", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "required": true, @@ -4871,7 +4909,7 @@ { "disabled": false, "document": "消费组名称", - "example": "group_test", + "example": "test_group", "member": "string", "name": "ConsumerGroup", "required": false, @@ -4880,7 +4918,7 @@ { "disabled": false, "document": "是否开启消费", - "example": "无", + "example": "true", "member": "bool", "name": "ConsumeEnable", "required": false, @@ -4889,7 +4927,7 @@ { "disabled": false, "document": "顺序投递:true\n并发投递:false", - "example": "无", + "example": "true", "member": "bool", "name": "ConsumeMessageOrderly", "required": false, @@ -4898,7 +4936,7 @@ { "disabled": false, "document": "最大重试次数", - "example": "无", + "example": "3", "member": "int64", "name": "MaxRetryTimes", "required": false, @@ -4907,7 +4945,7 @@ { "disabled": false, "document": "备注", - "example": "无", + "example": "测试修改", "member": "string", "name": "Remark", "required": false, @@ -5023,8 +5061,8 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "rocketmq-xxxx", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "required": true, @@ -5113,8 +5151,8 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "rocketmq-xxxx", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "required": true, @@ -5158,8 +5196,8 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "rocketmq-xxxx", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "required": true, @@ -5167,8 +5205,8 @@ }, { "disabled": false, - "document": "主题", - "example": "test", + "document": "主题名称", + "example": "test_topic", "member": "string", "name": "Topic", "required": true, @@ -5177,7 +5215,7 @@ { "disabled": false, "document": "备注信息", - "example": "test", + "example": "ramark", "member": "string", "name": "Remark", "required": false, @@ -5203,8 +5241,8 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "rocketmq-xxxx", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "required": true, @@ -5266,8 +5304,8 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "rocketmq-xxxx", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "required": true, @@ -5276,7 +5314,7 @@ { "disabled": false, "document": "角色名称", - "example": "无", + "example": "test_role_name", "member": "string", "name": "Role", "required": true, @@ -5285,7 +5323,7 @@ { "disabled": false, "document": "是否开启消费", - "example": "无", + "example": "false", "member": "bool", "name": "PermRead", "required": true, @@ -5294,7 +5332,7 @@ { "disabled": false, "document": "是否开启生产", - "example": "无", + "example": "false", "member": "bool", "name": "PermWrite", "required": true, @@ -5303,7 +5341,7 @@ { "disabled": false, "document": "备注", - "example": "无", + "example": "测试修改", "member": "string", "name": "Remark", "required": false, @@ -5329,8 +5367,8 @@ "members": [ { "disabled": false, - "document": "实例ID", - "example": "rocketmq-xxxx", + "document": "集群ID", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "required": true, @@ -5338,8 +5376,8 @@ }, { "disabled": false, - "document": "主题", - "example": "test", + "document": "主题名称", + "example": "test_topic", "member": "string", "name": "Topic", "required": true, @@ -5630,59 +5668,65 @@ { "disabled": false, "document": "角色名称", - "example": "test", + "example": "test_role_name", "member": "string", "name": "RoleName", - "required": false, + "output_required": true, + "required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, - "document": "Access Key", - "example": "无", - "member": "string", - "name": "AccessKey", - "required": false, - "type": "string", + "document": "是否开启消费", + "example": "true", + "member": "bool", + "name": "PermRead", + "output_required": true, + "required": true, + "type": "bool", "value_allowed_null": false }, { "disabled": false, - "document": "Secret Key", - "example": "无", - "member": "string", - "name": "SecretKey", - "required": false, - "type": "string", + "document": "是否开启生产", + "example": "true", + "member": "bool", + "name": "PermWrite", + "output_required": true, + "required": true, + "type": "bool", "value_allowed_null": false }, { "disabled": false, - "document": "是否开启消费", - "example": "无", - "member": "bool", - "name": "PermRead", + "document": "Access Key", + "example": "ak-xxx", + "member": "string", + "name": "AccessKey", + "output_required": true, "required": false, - "type": "bool", + "type": "string", "value_allowed_null": false }, { "disabled": false, - "document": "是否开启生产", - "example": "无", - "member": "bool", - "name": "PermWrite", + "document": "Secret Key", + "example": "sk-xxx", + "member": "string", + "name": "SecretKey", + "output_required": true, "required": false, - "type": "bool", + "type": "string", "value_allowed_null": false }, { "disabled": false, "document": "备注信息", - "example": "无", + "example": "测试角色", "member": "string", "name": "Remark", + "output_required": true, "required": false, "type": "string", "value_allowed_null": false @@ -5690,9 +5734,10 @@ { "disabled": false, "document": "创建时间,秒为单位", - "example": "无", + "example": "1683615280000", "member": "int64", "name": "CreatedTime", + "output_required": true, "required": false, "type": "int", "value_allowed_null": false @@ -5700,15 +5745,16 @@ { "disabled": false, "document": "修改时间,秒为单位", - "example": "无", + "example": "1683615280000", "member": "int64", "name": "ModifiedTime", + "output_required": true, "required": false, "type": "int", "value_allowed_null": false } ], - "usage": "out" + "usage": "both" }, "SourceClusterGroupConfig": { "document": "消费组配置信息", @@ -5821,7 +5867,7 @@ { "disabled": false, "document": "主题名称\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "topic1", "member": "string", "name": "TopicName", "output_required": true, @@ -5832,7 +5878,7 @@ { "disabled": false, "document": "主题类型,\n5.x版本\nUNSPECIFIED 未指定\nNORMAL 普通消息\nFIFO 顺序消息\nDELAY 延迟消息\nTRANSACTION 事务消息\n\n4.x版本\nNormal 普通消息\nPartitionedOrder 分区顺序消息\nTransaction 事务消息\nDelayScheduled 延时消息\n\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "FIFO", "member": "string", "name": "TopicType", "output_required": true, @@ -5843,7 +5889,7 @@ { "disabled": false, "document": "队列数\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "3", "member": "int64", "name": "QueueNum", "output_required": true, @@ -5854,7 +5900,7 @@ { "disabled": false, "document": "备注信息\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "remark", "member": "string", "name": "Remark", "output_required": true, @@ -5865,7 +5911,7 @@ { "disabled": false, "document": "是否已导入,作为入参时无效\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "true", "member": "bool", "name": "Imported", "output_required": true, @@ -5876,7 +5922,7 @@ { "disabled": false, "document": "命名空间,仅4.x集群有效\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "namespace1", "member": "string", "name": "Namespace", "output_required": false, @@ -5887,13 +5933,46 @@ { "disabled": false, "document": "导入状态,\nUnknown 未知,\nAlreadyExists 已存在,\nSuccess 成功,\nFailure 失败\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "Unknown", "member": "string", "name": "ImportStatus", "output_required": false, "required": false, "type": "string", "value_allowed_null": true + }, + { + "disabled": false, + "document": "4.x的命名空间,出参使用\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "namespace1", + "member": "string", + "name": "NamespaceV4", + "output_required": false, + "required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "4.x的主题名,出参使用\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "topic1", + "member": "string", + "name": "TopicNameV4", + "output_required": false, + "required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "4.x的完整命名空间,出参使用\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "namespace1", + "member": "string", + "name": "FullNamespaceV4", + "output_required": false, + "required": false, + "type": "string", + "value_allowed_null": true } ], "usage": "both" @@ -5930,7 +6009,7 @@ { "disabled": false, "document": "实例ID\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "rmq-xxx", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "output_required": true, @@ -5940,7 +6019,7 @@ { "disabled": false, "document": "主题名称\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "test", + "example": "test_topic", "member": "string", "name": "Topic", "output_required": true, @@ -5950,7 +6029,7 @@ { "disabled": false, "document": "主题类型\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "FIFO", "member": "string", "name": "TopicType", "output_required": true, @@ -5960,7 +6039,7 @@ { "disabled": false, "document": "单个节点上主题队列数\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "3", "member": "int64", "name": "TopicQueueNum", "output_required": true, @@ -5970,7 +6049,7 @@ { "disabled": false, "document": "消费组名称\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "test_group", "member": "string", "name": "ConsumerGroup", "output_required": true, @@ -5980,7 +6059,7 @@ { "disabled": false, "document": "是否在线\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "true", "member": "bool", "name": "IsOnline", "output_required": true, @@ -5990,7 +6069,7 @@ { "disabled": false, "document": "消费类型\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "PULL", "member": "string", "name": "ConsumeType", "output_required": true, @@ -6000,7 +6079,7 @@ { "disabled": false, "document": "订阅规则\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "test_tag", "member": "string", "name": "SubString", "output_required": true, @@ -6010,7 +6089,7 @@ { "disabled": false, "document": "过滤类型\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "TAG", "member": "string", "name": "ExpressionType", "output_required": true, @@ -6020,7 +6099,7 @@ { "disabled": false, "document": "订阅一致性\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "false", "member": "int64", "name": "Consistency", "output_required": true, @@ -6030,7 +6109,7 @@ { "disabled": false, "document": "消费堆积\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "0", "member": "int64", "name": "ConsumerLag", "output_required": true, @@ -6040,7 +6119,7 @@ { "disabled": false, "document": "最后消费进度更新时间,秒为单位\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "1713164969433", "member": "int64", "name": "LastUpdateTime", "output_required": true, @@ -6050,7 +6129,7 @@ { "disabled": false, "document": "最大重试次数\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "1", "member": "int64", "name": "MaxRetryTimes", "output_required": true, @@ -6060,7 +6139,7 @@ { "disabled": false, "document": "是否顺序消费\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "true", "member": "bool", "name": "ConsumeMessageOrderly", "output_required": true, @@ -6138,7 +6217,7 @@ { "disabled": false, "document": "实例ID", - "example": "rmq-xxxx", + "example": "rmq-72mo3a9o", "member": "string", "name": "InstanceId", "output_required": true, @@ -6149,7 +6228,7 @@ { "disabled": false, "document": "主题名称", - "example": "test", + "example": "test_topic", "member": "string", "name": "Topic", "output_required": true, @@ -6159,7 +6238,7 @@ }, { "disabled": false, - "document": "主题类型", + "document": "主题类型\nNORMAL:普通消息,\nFIFO:顺序消息,\nDELAY:延时消息,\nTRANSACTION:事务消息", "example": "NORMAL", "member": "string", "name": "TopicType", @@ -6181,19 +6260,19 @@ }, { "disabled": false, - "document": "描述\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "remark1", + "document": "描述", + "example": "test_remark", "member": "string", "name": "Remark", - "output_required": true, + "output_required": false, "required": false, "type": "string", - "value_allowed_null": true + "value_allowed_null": false }, { "disabled": false, "document": "4.x的集群id\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "rocketmq-12345", + "example": "rocketmq-7drjznvjqzee", "member": "string", "name": "ClusterIdV4", "output_required": false, @@ -6204,7 +6283,7 @@ { "disabled": false, "document": "4.x的命名空间\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "namespace1", + "example": "test_namespace", "member": "string", "name": "NamespaceV4", "output_required": false, @@ -6215,7 +6294,7 @@ { "disabled": false, "document": "4.x的主题名称\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "topic", + "example": "test_topic_4x", "member": "string", "name": "TopicV4", "output_required": false, @@ -6226,7 +6305,7 @@ { "disabled": false, "document": "4.x的完整命名空间\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "namespace1", + "example": "MQ_INST_rocketmq7drjznvjqzee_test_namespace", "member": "string", "name": "FullNamespaceV4", "output_required": false, diff --git a/tccli/services/trocket/v20230308/examples.json b/tccli/services/trocket/v20230308/examples.json index 13eeb58317..91ebbdff85 100644 --- a/tccli/services/trocket/v20230308/examples.json +++ b/tccli/services/trocket/v20230308/examples.json @@ -2,23 +2,17 @@ "actions": { "CreateConsumerGroup": [ { - "document": "创建消费组", - "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateConsumerGroup\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"ConsumerGroup\": \"group\",\n \"MaxRetryTimes\": 16,\n \"ConsumeEnable\": true,\n \"ConsumeMessageOrderly\": true,\n \"Remark\": \"test\"\n}", - "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"ConsumerGroup\": \"group\",\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"RequestId\": \"58f60891-002f-4b8a-b71f-3767a645c28e\"\n }\n}", + "document": "创建消费组成功", + "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateConsumerGroup\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"ConsumerGroup\": \"test_group\",\n \"MaxRetryTimes\": 16,\n \"ConsumeEnable\": true,\n \"ConsumeMessageOrderly\": true,\n \"Remark\": \"test\"\n}", + "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"ConsumerGroup\": \"test_group\",\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"RequestId\": \"58f60891-002f-4b8a-b71f-3767a645c28e\"\n }\n}", "title": "创建消费组" - }, - { - "document": "创建消费者组", - "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateConsumerGroup\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-g83xq2jn\",\n \"ConsumerGroup\": \"group\",\n \"ConsumeMessageOrderly\": false,\n \"MaxRetryTimes\": 16,\n \"ConsumeEnable\": true\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"60a1347e-e418-42f1-9f9e-00226a3a3c18\",\n \"InstanceId\": \"rmq-g83xq2jn\",\n \"ConsumerGroup\": \"group\"\n }\n}", - "title": "创建消费者组" } ], "CreateInstance": [ { "document": "成功创建一个 TPS 2000 的 RocketMQ 5.x 集群。", - "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateInstance\n<公共请求参数>\n\n{\n \"InstanceType\": \"BASIC\",\n \"Name\": \"testbuy3\",\n \"SkuCode\": \"basic_2k\"\n}", - "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"InstanceId\": \"rmq-odrvrqwr\",\n \"RequestId\": \"32759095-0372-4ec0-ae3a-e5a2759fd0ff\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateInstance\n<公共请求参数>\n\n{\n \"InstanceType\": \"BASIC\",\n \"Name\": \"test_instance\",\n \"SkuCode\": \"basic_2k\"\n}", + "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"InstanceId\": \"rmq-72mo3a9or\",\n \"RequestId\": \"32759095-0372-4ec0-ae3a-e5a2759fd0ff\"\n }\n}", "title": "正常响应" } ], @@ -33,7 +27,7 @@ "CreateMQTTInstance": [ { "document": "示例", - "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMQTTInstance\n<公共请求参数>\n\n{\n \"InstanceType\": \"BASIC\",\n \"Name\": \"sunjianxiong-1\",\n \"SkuCode\": \"basic_1k\",\n \"Remark\": \"this is remark\",\n \"VpcList\": [\n {\n \"VpcId\": \"vpc-9a5wnirv\",\n \"SubnetId\": \"subnet-0tw6tlfi\"\n }\n ],\n \"IpRules\": [\n {\n \"Ip\": \"1.1.1.1\",\n \"Allow\": true,\n \"Remark\": \"11111111\"\n }\n ]\n}", + "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMQTTInstance\n<公共请求参数>\n\n{\n \"InstanceType\": \"BASIC\",\n \"Name\": \"instance-1\",\n \"SkuCode\": \"basic_1k\",\n \"Remark\": \"this is remark\",\n \"VpcList\": [\n {\n \"VpcId\": \"vpc-9a5wnirv\",\n \"SubnetId\": \"subnet-0tw6tlfi\"\n }\n ],\n \"IpRules\": [\n {\n \"Ip\": \"1.1.1.1\",\n \"Allow\": true,\n \"Remark\": \"11111111\"\n }\n ]\n}", "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"RequestId\": \"02107c9d-cbea-418c-bafc-740300fdefad\"\n }\n}", "title": "示例" } @@ -49,7 +43,7 @@ "CreateMQTTUser": [ { "document": "示例", - "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMQTTUser\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"Remark\": \"33333\",\n \"PermWrite\": true,\n \"PermRead\": true,\n \"Username\": \"123\",\n \"Password\": \"456\"\n}", + "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMQTTUser\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"Remark\": \"remark\",\n \"PermWrite\": true,\n \"PermRead\": true,\n \"Username\": \"username\",\n \"Password\": \"pwd\"\n}", "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"25cb77a7-2add-4086-8fd2-a05b5bd34776\"\n }\n}", "title": "示例" } @@ -57,33 +51,33 @@ "CreateRole": [ { "document": "添加角色", - "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRole\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Role\": \"testRole\",\n \"Remark\": \"testRemark\",\n \"PermWrite\": true,\n \"PermRead\": true\n}", - "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"0bb79e96-2531-4088-8d90-e1372c15518a\",\n \"Role\": \"testRole\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRole\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Role\": \"test_role_name\",\n \"Remark\": \"测试角色\",\n \"PermWrite\": true,\n \"PermRead\": true\n}", + "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"0bb79e96-2531-4088-8d90-e1372c15518a\",\n \"Role\": \"test_role_name\"\n }\n}", "title": "添加角色" } ], "CreateTopic": [ { "document": "创建主题", - "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTopic\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Topic\": \"test\",\n \"TopicType\": \"NORMAL\",\n \"QueueNum\": 16,\n \"Remark\": \"remoark\"\n}", - "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"RequestId\": \"97f45511-b653-4e2a-ade6-58c8d3ae523b\",\n \"Topic\": \"test\"\n }\n}", - "title": "创建主题" + "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTopic\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Topic\": \"test_topic\",\n \"TopicType\": \"NORMAL\",\n \"QueueNum\": 16,\n \"Remark\": \"测试主题\"\n}", + "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"RequestId\": \"97f45511-b653-4e2a-ade6-58c8d3ae523b\",\n \"Topic\": \"test_topic\"\n }\n}", + "title": "创建主题示例" } ], "DeleteConsumerGroup": [ { "document": "删除消费组", - "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteConsumerGroup\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"ConsumerGroup\": \"group\"\n}", + "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteConsumerGroup\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"ConsumerGroup\": \"test_group\"\n}", "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"8221cd04-dafc-438d-bc1f-816fd87df24e\"\n }\n}", "title": "删除消费组" } ], "DeleteInstance": [ { - "document": "删除实例", - "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-xxxxx\"\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}", - "title": "删除实例" + "document": "删除 RocketMQ 5.x 集群", + "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\"\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"97f45511-b653-4e2a-ade6-58c8d3ae523b\"\n }\n}", + "title": "删除集群" } ], "DeleteMQTTInsPublicEndpoint": [ @@ -113,7 +107,7 @@ "DeleteMQTTUser": [ { "document": "示例", - "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteMQTTUser\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"Username\": \"123\"\n}", + "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteMQTTUser\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"Username\": \"user1\"\n}", "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"74625f9b-ce92-43d5-ba0b-9a85ddb99041\"\n }\n}", "title": "示例" } @@ -121,7 +115,7 @@ "DeleteRole": [ { "document": "删除角色", - "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRole\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Role\": \"testRole\"\n}", + "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRole\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Role\": \"test_role_name\"\n}", "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"c6e5472a-231d-4bd0-84cf-447f76a8216e\"\n }\n}", "title": "删除角色" } @@ -129,7 +123,7 @@ "DeleteTopic": [ { "document": "删除主题", - "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteTopic\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Topic\": \"test\"\n}", + "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteTopic\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Topic\": \"test_topic\"\n}", "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"4687272f-f35c-4aef-9941-ced81c164d4b\"\n }\n}", "title": "删除主题" } @@ -146,40 +140,40 @@ { "document": "获取消费组列表", "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeConsumerGroupList\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Offset\": 0,\n \"Limit\": 1\n}", - "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"ConsumeEnable\": true,\n \"ConsumeMessageOrderly\": true,\n \"ConsumerGroup\": \"group\",\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"MaxRetryTimes\": 16,\n \"Remark\": \"test\"\n }\n ],\n \"RequestId\": \"318142bf-0dd1-4b81-9444-a40f988619a1\",\n \"TotalCount\": 7\n }\n}", + "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"ConsumeEnable\": true,\n \"ConsumeMessageOrderly\": true,\n \"ConsumerGroup\": \"test_group\",\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"MaxRetryTimes\": 16,\n \"Remark\": \"测试消费组\"\n }\n ],\n \"RequestId\": \"318142bf-0dd1-4b81-9444-a40f988619a1\",\n \"TotalCount\": 1\n }\n}", "title": "获取消费组列表" } ], "DescribeConsumerLag": [ { "document": "查询指定客户端堆积成功", - "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeConsumerLag\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-24kzek2b\",\n \"ConsumerGroup\": \"test\"\n}", - "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"ConsumerLag\": 0,\n \"RequestId\": \"2b9eef15-a8bc-47a3-9445-9edcafccb459\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeConsumerLag\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-24kzek2b\",\n \"ConsumerGroup\": \"test_group\"\n}", + "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"ConsumerLag\": 260,\n \"RequestId\": \"2b9eef15-a8bc-47a3-9445-9edcafccb459\"\n }\n}", "title": "正常响应" } ], "DescribeFusionInstanceList": [ { "document": "", - "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFusionInstanceList\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ]\n }\n ],\n \"TagFilters\": [\n {\n \"TagKey\": \"abc\",\n \"TagValues\": [\n \"abc\"\n ]\n }\n ],\n \"Offset\": 0,\n \"Limit\": 0\n}", - "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Data\": [\n {\n \"InstanceId\": \"abc\",\n \"InstanceName\": \"abc\",\n \"Version\": \"abc\",\n \"InstanceType\": \"abc\",\n \"InstanceStatus\": \"abc\",\n \"TopicNumLimit\": 0,\n \"GroupNumLimit\": 0,\n \"PayMode\": \"abc\",\n \"ExpiryTime\": 0,\n \"Remark\": \"abc\",\n \"TopicNum\": 0,\n \"GroupNum\": 0,\n \"TagList\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ],\n \"SkuCode\": \"abc\",\n \"TpsLimit\": 0,\n \"ScaledTpsLimit\": 0,\n \"MessageRetention\": 0,\n \"MaxMessageDelay\": 0,\n \"RenewFlag\": 0,\n \"InstanceItemExtraInfo\": {\n \"IsVip\": true,\n \"VipInstanceStatus\": 0,\n \"MaxBandWidth\": 0,\n \"SpecName\": \"abc\",\n \"NodeCount\": 0,\n \"MaxStorage\": 0,\n \"MaxRetention\": 0,\n \"MinRetention\": 0,\n \"InstanceStatus\": 0\n },\n \"DestroyTime\": 0\n }\n ],\n \"RequestId\": \"abc\"\n }\n}", - "title": "示例" + "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFusionInstanceList\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 20\n}", + "output": "{\n \"Response\": {\n \"TotalCount\": 2,\n \"Data\": [\n {\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"InstanceName\": \"test_instance5x\",\n \"Version\": \"5.0\",\n \"InstanceType\": \"EXPERIMENT\",\n \"InstanceStatus\": \"RUNNING\",\n \"TopicNumLimit\": 52,\n \"GroupNumLimit\": 520,\n \"PayMode\": \"PREPAID\",\n \"ExpiryTime\": 1731830193435,\n \"Remark\": \"5.X 版本测试集群\",\n \"TopicNum\": 3,\n \"GroupNum\": 10,\n \"TagList\": [\n {\n \"TagKey\": \"test_tag\",\n \"TagValue\": \"test_tag_key\"\n }\n ],\n \"SkuCode\": \"experiment_500\",\n \"TpsLimit\": 500,\n \"ScaledTpsLimit\": 0,\n \"MessageRetention\": 72,\n \"MaxMessageDelay\": 168,\n \"RenewFlag\": 1,\n \"InstanceItemExtraInfo\": {\n \"IsVip\": true,\n \"VipInstanceStatus\": 0,\n \"MaxBandWidth\": 0,\n \"SpecName\": \"abc\",\n \"NodeCount\": 0,\n \"MaxStorage\": 0,\n \"MaxRetention\": 0,\n \"MinRetention\": 0,\n \"InstanceStatus\": 0\n },\n \"DestroyTime\": 0\n },\n {\n \"InstanceId\": \"rocketmq-5kze4gr222mx\",\n \"InstanceName\": \"test_instance4x\",\n \"Version\": \"4\",\n \"InstanceType\": \"BASIC\",\n \"InstanceStatus\": \"RUNNING\",\n \"TopicNumLimit\": 400,\n \"GroupNumLimit\": 4000,\n \"PayMode\": \"PREPAID\",\n \"ExpiryTime\": 1730710586538,\n \"Remark\": \"4.X 版本测试集群\",\n \"TopicNum\": 1,\n \"GroupNum\": 1,\n \"TagList\": [\n {\n \"TagKey\": \"test_tag\",\n \"TagValue\": \"test_tag_key\"\n }\n ],\n \"SkuCode\": \"\",\n \"TpsLimit\": 8000,\n \"ScaledTpsLimit\": 0,\n \"MessageRetention\": 72,\n \"MaxMessageDelay\": 0,\n \"RenewFlag\": 1,\n \"DestroyTime\": 0,\n \"InstanceItemExtraInfo\": {\n \"IsVip\": true,\n \"InstanceStatus\": 1,\n \"VipInstanceStatus\": 1,\n \"MaxBandWidth\": 80,\n \"NodeCount\": 2,\n \"MaxStorage\": 200,\n \"SpecName\": \"rocket-vip-basic-0\",\n \"MaxRetention\": 168,\n \"MinRetention\": 24\n }\n }\n ],\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}", + "title": "获取全量集群列表" } ], "DescribeInstance": [ { - "document": "查询实例", - "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\"\n}", - "output": "{\n \"Response\": {\n \"ScaledTpsEnabled\": false,\n \"InstanceType\": \"abc\",\n \"InstanceId\": \"abc\",\n \"InstanceName\": \"abc\",\n \"TopicNum\": 0,\n \"TopicNumLimit\": 0,\n \"GroupNum\": 0,\n \"GroupNumLimit\": 0,\n \"MessageRetention\": 0,\n \"RetentionUpperLimit\": 0,\n \"RetentionLowerLimit\": 0,\n \"TpsLimit\": 0,\n \"ScaledTpsLimit\": 0,\n \"MaxMessageDelay\": 0,\n \"CreatedTime\": 0,\n \"SendReceiveRatio\": 0,\n \"TagList\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ],\n \"EndpointList\": [\n {\n \"Type\": \"abc\",\n \"Status\": \"abc\",\n \"PayMode\": \"abc\",\n \"EndpointUrl\": \"abc\",\n \"VpcId\": \"abc\",\n \"SubnetId\": \"abc\",\n \"Bandwidth\": 0,\n \"IpRules\": [\n {\n \"Ip\": \"abc\",\n \"Allow\": true,\n \"Remark\": \"abc\"\n }\n ]\n }\n ],\n \"TopicQueueNumUpperLimit\": 0,\n \"TopicQueueNumLowerLimit\": 0,\n \"Remark\": \"abc\",\n \"InstanceStatus\": \"abc\",\n \"SkuCode\": \"abc\",\n \"PayMode\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}", - "title": "查询实例" + "document": "查询集群信息成功", + "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\"\n}", + "output": "{\n \"Response\": {\n \"ScaledTpsEnabled\": false,\n \"InstanceType\": \"EXPERIMENT\",\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"InstanceName\": \"test_instance\",\n \"TopicNum\": 2,\n \"TopicNumLimit\": 50,\n \"GroupNum\": 10,\n \"GroupNumLimit\": 500,\n \"MessageRetention\": 72,\n \"RetentionUpperLimit\": 168,\n \"RetentionLowerLimit\": 1,\n \"TpsLimit\": 500,\n \"ScaledTpsLimit\": 0,\n \"MaxMessageDelay\": 168,\n \"CreatedTime\": 1731920303801,\n \"SendReceiveRatio\": 0.5,\n \"TagList\": [\n {\n \"TagKey\": \"test_tag_key\",\n \"TagValue\": \"test_tag_value\"\n }\n ],\n \"EndpointList\": [\n {\n \"Type\": \"VPC\",\n \"Status\": \"OPEN\",\n \"PayMode\": \"PREPAID\",\n \"EndpointUrl\": \"rmq-72mo3a9o.rocketmq.xx.qcloud.tencenttdmq.com:8080\",\n \"VpcId\": \"vpc-be1tvrab\",\n \"SubnetId\": \"subnet-i6fjswac\",\n \"Bandwidth\": 0,\n \"IpRules\": []\n }\n ],\n \"TopicQueueNumUpperLimit\": 32,\n \"TopicQueueNumLowerLimit\": 1,\n \"Remark\": \"测试集群\",\n \"InstanceStatus\": \"RUNNING\",\n \"SkuCode\": \"experiment_500\",\n \"PayMode\": \"PREPAID\",\n \"RequestId\": \"32759095-0372-4ec0-ae3a-e5a2759fd0ff\"\n }\n}", + "title": "查询集群信息成功" } ], "DescribeInstanceList": [ { - "document": "查询实例列表", - "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceList\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 10\n}", - "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"ExpiryTime\": 0,\n \"GroupNum\": 0,\n \"GroupNumLimit\": 500,\n \"InstanceId\": \"rmq-4knx4z7p\",\n \"InstanceName\": \"tag-test\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"EXPERIMENT\",\n \"MaxMessageDelay\": 48,\n \"MessageRetention\": 72,\n \"PayMode\": \"POSTPAID\",\n \"Remark\": \"aabb\",\n \"ScaledTpsLimit\": 0,\n \"SkuCode\": \"experiment_500\",\n \"TagList\": [\n {\n \"TagKey\": \"test-key\",\n \"TagValue\": \"tag-value\"\n }\n ],\n \"TopicNum\": 0,\n \"TopicNumLimit\": 50,\n \"TpsLimit\": 500,\n \"Version\": \"5.0\"\n },\n {\n \"ExpiryTime\": 0,\n \"GroupNum\": 6,\n \"GroupNumLimit\": 500,\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"InstanceName\": \"breatche-test\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"EXPERIMENT\",\n \"MaxMessageDelay\": 48,\n \"MessageRetention\": 24,\n \"PayMode\": \"POSTPAID\",\n \"Remark\": \"cddf\",\n \"ScaledTpsLimit\": 0,\n \"SkuCode\": \"experiment_500\",\n \"TagList\": [\n {\n \"TagKey\": \"tagkey\",\n \"TagValue\": \"aa\"\n }\n ],\n \"TopicNum\": 6,\n \"TopicNumLimit\": 50,\n \"TpsLimit\": 500,\n \"Version\": \"5.0\"\n }\n ],\n \"RequestId\": \"561a34ff-965b-4a2d-852e-973c0b2a6f01\",\n \"TotalCount\": 2\n }\n}", - "title": "查询实例列表" + "document": "查询RocketMQ 5.X 集群列表", + "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceList\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 20\n}", + "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"ExpiryTime\": 0,\n \"GroupNum\": 10,\n \"GroupNumLimit\": 500,\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"InstanceName\": \"test_instance5x\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"EXPERIMENT\",\n \"MaxMessageDelay\": 48,\n \"MessageRetention\": 72,\n \"PayMode\": \"POSTPAID\",\n \"Remark\": \"5.X版本测试集群\",\n \"ScaledTpsLimit\": 0,\n \"SkuCode\": \"experiment_500\",\n \"TagList\": [\n {\n \"TagKey\": \"test_tag_key\",\n \"TagValue\": \"test_tag_value\"\n }\n ],\n \"TopicNum\": 10,\n \"TopicNumLimit\": 50,\n \"TpsLimit\": 500,\n \"Version\": \"5.0\"\n }\n ],\n \"RequestId\": \"561a34ff-965b-4a2d-852e-973c0b2a6f01\",\n \"TotalCount\": 1\n }\n}", + "title": "查询集群列表" } ], "DescribeMQTTClient": [ @@ -194,7 +188,7 @@ { "document": "示例", "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTInsPublicEndpoints\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-gn8qoq3z\"\n}", - "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Bandwidth\": 2,\n \"Endpoints\": [\n {\n \"Host\": \"mqtt-gn8qoq3z-cd.mqtt.public.tencenttdmq.com\",\n \"Port\": 22,\n \"SubnetId\": null,\n \"Type\": \"mqtt-ws\",\n \"Url\": null,\n \"VpcId\": null\n },\n {\n \"Host\": \"mqtt-gn8qoq3z-cd.mqtt.public.tencenttdmq.com\",\n \"Port\": 11,\n \"SubnetId\": null,\n \"Type\": \"mqtt-tcp\",\n \"Url\": null,\n \"VpcId\": null\n },\n {\n \"Host\": \"mqtt-gn8qoq3z-cd.mqtt.public.tencenttdmq.com\",\n \"Port\": 33,\n \"SubnetId\": null,\n \"Type\": \"mqtt-tls\",\n \"Url\": null,\n \"VpcId\": null\n }\n ],\n \"InstanceId\": \"mqtt-gn8qoq3z\",\n \"RequestId\": \"3891d712-94f7-4d03-9420-fae4fa3a61ea\",\n \"Rules\": [\n {\n \"Allow\": true,\n \"IpRule\": \"0.0.0.0/0\",\n \"Remark\": \"\"\n }\n ],\n \"Status\": \"NORMAL\"\n }\n}", + "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Bandwidth\": 2,\n \"Endpoints\": [\n {\n \"Host\": \"mqttproxy-gn8qoq3z-gz-public.mqtt.tencenttdmq.com\",\n \"Port\": 8888,\n \"SubnetId\": null,\n \"Type\": \"mqtt-ws\",\n \"Url\": \"mqttproxy-gn8qoq3z-gz-public.mqtt.tencenttdmq.com:8888\",\n \"VpcId\": null\n },\n {\n \"Host\": \"mqttproxy-gn8qoq3z-gz-public.mqtt.tencenttdmq.com\",\n \"Port\": 1883,\n \"SubnetId\": null,\n \"Type\": \"mqtt-tcp\",\n \"Url\": \"mqttproxy-gn8qoq3z-gz-public.mqtt.tencenttdmq.com:1883\",\n \"VpcId\": null\n },\n {\n \"Host\": \"mqttproxy-gn8qoq3z-gz-public.mqtt.tencenttdmq.com\",\n \"Port\": 8883,\n \"SubnetId\": null,\n \"Type\": \"mqtt-tls\",\n \"Url\": \"mqttproxy-gn8qoq3z-gz-public.mqtt.tencenttdmq.com:8883\",\n \"VpcId\": null\n }\n ],\n \"InstanceId\": \"mqtt-gn8qoq3z\",\n \"RequestId\": \"3891d712-94f7-4d03-9420-fae4fa3a61ea\",\n \"Rules\": [\n {\n \"Allow\": true,\n \"IpRule\": \"0.0.0.0/0\",\n \"Remark\": \"\"\n }\n ],\n \"Status\": \"NORMAL\"\n }\n}", "title": "示例" } ], @@ -210,7 +204,7 @@ { "document": "示例", "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-7pnqmkrx\"\n}", - "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"ClientNumLimit\": 1000,\n \"CreatedTime\": 1705562417,\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"InstanceName\": \"sunjianxiong-1\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"BASIC\",\n \"Remark\": \"this is remark\",\n \"RequestId\": \"2251b9cf-aedd-4457-ac8d-bc705f48ccb8\",\n \"SkuCode\": \"basic_1k\",\n \"SubscriptionNumLimit\": 1000,\n \"TopicNum\": 1,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000\n }\n}", + "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"ClientNumLimit\": 1000,\n \"CreatedTime\": 1705562417,\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"InstanceName\": \"instance-1\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"BASIC\",\n \"Remark\": \"this is remark\",\n \"RequestId\": \"2251b9cf-aedd-4457-ac8d-bc705f48ccb8\",\n \"SkuCode\": \"basic_1k\",\n \"SubscriptionNumLimit\": 1000,\n \"TopicNum\": 1,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000\n }\n}", "title": "示例" } ], @@ -218,7 +212,7 @@ { "document": "示例", "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTInstanceCert\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-7pnqmkrx\"\n}", - "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"InstanceId\": null,\n \"RequestId\": \"a07a950a-43ea-4c13-a812-7ba4337d186a\",\n \"SSLCaCertId\": null,\n \"SSLServerCertId\": null\n }\n}", + "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"InstanceId\": \"instance-1\",\n \"RequestId\": \"a07a950a-43ea-4c13-a812-7ba4337d186a\",\n \"SSLCaCertId\": \"ca-id\",\n \"SSLServerCertId\": \"server-cert-id\"\n }\n}", "title": "示例" } ], @@ -234,7 +228,7 @@ { "document": "示例", "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTMessage\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Topic\": \"topic24\",\n \"MsgId\": \"0B8D67F0002D6ACBCFC0557BCEBA0001\"\n}", - "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Body\": \"Hello MQTT111111\",\n \"MessageId\": \"0B8D67F0002D6ACBCFC0557BCEBA0001\",\n \"ProduceTime\": \"2024-01-17 14:22:57\",\n \"ProducerAddr\": \"11.176.16.153:51134\",\n \"Properties\": [\n {\n \"Key\": \"TRACE_ON\",\n \"Value\": \"true\"\n },\n {\n \"Key\": \"originMqttTopic\",\n \"Value\": \"mqtt-47ka4rdr%topic24/1\"\n },\n {\n \"Key\": \"INNER_MULTI_DISPATCH\",\n \"Value\": \"%LMQ%mqtt-47ka4rdr%topic24%1%\"\n },\n {\n \"Key\": \"IS_EMPTY_MSG\",\n \"Value\": \"false\"\n },\n {\n \"Key\": \"INNER_MULTI_QUEUE_OFFSET\",\n \"Value\": \"0\"\n },\n {\n \"Key\": \"retryTimes\",\n \"Value\": \"0\"\n },\n {\n \"Key\": \"extData\",\n \"Value\": \"{\\\"qosLevel\\\":\\\"1\\\"}\"\n },\n {\n \"Key\": \"MSG_REGION\",\n \"Value\": \"cd\"\n },\n {\n \"Key\": \"qosLevel\",\n \"Value\": \"1\"\n },\n {\n \"Key\": \"UNIQ_KEY\",\n \"Value\": \"0B8D67F0002D6ACBCFC0557BCEBA0001\"\n },\n {\n \"Key\": \"CLUSTER\",\n \"Value\": \"rmqbk-mqtt\"\n },\n {\n \"Key\": \"TAGS\",\n \"Value\": \"MQTT_COMMON\"\n },\n {\n \"Key\": \"__CLIENT_HOST\",\n \"Value\": \"11.176.16.153:51134\"\n }\n ],\n \"RequestId\": \"e658afc8-e2c0-463e-bf90-3103d881d59f\",\n \"ShowTopicName\": \"topic24\"\n }\n}", + "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Body\": \"Hello MQTT\",\n \"MessageId\": \"0B8D67F0002D6ACBCFC0557BCEBA0001\",\n \"ProduceTime\": \"2024-01-17 14:22:57\",\n \"ProducerAddr\": \"11.176.16.153:51134\",\n \"Properties\": [\n {\n \"Key\": \"TRACE_ON\",\n \"Value\": \"true\"\n },\n {\n \"Key\": \"originMqttTopic\",\n \"Value\": \"mqtt-47ka4rdr%topic24/1\"\n },\n {\n \"Key\": \"INNER_MULTI_DISPATCH\",\n \"Value\": \"%LMQ%mqtt-47ka4rdr%topic24%1%\"\n },\n {\n \"Key\": \"IS_EMPTY_MSG\",\n \"Value\": \"false\"\n },\n {\n \"Key\": \"INNER_MULTI_QUEUE_OFFSET\",\n \"Value\": \"0\"\n },\n {\n \"Key\": \"retryTimes\",\n \"Value\": \"0\"\n },\n {\n \"Key\": \"extData\",\n \"Value\": \"{\\\"qosLevel\\\":\\\"1\\\"}\"\n },\n {\n \"Key\": \"MSG_REGION\",\n \"Value\": \"cd\"\n },\n {\n \"Key\": \"qosLevel\",\n \"Value\": \"1\"\n },\n {\n \"Key\": \"UNIQ_KEY\",\n \"Value\": \"0B8D67F0002D6ACBCFC0557BCEBA0001\"\n },\n {\n \"Key\": \"CLUSTER\",\n \"Value\": \"rmqbk-mqtt\"\n },\n {\n \"Key\": \"TAGS\",\n \"Value\": \"MQTT_COMMON\"\n },\n {\n \"Key\": \"__CLIENT_HOST\",\n \"Value\": \"11.176.16.153:51134\"\n }\n ],\n \"RequestId\": \"e658afc8-e2c0-463e-bf90-3103d881d59f\",\n \"ShowTopicName\": \"topic-home\"\n }\n}", "title": "示例" } ], @@ -250,7 +244,7 @@ { "document": "示例", "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTProductSKUList\n<公共请求参数>\n\n{}", - "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"MQTTProductSkuList\": [\n {\n \"ClientNumLimit\": 1,\n \"InstanceType\": \"BASIC\",\n \"OnSale\": true,\n \"ProxySpecCore\": 2,\n \"ProxySpecCount\": 1,\n \"ProxySpecMemory\": 4,\n \"SkuCode\": \"mqtt_1k\",\n \"SubscriptionNumLimit\": 1,\n \"TopicNumLimit\": 1,\n \"TpsLimit\": 1\n },\n {\n \"ClientNumLimit\": 1000,\n \"InstanceType\": \"BASIC\",\n \"OnSale\": true,\n \"ProxySpecCore\": 1,\n \"ProxySpecCount\": 2,\n \"ProxySpecMemory\": 2,\n \"SkuCode\": \"basic_1k\",\n \"SubscriptionNumLimit\": 1000,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000\n }\n ],\n \"RequestId\": \"2be05982-b125-4259-b965-c487949cd896\",\n \"TotalCount\": 2\n }\n}", + "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"MQTTProductSkuList\": [\n {\n \"ClientNumLimit\": 1000,\n \"InstanceType\": \"BASIC\",\n \"OnSale\": true,\n \"ProxySpecCore\": 1,\n \"ProxySpecCount\": 2,\n \"ProxySpecMemory\": 2,\n \"SkuCode\": \"basic_1k\",\n \"SubscriptionNumLimit\": 1000,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000\n }\n ],\n \"RequestId\": \"2be05982-b125-4259-b965-c487949cd896\",\n \"TotalCount\": 2\n }\n}", "title": "示例" } ], @@ -288,48 +282,48 @@ ], "DescribeRoleList": [ { - "document": "查询角色列表", - "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRoleList\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Offset\": 0,\n \"Limit\": 1\n}", - "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"AccessKey\": \"eyJrZXlJZCI6InJtcS03Mm1vM2E5byIsImFsZyI6IkhTMjU2In0.eyJzdWIiOiJybXEtNzJtbzNhOW9fdGVzdFJvbGUifQ.vrdHDzzfeDsX1c5rhaFcLpJBd_dGIWQIlAPLOuOEDfM\",\n \"CreatedTime\": 1683615280000,\n \"ModifiedTime\": 1683615280000,\n \"PermRead\": true,\n \"PermWrite\": true,\n \"Remark\": \"testRemark\",\n \"RoleName\": \"testRole\",\n \"SecretKey\": \"/tuS7zTKFNmsApaUvq4l5kTnV/GSWJ2m4bGhR62kVYY=\"\n }\n ],\n \"RequestId\": \"346f63a2-dd66-439e-9abc-338a56f6523c\",\n \"TotalCount\": 2\n }\n}", + "document": "查询角色列表成功", + "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRoleList\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Offset\": 0,\n \"Limit\": 20\n}", + "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"c5d126b6-aeeb-40ad-81c0-a94abd43f157\",\n \"TotalCount\": 1,\n \"Data\": [\n {\n \"RoleName\": \"test_role_name\",\n \"AccessKey\": \"ak4ae3zkj2zea6741a2a709\",\n \"SecretKey\": \"skd68607c7dc2be6a4\",\n \"PermRead\": true,\n \"PermWrite\": true,\n \"Remark\": \"\",\n \"CreatedTime\": 1729153015000,\n \"ModifiedTime\": 1729153015000\n }\n ]\n }\n}", "title": "查询角色列表" } ], "DescribeTopic": [ { "document": "查询主题详情", - "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopic\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Topic\": \"test\",\n \"Offset\": 0,\n \"Limit\": 10\n}", - "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"CreatedTime\": 1683601674000,\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"LastUpdateTime\": 0,\n \"Remark\": \"remoark\",\n \"RequestId\": \"f7f7ba8a-4335-4adb-9186-680b91502c42\",\n \"SubscriptionCount\": 0,\n \"SubscriptionData\": [],\n \"Topic\": \"test\",\n \"TopicType\": \"NORMAL\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopic\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Topic\": \"test_topic\",\n \"Offset\": 0,\n \"Limit\": 10\n}", + "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"CreatedTime\": 1683601674000,\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"LastUpdateTime\": 0,\n \"Remark\": \"测试主题\",\n \"RequestId\": \"f7f7ba8a-4335-4adb-9186-680b91502c42\",\n \"SubscriptionCount\": 0,\n \"SubscriptionData\": [],\n \"Topic\": \"test_topic\",\n \"TopicType\": \"NORMAL\"\n }\n}", "title": "查询主题详情" } ], "DescribeTopicList": [ { "document": "查询主题列表", - "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopicList\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Offset\": 0,\n \"Limit\": 1\n}", - "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"QueueNum\": 16,\n \"Remark\": \"remoark\",\n \"Topic\": \"test\",\n \"TopicType\": \"NORMAL\"\n }\n ],\n \"RequestId\": \"927cbd2c-be83-410e-a83f-24dcea1d88d9\",\n \"TotalCount\": 7\n }\n}", + "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopicList\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Offset\": 0,\n \"Limit\": 20\n}", + "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"QueueNum\": 16,\n \"Remark\": \"测试主题\",\n \"Topic\": \"test_topic\",\n \"TopicType\": \"NORMAL\"\n }\n ],\n \"RequestId\": \"927cbd2c-be83-410e-a83f-24dcea1d88d9\",\n \"TotalCount\": 1\n }\n}", "title": "查询主题列表" } ], "ImportSourceClusterConsumerGroups": [ { "document": "", - "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ImportSourceClusterConsumerGroups\n<公共请求参数>\n\n{\n \"TaskId\": \"abc\",\n \"GroupList\": [\n {\n \"GroupName\": \"Test\",\n \"Remark\": \"abc\",\n \"Namespace\": \"\"\n }\n ]\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ImportSourceClusterConsumerGroups\n<公共请求参数>\n\n{\n \"TaskId\": \"n4zk7nv4-d596886f\",\n \"GroupList\": [\n {\n \"GroupName\": \"test_group\",\n \"Remark\": \"测试\",\n \"Namespace\": \"test_namespace\"\n }\n ]\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"c5d126b6-aeeb-40ad-81c0-a94abd43f157\"\n }\n}", "title": "导入源集群消费组" } ], "ImportSourceClusterTopics": [ { "document": "", - "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ImportSourceClusterTopics\n<公共请求参数>\n\n{\n \"TaskId\": \"abc\",\n \"TopicList\": [\n {\n \"TopicName\": \"Test\",\n \"TopicType\": \"Normal\",\n \"QueueNum\": 10,\n \"Remark\": \"abc\",\n \"Namespace\": \"\"\n }\n ]\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ImportSourceClusterTopics\n<公共请求参数>\n\n{\n \"TaskId\": \"215d3ec6-70c9\",\n \"TopicList\": [\n {\n \"TopicName\": \"test_topic\",\n \"TopicType\": \"Normal\",\n \"QueueNum\": 3,\n \"Remark\": \"测试导入\",\n \"Namespace\": \"test_namespace\"\n }\n ]\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"c5d126b6-aeeb-40ad-81c0-a94abd43f157\"\n }\n}", "title": "导入源集群主题列表" } ], "ModifyConsumerGroup": [ { - "document": "修改消费组属性", - "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyConsumerGroup\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"ConsumerGroup\": \"group\",\n \"ConsumeEnable\": true,\n \"ConsumeMessageOrderly\": true,\n \"MaxRetryTimes\": 16,\n \"Remark\": \"test\"\n}", + "document": "修改消费组属性成功", + "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyConsumerGroup\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"ConsumerGroup\": \"test_group\",\n \"ConsumeEnable\": true,\n \"ConsumeMessageOrderly\": true,\n \"MaxRetryTimes\": 16,\n \"Remark\": \"测试修改\"\n}", "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"239a3769-8dc6-41e9-bc01-67be452db5a3\"\n }\n}", "title": "修改消费组属性" } @@ -345,7 +339,7 @@ "ModifyMQTTInsPublicEndpoint": [ { "document": "示例", - "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMQTTInsPublicEndpoint\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Bandwidth\": 2,\n \"Rules\": [\n {\n \"IpRule\": \"2.2.2.2\",\n \"Allow\": true,\n \"Remark\": \"555\"\n }\n ]\n}", + "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMQTTInsPublicEndpoint\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Bandwidth\": 2,\n \"Rules\": [\n {\n \"IpRule\": \"2.2.2.2\",\n \"Allow\": true,\n \"Remark\": \"remark1\"\n }\n ]\n}", "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"02eb3529-3440-44e9-b2c8-1e65c7017c09\"\n }\n}", "title": "示例" } @@ -353,7 +347,7 @@ "ModifyMQTTInstance": [ { "document": "示例", - "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMQTTInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Name\": \"sjx0119\",\n \"Remark\": \"555\"\n}", + "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMQTTInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Name\": \"instance-2\",\n \"Remark\": \"ramark\"\n}", "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"9955522b-ac27-46c1-8a16-3ed6f98f9c5c\"\n }\n}", "title": "示例" } @@ -369,7 +363,7 @@ "ModifyMQTTTopic": [ { "document": "示例", - "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMQTTTopic\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-rvb5xxrn\",\n \"Topic\": \"222\",\n \"Remark\": \"444\"\n}", + "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMQTTTopic\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-rvb5xxrn\",\n \"Topic\": \"topic1\",\n \"Remark\": \"ramark1\"\n}", "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"29a02c3b-66ee-4442-acb7-3545b8e044b7\"\n }\n}", "title": "示例" } @@ -377,15 +371,15 @@ "ModifyMQTTUser": [ { "document": "示例", - "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMQTTUser\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"Username\": \"222\",\n \"Remark\": \"3333\",\n \"PermRead\": true,\n \"PermWrite\": true\n}", + "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMQTTUser\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"Username\": \"user2\",\n \"Remark\": \"remark2\",\n \"PermRead\": true,\n \"PermWrite\": true\n}", "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"85d3aeee-ba25-47cc-8c17-7ad837b877ba\"\n }\n}", "title": "示例" } ], "ModifyRole": [ { - "document": "修改角色", - "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRole\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Role\": \"testRole\",\n \"Remark\": \"test\",\n \"PermRead\": true,\n \"PermWrite\": true\n}", + "document": "修改角色成功", + "input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRole\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Role\": \"test_role_name\",\n \"Remark\": \"测试修改\",\n \"PermRead\": false,\n \"PermWrite\": false\n}", "output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"0608515b-cde2-41d6-933c-169d0d1849c5\"\n }\n}", "title": "修改角色" } diff --git a/tccli/services/vpc/v20170312/api.json b/tccli/services/vpc/v20170312/api.json index 6b1a30a358..f69e4764e2 100644 --- a/tccli/services/vpc/v20170312/api.json +++ b/tccli/services/vpc/v20170312/api.json @@ -10343,15 +10343,6 @@ "required": true, "type": "string" }, - { - "disabled": false, - "document": "云端地址(CIDR)列表。", - "example": "['10.0.0.0/16']", - "member": "string", - "name": "LocalAddress", - "required": true, - "type": "list" - }, { "disabled": false, "document": "客户端地址网段。", @@ -10361,6 +10352,15 @@ "required": true, "type": "string" }, + { + "disabled": false, + "document": "云端地址(CIDR)列表。", + "example": "['10.0.0.0/16']", + "member": "string", + "name": "LocalAddress", + "required": false, + "type": "list" + }, { "disabled": false, "document": "SSL VPN服务端监听协议。当前仅支持 UDP,默认UDP。", diff --git a/tccli/services/waf/v20180125/api.json b/tccli/services/waf/v20180125/api.json index fe066fabe2..2d57b2ee07 100644 --- a/tccli/services/waf/v20180125/api.json +++ b/tccli/services/waf/v20180125/api.json @@ -511,6 +511,13 @@ "output": "DescribePortsResponse", "status": "online" }, + "DescribeProtectionModes": { + "document": "查询Tiga引擎大类规则及其防护模式", + "input": "DescribeProtectionModesRequest", + "name": "查询tiga引擎下大类规则的防护模式", + "output": "DescribeProtectionModesResponse", + "status": "online" + }, "DescribeRuleLimit": { "document": "获取各个模块具体的规格限制", "input": "DescribeRuleLimitRequest", @@ -7098,9 +7105,10 @@ { "disabled": false, "document": "地域封禁的地域列表,要解析成json后使用", - "example": "", + "example": "\"{\\\"areas\\\":[{\\\"en_abbr\\\":\\\"US\\\",\\\"en\\\":\\\"United States\\\",\\\"zh\\\":\\\"美国\\\"},{\\\"en_abbr\\\":\\\"CN\\\",\\\"en\\\":\\\"China\\\",\\\"zh\\\":\\\"中国\\\"},{\\\"en_abbr\\\":\\\"JP\\\",\\\"en\\\":\\\"Japan\\\",\\\"zh\\\":\\\"日本\\\"}]}\"", "member": "string", "name": "Data", + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -10184,6 +10192,52 @@ ], "type": "object" }, + "DescribeProtectionModesRequest": { + "document": "DescribeProtectionModes请求参数结构体", + "members": [ + { + "disabled": false, + "document": "sparta-waf或clb", + "example": "sparta-waf", + "member": "string", + "name": "Edition", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "域名", + "example": "www.abc123.com", + "member": "string", + "name": "Domain", + "required": true, + "type": "string" + } + ], + "type": "object" + }, + "DescribeProtectionModesResponse": { + "document": "DescribeProtectionModes返回参数结构体", + "members": [ + { + "disabled": false, + "document": "规则大类ID及防护模式", + "example": "无", + "member": "TigaMainClassMode", + "name": "Modes", + "output_required": true, + "type": "list", + "value_allowed_null": false + }, + { + "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", + "member": "string", + "name": "RequestId", + "type": "string" + } + ], + "type": "object" + }, "DescribeRuleLimitRequest": { "document": "DescribeRuleLimit请求参数结构体", "members": [ @@ -19780,6 +19834,34 @@ ], "usage": "in" }, + "TigaMainClassMode": { + "document": "Tiga引擎中Mainclass的TypeID和防护模式", + "members": [ + { + "disabled": false, + "document": "MainclassID\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "010000000", + "member": "string", + "name": "TypeID", + "output_required": false, + "required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "防护模式,0表示观察,1表示拦截\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "0", + "member": "int64", + "name": "Mode", + "output_required": false, + "required": false, + "type": "int", + "value_allowed_null": true + } + ], + "usage": "both" + }, "TimedJob": { "document": "规则定时任务数据结构", "members": [ diff --git a/tccli/services/waf/v20180125/examples.json b/tccli/services/waf/v20180125/examples.json index f13db00c14..35132d39ee 100644 --- a/tccli/services/waf/v20180125/examples.json +++ b/tccli/services/waf/v20180125/examples.json @@ -342,7 +342,7 @@ { "document": "", "input": "https://waf.tencentcloudapi.com/?Action=DescribeAreaBanSupportAreas\r\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"Data\": \"{\\\"areas\\\":[{\\\"en_abbr\\\":\\\"US\\\",\\\"en\\\":\\\"United States\\\",\\\"zh\\\":\\\"美国\\\"},{\\\"en_abbr\\\":\\\"CN\\\",\\\"en\\\":\\\"China\\\",\\\"zh\\\":\\\"中国\\\"},{\\\"en_abbr\\\":\\\"JP\\\",\\\"en\\\":\\\"Japan\\\",\\\"zh\\\":\\\"日本\\\"},{\\\"en_abbr\\\":\\\"DE\\\",\\\"en\\\":\\\"Germany\\\",\\\"zh\\\":\\\"德国\\\"},{\\\"en_abbr\\\":\\\"UK\\\",\\\"en\\\":\\\"United Kingdom\\\",\\\"zh\\\":\\\"英国\\\"},{\\\"en_abbr\\\":\\\"KR\\\",\\\"en\\\":\\\"South Korea\\\",\\\"zh\\\":\\\"韩国\\\"},{\\\"en_abbr\\\":\\\"BR\\\",\\\"en\\\":\\\"Brazil\\\",\\\"zh\\\":\\\"巴西\\\"},{\\\"en_abbr\\\":\\\"FR\\\",\\\"en\\\":\\\"France\\\",\\\"zh\\\":\\\"法国\\\"},{\\\"en_abbr\\\":\\\"CA\\\",\\\"en\\\":\\\"Canada\\\",\\\"zh\\\":\\\"加拿大\\\"},{\\\"en_abbr\\\":\\\"IT\\\",\\\"en\\\":\\\"Italy\\\",\\\"zh\\\":\\\"意大利\\\"},{\\\"en_abbr\\\":\\\"AU\\\",\\\"en\\\":\\\"Australia\\\",\\\"zh\\\":\\\"澳大利亚\\\"},{\\\"en_abbr\\\":\\\"NL\\\",\\\"en\\\":\\\"Netherlands\\\",\\\"zh\\\":\\\"荷兰\\\"},{\\\"en_abbr\\\":\\\"RU\\\",\\\"en\\\":\\\"Russia\\\",\\\"zh\\\":\\\"俄罗斯\\\"},{\\\"en_abbr\\\":\\\"IN\\\",\\\"en\\\":\\\"India\\\",\\\"zh\\\":\\\"印度\\\"},{\\\"en_abbr\\\":\\\"ES\\\",\\\"en\\\":\\\"Spain\\\",\\\"zh\\\":\\\"西班牙\\\"},{\\\"en_abbr\\\":\\\"SE\\\",\\\"en\\\":\\\"Sweden\\\",\\\"zh\\\":\\\"瑞典\\\"},{\\\"en_abbr\\\":\\\"ZA\\\",\\\"en\\\":\\\"South Africa\\\",\\\"zh\\\":\\\"南非\\\"},{\\\"en_abbr\\\":\\\"MX\\\",\\\"en\\\":\\\"Mexico\\\",\\\"zh\\\":\\\"墨西哥\\\"},{\\\"en_abbr\\\":\\\"BE\\\",\\\"en\\\":\\\"Belgium\\\",\\\"zh\\\":\\\"比利时\\\"},{\\\"en_abbr\\\":\\\"EG\\\",\\\"en\\\":\\\"Egypt\\\",\\\"zh\\\":\\\"埃及\\\"},{\\\"en_abbr\\\":\\\"PL\\\",\\\"en\\\":\\\"Poland\\\",\\\"zh\\\":\\\"波兰\\\"},{\\\"en_abbr\\\":\\\"CH\\\",\\\"en\\\":\\\"Switzerland\\\",\\\"zh\\\":\\\"瑞士\\\"},{\\\"en_abbr\\\":\\\"AR\\\",\\\"en\\\":\\\"Argentina\\\",\\\"zh\\\":\\\"阿根廷\\\"},{\\\"en_abbr\\\":\\\"ID\\\",\\\"en\\\":\\\"Indonesia\\\",\\\"zh\\\":\\\"印度尼西亚\\\"},{\\\"en_abbr\\\":\\\"CO\\\",\\\"en\\\":\\\"Colombia\\\",\\\"zh\\\":\\\"哥伦比亚\\\"},{\\\"en_abbr\\\":\\\"TR\\\",\\\"en\\\":\\\"Turkey\\\",\\\"zh\\\":\\\"土耳其\\\"},{\\\"en_abbr\\\":\\\"NO\\\",\\\"en\\\":\\\"Norway\\\",\\\"zh\\\":\\\"挪威\\\"},{\\\"en_abbr\\\":\\\"VN\\\",\\\"en\\\":\\\"Vietnam\\\",\\\"zh\\\":\\\"越南\\\"},{\\\"en_abbr\\\":\\\"SG\\\",\\\"en\\\":\\\"Singapore\\\",\\\"zh\\\":\\\"新加坡\\\"},{\\\"en_abbr\\\":\\\"FI\\\",\\\"en\\\":\\\"Finland\\\",\\\"zh\\\":\\\"芬兰\\\"},{\\\"en_abbr\\\":\\\"IR\\\",\\\"en\\\":\\\"Iran\\\",\\\"zh\\\":\\\"伊朗\\\"},{\\\"en_abbr\\\":\\\"DK\\\",\\\"en\\\":\\\"Denmark\\\",\\\"zh\\\":\\\"丹麦\\\"},{\\\"en_abbr\\\":\\\"MA\\\",\\\"en\\\":\\\"Morocco\\\",\\\"zh\\\":\\\"摩洛哥\\\"},{\\\"en_abbr\\\":\\\"AT\\\",\\\"en\\\":\\\"Austria\\\",\\\"zh\\\":\\\"奥地利\\\"},{\\\"en_abbr\\\":\\\"UA\\\",\\\"en\\\":\\\"Ukraine\\\",\\\"zh\\\":\\\"乌克兰\\\"},{\\\"en_abbr\\\":\\\"SA\\\",\\\"en\\\":\\\"Saudi Arabia\\\",\\\"zh\\\":\\\"沙特阿拉伯\\\"},{\\\"en_abbr\\\":\\\"CL\\\",\\\"en\\\":\\\"Chile\\\",\\\"zh\\\":\\\"智利\\\"},{\\\"en_abbr\\\":\\\"CZ\\\",\\\"en\\\":\\\"Czech\\\",\\\"zh\\\":\\\"捷克\\\"},{\\\"en_abbr\\\":\\\"TH\\\",\\\"en\\\":\\\"Thailand\\\",\\\"zh\\\":\\\"泰国\\\"},{\\\"en_abbr\\\":\\\"RO\\\",\\\"en\\\":\\\"Romania\\\",\\\"zh\\\":\\\"罗马尼亚\\\"},{\\\"en_abbr\\\":\\\"SC\\\",\\\"en\\\":\\\"Seychelles\\\",\\\"zh\\\":\\\"塞舌尔\\\"},{\\\"en_abbr\\\":\\\"IL\\\",\\\"en\\\":\\\"Israel\\\",\\\"zh\\\":\\\"以色列\\\"},{\\\"en_abbr\\\":\\\"NZ\\\",\\\"en\\\":\\\"New Zealand\\\",\\\"zh\\\":\\\"新西兰\\\"},{\\\"en_abbr\\\":\\\"TN\\\",\\\"en\\\":\\\"Tunisia\\\",\\\"zh\\\":\\\"突尼斯\\\"},{\\\"en_abbr\\\":\\\"VE\\\",\\\"en\\\":\\\"Venezuela\\\",\\\"zh\\\":\\\"委内瑞拉\\\"},{\\\"en_abbr\\\":\\\"PT\\\",\\\"en\\\":\\\"Portugal\\\",\\\"zh\\\":\\\"葡萄牙\\\"},{\\\"en_abbr\\\":\\\"MY\\\",\\\"en\\\":\\\"Malaysia\\\",\\\"zh\\\":\\\"马来西亚\\\"},{\\\"en_abbr\\\":\\\"IE\\\",\\\"en\\\":\\\"Ireland\\\",\\\"zh\\\":\\\"爱尔兰\\\"},{\\\"en_abbr\\\":\\\"HU\\\",\\\"en\\\":\\\"Hungary\\\",\\\"zh\\\":\\\"匈牙利\\\"},{\\\"en_abbr\\\":\\\"GR\\\",\\\"en\\\":\\\"Greece\\\",\\\"zh\\\":\\\"希腊\\\"},{\\\"en_abbr\\\":\\\"PH\\\",\\\"en\\\":\\\"Philippines\\\",\\\"zh\\\":\\\"菲律宾\\\"},{\\\"en_abbr\\\":\\\"KE\\\",\\\"en\\\":\\\"Kenya\\\",\\\"zh\\\":\\\"肯尼亚\\\"},{\\\"en_abbr\\\":\\\"PK\\\",\\\"en\\\":\\\"Pakistan\\\",\\\"zh\\\":\\\"巴基斯坦\\\"},{\\\"en_abbr\\\":\\\"DZ\\\",\\\"en\\\":\\\"Algeria\\\",\\\"zh\\\":\\\"阿尔及利亚\\\"},{\\\"en_abbr\\\":\\\"BG\\\",\\\"en\\\":\\\"Bulgaria\\\",\\\"zh\\\":\\\"保加利亚\\\"},{\\\"en_abbr\\\":\\\"AE\\\",\\\"en\\\":\\\"United Arab Emirates\\\",\\\"zh\\\":\\\"阿联酋\\\"},{\\\"en_abbr\\\":\\\"PE\\\",\\\"en\\\":\\\"Peru\\\",\\\"zh\\\":\\\"秘鲁\\\"},{\\\"en_abbr\\\":\\\"NG\\\",\\\"en\\\":\\\"Nigeria\\\",\\\"zh\\\":\\\"尼日利亚\\\"},{\\\"en_abbr\\\":\\\"KZ\\\",\\\"en\\\":\\\"Kazakhstan\\\",\\\"zh\\\":\\\"哈萨克斯坦\\\"},{\\\"en_abbr\\\":\\\"SK\\\",\\\"en\\\":\\\"Slovakia\\\",\\\"zh\\\":\\\"斯洛伐克\\\"},{\\\"en_abbr\\\":\\\"EC\\\",\\\"en\\\":\\\"Ecuador\\\",\\\"zh\\\":\\\"厄瓜多尔\\\"},{\\\"en_abbr\\\":\\\"SI\\\",\\\"en\\\":\\\"Slovenia\\\",\\\"zh\\\":\\\"斯洛文尼亚\\\"},{\\\"en_abbr\\\":\\\"CR\\\",\\\"en\\\":\\\"Costa Rica\\\",\\\"zh\\\":\\\"哥斯达黎加\\\"},{\\\"en_abbr\\\":\\\"MU\\\",\\\"en\\\":\\\"Mauritius\\\",\\\"zh\\\":\\\"毛里求斯\\\"},{\\\"en_abbr\\\":\\\"LT\\\",\\\"en\\\":\\\"Lithuania\\\",\\\"zh\\\":\\\"立陶宛\\\"},{\\\"en_abbr\\\":\\\"UY\\\",\\\"en\\\":\\\"Uruguay\\\",\\\"zh\\\":\\\"乌拉圭\\\"},{\\\"en_abbr\\\":\\\"RS\\\",\\\"en\\\":\\\"Serbia\\\",\\\"zh\\\":\\\"塞尔维亚\\\"},{\\\"en_abbr\\\":\\\"GH\\\",\\\"en\\\":\\\"Ghana\\\",\\\"zh\\\":\\\"加纳\\\"},{\\\"en_abbr\\\":\\\"HR\\\",\\\"en\\\":\\\"Croatia\\\",\\\"zh\\\":\\\"克罗地亚\\\"},{\\\"en_abbr\\\":\\\"KW\\\",\\\"en\\\":\\\"Kuwait\\\",\\\"zh\\\":\\\"科威特\\\"},{\\\"en_abbr\\\":\\\"SD\\\",\\\"en\\\":\\\"Sudan\\\",\\\"zh\\\":\\\"苏丹\\\"},{\\\"en_abbr\\\":\\\"PA\\\",\\\"en\\\":\\\"Panama\\\",\\\"zh\\\":\\\"巴拿马\\\"},{\\\"en_abbr\\\":\\\"BY\\\",\\\"en\\\":\\\"Belarus\\\",\\\"zh\\\":\\\"白俄罗斯\\\"},{\\\"en_abbr\\\":\\\"LV\\\",\\\"en\\\":\\\"Latvia\\\",\\\"zh\\\":\\\"拉脱维亚\\\"},{\\\"en_abbr\\\":\\\"BD\\\",\\\"en\\\":\\\"Bangladesh\\\",\\\"zh\\\":\\\"孟加拉\\\"},{\\\"en_abbr\\\":\\\"ZM\\\",\\\"en\\\":\\\"Zambia\\\",\\\"zh\\\":\\\"赞比亚\\\"},{\\\"en_abbr\\\":\\\"DM\\\",\\\"en\\\":\\\"Dominica\\\",\\\"zh\\\":\\\"多米尼加\\\"},{\\\"en_abbr\\\":\\\"LU\\\",\\\"en\\\":\\\"Luxembourg\\\",\\\"zh\\\":\\\"卢森堡\\\"},{\\\"en_abbr\\\":\\\"UG\\\",\\\"en\\\":\\\"Uganda\\\",\\\"zh\\\":\\\"乌干达\\\"},{\\\"en_abbr\\\":\\\"EE\\\",\\\"en\\\":\\\"Estonia\\\",\\\"zh\\\":\\\"爱沙尼亚\\\"},{\\\"en_abbr\\\":\\\"MD\\\",\\\"en\\\":\\\"Moldova\\\",\\\"zh\\\":\\\"摩尔多瓦\\\"},{\\\"en_abbr\\\":\\\"GE\\\",\\\"en\\\":\\\"Georgia\\\",\\\"zh\\\":\\\"格鲁吉亚\\\"},{\\\"en_abbr\\\":\\\"AO\\\",\\\"en\\\":\\\"Angola\\\",\\\"zh\\\":\\\"安哥拉\\\"},{\\\"en_abbr\\\":\\\"CI\\\",\\\"en\\\":\\\"Cote D'Ivoire\\\",\\\"zh\\\":\\\"科特迪瓦\\\"},{\\\"en_abbr\\\":\\\"SY\\\",\\\"en\\\":\\\"Syria\\\",\\\"zh\\\":\\\"叙利亚\\\"},{\\\"en_abbr\\\":\\\"BO\\\",\\\"en\\\":\\\"Bolivia\\\",\\\"zh\\\":\\\"玻利维亚\\\"},{\\\"en_abbr\\\":\\\"PY\\\",\\\"en\\\":\\\"Paraguay\\\",\\\"zh\\\":\\\"巴拉圭\\\"},{\\\"en_abbr\\\":\\\"TZ\\\",\\\"en\\\":\\\"Tanzania\\\",\\\"zh\\\":\\\"坦桑尼亚\\\"},{\\\"en_abbr\\\":\\\"OM\\\",\\\"en\\\":\\\"Oman\\\",\\\"zh\\\":\\\"阿曼\\\"},{\\\"en_abbr\\\":\\\"CY\\\",\\\"en\\\":\\\"Cyprus\\\",\\\"zh\\\":\\\"塞浦路斯\\\"},{\\\"en_abbr\\\":\\\"PR\\\",\\\"en\\\":\\\"Puerto Rico\\\",\\\"zh\\\":\\\"波多黎各\\\"},{\\\"en_abbr\\\":\\\"IS\\\",\\\"en\\\":\\\"Iceland\\\",\\\"zh\\\":\\\"冰岛\\\"},{\\\"en_abbr\\\":\\\"QA\\\",\\\"en\\\":\\\"Qatar\\\",\\\"zh\\\":\\\"卡塔尔\\\"},{\\\"en_abbr\\\":\\\"BA\\\",\\\"en\\\":\\\"Bosnia and Herzegovina\\\",\\\"zh\\\":\\\"波斯尼亚和黑塞哥维那\\\"},{\\\"en_abbr\\\":\\\"AZ\\\",\\\"en\\\":\\\"Azerbaijan\\\",\\\"zh\\\":\\\"阿塞拜疆\\\"},{\\\"en_abbr\\\":\\\"CM\\\",\\\"en\\\":\\\"Cameroon\\\",\\\"zh\\\":\\\"喀麦隆\\\"},{\\\"en_abbr\\\":\\\"PS\\\",\\\"en\\\":\\\"Palestine\\\",\\\"zh\\\":\\\"巴勒斯坦\\\"},{\\\"en_abbr\\\":\\\"MK\\\",\\\"en\\\":\\\"Macedonia\\\",\\\"zh\\\":\\\"马其顿\\\"},{\\\"en_abbr\\\":\\\"IQ\\\",\\\"en\\\":\\\"Iraq\\\",\\\"zh\\\":\\\"伊拉克\\\"},{\\\"en_abbr\\\":\\\"JO\\\",\\\"en\\\":\\\"Jordan\\\",\\\"zh\\\":\\\"约旦\\\"},{\\\"en_abbr\\\":\\\"SV\\\",\\\"en\\\":\\\"El Salvador\\\",\\\"zh\\\":\\\"萨尔瓦多\\\"},{\\\"en_abbr\\\":\\\"MT\\\",\\\"en\\\":\\\"Malta\\\",\\\"zh\\\":\\\"马耳他\\\"},{\\\"en_abbr\\\":\\\"AM\\\",\\\"en\\\":\\\"Armenia\\\",\\\"zh\\\":\\\"亚美尼亚\\\"},{\\\"en_abbr\\\":\\\"LB\\\",\\\"en\\\":\\\"Lebanon\\\",\\\"zh\\\":\\\"黎巴嫩\\\"},{\\\"en_abbr\\\":\\\"GT\\\",\\\"en\\\":\\\"Guatemala\\\",\\\"zh\\\":\\\"危地马拉\\\"},{\\\"en_abbr\\\":\\\"NP\\\",\\\"en\\\":\\\"Nepal\\\",\\\"zh\\\":\\\"尼泊尔\\\"},{\\\"en_abbr\\\":\\\"LK\\\",\\\"en\\\":\\\"Sri Lanka\\\",\\\"zh\\\":\\\"斯里兰卡\\\"},{\\\"en_abbr\\\":\\\"MW\\\",\\\"en\\\":\\\"Malawi\\\",\\\"zh\\\":\\\"马拉维\\\"},{\\\"en_abbr\\\":\\\"TT\\\",\\\"en\\\":\\\"Trinidad and Tobago\\\",\\\"zh\\\":\\\"特立尼达和多巴哥\\\"},{\\\"en_abbr\\\":\\\"HN\\\",\\\"en\\\":\\\"Honduras\\\",\\\"zh\\\":\\\"洪都拉斯\\\"},{\\\"en_abbr\\\":\\\"NA\\\",\\\"en\\\":\\\"Namibia\\\",\\\"zh\\\":\\\"纳米比亚\\\"},{\\\"en_abbr\\\":\\\"BH\\\",\\\"en\\\":\\\"Bahrain\\\",\\\"zh\\\":\\\"巴林\\\"},{\\\"en_abbr\\\":\\\"MZ\\\",\\\"en\\\":\\\"Mozambique\\\",\\\"zh\\\":\\\"莫桑比克\\\"},{\\\"en_abbr\\\":\\\"GA\\\",\\\"en\\\":\\\"Gabon\\\",\\\"zh\\\":\\\"加蓬\\\"},{\\\"en_abbr\\\":\\\"NI\\\",\\\"en\\\":\\\"Nicaragua\\\",\\\"zh\\\":\\\"尼加拉瓜\\\"},{\\\"en_abbr\\\":\\\"LY\\\",\\\"en\\\":\\\"Libya\\\",\\\"zh\\\":\\\"利比亚\\\"},{\\\"en_abbr\\\":\\\"AL\\\",\\\"en\\\":\\\"Albania\\\",\\\"zh\\\":\\\"阿尔巴尼亚\\\"},{\\\"en_abbr\\\":\\\"SN\\\",\\\"en\\\":\\\"Senegal\\\",\\\"zh\\\":\\\"塞内加尔\\\"},{\\\"en_abbr\\\":\\\"KH\\\",\\\"en\\\":\\\"Cambodia\\\",\\\"zh\\\":\\\"柬埔寨\\\"},{\\\"en_abbr\\\":\\\"ET\\\",\\\"en\\\":\\\"Ethiopia\\\",\\\"zh\\\":\\\"埃塞俄比亚\\\"},{\\\"en_abbr\\\":\\\"TG\\\",\\\"en\\\":\\\"Togo\\\",\\\"zh\\\":\\\"多哥\\\"},{\\\"en_abbr\\\":\\\"BF\\\",\\\"en\\\":\\\"Burkina Faso\\\",\\\"zh\\\":\\\"布基纳法索\\\"},{\\\"en_abbr\\\":\\\"RE\\\",\\\"en\\\":\\\"Reunion\\\",\\\"zh\\\":\\\"留尼汪\\\"},{\\\"en_abbr\\\":\\\"KG\\\",\\\"en\\\":\\\"Kyrgyzstan\\\",\\\"zh\\\":\\\"吉尔吉斯斯坦\\\"},{\\\"en_abbr\\\":\\\"GM\\\",\\\"en\\\":\\\"Gambia\\\",\\\"zh\\\":\\\"冈比亚\\\"},{\\\"en_abbr\\\":\\\"RW\\\",\\\"en\\\":\\\"Rwanda\\\",\\\"zh\\\":\\\"卢旺达\\\"},{\\\"en_abbr\\\":\\\"CU\\\",\\\"en\\\":\\\"Cuba\\\",\\\"zh\\\":\\\"古巴\\\"},{\\\"en_abbr\\\":\\\"MN\\\",\\\"en\\\":\\\"Mongolia\\\",\\\"zh\\\":\\\"蒙古\\\"},{\\\"en_abbr\\\":\\\"UZ\\\",\\\"en\\\":\\\"Uzbekistan\\\",\\\"zh\\\":\\\"乌兹别克斯坦\\\"},{\\\"en_abbr\\\":\\\"ME\\\",\\\"en\\\":\\\"Montenegro\\\",\\\"zh\\\":\\\"黑山\\\"},{\\\"en_abbr\\\":\\\"GU\\\",\\\"en\\\":\\\"Guam\\\",\\\"zh\\\":\\\"关岛\\\"},{\\\"en_abbr\\\":\\\"JM\\\",\\\"en\\\":\\\"Jamaica\\\",\\\"zh\\\":\\\"牙买加\\\"},{\\\"en_abbr\\\":\\\"BN\\\",\\\"en\\\":\\\"Brunei\\\",\\\"zh\\\":\\\"文莱\\\"},{\\\"en_abbr\\\":\\\"CRC\\\",\\\"en\\\":\\\"Curaçao\\\",\\\"zh\\\":\\\"库拉索\\\"},{\\\"en_abbr\\\":\\\"MG\\\",\\\"en\\\":\\\"Madagascar\\\",\\\"zh\\\":\\\"马达加斯加\\\"},{\\\"en_abbr\\\":\\\"MM\\\",\\\"en\\\":\\\"Myanmar\\\",\\\"zh\\\":\\\"缅甸\\\"},{\\\"en_abbr\\\":\\\"YE\\\",\\\"en\\\":\\\"Yemen\\\",\\\"zh\\\":\\\"也门\\\"},{\\\"en_abbr\\\":\\\"KY\\\",\\\"en\\\":\\\"Cayman Islands\\\",\\\"zh\\\":\\\"开曼群岛\\\"},{\\\"en_abbr\\\":\\\"GI\\\",\\\"en\\\":\\\"Gibraltar\\\",\\\"zh\\\":\\\"直布罗陀\\\"},{\\\"en_abbr\\\":\\\"BB\\\",\\\"en\\\":\\\"Barbados\\\",\\\"zh\\\":\\\"巴巴多斯\\\"},{\\\"en_abbr\\\":\\\"BZ\\\",\\\"en\\\":\\\"Belize\\\",\\\"zh\\\":\\\"伯利兹\\\"},{\\\"en_abbr\\\":\\\"AF\\\",\\\"en\\\":\\\"Afghanistan\\\",\\\"zh\\\":\\\"阿富汗\\\"},{\\\"en_abbr\\\":\\\"HT\\\",\\\"en\\\":\\\"Haiti\\\",\\\"zh\\\":\\\"海地\\\"},{\\\"en_abbr\\\":\\\"BJ\\\",\\\"en\\\":\\\"Benin\\\",\\\"zh\\\":\\\"贝宁\\\"},{\\\"en_abbr\\\":\\\"NC\\\",\\\"en\\\":\\\"New Caledonia\\\",\\\"zh\\\":\\\"新喀里多尼亚\\\"},{\\\"en_abbr\\\":\\\"CD\\\",\\\"en\\\":\\\"Congo (Congo-Kinshasa)\\\",\\\"zh\\\":\\\"刚果(金)\\\"},{\\\"en_abbr\\\":\\\"BW\\\",\\\"en\\\":\\\"Botswana\\\",\\\"zh\\\":\\\"博茨瓦纳\\\"},{\\\"en_abbr\\\":\\\"FJ\\\",\\\"en\\\":\\\"Fiji\\\",\\\"zh\\\":\\\"斐济群岛\\\"},{\\\"en_abbr\\\":\\\"CG\\\",\\\"en\\\":\\\"Congo\\\",\\\"zh\\\":\\\"刚果(布)\\\"},{\\\"en_abbr\\\":\\\"BS\\\",\\\"en\\\":\\\"Bahamas\\\",\\\"zh\\\":\\\"巴哈马\\\"},{\\\"en_abbr\\\":\\\"ZW\\\",\\\"en\\\":\\\"Zimbabwe\\\",\\\"zh\\\":\\\"津巴布韦\\\"},{\\\"en_abbr\\\":\\\"LS\\\",\\\"en\\\":\\\"Lesotho\\\",\\\"zh\\\":\\\"莱索托\\\"},{\\\"en_abbr\\\":\\\"USV\\\",\\\"en\\\":\\\"U.S. Virgin Islands\\\",\\\"zh\\\":\\\"美属维尔京群岛\\\"},{\\\"en_abbr\\\":\\\"BM\\\",\\\"en\\\":\\\"Bermuda\\\",\\\"zh\\\":\\\"百慕大\\\"},{\\\"en_abbr\\\":\\\"LI\\\",\\\"en\\\":\\\"Liechtenstein\\\",\\\"zh\\\":\\\"列支敦士登\\\"},{\\\"en_abbr\\\":\\\"LR\\\",\\\"en\\\":\\\"Liberia\\\",\\\"zh\\\":\\\"利比里亚\\\"},{\\\"en_abbr\\\":\\\"AW\\\",\\\"en\\\":\\\"Aruba\\\",\\\"zh\\\":\\\"阿鲁巴\\\"},{\\\"en_abbr\\\":\\\"SL\\\",\\\"en\\\":\\\"Sierra Leone\\\",\\\"zh\\\":\\\"塞拉利昂\\\"},{\\\"en_abbr\\\":\\\"ML\\\",\\\"en\\\":\\\"Mali\\\",\\\"zh\\\":\\\"马里\\\"},{\\\"en_abbr\\\":\\\"MV\\\",\\\"en\\\":\\\"Maldives\\\",\\\"zh\\\":\\\"马尔代夫\\\"},{\\\"en_abbr\\\":\\\"SR\\\",\\\"en\\\":\\\"Suriname\\\",\\\"zh\\\":\\\"苏里南\\\"},{\\\"en_abbr\\\":\\\"LO\\\",\\\"en\\\":\\\"Laos\\\",\\\"zh\\\":\\\"老挝\\\"},{\\\"en_abbr\\\":\\\"TJ\\\",\\\"en\\\":\\\"Tajikistan\\\",\\\"zh\\\":\\\"塔吉克斯坦\\\"},{\\\"en_abbr\\\":\\\"MC\\\",\\\"en\\\":\\\"Monaco\\\",\\\"zh\\\":\\\"摩纳哥\\\"},{\\\"en_abbr\\\":\\\"GY\\\",\\\"en\\\":\\\"Guyana\\\",\\\"zh\\\":\\\"圭亚那\\\"},{\\\"en_abbr\\\":\\\"AG\\\",\\\"en\\\":\\\"Antigua and Barbuda\\\",\\\"zh\\\":\\\"安提瓜和巴布达\\\"},{\\\"en_abbr\\\":\\\"PG\\\",\\\"en\\\":\\\"Papua New Guinea\\\",\\\"zh\\\":\\\"巴布亚新几内亚\\\"},{\\\"en_abbr\\\":\\\"JE\\\",\\\"en\\\":\\\"Jersey\\\",\\\"zh\\\":\\\"泽西岛\\\"},{\\\"en_abbr\\\":\\\"PF\\\",\\\"en\\\":\\\"French Polynesia\\\",\\\"zh\\\":\\\"法属波利尼西亚\\\"},{\\\"en_abbr\\\":\\\"AD\\\",\\\"en\\\":\\\"Andorra\\\",\\\"zh\\\":\\\"安道尔\\\"},{\\\"en_abbr\\\":\\\"DJ\\\",\\\"en\\\":\\\"Djibouti\\\",\\\"zh\\\":\\\"吉布提\\\"},{\\\"en_abbr\\\":\\\"SZ\\\",\\\"en\\\":\\\"Swaziland\\\",\\\"zh\\\":\\\"斯威士兰\\\"},{\\\"en_abbr\\\":\\\"FO\\\",\\\"en\\\":\\\"Faroe Islands\\\",\\\"zh\\\":\\\"法罗群岛\\\"},{\\\"en_abbr\\\":\\\"SO\\\",\\\"en\\\":\\\"Somalia\\\",\\\"zh\\\":\\\"索马里\\\"},{\\\"en_abbr\\\":\\\"MR\\\",\\\"en\\\":\\\"Mauritania\\\",\\\"zh\\\":\\\"毛里塔尼亚\\\"},{\\\"en_abbr\\\":\\\"BSV\\\",\\\"en\\\":\\\"The British Virgin Islands\\\",\\\"zh\\\":\\\"英属维尔京群岛\\\"},{\\\"en_abbr\\\":\\\"NE\\\",\\\"en\\\":\\\"Niger\\\",\\\"zh\\\":\\\"尼日尔\\\"},{\\\"en_abbr\\\":\\\"BI\\\",\\\"en\\\":\\\"Burundi\\\",\\\"zh\\\":\\\"布隆迪\\\"},{\\\"en_abbr\\\":\\\"SM\\\",\\\"en\\\":\\\"San Marino\\\",\\\"zh\\\":\\\"圣马力诺\\\"},{\\\"en_abbr\\\":\\\"MF\\\",\\\"en\\\":\\\"Sint Maarten\\\",\\\"zh\\\":\\\"荷属圣马丁\\\"},{\\\"en_abbr\\\":\\\"BT\\\",\\\"en\\\":\\\"Bhutan\\\",\\\"zh\\\":\\\"不丹\\\"},{\\\"en_abbr\\\":\\\"GN\\\",\\\"en\\\":\\\"Guinea\\\",\\\"zh\\\":\\\"几内亚\\\"},{\\\"en_abbr\\\":\\\"GL\\\",\\\"en\\\":\\\"Greenland\\\",\\\"zh\\\":\\\"格陵兰\\\"},{\\\"en_abbr\\\":\\\"IM\\\",\\\"en\\\":\\\"Isle of Man\\\",\\\"zh\\\":\\\"马恩岛\\\"},{\\\"en_abbr\\\":\\\"CV\\\",\\\"en\\\":\\\"Cape Verde\\\",\\\"zh\\\":\\\"佛得角\\\"},{\\\"en_abbr\\\":\\\"CN\\\",\\\"en\\\":\\\"Caribisch Nederland\\\",\\\"zh\\\":\\\"荷兰加勒比区\\\"},{\\\"en_abbr\\\":\\\"GF\\\",\\\"en\\\":\\\"French Guiana\\\",\\\"zh\\\":\\\"法属圭亚那\\\"},{\\\"en_abbr\\\":\\\"TD\\\",\\\"en\\\":\\\"Chad\\\",\\\"zh\\\":\\\"乍得\\\"},{\\\"en_abbr\\\":\\\"GG\\\",\\\"en\\\":\\\"Guernsey\\\",\\\"zh\\\":\\\"根西岛\\\"},{\\\"en_abbr\\\":\\\"GQ\\\",\\\"en\\\":\\\"Equatorial Guinea\\\",\\\"zh\\\":\\\"赤道几内亚\\\"},{\\\"en_abbr\\\":\\\"LC\\\",\\\"en\\\":\\\"Saint Lucia\\\",\\\"zh\\\":\\\"圣卢西亚\\\"},{\\\"en_abbr\\\":\\\"WS\\\",\\\"en\\\":\\\"Samoa\\\",\\\"zh\\\":\\\"萨摩亚\\\"},{\\\"en_abbr\\\":\\\"VN\\\",\\\"en\\\":\\\"Vanuatu\\\",\\\"zh\\\":\\\"瓦努阿图\\\"},{\\\"en_abbr\\\":\\\"GP\\\",\\\"en\\\":\\\"Guadeloupe\\\",\\\"zh\\\":\\\"瓜德罗普\\\"},{\\\"en_abbr\\\":\\\"EastTimor\\\",\\\"en\\\":\\\"East Timor\\\",\\\"zh\\\":\\\"东帝汶\\\"},{\\\"en_abbr\\\":\\\"NM\\\",\\\"en\\\":\\\"Northern Mariana Islands\\\",\\\"zh\\\":\\\"北马里亚纳群岛\\\"},{\\\"en_abbr\\\":\\\"TM\\\",\\\"en\\\":\\\"Turkmenistan\\\",\\\"zh\\\":\\\"土库曼斯坦\\\"},{\\\"en_abbr\\\":\\\"KN\\\",\\\"en\\\":\\\"Saint Kitts-Nevis\\\",\\\"zh\\\":\\\"圣基茨和尼维斯\\\"},{\\\"en_abbr\\\":\\\"SD\\\",\\\"en\\\":\\\"South Sudan\\\",\\\"zh\\\":\\\"南苏丹\\\"},{\\\"en_abbr\\\":\\\"MQ\\\",\\\"en\\\":\\\"Martinique\\\",\\\"zh\\\":\\\"马提尼克\\\"},{\\\"en_abbr\\\":\\\"VA\\\",\\\"en\\\":\\\"Vatican City\\\",\\\"zh\\\":\\\"梵蒂冈\\\"},{\\\"en_abbr\\\":\\\"SB\\\",\\\"en\\\":\\\"Solomon Islands\\\",\\\"zh\\\":\\\"所罗门群岛\\\"},{\\\"en_abbr\\\":\\\"DM\\\",\\\"en\\\":\\\"The Commonwealth of Dominica\\\",\\\"zh\\\":\\\"多米尼克\\\"},{\\\"en_abbr\\\":\\\"TC\\\",\\\"en\\\":\\\"The Turks and Caicos Islands\\\",\\\"zh\\\":\\\"特克斯和凯科斯群岛\\\"},{\\\"en_abbr\\\":\\\"TO\\\",\\\"en\\\":\\\"Tonga\\\",\\\"zh\\\":\\\"汤加\\\"},{\\\"en_abbr\\\":\\\"NR\\\",\\\"en\\\":\\\"Nauru\\\",\\\"zh\\\":\\\"瑙鲁\\\"},{\\\"en_abbr\\\":\\\"AN\\\",\\\"en\\\":\\\"Saint Martin\\\",\\\"zh\\\":\\\"法属圣马丁\\\"},{\\\"en_abbr\\\":\\\"GD\\\",\\\"en\\\":\\\"Grenada\\\",\\\"zh\\\":\\\"格林纳达\\\"},{\\\"en_abbr\\\":\\\"ST\\\",\\\"en\\\":\\\"Sao Tome and Principe\\\",\\\"zh\\\":\\\"圣多美和普林西比\\\"},{\\\"en_abbr\\\":\\\"VG\\\",\\\"en\\\":\\\"Saint Vincent and the Grenadines\\\",\\\"zh\\\":\\\"圣文森特和格林纳丁斯\\\"},{\\\"en_abbr\\\":\\\"AI\\\",\\\"en\\\":\\\"Anguilla\\\",\\\"zh\\\":\\\"安圭拉\\\"},{\\\"en_abbr\\\":\\\"MF\\\",\\\"en\\\":\\\"Micronesia\\\",\\\"zh\\\":\\\"密克罗尼西亚联邦\\\"},{\\\"en_abbr\\\":\\\"CK\\\",\\\"en\\\":\\\"Cook Islands\\\",\\\"zh\\\":\\\"库克群岛\\\"},{\\\"en_abbr\\\":\\\"TV\\\",\\\"en\\\":\\\"Tuvalu\\\",\\\"zh\\\":\\\"图瓦卢\\\"},{\\\"en_abbr\\\":\\\"GW\\\",\\\"en\\\":\\\"Guinea-Bissau\\\",\\\"zh\\\":\\\"几内亚比绍\\\"},{\\\"en_abbr\\\":\\\"AS\\\",\\\"en\\\":\\\"American Samoa\\\",\\\"zh\\\":\\\"美属萨摩亚\\\"},{\\\"en_abbr\\\":\\\"PW\\\",\\\"en\\\":\\\"Palau\\\",\\\"zh\\\":\\\"帕劳\\\"},{\\\"en_abbr\\\":\\\"CF\\\",\\\"en\\\":\\\"Central African Republic\\\",\\\"zh\\\":\\\"中非\\\"},{\\\"en_abbr\\\":\\\"KM\\\",\\\"en\\\":\\\"Comoros\\\",\\\"zh\\\":\\\"科摩罗\\\"}],\\\"provinces\\\":[{\\\"en\\\":\\\"Beijing\\\",\\\"zh\\\":\\\"北京\\\"},{\\\"en\\\":\\\"Tianjing\\\",\\\"zh\\\":\\\"天津\\\"},{\\\"en\\\":\\\"Hebei\\\",\\\"zh\\\":\\\"河北\\\"},{\\\"en\\\":\\\"Macao\\\",\\\"zh\\\":\\\"澳门\\\"},{\\\"en\\\":\\\"Anhui\\\",\\\"zh\\\":\\\"安徽\\\"},{\\\"en\\\":\\\"Chongqing\\\",\\\"zh\\\":\\\"重庆\\\"},{\\\"en\\\":\\\"Fujian\\\",\\\"zh\\\":\\\"福建\\\"},{\\\"en\\\":\\\"Guangdong\\\",\\\"zh\\\":\\\"广东\\\"},{\\\"en\\\":\\\"Guangxi\\\",\\\"zh\\\":\\\"广西\\\"},{\\\"en\\\":\\\"Guizhou\\\",\\\"zh\\\":\\\"贵州\\\"},{\\\"en\\\":\\\"Gansu\\\",\\\"zh\\\":\\\"甘肃\\\"},{\\\"en\\\":\\\"Henan\\\",\\\"zh\\\":\\\"河南\\\"},{\\\"en\\\":\\\"Hubei\\\",\\\"zh\\\":\\\"湖北\\\"},{\\\"en\\\":\\\"Hunan\\\",\\\"zh\\\":\\\"湖南\\\"},{\\\"en\\\":\\\"Hainan\\\",\\\"zh\\\":\\\"海南\\\"},{\\\"en\\\":\\\"Jiangsu\\\",\\\"zh\\\":\\\"江苏\\\"},{\\\"en\\\":\\\"Jilin\\\",\\\"zh\\\":\\\"吉林\\\"},{\\\"en\\\":\\\"Jiangxi\\\",\\\"zh\\\":\\\"江西\\\"},{\\\"en\\\":\\\"Liaoning\\\",\\\"zh\\\":\\\"辽宁\\\"},{\\\"en\\\":\\\"Ningxia\\\",\\\"zh\\\":\\\"宁夏\\\"},{\\\"en\\\":\\\"Qinghai\\\",\\\"zh\\\":\\\"青海\\\"},{\\\"en\\\":\\\"Shanxi\\\",\\\"zh\\\":\\\"山西\\\"},{\\\"en\\\":\\\"Shanghai\\\",\\\"zh\\\":\\\"上海\\\"},{\\\"en\\\":\\\"Shandong\\\",\\\"zh\\\":\\\"山东\\\"},{\\\"en\\\":\\\"Sichuan\\\",\\\"zh\\\":\\\"四川\\\"},{\\\"en\\\":\\\"Shaanxi\\\",\\\"zh\\\":\\\"陕西\\\"},{\\\"en\\\":\\\"Taiwan\\\",\\\"zh\\\":\\\"台湾\\\"},{\\\"en\\\":\\\"Tibet\\\",\\\"zh\\\":\\\"西藏\\\"},{\\\"en\\\":\\\"Xinjiang\\\",\\\"zh\\\":\\\"新疆\\\"},{\\\"en\\\":\\\"Hong Kong\\\",\\\"zh\\\":\\\"香港\\\"},{\\\"en\\\":\\\"Yunnan\\\",\\\"zh\\\":\\\"云南\\\"},{\\\"en\\\":\\\"Zhejiang\\\",\\\"zh\\\":\\\"浙江\\\"},{\\\"en\\\":\\\"Guangzhou\\\",\\\"zh\\\":\\\"广州\\\"},{\\\"en\\\":\\\"Shenzhen\\\",\\\"zh\\\":\\\"深圳\\\"},{\\\"en\\\":\\\"Heilongjiang\\\",\\\"zh\\\":\\\"黑龙江\\\"},{\\\"en\\\":\\\"Inner Mongolia Autonomous Regio\\\",\\\"zh\\\":\\\"内蒙古\\\"}]}\\n\",\n \"RequestId\": \"05ba4f7c-f1b7-40c3-9038-a5fb74e8873a\"\n }\n}", + "output": "{\n \"Response\": {\n \"Data\": \"{\\\"areas\\\":[{\\\"en_abbr\\\":\\\"US\\\",\\\"en\\\":\\\"United States\\\",\\\"zh\\\":\\\"美国\\\"},{\\\"en_abbr\\\":\\\"CN\\\",\\\"en\\\":\\\"China\\\",\\\"zh\\\":\\\"中国\\\"},{\\\"en_abbr\\\":\\\"JP\\\",\\\"en\\\":\\\"Japan\\\",\\\"zh\\\":\\\"日本\\\"},{\\\"en_abbr\\\":\\\"DE\\\",\\\"en\\\":\\\"Germany\\\",\\\"zh\\\":\\\"德国\\\"},{\\\"en_abbr\\\":\\\"UK\\\",\\\"en\\\":\\\"United Kingdom\\\",\\\"zh\\\":\\\"英国\\\"},{\\\"en_abbr\\\":\\\"KR\\\",\\\"en\\\":\\\"South Korea\\\",\\\"zh\\\":\\\"韩国\\\"},{\\\"en_abbr\\\":\\\"BR\\\",\\\"en\\\":\\\"Brazil\\\",\\\"zh\\\":\\\"巴西\\\"},{\\\"en_abbr\\\":\\\"FR\\\",\\\"en\\\":\\\"France\\\",\\\"zh\\\":\\\"法国\\\"},{\\\"en_abbr\\\":\\\"CA\\\",\\\"en\\\":\\\"Canada\\\",\\\"zh\\\":\\\"加拿大\\\"},{\\\"en_abbr\\\":\\\"IT\\\",\\\"en\\\":\\\"Italy\\\",\\\"zh\\\":\\\"意大利\\\"},{\\\"en_abbr\\\":\\\"AU\\\",\\\"en\\\":\\\"Australia\\\",\\\"zh\\\":\\\"澳大利亚\\\"},{\\\"en_abbr\\\":\\\"NL\\\",\\\"en\\\":\\\"Netherlands\\\",\\\"zh\\\":\\\"荷兰\\\"},{\\\"en_abbr\\\":\\\"IN\\\",\\\"en\\\":\\\"India\\\",\\\"zh\\\":\\\"印度\\\"},{\\\"en_abbr\\\":\\\"ES\\\",\\\"en\\\":\\\"Spain\\\",\\\"zh\\\":\\\"西班牙\\\"},{\\\"en_abbr\\\":\\\"SE\\\",\\\"en\\\":\\\"Sweden\\\",\\\"zh\\\":\\\"瑞典\\\"},{\\\"en_abbr\\\":\\\"ZA\\\",\\\"en\\\":\\\"South Africa\\\",\\\"zh\\\":\\\"南非\\\"},{\\\"en_abbr\\\":\\\"MX\\\",\\\"en\\\":\\\"Mexico\\\",\\\"zh\\\":\\\"墨西哥\\\"},{\\\"en_abbr\\\":\\\"BE\\\",\\\"en\\\":\\\"Belgium\\\",\\\"zh\\\":\\\"比利时\\\"},{\\\"en_abbr\\\":\\\"EG\\\",\\\"en\\\":\\\"Egypt\\\",\\\"zh\\\":\\\"埃及\\\"},{\\\"en_abbr\\\":\\\"PL\\\",\\\"en\\\":\\\"Poland\\\",\\\"zh\\\":\\\"波兰\\\"},{\\\"en_abbr\\\":\\\"CH\\\",\\\"en\\\":\\\"Switzerland\\\",\\\"zh\\\":\\\"瑞士\\\"},{\\\"en_abbr\\\":\\\"AR\\\",\\\"en\\\":\\\"Argentina\\\",\\\"zh\\\":\\\"阿根廷\\\"},{\\\"en_abbr\\\":\\\"ID\\\",\\\"en\\\":\\\"Indonesia\\\",\\\"zh\\\":\\\"印度尼西亚\\\"},{\\\"en_abbr\\\":\\\"CO\\\",\\\"en\\\":\\\"Colombia\\\",\\\"zh\\\":\\\"哥伦比亚\\\"},{\\\"en_abbr\\\":\\\"TR\\\",\\\"en\\\":\\\"Turkey\\\",\\\"zh\\\":\\\"土耳其\\\"},{\\\"en_abbr\\\":\\\"NO\\\",\\\"en\\\":\\\"Norway\\\",\\\"zh\\\":\\\"挪威\\\"},{\\\"en_abbr\\\":\\\"VN\\\",\\\"en\\\":\\\"Vietnam\\\",\\\"zh\\\":\\\"越南\\\"},{\\\"en_abbr\\\":\\\"SG\\\",\\\"en\\\":\\\"Singapore\\\",\\\"zh\\\":\\\"新加坡\\\"},{\\\"en_abbr\\\":\\\"FI\\\",\\\"en\\\":\\\"Finland\\\",\\\"zh\\\":\\\"芬兰\\\"},{\\\"en_abbr\\\":\\\"IR\\\",\\\"en\\\":\\\"Iran\\\",\\\"zh\\\":\\\"伊朗\\\"},{\\\"en_abbr\\\":\\\"DK\\\",\\\"en\\\":\\\"Denmark\\\",\\\"zh\\\":\\\"丹麦\\\"},{\\\"en_abbr\\\":\\\"MA\\\",\\\"en\\\":\\\"Morocco\\\",\\\"zh\\\":\\\"摩洛哥\\\"},{\\\"en_abbr\\\":\\\"AT\\\",\\\"en\\\":\\\"Austria\\\",\\\"zh\\\":\\\"奥地利\\\"},{\\\"en_abbr\\\":\\\"UA\\\",\\\"en\\\":\\\"Ukraine\\\",\\\"zh\\\":\\\"乌克兰\\\"},{\\\"en_abbr\\\":\\\"SA\\\",\\\"en\\\":\\\"Saudi Arabia\\\",\\\"zh\\\":\\\"沙特阿拉伯\\\"},{\\\"en_abbr\\\":\\\"CL\\\",\\\"en\\\":\\\"Chile\\\",\\\"zh\\\":\\\"智利\\\"},{\\\"en_abbr\\\":\\\"CZ\\\",\\\"en\\\":\\\"Czech\\\",\\\"zh\\\":\\\"捷克\\\"},{\\\"en_abbr\\\":\\\"TH\\\",\\\"en\\\":\\\"Thailand\\\",\\\"zh\\\":\\\"泰国\\\"},{\\\"en_abbr\\\":\\\"RO\\\",\\\"en\\\":\\\"Romania\\\",\\\"zh\\\":\\\"罗马尼亚\\\"},{\\\"en_abbr\\\":\\\"SC\\\",\\\"en\\\":\\\"Seychelles\\\",\\\"zh\\\":\\\"塞舌尔\\\"},{\\\"en_abbr\\\":\\\"IL\\\",\\\"en\\\":\\\"Israel\\\",\\\"zh\\\":\\\"以色列\\\"},{\\\"en_abbr\\\":\\\"NZ\\\",\\\"en\\\":\\\"New Zealand\\\",\\\"zh\\\":\\\"新西兰\\\"},{\\\"en_abbr\\\":\\\"TN\\\",\\\"en\\\":\\\"Tunisia\\\",\\\"zh\\\":\\\"突尼斯\\\"},{\\\"en_abbr\\\":\\\"VE\\\",\\\"en\\\":\\\"Venezuela\\\",\\\"zh\\\":\\\"委内瑞拉\\\"},{\\\"en_abbr\\\":\\\"PT\\\",\\\"en\\\":\\\"Portugal\\\",\\\"zh\\\":\\\"葡萄牙\\\"},{\\\"en_abbr\\\":\\\"MY\\\",\\\"en\\\":\\\"Malaysia\\\",\\\"zh\\\":\\\"马来西亚\\\"},{\\\"en_abbr\\\":\\\"IE\\\",\\\"en\\\":\\\"Ireland\\\",\\\"zh\\\":\\\"爱尔兰\\\"},{\\\"en_abbr\\\":\\\"HU\\\",\\\"en\\\":\\\"Hungary\\\",\\\"zh\\\":\\\"匈牙利\\\"},{\\\"en_abbr\\\":\\\"GR\\\",\\\"en\\\":\\\"Greece\\\",\\\"zh\\\":\\\"希腊\\\"},{\\\"en_abbr\\\":\\\"PH\\\",\\\"en\\\":\\\"Philippines\\\",\\\"zh\\\":\\\"菲律宾\\\"},{\\\"en_abbr\\\":\\\"KE\\\",\\\"en\\\":\\\"Kenya\\\",\\\"zh\\\":\\\"肯尼亚\\\"},{\\\"en_abbr\\\":\\\"PK\\\",\\\"en\\\":\\\"Pakistan\\\",\\\"zh\\\":\\\"巴基斯坦\\\"},{\\\"en_abbr\\\":\\\"DZ\\\",\\\"en\\\":\\\"Algeria\\\",\\\"zh\\\":\\\"阿尔及利亚\\\"},{\\\"en_abbr\\\":\\\"BG\\\",\\\"en\\\":\\\"Bulgaria\\\",\\\"zh\\\":\\\"保加利亚\\\"},{\\\"en_abbr\\\":\\\"AE\\\",\\\"en\\\":\\\"United Arab Emirates\\\",\\\"zh\\\":\\\"阿联酋\\\"},{\\\"en_abbr\\\":\\\"PE\\\",\\\"en\\\":\\\"Peru\\\",\\\"zh\\\":\\\"秘鲁\\\"},{\\\"en_abbr\\\":\\\"NG\\\",\\\"en\\\":\\\"Nigeria\\\",\\\"zh\\\":\\\"尼日利亚\\\"},{\\\"en_abbr\\\":\\\"KZ\\\",\\\"en\\\":\\\"Kazakhstan\\\",\\\"zh\\\":\\\"哈萨克斯坦\\\"},{\\\"en_abbr\\\":\\\"SK\\\",\\\"en\\\":\\\"Slovakia\\\",\\\"zh\\\":\\\"斯洛伐克\\\"},{\\\"en_abbr\\\":\\\"EC\\\",\\\"en\\\":\\\"Ecuador\\\",\\\"zh\\\":\\\"厄瓜多尔\\\"},{\\\"en_abbr\\\":\\\"SI\\\",\\\"en\\\":\\\"Slovenia\\\",\\\"zh\\\":\\\"斯洛文尼亚\\\"},{\\\"en_abbr\\\":\\\"CR\\\",\\\"en\\\":\\\"Costa Rica\\\",\\\"zh\\\":\\\"哥斯达黎加\\\"},{\\\"en_abbr\\\":\\\"MU\\\",\\\"en\\\":\\\"Mauritius\\\",\\\"zh\\\":\\\"毛里求斯\\\"},{\\\"en_abbr\\\":\\\"LT\\\",\\\"en\\\":\\\"Lithuania\\\",\\\"zh\\\":\\\"立陶宛\\\"},{\\\"en_abbr\\\":\\\"UY\\\",\\\"en\\\":\\\"Uruguay\\\",\\\"zh\\\":\\\"乌拉圭\\\"},{\\\"en_abbr\\\":\\\"RS\\\",\\\"en\\\":\\\"Serbia\\\",\\\"zh\\\":\\\"塞尔维亚\\\"},{\\\"en_abbr\\\":\\\"GH\\\",\\\"en\\\":\\\"Ghana\\\",\\\"zh\\\":\\\"加纳\\\"},{\\\"en_abbr\\\":\\\"HR\\\",\\\"en\\\":\\\"Croatia\\\",\\\"zh\\\":\\\"克罗地亚\\\"},{\\\"en_abbr\\\":\\\"KW\\\",\\\"en\\\":\\\"Kuwait\\\",\\\"zh\\\":\\\"科威特\\\"},{\\\"en_abbr\\\":\\\"SD\\\",\\\"en\\\":\\\"Sudan\\\",\\\"zh\\\":\\\"苏丹\\\"},{\\\"en_abbr\\\":\\\"PA\\\",\\\"en\\\":\\\"Panama\\\",\\\"zh\\\":\\\"巴拿马\\\"},{\\\"en_abbr\\\":\\\"LV\\\",\\\"en\\\":\\\"Latvia\\\",\\\"zh\\\":\\\"拉脱维亚\\\"},{\\\"en_abbr\\\":\\\"BD\\\",\\\"en\\\":\\\"Bangladesh\\\",\\\"zh\\\":\\\"孟加拉\\\"},{\\\"en_abbr\\\":\\\"ZM\\\",\\\"en\\\":\\\"Zambia\\\",\\\"zh\\\":\\\"赞比亚\\\"},{\\\"en_abbr\\\":\\\"DM\\\",\\\"en\\\":\\\"Dominica\\\",\\\"zh\\\":\\\"多米尼加\\\"},{\\\"en_abbr\\\":\\\"LU\\\",\\\"en\\\":\\\"Luxembourg\\\",\\\"zh\\\":\\\"卢森堡\\\"},{\\\"en_abbr\\\":\\\"UG\\\",\\\"en\\\":\\\"Uganda\\\",\\\"zh\\\":\\\"乌干达\\\"},{\\\"en_abbr\\\":\\\"EE\\\",\\\"en\\\":\\\"Estonia\\\",\\\"zh\\\":\\\"爱沙尼亚\\\"},{\\\"en_abbr\\\":\\\"MD\\\",\\\"en\\\":\\\"Moldova\\\",\\\"zh\\\":\\\"摩尔多瓦\\\"},{\\\"en_abbr\\\":\\\"GE\\\",\\\"en\\\":\\\"Georgia\\\",\\\"zh\\\":\\\"格鲁吉亚\\\"},{\\\"en_abbr\\\":\\\"AO\\\",\\\"en\\\":\\\"Angola\\\",\\\"zh\\\":\\\"安哥拉\\\"},{\\\"en_abbr\\\":\\\"CI\\\",\\\"en\\\":\\\"Cote D'Ivoire\\\",\\\"zh\\\":\\\"科特迪瓦\\\"},{\\\"en_abbr\\\":\\\"SY\\\",\\\"en\\\":\\\"Syria\\\",\\\"zh\\\":\\\"叙利亚\\\"},{\\\"en_abbr\\\":\\\"BO\\\",\\\"en\\\":\\\"Bolivia\\\",\\\"zh\\\":\\\"玻利维亚\\\"},{\\\"en_abbr\\\":\\\"PY\\\",\\\"en\\\":\\\"Paraguay\\\",\\\"zh\\\":\\\"巴拉圭\\\"},{\\\"en_abbr\\\":\\\"TZ\\\",\\\"en\\\":\\\"Tanzania\\\",\\\"zh\\\":\\\"坦桑尼亚\\\"},{\\\"en_abbr\\\":\\\"OM\\\",\\\"en\\\":\\\"Oman\\\",\\\"zh\\\":\\\"阿曼\\\"},{\\\"en_abbr\\\":\\\"CY\\\",\\\"en\\\":\\\"Cyprus\\\",\\\"zh\\\":\\\"塞浦路斯\\\"},{\\\"en_abbr\\\":\\\"PR\\\",\\\"en\\\":\\\"Puerto Rico\\\",\\\"zh\\\":\\\"波多黎各\\\"},{\\\"en_abbr\\\":\\\"IS\\\",\\\"en\\\":\\\"Iceland\\\",\\\"zh\\\":\\\"冰岛\\\"},{\\\"en_abbr\\\":\\\"QA\\\",\\\"en\\\":\\\"Qatar\\\",\\\"zh\\\":\\\"卡塔尔\\\"},{\\\"en_abbr\\\":\\\"BA\\\",\\\"en\\\":\\\"Bosnia and Herzegovina\\\",\\\"zh\\\":\\\"波斯尼亚和黑塞哥维那\\\"},{\\\"en_abbr\\\":\\\"AZ\\\",\\\"en\\\":\\\"Azerbaijan\\\",\\\"zh\\\":\\\"阿塞拜疆\\\"},{\\\"en_abbr\\\":\\\"CM\\\",\\\"en\\\":\\\"Cameroon\\\",\\\"zh\\\":\\\"喀麦隆\\\"},{\\\"en_abbr\\\":\\\"PS\\\",\\\"en\\\":\\\"Palestine\\\",\\\"zh\\\":\\\"巴勒斯坦\\\"},{\\\"en_abbr\\\":\\\"MK\\\",\\\"en\\\":\\\"Macedonia\\\",\\\"zh\\\":\\\"马其顿\\\"},{\\\"en_abbr\\\":\\\"IQ\\\",\\\"en\\\":\\\"Iraq\\\",\\\"zh\\\":\\\"伊拉克\\\"},{\\\"en_abbr\\\":\\\"JO\\\",\\\"en\\\":\\\"Jordan\\\",\\\"zh\\\":\\\"约旦\\\"},{\\\"en_abbr\\\":\\\"SV\\\",\\\"en\\\":\\\"El Salvador\\\",\\\"zh\\\":\\\"萨尔瓦多\\\"},{\\\"en_abbr\\\":\\\"MT\\\",\\\"en\\\":\\\"Malta\\\",\\\"zh\\\":\\\"马耳他\\\"},{\\\"en_abbr\\\":\\\"AM\\\",\\\"en\\\":\\\"Armenia\\\",\\\"zh\\\":\\\"亚美尼亚\\\"},{\\\"en_abbr\\\":\\\"LB\\\",\\\"en\\\":\\\"Lebanon\\\",\\\"zh\\\":\\\"黎巴嫩\\\"},{\\\"en_abbr\\\":\\\"GT\\\",\\\"en\\\":\\\"Guatemala\\\",\\\"zh\\\":\\\"危地马拉\\\"},{\\\"en_abbr\\\":\\\"NP\\\",\\\"en\\\":\\\"Nepal\\\",\\\"zh\\\":\\\"尼泊尔\\\"},{\\\"en_abbr\\\":\\\"LK\\\",\\\"en\\\":\\\"Sri Lanka\\\",\\\"zh\\\":\\\"斯里兰卡\\\"},{\\\"en_abbr\\\":\\\"MW\\\",\\\"en\\\":\\\"Malawi\\\",\\\"zh\\\":\\\"马拉维\\\"},{\\\"en_abbr\\\":\\\"TT\\\",\\\"en\\\":\\\"Trinidad and Tobago\\\",\\\"zh\\\":\\\"特立尼达和多巴哥\\\"},{\\\"en_abbr\\\":\\\"HN\\\",\\\"en\\\":\\\"Honduras\\\",\\\"zh\\\":\\\"洪都拉斯\\\"},{\\\"en_abbr\\\":\\\"NA\\\",\\\"en\\\":\\\"Namibia\\\",\\\"zh\\\":\\\"纳米比亚\\\"},{\\\"en_abbr\\\":\\\"BH\\\",\\\"en\\\":\\\"Bahrain\\\",\\\"zh\\\":\\\"巴林\\\"},{\\\"en_abbr\\\":\\\"MZ\\\",\\\"en\\\":\\\"Mozambique\\\",\\\"zh\\\":\\\"莫桑比克\\\"},{\\\"en_abbr\\\":\\\"GA\\\",\\\"en\\\":\\\"Gabon\\\",\\\"zh\\\":\\\"加蓬\\\"},{\\\"en_abbr\\\":\\\"NI\\\",\\\"en\\\":\\\"Nicaragua\\\",\\\"zh\\\":\\\"尼加拉瓜\\\"},{\\\"en_abbr\\\":\\\"LY\\\",\\\"en\\\":\\\"Libya\\\",\\\"zh\\\":\\\"利比亚\\\"},{\\\"en_abbr\\\":\\\"AL\\\",\\\"en\\\":\\\"Albania\\\",\\\"zh\\\":\\\"阿尔巴尼亚\\\"},{\\\"en_abbr\\\":\\\"SN\\\",\\\"en\\\":\\\"Senegal\\\",\\\"zh\\\":\\\"塞内加尔\\\"},{\\\"en_abbr\\\":\\\"KH\\\",\\\"en\\\":\\\"Cambodia\\\",\\\"zh\\\":\\\"柬埔寨\\\"},{\\\"en_abbr\\\":\\\"ET\\\",\\\"en\\\":\\\"Ethiopia\\\",\\\"zh\\\":\\\"埃塞俄比亚\\\"},{\\\"en_abbr\\\":\\\"TG\\\",\\\"en\\\":\\\"Togo\\\",\\\"zh\\\":\\\"多哥\\\"},{\\\"en_abbr\\\":\\\"BF\\\",\\\"en\\\":\\\"Burkina Faso\\\",\\\"zh\\\":\\\"布基纳法索\\\"},{\\\"en_abbr\\\":\\\"RE\\\",\\\"en\\\":\\\"Reunion\\\",\\\"zh\\\":\\\"留尼汪\\\"},{\\\"en_abbr\\\":\\\"KG\\\",\\\"en\\\":\\\"Kyrgyzstan\\\",\\\"zh\\\":\\\"吉尔吉斯斯坦\\\"},{\\\"en_abbr\\\":\\\"GM\\\",\\\"en\\\":\\\"Gambia\\\",\\\"zh\\\":\\\"冈比亚\\\"},{\\\"en_abbr\\\":\\\"RW\\\",\\\"en\\\":\\\"Rwanda\\\",\\\"zh\\\":\\\"卢旺达\\\"},{\\\"en_abbr\\\":\\\"CU\\\",\\\"en\\\":\\\"Cuba\\\",\\\"zh\\\":\\\"古巴\\\"},{\\\"en_abbr\\\":\\\"MN\\\",\\\"en\\\":\\\"Mongolia\\\",\\\"zh\\\":\\\"蒙古\\\"},{\\\"en_abbr\\\":\\\"UZ\\\",\\\"en\\\":\\\"Uzbekistan\\\",\\\"zh\\\":\\\"乌兹别克斯坦\\\"},{\\\"en_abbr\\\":\\\"ME\\\",\\\"en\\\":\\\"Montenegro\\\",\\\"zh\\\":\\\"黑山\\\"},{\\\"en_abbr\\\":\\\"GU\\\",\\\"en\\\":\\\"Guam\\\",\\\"zh\\\":\\\"关岛\\\"},{\\\"en_abbr\\\":\\\"JM\\\",\\\"en\\\":\\\"Jamaica\\\",\\\"zh\\\":\\\"牙买加\\\"},{\\\"en_abbr\\\":\\\"BN\\\",\\\"en\\\":\\\"Brunei\\\",\\\"zh\\\":\\\"文莱\\\"},{\\\"en_abbr\\\":\\\"CRC\\\",\\\"en\\\":\\\"Curaçao\\\",\\\"zh\\\":\\\"库拉索\\\"},{\\\"en_abbr\\\":\\\"MG\\\",\\\"en\\\":\\\"Madagascar\\\",\\\"zh\\\":\\\"马达加斯加\\\"},{\\\"en_abbr\\\":\\\"MM\\\",\\\"en\\\":\\\"Myanmar\\\",\\\"zh\\\":\\\"缅甸\\\"},{\\\"en_abbr\\\":\\\"YE\\\",\\\"en\\\":\\\"Yemen\\\",\\\"zh\\\":\\\"也门\\\"},{\\\"en_abbr\\\":\\\"KY\\\",\\\"en\\\":\\\"Cayman Islands\\\",\\\"zh\\\":\\\"开曼群岛\\\"},{\\\"en_abbr\\\":\\\"GI\\\",\\\"en\\\":\\\"Gibraltar\\\",\\\"zh\\\":\\\"直布罗陀\\\"},{\\\"en_abbr\\\":\\\"BB\\\",\\\"en\\\":\\\"Barbados\\\",\\\"zh\\\":\\\"巴巴多斯\\\"},{\\\"en_abbr\\\":\\\"BZ\\\",\\\"en\\\":\\\"Belize\\\",\\\"zh\\\":\\\"伯利兹\\\"},{\\\"en_abbr\\\":\\\"AF\\\",\\\"en\\\":\\\"Afghanistan\\\",\\\"zh\\\":\\\"阿富汗\\\"},{\\\"en_abbr\\\":\\\"HT\\\",\\\"en\\\":\\\"Haiti\\\",\\\"zh\\\":\\\"海地\\\"},{\\\"en_abbr\\\":\\\"BJ\\\",\\\"en\\\":\\\"Benin\\\",\\\"zh\\\":\\\"贝宁\\\"},{\\\"en_abbr\\\":\\\"NC\\\",\\\"en\\\":\\\"New Caledonia\\\",\\\"zh\\\":\\\"新喀里多尼亚\\\"},{\\\"en_abbr\\\":\\\"CD\\\",\\\"en\\\":\\\"Congo (Congo-Kinshasa)\\\",\\\"zh\\\":\\\"刚果(金)\\\"},{\\\"en_abbr\\\":\\\"BW\\\",\\\"en\\\":\\\"Botswana\\\",\\\"zh\\\":\\\"博茨瓦纳\\\"},{\\\"en_abbr\\\":\\\"FJ\\\",\\\"en\\\":\\\"Fiji\\\",\\\"zh\\\":\\\"斐济群岛\\\"},{\\\"en_abbr\\\":\\\"CG\\\",\\\"en\\\":\\\"Congo\\\",\\\"zh\\\":\\\"刚果(布)\\\"},{\\\"en_abbr\\\":\\\"BS\\\",\\\"en\\\":\\\"Bahamas\\\",\\\"zh\\\":\\\"巴哈马\\\"},{\\\"en_abbr\\\":\\\"ZW\\\",\\\"en\\\":\\\"Zimbabwe\\\",\\\"zh\\\":\\\"津巴布韦\\\"},{\\\"en_abbr\\\":\\\"LS\\\",\\\"en\\\":\\\"Lesotho\\\",\\\"zh\\\":\\\"莱索托\\\"},{\\\"en_abbr\\\":\\\"USV\\\",\\\"en\\\":\\\"U.S. Virgin Islands\\\",\\\"zh\\\":\\\"美属维尔京群岛\\\"},{\\\"en_abbr\\\":\\\"BM\\\",\\\"en\\\":\\\"Bermuda\\\",\\\"zh\\\":\\\"百慕大\\\"},{\\\"en_abbr\\\":\\\"LI\\\",\\\"en\\\":\\\"Liechtenstein\\\",\\\"zh\\\":\\\"列支敦士登\\\"},{\\\"en_abbr\\\":\\\"LR\\\",\\\"en\\\":\\\"Liberia\\\",\\\"zh\\\":\\\"利比里亚\\\"},{\\\"en_abbr\\\":\\\"AW\\\",\\\"en\\\":\\\"Aruba\\\",\\\"zh\\\":\\\"阿鲁巴\\\"},{\\\"en_abbr\\\":\\\"SL\\\",\\\"en\\\":\\\"Sierra Leone\\\",\\\"zh\\\":\\\"塞拉利昂\\\"},{\\\"en_abbr\\\":\\\"ML\\\",\\\"en\\\":\\\"Mali\\\",\\\"zh\\\":\\\"马里\\\"},{\\\"en_abbr\\\":\\\"MV\\\",\\\"en\\\":\\\"Maldives\\\",\\\"zh\\\":\\\"马尔代夫\\\"},{\\\"en_abbr\\\":\\\"SR\\\",\\\"en\\\":\\\"Suriname\\\",\\\"zh\\\":\\\"苏里南\\\"},{\\\"en_abbr\\\":\\\"LO\\\",\\\"en\\\":\\\"Laos\\\",\\\"zh\\\":\\\"老挝\\\"},{\\\"en_abbr\\\":\\\"TJ\\\",\\\"en\\\":\\\"Tajikistan\\\",\\\"zh\\\":\\\"塔吉克斯坦\\\"},{\\\"en_abbr\\\":\\\"MC\\\",\\\"en\\\":\\\"Monaco\\\",\\\"zh\\\":\\\"摩纳哥\\\"},{\\\"en_abbr\\\":\\\"GY\\\",\\\"en\\\":\\\"Guyana\\\",\\\"zh\\\":\\\"圭亚那\\\"},{\\\"en_abbr\\\":\\\"AG\\\",\\\"en\\\":\\\"Antigua and Barbuda\\\",\\\"zh\\\":\\\"安提瓜和巴布达\\\"},{\\\"en_abbr\\\":\\\"PG\\\",\\\"en\\\":\\\"Papua New Guinea\\\",\\\"zh\\\":\\\"巴布亚新几内亚\\\"},{\\\"en_abbr\\\":\\\"JE\\\",\\\"en\\\":\\\"Jersey\\\",\\\"zh\\\":\\\"泽西岛\\\"},{\\\"en_abbr\\\":\\\"PF\\\",\\\"en\\\":\\\"French Polynesia\\\",\\\"zh\\\":\\\"法属波利尼西亚\\\"},{\\\"en_abbr\\\":\\\"AD\\\",\\\"en\\\":\\\"Andorra\\\",\\\"zh\\\":\\\"安道尔\\\"},{\\\"en_abbr\\\":\\\"DJ\\\",\\\"en\\\":\\\"Djibouti\\\",\\\"zh\\\":\\\"吉布提\\\"},{\\\"en_abbr\\\":\\\"SZ\\\",\\\"en\\\":\\\"Swaziland\\\",\\\"zh\\\":\\\"斯威士兰\\\"},{\\\"en_abbr\\\":\\\"FO\\\",\\\"en\\\":\\\"Faroe Islands\\\",\\\"zh\\\":\\\"法罗群岛\\\"},{\\\"en_abbr\\\":\\\"SO\\\",\\\"en\\\":\\\"Somalia\\\",\\\"zh\\\":\\\"索马里\\\"},{\\\"en_abbr\\\":\\\"MR\\\",\\\"en\\\":\\\"Mauritania\\\",\\\"zh\\\":\\\"毛里塔尼亚\\\"},{\\\"en_abbr\\\":\\\"BSV\\\",\\\"en\\\":\\\"The British Virgin Islands\\\",\\\"zh\\\":\\\"英属维尔京群岛\\\"},{\\\"en_abbr\\\":\\\"NE\\\",\\\"en\\\":\\\"Niger\\\",\\\"zh\\\":\\\"尼日尔\\\"},{\\\"en_abbr\\\":\\\"BI\\\",\\\"en\\\":\\\"Burundi\\\",\\\"zh\\\":\\\"布隆迪\\\"},{\\\"en_abbr\\\":\\\"SM\\\",\\\"en\\\":\\\"San Marino\\\",\\\"zh\\\":\\\"圣马力诺\\\"},{\\\"en_abbr\\\":\\\"MF\\\",\\\"en\\\":\\\"Sint Maarten\\\",\\\"zh\\\":\\\"荷属圣马丁\\\"},{\\\"en_abbr\\\":\\\"BT\\\",\\\"en\\\":\\\"Bhutan\\\",\\\"zh\\\":\\\"不丹\\\"},{\\\"en_abbr\\\":\\\"GN\\\",\\\"en\\\":\\\"Guinea\\\",\\\"zh\\\":\\\"几内亚\\\"},{\\\"en_abbr\\\":\\\"GL\\\",\\\"en\\\":\\\"Greenland\\\",\\\"zh\\\":\\\"格陵兰\\\"},{\\\"en_abbr\\\":\\\"IM\\\",\\\"en\\\":\\\"Isle of Man\\\",\\\"zh\\\":\\\"马恩岛\\\"},{\\\"en_abbr\\\":\\\"CV\\\",\\\"en\\\":\\\"Cape Verde\\\",\\\"zh\\\":\\\"佛得角\\\"},{\\\"en_abbr\\\":\\\"CN\\\",\\\"en\\\":\\\"Caribisch Nederland\\\",\\\"zh\\\":\\\"荷兰加勒比区\\\"},{\\\"en_abbr\\\":\\\"GF\\\",\\\"en\\\":\\\"French Guiana\\\",\\\"zh\\\":\\\"法属圭亚那\\\"},{\\\"en_abbr\\\":\\\"TD\\\",\\\"en\\\":\\\"Chad\\\",\\\"zh\\\":\\\"乍得\\\"},{\\\"en_abbr\\\":\\\"GG\\\",\\\"en\\\":\\\"Guernsey\\\",\\\"zh\\\":\\\"根西岛\\\"},{\\\"en_abbr\\\":\\\"GQ\\\",\\\"en\\\":\\\"Equatorial Guinea\\\",\\\"zh\\\":\\\"赤道几内亚\\\"},{\\\"en_abbr\\\":\\\"LC\\\",\\\"en\\\":\\\"Saint Lucia\\\",\\\"zh\\\":\\\"圣卢西亚\\\"},{\\\"en_abbr\\\":\\\"WS\\\",\\\"en\\\":\\\"Samoa\\\",\\\"zh\\\":\\\"萨摩亚\\\"},{\\\"en_abbr\\\":\\\"VN\\\",\\\"en\\\":\\\"Vanuatu\\\",\\\"zh\\\":\\\"瓦努阿图\\\"},{\\\"en_abbr\\\":\\\"GP\\\",\\\"en\\\":\\\"Guadeloupe\\\",\\\"zh\\\":\\\"瓜德罗普\\\"},{\\\"en_abbr\\\":\\\"EastTimor\\\",\\\"en\\\":\\\"East Timor\\\",\\\"zh\\\":\\\"东帝汶\\\"},{\\\"en_abbr\\\":\\\"NM\\\",\\\"en\\\":\\\"Northern Mariana Islands\\\",\\\"zh\\\":\\\"北马里亚纳群岛\\\"},{\\\"en_abbr\\\":\\\"TM\\\",\\\"en\\\":\\\"Turkmenistan\\\",\\\"zh\\\":\\\"土库曼斯坦\\\"},{\\\"en_abbr\\\":\\\"KN\\\",\\\"en\\\":\\\"Saint Kitts-Nevis\\\",\\\"zh\\\":\\\"圣基茨和尼维斯\\\"},{\\\"en_abbr\\\":\\\"SD\\\",\\\"en\\\":\\\"South Sudan\\\",\\\"zh\\\":\\\"南苏丹\\\"},{\\\"en_abbr\\\":\\\"MQ\\\",\\\"en\\\":\\\"Martinique\\\",\\\"zh\\\":\\\"马提尼克\\\"},{\\\"en_abbr\\\":\\\"VA\\\",\\\"en\\\":\\\"Vatican City\\\",\\\"zh\\\":\\\"梵蒂冈\\\"},{\\\"en_abbr\\\":\\\"SB\\\",\\\"en\\\":\\\"Solomon Islands\\\",\\\"zh\\\":\\\"所罗门群岛\\\"},{\\\"en_abbr\\\":\\\"DM\\\",\\\"en\\\":\\\"The Commonwealth of Dominica\\\",\\\"zh\\\":\\\"多米尼克\\\"},{\\\"en_abbr\\\":\\\"TC\\\",\\\"en\\\":\\\"The Turks and Caicos Islands\\\",\\\"zh\\\":\\\"特克斯和凯科斯群岛\\\"},{\\\"en_abbr\\\":\\\"TO\\\",\\\"en\\\":\\\"Tonga\\\",\\\"zh\\\":\\\"汤加\\\"},{\\\"en_abbr\\\":\\\"NR\\\",\\\"en\\\":\\\"Nauru\\\",\\\"zh\\\":\\\"瑙鲁\\\"},{\\\"en_abbr\\\":\\\"AN\\\",\\\"en\\\":\\\"Saint Martin\\\",\\\"zh\\\":\\\"法属圣马丁\\\"},{\\\"en_abbr\\\":\\\"GD\\\",\\\"en\\\":\\\"Grenada\\\",\\\"zh\\\":\\\"格林纳达\\\"},{\\\"en_abbr\\\":\\\"ST\\\",\\\"en\\\":\\\"Sao Tome and Principe\\\",\\\"zh\\\":\\\"圣多美和普林西比\\\"},{\\\"en_abbr\\\":\\\"VG\\\",\\\"en\\\":\\\"Saint Vincent and the Grenadines\\\",\\\"zh\\\":\\\"圣文森特和格林纳丁斯\\\"},{\\\"en_abbr\\\":\\\"AI\\\",\\\"en\\\":\\\"Anguilla\\\",\\\"zh\\\":\\\"安圭拉\\\"},{\\\"en_abbr\\\":\\\"MF\\\",\\\"en\\\":\\\"Micronesia\\\",\\\"zh\\\":\\\"密克罗尼西亚联邦\\\"},{\\\"en_abbr\\\":\\\"CK\\\",\\\"en\\\":\\\"Cook Islands\\\",\\\"zh\\\":\\\"库克群岛\\\"},{\\\"en_abbr\\\":\\\"TV\\\",\\\"en\\\":\\\"Tuvalu\\\",\\\"zh\\\":\\\"图瓦卢\\\"},{\\\"en_abbr\\\":\\\"GW\\\",\\\"en\\\":\\\"Guinea-Bissau\\\",\\\"zh\\\":\\\"几内亚比绍\\\"},{\\\"en_abbr\\\":\\\"AS\\\",\\\"en\\\":\\\"American Samoa\\\",\\\"zh\\\":\\\"美属萨摩亚\\\"},{\\\"en_abbr\\\":\\\"PW\\\",\\\"en\\\":\\\"Palau\\\",\\\"zh\\\":\\\"帕劳\\\"},{\\\"en_abbr\\\":\\\"CF\\\",\\\"en\\\":\\\"Central African Republic\\\",\\\"zh\\\":\\\"中非\\\"},{\\\"en_abbr\\\":\\\"KM\\\",\\\"en\\\":\\\"Comoros\\\",\\\"zh\\\":\\\"科摩罗\\\"}],\\\"provinces\\\":[{\\\"en\\\":\\\"Beijing\\\",\\\"zh\\\":\\\"北京\\\"},{\\\"en\\\":\\\"Tianjing\\\",\\\"zh\\\":\\\"天津\\\"},{\\\"en\\\":\\\"Hebei\\\",\\\"zh\\\":\\\"河北\\\"},{\\\"en\\\":\\\"Macao\\\",\\\"zh\\\":\\\"澳门\\\"},{\\\"en\\\":\\\"Anhui\\\",\\\"zh\\\":\\\"安徽\\\"},{\\\"en\\\":\\\"Chongqing\\\",\\\"zh\\\":\\\"重庆\\\"},{\\\"en\\\":\\\"Fujian\\\",\\\"zh\\\":\\\"福建\\\"},{\\\"en\\\":\\\"Guangdong\\\",\\\"zh\\\":\\\"广东\\\"},{\\\"en\\\":\\\"Guangxi\\\",\\\"zh\\\":\\\"广西\\\"},{\\\"en\\\":\\\"Guizhou\\\",\\\"zh\\\":\\\"贵州\\\"},{\\\"en\\\":\\\"Gansu\\\",\\\"zh\\\":\\\"甘肃\\\"},{\\\"en\\\":\\\"Henan\\\",\\\"zh\\\":\\\"河南\\\"},{\\\"en\\\":\\\"Hubei\\\",\\\"zh\\\":\\\"湖北\\\"},{\\\"en\\\":\\\"Hunan\\\",\\\"zh\\\":\\\"湖南\\\"},{\\\"en\\\":\\\"Hainan\\\",\\\"zh\\\":\\\"海南\\\"},{\\\"en\\\":\\\"Jiangsu\\\",\\\"zh\\\":\\\"江苏\\\"},{\\\"en\\\":\\\"Jilin\\\",\\\"zh\\\":\\\"吉林\\\"},{\\\"en\\\":\\\"Jiangxi\\\",\\\"zh\\\":\\\"江西\\\"},{\\\"en\\\":\\\"Liaoning\\\",\\\"zh\\\":\\\"辽宁\\\"},{\\\"en\\\":\\\"Ningxia\\\",\\\"zh\\\":\\\"宁夏\\\"},{\\\"en\\\":\\\"Qinghai\\\",\\\"zh\\\":\\\"青海\\\"},{\\\"en\\\":\\\"Shanxi\\\",\\\"zh\\\":\\\"山西\\\"},{\\\"en\\\":\\\"Shanghai\\\",\\\"zh\\\":\\\"上海\\\"},{\\\"en\\\":\\\"Shandong\\\",\\\"zh\\\":\\\"山东\\\"},{\\\"en\\\":\\\"Sichuan\\\",\\\"zh\\\":\\\"四川\\\"},{\\\"en\\\":\\\"Shaanxi\\\",\\\"zh\\\":\\\"陕西\\\"},{\\\"en\\\":\\\"Taiwan\\\",\\\"zh\\\":\\\"台湾\\\"},{\\\"en\\\":\\\"Tibet\\\",\\\"zh\\\":\\\"西藏\\\"},{\\\"en\\\":\\\"Xinjiang\\\",\\\"zh\\\":\\\"新疆\\\"},{\\\"en\\\":\\\"Hong Kong\\\",\\\"zh\\\":\\\"香港\\\"},{\\\"en\\\":\\\"Yunnan\\\",\\\"zh\\\":\\\"云南\\\"},{\\\"en\\\":\\\"Zhejiang\\\",\\\"zh\\\":\\\"浙江\\\"},{\\\"en\\\":\\\"Guangzhou\\\",\\\"zh\\\":\\\"广州\\\"},{\\\"en\\\":\\\"Shenzhen\\\",\\\"zh\\\":\\\"深圳\\\"},{\\\"en\\\":\\\"Heilongjiang\\\",\\\"zh\\\":\\\"黑龙江\\\"},{\\\"en\\\":\\\"Inner Mongolia Autonomous Regio\\\",\\\"zh\\\":\\\"内蒙古\\\"}]}\\n\",\n \"RequestId\": \"05ba4f7c-f1b7-40c3-9038-a5fb74e8873a\"\n }\n}", "title": "获取WAF地域封禁支持的地域列表" } ], @@ -636,6 +636,14 @@ "title": "获取防护端口列表" } ], + "DescribeProtectionModes": [ + { + "document": "查询Tiga引擎大类规则及其防护模式", + "input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProtectionModes\n<公共请求参数>\n\n{\n \"Edition\": \"abc\",\n \"Domain\": \"abc\"\n}", + "output": "{\n \"Response\": {\n \"Modes\": [\n {\n \"TypeID\": \"abc\",\n \"Mode\": 0\n }\n ],\n \"RequestId\": \"abc\"\n }\n}", + "title": "查询Tiga引擎大类规则及其防护模式" + } + ], "DescribeRuleLimit": [ { "document": "", diff --git a/tccli/services/waf/waf_client.py b/tccli/services/waf/waf_client.py index e6ef90b10e..5cd951986a 100644 --- a/tccli/services/waf/waf_client.py +++ b/tccli/services/waf/waf_client.py @@ -1317,7 +1317,7 @@ def doDescribeUserDomainInfo(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDeleteCCRule(args, parsed_globals): +def doDescribeProtectionModes(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -1346,11 +1346,11 @@ def doDeleteCCRule(args, parsed_globals): client = mod.WafClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DeleteCCRuleRequest() + model = models.DescribeProtectionModesRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DeleteCCRule(model) + rsp = client.DescribeProtectionModes(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -6933,6 +6933,58 @@ def doDescribeCCRuleList(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) +def doDeleteCCRule(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.WafClient(cred, g_param[OptionsDefine.Region], profile) + client._sdkVersion += ("_CLI_" + __version__) + models = MODELS_MAP[g_param[OptionsDefine.Version]] + model = models.DeleteCCRuleRequest() + model.from_json_string(json.dumps(args)) + start_time = time.time() + while True: + rsp = client.DeleteCCRule(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 doModifyWebshellStatus(args, parsed_globals): g_param = parse_global_arg(parsed_globals) @@ -7489,7 +7541,7 @@ def doModifyUserLevel(args, parsed_globals): "DescribeUserCdcClbWafRegions": doDescribeUserCdcClbWafRegions, "ModifyWafAutoDenyRules": doModifyWafAutoDenyRules, "DescribeUserDomainInfo": doDescribeUserDomainInfo, - "DeleteCCRule": doDeleteCCRule, + "DescribeProtectionModes": doDescribeProtectionModes, "DescribeAntiInfoLeakageRules": doDescribeAntiInfoLeakageRules, "SearchAccessLog": doSearchAccessLog, "DescribeWafThreatenIntelligence": doDescribeWafThreatenIntelligence, @@ -7597,6 +7649,7 @@ def doModifyUserLevel(args, parsed_globals): "ModifyObject": doModifyObject, "DeleteAntiFakeUrl": doDeleteAntiFakeUrl, "DescribeCCRuleList": doDescribeCCRuleList, + "DeleteCCRule": doDeleteCCRule, "ModifyWebshellStatus": doModifyWebshellStatus, "UpsertSession": doUpsertSession, "DescribeCCAutoStatus": doDescribeCCAutoStatus, diff --git a/tccli/services/wedata/v20210820/api.json b/tccli/services/wedata/v20210820/api.json index fc043279b7..420b4126e4 100644 --- a/tccli/services/wedata/v20210820/api.json +++ b/tccli/services/wedata/v20210820/api.json @@ -805,6 +805,13 @@ "output": "DescribeProjectResponse", "status": "online" }, + "DescribeProjectUsers": { + "document": "获取项目下的用户,分页返回", + "input": "DescribeProjectUsersRequest", + "name": "获取项目下的用户列表", + "output": "DescribeProjectUsersResponse", + "status": "online" + }, "DescribeQualityScore": { "document": "质量报告-质量评分", "input": "DescribeQualityScoreRequest", @@ -16213,6 +16220,78 @@ ], "type": "object" }, + "DescribeProjectUsersRequest": { + "document": "DescribeProjectUsers请求参数结构体", + "members": [ + { + "disabled": false, + "document": "分页号", + "example": "0", + "member": "uint64", + "name": "PageNumber", + "required": true, + "type": "int" + }, + { + "disabled": false, + "document": "分页大小", + "example": "10", + "member": "uint64", + "name": "PageSize", + "required": true, + "type": "int" + }, + { + "disabled": false, + "document": "【过滤参数】自定义条件查询", + "example": "[]", + "member": "FilterOptional", + "name": "Filters", + "required": false, + "type": "list" + }, + { + "disabled": false, + "document": "【排序参数】排序字段", + "example": "[]", + "member": "OrderFieldOptional", + "name": "OrderFields", + "required": false, + "type": "list" + }, + { + "disabled": false, + "document": "是否项目管理员", + "example": "无", + "member": "bool", + "name": "IsProjectAdmin", + "required": false, + "type": "bool" + } + ], + "type": "object" + }, + "DescribeProjectUsersResponse": { + "document": "DescribeProjectUsers返回参数结构体", + "members": [ + { + "disabled": false, + "document": "项目列表", + "example": "无", + "member": "ProjectUsersPage", + "name": "Data", + "type": "object", + "value_allowed_null": false + }, + { + "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", + "member": "string", + "name": "RequestId", + "type": "string" + } + ], + "type": "object" + }, "DescribeQualityScoreRequest": { "document": "DescribeQualityScore请求参数结构体", "members": [ @@ -31629,6 +31708,138 @@ ], "usage": "in" }, + "ProjectUserRole": { + "document": "项目的用户对象", + "members": [ + { + "disabled": false, + "document": "用户角色对象\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "[]", + "member": "SystemRole", + "name": "Roles", + "required": true, + "type": "list", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "mc\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "名称", + "member": "string", + "name": "UserName", + "required": true, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "用户id\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "1", + "member": "string", + "name": "UserId", + "required": true, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "创建时间\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "1", + "member": "string", + "name": "CreateTime", + "required": true, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "是否创建者\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "true", + "member": "bool", + "name": "Creator", + "required": true, + "type": "bool", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "显示名称\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "string", + "name": "DisplayName", + "required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "是否项目管理员\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "bool", + "name": "IsProjectAdmin", + "required": false, + "type": "bool", + "value_allowed_null": true + } + ], + "usage": "out" + }, + "ProjectUsersPage": { + "document": "项目下的用户集合", + "members": [ + { + "disabled": false, + "document": "用户集合\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "[]", + "member": "ProjectUserRole", + "name": "Rows", + "required": true, + "type": "list", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "分页大小\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "10", + "member": "uint64", + "name": "PageSize", + "required": true, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "分页页码\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "0", + "member": "uint64", + "name": "PageNumber", + "required": true, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "总数量\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "1", + "member": "uint64", + "name": "TotalCount", + "required": true, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "总分页页码\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "1", + "member": "uint64", + "name": "TotalPageNumber", + "required": true, + "type": "int", + "value_allowed_null": true + } + ], + "usage": "out" + }, "Property": { "document": "dlc建表属性", "members": [ @@ -32629,6 +32840,89 @@ ], "usage": "out" }, + "RolePrivilege": { + "document": "角色权限对象", + "members": [ + { + "disabled": false, + "document": "id\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "1", + "member": "string", + "name": "PrivilegeId", + "output_required": true, + "required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "名称\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "名称", + "member": "string", + "name": "PrivilegeName", + "output_required": true, + "required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "路径\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "路径", + "member": "string", + "name": "RestPath", + "output_required": true, + "required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "方法\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "方法", + "member": "string", + "name": "RestMethod", + "output_required": true, + "required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "描述\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "描述", + "member": "string", + "name": "Description", + "output_required": true, + "required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "模块id\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "模块id", + "member": "string", + "name": "ModuleId", + "output_required": false, + "required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "权限类型 N、R、RW、RWD\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "RWD", + "member": "string", + "name": "Type", + "output_required": false, + "required": false, + "type": "string", + "value_allowed_null": true + } + ], + "usage": "both" + }, "Rule": { "document": "数据质量规则", "members": [ @@ -38159,6 +38453,102 @@ ], "type": "object" }, + "SystemRole": { + "document": "角色对象", + "members": [ + { + "disabled": false, + "document": "角色id", + "example": "1", + "member": "string", + "name": "RoleId", + "required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "角色名称\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "Name", + "member": "string", + "name": "Name", + "required": true, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "角色昵称\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "Name", + "member": "string", + "name": "NameCn", + "required": true, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "描述\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "描述", + "member": "string", + "name": "Description", + "required": true, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "角色权限\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "[]", + "member": "RolePrivilege", + "name": "Privileges", + "required": true, + "type": "list", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "方法路径\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "[]", + "member": "string", + "name": "MethodPaths", + "required": true, + "type": "list", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "角色类型, 分为System,Tenant,Project,Commercial\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "string", + "name": "RoleType", + "required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "是否系统默认\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "bool", + "name": "SystemInit", + "required": false, + "type": "bool", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "自定义参数\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "string", + "name": "Params", + "required": false, + "type": "string", + "value_allowed_null": true + } + ], + "usage": "out" + }, "Table": { "document": "Table", "members": [ diff --git a/tccli/services/wedata/v20210820/examples.json b/tccli/services/wedata/v20210820/examples.json index 9c0c40f30b..c6ce55d0fc 100644 --- a/tccli/services/wedata/v20210820/examples.json +++ b/tccli/services/wedata/v20210820/examples.json @@ -1004,6 +1004,20 @@ "title": "describe project with params" } ], + "DescribeProjectUsers": [ + { + "document": "查询项目下用户", + "input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProjectUsers\n<公共请求参数>\n\n{\n \"PageNumber\": \"0\",\n \"PageSize\": \"10\"\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"f59ff4b5-6999-484a-a7e2-960605d68333\",\n \"Data\": {\n \"Rows\": [\n {\n \"UserId\": \"100006908545\",\n \"UserName\": \"3193772711_WeData\",\n \"DisplayName\": \"3193772711_WeData\",\n \"Roles\": [\n {\n \"RoleId\": \"308335260274237440\",\n \"Name\": null,\n \"NameCn\": \"空间管理员\",\n \"Description\": null,\n \"Privileges\": [],\n \"MethodPaths\": null\n },\n {\n \"RoleId\": \"308335260676890624\",\n \"Name\": null,\n \"NameCn\": \"数据科学家\",\n \"Description\": null,\n \"Privileges\": [],\n \"MethodPaths\": null\n },\n {\n \"RoleId\": \"308335260844662784\",\n \"Name\": null,\n \"NameCn\": \"运维工程师\",\n \"Description\": null,\n \"Privileges\": [],\n \"MethodPaths\": null\n },\n {\n \"RoleId\": \"308335260945326080\",\n \"Name\": null,\n \"NameCn\": \"访客\",\n \"Description\": null,\n \"Privileges\": [],\n \"MethodPaths\": null\n }\n ],\n \"CreateTime\": \"2021-06-16 16:44:51\",\n \"Creator\": true\n },\n {\n \"UserId\": \"100015684538\",\n \"UserName\": \"zhiqinzhang\",\n \"DisplayName\": \"zhiqinzhang\",\n \"Roles\": [\n {\n \"RoleId\": \"308335260676890624\",\n \"Name\": null,\n \"NameCn\": \"数据科学家\",\n \"Description\": null,\n \"Privileges\": [],\n \"MethodPaths\": null\n }\n ],\n \"CreateTime\": \"2021-07-29 15:15:41\",\n \"Creator\": false\n }\n ],\n \"PageNumber\": 0,\n \"PageSize\": 10,\n \"TotalCount\": 7,\n \"TotalPageNumber\": 0\n }\n }\n}", + "title": "成功示例2" + }, + { + "document": "查询项目下所有用户", + "input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProjectUsers\n<公共请求参数>\n\n{\n \"PageNumber\": \"1\",\n \"OrderFields\": [\n {\n \"Direction\": \"DESC\",\n \"Name\": \"CreateTime\"\n }\n ],\n \"PageSize\": \"10\",\n \"Filters\": [\n {\n \"Values\": [\n \"\"\n ],\n \"Name\": \"DisplayName\"\n }\n ]\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"4c659efc-0372-4e3d-a484-0476b564420d\",\n \"Data\": {\n \"Rows\": [\n {\n \"UserId\": \"100013890962\",\n \"UserName\": \"\",\n \"DisplayName\": \"sundyang\",\n \"Roles\": [\n {\n \"RoleId\": \"308335260676890624\",\n \"Name\": null,\n \"NameCn\": \"数据工程师\",\n \"Description\": null,\n \"Privileges\": [],\n \"MethodPaths\": null\n }\n ],\n \"CreateTime\": \"2021-07-29 15:14:54\",\n \"Creator\": false\n },\n {\n \"UserId\": \"100020026287\",\n \"UserName\": \"\",\n \"DisplayName\": \"v_huangaluo\",\n \"Roles\": [\n {\n \"RoleId\": \"308335260274237440\",\n \"Name\": null,\n \"NameCn\": \"项目管理员\",\n \"Description\": null,\n \"Privileges\": [],\n \"MethodPaths\": null\n },\n {\n \"RoleId\": \"308335260676890624\",\n \"Name\": null,\n \"NameCn\": \"数据工程师\",\n \"Description\": null,\n \"Privileges\": [],\n \"MethodPaths\": null\n },\n {\n \"RoleId\": \"308335260844662784\",\n \"Name\": null,\n \"NameCn\": \"运维工程师\",\n \"Description\": null,\n \"Privileges\": [],\n \"MethodPaths\": null\n },\n {\n \"RoleId\": \"308335260945326080\",\n \"Name\": null,\n \"NameCn\": \"访客\",\n \"Description\": null,\n \"Privileges\": [],\n \"MethodPaths\": null\n }\n ],\n \"CreateTime\": \"2021-07-09 15:20:22\",\n \"Creator\": false\n },\n {\n \"UserId\": \"100019904305\",\n \"UserName\": \"\",\n \"DisplayName\": \"kuanliu\",\n \"Roles\": [\n {\n \"RoleId\": \"308335260274237440\",\n \"Name\": null,\n \"NameCn\": \"项目管理员\",\n \"Description\": null,\n \"Privileges\": [],\n \"MethodPaths\": null\n },\n {\n \"RoleId\": \"308335260676890624\",\n \"Name\": null,\n \"NameCn\": \"数据工程师\",\n \"Description\": null,\n \"Privileges\": [],\n \"MethodPaths\": null\n },\n {\n \"RoleId\": \"308335260844662784\",\n \"Name\": null,\n \"NameCn\": \"运维工程师\",\n \"Description\": null,\n \"Privileges\": [],\n \"MethodPaths\": null\n },\n {\n \"RoleId\": \"308335260945326080\",\n \"Name\": null,\n \"NameCn\": \"访客\",\n \"Description\": null,\n \"Privileges\": [],\n \"MethodPaths\": null\n }\n ],\n \"CreateTime\": \"2021-07-09 15:20:22\",\n \"Creator\": false\n }\n ],\n \"PageNumber\": 0,\n \"PageSize\": 10,\n \"TotalCount\": 3,\n \"TotalPageNumber\": 0\n }\n }\n}", + "title": "成功示例-filter" + } + ], "DescribeQualityScore": [ { "document": "查询质量评分", diff --git a/tccli/services/wedata/wedata_client.py b/tccli/services/wedata/wedata_client.py index 53e807753b..42272a09b3 100644 --- a/tccli/services/wedata/wedata_client.py +++ b/tccli/services/wedata/wedata_client.py @@ -10053,7 +10053,7 @@ def doUploadContent(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doModifyTaskAlarmRegular(args, parsed_globals): +def doDescribeProjectUsers(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -10082,11 +10082,11 @@ def doModifyTaskAlarmRegular(args, parsed_globals): client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.ModifyTaskAlarmRegularRequest() + model = models.DescribeProjectUsersRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.ModifyTaskAlarmRegular(model) + rsp = client.DescribeProjectUsers(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -11041,6 +11041,58 @@ def doCreateTaskFolder(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) +def doModifyTaskAlarmRegular(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.WedataClient(cred, g_param[OptionsDefine.Region], profile) + client._sdkVersion += ("_CLI_" + __version__) + models = MODELS_MAP[g_param[OptionsDefine.Version]] + model = models.ModifyTaskAlarmRegularRequest() + model.from_json_string(json.dumps(args)) + start_time = time.time() + while True: + rsp = client.ModifyTaskAlarmRegular(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 doBatchStopWorkflowsByIds(args, parsed_globals): g_param = parse_global_arg(parsed_globals) @@ -12337,7 +12389,7 @@ def doDescribeTrendStat(args, parsed_globals): "DescribeTaskAlarmRegulations": doDescribeTaskAlarmRegulations, "DescribeIntegrationVersionNodesInfo": doDescribeIntegrationVersionNodesInfo, "UploadContent": doUploadContent, - "ModifyTaskAlarmRegular": doModifyTaskAlarmRegular, + "DescribeProjectUsers": doDescribeProjectUsers, "DescribeWorkflowSchedulerInfoDs": doDescribeWorkflowSchedulerInfoDs, "DeleteCustomFunction": doDeleteCustomFunction, "DescribeFolderWorkflowList": doDescribeFolderWorkflowList, @@ -12356,6 +12408,7 @@ def doDescribeTrendStat(args, parsed_globals): "DescribeRealTimeTaskInstanceNodeInfo": doDescribeRealTimeTaskInstanceNodeInfo, "ModifyDimensionWeight": doModifyDimensionWeight, "CreateTaskFolder": doCreateTaskFolder, + "ModifyTaskAlarmRegular": doModifyTaskAlarmRegular, "BatchStopWorkflowsByIds": doBatchStopWorkflowsByIds, "BatchResumeIntegrationTasks": doBatchResumeIntegrationTasks, "SetTaskAlarmNew": doSetTaskAlarmNew,