diff --git a/CHANGELOG.md b/CHANGELOG.md index f3964b92d..9b412e225 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,173 @@ +# Release 3.0.1210.1 + +## 腾讯云数据仓库 TCHouse-D(cdwdoris) 版本:2021-12-28 + +### 第 27 次发布 + +发布时间:2024-10-18 01:06:21 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeBackUpJob](https://cloud.tencent.com/document/api/1387/109558) + + * 新增入参:ApplicationType + +* [DescribeBackUpSchedules](https://cloud.tencent.com/document/api/1387/109556) + + * 新增入参:ApplicationType + + + + +## 混沌演练平台(cfg) 版本:2021-08-20 + +### 第 21 次发布 + +发布时间:2024-10-18 01:06:35 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [ActionLibraryListResult](https://cloud.tencent.com/document/api/1500/71784#ActionLibraryListResult) + + * 新增成员:ObjectTypeId + +* [TaskReportInfo](https://cloud.tencent.com/document/api/1500/71784#TaskReportInfo) + + * 新增成员:ArchiveUuid + + + + +## 日志服务(cls) 版本:2020-10-16 + +### 第 110 次发布 + +发布时间:2024-10-18 01:07:51 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [ModifyTopic](https://cloud.tencent.com/document/api/614/56453) + + * 新增入参:CancelTopicAsyncTaskID + + +修改数据结构: + +* [TopicInfo](https://cloud.tencent.com/document/api/614/56471#TopicInfo) + + * 新增成员:TopicAsyncTaskID, MigrationStatus, EffectiveDate + + + + +## 运维安全中心(堡垒机)(dasb) 版本:2019-10-18 + +### 第 32 次发布 + +发布时间:2024-10-18 01:10:42 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeDeviceGroupMembers](https://cloud.tencent.com/document/api/1025/74787) + + * 新增入参:IdSet + + * **修改入参**:Id + + + + +## 弹性 MapReduce(emr) 版本:2019-01-03 + +### 第 79 次发布 + +发布时间:2024-10-18 01:14:01 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeHDFSStorageInfo](https://cloud.tencent.com/document/api/589/111775) +* [DescribeKyuubiQueryInfo](https://cloud.tencent.com/document/api/589/111774) +* [DescribeSparkQueries](https://cloud.tencent.com/document/api/589/111773) +* [DescribeStarRocksQueryInfo](https://cloud.tencent.com/document/api/589/111772) + +新增数据结构: + +* [Dps](https://cloud.tencent.com/document/api/589/33981#Dps) +* [KyuubiQueryInfo](https://cloud.tencent.com/document/api/589/33981#KyuubiQueryInfo) +* [SparkQuery](https://cloud.tencent.com/document/api/589/33981#SparkQuery) +* [StarRocksQueryInfo](https://cloud.tencent.com/document/api/589/33981#StarRocksQueryInfo) +* [StorageSummaryDistribution](https://cloud.tencent.com/document/api/589/33981#StorageSummaryDistribution) + + + +## 容器安全服务(tcss) 版本:2020-11-01 + +### 第 69 次发布 + +发布时间:2024-10-18 01:26:11 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeESAggregations](https://cloud.tencent.com/document/api/1285/81742) + + * 新增入参:LogTypes + +* [DescribeESHits](https://cloud.tencent.com/document/api/1285/81741) + + * 新增入参:LogTypes + +* [DescribeSearchExportList](https://cloud.tencent.com/document/api/1285/81737) + + * 新增入参:LogTypes + +* [DescribeSecLogJoinObjectList](https://cloud.tencent.com/document/api/1285/81728) + + * 新增出参:RangeType, AutoJoin, ExcludedCount + +* [ModifySecLogJoinObjects](https://cloud.tencent.com/document/api/1285/81721) + + * 新增入参:RangeType, AutoJoin + + +修改数据结构: + +* [SecLogJoinInfo](https://cloud.tencent.com/document/api/1285/65614#SecLogJoinInfo) + + * 新增成员:ClusterCount + + * **修改成员**:SuperNodeCount + +* [SecLogJoinObjectInfo](https://cloud.tencent.com/document/api/1285/65614#SecLogJoinObjectInfo) + + * 新增成员:ContainerCnt, ClusterType, ClusterStatus + + + + # Release 3.0.1209.1 ## 云联络中心(ccc) 版本:2020-02-10 diff --git a/SERVICE_CHANGELOG.md b/SERVICE_CHANGELOG.md index e24b52737..d03d97cc3 100644 --- a/SERVICE_CHANGELOG.md +++ b/SERVICE_CHANGELOG.md @@ -1,10 +1,10 @@ # 本版本更新包含以下内容: -## 云联络中心(ccc) 版本:2020-02-10 +## 腾讯云数据仓库 TCHouse-D(cdwdoris) 版本:2021-12-28 -### 第 77 次发布 +### 第 27 次发布 -发布时间:2024-10-16 01:05:10 +发布时间:2024-10-18 01:06:21 本次发布包含了以下内容: @@ -12,94 +12,92 @@ 修改接口: -* [CreateAICall](https://cloud.tencent.com/document/api/679/111211) +* [DescribeBackUpJob](https://cloud.tencent.com/document/api/1387/109558) - * 新增入参:NotifyDuration, NotifyMessage, CustomTTSConfig + * 新增入参:ApplicationType - * **修改入参**:VoiceType +* [DescribeBackUpSchedules](https://cloud.tencent.com/document/api/1387/109556) + * 新增入参:ApplicationType -## 日志服务(cls) 版本:2020-10-16 -### 第 108 次发布 +## 混沌演练平台(cfg) 版本:2021-08-20 -发布时间:2024-10-16 01:07:47 +### 第 21 次发布 + +发布时间:2024-10-18 01:06:35 本次发布包含了以下内容: 改善已有的文档。 -新增接口: +修改数据结构: -* [CreateNoticeContent](https://cloud.tencent.com/document/api/614/111716) -* [DeleteNoticeContent](https://cloud.tencent.com/document/api/614/111715) -* [DescribeNoticeContents](https://cloud.tencent.com/document/api/614/111714) -* [ModifyNoticeContent](https://cloud.tencent.com/document/api/614/111713) +* [ActionLibraryListResult](https://cloud.tencent.com/document/api/1500/71784#ActionLibraryListResult) -新增数据结构: + * 新增成员:ObjectTypeId -* [NoticeContent](https://cloud.tencent.com/document/api/614/56471#NoticeContent) -* [NoticeContentInfo](https://cloud.tencent.com/document/api/614/56471#NoticeContentInfo) -* [NoticeContentTemplate](https://cloud.tencent.com/document/api/614/56471#NoticeContentTemplate) +* [TaskReportInfo](https://cloud.tencent.com/document/api/1500/71784#TaskReportInfo) -修改数据结构: + * 新增成员:ArchiveUuid -* [MonitorTime](https://cloud.tencent.com/document/api/614/56471#MonitorTime) - * 新增成员:CronExpression -* [NoticeReceiver](https://cloud.tencent.com/document/api/614/56471#NoticeReceiver) - * 新增成员:NoticeContentId +## 日志服务(cls) 版本:2020-10-16 +### 第 110 次发布 +发布时间:2024-10-18 01:07:51 +本次发布包含了以下内容: -## TDSQL-C MySQL 版(cynosdb) 版本:2019-01-07 +改善已有的文档。 -### 第 107 次发布 +修改接口: -发布时间:2024-10-16 01:10:12 +* [ModifyTopic](https://cloud.tencent.com/document/api/614/56453) -本次发布包含了以下内容: + * 新增入参:CancelTopicAsyncTaskID -改善已有的文档。 修改数据结构: -* [Ability](https://cloud.tencent.com/document/api/1003/48097#Ability) +* [TopicInfo](https://cloud.tencent.com/document/api/614/56471#TopicInfo) - * 新增成员:IsSupportManualLogic + * 新增成员:TopicAsyncTaskID, MigrationStatus, EffectiveDate -## 人脸核身(faceid) 版本:2018-03-01 +## 运维安全中心(堡垒机)(dasb) 版本:2019-10-18 -### 第 81 次发布 +### 第 32 次发布 -发布时间:2024-10-16 01:15:00 +发布时间:2024-10-18 01:10:42 本次发布包含了以下内容: 改善已有的文档。 -修改数据结构: +修改接口: -* [DetectInfoText](https://cloud.tencent.com/document/api/1007/41958#DetectInfoText) +* [DescribeDeviceGroupMembers](https://cloud.tencent.com/document/api/1025/74787) - * 新增成员:LivenessInfoTag + * 新增入参:IdSet + * **修改入参**:Id -## 网关负载均衡(gwlb) 版本:2024-09-06 -### 第 1 次发布 +## 弹性 MapReduce(emr) 版本:2019-01-03 -发布时间:2024-10-15 19:52:37 +### 第 79 次发布 + +发布时间:2024-10-18 01:14:01 本次发布包含了以下内容: @@ -107,92 +105,65 @@ 新增接口: -* [AssociateTargetGroups](https://cloud.tencent.com/document/api/1782/111698) -* [CreateGatewayLoadBalancer](https://cloud.tencent.com/document/api/1782/111685) -* [CreateTargetGroup](https://cloud.tencent.com/document/api/1782/111697) -* [DeleteGatewayLoadBalancer](https://cloud.tencent.com/document/api/1782/111684) -* [DeleteTargetGroups](https://cloud.tencent.com/document/api/1782/111696) -* [DeregisterTargetGroupInstances](https://cloud.tencent.com/document/api/1782/111695) -* [DescribeGatewayLoadBalancers](https://cloud.tencent.com/document/api/1782/111683) -* [DescribeTargetGroupInstanceStatus](https://cloud.tencent.com/document/api/1782/111694) -* [DescribeTargetGroupInstances](https://cloud.tencent.com/document/api/1782/111693) -* [DescribeTargetGroupList](https://cloud.tencent.com/document/api/1782/111692) -* [DescribeTargetGroups](https://cloud.tencent.com/document/api/1782/111691) -* [DescribeTaskStatus](https://cloud.tencent.com/document/api/1782/111700) -* [DisassociateTargetGroups](https://cloud.tencent.com/document/api/1782/111690) -* [InquirePriceCreateGatewayLoadBalancer](https://cloud.tencent.com/document/api/1782/111682) -* [ModifyGatewayLoadBalancerAttribute](https://cloud.tencent.com/document/api/1782/111681) -* [ModifyTargetGroupAttribute](https://cloud.tencent.com/document/api/1782/111689) -* [ModifyTargetGroupInstancesWeight](https://cloud.tencent.com/document/api/1782/111688) -* [RegisterTargetGroupInstances](https://cloud.tencent.com/document/api/1782/111687) +* [DescribeHDFSStorageInfo](https://cloud.tencent.com/document/api/589/111775) +* [DescribeKyuubiQueryInfo](https://cloud.tencent.com/document/api/589/111774) +* [DescribeSparkQueries](https://cloud.tencent.com/document/api/589/111773) +* [DescribeStarRocksQueryInfo](https://cloud.tencent.com/document/api/589/111772) 新增数据结构: -* [AssociationItem](https://cloud.tencent.com/document/api/1782/111701#AssociationItem) -* [Filter](https://cloud.tencent.com/document/api/1782/111701#Filter) -* [GatewayLoadBalancer](https://cloud.tencent.com/document/api/1782/111701#GatewayLoadBalancer) -* [ItemPrice](https://cloud.tencent.com/document/api/1782/111701#ItemPrice) -* [Price](https://cloud.tencent.com/document/api/1782/111701#Price) -* [TagInfo](https://cloud.tencent.com/document/api/1782/111701#TagInfo) -* [TargetGroupAssociation](https://cloud.tencent.com/document/api/1782/111701#TargetGroupAssociation) -* [TargetGroupBackend](https://cloud.tencent.com/document/api/1782/111701#TargetGroupBackend) -* [TargetGroupHealthCheck](https://cloud.tencent.com/document/api/1782/111701#TargetGroupHealthCheck) -* [TargetGroupInfo](https://cloud.tencent.com/document/api/1782/111701#TargetGroupInfo) -* [TargetGroupInstance](https://cloud.tencent.com/document/api/1782/111701#TargetGroupInstance) -* [TargetGroupInstanceStatus](https://cloud.tencent.com/document/api/1782/111701#TargetGroupInstanceStatus) +* [Dps](https://cloud.tencent.com/document/api/589/33981#Dps) +* [KyuubiQueryInfo](https://cloud.tencent.com/document/api/589/33981#KyuubiQueryInfo) +* [SparkQuery](https://cloud.tencent.com/document/api/589/33981#SparkQuery) +* [StarRocksQueryInfo](https://cloud.tencent.com/document/api/589/33981#StarRocksQueryInfo) +* [StorageSummaryDistribution](https://cloud.tencent.com/document/api/589/33981#StorageSummaryDistribution) -## 私有域解析 Private DNS(privatedns) 版本:2020-10-28 +## 容器安全服务(tcss) 版本:2020-11-01 -### 第 18 次发布 +### 第 69 次发布 -发布时间:2024-10-16 01:22:48 +发布时间:2024-10-18 01:26:11 本次发布包含了以下内容: 改善已有的文档。 -新增接口: - -* [CreateEndPoint](https://cloud.tencent.com/document/api/1338/111717) - - - -## 大模型视频创作引擎(vclm) 版本:2024-05-23 - -### 第 8 次发布 +修改接口: -发布时间:2024-10-16 01:30:50 +* [DescribeESAggregations](https://cloud.tencent.com/document/api/1285/81742) -本次发布包含了以下内容: + * 新增入参:LogTypes -改善已有的文档。 +* [DescribeESHits](https://cloud.tencent.com/document/api/1285/81741) -修改接口: + * 新增入参:LogTypes -* [SubmitVideoTranslateJob](https://cloud.tencent.com/document/api/1616/107805) +* [DescribeSearchExportList](https://cloud.tencent.com/document/api/1285/81737) - * 新增入参:RemoveVocal + * 新增入参:LogTypes +* [DescribeSecLogJoinObjectList](https://cloud.tencent.com/document/api/1285/81728) + * 新增出参:RangeType, AutoJoin, ExcludedCount +* [ModifySecLogJoinObjects](https://cloud.tencent.com/document/api/1285/81721) -## 视频转译(vtc) 版本:2024-02-23 + * 新增入参:RangeType, AutoJoin -### 第 4 次发布 -发布时间:2024-10-16 01:32:39 +修改数据结构: -本次发布包含了以下内容: +* [SecLogJoinInfo](https://cloud.tencent.com/document/api/1285/65614#SecLogJoinInfo) -改善已有的文档。 + * 新增成员:ClusterCount -修改接口: + * **修改成员**:SuperNodeCount -* [SubmitVideoTranslateJob](https://cloud.tencent.com/document/api/1769/106273) +* [SecLogJoinObjectInfo](https://cloud.tencent.com/document/api/1285/65614#SecLogJoinObjectInfo) - * 新增入参:RemoveVocal + * 新增成员:ContainerCnt, ClusterType, ClusterStatus @@ -11722,6 +11693,25 @@ ## 品牌经营管家(bma) 版本:2022-11-15 +### 第 12 次发布 + +发布时间:2024-10-17 01:08:51 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateBPFakeAPP](https://cloud.tencent.com/document/api/1296/86532) + + * 新增出参:FakeAPPId + +* [CreateBPFakeURL](https://cloud.tencent.com/document/api/1296/86530) + + * 新增出参:FakeURLId + + ### 第 11 次发布 发布时间:2024-02-02 01:06:13 @@ -24197,6 +24187,25 @@ ## 腾讯云数据仓库 TCHouse-D(cdwdoris) 版本:2021-12-28 +### 第 27 次发布 + +发布时间:2024-10-18 01:06:21 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeBackUpJob](https://cloud.tencent.com/document/api/1387/109558) + + * 新增入参:ApplicationType + +* [DescribeBackUpSchedules](https://cloud.tencent.com/document/api/1387/109556) + + * 新增入参:ApplicationType + + ### 第 26 次发布 发布时间:2024-10-09 01:10:49 @@ -24924,6 +24933,25 @@ ## 混沌演练平台(cfg) 版本:2021-08-20 +### 第 21 次发布 + +发布时间:2024-10-18 01:06:35 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [ActionLibraryListResult](https://cloud.tencent.com/document/api/1500/71784#ActionLibraryListResult) + + * 新增成员:ObjectTypeId + +* [TaskReportInfo](https://cloud.tencent.com/document/api/1500/71784#TaskReportInfo) + + * 新增成员:ArchiveUuid + + ### 第 20 次发布 发布时间:2024-09-20 12:56:59 @@ -33289,6 +33317,43 @@ ## 日志服务(cls) 版本:2020-10-16 +### 第 110 次发布 + +发布时间:2024-10-18 01:07:51 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [ModifyTopic](https://cloud.tencent.com/document/api/614/56453) + + * 新增入参:CancelTopicAsyncTaskID + + +修改数据结构: + +* [TopicInfo](https://cloud.tencent.com/document/api/614/56471#TopicInfo) + + * 新增成员:TopicAsyncTaskID, MigrationStatus, EffectiveDate + + +### 第 109 次发布 + +发布时间:2024-10-17 01:12:35 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [WebCallback](https://cloud.tencent.com/document/api/614/56471#WebCallback) + + * 新增成员:NoticeContentId, WebCallbackId + + ### 第 108 次发布 发布时间:2024-10-16 01:07:47 @@ -33299,16 +33364,16 @@ 新增接口: -* [[CreateNoticeContent](https://cloud.tencent.com/document/api/614/111716)](https://cloud.tencent.com/document/api/#/#) -* [[DeleteNoticeContent](https://cloud.tencent.com/document/api/614/111715)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeNoticeContents](https://cloud.tencent.com/document/api/614/111714)](https://cloud.tencent.com/document/api/#/#) -* [[ModifyNoticeContent](https://cloud.tencent.com/document/api/614/111713)](https://cloud.tencent.com/document/api/#/#) +* [CreateNoticeContent](https://cloud.tencent.com/document/api/614/111716) +* [DeleteNoticeContent](https://cloud.tencent.com/document/api/614/111715) +* [DescribeNoticeContents](https://cloud.tencent.com/document/api/614/111714) +* [ModifyNoticeContent](https://cloud.tencent.com/document/api/614/111713) 新增数据结构: -* [[NoticeContent](https://cloud.tencent.com/document/api/614/56471#NoticeContent)](https://cloud.tencent.com/document/api/614/56471#[NoticeContent](https://cloud.tencent.com/document/api/614/56471#NoticeContent)) -* [[NoticeContentInfo](https://cloud.tencent.com/document/api/614/56471#NoticeContentInfo)](https://cloud.tencent.com/document/api/614/56471#[NoticeContentInfo](https://cloud.tencent.com/document/api/614/56471#NoticeContentInfo)) -* [[NoticeContentTemplate](https://cloud.tencent.com/document/api/614/56471#NoticeContentTemplate)](https://cloud.tencent.com/document/api/614/56471#[NoticeContentTemplate](https://cloud.tencent.com/document/api/614/56471#NoticeContentTemplate)) +* [NoticeContent](https://cloud.tencent.com/document/api/614/56471#NoticeContent) +* [NoticeContentInfo](https://cloud.tencent.com/document/api/614/56471#NoticeContentInfo) +* [NoticeContentTemplate](https://cloud.tencent.com/document/api/614/56471#NoticeContentTemplate) 修改数据结构: @@ -47442,6 +47507,23 @@ ## TDSQL-C MySQL 版(cynosdb) 版本:2019-01-07 +### 第 108 次发布 + +发布时间:2024-10-17 01:14:59 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [SaleZone](https://cloud.tencent.com/document/api/1003/48097#SaleZone) + + * 新增成员:IsSupportCreateCluster + + * **修改成员**:HasPermission, IsWholeRdmaZone + + ### 第 107 次发布 发布时间:2024-10-16 01:10:12 @@ -49716,6 +49798,23 @@ ## 运维安全中心(堡垒机)(dasb) 版本:2019-10-18 +### 第 32 次发布 + +发布时间:2024-10-18 01:10:42 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeDeviceGroupMembers](https://cloud.tencent.com/document/api/1025/74787) + + * 新增入参:IdSet + + * **修改入参**:Id + + ### 第 31 次发布 发布时间:2024-09-26 01:16:16 @@ -62835,6 +62934,29 @@ ## 弹性 MapReduce(emr) 版本:2019-01-03 +### 第 79 次发布 + +发布时间:2024-10-18 01:14:01 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[DescribeHDFSStorageInfo](https://cloud.tencent.com/document/api/589/111775)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeKyuubiQueryInfo](https://cloud.tencent.com/document/api/589/111774)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeSparkQueries](https://cloud.tencent.com/document/api/589/111773)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeStarRocksQueryInfo](https://cloud.tencent.com/document/api/589/111772)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[Dps](https://cloud.tencent.com/document/api/589/33981#Dps)](https://cloud.tencent.com/document/api/589/33981#[Dps](https://cloud.tencent.com/document/api/589/33981#Dps)) +* [[KyuubiQueryInfo](https://cloud.tencent.com/document/api/589/33981#KyuubiQueryInfo)](https://cloud.tencent.com/document/api/589/33981#[KyuubiQueryInfo](https://cloud.tencent.com/document/api/589/33981#KyuubiQueryInfo)) +* [[SparkQuery](https://cloud.tencent.com/document/api/589/33981#SparkQuery)](https://cloud.tencent.com/document/api/589/33981#[SparkQuery](https://cloud.tencent.com/document/api/589/33981#SparkQuery)) +* [[StarRocksQueryInfo](https://cloud.tencent.com/document/api/589/33981#StarRocksQueryInfo)](https://cloud.tencent.com/document/api/589/33981#[StarRocksQueryInfo](https://cloud.tencent.com/document/api/589/33981#StarRocksQueryInfo)) +* [[StorageSummaryDistribution](https://cloud.tencent.com/document/api/589/33981#StorageSummaryDistribution)](https://cloud.tencent.com/document/api/589/33981#[StorageSummaryDistribution](https://cloud.tencent.com/document/api/589/33981#StorageSummaryDistribution)) + ### 第 78 次发布 发布时间:2024-09-27 01:15:03 @@ -64668,6 +64790,44 @@ ## Elasticsearch Service(es) 版本:2018-04-16 +### 第 70 次发布 + +发布时间:2024-10-17 01:18:44 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateInstance](https://cloud.tencent.com/document/api/845/30633) + + * 新增入参:EnableScheduleRecoverGroup, EnableScheduleOperationDuration + +* [RestartNodes](https://cloud.tencent.com/document/api/845/48473) + + * 新增入参:EnableScheduleRecoverGroup, EnableScheduleOperationDuration + +* [UpdateInstance](https://cloud.tencent.com/document/api/845/30629) + + * 新增入参:EnableScheduleRecoverGroup, EnableScheduleOperationDuration + +* [UpgradeInstance](https://cloud.tencent.com/document/api/845/36270) + + * 新增入参:EnableScheduleRecoverGroup, EnableScheduleOperationDuration + + +新增数据结构: + +* [EnableScheduleOperationDuration](https://cloud.tencent.com/document/api/845/30634#EnableScheduleOperationDuration) + +修改数据结构: + +* [NodeView](https://cloud.tencent.com/document/api/845/30634#NodeView) + + * 新增成员:CVMDisasterRecoverGroupId, CVMDisasterRecoverGroupStatus + + ### 第 69 次发布 发布时间:2024-09-10 15:12:32 @@ -69815,6 +69975,21 @@ ## 腾讯电子签(基础版)(essbasic) 版本:2021-05-26 +### 第 188 次发布 + +发布时间:2024-10-17 01:19:20 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [RegistrationOrganizationInfo](https://cloud.tencent.com/document/api/1420/61525#RegistrationOrganizationInfo) + + * 新增成员:AutoJumpUrl + + ### 第 187 次发布 发布时间:2024-10-14 01:19:22 @@ -78344,39 +78519,39 @@ 新增接口: -* [[AssociateTargetGroups](https://cloud.tencent.com/document/api/1782/111698)](https://cloud.tencent.com/document/api/#/#) -* [[CreateGatewayLoadBalancer](https://cloud.tencent.com/document/api/1782/111685)](https://cloud.tencent.com/document/api/#/#) -* [[CreateTargetGroup](https://cloud.tencent.com/document/api/1782/111697)](https://cloud.tencent.com/document/api/#/#) -* [[DeleteGatewayLoadBalancer](https://cloud.tencent.com/document/api/1782/111684)](https://cloud.tencent.com/document/api/#/#) -* [[DeleteTargetGroups](https://cloud.tencent.com/document/api/1782/111696)](https://cloud.tencent.com/document/api/#/#) -* [[DeregisterTargetGroupInstances](https://cloud.tencent.com/document/api/1782/111695)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeGatewayLoadBalancers](https://cloud.tencent.com/document/api/1782/111683)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeTargetGroupInstanceStatus](https://cloud.tencent.com/document/api/1782/111694)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeTargetGroupInstances](https://cloud.tencent.com/document/api/1782/111693)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeTargetGroupList](https://cloud.tencent.com/document/api/1782/111692)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeTargetGroups](https://cloud.tencent.com/document/api/1782/111691)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeTaskStatus](https://cloud.tencent.com/document/api/1782/111700)](https://cloud.tencent.com/document/api/#/#) -* [[DisassociateTargetGroups](https://cloud.tencent.com/document/api/1782/111690)](https://cloud.tencent.com/document/api/#/#) -* [[InquirePriceCreateGatewayLoadBalancer](https://cloud.tencent.com/document/api/1782/111682)](https://cloud.tencent.com/document/api/#/#) -* [[ModifyGatewayLoadBalancerAttribute](https://cloud.tencent.com/document/api/1782/111681)](https://cloud.tencent.com/document/api/#/#) -* [[ModifyTargetGroupAttribute](https://cloud.tencent.com/document/api/1782/111689)](https://cloud.tencent.com/document/api/#/#) -* [[ModifyTargetGroupInstancesWeight](https://cloud.tencent.com/document/api/1782/111688)](https://cloud.tencent.com/document/api/#/#) -* [[RegisterTargetGroupInstances](https://cloud.tencent.com/document/api/1782/111687)](https://cloud.tencent.com/document/api/#/#) +* [AssociateTargetGroups](https://cloud.tencent.com/document/api/1782/111698) +* [CreateGatewayLoadBalancer](https://cloud.tencent.com/document/api/1782/111685) +* [CreateTargetGroup](https://cloud.tencent.com/document/api/1782/111697) +* [DeleteGatewayLoadBalancer](https://cloud.tencent.com/document/api/1782/111684) +* [DeleteTargetGroups](https://cloud.tencent.com/document/api/1782/111696) +* [DeregisterTargetGroupInstances](https://cloud.tencent.com/document/api/1782/111695) +* [DescribeGatewayLoadBalancers](https://cloud.tencent.com/document/api/1782/111683) +* [DescribeTargetGroupInstanceStatus](https://cloud.tencent.com/document/api/1782/111694) +* [DescribeTargetGroupInstances](https://cloud.tencent.com/document/api/1782/111693) +* [DescribeTargetGroupList](https://cloud.tencent.com/document/api/1782/111692) +* [DescribeTargetGroups](https://cloud.tencent.com/document/api/1782/111691) +* [DescribeTaskStatus](https://cloud.tencent.com/document/api/1782/111700) +* [DisassociateTargetGroups](https://cloud.tencent.com/document/api/1782/111690) +* [InquirePriceCreateGatewayLoadBalancer](https://cloud.tencent.com/document/api/1782/111682) +* [ModifyGatewayLoadBalancerAttribute](https://cloud.tencent.com/document/api/1782/111681) +* [ModifyTargetGroupAttribute](https://cloud.tencent.com/document/api/1782/111689) +* [ModifyTargetGroupInstancesWeight](https://cloud.tencent.com/document/api/1782/111688) +* [RegisterTargetGroupInstances](https://cloud.tencent.com/document/api/1782/111687) 新增数据结构: -* [[AssociationItem](https://cloud.tencent.com/document/api/1782/111701#AssociationItem)](https://cloud.tencent.com/document/api/1782/111701#[AssociationItem](https://cloud.tencent.com/document/api/1782/111701#AssociationItem)) -* [[Filter](https://cloud.tencent.com/document/api/1782/111701#Filter)](https://cloud.tencent.com/document/api/1782/111701#[Filter](https://cloud.tencent.com/document/api/1782/111701#Filter)) -* [[GatewayLoadBalancer](https://cloud.tencent.com/document/api/1782/111701#GatewayLoadBalancer)](https://cloud.tencent.com/document/api/1782/111701#[GatewayLoadBalancer](https://cloud.tencent.com/document/api/1782/111701#GatewayLoadBalancer)) -* [[ItemPrice](https://cloud.tencent.com/document/api/1782/111701#ItemPrice)](https://cloud.tencent.com/document/api/1782/111701#[ItemPrice](https://cloud.tencent.com/document/api/1782/111701#ItemPrice)) -* [[Price](https://cloud.tencent.com/document/api/1782/111701#Price)](https://cloud.tencent.com/document/api/1782/111701#[Price](https://cloud.tencent.com/document/api/1782/111701#Price)) -* [[TagInfo](https://cloud.tencent.com/document/api/1782/111701#TagInfo)](https://cloud.tencent.com/document/api/1782/111701#[TagInfo](https://cloud.tencent.com/document/api/1782/111701#TagInfo)) -* [[TargetGroupAssociation](https://cloud.tencent.com/document/api/1782/111701#TargetGroupAssociation)](https://cloud.tencent.com/document/api/1782/111701#[TargetGroupAssociation](https://cloud.tencent.com/document/api/1782/111701#TargetGroupAssociation)) -* [[TargetGroupBackend](https://cloud.tencent.com/document/api/1782/111701#TargetGroupBackend)](https://cloud.tencent.com/document/api/1782/111701#[TargetGroupBackend](https://cloud.tencent.com/document/api/1782/111701#TargetGroupBackend)) -* [[TargetGroupHealthCheck](https://cloud.tencent.com/document/api/1782/111701#TargetGroupHealthCheck)](https://cloud.tencent.com/document/api/1782/111701#[TargetGroupHealthCheck](https://cloud.tencent.com/document/api/1782/111701#TargetGroupHealthCheck)) -* [[TargetGroupInfo](https://cloud.tencent.com/document/api/1782/111701#TargetGroupInfo)](https://cloud.tencent.com/document/api/1782/111701#[TargetGroupInfo](https://cloud.tencent.com/document/api/1782/111701#TargetGroupInfo)) -* [[TargetGroupInstance](https://cloud.tencent.com/document/api/1782/111701#TargetGroupInstance)](https://cloud.tencent.com/document/api/1782/111701#[TargetGroupInstance](https://cloud.tencent.com/document/api/1782/111701#TargetGroupInstance)) -* [[TargetGroupInstanceStatus](https://cloud.tencent.com/document/api/1782/111701#TargetGroupInstanceStatus)](https://cloud.tencent.com/document/api/1782/111701#[TargetGroupInstanceStatus](https://cloud.tencent.com/document/api/1782/111701#TargetGroupInstanceStatus)) +* [AssociationItem](https://cloud.tencent.com/document/api/1782/111701#AssociationItem) +* [Filter](https://cloud.tencent.com/document/api/1782/111701#Filter) +* [GatewayLoadBalancer](https://cloud.tencent.com/document/api/1782/111701#GatewayLoadBalancer) +* [ItemPrice](https://cloud.tencent.com/document/api/1782/111701#ItemPrice) +* [Price](https://cloud.tencent.com/document/api/1782/111701#Price) +* [TagInfo](https://cloud.tencent.com/document/api/1782/111701#TagInfo) +* [TargetGroupAssociation](https://cloud.tencent.com/document/api/1782/111701#TargetGroupAssociation) +* [TargetGroupBackend](https://cloud.tencent.com/document/api/1782/111701#TargetGroupBackend) +* [TargetGroupHealthCheck](https://cloud.tencent.com/document/api/1782/111701#TargetGroupHealthCheck) +* [TargetGroupInfo](https://cloud.tencent.com/document/api/1782/111701#TargetGroupInfo) +* [TargetGroupInstance](https://cloud.tencent.com/document/api/1782/111701#TargetGroupInstance) +* [TargetGroupInstanceStatus](https://cloud.tencent.com/document/api/1782/111701#TargetGroupInstanceStatus) @@ -78765,6 +78940,25 @@ ## 腾讯混元大模型(hunyuan) 版本:2023-09-01 +### 第 20 次发布 + +发布时间:2024-10-17 01:20:28 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增数据结构: + +* [SongExt](https://cloud.tencent.com/document/api/1729/101838#SongExt) + +修改数据结构: + +* [Multimedia](https://cloud.tencent.com/document/api/1729/101838#Multimedia) + + * 新增成员:Title, Desc, Singer, Ext + + ### 第 19 次发布 发布时间:2024-09-17 18:52:07 @@ -86032,6 +86226,40 @@ ## 智能视图计算平台(iss) 版本:2023-05-17 +### 第 21 次发布 + +发布时间:2024-10-17 01:22:31 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [AddRecordPlan](https://cloud.tencent.com/document/api/1344/95928) + + * 新增入参:RepairMode + + +修改数据结构: + +* [RecordPlanBaseInfo](https://cloud.tencent.com/document/api/1344/95952#RecordPlanBaseInfo) + + * 新增成员:RepairMode + +* [RecordPlanChannelInfo](https://cloud.tencent.com/document/api/1344/95952#RecordPlanChannelInfo) + + * 新增成员:AccessProtocol + +* [RecordPlanOptData](https://cloud.tencent.com/document/api/1344/95952#RecordPlanOptData) + + * 新增成员:RepairMode + +* [UpdateRecordPlanData](https://cloud.tencent.com/document/api/1344/95952#UpdateRecordPlanData) + + * 新增成员:RepairMode + + ### 第 20 次发布 发布时间:2024-10-11 18:07:24 @@ -111159,7 +111387,7 @@ 新增接口: -* [[CreateEndPoint](https://cloud.tencent.com/document/api/1338/111717)](https://cloud.tencent.com/document/api/#/#) +* [CreateEndPoint](https://cloud.tencent.com/document/api/1338/111717) ### 第 17 次发布 @@ -117106,6 +117334,30 @@ ## 云数据库 SQL Server(sqlserver) 版本:2018-03-28 +### 第 65 次发布 + +发布时间:2024-10-17 01:29:06 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeRestoreTask](https://cloud.tencent.com/document/api/238/101741) + + * 新增入参:FlowId + + +修改数据结构: + +* [RestoreTask](https://cloud.tencent.com/document/api/238/19976#RestoreTask) + + * 新增成员:FlowId + + * **修改成员**:TargetInstanceId, TargetInstanceName, TargetInstanceStatus, TargetRegion, RestoreId, TargetType, RestoreType, RestoreTime, StartTime, EndTime, Status + + ### 第 64 次发布 发布时间:2024-08-19 02:09:32 @@ -127510,6 +127762,50 @@ ## 容器安全服务(tcss) 版本:2020-11-01 +### 第 69 次发布 + +发布时间:2024-10-18 01:26:11 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeESAggregations](https://cloud.tencent.com/document/api/1285/81742) + + * 新增入参:LogTypes + +* [DescribeESHits](https://cloud.tencent.com/document/api/1285/81741) + + * 新增入参:LogTypes + +* [DescribeSearchExportList](https://cloud.tencent.com/document/api/1285/81737) + + * 新增入参:LogTypes + +* [DescribeSecLogJoinObjectList](https://cloud.tencent.com/document/api/1285/81728) + + * 新增出参:RangeType, AutoJoin, ExcludedCount + +* [ModifySecLogJoinObjects](https://cloud.tencent.com/document/api/1285/81721) + + * 新增入参:RangeType, AutoJoin + + +修改数据结构: + +* [SecLogJoinInfo](https://cloud.tencent.com/document/api/1285/65614#SecLogJoinInfo) + + * 新增成员:ClusterCount + + * **修改成员**:SuperNodeCount + +* [SecLogJoinObjectInfo](https://cloud.tencent.com/document/api/1285/65614#SecLogJoinObjectInfo) + + * 新增成员:ContainerCnt, ClusterType, ClusterStatus + + ### 第 68 次发布 发布时间:2024-10-14 01:30:34 @@ -142192,6 +142488,23 @@ ## 容器服务(tke) 版本:2018-05-25 +### 第 183 次发布 + +发布时间:2024-10-17 01:33:37 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeBatchModifyTagsStatus](https://cloud.tencent.com/document/api/457/111753) +* [ModifyClusterTags](https://cloud.tencent.com/document/api/457/111752) + +新增数据结构: + +* [FailedResource](https://cloud.tencent.com/document/api/457/31866#FailedResource) + ### 第 182 次发布 发布时间:2024-10-15 01:28:12 @@ -160217,6 +160530,30 @@ ## 私有网络(vpc) 版本:2017-03-12 +### 第 213 次发布 + +发布时间:2024-10-17 01:36:43 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateNatGateway](https://cloud.tencent.com/document/api/215/36721) + + +修改数据结构: + +* [DestinationIpPortTranslationNatRule](https://cloud.tencent.com/document/api/215/15824#DestinationIpPortTranslationNatRule) + + * **修改成员**:Description + +* [NetworkInterfaceAttachment](https://cloud.tencent.com/document/api/215/15824#NetworkInterfaceAttachment) + + * **修改成员**:DeviceIndex, InstanceAccountId, AttachTime, InstanceId + + ### 第 212 次发布 发布时间:2024-10-15 01:31:18 diff --git a/products.md b/products.md index ab0f4c719..eafae2a94 100644 --- a/products.md +++ b/products.md @@ -26,7 +26,7 @@ | billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2024-09-11 01:11:08 | | bizlive | [商业直播](https://cloud.tencent.com/document/product) | 2020-03-10 01:08:07 | | bm | [黑石物理服务器CPM](https://cloud.tencent.com/document/product/386) | 2024-03-20 01:08:40 | -| bma | [品牌经营管家](https://cloud.tencent.com/document/product/1296) | 2024-04-24 01:05:22 | +| bma | [品牌经营管家](https://cloud.tencent.com/document/product/1296) | 2024-10-18 01:04:14 | | bmeip | [黑石弹性公网IP](https://cloud.tencent.com/document/product/1028) | 2024-03-20 01:08:53 | | bmlb | [黑石负载均衡](https://cloud.tencent.com/document/product/1027) | 2024-03-20 01:08:56 | | bmvpc | [黑石私有网络](https://cloud.tencent.com/document/product/1024) | 2024-03-20 01:09:02 | @@ -35,7 +35,7 @@ | bsca | [二进制软件成分分析](https://cloud.tencent.com/document/product/1483) | 2024-04-16 01:05:23 | | 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-09-13 01:08:46 | +| 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 | | 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 | @@ -46,10 +46,10 @@ | 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 | | cdwch | [腾讯云数据仓库TCHouse-C](https://cloud.tencent.com/document/product/1299) | 2024-10-14 01:10:53 | -| cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-10-09 01:10:49 | +| cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-10-18 01:06:21 | | cdwpg | [云数据仓库 PostgreSQL](https://cloud.tencent.com/document/product/878) | 2024-03-28 01:10:53 | | cdz | [专属可用区](https://cloud.tencent.com/document/product/1629) | 2024-08-28 01:17:24 | -| cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2024-09-20 12:56:59 | +| 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 | | chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2024-03-20 01:10:55 | @@ -63,7 +63,7 @@ | cloudaudit | [操作审计](https://cloud.tencent.com/document/product/629) | 2024-01-15 01:09:37 | | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2024-03-20 01:11:31 | | cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2024-08-23 01:19:08 | -| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2024-10-16 01:07:47 | +| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2024-10-18 01:07:51 | | cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2024-09-25 01:13:30 | | cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2024-08-28 01:24:04 | | cms | [内容安全](https://cloud.tencent.com/document/product/669) | 2024-06-20 01:24:47 | @@ -76,16 +76,16 @@ | 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 | | 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-16 01:10:12 | -| dasb | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-09-26 01:16:16 | +| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-10-18 01:10:15 | +| 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 | | 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 | -| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2024-10-15 01:11:21 | -| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2024-09-11 01:34:34 | +| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2024-10-17 01:16:17 | +| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2024-10-18 01:12:15 | | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2024-07-31 01:30:16 | | drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2024-07-12 01:14:44 | | ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2024-03-20 01:15:13 | @@ -98,12 +98,12 @@ | ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2024-08-20 01:35:54 | | eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2024-06-25 01:14:34 | | eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 | -| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-10-16 01:13:50 | -| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-09-10 15:12:32 | -| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-10-16 01:14:18 | -| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-10-16 01:14:40 | +| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-10-18 01:14:01 | +| 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-18 01:14:55 | | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-09-11 01:42:57 | -| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-10-16 01:15:00 | +| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-10-17 01:19:42 | | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-07-05 01:10:44 | | ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2024-03-20 01:17:13 | | gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2024-09-12 01:43:09 | @@ -112,12 +112,12 @@ | gpm | [游戏玩家匹配](https://cloud.tencent.com/document/product/1294) | 2022-07-11 06:12:36 | | gs | [云游戏](https://cloud.tencent.com/document/product/1162) | 2024-05-28 01:43:15 | | gse | [游戏服务器伸缩](https://cloud.tencent.com/document/product/1165) | 2022-07-11 06:12:44 | -| gwlb | [网关负载均衡](https://cloud.tencent.com/document/product/1782) | 2024-10-15 19:52:37 | +| gwlb | [网关负载均衡](https://cloud.tencent.com/document/product/1782) | 2024-10-17 01:20:20 | | habo | [](https://cloud.tencent.com/document/product) | 2019-05-09 19:37:22 | | 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-09-23 10:42:09 | +| hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2024-10-17 01:20:28 | | 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 | @@ -132,8 +132,8 @@ | iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2023-05-18 01:33:02 | | iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2024-07-08 01:16:48 | | iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2024-03-20 01:18:54 | -| irp | [智能推荐平台](https://cloud.tencent.com/document/product/1541) | 2024-09-16 01:58:03 | -| iss | [智能视图计算平台](https://cloud.tencent.com/document/product/1344) | 2024-10-11 18:07:24 | +| irp | [智能推荐平台](https://cloud.tencent.com/document/product/1541) | 2024-10-17 01:22:29 | +| iss | [智能视图计算平台](https://cloud.tencent.com/document/product/1344) | 2024-10-17 01:22:31 | | 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 | @@ -152,7 +152,7 @@ | 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 | -| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-10-12 14:57:22 | +| 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 | | 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 | @@ -170,7 +170,7 @@ | 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 | -| redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2024-10-14 01:27:42 | +| 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 | @@ -180,15 +180,15 @@ | 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-09-23 16:57:26 | +| sms | [短信](https://cloud.tencent.com/document/product/382) | 2024-10-18 10:27:12 | | 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-10 01:28:10 | +| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2024-10-17 01:29:06 | | ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2023-11-15 02:18:28 | | ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2024-10-01 01:24:04 | | sslpod | [证书监控 SSLPod](https://cloud.tencent.com/document/product/1084) | 2024-03-20 01:24:03 | | ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2024-10-16 01:24:51 | -| sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2024-08-28 02:21:40 | +| 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 | | tag | [标签](https://cloud.tencent.com/document/product/651) | 2024-08-23 02:09:59 | @@ -206,13 +206,13 @@ | tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 | | tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2024-06-18 02:13:19 | | tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2024-09-05 02:07:24 | -| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2024-10-14 01:30:34 | +| 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 | | 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-16 01:27:46 | +| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-10-18 01:27:56 | | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2024-09-05 02:14:49 | | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 | | tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 | @@ -244,7 +244,7 @@ | 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-16 01:31:43 | +| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-10-18 01:31:52 | | 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 | diff --git a/pyproject.toml b/pyproject.toml index bf66ca1c4..5d0588c7d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ exclude = ["tccli/examples"] [project] name = "tccli" -version = "3.0.1209.1" +version = "3.0.1210.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.1209", + "tencentcloud-sdk-python>=3.0.1210", ] [project.urls] diff --git a/tccli/__init__.py b/tccli/__init__.py index fb965da58..8e216f180 100644 --- a/tccli/__init__.py +++ b/tccli/__init__.py @@ -1 +1 @@ -__version__ = '3.0.1209.1' +__version__ = '3.0.1210.1' diff --git a/tccli/examples/bma/v20221115/CreateBPFakeAPP.md b/tccli/examples/bma/v20221115/CreateBPFakeAPP.md index 32254c0af..3de84ecc6 100644 --- a/tccli/examples/bma/v20221115/CreateBPFakeAPP.md +++ b/tccli/examples/bma/v20221115/CreateBPFakeAPP.md @@ -5,12 +5,22 @@ Input: ``` -tccli bma CreateBPFakeAPP --cli-unfold-argument ``` +tccli bma CreateBPFakeAPP --cli-unfold-argument \ + --CompanyId 123 \ + --FakeAPPName 仿冒应用名称 \ + --APPChan 仿冒来源 \ + --FakeAPPPackageName 仿冒应用包名 \ + --FakeAPPCert 仿冒应用证书 \ + --FakeAPPSize 仿冒应用大小 \ + --FakeAPPSnapshots 仿冒截图 \ + --Note 备注 +``` Output: ``` { "Response": { + "FakeAPPId": 12, "RequestId": "xxx" } } diff --git a/tccli/examples/bma/v20221115/CreateBPFakeURL.md b/tccli/examples/bma/v20221115/CreateBPFakeURL.md index b3a14928d..13f3adcd1 100644 --- a/tccli/examples/bma/v20221115/CreateBPFakeURL.md +++ b/tccli/examples/bma/v20221115/CreateBPFakeURL.md @@ -5,12 +5,18 @@ Input: ``` -tccli bma CreateBPFakeURL --cli-unfold-argument ``` +tccli bma CreateBPFakeURL --cli-unfold-argument \ + --CompanyId 123 \ + --FakeURL 举报网址 \ + --FakeURLSnapshots 仿冒截图 \ + --Note 备注 +``` Output: ``` { "Response": { + "FakeURLId": 1, "RequestId": "xxx" } } diff --git a/tccli/examples/bma/v20221115/DescribeBPFakeAPPList.md b/tccli/examples/bma/v20221115/DescribeBPFakeAPPList.md index 8eba662f8..695239278 100644 --- a/tccli/examples/bma/v20221115/DescribeBPFakeAPPList.md +++ b/tccli/examples/bma/v20221115/DescribeBPFakeAPPList.md @@ -5,7 +5,24 @@ Input: ``` -tccli bma DescribeBPFakeAPPList --cli-unfold-argument ``` +tccli bma DescribeBPFakeAPPList --cli-unfold-argument \ + --Filters.0.Name BrandName \ + --Filters.0.Value 品牌名称 \ + --Filters.1.Name Origin \ + --Filters.1.Value 0 \ + --Filters.2.Name BlockStatus \ + --Filters.2.Value 0 \ + --Filters.3.Name OfflineStatus \ + --Filters.3.Value 0 \ + --Filters.4.Name FakeAPP \ + --Filters.4.Value xxx \ + --Filters.5.Name StartTime \ + --Filters.5.Value 2022-10-01 00:00:00 \ + --Filters.6.Name EndTime \ + --Filters.6.Value 2022-10-01 23:59:59 \ + --PageSize 10 \ + --PageNumber 1 +``` Output: ``` @@ -27,7 +44,8 @@ Output: "OfflineNote": "下架状态说明", "DownloadWay": "app来源", "InsertTime": "2022-10-01 00:00:00", - "DownloadCosURL": "cos下载链接" + "DownloadCosURL": "cos下载链接", + "CertificationStatus": 0 } ], "TotalCount": 100, diff --git a/tccli/examples/cam/v20190116/ListAttachedUserAllPolicies.md b/tccli/examples/cam/v20190116/ListAttachedUserAllPolicies.md index fb31335b2..8ae41e11e 100644 --- a/tccli/examples/cam/v20190116/ListAttachedUserAllPolicies.md +++ b/tccli/examples/cam/v20190116/ListAttachedUserAllPolicies.md @@ -9,27 +9,32 @@ tccli cam ListAttachedUserAllPolicies --cli-unfold-argument \ --Rp 1 \ --Page 10 \ --AttachType 1 \ - --TargetUin 1234565 + --TargetUin 100020328651 ``` Output: ``` { "Response": { - "TotalNum": 11, + "TotalNum": 1, "PolicyList": [ { - "PolicyId": "522474", - "PolicyName": "policygen-20191204195412", - "Description": "", - "AddTime": "2019-12-04 19:56:35", - "StrategyType": "1", - "CreateMode": "3", + "AddTime": "2020-01-16 15:09:27", + "CreateMode": "2", "Deactived": 1, - "Groups": [], "DeactivedDetail": [ - "xx" - ] + "consolesms" + ], + "Description": "短信(SMS)全读写访问权限", + "Groups": [ + { + "GroupId": 93878, + "GroupName": "系统运维" + } + ], + "PolicyId": "219064", + "PolicyName": "QcloudSMSFullAccess", + "StrategyType": "2" } ], "RequestId": "d369dabb-ebc9-4598-baae-e1177e9e3868" diff --git a/tccli/examples/cynosdb/v20190107/DescribeZones.md b/tccli/examples/cynosdb/v20190107/DescribeZones.md index 4cd7135f1..2d6120c07 100644 --- a/tccli/examples/cynosdb/v20190107/DescribeZones.md +++ b/tccli/examples/cynosdb/v20190107/DescribeZones.md @@ -32,7 +32,8 @@ Output: "IsSupportNormal": 0, "ZoneZh": "广州二区", "HasPermission": true, - "IsWholeRdmaZone": "abc" + "IsWholeRdmaZone": "abc", + "IsSupportCreateCluster": 1 }, { "PhysicalZone": "ao-guangzhou-5", @@ -42,7 +43,8 @@ Output: "IsSupportNormal": 0, "ZoneZh": "广州五区", "HasPermission": true, - "IsWholeRdmaZone": "abc" + "IsWholeRdmaZone": "abc", + "IsSupportCreateCluster": 0 } ] }, @@ -66,7 +68,8 @@ Output: "IsSupportNormal": 0, "ZoneZh": "北京五区", "HasPermission": true, - "IsWholeRdmaZone": "abc" + "IsWholeRdmaZone": "abc", + "IsSupportCreateCluster": 1 } ] } diff --git a/tccli/examples/cynosdb/v20190107/ModifyDBInstanceSecurityGroups.md b/tccli/examples/cynosdb/v20190107/ModifyDBInstanceSecurityGroups.md index b52cc2aea..5379173e5 100644 --- a/tccli/examples/cynosdb/v20190107/ModifyDBInstanceSecurityGroups.md +++ b/tccli/examples/cynosdb/v20190107/ModifyDBInstanceSecurityGroups.md @@ -6,7 +6,7 @@ Input: ``` tccli cynosdb ModifyDBInstanceSecurityGroups --cli-unfold-argument \ - --InstanceId cynosdbmysql-ins-lkj \ + --InstanceId cynosdbmysql-j8ynfcpgj \ --SecurityGroupIds sg-mnbv \ --Zone ap-guangzhou-3 ``` diff --git a/tccli/examples/dasb/v20191018/DescribeDeviceGroupMembers.md b/tccli/examples/dasb/v20191018/DescribeDeviceGroupMembers.md index 2d9282352..989d849b6 100644 --- a/tccli/examples/dasb/v20191018/DescribeDeviceGroupMembers.md +++ b/tccli/examples/dasb/v20191018/DescribeDeviceGroupMembers.md @@ -16,79 +16,106 @@ Output: { "Response": { "TotalCount": 1, - "RequestId": "xx", "DeviceSet": [ { + "Id": 1, + "InstanceId": "abc", + "Name": "abc", + "PublicIp": "abc", + "PrivateIp": "abc", + "ApCode": "abc", + "OsName": "abc", "Kind": 1, + "Port": 1, "GroupSet": [ { + "Id": 1, + "Name": "abc", "Department": { + "Id": "abc", + "Name": "abc", "Managers": [ - "xx" + "abc" ], - "Id": "xx", - "Name": "xx" + "ManagerUsers": [ + { + "ManagerId": "abc", + "ManagerName": "abc" + } + ] }, - "Id": 1, - "Name": "xx" + "Count": 1 } ], + "AccountCount": 1, + "VpcId": "abc", + "SubnetId": "abc", "Resource": { - "RenewFlag": 1, - "Zone": "xx", - "SubnetName": "xx", + "ResourceId": "abc", + "ApCode": "abc", + "SvArgs": "abc", + "VpcId": "abc", "Nodes": 1, + "RenewFlag": 1, + "ExpireTime": "2020-09-22T00:00:00+00:00", "Status": 1, - "VpcId": "xx", - "SubProductCode": "xx", - "ResourceId": "xx", - "PackageBandwidth": 1, - "VpcName": "xx", - "ApCode": "xx", - "SubnetId": "xx", - "ResourceName": "xx", + "ResourceName": "abc", + "Pid": 1, + "CreateTime": "2020-09-22T00:00:00+00:00", + "ProductCode": "abc", + "SubProductCode": "abc", + "Zone": "abc", "Expired": true, "Deployed": true, - "ProductCode": "xx", + "VpcName": "abc", + "VpcCidrBlock": "abc", + "SubnetId": "abc", + "SubnetName": "abc", + "CidrBlock": "abc", "PublicIpSet": [ - "xx" + "abc" + ], + "PrivateIpSet": [ + "abc" ], "ModuleSet": [ - "xx" + "abc" ], - "ExtendPoints": 1, "UsedNodes": 1, - "PrivateIpSet": [ - "xx" - ], - "Pid": 1, - "VpcCidrBlock": "xx", + "ExtendPoints": 1, + "PackageBandwidth": 1, "PackageNode": 1, - "ExpireTime": "2020-09-22T00:00:00+00:00", - "SvArgs": "xx", - "CidrBlock": "xx", - "CreateTime": "2020-09-22T00:00:00+00:00" + "LogDeliveryArgs": "abc", + "ClbSet": [ + { + "ClbIp": "abc" + } + ], + "DomainCount": 0, + "UsedDomainCount": 1, + "Trial": 1 }, - "Name": "xx", - "InstanceId": "xx", - "OsName": "xx", - "AccountCount": 1, - "PrivateIp": "xx", - "PublicIp": "xx", "Department": { + "Id": "abc", + "Name": "abc", "Managers": [ - "xx" + "abc" ], - "Id": "xx", - "Name": "xx" + "ManagerUsers": [ + { + "ManagerId": "abc", + "ManagerName": "abc" + } + ] }, - "VpcId": "xx", - "ApCode": "xx", - "SubnetId": "xx", - "Port": 1, - "Id": 1 + "IpPortSet": [ + "abc" + ], + "DomainId": "abc", + "DomainName": "abc" } - ] + ], + "RequestId": "abc" } } ``` diff --git a/tccli/examples/emr/v20190103/DescribeHDFSStorageInfo.md b/tccli/examples/emr/v20190103/DescribeHDFSStorageInfo.md new file mode 100644 index 000000000..ca6cad5a9 --- /dev/null +++ b/tccli/examples/emr/v20190103/DescribeHDFSStorageInfo.md @@ -0,0 +1,35 @@ +**Example 1: DescribeHDFSStorageInfo** + + + +Input: + +``` +tccli emr DescribeHDFSStorageInfo --cli-unfold-argument \ + --InstanceId abc \ + --StartTime 0 \ + --EndTime 0 +``` + +Output: +``` +{ + "Response": { + "SampleTime": 0, + "StorageSummaryDistribution": [ + { + "MetricItem": "abc", + "MetricName": "abc", + "Dps": [ + { + "Timestamp": "abc", + "Value": "abc" + } + ] + } + ], + "RequestId": "abc" + } +} +``` + diff --git a/tccli/examples/emr/v20190103/DescribeKyuubiQueryInfo.md b/tccli/examples/emr/v20190103/DescribeKyuubiQueryInfo.md new file mode 100644 index 000000000..646c33ec5 --- /dev/null +++ b/tccli/examples/emr/v20190103/DescribeKyuubiQueryInfo.md @@ -0,0 +1,41 @@ +**Example 1: DescribeKyuubiQueryInfo** + + + +Input: + +``` +tccli emr DescribeKyuubiQueryInfo --cli-unfold-argument \ + --InstanceId emr-1qop4l3e \ + --PageSize 10 \ + --Page 1 \ + --StartTime 1722327682 \ + --EndTime 1722328091 +``` + +Output: +``` +{ + "Response": { + "KyuubiQueryInfoList": [ + { + "ClientIP": "10.0.2.42", + "Duration": 5895, + "EndTime": 1722328097, + "EngineID": "null", + "EngineType": "SPARK_SQL", + "Id": "d4cfc064-b7d9-43ec-a766-60013c592dd4", + "SessionID": "1c3cdb57-e0b3-489a-804e-662600a24f1d", + "BeginTime": 1722328091, + "ExecutionState": "FINISHED", + "ExecutionStatement": "select * from kyuubi_test.kyuubi_new_user_tb order by id ASC", + "StatementID": "d4cfc064-b7d9-43ec-a766-60013c592dd4", + "User": "new_kyuubi_user" + } + ], + "RequestId": "cfbbbe0f-5d30-4bf7-b87b-428b14ac3ws41", + "TotalCount": 10 + } +} +``` + diff --git a/tccli/examples/emr/v20190103/DescribeSparkQueries.md b/tccli/examples/emr/v20190103/DescribeSparkQueries.md new file mode 100644 index 000000000..252dec7c4 --- /dev/null +++ b/tccli/examples/emr/v20190103/DescribeSparkQueries.md @@ -0,0 +1,42 @@ +**Example 1: 查询spark查询信息** + + + +Input: + +``` +tccli emr DescribeSparkQueries --cli-unfold-argument \ + --InstanceId emr-njry92zr \ + --StartTime 1711078120 \ + --EndTime 1711088221 \ + --Offset 0 \ + --Limit 10 +``` + +Output: +``` +{ + "Response": { + "RequestId": "690f07d6-ac3d-4211-896d-043824aaa0f0", + "Total": 1, + "Results": [ + { + "Id": "2", + "Status": "COMPLETED", + "BeginTime": 1711078220, + "ScanTotalData": 0, + "ApplicationId": [ + "application_1710488265927_0018" + ], + "ScanRowNum": 1, + "ScanFileNum": 1, + "EndTime": 1711078223, + "ScanPartitionNum": 1, + "Statement": "select * from hive_table_p2 where dt='20240321.3'", + "Duration": 2924 + } + ] + } +} +``` + diff --git a/tccli/examples/emr/v20190103/DescribeStarRocksQueryInfo.md b/tccli/examples/emr/v20190103/DescribeStarRocksQueryInfo.md new file mode 100644 index 000000000..ff2ac32e9 --- /dev/null +++ b/tccli/examples/emr/v20190103/DescribeStarRocksQueryInfo.md @@ -0,0 +1,48 @@ +**Example 1: DescribeStarRocksQueryInfo** + + + +Input: + +``` +tccli emr DescribeStarRocksQueryInfo --cli-unfold-argument \ + --InstanceId emr-1qop4l3e \ + --PageSize 10 \ + --Page 1 \ + --StartTime 1722327682 \ + --EndTime 1722328091 +``` + +Output: +``` +{ + "Response": { + "TotalCount": 0, + "StarRocksQueryInfoList": [ + { + "ClientIP": "192.0.0.1", + "CPUCost": 0, + "DefaultDB": "test", + "EndTime": 1721962352, + "ExecutionIP": "192.0.0.1", + "QueryID": "1ac25f6c-4afa-11ef-b7cc-525400c756d2", + "QueryType": "OTHERS", + "MemCost": 324, + "PlanCpuCosts": 435620, + "PlanMemCosts": 254354, + "QueryTime": 345535, + "ResourceGroup": "SR", + "ReturnRows": 2452, + "ScanBytes": 1235124, + "ScanRows": 123512, + "BeginTime": 1721962352, + "ExecutionState": "FINISHED", + "ExecutionStatement": "show compute nodes", + "User": "test_aa" + } + ], + "RequestId": "1ac25f6c-4afa-11ef-b7cc-525400454wfaa1" + } +} +``` + diff --git a/tccli/examples/ess/v20201111/DescribeFlowTemplates.md b/tccli/examples/ess/v20201111/DescribeFlowTemplates.md index 14071420d..dcc49debc 100644 --- a/tccli/examples/ess/v20201111/DescribeFlowTemplates.md +++ b/tccli/examples/ess/v20201111/DescribeFlowTemplates.md @@ -8,9 +8,6 @@ Input: ``` tccli ess DescribeFlowTemplates --cli-unfold-argument \ - --Operator.Channel YUFU \ - --Operator.ClientIp 8.8.8.8 \ - --Operator.OpenId \ --Operator.UserId yDxVwUyKQWho8CUuO4zjEyQOAgwvr4Zy \ --Offset 0 \ --Limit 20 \ @@ -255,9 +252,6 @@ Input: ``` tccli ess DescribeFlowTemplates --cli-unfold-argument \ - --Operator.Channel YUFU \ - --Operator.ClientIp 8.8.8.8 \ - --Operator.OpenId \ --Operator.UserId yDxVwUyKQWho8CUuO4zjEyQOAgwvr4Zy \ --Offset 0 \ --Limit 20 \ diff --git a/tccli/examples/hunyuan/v20230901/ChatCompletions.md b/tccli/examples/hunyuan/v20230901/ChatCompletions.md index dbd4efad3..87337f262 100644 --- a/tccli/examples/hunyuan/v20230901/ChatCompletions.md +++ b/tccli/examples/hunyuan/v20230901/ChatCompletions.md @@ -449,6 +449,8 @@ tccli hunyuan ChatCompletions --cli-unfold-argument \ --Messages.0.Contents.0.Text 下面图片中是哪个公司的 Logo? \ --Messages.0.Contents.1.Type image_url \ --Messages.0.Contents.1.ImageUrl.Url https://cloudcache.tencent-cloud.com/qcloud/ui/portal-set/build/About/images/bg-product-series_87d.png \ + --Messages.0.Contents.2.Type image_url \ + --Messages.0.Contents.2.ImageUrl.Url https://cloudcache.tencent-cloud.com/qcloud/ui/portal-set/build/About/images/bg-product-series_87d.png \ --Stream False ``` diff --git a/tccli/examples/iss/v20230517/AddRecordPlan.md b/tccli/examples/iss/v20230517/AddRecordPlan.md index 810b39736..6f0d9f2e8 100644 --- a/tccli/examples/iss/v20230517/AddRecordPlan.md +++ b/tccli/examples/iss/v20230517/AddRecordPlan.md @@ -9,6 +9,7 @@ tccli iss AddRecordPlan --cli-unfold-argument \ --PlanName name \ --TemplateId 48676e89a8c**********baa36220fa4 \ --Describe abc \ + --RepairMode 1 \ --StreamType main \ --Channels.0.DeviceId 48676e89a8c**********baa36220fa4 \ --Channels.0.ChannelId 9ee325e9984**********a805c19b4e1 \ @@ -26,6 +27,7 @@ Output: "PlanName": "name", "TemplateId": "48676e89a8c**********baa36220fa4", "Describe": "abc", + "RepairMode": 1, "StreamType": "main", "LifeCycle": { "Transition": 1, diff --git a/tccli/examples/iss/v20230517/DescribeRecordPlan.md b/tccli/examples/iss/v20230517/DescribeRecordPlan.md index 435882a28..58d3b0913 100644 --- a/tccli/examples/iss/v20230517/DescribeRecordPlan.md +++ b/tccli/examples/iss/v20230517/DescribeRecordPlan.md @@ -19,6 +19,7 @@ Output: "PlanName": "name1", "TemplateId": "9ee325e9984b**********805c19b4e1", "Describe": "", + "RepairMode": 0, "StreamType": "main", "LifeCycle": { "Transition": 10, diff --git a/tccli/examples/iss/v20230517/ListRecordPlanDevices.md b/tccli/examples/iss/v20230517/ListRecordPlanDevices.md index 1fdfb91e5..9ced1bb52 100644 --- a/tccli/examples/iss/v20230517/ListRecordPlanDevices.md +++ b/tccli/examples/iss/v20230517/ListRecordPlanDevices.md @@ -22,35 +22,40 @@ Output: "ChannelName": "dev_1", "DeviceId": "81b14b2d-****-****-****-3d1a3c3f630f", "DeviceName": "gb-device11814", - "OrganizationName": "组织1" + "OrganizationName": "组织1", + "AccessProtocol": 2 }, { "ChannelId": "0020a697-****-****-****-c836d9f95075", "ChannelName": "dev_1", "DeviceId": "c94a9cc1-****-****-****-c87b6065893d", "DeviceName": "gb-device11820", - "OrganizationName": "组织2" + "OrganizationName": "组织2", + "AccessProtocol": 2 }, { "ChannelId": "002b99cb-****-****-****-fb573cc57ab8", "ChannelName": "dev_1", "DeviceId": "a7718b36-****-****-****-b417bd2aa809", "DeviceName": "gb-device3633", - "OrganizationName": "组织2" + "OrganizationName": "组织2", + "AccessProtocol": 2 }, { "ChannelId": "15daac41-****-****-****-0cadab7a6256", "ChannelName": "PTZ03", "DeviceId": "cae2132a-****-****-****-19cc90a61f06", "DeviceName": "NVR-04", - "OrganizationName": "201" + "OrganizationName": "201", + "AccessProtocol": 2 }, { "ChannelId": "222c9da5-****-****-****-107c013b95a7", "ChannelName": "PTZ09", "DeviceId": "389708b2-****-****-****-a61f528b2a15", "DeviceName": "SDK-NVR05", - "OrganizationName": "201" + "OrganizationName": "201", + "AccessProtocol": 2 } ], "PageNumber": 1, @@ -87,35 +92,40 @@ Output: "ChannelName": "PTZ03", "DeviceId": "cae2132a-7edc-****-****-19cc90a61f06", "DeviceName": "NVR-04", - "OrganizationName": "201" + "OrganizationName": "201", + "AccessProtocol": 2 }, { "ChannelId": "222c9da5-3e06-****-****-107c013b95a7", "ChannelName": "DaHua-PTZ 09", "DeviceId": "389708b2-bcbb-****-****-a61f528b2a15", "DeviceName": "SDK-NVR05", - "OrganizationName": "201" + "OrganizationName": "201", + "AccessProtocol": 2 }, { "ChannelId": "32525dd7-c3fc-****-****-d5beb4acd1e1", "ChannelName": "11", "DeviceId": "389708b2-bcbb-****-****-a61f528b2a15", "DeviceName": "SDK-NVR05", - "OrganizationName": "201" + "OrganizationName": "201", + "AccessProtocol": 2 }, { "ChannelId": "53ca64d3-9627-****-****-cea5122f6977", "ChannelName": "PTZ03", "DeviceId": "389708b2-bcbb-****-****-a61f528b2a15", "DeviceName": "SDK-NVR05", - "OrganizationName": "201" + "OrganizationName": "201", + "AccessProtocol": 2 }, { "ChannelId": "60a645e8-3140-****-****-98a62528232b", "ChannelName": "IPDome", "DeviceId": "3f6c847f-b6ea-****-****-2bfc8208d97e", "DeviceName": "onvif03", - "OrganizationName": "201" + "OrganizationName": "201", + "AccessProtocol": 2 } ], "PageNumber": 1, @@ -152,28 +162,32 @@ Output: "ChannelName": "PTZ09", "DeviceId": "389708b2-bcbb-****-****-a61f528b2a15", "DeviceName": "SDK-NVR05", - "OrganizationName": "201" + "OrganizationName": "201", + "AccessProtocol": 2 }, { "ChannelId": "32525dd7-c3fc-****-****-d5beb4acd1e1", "ChannelName": "11", "DeviceId": "389708b2-bcbb-****-****-a61f528b2a15", "DeviceName": "SDK-NVR05", - "OrganizationName": "201" + "OrganizationName": "201", + "AccessProtocol": 2 }, { "ChannelId": "53ca64d3-9627-****-****-cea5122f6977", "ChannelName": "PTZ03", "DeviceId": "389708b2-bcbb-****-****-a61f528b2a15", "DeviceName": "SDK-NVR05", - "OrganizationName": "201" + "OrganizationName": "201", + "AccessProtocol": 2 }, { "ChannelId": "c80a0ebf-10ac-****-****-8083f18df240", "ChannelName": "PTZ17", "DeviceId": "389708b2-bcbb-****-****-a61f528b2a15", "DeviceName": "SDK-NVR05", - "OrganizationName": "201" + "OrganizationName": "201", + "AccessProtocol": 2 } ], "PageNumber": 1, @@ -210,7 +224,8 @@ Output: "ChannelName": "11", "DeviceId": "389708b2-bcbb-****-****-a61f528b2a15", "DeviceName": "SDK-NVR05", - "OrganizationName": "201" + "OrganizationName": "201", + "AccessProtocol": 2 } ], "PageNumber": 1, diff --git a/tccli/examples/iss/v20230517/ListRecordPlans.md b/tccli/examples/iss/v20230517/ListRecordPlans.md index 19285bec9..96714a76f 100644 --- a/tccli/examples/iss/v20230517/ListRecordPlans.md +++ b/tccli/examples/iss/v20230517/ListRecordPlans.md @@ -37,6 +37,7 @@ Output: "PlanName": "name1", "TemplateId": "9ee325e9984b**********805c19b4e1", "Describe": "", + "RepairMode": 0, "StreamType": "main", "LifeCycle": { "Transition": 10, @@ -50,6 +51,7 @@ Output: "PlanName": "name2", "TemplateId": "48676e89a8c1**********aa36220fa4", "Describe": "", + "RepairMode": 0, "StreamType": "main", "LifeCycle": { "Transition": 10, diff --git a/tccli/examples/iss/v20230517/UpdateRecordPlan.md b/tccli/examples/iss/v20230517/UpdateRecordPlan.md index d8451ccb8..29ef0821c 100644 --- a/tccli/examples/iss/v20230517/UpdateRecordPlan.md +++ b/tccli/examples/iss/v20230517/UpdateRecordPlan.md @@ -19,6 +19,7 @@ Output: "PlanName": "newname", "TemplateId": "48676e89a8c**********baa36220fa4", "Describe": "", + "RepairMode": 0, "StreamType": "main", "LifeCycle": { "Transition": 1, @@ -51,6 +52,7 @@ Output: "PlanName": "name", "TemplateId": "48676e89a8c**********baa36a87832", "Describe": "", + "RepairMode": 0, "StreamType": "main", "LifeCycle": { "Transition": 1, @@ -83,6 +85,7 @@ Output: "PlanName": "name", "TemplateId": "48676e89a8c**********baa36220fa4", "Describe": "", + "RepairMode": 0, "StreamType": "main", "LifeCycle": { "Transition": 1, @@ -116,6 +119,7 @@ Output: "PlanName": "name", "TemplateId": "48676e89a8c**********baa36220fa4", "Describe": "", + "RepairMode": 0, "StreamType": "main", "LifeCycle": { "Transition": 1, @@ -149,6 +153,40 @@ Output: "PlanName": "name", "TemplateId": "48676e89a8c**********baa36220fa4", "Describe": "", + "RepairMode": 0, + "StreamType": "main", + "LifeCycle": { + "Transition": 7, + "Expiration": 80 + } + }, + "RequestId": "fba7981b-d6a4-4177-b11d-e53a6110e4cd" + } +} +``` + +**Example 6: 修改录像补录模式** + + + +Input: + +``` +tccli iss UpdateRecordPlan --cli-unfold-argument \ + --PlanId 88ac5ea6c1f**********24671d0f94f \ + --Mod.RepairMode 1 +``` + +Output: +``` +{ + "Response": { + "Data": { + "PlanId": "88ac5ea6c1f**********24671d0f94f", + "PlanName": "name", + "TemplateId": "48676e89a8c**********baa36220fa4", + "Describe": "", + "RepairMode": 1, "StreamType": "main", "LifeCycle": { "Transition": 7, diff --git a/tccli/examples/sms/v20210111/PullSmsSendStatus.md b/tccli/examples/sms/v20210111/PullSmsSendStatus.md index 387c3d1b2..d24d8bcf5 100644 --- a/tccli/examples/sms/v20210111/PullSmsSendStatus.md +++ b/tccli/examples/sms/v20210111/PullSmsSendStatus.md @@ -22,7 +22,8 @@ Output: "ReportStatus": "SUCCESS", "PhoneNumber": "+8615291990000", "SerialNo": "14:19325917feb3914eb78b50d6182d7e452e", - "UserReceiveTime": 1620734188 + "UserReceiveTime": 1620734188, + "SessionContext": "" }, { "Description": "DELIVRD", @@ -31,7 +32,8 @@ Output: "ReportStatus": "SUCCESS", "PhoneNumber": "+8615291990001", "SerialNo": "14:19325917feb3914eb78b50d6182d7e462f", - "UserReceiveTime": 1620734188 + "UserReceiveTime": 1620734188, + "SessionContext": "" } ], "RequestId": "8979fc1e-9564-4fc9-bf7d-2958ce679b72" diff --git a/tccli/examples/sms/v20210111/PullSmsSendStatusByPhoneNumber.md b/tccli/examples/sms/v20210111/PullSmsSendStatusByPhoneNumber.md index 2e3103a6f..8b195b518 100644 --- a/tccli/examples/sms/v20210111/PullSmsSendStatusByPhoneNumber.md +++ b/tccli/examples/sms/v20210111/PullSmsSendStatusByPhoneNumber.md @@ -26,7 +26,8 @@ Output: "ReportStatus": "SUCCESS", "PhoneNumber": "+8615291996666", "SerialNo": "14:19325917feb3914eb78b50d6182d7e452e", - "UserReceiveTime": 1620734188 + "UserReceiveTime": 1620734188, + "SessionContext": "" }, { "Description": "DELIVRD", @@ -35,7 +36,8 @@ Output: "ReportStatus": "SUCCESS", "PhoneNumber": "+8615291996666", "SerialNo": "14:19325917feb3914eb78b50d6182d7e456f", - "UserReceiveTime": 1620734188 + "UserReceiveTime": 1620734188, + "SessionContext": "" } ], "RequestId": "8979fc1e-9564-4fc9-bf7d-2958ce679b72" diff --git a/tccli/examples/sqlserver/v20180328/DescribeRestoreTask.md b/tccli/examples/sqlserver/v20180328/DescribeRestoreTask.md index 51166b2a2..2b67c9d11 100644 --- a/tccli/examples/sqlserver/v20180328/DescribeRestoreTask.md +++ b/tccli/examples/sqlserver/v20180328/DescribeRestoreTask.md @@ -36,7 +36,8 @@ Output: "RestoreTime": "2023-01-12 16:22:48", "RestoreType": 0, "StartTime": "2023-01-12 16:22:55", - "Status": 0 + "Status": 0, + "FlowId": 100 } ], "TotalCount": 1 diff --git a/tccli/examples/sts/v20180813/QueryApiKey.md b/tccli/examples/sts/v20180813/QueryApiKey.md index a357ce5da..e1a2d53c6 100644 --- a/tccli/examples/sts/v20180813/QueryApiKey.md +++ b/tccli/examples/sts/v20180813/QueryApiKey.md @@ -6,14 +6,21 @@ Input: ``` tccli sts QueryApiKey --cli-unfold-argument \ - --TargetUin 123456 + --TargetUin 100020328651 ``` Output: ``` { "Response": { - "RequestId": "" + "IdKeys": [ + { + "SecretId": "AKID5Cn***", + "CreateTime": 1575517111, + "Status": 2 + } + ], + "RequestId": "5cf9d558-a46a-4ce7-bbc2-500cad68b0da" } } ``` diff --git a/tccli/examples/teo/v20220901/DescribeTimingL7AnalysisData.md b/tccli/examples/teo/v20220901/DescribeTimingL7AnalysisData.md index b72ec32d1..fdd3dd03b 100644 --- a/tccli/examples/teo/v20220901/DescribeTimingL7AnalysisData.md +++ b/tccli/examples/teo/v20220901/DescribeTimingL7AnalysisData.md @@ -1,6 +1,6 @@ -**Example 1: 根据协议查询时序流量数据** +**Example 1: 根据 HTTP 协议版本查询时序请求数数据** -根据协议筛选条件获取请求数指标的数据 +根据 HTTP 协议版本筛选条件获取请求数指标数据。 Input: @@ -50,107 +50,3 @@ Output: } ``` -**Example 2: 根据标签查询时序流量数据** - -根据标签的筛选条件获取请求数指标 - -Input: - -``` -tccli teo DescribeTimingL7AnalysisData --cli-unfold-argument \ - --EndTime 2022-08-29T19:17:59+08:00 \ - --Interval day \ - --Area mainland \ - --StartTime 2022-07-31T00:00:00+08:00 \ - --MetricNames l7Flow_request \ - --Filters.0.Key tagKey \ - --Filters.0.Operator equals \ - --Filters.0.Value test1 \ - --Filters.1.Key tagValue \ - --Filters.1.Operator equals \ - --Filters.1.Value a.com b.com \ - --ZoneIds zone-2o7b38ba1hvr -``` - -Output: -``` -{ - "Response": { - "RequestId": "141a7ccd-9713-43a2-91d5-1b47692d0609", - "Data": [ - { - "TypeKey": "251227260", - "TypeValue": [ - { - "Avg": 803, - "Detail": [ - { - "Timestamp": 1659139200, - "Value": 0 - }, - { - "Timestamp": 1661731200, - "Value": 0 - } - ], - "Max": 7921, - "MetricName": "l7Flow_request", - "Sum": 24918 - } - ] - } - ], - "TotalCount": 1 - } -} -``` - -**Example 3: 查询七层数据分析类时序流量数据** - -查询七层流量请求数指标的数据 - -Input: - -``` -tccli teo DescribeTimingL7AnalysisData --cli-unfold-argument \ - --EndTime 2022-08-29T19:17:59+08:00 \ - --Interval day \ - --Area mainland \ - --StartTime 2022-07-31T00:00:00+08:00 \ - --MetricNames l7Flow_request \ - --ZoneIds zone-2o7b38ba1hvr -``` - -Output: -``` -{ - "Response": { - "RequestId": "141a7ccd-9713-43a2-91d5-1b47692d0609", - "Data": [ - { - "TypeKey": "251227260", - "TypeValue": [ - { - "Avg": 803, - "Detail": [ - { - "Timestamp": 1659139200, - "Value": 0 - }, - { - "Timestamp": 1661731200, - "Value": 0 - } - ], - "Max": 7921, - "MetricName": "l7Flow_request", - "Sum": 24918 - } - ] - } - ], - "TotalCount": 1 - } -} -``` - diff --git a/tccli/examples/teo/v20220901/DescribeTimingL7CacheData.md b/tccli/examples/teo/v20220901/DescribeTimingL7CacheData.md index 0696c89dc..d1d181cde 100644 --- a/tccli/examples/teo/v20220901/DescribeTimingL7CacheData.md +++ b/tccli/examples/teo/v20220901/DescribeTimingL7CacheData.md @@ -1,59 +1,4 @@ -**Example 1: 查询指定标签的时序流量数据** - - - -Input: - -``` -tccli teo DescribeTimingL7CacheData --cli-unfold-argument \ - --EndTime 2022-08-29T19:17:59+08:00 \ - --Interval day \ - --Area mainland \ - --StartTime 2022-07-31T00:00:00+08:00 \ - --MetricNames l7Cache_outFlux \ - --Filters.0.Key tagKey \ - --Filters.0.Operator equals \ - --Filters.0.Value test1 \ - --Filters.1.Key tagValue \ - --Filters.1.Operator equals \ - --Filters.1.Value a.com b.com \ - --ZoneIds zone-2mzegj4vln5f -``` - -Output: -``` -{ - "Response": { - "RequestId": "6cc74d08-c174-413a-976b-abe7b851e0121", - "Data": [ - { - "TypeKey": "251227260", - "TypeValue": [ - { - "Avg": 239058, - "Detail": [ - { - "Timestamp": 1659139200, - "Value": 8 - }, - { - "Timestamp": 1661731200, - "Value": 1 - } - ], - "Max": 2363561, - "MetricName": "l7Cache_outFlux", - "Sum": 7410804 - } - ] - } - ], - "TotalCount": 1 - } -} -``` - -**Example 2: 查询指定状态码的时序流量数据** +**Example 1: 查询指定状态码的时序流量数据** @@ -105,52 +50,3 @@ Output: } ``` -**Example 3: 查询七层缓存分析类时序流量数据** - - - -Input: - -``` -tccli teo DescribeTimingL7CacheData --cli-unfold-argument \ - --EndTime 2022-08-29T19:17:59+08:00 \ - --Interval day \ - --Area mainland \ - --StartTime 2022-07-31T00:00:00+08:00 \ - --MetricNames l7Cache_outFlux \ - --ZoneIds zone-2mzegj4vln5f -``` - -Output: -``` -{ - "Response": { - "RequestId": "1c827ba2-7010-45d2-b16b-6d0c4d68a771", - "Data": [ - { - "TypeKey": "251227260", - "TypeValue": [ - { - "Avg": 239058, - "Detail": [ - { - "Timestamp": 1659139200, - "Value": 0 - }, - { - "Timestamp": 1661731200, - "Value": 0 - } - ], - "Max": 2363561, - "MetricName": "l7Cache_outFlux", - "Sum": 7410804 - } - ] - } - ], - "TotalCount": 1 - } -} -``` - diff --git a/tccli/examples/teo/v20220901/DescribeTopL7AnalysisData.md b/tccli/examples/teo/v20220901/DescribeTopL7AnalysisData.md index 441ac14a6..a4a2df694 100644 --- a/tccli/examples/teo/v20220901/DescribeTopL7AnalysisData.md +++ b/tccli/examples/teo/v20220901/DescribeTopL7AnalysisData.md @@ -1,6 +1,6 @@ -**Example 1: 查询指定协议的top流量数据** +**Example 1: 查询特定 HTTP 协议版本下的 Top URL Path 流量数据** -查询七层数据分析类top流量数据 +查询特定 HTTP 协议版本(HTTP/1.0、HTTP/1.1)下的 Top URL Path 流量数据。 Input: @@ -39,85 +39,3 @@ Output: } ``` -**Example 2: 查询指定标签的top流量数据** - -查询指定标签的top流量数据 - -Input: - -``` -tccli teo DescribeTopL7AnalysisData --cli-unfold-argument \ - --Area mainland \ - --Interval day \ - --Limit 1 \ - --StartTime 2022-07-31T00:00:00+08:00 \ - --EndTime 2022-08-29T19:17:59+08:00 \ - --MetricName l7Flow_outFlux_url \ - --Filters.0.Key tagKey \ - --Filters.0.Operator equals \ - --Filters.0.Value test1 \ - --Filters.1.Key tagValue \ - --Filters.1.Operator equals \ - --Filters.1.Value a.com b.com \ - --ZoneIds zone-2mzegj4vln5f -``` - -Output: -``` -{ - "Response": { - "RequestId": "7c499897-8ad9-4a2d-884e-6154f283d723", - "Data": [ - { - "DetailData": [ - { - "Key": "/", - "Value": 1210001 - } - ], - "TypeKey": "251227260" - } - ], - "TotalCount": 1 - } -} -``` - -**Example 3: 查询七层数据分析类top流量数据** - -查询七层数据分析类top流量数据 - -Input: - -``` -tccli teo DescribeTopL7AnalysisData --cli-unfold-argument \ - --Area mainland \ - --Interval day \ - --Limit 1 \ - --StartTime 2022-07-31T00:00:00+08:00 \ - --EndTime 2022-08-29T19:17:59+08:00 \ - --MetricName l7Flow_outFlux_url \ - --ZoneIds zone-2mzegj4vln5f -``` - -Output: -``` -{ - "Response": { - "RequestId": "7c499897-8ad9-4a2d-884e-6154f283d7f6", - "Data": [ - { - "DetailData": [ - { - "Key": "/", - "Value": 7410001 - } - ], - "TypeKey": "251227260" - } - ], - "TotalCount": 1 - } -} -``` - diff --git a/tccli/examples/teo/v20220901/DescribeTopL7CacheData.md b/tccli/examples/teo/v20220901/DescribeTopL7CacheData.md index 174bfbea8..54f1e7bb7 100644 --- a/tccli/examples/teo/v20220901/DescribeTopL7CacheData.md +++ b/tccli/examples/teo/v20220901/DescribeTopL7CacheData.md @@ -1,52 +1,4 @@ -**Example 1: 根据指定标签的top流量数据** - - - -Input: - -``` -tccli teo DescribeTopL7CacheData --cli-unfold-argument \ - --Area mainland \ - --Interval day \ - --Limit 5 \ - --StartTime 2022-07-31T00:00:00+08:00 \ - --EndTime 2022-08-29T19:17:59+08:00 \ - --MetricName l7Cache_outFlux_cacheType \ - --Filters.0.Key tagKey \ - --Filters.0.Operator equals \ - --Filters.0.Value test1 \ - --Filters.1.Key tagValue \ - --Filters.1.Operator equals \ - --Filters.1.Value a.com b.com \ - --ZoneIds zone-2mzegj4vln5f -``` - -Output: -``` -{ - "Response": { - "RequestId": "64463c6f-3296-47fa-b168-2040f841eed1", - "Data": [ - { - "DetailData": [ - { - "Key": "hit", - "Value": 5810001 - }, - { - "Key": "miss", - "Value": 658 - } - ], - "TypeKey": "251227260" - } - ], - "TotalCount": 1 - } -} -``` - -**Example 2: 查询指定状态码的top流量数据** +**Example 1: 查询指定状态码的top流量数据** @@ -91,90 +43,3 @@ Output: } ``` -**Example 3: 查询七层缓存分析类top流量数据** - - - -Input: - -``` -tccli teo DescribeTopL7CacheData --cli-unfold-argument \ - --Area mainland \ - --Interval day \ - --Limit 5 \ - --StartTime 2022-07-31T00:00:00+08:00 \ - --EndTime 2022-08-29T19:17:59+08:00 \ - --MetricName l7Cache_outFlux_cacheType \ - --ZoneIds zone-2mzegj4vln5f -``` - -Output: -``` -{ - "Response": { - "RequestId": "64463c6f-4c96-47fa-b168-2040f841eed1", - "Data": [ - { - "DetailData": [ - { - "Key": "hit", - "Value": 7410001 - }, - { - "Key": "miss", - "Value": 803 - } - ], - "TypeKey": "251227260" - } - ], - "TotalCount": 1 - } -} -``` - -**Example 4: 查询缓存命中跟未命中的top流量数据** - - - -Input: - -``` -tccli teo DescribeTopL7CacheData --cli-unfold-argument \ - --Area mainland \ - --Interval day \ - --Limit 5 \ - --StartTime 2022-07-31T00:00:00+08:00 \ - --EndTime 2022-08-29T19:17:59+08:00 \ - --MetricName l7Cache_outFlux_cacheType \ - --Filters.0.Key cacheType \ - --Filters.0.Operator equals \ - --Filters.0.Value miss hit \ - --ZoneIds zone-2mzegj4vln5f -``` - -Output: -``` -{ - "Response": { - "RequestId": "64463c6f-3296-47fa-b168-2040f841eed1", - "Data": [ - { - "DetailData": [ - { - "Key": "hit", - "Value": 7410001 - }, - { - "Key": "miss", - "Value": 803 - } - ], - "TypeKey": "251227260" - } - ], - "TotalCount": 1 - } -} -``` - diff --git a/tccli/examples/tke/v20180525/DescribeBatchModifyTagsStatus.md b/tccli/examples/tke/v20180525/DescribeBatchModifyTagsStatus.md new file mode 100644 index 000000000..2d1fdc0da --- /dev/null +++ b/tccli/examples/tke/v20180525/DescribeBatchModifyTagsStatus.md @@ -0,0 +1,32 @@ +**Example 1: 查询批量修改标签状态** + +查询批量修改标签状态 + +Input: + +``` +tccli tke DescribeBatchModifyTagsStatus --cli-unfold-argument ``` + +Output: +``` +{ + "Response": { + "FailedResources": [ + { + "Resource": "qcs::ccs:ap-guangzhou:uin/3356535506:cluster/cls-q505raey", + "Error": "err" + } + ], + "Status": "failed", + "SyncSubresource": true, + "Tags": [ + { + "Key": "abc", + "Value": "abc" + } + ], + "RequestId": "33483fde-efec-4d3c-8ff6-340d9dbc2d01" + } +} +``` + diff --git a/tccli/examples/tke/v20180525/ModifyClusterTags.md b/tccli/examples/tke/v20180525/ModifyClusterTags.md new file mode 100644 index 000000000..689e036ea --- /dev/null +++ b/tccli/examples/tke/v20180525/ModifyClusterTags.md @@ -0,0 +1,29 @@ +**Example 1: 修改集群标签** + +修改集群标签 + +Input: + +``` +tccli tke ModifyClusterTags --cli-unfold-argument \ + --ClusterId cls-0gudq56e \ + --Tags.0.Key abc \ + --Tags.0.Value abc \ + --SyncSubresource True +``` + +Output: +``` +{ + "Response": { + "Tags": [ + { + "Key": "abc", + "Value": "abc" + } + ], + "RequestId": "33483fde-efec-4d3c-8ff6-340d9dbc2d01" + } +} +``` + diff --git a/tccli/examples/vpc/v20170312/AssociateNetworkInterfaceSecurityGroups.md b/tccli/examples/vpc/v20170312/AssociateNetworkInterfaceSecurityGroups.md index 8649b9096..186e20c14 100644 --- a/tccli/examples/vpc/v20170312/AssociateNetworkInterfaceSecurityGroups.md +++ b/tccli/examples/vpc/v20170312/AssociateNetworkInterfaceSecurityGroups.md @@ -1,6 +1,6 @@ **Example 1: 弹性网关关联安全组** -弹性网关关联安全组 +将指定网卡和指定安全组进行关联 Input: diff --git a/tccli/services/bma/v20221115/api.json b/tccli/services/bma/v20221115/api.json index d4eb6de3a..76fec2c74 100644 --- a/tccli/services/bma/v20221115/api.json +++ b/tccli/services/bma/v20221115/api.json @@ -381,6 +381,7 @@ "example": "123", "member": "int64", "name": "CompanyId", + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -501,6 +502,16 @@ "CreateBPFakeAPPResponse": { "document": "CreateBPFakeAPP返回参数结构体", "members": [ + { + "disabled": false, + "document": "FakeAPPId", + "example": "无", + "member": "int64", + "name": "FakeAPPId", + "output_required": true, + "type": "int", + "value_allowed_null": false + }, { "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", "member": "string", @@ -555,6 +566,16 @@ "CreateBPFakeURLResponse": { "document": "CreateBPFakeURL返回参数结构体", "members": [ + { + "disabled": false, + "document": "FakeURLId", + "example": "无", + "member": "int64", + "name": "FakeURLId", + "output_required": true, + "type": "int", + "value_allowed_null": false + }, { "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", "member": "string", @@ -686,15 +707,17 @@ "example": "无", "member": "BrandData", "name": "Brands", + "output_required": true, "type": "list", "value_allowed_null": false }, { "disabled": false, "document": "品牌审核通知栏状态:0 不显示 1 显示", - "example": "无", + "example": "1", "member": "int64", "name": "NoticeStatus", + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -749,6 +772,7 @@ "example": "无", "member": "FakeAPPData", "name": "FakeAPPList", + "output_required": true, "type": "list", "value_allowed_null": false }, @@ -758,6 +782,7 @@ "example": "无", "member": "int64", "name": "TotalCount", + "output_required": true, "type": "int", "value_allowed_null": false }, diff --git a/tccli/services/bma/v20221115/examples.json b/tccli/services/bma/v20221115/examples.json index a62c829de..84eab3b18 100644 --- a/tccli/services/bma/v20221115/examples.json +++ b/tccli/services/bma/v20221115/examples.json @@ -11,8 +11,8 @@ "CreateBPFakeAPP": [ { "document": "仿冒应用举报", - "input": "{\n \"CompanyId\": 123,\n \"FakeAPPName\": \"仿冒应用名称\",\n \"APPChan\": \"仿冒来源\",\n \"FakeAPPPackageName\": \"仿冒应用包名\",\n \"FakeAPPCert\": \"仿冒应用证书\",\n \"FakeAPPSize\": \"仿冒应用大小\",\n \"FakeAPPSnapshots\": [\n \"仿冒截图\"\n ],\n \"Note\": \"备注\"\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"xxx\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: bma.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateBPFakeAPP\n<公共请求参数>\n\n{\n \"CompanyId\": 123,\n \"FakeAPPName\": \"仿冒应用名称\",\n \"APPChan\": \"仿冒来源\",\n \"FakeAPPPackageName\": \"仿冒应用包名\",\n \"FakeAPPCert\": \"仿冒应用证书\",\n \"FakeAPPSize\": \"仿冒应用大小\",\n \"FakeAPPSnapshots\": [\n \"仿冒截图\"\n ],\n \"Note\": \"备注\"\n}", + "output": "{\n \"Response\": {\n \"FakeAPPId\": 12,\n \"RequestId\": \"xxx\"\n }\n}", "title": "仿冒应用举报" } ], @@ -27,8 +27,8 @@ "CreateBPFakeURL": [ { "document": "仿冒网址举报", - "input": "{\n \"CompanyId\": 123,\n \"FakeURL\": \"举报网址\",\n \"FakeURLSnapshots\": [\n \"仿冒截图\"\n ],\n \"Note\": \"备注\"\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"xxx\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: bma.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateBPFakeURL\n<公共请求参数>\n\n{\n \"CompanyId\": 123,\n \"FakeURL\": \"举报网址\",\n \"FakeURLSnapshots\": [\n \"仿冒截图\"\n ],\n \"Note\": \"备注\"\n}", + "output": "{\n \"Response\": {\n \"FakeURLId\": 1,\n \"RequestId\": \"xxx\"\n }\n}", "title": "仿冒网址举报" } ], @@ -67,8 +67,8 @@ "DescribeBPFakeAPPList": [ { "document": "查询仿冒应用列表", - "input": "{\n \"Filters\": [\n {\n \"Name\": \"BrandName\",\n \"Value\": \"品牌名称\"\n },\n {\n \"Name\": \"Origin\",\n \"Value\": \"0\"\n },\n {\n \"Name\": \"BlockStatus\",\n \"Value\": \"0\"\n },\n {\n \"Name\": \"OfflineStatus\",\n \"Value\": \"0\"\n },\n {\n \"Name\": \"FakeAPP\",\n \"Value\": \"xxx\"\n },\n {\n \"Name\": \"StartTime\",\n \"Value\": \"2022-10-01 00:00:00\"\n },\n {\n \"Name\": \"EndTime\",\n \"Value\": \"2022-10-01 23:59:59\"\n }\n ],\n \"PageSize\": 10,\n \"PageNumber\": 1\n}", - "output": "{\n \"Response\": {\n \"FakeAPPList\": [\n {\n \"FakeAPPId\": 123,\n \"BrandName\": \"品牌名称\",\n \"Origin\": 0,\n \"FakeAPPName\": \"仿冒应用名称\",\n \"FakeAPPPackageName\": \"仿冒应用包名\",\n \"FakeAPPCert\": \"仿冒应用证书\",\n \"FakeAPPSize\": \"仿冒应用大小\",\n \"Heat\": 100,\n \"BlockStatus\": 0,\n \"BlockNote\": \"协助处置状态说明\",\n \"OfflineStatus\": 0,\n \"OfflineNote\": \"下架状态说明\",\n \"DownloadWay\": \"app来源\",\n \"InsertTime\": \"2022-10-01 00:00:00\",\n \"DownloadCosURL\": \"cos下载链接\"\n }\n ],\n \"TotalCount\": 100,\n \"RequestId\": \"xxx\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: bma.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBPFakeAPPList\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"BrandName\",\n \"Value\": \"品牌名称\"\n },\n {\n \"Name\": \"Origin\",\n \"Value\": \"0\"\n },\n {\n \"Name\": \"BlockStatus\",\n \"Value\": \"0\"\n },\n {\n \"Name\": \"OfflineStatus\",\n \"Value\": \"0\"\n },\n {\n \"Name\": \"FakeAPP\",\n \"Value\": \"xxx\"\n },\n {\n \"Name\": \"StartTime\",\n \"Value\": \"2022-10-01 00:00:00\"\n },\n {\n \"Name\": \"EndTime\",\n \"Value\": \"2022-10-01 23:59:59\"\n }\n ],\n \"PageSize\": 10,\n \"PageNumber\": 1\n}", + "output": "{\n \"Response\": {\n \"FakeAPPList\": [\n {\n \"FakeAPPId\": 123,\n \"BrandName\": \"品牌名称\",\n \"Origin\": 0,\n \"FakeAPPName\": \"仿冒应用名称\",\n \"FakeAPPPackageName\": \"仿冒应用包名\",\n \"FakeAPPCert\": \"仿冒应用证书\",\n \"FakeAPPSize\": \"仿冒应用大小\",\n \"Heat\": 100,\n \"BlockStatus\": 0,\n \"BlockNote\": \"协助处置状态说明\",\n \"OfflineStatus\": 0,\n \"OfflineNote\": \"下架状态说明\",\n \"DownloadWay\": \"app来源\",\n \"InsertTime\": \"2022-10-01 00:00:00\",\n \"DownloadCosURL\": \"cos下载链接\",\n \"CertificationStatus\": 0\n }\n ],\n \"TotalCount\": 100,\n \"RequestId\": \"xxx\"\n }\n}", "title": "查询仿冒应用列表" } ], diff --git a/tccli/services/cam/v20190116/api.json b/tccli/services/cam/v20190116/api.json index 7b78ef94e..b17f55bf5 100644 --- a/tccli/services/cam/v20190116/api.json +++ b/tccli/services/cam/v20190116/api.json @@ -3506,8 +3506,8 @@ "members": [ { "disabled": false, - "document": "策略Id", - "example": "", + "document": "策略Id。", + "example": "17698703", "member": "uint64", "name": "PolicyId", "required": true, @@ -3521,73 +3521,81 @@ "members": [ { "disabled": false, - "document": "策略名\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "", + "document": "策略名。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "testPolicy", "member": "string", "name": "PolicyName", + "output_required": true, "type": "string", "value_allowed_null": true }, { "disabled": false, - "document": "策略描述\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "", + "document": "策略描述。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "测试策略", "member": "string", "name": "Description", + "output_required": true, "type": "string", "value_allowed_null": true }, { "disabled": false, - "document": "1 表示自定义策略,2 表示预设策略\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "", + "document": "1 表示自定义策略,2 表示预设策略。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "1", "member": "uint64", "name": "Type", + "output_required": true, "type": "int", "value_allowed_null": true }, { "disabled": false, - "document": "创建时间\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "", + "document": "策略创建时间。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "2019-04-29 21:18:28", "member": "datetime", "name": "AddTime", + "output_required": true, "type": "string", "value_allowed_null": true }, { "disabled": false, - "document": "最近更新时间\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "", + "document": "策略最近更新时间。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "2019-04-29 21:28:32", "member": "datetime", "name": "UpdateTime", + "output_required": true, "type": "string", "value_allowed_null": true }, { "disabled": false, - "document": "策略文档\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "", + "document": "策略文档。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "{\\\"version\\\":\\\"2.0\\\",\\\"statement\\\":[{\\\"effect\\\":\\\"allow\\\",\\\"action\\\":[\\\"name\\\\/cos:*\\\"],\\\"resource\\\":[\\\"*\\\"]}]}", "member": "string", "name": "PolicyDocument", + "output_required": true, "type": "string", "value_allowed_null": true }, { "disabled": false, - "document": "备注\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "", + "document": "备注。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "备注", "member": "string", "name": "PresetAlias", + "output_required": true, "type": "string", "value_allowed_null": true }, { "disabled": false, - "document": "是否服务相关策略\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "", + "document": "是否是服务相关策略,0代表不是服务相关策略,1代表是服务相关策略。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "1", "member": "uint64", "name": "IsServiceLinkedRolePolicy", + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -4580,8 +4588,8 @@ "members": [ { "disabled": false, - "document": "目标用户ID", - "example": "1234565", + "document": "目标用户Uin", + "example": "100020328651", "member": "uint64", "name": "TargetUin", "required": true, @@ -4589,7 +4597,7 @@ }, { "disabled": false, - "document": "每页数量,必须大于 0 且小于或等于 200", + "document": "每页数量,必须大于 0 且小于等于 200。", "example": "1", "member": "uint64", "name": "Rp", @@ -4598,7 +4606,7 @@ }, { "disabled": false, - "document": "页码,从 1开始,不能大于 200", + "document": "页码,从 1开始,不能大于 200。", "example": "10", "member": "uint64", "name": "Page", @@ -4607,7 +4615,7 @@ }, { "disabled": false, - "document": "0:返回直接关联和随组关联策略,1:只返回直接关联策略,2:只返回随组关联策略", + "document": "关联类型。0:返回直接关联和随组关联策略,1:只返回直接关联策略,2:只返回随组关联策略。", "example": "1", "member": "uint64", "name": "AttachType", @@ -4616,7 +4624,7 @@ }, { "disabled": false, - "document": "策略类型", + "document": "策略类型。1表示自定义策略,2表示预设策略。", "example": "1", "member": "uint64", "name": "StrategyType", @@ -4640,21 +4648,21 @@ "members": [ { "disabled": false, - "document": "策略列表数据", - "example": "无", + "document": "策略列表数据。", + "example": "[{\"AddTime\":\"2020-01-16 15:09:27\",\"CreateMode\":\"2\",\"Deactived\":1,\"DeactivedDetail\":[\"consolesms\"],\"Description\":\"短信(SMS)全读写访问权限\",\"Groups\":[{\"GroupId\":93878,\"GroupName\":\"系统运维\"}],\"PolicyId\":\"219064\",\"PolicyName\":\"QcloudSMSFullAccess\",\"StrategyType\":\"2\"}]", "member": "AttachedUserPolicy", "name": "PolicyList", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": false }, { "disabled": false, - "document": "策略总数", - "example": "11", + "document": "策略总数。", + "example": "1", "member": "uint64", "name": "TotalNum", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, diff --git a/tccli/services/cam/v20190116/examples.json b/tccli/services/cam/v20190116/examples.json index 33347165e..59cb0ec59 100644 --- a/tccli/services/cam/v20190116/examples.json +++ b/tccli/services/cam/v20190116/examples.json @@ -473,8 +473,8 @@ "ListAttachedUserAllPolicies": [ { "document": "", - "input": "https://cam.tencentcloudapi.com/?Action=ListAttachedUserAllPolicies\n&Rp=1\n&Page=10\n&AttachType=1\n&TargetUin=1234565\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"TotalNum\": 11,\n \"PolicyList\": [\n {\n \"PolicyId\": \"522474\",\n \"PolicyName\": \"policygen-20191204195412\",\n \"Description\": \"\",\n \"AddTime\": \"2019-12-04 19:56:35\",\n \"StrategyType\": \"1\",\n \"CreateMode\": \"3\",\n \"Deactived\": 1,\n \"Groups\": [],\n \"DeactivedDetail\": [\n \"xx\"\n ]\n }\n ],\n \"RequestId\": \"d369dabb-ebc9-4598-baae-e1177e9e3868\"\n }\n}", + "input": "https://cam.tencentcloudapi.com/?Action=ListAttachedUserAllPolicies\n&Rp=1\n&Page=10\n&AttachType=1\n&TargetUin=100020328651\n&<公共请求参数>", + "output": "{\n \"Response\": {\n \"TotalNum\": 1,\n \"PolicyList\": [\n {\n \"AddTime\": \"2020-01-16 15:09:27\",\n \"CreateMode\": \"2\",\n \"Deactived\": 1,\n \"DeactivedDetail\": [\n \"consolesms\"\n ],\n \"Description\": \"短信(SMS)全读写访问权限\",\n \"Groups\": [\n {\n \"GroupId\": 93878,\n \"GroupName\": \"系统运维\"\n }\n ],\n \"PolicyId\": \"219064\",\n \"PolicyName\": \"QcloudSMSFullAccess\",\n \"StrategyType\": \"2\"\n }\n ],\n \"RequestId\": \"d369dabb-ebc9-4598-baae-e1177e9e3868\"\n }\n}", "title": "列出用户关联的策略(包括随组关联)" } ], diff --git a/tccli/services/cdwdoris/v20211228/api.json b/tccli/services/cdwdoris/v20211228/api.json index 55e80009d..1f99fec11 100644 --- a/tccli/services/cdwdoris/v20211228/api.json +++ b/tccli/services/cdwdoris/v20211228/api.json @@ -2371,6 +2371,15 @@ "required": true, "type": "string" }, + { + "disabled": false, + "document": "任务类型:\n0-不限制,或使用TypeFilters过滤;\n1-备份恢复(包括周期备份和一次性备份);\n2-数据迁移(包括跨集群迁移和cos迁移)\t", + "example": "1", + "member": "int64", + "name": "ApplicationType", + "required": false, + "type": "int" + }, { "disabled": false, "document": "分页大小", @@ -2443,7 +2452,17 @@ }, "DescribeBackUpSchedulesRequest": { "document": "DescribeBackUpSchedules请求参数结构体", - "members": [], + "members": [ + { + "disabled": false, + "document": "任务类型\n0-不限制,或使用TypeFilters过滤;\n1-备份恢复(包括周期备份和一次性备份);\n2-数据迁移(包括跨集群迁移和cos迁移)", + "example": "1", + "member": "int64", + "name": "ApplicationType", + "required": false, + "type": "int" + } + ], "type": "object" }, "DescribeBackUpSchedulesResponse": { diff --git a/tccli/services/cfg/v20210820/api.json b/tccli/services/cfg/v20210820/api.json index 24493932a..e157713d9 100644 --- a/tccli/services/cfg/v20210820/api.json +++ b/tccli/services/cfg/v20210820/api.json @@ -470,6 +470,16 @@ "output_required": false, "type": "bool", "value_allowed_null": true + }, + { + "disabled": false, + "document": "对象类型ID\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "6", + "member": "int64", + "name": "ObjectTypeId", + "output_required": false, + "type": "int", + "value_allowed_null": true } ], "usage": "out" @@ -3292,7 +3302,7 @@ { "disabled": false, "document": "0--未开始,1--正在归档,2--归档成功,3--归档失败", - "example": "无", + "example": "2", "member": "int64", "name": "ArchiveStage", "output_required": false, @@ -3308,6 +3318,16 @@ "output_required": false, "type": "string", "value_allowed_null": false + }, + { + "disabled": false, + "document": "归档ID\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "cfg-uixxx", + "member": "string", + "name": "ArchiveUuid", + "output_required": false, + "type": "string", + "value_allowed_null": true } ], "usage": "out" diff --git a/tccli/services/cls/v20201016/api.json b/tccli/services/cls/v20201016/api.json index 72d265232..e71eccfc8 100644 --- a/tccli/services/cls/v20201016/api.json +++ b/tccli/services/cls/v20201016/api.json @@ -680,7 +680,7 @@ "status": "online" }, "QueryMetric": { - "document": "查询指定时刻指标的最新值", + "document": "查询指定时刻指标的最新值。\n如果该时刻向前推5分钟内均无指标数据,则无相应的查询结果。", "input": "QueryMetricRequest", "name": "指标查询(最新值查询)", "output": "QueryMetricResponse", @@ -10080,7 +10080,7 @@ "example": "4463e7b0-3ec8-41a1-ae48-5d24b22167c2", "member": "string", "name": "LogsetId", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -10090,7 +10090,7 @@ "example": "test", "member": "string", "name": "LogsetName", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -10100,7 +10100,7 @@ "example": "2021-04-01 08:00:00", "member": "string", "name": "CreateTime", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -10110,7 +10110,7 @@ "example": "TCB", "member": "string", "name": "AssumerName", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -10120,7 +10120,7 @@ "example": "无", "member": "Tag", "name": "Tags", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": true }, @@ -10130,7 +10130,7 @@ "example": "10", "member": "int64", "name": "TopicCount", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -10140,7 +10140,7 @@ "example": "TCB_QcsRole", "member": "string", "name": "RoleName", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false } @@ -12308,6 +12308,15 @@ "name": "PartitionCount", "required": false, "type": "int" + }, + { + "disabled": false, + "document": "取消切换存储任务的id", + "example": "无", + "member": "string", + "name": "CancelTopicAsyncTaskID", + "required": false, + "type": "string" } ], "type": "object" @@ -13109,7 +13118,7 @@ }, { "disabled": false, - "document": "查询时间,秒级Unix时间戳\t", + "document": "查询时间,秒级Unix时间戳。为空时代表当前时间戳。\n", "example": "1695197431", "member": "uint64", "name": "Time", @@ -14796,6 +14805,36 @@ "output_required": false, "type": "object", "value_allowed_null": true + }, + { + "disabled": false, + "document": "异步迁移任务ID\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "string", + "name": "TopicAsyncTaskID", + "output_required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "异步迁移状态\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "uint64", + "name": "MigrationStatus", + "output_required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "异步迁移完成后,预计生效日期\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "string", + "name": "EffectiveDate", + "output_required": false, + "type": "string", + "value_allowed_null": true } ], "usage": "out" @@ -14929,7 +14968,7 @@ }, { "disabled": false, - "document": "请求头。\n注意:该参数已废弃,请在创建告警策略接口CallBack参数中指定请求头。\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "请求头。\n注意:该参数已废弃,请使用NoticeContentId。\n注意:此字段可能返回 null,表示取不到有效值。", "example": "无", "member": "string", "name": "Headers", @@ -14940,7 +14979,7 @@ }, { "disabled": false, - "document": "请求内容。\n注意:该参数已废弃,请在创建告警策略接口CallBack参数中指定请求内容。\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "请求内容。\n注意:该参数已废弃,请使用NoticeContentId。\n注意:此字段可能返回 null,表示取不到有效值。", "example": "无", "member": "string", "name": "Body", @@ -14959,6 +14998,28 @@ "required": false, "type": "int", "value_allowed_null": false + }, + { + "disabled": false, + "document": "通知内容模板ID。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "\"noticetemplate-1eba4ed8-9584-40e3-a948-c8cff121eed1\"", + "member": "string", + "name": "NoticeContentId", + "output_required": false, + "required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "集成配置ID。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "\"webcallback-aaa-bbb-ccc-ddd\"", + "member": "string", + "name": "WebCallbackId", + "output_required": false, + "required": false, + "type": "string", + "value_allowed_null": true } ], "usage": "both" diff --git a/tccli/services/cynosdb/v20190107/api.json b/tccli/services/cynosdb/v20190107/api.json index bc7744a2a..9429f1022 100644 --- a/tccli/services/cynosdb/v20190107/api.json +++ b/tccli/services/cynosdb/v20190107/api.json @@ -736,7 +736,7 @@ "status": "online" }, "ModifyDBInstanceSecurityGroups": { - "document": "本接口(ModifyDBInstanceSecurityGroups)用于修改实例绑定的安全组。", + "document": "本接口(ModifyDBInstanceSecurityGroups)用于修改实例绑定的安全组。", "input": "ModifyDBInstanceSecurityGroupsRequest", "name": "修改实例绑定安全组", "output": "ModifyDBInstanceSecurityGroupsResponse", @@ -19774,7 +19774,7 @@ "example": "ap-shanghai-4", "member": "string", "name": "Zone", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -19784,7 +19784,7 @@ "example": "200004", "member": "int64", "name": "ZoneId", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -19794,7 +19794,7 @@ "example": "上海四区", "member": "string", "name": "ZoneZh", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -19804,7 +19804,7 @@ "example": "1", "member": "int64", "name": "IsSupportServerless", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -19814,7 +19814,7 @@ "example": "1", "member": "int64", "name": "IsSupportNormal", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -19824,7 +19824,7 @@ "example": "ap-guangzhou-2", "member": "string", "name": "PhysicalZone", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -19834,7 +19834,7 @@ "example": "false", "member": "bool", "name": "HasPermission", - "required": false, + "output_required": true, "type": "bool", "value_allowed_null": true }, @@ -19844,9 +19844,19 @@ "example": "无", "member": "string", "name": "IsWholeRdmaZone", - "required": false, + "output_required": true, "type": "string", "value_allowed_null": false + }, + { + "disabled": false, + "document": "当前可用区是否允许新购集群,1:允许,0:不允许", + "example": "1", + "member": "int64", + "name": "IsSupportCreateCluster", + "output_required": true, + "type": "int", + "value_allowed_null": false } ], "usage": "out" diff --git a/tccli/services/cynosdb/v20190107/examples.json b/tccli/services/cynosdb/v20190107/examples.json index b140914a9..31e81e2e6 100644 --- a/tccli/services/cynosdb/v20190107/examples.json +++ b/tccli/services/cynosdb/v20190107/examples.json @@ -652,7 +652,7 @@ { "document": "仅查看用户有权限的可用区", "input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeZones\n<公共请求参数>\n\n{}", - "output": "{\n \"Response\": {\n \"RegionSet\": [\n {\n \"DbType\": \"MYSQL\",\n \"Region\": \"ap-guangzhou\",\n \"RegionId\": 100001,\n \"Modules\": [\n {\n \"ModuleName\": \"is.disable.wan\",\n \"IsDisable\": \"yes\"\n }\n ],\n \"RegionZh\": \"广州\",\n \"ZoneSet\": [\n {\n \"PhysicalZone\": \"ap-guangzhou-2\",\n \"Zone\": \"ap-guangzhou-2\",\n \"IsSupportServerless\": 0,\n \"ZoneId\": 100003,\n \"IsSupportNormal\": 0,\n \"ZoneZh\": \"广州二区\",\n \"HasPermission\": true,\n \"IsWholeRdmaZone\": \"abc\"\n },\n {\n \"PhysicalZone\": \"ao-guangzhou-5\",\n \"Zone\": \"ap-guangzhou-5\",\n \"IsSupportServerless\": 0,\n \"ZoneId\": 100004,\n \"IsSupportNormal\": 0,\n \"ZoneZh\": \"广州五区\",\n \"HasPermission\": true,\n \"IsWholeRdmaZone\": \"abc\"\n }\n ]\n },\n {\n \"DbType\": \"MYSQL\",\n \"Region\": \"ap-beijing\",\n \"RegionId\": 8,\n \"Modules\": [\n {\n \"ModuleName\": \"is.disable.wan\",\n \"IsDisable\": \"no\"\n }\n ],\n \"RegionZh\": \"北京\",\n \"ZoneSet\": [\n {\n \"PhysicalZone\": \"ap-beijing-5\",\n \"Zone\": \"ap-beijing-5\",\n \"IsSupportServerless\": 0,\n \"ZoneId\": 800001,\n \"IsSupportNormal\": 0,\n \"ZoneZh\": \"北京五区\",\n \"HasPermission\": true,\n \"IsWholeRdmaZone\": \"abc\"\n }\n ]\n }\n ],\n \"RequestId\": \"1qwert-123-asbc\"\n }\n}", + "output": "{\n \"Response\": {\n \"RegionSet\": [\n {\n \"DbType\": \"MYSQL\",\n \"Region\": \"ap-guangzhou\",\n \"RegionId\": 100001,\n \"Modules\": [\n {\n \"ModuleName\": \"is.disable.wan\",\n \"IsDisable\": \"yes\"\n }\n ],\n \"RegionZh\": \"广州\",\n \"ZoneSet\": [\n {\n \"PhysicalZone\": \"ap-guangzhou-2\",\n \"Zone\": \"ap-guangzhou-2\",\n \"IsSupportServerless\": 0,\n \"ZoneId\": 100003,\n \"IsSupportNormal\": 0,\n \"ZoneZh\": \"广州二区\",\n \"HasPermission\": true,\n \"IsWholeRdmaZone\": \"abc\",\n \"IsSupportCreateCluster\": 1\n },\n {\n \"PhysicalZone\": \"ao-guangzhou-5\",\n \"Zone\": \"ap-guangzhou-5\",\n \"IsSupportServerless\": 0,\n \"ZoneId\": 100004,\n \"IsSupportNormal\": 0,\n \"ZoneZh\": \"广州五区\",\n \"HasPermission\": true,\n \"IsWholeRdmaZone\": \"abc\",\n \"IsSupportCreateCluster\": 0\n }\n ]\n },\n {\n \"DbType\": \"MYSQL\",\n \"Region\": \"ap-beijing\",\n \"RegionId\": 8,\n \"Modules\": [\n {\n \"ModuleName\": \"is.disable.wan\",\n \"IsDisable\": \"no\"\n }\n ],\n \"RegionZh\": \"北京\",\n \"ZoneSet\": [\n {\n \"PhysicalZone\": \"ap-beijing-5\",\n \"Zone\": \"ap-beijing-5\",\n \"IsSupportServerless\": 0,\n \"ZoneId\": 800001,\n \"IsSupportNormal\": 0,\n \"ZoneZh\": \"北京五区\",\n \"HasPermission\": true,\n \"IsWholeRdmaZone\": \"abc\",\n \"IsSupportCreateCluster\": 1\n }\n ]\n }\n ],\n \"RequestId\": \"1qwert-123-asbc\"\n }\n}", "title": "查询可售卖地域可用区信息" } ], @@ -867,7 +867,7 @@ "ModifyDBInstanceSecurityGroups": [ { "document": "修改实例绑定安全组", - "input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceSecurityGroups\n<公共请求参数>\n\n{\n \"InstanceId\": \"cynosdbmysql-ins-lkj\",\n \"SecurityGroupIds\": [\n \"sg-mnbv\"\n ],\n \"Zone\": \"ap-guangzhou-3\"\n}", + "input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceSecurityGroups\n<公共请求参数>\n\n{\n \"InstanceId\": \"cynosdbmysql-j8ynfcpgj\",\n \"SecurityGroupIds\": [\n \"sg-mnbv\"\n ],\n \"Zone\": \"ap-guangzhou-3\"\n}", "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}", "title": "修改实例绑定安全组" } diff --git a/tccli/services/dasb/v20191018/api.json b/tccli/services/dasb/v20191018/api.json index 74403e60c..0f46c7bdc 100644 --- a/tccli/services/dasb/v20191018/api.json +++ b/tccli/services/dasb/v20191018/api.json @@ -3559,21 +3559,30 @@ "members": [ { "disabled": false, - "document": "资产组ID", + "document": "true - 查询已在该资产组的资产,false - 查询未在该资产组的资产", + "example": "true", + "member": "bool", + "name": "Bound", + "required": true, + "type": "bool" + }, + { + "disabled": false, + "document": "资产组ID,Id和IdSet二选一", "example": "1", "member": "uint64", "name": "Id", - "required": true, + "required": false, "type": "int" }, { "disabled": false, - "document": "true - 查询已在该资产组的资产,false - 查询未在该资产组的资产", - "example": "true", - "member": "bool", - "name": "Bound", - "required": true, - "type": "bool" + "document": "资产组ID集合,传Id,IdSet不生效。", + "example": "[1,2,3]", + "member": "uint64", + "name": "IdSet", + "required": false, + "type": "list" }, { "disabled": false, @@ -3641,7 +3650,7 @@ "example": "10", "member": "uint64", "name": "TotalCount", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -3651,7 +3660,7 @@ "example": "[]", "member": "Device", "name": "DeviceSet", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": false }, diff --git a/tccli/services/dasb/v20191018/examples.json b/tccli/services/dasb/v20191018/examples.json index 640986ec1..826f7e57b 100644 --- a/tccli/services/dasb/v20191018/examples.json +++ b/tccli/services/dasb/v20191018/examples.json @@ -266,7 +266,7 @@ { "document": "", "input": "POST / HTTP/1.1\nHost: dasb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDeviceGroupMembers\n<公共请求参数>\n\n{\n \"Id\": 1,\n \"Name\": \"研发主机\",\n \"Bound\": true\n}", - "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"xx\",\n \"DeviceSet\": [\n {\n \"Kind\": 1,\n \"GroupSet\": [\n {\n \"Department\": {\n \"Managers\": [\n \"xx\"\n ],\n \"Id\": \"xx\",\n \"Name\": \"xx\"\n },\n \"Id\": 1,\n \"Name\": \"xx\"\n }\n ],\n \"Resource\": {\n \"RenewFlag\": 1,\n \"Zone\": \"xx\",\n \"SubnetName\": \"xx\",\n \"Nodes\": 1,\n \"Status\": 1,\n \"VpcId\": \"xx\",\n \"SubProductCode\": \"xx\",\n \"ResourceId\": \"xx\",\n \"PackageBandwidth\": 1,\n \"VpcName\": \"xx\",\n \"ApCode\": \"xx\",\n \"SubnetId\": \"xx\",\n \"ResourceName\": \"xx\",\n \"Expired\": true,\n \"Deployed\": true,\n \"ProductCode\": \"xx\",\n \"PublicIpSet\": [\n \"xx\"\n ],\n \"ModuleSet\": [\n \"xx\"\n ],\n \"ExtendPoints\": 1,\n \"UsedNodes\": 1,\n \"PrivateIpSet\": [\n \"xx\"\n ],\n \"Pid\": 1,\n \"VpcCidrBlock\": \"xx\",\n \"PackageNode\": 1,\n \"ExpireTime\": \"2020-09-22T00:00:00+00:00\",\n \"SvArgs\": \"xx\",\n \"CidrBlock\": \"xx\",\n \"CreateTime\": \"2020-09-22T00:00:00+00:00\"\n },\n \"Name\": \"xx\",\n \"InstanceId\": \"xx\",\n \"OsName\": \"xx\",\n \"AccountCount\": 1,\n \"PrivateIp\": \"xx\",\n \"PublicIp\": \"xx\",\n \"Department\": {\n \"Managers\": [\n \"xx\"\n ],\n \"Id\": \"xx\",\n \"Name\": \"xx\"\n },\n \"VpcId\": \"xx\",\n \"ApCode\": \"xx\",\n \"SubnetId\": \"xx\",\n \"Port\": 1,\n \"Id\": 1\n }\n ]\n }\n}", + "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"DeviceSet\": [\n {\n \"Id\": 1,\n \"InstanceId\": \"abc\",\n \"Name\": \"abc\",\n \"PublicIp\": \"abc\",\n \"PrivateIp\": \"abc\",\n \"ApCode\": \"abc\",\n \"OsName\": \"abc\",\n \"Kind\": 1,\n \"Port\": 1,\n \"GroupSet\": [\n {\n \"Id\": 1,\n \"Name\": \"abc\",\n \"Department\": {\n \"Id\": \"abc\",\n \"Name\": \"abc\",\n \"Managers\": [\n \"abc\"\n ],\n \"ManagerUsers\": [\n {\n \"ManagerId\": \"abc\",\n \"ManagerName\": \"abc\"\n }\n ]\n },\n \"Count\": 1\n }\n ],\n \"AccountCount\": 1,\n \"VpcId\": \"abc\",\n \"SubnetId\": \"abc\",\n \"Resource\": {\n \"ResourceId\": \"abc\",\n \"ApCode\": \"abc\",\n \"SvArgs\": \"abc\",\n \"VpcId\": \"abc\",\n \"Nodes\": 1,\n \"RenewFlag\": 1,\n \"ExpireTime\": \"2020-09-22T00:00:00+00:00\",\n \"Status\": 1,\n \"ResourceName\": \"abc\",\n \"Pid\": 1,\n \"CreateTime\": \"2020-09-22T00:00:00+00:00\",\n \"ProductCode\": \"abc\",\n \"SubProductCode\": \"abc\",\n \"Zone\": \"abc\",\n \"Expired\": true,\n \"Deployed\": true,\n \"VpcName\": \"abc\",\n \"VpcCidrBlock\": \"abc\",\n \"SubnetId\": \"abc\",\n \"SubnetName\": \"abc\",\n \"CidrBlock\": \"abc\",\n \"PublicIpSet\": [\n \"abc\"\n ],\n \"PrivateIpSet\": [\n \"abc\"\n ],\n \"ModuleSet\": [\n \"abc\"\n ],\n \"UsedNodes\": 1,\n \"ExtendPoints\": 1,\n \"PackageBandwidth\": 1,\n \"PackageNode\": 1,\n \"LogDeliveryArgs\": \"abc\",\n \"ClbSet\": [\n {\n \"ClbIp\": \"abc\"\n }\n ],\n \"DomainCount\": 0,\n \"UsedDomainCount\": 1,\n \"Trial\": 1\n },\n \"Department\": {\n \"Id\": \"abc\",\n \"Name\": \"abc\",\n \"Managers\": [\n \"abc\"\n ],\n \"ManagerUsers\": [\n {\n \"ManagerId\": \"abc\",\n \"ManagerName\": \"abc\"\n }\n ]\n },\n \"IpPortSet\": [\n \"abc\"\n ],\n \"DomainId\": \"abc\",\n \"DomainName\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}", "title": "查询资产组成员列表" } ], diff --git a/tccli/services/dnspod/v20210323/api.json b/tccli/services/dnspod/v20210323/api.json index 9a79dc3ee..00aa289e6 100644 --- a/tccli/services/dnspod/v20210323/api.json +++ b/tccli/services/dnspod/v20210323/api.json @@ -4076,7 +4076,7 @@ }, { "disabled": false, - "document": "域名等级。\n+ 旧套餐:D_FREE、D_PLUS、D_EXTRA、D_EXPERT、D_ULTRA 分别对应免费套餐、个人豪华、企业1、企业2、企业3。\n+ 新套餐:DP_FREE、DP_PLUS、DP_EXTRA、DP_EXPERT、DP_ULTRA 分别对应新免费、个人专业版、企业创业版、企业标准版、企业旗舰版。", + "document": "域名套餐等级。 旧套餐:D_FREE、D_PLUS、D_EXTRA、D_EXPERT、D_ULTRA 、DP_EXTRA 分别对应免费套餐、个人豪华、企业 I、企业 II、企业 III、企业基础版。 新套餐:DP_FREE、DP_PLUS、DP_EXPERT、DP_ULTRA 分别对应新免费、专业版、企业版、尊享版。", "example": "DP_PLUS", "member": "string", "name": "DomainGrade", @@ -4104,6 +4104,7 @@ "example": "无", "member": "LineInfo", "name": "LineList", + "output_required": true, "type": "list", "value_allowed_null": false }, @@ -4113,6 +4114,7 @@ "example": "无", "member": "LineGroupInfo", "name": "LineGroupList", + "output_required": true, "type": "list", "value_allowed_null": false }, diff --git a/tccli/services/emr/emr_client.py b/tccli/services/emr/emr_client.py index 1797bef92..b1f1e50b6 100644 --- a/tccli/services/emr/emr_client.py +++ b/tccli/services/emr/emr_client.py @@ -433,6 +433,58 @@ def doModifyYarnQueueV2(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) +def doDescribeHDFSStorageInfo(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.EmrClient(cred, g_param[OptionsDefine.Region], profile) + client._sdkVersion += ("_CLI_" + __version__) + models = MODELS_MAP[g_param[OptionsDefine.Version]] + model = models.DescribeHDFSStorageInfoRequest() + model.from_json_string(json.dumps(args)) + start_time = time.time() + while True: + rsp = client.DescribeHDFSStorageInfo(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 doDeployYarnConf(args, parsed_globals): g_param = parse_global_arg(parsed_globals) @@ -693,7 +745,7 @@ def doDescribeCvmQuota(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doModifyGlobalConfig(args, parsed_globals): +def doScaleOutInstance(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -722,11 +774,11 @@ def doModifyGlobalConfig(args, parsed_globals): client = mod.EmrClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.ModifyGlobalConfigRequest() + model = models.ScaleOutInstanceRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.ModifyGlobalConfig(model) + rsp = client.ScaleOutInstance(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -745,7 +797,7 @@ def doModifyGlobalConfig(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doScaleOutInstance(args, parsed_globals): +def doDescribeStarRocksQueryInfo(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -774,11 +826,11 @@ def doScaleOutInstance(args, parsed_globals): client = mod.EmrClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.ScaleOutInstanceRequest() + model = models.DescribeStarRocksQueryInfoRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.ScaleOutInstance(model) + rsp = client.DescribeStarRocksQueryInfo(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -797,7 +849,7 @@ def doScaleOutInstance(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doModifyUserManagerPwd(args, parsed_globals): +def doDescribeHBaseTableOverview(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -826,11 +878,11 @@ def doModifyUserManagerPwd(args, parsed_globals): client = mod.EmrClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.ModifyUserManagerPwdRequest() + model = models.DescribeHBaseTableOverviewRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.ModifyUserManagerPwd(model) + rsp = client.DescribeHBaseTableOverview(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -849,7 +901,7 @@ def doModifyUserManagerPwd(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeHBaseTableOverview(args, parsed_globals): +def doAddMetricScaleStrategy(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -878,11 +930,11 @@ def doDescribeHBaseTableOverview(args, parsed_globals): client = mod.EmrClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeHBaseTableOverviewRequest() + model = models.AddMetricScaleStrategyRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeHBaseTableOverview(model) + rsp = client.AddMetricScaleStrategy(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -1057,6 +1109,58 @@ def doModifyYarnDeploy(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) +def doTerminateTasks(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.EmrClient(cred, g_param[OptionsDefine.Region], profile) + client._sdkVersion += ("_CLI_" + __version__) + models = MODELS_MAP[g_param[OptionsDefine.Version]] + model = models.TerminateTasksRequest() + model.from_json_string(json.dumps(args)) + start_time = time.time() + while True: + rsp = client.TerminateTasks(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 doTerminateClusterNodes(args, parsed_globals): g_param = parse_global_arg(parsed_globals) @@ -1213,7 +1317,7 @@ def doDescribeUsersForUserManager(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doAddMetricScaleStrategy(args, parsed_globals): +def doModifyUserManagerPwd(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -1242,11 +1346,11 @@ def doAddMetricScaleStrategy(args, parsed_globals): client = mod.EmrClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.AddMetricScaleStrategyRequest() + model = models.ModifyUserManagerPwdRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.AddMetricScaleStrategy(model) + rsp = client.ModifyUserManagerPwd(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -1681,6 +1785,58 @@ def doModifyAutoScaleStrategy(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) +def doDescribeKyuubiQueryInfo(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.EmrClient(cred, g_param[OptionsDefine.Region], profile) + client._sdkVersion += ("_CLI_" + __version__) + models = MODELS_MAP[g_param[OptionsDefine.Version]] + model = models.DescribeKyuubiQueryInfoRequest() + model.from_json_string(json.dumps(args)) + start_time = time.time() + while True: + rsp = client.DescribeKyuubiQueryInfo(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 doDeleteAutoScaleStrategy(args, parsed_globals): g_param = parse_global_arg(parsed_globals) @@ -1993,7 +2149,7 @@ def doDescribeSLInstance(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doModifySLInstance(args, parsed_globals): +def doDescribeSparkQueries(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -2022,11 +2178,11 @@ def doModifySLInstance(args, parsed_globals): client = mod.EmrClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.ModifySLInstanceRequest() + model = models.DescribeSparkQueriesRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.ModifySLInstance(model) + rsp = client.DescribeSparkQueries(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -2513,7 +2669,7 @@ def doSyncPodState(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doTerminateTasks(args, parsed_globals): +def doModifyGlobalConfig(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -2542,11 +2698,11 @@ def doTerminateTasks(args, parsed_globals): client = mod.EmrClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.TerminateTasksRequest() + model = models.ModifyGlobalConfigRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.TerminateTasks(model) + rsp = client.ModifyGlobalConfig(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -2617,6 +2773,58 @@ def doTerminateInstance(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) +def doModifySLInstance(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.EmrClient(cred, g_param[OptionsDefine.Region], profile) + client._sdkVersion += ("_CLI_" + __version__) + models = MODELS_MAP[g_param[OptionsDefine.Version]] + model = models.ModifySLInstanceRequest() + model.from_json_string(json.dumps(args)) + start_time = time.time() + while True: + rsp = client.ModifySLInstance(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 doDescribeAutoScaleStrategies(args, parsed_globals): g_param = parse_global_arg(parsed_globals) @@ -3208,22 +3416,24 @@ def doRunJobFlow(args, parsed_globals): "DescribeImpalaQueries": doDescribeImpalaQueries, "DescribeYarnQueue": doDescribeYarnQueue, "ModifyYarnQueueV2": doModifyYarnQueueV2, + "DescribeHDFSStorageInfo": doDescribeHDFSStorageInfo, "DeployYarnConf": doDeployYarnConf, "DescribeClusterFlowStatusDetail": doDescribeClusterFlowStatusDetail, "InquiryPriceScaleOutInstance": doInquiryPriceScaleOutInstance, "DescribeAutoScaleRecords": doDescribeAutoScaleRecords, "DescribeCvmQuota": doDescribeCvmQuota, - "ModifyGlobalConfig": doModifyGlobalConfig, "ScaleOutInstance": doScaleOutInstance, - "ModifyUserManagerPwd": doModifyUserManagerPwd, + "DescribeStarRocksQueryInfo": doDescribeStarRocksQueryInfo, "DescribeHBaseTableOverview": doDescribeHBaseTableOverview, + "AddMetricScaleStrategy": doAddMetricScaleStrategy, "DescribeServiceNodeInfos": doDescribeServiceNodeInfos, "DescribeInstances": doDescribeInstances, "ModifyYarnDeploy": doModifyYarnDeploy, + "TerminateTasks": doTerminateTasks, "TerminateClusterNodes": doTerminateClusterNodes, "ResetYarnConfig": doResetYarnConfig, "DescribeUsersForUserManager": doDescribeUsersForUserManager, - "AddMetricScaleStrategy": doAddMetricScaleStrategy, + "ModifyUserManagerPwd": doModifyUserManagerPwd, "DeleteUserManagerUserList": doDeleteUserManagerUserList, "TerminateSLInstance": doTerminateSLInstance, "AddUsersForUserManager": doAddUsersForUserManager, @@ -3232,13 +3442,14 @@ def doRunJobFlow(args, parsed_globals): "DescribeSLInstanceList": doDescribeSLInstanceList, "DescribeJobFlow": doDescribeJobFlow, "ModifyAutoScaleStrategy": doModifyAutoScaleStrategy, + "DescribeKyuubiQueryInfo": doDescribeKyuubiQueryInfo, "DeleteAutoScaleStrategy": doDeleteAutoScaleStrategy, "DescribeEmrApplicationStatics": doDescribeEmrApplicationStatics, "DescribeInstanceRenewNodes": doDescribeInstanceRenewNodes, "ModifyResourceScheduler": doModifyResourceScheduler, "DescribeResourceScheduleDiffDetail": doDescribeResourceScheduleDiffDetail, "DescribeSLInstance": doDescribeSLInstance, - "ModifySLInstance": doModifySLInstance, + "DescribeSparkQueries": doDescribeSparkQueries, "CreateInstance": doCreateInstance, "InquiryPriceCreateInstance": doInquiryPriceCreateInstance, "InquirePriceRenewEmr": doInquirePriceRenewEmr, @@ -3248,8 +3459,9 @@ def doRunJobFlow(args, parsed_globals): "DescribeHiveQueries": doDescribeHiveQueries, "StartStopServiceOrMonitor": doStartStopServiceOrMonitor, "SyncPodState": doSyncPodState, - "TerminateTasks": doTerminateTasks, + "ModifyGlobalConfig": doModifyGlobalConfig, "TerminateInstance": doTerminateInstance, + "ModifySLInstance": doModifySLInstance, "DescribeAutoScaleStrategies": doDescribeAutoScaleStrategies, "DescribeGlobalConfig": doDescribeGlobalConfig, "DescribeAutoScaleGroupGlobalConf": doDescribeAutoScaleGroupGlobalConf, diff --git a/tccli/services/emr/v20190103/api.json b/tccli/services/emr/v20190103/api.json index 66fcb262e..993f42043 100644 --- a/tccli/services/emr/v20190103/api.json +++ b/tccli/services/emr/v20190103/api.json @@ -126,6 +126,13 @@ "output": "DescribeHBaseTableOverviewResponse", "status": "online" }, + "DescribeHDFSStorageInfo": { + "document": "查询HDFS存储文件信息", + "input": "DescribeHDFSStorageInfoRequest", + "name": "查询HDFS存储文件数量", + "output": "DescribeHDFSStorageInfoResponse", + "status": "online" + }, "DescribeHiveQueries": { "document": "获取hive查询信息", "input": "DescribeHiveQueriesRequest", @@ -175,6 +182,13 @@ "output": "DescribeJobFlowResponse", "status": "online" }, + "DescribeKyuubiQueryInfo": { + "document": "查询Kyuubi查询信息", + "input": "DescribeKyuubiQueryInfoRequest", + "name": "查询Kyuubi查询信息", + "output": "DescribeKyuubiQueryInfoResponse", + "status": "online" + }, "DescribeResourceSchedule": { "document": "查询YARN资源调度数据信息。已废弃,请使用`DescribeYarnQueue`去查询队列信息。", "input": "DescribeResourceScheduleRequest", @@ -210,6 +224,20 @@ "output": "DescribeServiceNodeInfosResponse", "status": "online" }, + "DescribeSparkQueries": { + "document": "查询Spark查询信息列表", + "input": "DescribeSparkQueriesRequest", + "name": "查询Spark查询列表", + "output": "DescribeSparkQueriesResponse", + "status": "online" + }, + "DescribeStarRocksQueryInfo": { + "document": "查询StarRocks查询信息", + "input": "DescribeStarRocksQueryInfoRequest", + "name": "查询StarRocsk查询信息", + "output": "DescribeStarRocksQueryInfoResponse", + "status": "online" + }, "DescribeTrinoQueryInfo": { "document": "获取trino查询结果", "input": "DescribeTrinoQueryInfoRequest", @@ -4141,6 +4169,71 @@ ], "type": "object" }, + "DescribeHDFSStorageInfoRequest": { + "document": "DescribeHDFSStorageInfo请求参数结构体", + "members": [ + { + "disabled": false, + "document": "集群id", + "example": "emr-xfaf11ab", + "member": "string", + "name": "InstanceId", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "获取查询信息开始时间 (s)", + "example": "161222341", + "member": "int64", + "name": "StartTime", + "required": true, + "type": "int" + }, + { + "disabled": false, + "document": "获取查询信息结束时间 (s)", + "example": "161222341", + "member": "int64", + "name": "EndTime", + "required": true, + "type": "int" + } + ], + "type": "object" + }, + "DescribeHDFSStorageInfoResponse": { + "document": "DescribeHDFSStorageInfo返回参数结构体", + "members": [ + { + "disabled": false, + "document": "采样时间\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "1721122480", + "member": "int64", + "name": "SampleTime", + "output_required": true, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "hdfs存储详情\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "aaa", + "member": "StorageSummaryDistribution", + "name": "StorageSummaryDistribution", + "output_required": true, + "type": "list", + "value_allowed_null": true + }, + { + "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", + "member": "string", + "name": "RequestId", + "type": "string" + } + ], + "type": "object" + }, "DescribeHiveQueriesRequest": { "document": "DescribeHiveQueries请求参数结构体", "members": [ @@ -4760,6 +4853,89 @@ ], "type": "object" }, + "DescribeKyuubiQueryInfoRequest": { + "document": "DescribeKyuubiQueryInfo请求参数结构体", + "members": [ + { + "disabled": false, + "document": "集群ID", + "example": "emr-xfaf11ab", + "member": "string", + "name": "InstanceId", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "获取查询信息开始时间 (s)", + "example": "161222341", + "member": "int64", + "name": "StartTime", + "required": true, + "type": "int" + }, + { + "disabled": false, + "document": "获取查询信息结束时间 (s)", + "example": "171213123", + "member": "int64", + "name": "EndTime", + "required": true, + "type": "int" + }, + { + "disabled": false, + "document": "分页查询时的分页大小,最小1,最大100", + "example": "100", + "member": "int64", + "name": "PageSize", + "required": true, + "type": "int" + }, + { + "disabled": false, + "document": "分页查询时的页号,从1开始", + "example": "1", + "member": "int64", + "name": "Page", + "required": true, + "type": "int" + } + ], + "type": "object" + }, + "DescribeKyuubiQueryInfoResponse": { + "document": "DescribeKyuubiQueryInfo返回参数结构体", + "members": [ + { + "disabled": false, + "document": "总数,分页查询时使用", + "example": "1234", + "member": "int64", + "name": "TotalCount", + "output_required": true, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "Kyuubi查询信息列表\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "KyuubiQueryInfo", + "name": "KyuubiQueryInfoList", + "output_required": false, + "type": "list", + "value_allowed_null": true + }, + { + "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", + "member": "string", + "name": "RequestId", + "type": "string" + } + ], + "type": "object" + }, "DescribeResourceScheduleDiffDetailRequest": { "document": "DescribeResourceScheduleDiffDetail请求参数结构体", "members": [ @@ -5228,13 +5404,13 @@ ], "type": "object" }, - "DescribeTrinoQueryInfoRequest": { - "document": "DescribeTrinoQueryInfo请求参数结构体", + "DescribeSparkQueriesRequest": { + "document": "DescribeSparkQueries请求参数结构体", "members": [ { "disabled": false, "document": "集群ID", - "example": "emr-xfaf11ab", + "example": "emr-a9871cxr", "member": "string", "name": "InstanceId", "required": true, @@ -5242,8 +5418,8 @@ }, { "disabled": false, - "document": "获取查询信息开始时间 (s)", - "example": "161222341", + "document": "开始时间", + "example": "1712505600", "member": "int64", "name": "StartTime", "required": true, @@ -5251,8 +5427,8 @@ }, { "disabled": false, - "document": "获取查询信息结束时间 (s)", - "example": "171213123", + "document": "结束时间", + "example": "1712591999", "member": "int64", "name": "EndTime", "required": true, @@ -5260,44 +5436,53 @@ }, { "disabled": false, - "document": "分页查询时的分页大小,最小1,最大100", - "example": "100", + "document": "分页起始偏移,从0开始", + "example": "0", "member": "int64", - "name": "PageSize", + "name": "Offset", "required": true, "type": "int" }, { "disabled": false, - "document": "分页查询时的页号,从1开始", - "example": "1", + "document": "分页大小,合法范围[1,100]", + "example": "20", "member": "int64", - "name": "Page", + "name": "Limit", "required": true, "type": "int" + }, + { + "disabled": false, + "document": "执行状态:RUNNING,COMPLETED,FAILED", + "example": "[\"RUNNING\",\"COMPLETED\"]", + "member": "string", + "name": "Status", + "required": false, + "type": "list" } ], "type": "object" }, - "DescribeTrinoQueryInfoResponse": { - "document": "DescribeTrinoQueryInfo返回参数结构体", + "DescribeSparkQueriesResponse": { + "document": "DescribeSparkQueries返回参数结构体", "members": [ { "disabled": false, - "document": "总数,分页查询时使用", - "example": "1231", + "document": "总数", + "example": "10", "member": "int64", - "name": "TotalCount", + "name": "Total", "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, - "document": "查询结果数组\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "结果列表\n注意:此字段可能返回 null,表示取不到有效值。", "example": "无", - "member": "TrinoQueryInfo", - "name": "QueryInfoList", + "member": "SparkQuery", + "name": "Results", "output_required": false, "type": "list", "value_allowed_null": true @@ -5311,13 +5496,13 @@ ], "type": "object" }, - "DescribeUsersForUserManagerRequest": { - "document": "DescribeUsersForUserManager请求参数结构体", + "DescribeStarRocksQueryInfoRequest": { + "document": "DescribeStarRocksQueryInfo请求参数结构体", "members": [ { "disabled": false, - "document": "集群实例ID", - "example": "emr-xxx", + "document": "集群ID", + "example": "emr-xfaf11ab", "member": "string", "name": "InstanceId", "required": true, @@ -5325,63 +5510,63 @@ }, { "disabled": false, - "document": "页码", - "example": "0", + "document": "获取查询信息开始时间 (s)", + "example": "161222341", "member": "int64", - "name": "PageNo", + "name": "StartTime", "required": true, "type": "int" }, { "disabled": false, - "document": "分页的大小。\n默认查询全部;PageNo和PageSize不合理的设置,都是查询全部", - "example": "10", + "document": "获取查询信息结束时间 (s)", + "example": "171213123", "member": "int64", - "name": "PageSize", + "name": "EndTime", "required": true, "type": "int" }, { "disabled": false, - "document": "查询用户列表过滤器", - "example": "无", - "member": "UserManagerFilter", - "name": "UserManagerFilter", - "required": false, - "type": "object" + "document": "分页查询时的分页大小,最小1,最大100", + "example": "100", + "member": "int64", + "name": "PageSize", + "required": true, + "type": "int" }, { "disabled": false, - "document": "是否需要keytab文件的信息,仅对开启kerberos的集群有效,默认为false", - "example": "true", - "member": "bool", - "name": "NeedKeytabInfo", - "required": false, - "type": "bool" + "document": "分页查询时的页号,从1开始", + "example": "1", + "member": "int64", + "name": "Page", + "required": true, + "type": "int" } ], "type": "object" }, - "DescribeUsersForUserManagerResponse": { - "document": "DescribeUsersForUserManager返回参数结构体", + "DescribeStarRocksQueryInfoResponse": { + "document": "DescribeStarRocksQueryInfo返回参数结构体", "members": [ { "disabled": false, - "document": "总数", - "example": "100", + "document": "总数,分页查询时使用", + "example": "1234", "member": "int64", - "name": "TotalCnt", + "name": "TotalCount", "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, - "document": "用户信息列表\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "Starrocks 查询信息列表\n注意:此字段可能返回 null,表示取不到有效值。", "example": "无", - "member": "UserManagerUserBriefInfo", - "name": "UserManagerUserList", - "output_required": true, + "member": "StarRocksQueryInfo", + "name": "StarRocksQueryInfoList", + "output_required": false, "type": "list", "value_allowed_null": true }, @@ -5394,13 +5579,13 @@ ], "type": "object" }, - "DescribeYarnApplicationsRequest": { - "document": "DescribeYarnApplications请求参数结构体", + "DescribeTrinoQueryInfoRequest": { + "document": "DescribeTrinoQueryInfo请求参数结构体", "members": [ { "disabled": false, "document": "集群ID", - "example": "emr-xfyags1d", + "example": "emr-xfaf11ab", "member": "string", "name": "InstanceId", "required": true, @@ -5408,8 +5593,8 @@ }, { "disabled": false, - "document": "起始时间秒", - "example": "1686029737", + "document": "获取查询信息开始时间 (s)", + "example": "161222341", "member": "int64", "name": "StartTime", "required": true, @@ -5417,8 +5602,8 @@ }, { "disabled": false, - "document": "结束时间秒,EndTime-StartTime不得超过1天秒数86400", - "example": "1686129737", + "document": "获取查询信息结束时间 (s)", + "example": "171213123", "member": "int64", "name": "EndTime", "required": true, @@ -5426,17 +5611,183 @@ }, { "disabled": false, - "document": "分页偏移量,Offset=0表示第一页;如果limit=100,Offset=1,则表示第二页,数据第101条开始查询,返回100条数据;如果limit=100,Offset=2,则表示第三页,数据第201条开始查询,返回100条数据。依次类推", - "example": "0", + "document": "分页查询时的分页大小,最小1,最大100", + "example": "100", "member": "int64", - "name": "Offset", + "name": "PageSize", "required": true, "type": "int" }, { "disabled": false, - "document": "分页大小,合法范围[1,100]", - "example": "20", + "document": "分页查询时的页号,从1开始", + "example": "1", + "member": "int64", + "name": "Page", + "required": true, + "type": "int" + } + ], + "type": "object" + }, + "DescribeTrinoQueryInfoResponse": { + "document": "DescribeTrinoQueryInfo返回参数结构体", + "members": [ + { + "disabled": false, + "document": "总数,分页查询时使用", + "example": "1231", + "member": "int64", + "name": "TotalCount", + "output_required": true, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "查询结果数组\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "TrinoQueryInfo", + "name": "QueryInfoList", + "output_required": false, + "type": "list", + "value_allowed_null": true + }, + { + "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", + "member": "string", + "name": "RequestId", + "type": "string" + } + ], + "type": "object" + }, + "DescribeUsersForUserManagerRequest": { + "document": "DescribeUsersForUserManager请求参数结构体", + "members": [ + { + "disabled": false, + "document": "集群实例ID", + "example": "emr-xxx", + "member": "string", + "name": "InstanceId", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "页码", + "example": "0", + "member": "int64", + "name": "PageNo", + "required": true, + "type": "int" + }, + { + "disabled": false, + "document": "分页的大小。\n默认查询全部;PageNo和PageSize不合理的设置,都是查询全部", + "example": "10", + "member": "int64", + "name": "PageSize", + "required": true, + "type": "int" + }, + { + "disabled": false, + "document": "查询用户列表过滤器", + "example": "无", + "member": "UserManagerFilter", + "name": "UserManagerFilter", + "required": false, + "type": "object" + }, + { + "disabled": false, + "document": "是否需要keytab文件的信息,仅对开启kerberos的集群有效,默认为false", + "example": "true", + "member": "bool", + "name": "NeedKeytabInfo", + "required": false, + "type": "bool" + } + ], + "type": "object" + }, + "DescribeUsersForUserManagerResponse": { + "document": "DescribeUsersForUserManager返回参数结构体", + "members": [ + { + "disabled": false, + "document": "总数", + "example": "100", + "member": "int64", + "name": "TotalCnt", + "output_required": true, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "用户信息列表\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "UserManagerUserBriefInfo", + "name": "UserManagerUserList", + "output_required": true, + "type": "list", + "value_allowed_null": true + }, + { + "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", + "member": "string", + "name": "RequestId", + "type": "string" + } + ], + "type": "object" + }, + "DescribeYarnApplicationsRequest": { + "document": "DescribeYarnApplications请求参数结构体", + "members": [ + { + "disabled": false, + "document": "集群ID", + "example": "emr-xfyags1d", + "member": "string", + "name": "InstanceId", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "起始时间秒", + "example": "1686029737", + "member": "int64", + "name": "StartTime", + "required": true, + "type": "int" + }, + { + "disabled": false, + "document": "结束时间秒,EndTime-StartTime不得超过1天秒数86400", + "example": "1686129737", + "member": "int64", + "name": "EndTime", + "required": true, + "type": "int" + }, + { + "disabled": false, + "document": "分页偏移量,Offset=0表示第一页;如果limit=100,Offset=1,则表示第二页,数据第101条开始查询,返回100条数据;如果limit=100,Offset=2,则表示第三页,数据第201条开始查询,返回100条数据。依次类推", + "example": "0", + "member": "int64", + "name": "Offset", + "required": true, + "type": "int" + }, + { + "disabled": false, + "document": "分页大小,合法范围[1,100]", + "example": "20", "member": "int64", "name": "Limit", "required": true, @@ -5964,6 +6315,34 @@ ], "usage": "both" }, + "Dps": { + "document": "采样序列", + "members": [ + { + "disabled": false, + "document": "时间戳\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "123", + "member": "string", + "name": "Timestamp", + "output_required": false, + "required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "采样值\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "2", + "member": "string", + "name": "Value", + "output_required": false, + "required": false, + "type": "string", + "value_allowed_null": true + } + ], + "usage": "both" + }, "DynamicPodSpec": { "document": "POD浮动规格", "members": [ @@ -8630,86 +9009,212 @@ ], "usage": "both" }, - "LoadAutoScaleStrategy": { - "document": "自动扩缩容基于负载指标的规则", + "KyuubiQueryInfo": { + "document": "Kyuubi查询信息", "members": [ { "disabled": false, - "document": "规则ID。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "1", - "member": "int64", - "name": "StrategyId", - "output_required": true, - "required": false, - "type": "int", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "规则名称。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "test", + "document": "提交IP\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "192.168.1.1", "member": "string", - "name": "StrategyName", - "output_required": true, - "required": false, + "name": "ClientIP", + "output_required": false, "type": "string", "value_allowed_null": true }, { "disabled": false, - "document": "规则生效冷却时间。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "300", + "document": "执行时长\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "1000", "member": "int64", - "name": "CalmDownTime", - "output_required": true, - "required": false, + "name": "Duration", + "output_required": false, "type": "int", "value_allowed_null": true }, { "disabled": false, - "document": "扩缩容动作,1表示扩容,2表示缩容。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "1", + "document": "结束时间\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "1633024800", "member": "int64", - "name": "ScaleAction", - "output_required": true, - "required": false, + "name": "EndTime", + "output_required": false, "type": "int", "value_allowed_null": true }, { "disabled": false, - "document": "每次规则生效时的扩缩容数量。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "2", - "member": "int64", - "name": "ScaleNum", - "output_required": true, - "required": false, - "type": "int", + "document": "Engine Id\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "engine-12345", + "member": "string", + "name": "EngineID", + "output_required": false, + "type": "string", "value_allowed_null": true }, { "disabled": false, - "document": "指标处理方法,1表示MAX,2表示MIN,3表示AVG。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "int64", - "name": "ProcessMethod", - "output_required": true, - "required": false, - "type": "int", + "document": "计算引擎\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "SPARK_SQL", + "member": "string", + "name": "EngineType", + "output_required": false, + "type": "string", "value_allowed_null": true }, { "disabled": false, - "document": "规则优先级,添加时无效,默认为自增。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "int64", - "name": "Priority", - "output_required": true, - "required": false, - "type": "int", - "value_allowed_null": true - }, + "document": "ID\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "d4cfc064-b7d9-43ec-a766-60013c592dd4", + "member": "string", + "name": "Id", + "output_required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "Session Id\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "1c3cdb57-e0b3-489a-804e-662600a24f1d", + "member": "string", + "name": "SessionID", + "output_required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "开始时间\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "1633024800", + "member": "int64", + "name": "BeginTime", + "output_required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "执行状态\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "FINISHED", + "member": "string", + "name": "ExecutionState", + "output_required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "执行语句\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "select * from kyuubi_test.kyuubi_new_user_tb order by id ASC", + "member": "string", + "name": "ExecutionStatement", + "output_required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "Statement Id\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "d4cfc064-b7d9-43ec-a766-60013c592dd4", + "member": "string", + "name": "StatementID", + "output_required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "提交用户\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "new_kyuubi_user", + "member": "string", + "name": "User", + "output_required": false, + "type": "string", + "value_allowed_null": true + } + ], + "usage": "out" + }, + "LoadAutoScaleStrategy": { + "document": "自动扩缩容基于负载指标的规则", + "members": [ + { + "disabled": false, + "document": "规则ID。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "1", + "member": "int64", + "name": "StrategyId", + "output_required": true, + "required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "规则名称。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "test", + "member": "string", + "name": "StrategyName", + "output_required": true, + "required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "规则生效冷却时间。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "300", + "member": "int64", + "name": "CalmDownTime", + "output_required": true, + "required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "扩缩容动作,1表示扩容,2表示缩容。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "1", + "member": "int64", + "name": "ScaleAction", + "output_required": true, + "required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "每次规则生效时的扩缩容数量。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "2", + "member": "int64", + "name": "ScaleNum", + "output_required": true, + "required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "指标处理方法,1表示MAX,2表示MIN,3表示AVG。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "int64", + "name": "ProcessMethod", + "output_required": true, + "required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "规则优先级,添加时无效,默认为自增。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "int64", + "name": "Priority", + "output_required": true, + "required": false, + "type": "int", + "value_allowed_null": true + }, { "disabled": false, "document": "规则状态,1表示启动,3表示禁用。\n注意:此字段可能返回 null,表示取不到有效值。", @@ -13815,6 +14320,162 @@ ], "usage": "out" }, + "SparkQuery": { + "document": "spark查询详情", + "members": [ + { + "disabled": false, + "document": "执行语句", + "example": "SELECT * FROM tb", + "member": "string", + "name": "Statement", + "output_required": false, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "执行时长(单位毫秒)", + "example": "163", + "member": "int64", + "name": "Duration", + "output_required": false, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "执行状态", + "example": "RUNNING", + "member": "string", + "name": "Status", + "output_required": false, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "查询ID", + "example": "1", + "member": "string", + "name": "Id", + "output_required": false, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "扫描分区数\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "5", + "member": "int64", + "name": "ScanPartitionNum", + "output_required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "扫描总行数\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "10", + "member": "int64", + "name": "ScanRowNum", + "output_required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "扫描总文件数\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "12", + "member": "int64", + "name": "ScanFileNum", + "output_required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "查询扫描总数据量(单位B)\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "65535", + "member": "int64", + "name": "ScanTotalData", + "output_required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "应用ID\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "[\"application_1711099949065_0343\"]", + "member": "string", + "name": "ApplicationId", + "output_required": false, + "type": "list", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "输出总行数\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "16", + "member": "int64", + "name": "OutputRowNum", + "output_required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "输出总文件数\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "12", + "member": "int64", + "name": "OutputFileNum", + "output_required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "输出分区数\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "13", + "member": "int64", + "name": "OutputPartitionNum", + "output_required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "输出总数据量(单位B)\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "65532", + "member": "int64", + "name": "OutputTotalData", + "output_required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "开始时间\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "1712124411", + "member": "int64", + "name": "BeginTime", + "output_required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "结束时间\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "1712124416", + "member": "int64", + "name": "EndTime", + "output_required": false, + "type": "int", + "value_allowed_null": true + } + ], + "usage": "out" + }, "StageInfoDetail": { "document": "任务步骤详情", "members": [ @@ -13971,6 +14632,202 @@ ], "usage": "out" }, + "StarRocksQueryInfo": { + "document": "StarRocks 查询信息", + "members": [ + { + "disabled": false, + "document": "提交IP\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "192.168.1.1", + "member": "string", + "name": "ClientIP", + "output_required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "CPU总时间(ns)\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "1000000000", + "member": "int64", + "name": "CPUCost", + "output_required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "默认DB\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "test_db", + "member": "string", + "name": "DefaultDB", + "output_required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "结束时间\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "1634352000", + "member": "int64", + "name": "EndTime", + "output_required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "执行IP\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "172.0.0.1", + "member": "string", + "name": "ExecutionIP", + "output_required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "查询ID\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "query_12345", + "member": "string", + "name": "QueryID", + "output_required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "查询类型\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "SELECT", + "member": "string", + "name": "QueryType", + "output_required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "消耗总内存(bytes)\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "1073741824", + "member": "int64", + "name": "MemCost", + "output_required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "plan阶段CPU占用(ns)\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "500000000", + "member": "int64", + "name": "PlanCpuCosts", + "output_required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "plan阶段内存占用(bytes)\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "536870912", + "member": "int64", + "name": "PlanMemCosts", + "output_required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "执行时长\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "2000000", + "member": "int64", + "name": "QueryTime", + "output_required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "资源组\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "group_1", + "member": "string", + "name": "ResourceGroup", + "output_required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "获取行数\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "100", + "member": "int64", + "name": "ReturnRows", + "output_required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "扫描数据量(bytes)\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "2147483648", + "member": "int64", + "name": "ScanBytes", + "output_required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "扫描行数\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "500", + "member": "int64", + "name": "ScanRows", + "output_required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "开始时间\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "1634351000", + "member": "int64", + "name": "BeginTime", + "output_required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "执行状态\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "FINISHED", + "member": "string", + "name": "ExecutionState", + "output_required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "执行语句\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "SELECT * FROM test_table", + "member": "string", + "name": "ExecutionStatement", + "output_required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "用户\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "user_1", + "member": "string", + "name": "User", + "output_required": false, + "type": "string", + "value_allowed_null": true + } + ], + "usage": "out" + }, "StartStopServiceOrMonitorRequest": { "document": "StartStopServiceOrMonitor请求参数结构体", "members": [ @@ -14113,6 +14970,45 @@ ], "usage": "in" }, + "StorageSummaryDistribution": { + "document": "HDFS文件存储详情", + "members": [ + { + "disabled": false, + "document": "数据项\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "big_file", + "member": "string", + "name": "MetricItem", + "output_required": false, + "required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "数据项描述\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "大文件", + "member": "string", + "name": "MetricName", + "output_required": false, + "required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "采样值\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "{}", + "member": "Dps", + "name": "Dps", + "output_required": false, + "required": false, + "type": "list", + "value_allowed_null": true + } + ], + "usage": "both" + }, "StrategyConfig": { "document": "重启/停止/启动服务/监控的配置", "members": [ diff --git a/tccli/services/emr/v20190103/examples.json b/tccli/services/emr/v20190103/examples.json index 5c016beef..42635f4c5 100644 --- a/tccli/services/emr/v20190103/examples.json +++ b/tccli/services/emr/v20190103/examples.json @@ -144,6 +144,14 @@ "title": "查询Hbase表监控概览信息" } ], + "DescribeHDFSStorageInfo": [ + { + "document": "", + "input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeHDFSStorageInfo\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"StartTime\": 0,\n \"EndTime\": 0\n}", + "output": "{\n \"Response\": {\n \"SampleTime\": 0,\n \"StorageSummaryDistribution\": [\n {\n \"MetricItem\": \"abc\",\n \"MetricName\": \"abc\",\n \"Dps\": [\n {\n \"Timestamp\": \"abc\",\n \"Value\": \"abc\"\n }\n ]\n }\n ],\n \"RequestId\": \"abc\"\n }\n}", + "title": "DescribeHDFSStorageInfo" + } + ], "DescribeHiveQueries": [ { "document": "获取Hive查询语句", @@ -200,6 +208,14 @@ "title": "查询任务流程" } ], + "DescribeKyuubiQueryInfo": [ + { + "document": "", + "input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeKyuubiQueryInfo\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-1qop4l3e\",\n \"PageSize\": 10,\n \"Page\": 1,\n \"StartTime\": 1722327682,\n \"EndTime\": 1722328091\n}", + "output": "{\n \"Response\": {\n \"KyuubiQueryInfoList\": [\n {\n \"ClientIP\": \"10.0.2.42\",\n \"Duration\": 5895,\n \"EndTime\": 1722328097,\n \"EngineID\": \"null\",\n \"EngineType\": \"SPARK_SQL\",\n \"Id\": \"d4cfc064-b7d9-43ec-a766-60013c592dd4\",\n \"SessionID\": \"1c3cdb57-e0b3-489a-804e-662600a24f1d\",\n \"BeginTime\": 1722328091,\n \"ExecutionState\": \"FINISHED\",\n \"ExecutionStatement\": \"select * from kyuubi_test.kyuubi_new_user_tb order by id ASC\",\n \"StatementID\": \"d4cfc064-b7d9-43ec-a766-60013c592dd4\",\n \"User\": \"new_kyuubi_user\"\n }\n ],\n \"RequestId\": \"cfbbbe0f-5d30-4bf7-b87b-428b14ac3ws41\",\n \"TotalCount\": 10\n }\n}", + "title": "DescribeKyuubiQueryInfo" + } + ], "DescribeResourceSchedule": [ { "document": "", @@ -240,6 +256,22 @@ "title": "查询服务进程信息" } ], + "DescribeSparkQueries": [ + { + "document": "", + "input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSparkQueries\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-njry92zr\",\n \"StartTime\": 1711078120,\n \"EndTime\": 1711088221,\n \"Offset\": 0,\n \"Limit\": 10\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"690f07d6-ac3d-4211-896d-043824aaa0f0\",\n \"Total\": 1,\n \"Results\": [\n {\n \"Id\": \"2\",\n \"Status\": \"COMPLETED\",\n \"BeginTime\": 1711078220,\n \"ScanTotalData\": 0,\n \"ApplicationId\": [\n \"application_1710488265927_0018\"\n ],\n \"ScanRowNum\": 1,\n \"ScanFileNum\": 1,\n \"EndTime\": 1711078223,\n \"ScanPartitionNum\": 1,\n \"Statement\": \"select * from hive_table_p2 where dt='20240321.3'\",\n \"Duration\": 2924\n }\n ]\n }\n}", + "title": "查询spark查询信息" + } + ], + "DescribeStarRocksQueryInfo": [ + { + "document": "", + "input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStarrocksQueryInfo\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-1qop4l3e\",\n \"PageSize\": 10,\n \"Page\": 1,\n \"StartTime\": 1722327682,\n \"EndTime\": 1722328091\n}", + "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"StarRocksQueryInfoList\": [\n {\n \"ClientIP\": \"192.0.0.1\",\n \"CPUCost\": 0,\n \"DefaultDB\": \"test\",\n \"EndTime\": 1721962352,\n \"ExecutionIP\": \"192.0.0.1\",\n \"QueryID\": \"1ac25f6c-4afa-11ef-b7cc-525400c756d2\",\n \"QueryType\": \"OTHERS\",\n \"MemCost\": 324,\n \"PlanCpuCosts\": 435620,\n \"PlanMemCosts\": 254354,\n \"QueryTime\": 345535,\n \"ResourceGroup\": \"SR\",\n \"ReturnRows\": 2452,\n \"ScanBytes\": 1235124,\n \"ScanRows\": 123512,\n \"BeginTime\": 1721962352,\n \"ExecutionState\": \"FINISHED\",\n \"ExecutionStatement\": \"show compute nodes\",\n \"User\": \"test_aa\"\n }\n ],\n \"RequestId\": \"1ac25f6c-4afa-11ef-b7cc-525400454wfaa1\"\n }\n}", + "title": "DescribeStarRocksQueryInfo" + } + ], "DescribeTrinoQueryInfo": [ { "document": "", diff --git a/tccli/services/es/v20180416/api.json b/tccli/services/es/v20180416/api.json index 70e6b6769..9cc0d867d 100644 --- a/tccli/services/es/v20180416/api.json +++ b/tccli/services/es/v20180416/api.json @@ -1437,6 +1437,24 @@ "name": "ReadWriteMode", "required": false, "type": "int" + }, + { + "disabled": false, + "document": "置放群组是否开启异步任务", + "example": "false", + "member": "bool", + "name": "EnableScheduleRecoverGroup", + "required": false, + "type": "bool" + }, + { + "disabled": false, + "document": "置放群组开启异步任务的可维护时间段", + "example": "无", + "member": "EnableScheduleOperationDuration", + "name": "EnableScheduleOperationDuration", + "required": false, + "type": "object" } ], "type": "object" @@ -4720,6 +4738,56 @@ ], "usage": "out" }, + "EnableScheduleOperationDuration": { + "document": "置放群组异步任务维护的时间段", + "members": [ + { + "disabled": false, + "document": "支持开启异步任务的日期\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "[2024.09.24, 2024.09.26]", + "member": "string", + "name": "Periods", + "output_required": false, + "required": false, + "type": "list", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "支持开启异步的开始时间\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "06:00", + "member": "string", + "name": "TimeStart", + "output_required": false, + "required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "支持开启异步的结束时间\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "08:00", + "member": "string", + "name": "TimeEnd", + "output_required": false, + "required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "支持开启异步的时区\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "UTC+8", + "member": "string", + "name": "TimeZone", + "output_required": false, + "required": false, + "type": "string", + "value_allowed_null": true + } + ], + "usage": "both" + }, "EsAcl": { "document": "ES集群配置项", "members": [ @@ -5393,8 +5461,8 @@ }, { "disabled": false, - "document": "客户上传到自己cos的地址列表", - "example": "[\"cos1\", \"cos2\"]", + "document": "客户上传到cos的模型地址,单次请求限制一个。cos文件为压缩文件,格式包括:zip、tgz和tar.gz", + "example": "[\"https://*******.myqcloud.com/******.zip\"]", "member": "string", "name": "UsrCosModelUrlList", "required": false, @@ -7872,6 +7940,26 @@ "output_required": true, "type": "string", "value_allowed_null": false + }, + { + "disabled": false, + "document": "cvm绑定的置放群组的id\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "string", + "name": "CVMDisasterRecoverGroupId", + "output_required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "cvm绑定置放群组的状态。2: 已绑定;1: 绑定中;0: 未开启\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "int64", + "name": "CVMDisasterRecoverGroupStatus", + "output_required": false, + "type": "int", + "value_allowed_null": true } ], "usage": "out" @@ -8451,6 +8539,24 @@ "name": "ShardAllocationBytes", "required": false, "type": "int" + }, + { + "disabled": false, + "document": "是否开启置放群组异步任务", + "example": "false", + "member": "bool", + "name": "EnableScheduleRecoverGroup", + "required": false, + "type": "bool" + }, + { + "disabled": false, + "document": "置放群组异步任务时间段", + "example": "无", + "member": "EnableScheduleOperationDuration", + "name": "EnableScheduleOperationDuration", + "required": false, + "type": "object" } ], "type": "object" @@ -10004,6 +10110,24 @@ "name": "ReadWriteMode", "required": false, "type": "int" + }, + { + "disabled": false, + "document": "是否开启置放群组异步任务", + "example": "false", + "member": "bool", + "name": "EnableScheduleRecoverGroup", + "required": false, + "type": "bool" + }, + { + "disabled": false, + "document": "置放群组异步任务可维护时间段", + "example": "无", + "member": "EnableScheduleOperationDuration", + "name": "EnableScheduleOperationDuration", + "required": false, + "type": "object" } ], "type": "object" @@ -10572,6 +10696,24 @@ "name": "ShardAllocationBytes", "required": false, "type": "int" + }, + { + "disabled": false, + "document": "是否开启置放群组异步任务", + "example": "false", + "member": "bool", + "name": "EnableScheduleRecoverGroup", + "required": false, + "type": "bool" + }, + { + "disabled": false, + "document": "置放群组异步任务时间段", + "example": "无", + "member": "EnableScheduleOperationDuration", + "name": "EnableScheduleOperationDuration", + "required": false, + "type": "object" } ], "type": "object" diff --git a/tccli/services/ess/v20201111/api.json b/tccli/services/ess/v20201111/api.json index acb1c9a17..7271ffe3b 100644 --- a/tccli/services/ess/v20201111/api.json +++ b/tccli/services/ess/v20201111/api.json @@ -6225,7 +6225,7 @@ }, { "disabled": false, - "document": "是否开通自动签,该功能需联系运营工作人员开通后使用", + "document": "此字段已废弃,请勿继续使用。", "example": "无", "member": "bool", "name": "EnableAutoSign", @@ -12165,7 +12165,7 @@ }, { "disabled": false, - "document": "链接跳转类型,支持以下类型\n", + "document": "链接跳转类型,支持以下类型\n", "example": "APP", "member": "string", "name": "Endpoint", diff --git a/tccli/services/ess/v20201111/examples.json b/tccli/services/ess/v20201111/examples.json index 669f166dd..b351f7142 100644 --- a/tccli/services/ess/v20201111/examples.json +++ b/tccli/services/ess/v20201111/examples.json @@ -1411,13 +1411,13 @@ "DescribeFlowTemplates": [ { "document": "1.指定Filters中的Key通过template-id过滤\n2.指定Filter中的Value为yDRS4UUgygqdcjjhUuO4zjEBpXdcsHWX\n3.指定Limit为最多返回20条数据", - "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFlowTemplates\n<公共请求参数>\n\n{\n \"Operator\": {\n \"Channel\": \"YUFU\",\n \"ClientIp\": \"8.8.8.8\",\n \"OpenId\": \"\",\n \"UserId\": \"yDxVwUyKQWho8CUuO4zjEyQOAgwvr4Zy\"\n },\n \"Offset\": 0,\n \"Limit\": 20,\n \"ApplicationId\": \"\",\n \"Filters\": [\n {\n \"Key\": \"template-id\",\n \"Values\": [\n \"yDRS4UUgygqdcjjhUuO4zjEBpXdcsHWX\"\n ]\n }\n ]\n}", + "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFlowTemplates\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDxVwUyKQWho8CUuO4zjEyQOAgwvr4Zy\"\n },\n \"Offset\": 0,\n \"Limit\": 20,\n \"ApplicationId\": \"\",\n \"Filters\": [\n {\n \"Key\": \"template-id\",\n \"Values\": [\n \"yDRS4UUgygqdcjjhUuO4zjEBpXdcsHWX\"\n ]\n }\n ]\n}", "output": "{\n \"Response\": {\n \"RequestId\": \"s16951208061xxxx3957\",\n \"Templates\": [\n {\n \"AttachmentResourceIds\": [],\n \"Available\": 2,\n \"Components\": [],\n \"CreatedOn\": 1693967458,\n \"Creator\": \"测试人\",\n \"CreatorId\": \"yDxVwUyKQWho8CUuO4zjEyQOAgwvr4Zy\",\n \"Description\": \"\",\n \"DocumentResourceIds\": [\n \"yDwJ0UUckpk2079mUxgm9jJ8EZp3aAc0\"\n ],\n \"FileInfos\": [\n {\n \"CreatedOn\": 1693967456,\n \"FileId\": \"yDwJ0UUckpk2079mUxgm9jJ8EZp3aAc0\",\n \"FileName\": \"test.pdf\",\n \"FileSize\": 65259\n }\n ],\n \"OrganizationId\": \"yDxbNUyKQDx3oAUuO4zjEBQGidlGe4hP\",\n \"PreviewUrl\": \"\",\n \"Promoter\": {\n \"ApproverSignTypes\": [],\n \"ApproverVerifyTypes\": [],\n \"DeliveryMethod\": \"EMAIL\",\n \"Description\": \"\",\n \"Email\": \"\",\n \"Mobile\": \"\",\n \"RecipientExtra\": \"\",\n \"RecipientId\": \"yDwJBUUckpk5469kUu9cFsf1x6ZYgfu5\",\n \"RecipientType\": \"PROMOTER\",\n \"RequireDelivery\": false,\n \"RequireSign\": false,\n \"RequireValidation\": false,\n \"RoleName\": \"发起人\",\n \"RoutingOrder\": 0,\n \"UserId\": \"\"\n },\n \"Published\": true,\n \"Recipients\": [\n {\n \"ApproverSignTypes\": [\n 1,\n 2\n ],\n \"ApproverVerifyTypes\": [\n 1\n ],\n \"DeliveryMethod\": \"EMAIL\",\n \"Description\": \"\",\n \"Email\": \"\",\n \"Mobile\": \"\",\n \"RecipientExtra\": \"{\\\"RecipientEnterpriseType\\\":1,\\\"SameWithPromoter\\\":true}\",\n \"RecipientId\": \"yDwJ0UUckpk2077lUxgm9jJ9eZgZChJe\",\n \"RecipientType\": \"ENTERPRISE\",\n \"RequireDelivery\": false,\n \"RequireSign\": false,\n \"RequireValidation\": false,\n \"RoleName\": \"张三示例企业\",\n \"RoutingOrder\": 1,\n \"UserId\": \"\"\n },\n {\n \"ApproverSignTypes\": [\n 1,\n 2\n ],\n \"ApproverVerifyTypes\": [\n 1\n ],\n \"DeliveryMethod\": \"EMAIL\",\n \"Description\": \"\",\n \"Email\": \"\",\n \"Mobile\": \"\",\n \"RecipientExtra\": \"{}\",\n \"RecipientId\": \"yDxZzUyKQDKuihUuO4zjEy09jfapyHjn\",\n \"RecipientType\": \"INDIVIDUAL\",\n \"RequireDelivery\": false,\n \"RequireSign\": false,\n \"RequireValidation\": false,\n \"RoleName\": \"乙方\",\n \"RoutingOrder\": 2,\n \"UserId\": \"\"\n }\n ],\n \"Seals\": [],\n \"ShareTemplateId\": \"\",\n \"SignComponents\": [\n {\n \"ChannelComponentId\": \"\",\n \"ChannelComponentSource\": 0,\n \"ComponentDateFontSize\": 0,\n \"ComponentExtra\": \"{\\\"Date\\\":true,\\\"isAfterCut\\\":false}\",\n \"ComponentHeight\": 43,\n \"ComponentId\": \"ComponentId_4\",\n \"ComponentName\": \"个人签名/印章\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 10.5,\n \"ComponentPosY\": 27,\n \"ComponentRecipientId\": \"yDxZzUyKQDKuihUuO4zjEy09jfapyHjn\",\n \"ComponentRequired\": true,\n \"ComponentType\": \"SIGN_SIGNATURE\",\n \"ComponentValue\": \"\",\n \"ComponentWidth\": 119,\n \"FileIndex\": 0,\n \"ForbidMoveAndDelete\": false,\n \"GenerateMode\": \"\",\n \"KeywordIndexes\": [],\n \"KeywordOrder\": \"\",\n \"KeywordPage\": 0,\n \"LockComponentValue\": false,\n \"OffsetX\": 0,\n \"OffsetY\": 0,\n \"RelativeLocation\": \"\",\n \"IsFormType\": false\n },\n {\n \"ChannelComponentId\": \"\",\n \"ChannelComponentSource\": 0,\n \"ComponentDateFontSize\": 0,\n \"ComponentExtra\": \"{\\\"Format\\\":\\\"yyyy年m月d日\\\",\\\"Gaps\\\":\\\"2,2\\\",\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Center\\\",\\\"Font\\\":\\\"黑体\\\",\\\"isAfterCut\\\":false}\",\n \"ComponentHeight\": 20,\n \"ComponentId\": \"ComponentId_5\",\n \"ComponentName\": \"签署日期\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 10.5,\n \"ComponentPosY\": 70,\n \"ComponentRecipientId\": \"yDxZzUyKQDKuihUuO4zjEy09jfapyHjn\",\n \"ComponentRequired\": true,\n \"ComponentType\": \"SIGN_DATE\",\n \"ComponentValue\": \"\",\n \"ComponentWidth\": 119,\n \"FileIndex\": 0,\n \"ForbidMoveAndDelete\": false,\n \"GenerateMode\": \"\",\n \"KeywordIndexes\": [],\n \"KeywordOrder\": \"\",\n \"KeywordPage\": 0,\n \"LockComponentValue\": false,\n \"OffsetX\": 0,\n \"OffsetY\": 0,\n \"RelativeLocation\": \"\",\n \"IsFormType\": false\n },\n {\n \"ChannelComponentId\": \"\",\n \"ChannelComponentSource\": 0,\n \"ComponentDateFontSize\": 0,\n \"ComponentExtra\": \"{\\\"Date\\\":true,\\\"isAfterCut\\\":false,\\\"PageRanges\\\":[]}\",\n \"ComponentHeight\": 119,\n \"ComponentId\": \"ComponentId_7\",\n \"ComponentName\": \"企业印章\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 140.5,\n \"ComponentPosY\": 27,\n \"ComponentRecipientId\": \"yDwJ0UUckpk2077lUxgm9jJ9eZgZChJe\",\n \"ComponentRequired\": true,\n \"ComponentType\": \"SIGN_SEAL\",\n \"ComponentValue\": \"\",\n \"ComponentWidth\": 119,\n \"FileIndex\": 0,\n \"ForbidMoveAndDelete\": false,\n \"GenerateMode\": \"\",\n \"KeywordIndexes\": [],\n \"KeywordOrder\": \"\",\n \"KeywordPage\": 0,\n \"LockComponentValue\": false,\n \"OffsetX\": 0,\n \"OffsetY\": 0,\n \"RelativeLocation\": \"\",\n \"IsFormType\": false\n },\n {\n \"ChannelComponentId\": \"\",\n \"ChannelComponentSource\": 0,\n \"ComponentDateFontSize\": 0,\n \"ComponentExtra\": \"{\\\"Format\\\":\\\"yyyy年m月d日\\\",\\\"Gaps\\\":\\\"2,2\\\",\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Center\\\",\\\"Font\\\":\\\"黑体\\\",\\\"isAfterCut\\\":false}\",\n \"ComponentHeight\": 20,\n \"ComponentId\": \"ComponentId_8\",\n \"ComponentName\": \"签署日期1\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 140.5,\n \"ComponentPosY\": 146,\n \"ComponentRecipientId\": \"yDwJ0UUckpk2077lUxgm9jJ9eZgZChJe\",\n \"ComponentRequired\": true,\n \"ComponentType\": \"SIGN_DATE\",\n \"ComponentValue\": \"\",\n \"ComponentWidth\": 119,\n \"FileIndex\": 0,\n \"ForbidMoveAndDelete\": false,\n \"GenerateMode\": \"\",\n \"KeywordIndexes\": [],\n \"KeywordOrder\": \"\",\n \"KeywordPage\": 0,\n \"LockComponentValue\": false,\n \"OffsetX\": 0,\n \"OffsetY\": 0,\n \"RelativeLocation\": \"\",\n \"IsFormType\": false\n }\n ],\n \"SignOrder\": [\n -1\n ],\n \"Status\": 1,\n \"TemplateId\": \"yDRS4UUgygqdcjjhUuO4zjEBpXdcsHWX\",\n \"TemplateName\": \"e2eTest-启停用模板_88433\",\n \"TemplateSeals\": [],\n \"TemplateType\": 3,\n \"TemplateVersion\": \"20230906002\",\n \"UserFlowType\": {\n \"Description\": \"\",\n \"Name\": \"未分类\",\n \"UserFlowTypeId\": \"\"\n }\n }\n ],\n \"TotalCount\": 1\n }\n}", "title": "模板查询接口-指定模板Id查询模板信息" }, { "document": "1.指定一个不存在的模板ID进行查询", - "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFlowTemplates\n<公共请求参数>\n\n{\n \"Operator\": {\n \"Channel\": \"YUFU\",\n \"ClientIp\": \"8.8.8.8\",\n \"OpenId\": \"\",\n \"UserId\": \"yDxVwUyKQWho8CUuO4zjEyQOAgwvr4Zy\"\n },\n \"Offset\": 0,\n \"Limit\": 20,\n \"ApplicationId\": \"\",\n \"Filters\": [\n {\n \"Key\": \"template-id\",\n \"Values\": [\n \"yDRS4UUgygqdcjjhUuO4zjEBpXdcsHWw\"\n ]\n }\n ]\n}", + "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFlowTemplates\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDxVwUyKQWho8CUuO4zjEyQOAgwvr4Zy\"\n },\n \"Offset\": 0,\n \"Limit\": 20,\n \"ApplicationId\": \"\",\n \"Filters\": [\n {\n \"Key\": \"template-id\",\n \"Values\": [\n \"yDRS4UUgygqdcjjhUuO4zjEBpXdcsHWw\"\n ]\n }\n ]\n}", "output": "{\n \"Response\": {\n \"RequestId\": \"s1695125479063466836\",\n \"Templates\": [],\n \"TotalCount\": 0\n }\n}", "title": "模板查询接口-通过不存在的模板Id查询模板信息" } diff --git a/tccli/services/essbasic/v20210526/api.json b/tccli/services/essbasic/v20210526/api.json index 1f3d64b09..fe66bafe8 100644 --- a/tccli/services/essbasic/v20210526/api.json +++ b/tccli/services/essbasic/v20210526/api.json @@ -3297,7 +3297,7 @@ }, { "disabled": false, - "document": "是否开通自动签,该功能需联系运营工作人员开通后使用", + "document": "此字段已废弃,请勿继续使用。", "example": "无", "member": "bool", "name": "EnableAutoSign", @@ -6435,7 +6435,7 @@ }, { "disabled": false, - "document": "生成链接的类型:\n", + "document": "生成链接的类型:\n", "example": "PC", "member": "string", "name": "Endpoint", @@ -6513,7 +6513,7 @@ "members": [ { "disabled": false, - "document": "跳转链接, 链接的有效期根据企业,员工状态和终端等有区别, 可以参考下表\n
子客企业状态 子客企业员工状态 Endpoint 链接有效期限
企业未激活 员工未认证 PC/PC_SHORT_URL 5分钟
企业未激活 员工未认证 CHANNEL/APP/H5/SHORT_H5 30天
企业已激活 员工未认证 PC/PC_SHORT_URL 5分钟
企业已激活 员工未认证 CHANNEL/APP/H5/SHORT_H5 30天
企业已激活 员工已认证 PC 5分钟
企业已激活 员工已认证 CHANNEL/APP/H5/SHORT_H5 30天
\n\n注: \n1. 链接仅单次有效,每次登录需要需要重新创建新的链接\n2. 创建的链接应避免被转义,如:&被转义为\\u0026;如使用Postman请求后,请选择响应类型为 JSON,否则链接将被转义\n3. 生成的链路后面不能再增加参数(会出现覆盖链接中已有参数导致错误)\n", + "document": "跳转链接, 链接的有效期根据企业,员工状态和终端等有区别, 可以参考下表\n
子客企业状态 子客企业员工状态 Endpoint 链接有效期限
企业未激活 员工未认证 PC/PC_SHORT_URL 5分钟
企业未激活 员工未认证 CHANNEL/APP/H5/SHORT_H5/WEIXIN_QRCODE_URL 30天
企业已激活 员工未认证 PC/PC_SHORT_URL 5分钟
企业已激活 员工未认证 CHANNEL/APP/H5/SHORT_H5/WEIXIN_QRCODE_URL 30天
企业已激活 员工已认证 PC 5分钟
企业已激活 员工已认证 CHANNEL/APP/H5/SHORT_H5/WEIXIN_QRCODE_URL 30天
\n\n注: \n1. 链接仅单次有效,每次登录需要需要重新创建新的链接\n2. 创建的链接应避免被转义,如:&被转义为\\u0026;如使用Postman请求后,请选择响应类型为 JSON,否则链接将被转义\n3. 生成的链路后面不能再增加参数(会出现覆盖链接中已有参数导致错误)\n", "example": "无", "member": "string", "name": "ConsoleUrl", @@ -10148,7 +10148,7 @@ }, { "disabled": false, - "document": "链接跳转类型,支持以下类型\n", + "document": "链接跳转类型,支持以下类型\n", "example": "APP", "member": "string", "name": "Endpoint", @@ -11383,6 +11383,15 @@ "name": "PowerOfAttorneys", "required": false, "type": "list" + }, + { + "disabled": false, + "document": "认证完之后的H5页面的跳转链接,最大长度1000个字符。链接类型请参考 [跳转电子签H5](https://qian.tencent.com/developers/company/openqianh5/)", + "example": "无", + "member": "string", + "name": "AutoJumpUrl", + "required": false, + "type": "string" } ], "usage": "in" diff --git a/tccli/services/gwlb/v20240906/api.json b/tccli/services/gwlb/v20240906/api.json index c0581a4c3..66ec42f80 100644 --- a/tccli/services/gwlb/v20240906/api.json +++ b/tccli/services/gwlb/v20240906/api.json @@ -38,7 +38,7 @@ "DeregisterTargetGroupInstances": { "document": "从目标组中解绑服务器。\n本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 DescribeTaskStatus 接口查询本次任务是否成功。", "input": "DeregisterTargetGroupInstancesRequest", - "name": "解绑目标组服务器", + "name": "解绑目标组中的实例", "output": "DeregisterTargetGroupInstancesResponse", "status": "online" }, @@ -59,7 +59,7 @@ "DescribeTargetGroupInstances": { "document": "获取目标组绑定的服务器信息。", "input": "DescribeTargetGroupInstancesRequest", - "name": "获取目标组绑定的服务器", + "name": "获取目标组绑定的实例列表", "output": "DescribeTargetGroupInstancesResponse", "status": "online" }, @@ -122,7 +122,7 @@ "RegisterTargetGroupInstances": { "document": "注册服务器到目标组。\n本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 DescribeTaskStatus 接口查询本次任务是否成功。", "input": "RegisterTargetGroupInstancesRequest", - "name": "注册服务器到目标组", + "name": "目标组中添加实例", "output": "RegisterTargetGroupInstancesResponse", "status": "online" } @@ -166,7 +166,7 @@ "members": [ { "disabled": false, - "document": "关联到的负载均衡ID", + "document": "关联到的网关负载均衡实例ID", "example": "无", "member": "string", "name": "LoadBalancerId", @@ -176,7 +176,7 @@ }, { "disabled": false, - "document": "负载均衡名称", + "document": "网关负载均衡实例名称", "example": "无", "member": "string", "name": "LoadBalancerName", @@ -210,7 +210,7 @@ }, { "disabled": false, - "document": "网关负载均衡实例名称。可支持输入1-60个字符,允许英文字母、数字、中文字符、“-”、“_”、“.”。不填写时默认自动生成。", + "document": "网关负载均衡实例名称。可支持输入1-60个字符。不填写时默认自动生成。", "example": "gwlb-xxx", "member": "string", "name": "LoadBalancerName", @@ -284,7 +284,7 @@ "members": [ { "disabled": false, - "document": "目标组名称,限定50个字符", + "document": "目标组名称,限定60个字符。", "example": "test-name", "member": "string", "name": "TargetGroupName", @@ -302,7 +302,7 @@ }, { "disabled": false, - "document": "目标组的默认端口, 后续添加服务器时可使用该默认端口。Port和TargetGroupInstances.N中的port二者必填其一。\n", + "document": "目标组的默认端口, 后续添加服务器时可使用该默认端口。Port和TargetGroupInstances.N中的port二者必填其一。", "example": "80", "member": "uint64", "name": "Port", @@ -320,7 +320,7 @@ }, { "disabled": false, - "document": "网关负载均衡目标组协议。\n- AWS_GENEVE:GENEVE 兼容协议 \n- TENCENT_GENEVE :GENEVE 标准协议", + "document": "网关负载均衡目标组协议。\n- TENCENT_GENEVE :GENEVE 标准协议\n- AWS_GENEVE:GENEVE 兼容协议(需要提交工单申请开白)", "example": "GENEVE", "member": "string", "name": "Protocol", @@ -329,8 +329,8 @@ }, { "disabled": false, - "document": "健康检查。", - "example": "true", + "document": "健康检查设置。", + "example": "无", "member": "TargetGroupHealthCheck", "name": "HealthCheck", "required": false, @@ -338,7 +338,7 @@ }, { "disabled": false, - "document": "RS调度算法。\n- IP_HASH_3_ELASTIC:弹性哈希", + "document": "均衡算法。\n- IP_HASH_3_ELASTIC:弹性哈希", "example": "IP_HASH_3_ELASTIC", "member": "string", "name": "ScheduleAlgorithm", @@ -411,8 +411,8 @@ "members": [ { "disabled": false, - "document": "目标组列表。", - "example": "[\"lbtg-f1phe5j6\\r\\n\"]", + "document": "目标组ID列表。", + "example": "[\"lbtg-f1phe5j6\"]", "member": "string", "name": "TargetGroupIds", "required": true, @@ -1025,7 +1025,7 @@ { "disabled": false, "document": "创建时间。", - "example": "2022-12-14 20:30:48", + "example": "2024-10-15 20:30:48", "member": "string", "name": "CreateTime", "output_required": true, @@ -1182,7 +1182,7 @@ }, { "disabled": false, - "document": "网关负载均衡名称。", + "document": "网关负载均衡实例名称。可支持输入1-60个字符。", "example": "newname", "member": "string", "name": "LoadBalancerName", @@ -1272,7 +1272,7 @@ }, { "disabled": false, - "document": "待修改权重的服务器数组。", + "document": "实例绑定配置数组。", "example": "无", "member": "TargetGroupInstance", "name": "TargetGroupInstances", @@ -1309,7 +1309,7 @@ }, { "disabled": false, - "document": "描述了实例价格。\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "描述了GLCU的价格。\n注意:此字段可能返回 null,表示取不到有效值。", "example": "无", "member": "ItemPrice", "name": "LcuPrice", @@ -1389,7 +1389,7 @@ "members": [ { "disabled": false, - "document": "负载均衡ID。", + "document": "网关负载均衡实例ID。", "example": "gwlb-20dhh498", "member": "string", "name": "LoadBalancerId", @@ -1540,7 +1540,7 @@ }, { "disabled": false, - "document": "健康检查使用的协议。支持icmp和tcp,默认为icmp。", + "document": "健康检查使用的协议。支持ping和tcp,默认为ping。\n\n- PING: icmp\n- TCP: tcp", "example": "icmp", "member": "string", "name": "Protocol", @@ -1653,7 +1653,7 @@ { "disabled": false, "document": "目标组的创建时间", - "example": "2022-03-23T10:37:16+08:00", + "example": "2024-10-15T10:37:16+08:00", "member": "datetime_iso", "name": "CreatedTime", "output_required": true, @@ -1663,7 +1663,7 @@ { "disabled": false, "document": "目标组的修改时间", - "example": "2022-03-23T10:37:16+08:00", + "example": "2024-10-15T10:37:16+08:00", "member": "datetime_iso", "name": "UpdatedTime", "output_required": true, @@ -1692,7 +1692,7 @@ }, { "disabled": false, - "document": "调度算法。\nip_hash_3:3元组对称弹性Hash\nip_hash_3_consistent:3元组对称一致性Hash\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "调度算法。\nip_hash_3:弹性哈希\n注意:此字段可能返回 null,表示取不到有效值。", "example": "ip_hash_3", "member": "string", "name": "ScheduleAlgorithm", diff --git a/tccli/services/hunyuan/v20230901/api.json b/tccli/services/hunyuan/v20230901/api.json index 84b03654f..d00bae007 100644 --- a/tccli/services/hunyuan/v20230901/api.json +++ b/tccli/services/hunyuan/v20230901/api.json @@ -119,7 +119,7 @@ }, { "disabled": false, - "document": "聊天上下文信息。\n说明:\n1. 长度最多为 40,按对话时间从旧到新在数组中排列。\n2. Message.Role 可选值:system、user、assistant、 tool。\n其中,system 角色可选,如存在则必须位于列表的最开始。user(tool) 和 assistant 需交替出现(一问一答),以 user 提问开始,user(tool)提问结束,且 Content 不能为空。Role 的顺序示例:[system(可选) user assistant user assistant user ...]。\n3. Messages 中 Content 总长度不能超过模型输入长度上限(可参考 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 文档),超过则会截断最前面的内容,只保留尾部内容。", + "document": "聊天上下文信息。\n说明:\n1. 长度最多为 40,按对话时间从旧到新在数组中排列。\n2. Message.Role 可选值:system、user、assistant、 tool(functioncall场景)。\n其中,system 角色可选,如存在则必须位于列表的最开始。user(tool) 和 assistant 需交替出现(一问一答),以 user 提问开始,user(tool)提问结束,其中tool可以连续出现多次,且 Content 不能为空。Role 的顺序示例:[system(可选) user assistant user(tool tool ...) assistant user(tool tool ...) ...]。\n3. Messages 中 Content 总长度不能超过模型输入长度上限(可参考 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 文档),超过则会截断最前面的内容,只保留尾部内容。", "example": "无", "member": "Message", "name": "Messages", @@ -227,7 +227,7 @@ }, { "disabled": false, - "document": "图文并茂开关。\n详细介绍请阅读 [图文并茂](https://cloud.tencent.com/document/product/1729/111178) 中的说明。\n说明:\n1. 该参数仅在功能增强(如搜索)开关开启(EnableEnhancement=true)时生效。\n2. hunyuan-lite 无图文并茂能力,该参数对 hunyuan-lite 版本不生效。\n3. 未传值时默认关闭。\n4. 开启并搜索到对应的多媒体信息时,会输出对应的多媒体地址,可以定制个性化的图文消息。", + "document": "多媒体开关。\n详细介绍请阅读 [多媒体介绍](https://cloud.tencent.com/document/product/1729/111178) 中的说明。\n说明:\n1. 该参数目前仅对白名单内用户生效,如您想体验该功能请 [联系我们](https://cloud.tencent.com/act/event/Online_service)。\n2. 该参数仅在功能增强(如搜索)开关开启(EnableEnhancement=true)并且极速版搜索开关关闭(EnableSpeedSearch=false)时生效。\n3. hunyuan-lite 无多媒体能力,该参数对 hunyuan-lite 版本不生效。\n4. 未传值时默认关闭。\n5. 开启并搜索到对应的多媒体信息时,会输出对应的多媒体地址,可以定制个性化的图文消息。", "example": "false", "member": "bool", "name": "EnableMultimedia", @@ -322,7 +322,7 @@ }, { "disabled": false, - "document": "多媒体信息。\n说明:\n1. 可以用多媒体信息替换回复内容里的占位符,得到完整的图文信息。\n2. 可能会出现回复内容里存在占位符,但是因为审核等原因没有返回多媒体信息。", + "document": "多媒体信息。\n说明:\n1. 可以用多媒体信息替换回复内容里的占位符,得到完整的消息。\n2. 可能会出现回复内容里存在占位符,但是因为审核等原因没有返回多媒体信息。", "example": "无", "member": "Replace", "name": "Replaces", @@ -846,11 +846,11 @@ "usage": "both" }, "Multimedia": { - "document": "图文并茂详情", + "document": "多媒体详情", "members": [ { "disabled": false, - "document": "多媒体类型,image:图片。", + "document": "多媒体类型,可选值包括 image、music、album、playlist。\n说明:\n1. image:图片;music:单曲,类型为单曲时,会返回详细歌手和歌曲信息;album:专辑;playlist:歌单。\n2. 当 type 为 music、album、playlist 时,需要配合 [QQ音乐SDK](https://developer.y.qq.com/) 使用。", "example": "image", "member": "string", "name": "Type", @@ -860,7 +860,7 @@ }, { "disabled": false, - "document": "多媒体预览地址。", + "document": "多媒体地址。\n说明:\n1. type 为 image 时,地址为图片的预览地址;其他类型时,地址为封面图地址。", "example": "无", "member": "string", "name": "Url", @@ -870,13 +870,53 @@ }, { "disabled": false, - "document": "多媒体详情地址。", + "document": "多媒体详情地址。\n说明:\n1. 仅 type 为 image 时,该字段有值。\n注意:此字段可能返回 null,表示取不到有效值。", "example": "无", "member": "string", "name": "JumpUrl", "output_required": false, "type": "string", - "value_allowed_null": false + "value_allowed_null": true + }, + { + "disabled": false, + "document": "名称。\n说明:\n1. type 为 image 时,该字段为空。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "string", + "name": "Title", + "output_required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "描述。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "string", + "name": "Desc", + "output_required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "歌手名称。\n说明:\n1. 仅 type 为 music 时,该字段有值。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "string", + "name": "Singer", + "output_required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "歌曲详情。\n说明:\n1. 仅 type 为 music 时,该字段有值。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "SongExt", + "name": "Ext", + "output_required": false, + "type": "object", + "value_allowed_null": true } ], "usage": "out" @@ -1086,7 +1126,7 @@ "type": "object" }, "Replace": { - "document": "图文并茂占位符替换信息", + "document": "多媒体占位符替换信息", "members": [ { "disabled": false, @@ -1194,6 +1234,42 @@ ], "type": "object" }, + "SongExt": { + "document": "歌曲详情。具体含义参考 [QQ音乐SDK](https://developer.y.qq.com/)", + "members": [ + { + "disabled": false, + "document": "歌曲id", + "example": "97773", + "member": "int64", + "name": "SongId", + "output_required": false, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "歌曲mid", + "example": "0039MnYb0qxYhV", + "member": "string", + "name": "SongMid", + "output_required": false, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "歌曲是否为vip。1:vip歌曲; 0:普通歌曲。", + "example": "1", + "member": "int64", + "name": "Vip", + "output_required": false, + "type": "int", + "value_allowed_null": false + } + ], + "usage": "out" + }, "SubmitHunyuanImageChatJobRequest": { "document": "SubmitHunyuanImageChatJob请求参数结构体", "members": [ diff --git a/tccli/services/hunyuan/v20230901/examples.json b/tccli/services/hunyuan/v20230901/examples.json index 82dc385c4..f6c3e1169 100644 --- a/tccli/services/hunyuan/v20230901/examples.json +++ b/tccli/services/hunyuan/v20230901/examples.json @@ -59,7 +59,7 @@ }, { "document": "推荐使用 API Explorer 调用接口,见本文档顶部说明。该示例说明hunyuan-vision模型如何调用接口。\n\nImageUrl.Url 支持图片链接以及图片 base64 两种方式\njpeg 图片转 base64 示例 (其他图片格式注意修改为对应的 MIME 类型, 如 image/png, image/webp, image/bmp 等):\n\n```python\nimport base64\n\nwith open(\"1.jpeg\", 'rb') as image_file:\n encoded_image = base64.b64encode(image_file.read())\n print(\"data:image/jpeg;base64,\"+encoded_image.decode('utf-8'))\n```", - "input": "POST / HTTP/1.1\nHost: hunyuan.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChatCompletions\n<公共请求参数>\n\n{\n \"Model\": \"hunyuan-vision\",\n \"Messages\": [\n {\n \"Role\": \"user\",\n \"Contents\": [\n {\n \"Type\": \"text\",\n \"Text\": \"下面图片中是哪个公司的 Logo?\"\n },\n {\n \"Type\": \"image_url\",\n \"ImageUrl\": {\n \"Url\": \"https://cloudcache.tencent-cloud.com/qcloud/ui/portal-set/build/About/images/bg-product-series_87d.png\"\n }\n }\n ]\n }\n ],\n \"Stream\": false\n}", + "input": "POST / HTTP/1.1\nHost: hunyuan.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChatCompletions\n<公共请求参数>\n\n{\n \"Model\": \"hunyuan-vision\",\n \"Messages\": [\n {\n \"Role\": \"user\",\n \"Contents\": [\n {\n \"Type\": \"text\",\n \"Text\": \"下面图片中是哪个公司的 Logo?\"\n },\n {\n \"Type\": \"image_url\",\n \"ImageUrl\": {\n \"Url\": \"https://cloudcache.tencent-cloud.com/qcloud/ui/portal-set/build/About/images/bg-product-series_87d.png\"\n }\n },\n {\n \"Type\": \"image_url\",\n \"ImageUrl\": {\n \"Url\": \"https://cloudcache.tencent-cloud.com/qcloud/ui/portal-set/build/About/images/bg-product-series_87d.png\"\n }\n }\n ]\n }\n ],\n \"Stream\": false\n}", "output": "{\n \"Response\": {\n \"RequestId\": \"a21f9d7e-c18a-438b-bfb4-7941a2adf8ae\",\n \"Note\": \"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\n \"Choices\": [\n {\n \"Message\": {\n \"Role\": \"assistant\",\n \"Content\": \"这张图片中展示的Logo属于腾讯公司。\"\n },\n \"FinishReason\": \"stop\"\n }\n ],\n \"Created\": 1714290436,\n \"Id\": \"a21f9d7e-c18a-438b-bfb4-7941a2adf8ae\",\n \"Usage\": {\n \"PromptTokens\": 7,\n \"CompletionTokens\": 10,\n \"TotalTokens\": 17\n }\n }\n}", "title": "图片理解示例" } diff --git a/tccli/services/iss/v20230517/api.json b/tccli/services/iss/v20230517/api.json index db5e5b3bd..f036eac25 100644 --- a/tccli/services/iss/v20230517/api.json +++ b/tccli/services/iss/v20230517/api.json @@ -498,9 +498,9 @@ "status": "online" }, "RefreshDeviceChannel": { - "document": "用于刷新国标设备的通道(接口调用后,触发向设备请求通道列表,新增的通道入库,设备上已删除的通道需自行删除、后台不自动删除)。", + "document": "用于同步国标设备的通道(接口调用后,触发向设备请求通道列表,新增的通道入库,设备上已删除的通道需自行删除、后台不自动删除)。", "input": "RefreshDeviceChannelRequest", - "name": "刷新设备通道", + "name": "同步设备通道", "output": "RefreshDeviceChannelResponse", "status": "online" }, @@ -1267,7 +1267,7 @@ "members": [ { "disabled": false, - "document": "组织名称(仅支持中文、英文、数字、_、-的组合,长度不超过16个字符,且组织名称不能重复)", + "document": "组织名称(仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过64位,且组织名称不能重复)", "example": "组织123", "member": "string", "name": "Name", @@ -1691,6 +1691,15 @@ "name": "OrganizationId", "required": false, "type": "list" + }, + { + "disabled": false, + "document": "录像补录模式(0:不启用,1:启用),无该字段,默认不启用", + "example": "0", + "member": "int64", + "name": "RepairMode", + "required": false, + "type": "int" } ], "type": "object" @@ -1818,7 +1827,7 @@ "members": [ { "disabled": false, - "document": "任务名称,仅支持中文、英文、数字、_、-,长度不超过32个字符,模板名称全局唯一,不能为空,不能重复", + "document": "任务名称,仅支持中文、英文、数字、_、-,长度不超过32个字符,名称全局唯一,不能为空,不能重复", "example": "task1", "member": "string", "name": "TaskName", @@ -2132,7 +2141,7 @@ "members": [ { "disabled": false, - "document": "设备名称,仅支持中文、英文、数字、_、-,长度不超过32个字符;(设备名称无需全局唯一,可以重复)", + "document": "设备名称,仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过128位;(设备名称无需全局唯一,可以重复)", "example": "设备1", "member": "string", "name": "Name", @@ -2186,7 +2195,7 @@ }, { "disabled": false, - "document": "设备密码(国标,网关设备必填,仅支持数字组合,长度为1-64个字符)", + "document": "设备密码(国标,网关设备必填,长度为1-64个字符)", "example": "111111", "member": "string", "name": "Password", @@ -2195,7 +2204,7 @@ }, { "disabled": false, - "document": "设备描述,仅支持中文、英文、数字、_、-,长度不超过128个字符", + "document": "设备描述,长度不超过128个字符", "example": "这是设备1", "member": "string", "name": "Description", @@ -2258,7 +2267,7 @@ }, { "disabled": false, - "document": "RTMP推流地址自定义AppName(仅RTMP需要,支持英文、数字组合限制32个字符内)", + "document": "RTMP推流地址自定义AppName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)", "example": "live", "member": "string", "name": "AppName", @@ -2267,7 +2276,7 @@ }, { "disabled": false, - "document": "RTMP推流地址自定义StreamName(仅RTMP需要,支持英文、数字组合限制32个字符内)", + "document": "RTMP推流地址自定义StreamName(仅RTMP需要,支持英文、数字、_、-、.、长度不超过64位)", "example": "00cuDZBadN", "member": "string", "name": "StreamName", @@ -2365,7 +2374,7 @@ }, { "disabled": false, - "document": "操作命令(enable:启用;disable:禁用;delete:删除;upgrade:固件升级;reset:恢复出厂设置;reboot:重启)", + "document": "操作命令(enable:启用;disable:禁用;delete:删除;sync:同步设备通道;upgrade:固件升级;reset:恢复出厂设置;reboot:重启)", "example": "enable", "member": "string", "name": "Cmd", @@ -8323,6 +8332,16 @@ "output_required": true, "type": "int", "value_allowed_null": false + }, + { + "disabled": false, + "document": "录像补录模式(0:不启用,1:启用)", + "example": "0", + "member": "int64", + "name": "RepairMode", + "output_required": false, + "type": "int", + "value_allowed_null": false } ], "usage": "out" @@ -8379,6 +8398,16 @@ "output_required": true, "type": "string", "value_allowed_null": true + }, + { + "disabled": false, + "document": "通道所属设备的接入协议类型", + "example": "2", + "member": "int64", + "name": "AccessProtocol", + "output_required": false, + "type": "int", + "value_allowed_null": false } ], "usage": "out" @@ -8445,6 +8474,16 @@ "output_required": true, "type": "string", "value_allowed_null": true + }, + { + "disabled": false, + "document": "录像补录模式(0:不启用,1:启用)", + "example": "0", + "member": "int64", + "name": "RepairMode", + "output_required": false, + "type": "int", + "value_allowed_null": false } ], "usage": "out" @@ -9949,7 +9988,7 @@ }, { "disabled": false, - "document": "组织名称", + "document": "组织名称,支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过64位,且组织名称不能重复", "example": "组织2371", "member": "string", "name": "Name", @@ -10430,6 +10469,15 @@ "name": "OrganizationId", "required": false, "type": "list" + }, + { + "disabled": false, + "document": "录像补录模式(0:不启用,1:启用)", + "example": "0", + "member": "int64", + "name": "RepairMode", + "required": false, + "type": "int" } ], "usage": "in" @@ -10564,7 +10612,7 @@ }, { "disabled": false, - "document": "设备名称(仅支持中文、英文、数字、_、-,长度不超过32个字符)", + "document": "设备名称(仅支持中文、英文、数字、空格、中英文括号、_、-, 长度不超过128位)", "example": "设备1", "member": "string", "name": "Name", @@ -10582,7 +10630,7 @@ }, { "disabled": false, - "document": "设备密码(仅国标,网关设备支持)", + "document": "设备密码(仅国标,网关设备支持,长度不超过 64 位)", "example": "111111", "member": "string", "name": "Password", @@ -10591,7 +10639,7 @@ }, { "disabled": false, - "document": "设备描述(仅支持中文、英文、数字、_、-,长度不超过128位)", + "document": "设备描述(长度不超过128位)", "example": "这个一个设备", "member": "string", "name": "Description", diff --git a/tccli/services/iss/v20230517/examples.json b/tccli/services/iss/v20230517/examples.json index 623758295..c23819935 100644 --- a/tccli/services/iss/v20230517/examples.json +++ b/tccli/services/iss/v20230517/examples.json @@ -53,8 +53,8 @@ "AddRecordPlan": [ { "document": " ", - "input": "POST / HTTP/1.1\nHost: iss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddRecordPlan\n<公共请求参数>\n\n{\n \"PlanName\": \"name\",\n \"TemplateId\": \"48676e89a8c**********baa36220fa4\",\n \"Describe\": \"abc\",\n \"StreamType\": \"main\",\n \"Channels\": [\n {\n \"DeviceId\": \"48676e89a8c**********baa36220fa4\",\n \"ChannelId\": \"9ee325e9984**********a805c19b4e1\"\n }\n ],\n \"OrganizationId\": [\n \"10\"\n ],\n \"LifeCycle\": {\n \"Transition\": 1,\n \"Expiration\": 60\n }\n}", - "output": "{\n \"Response\": {\n \"Data\": {\n \"PlanId\": \"88ac5ea6c1f**********24671d0f94f\",\n \"PlanName\": \"name\",\n \"TemplateId\": \"48676e89a8c**********baa36220fa4\",\n \"Describe\": \"abc\",\n \"StreamType\": \"main\",\n \"LifeCycle\": {\n \"Transition\": 1,\n \"Expiration\": 60\n }\n },\n \"RequestId\": \"fba7981b-d6a4-4177-b11d-e53a6110e4cd\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: iss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddRecordPlan\n<公共请求参数>\n\n{\n \"PlanName\": \"name\",\n \"TemplateId\": \"48676e89a8c**********baa36220fa4\",\n \"Describe\": \"abc\",\n \"RepairMode\": 1,\n \"StreamType\": \"main\",\n \"Channels\": [\n {\n \"DeviceId\": \"48676e89a8c**********baa36220fa4\",\n \"ChannelId\": \"9ee325e9984**********a805c19b4e1\"\n }\n ],\n \"OrganizationId\": [\n \"10\"\n ],\n \"LifeCycle\": {\n \"Transition\": 1,\n \"Expiration\": 60\n }\n}", + "output": "{\n \"Response\": {\n \"Data\": {\n \"PlanId\": \"88ac5ea6c1f**********24671d0f94f\",\n \"PlanName\": \"name\",\n \"TemplateId\": \"48676e89a8c**********baa36220fa4\",\n \"Describe\": \"abc\",\n \"RepairMode\": 1,\n \"StreamType\": \"main\",\n \"LifeCycle\": {\n \"Transition\": 1,\n \"Expiration\": 60\n }\n },\n \"RequestId\": \"fba7981b-d6a4-4177-b11d-e53a6110e4cd\"\n }\n}", "title": "成功" } ], @@ -444,7 +444,7 @@ { "document": " ", "input": "POST / HTTP/1.1\nHost: iss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRecordPlan\n<公共请求参数>\n\n{\n \"PlanId\": \"88ac5ea6c1f**********24671d0f94f\"\n}", - "output": "{\n \"Response\": {\n \"Data\": {\n \"ChannelCount\": 1,\n \"PlanId\": \"88ac5ea6c1**********224671d0f94f\",\n \"PlanName\": \"name1\",\n \"TemplateId\": \"9ee325e9984b**********805c19b4e1\",\n \"Describe\": \"\",\n \"StreamType\": \"main\",\n \"LifeCycle\": {\n \"Transition\": 10,\n \"Expiration\": 60\n },\n \"Status\": 1\n },\n \"RequestId\": \"fba7981b-d6a4-4177-b11d-e53a6110e4cd\"\n }\n}", + "output": "{\n \"Response\": {\n \"Data\": {\n \"ChannelCount\": 1,\n \"PlanId\": \"88ac5ea6c1**********224671d0f94f\",\n \"PlanName\": \"name1\",\n \"TemplateId\": \"9ee325e9984b**********805c19b4e1\",\n \"Describe\": \"\",\n \"RepairMode\": 0,\n \"StreamType\": \"main\",\n \"LifeCycle\": {\n \"Transition\": 10,\n \"Expiration\": 60\n },\n \"Status\": 1\n },\n \"RequestId\": \"fba7981b-d6a4-4177-b11d-e53a6110e4cd\"\n }\n}", "title": "成功" } ], @@ -658,25 +658,25 @@ { "document": " ", "input": "POST / HTTP/1.1\nHost: iss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListRecordPlanDevices\n<公共请求参数>\n\n{\n \"PlanId\": \"88ac5ea6c1f**********24671d0f94f\",\n \"PageSize\": 5,\n \"PageNumber\": 1\n}", - "output": "{\n \"Response\": {\n \"Data\": {\n \"List\": [\n {\n \"ChannelId\": \"000fb77b-****-****-****-d4aff5503d70\",\n \"ChannelName\": \"dev_1\",\n \"DeviceId\": \"81b14b2d-****-****-****-3d1a3c3f630f\",\n \"DeviceName\": \"gb-device11814\",\n \"OrganizationName\": \"组织1\"\n },\n {\n \"ChannelId\": \"0020a697-****-****-****-c836d9f95075\",\n \"ChannelName\": \"dev_1\",\n \"DeviceId\": \"c94a9cc1-****-****-****-c87b6065893d\",\n \"DeviceName\": \"gb-device11820\",\n \"OrganizationName\": \"组织2\"\n },\n {\n \"ChannelId\": \"002b99cb-****-****-****-fb573cc57ab8\",\n \"ChannelName\": \"dev_1\",\n \"DeviceId\": \"a7718b36-****-****-****-b417bd2aa809\",\n \"DeviceName\": \"gb-device3633\",\n \"OrganizationName\": \"组织2\"\n },\n {\n \"ChannelId\": \"15daac41-****-****-****-0cadab7a6256\",\n \"ChannelName\": \"PTZ03\",\n \"DeviceId\": \"cae2132a-****-****-****-19cc90a61f06\",\n \"DeviceName\": \"NVR-04\",\n \"OrganizationName\": \"201\"\n },\n {\n \"ChannelId\": \"222c9da5-****-****-****-107c013b95a7\",\n \"ChannelName\": \"PTZ09\",\n \"DeviceId\": \"389708b2-****-****-****-a61f528b2a15\",\n \"DeviceName\": \"SDK-NVR05\",\n \"OrganizationName\": \"201\"\n }\n ],\n \"PageNumber\": 1,\n \"PageSize\": 5,\n \"TotalCount\": 15\n },\n \"RequestId\": \"fba7981b-d6a4-4177-b11d-e53a6110e4cd\"\n }\n}", + "output": "{\n \"Response\": {\n \"Data\": {\n \"List\": [\n {\n \"ChannelId\": \"000fb77b-****-****-****-d4aff5503d70\",\n \"ChannelName\": \"dev_1\",\n \"DeviceId\": \"81b14b2d-****-****-****-3d1a3c3f630f\",\n \"DeviceName\": \"gb-device11814\",\n \"OrganizationName\": \"组织1\",\n \"AccessProtocol\": 2\n },\n {\n \"ChannelId\": \"0020a697-****-****-****-c836d9f95075\",\n \"ChannelName\": \"dev_1\",\n \"DeviceId\": \"c94a9cc1-****-****-****-c87b6065893d\",\n \"DeviceName\": \"gb-device11820\",\n \"OrganizationName\": \"组织2\",\n \"AccessProtocol\": 2\n },\n {\n \"ChannelId\": \"002b99cb-****-****-****-fb573cc57ab8\",\n \"ChannelName\": \"dev_1\",\n \"DeviceId\": \"a7718b36-****-****-****-b417bd2aa809\",\n \"DeviceName\": \"gb-device3633\",\n \"OrganizationName\": \"组织2\",\n \"AccessProtocol\": 2\n },\n {\n \"ChannelId\": \"15daac41-****-****-****-0cadab7a6256\",\n \"ChannelName\": \"PTZ03\",\n \"DeviceId\": \"cae2132a-****-****-****-19cc90a61f06\",\n \"DeviceName\": \"NVR-04\",\n \"OrganizationName\": \"201\",\n \"AccessProtocol\": 2\n },\n {\n \"ChannelId\": \"222c9da5-****-****-****-107c013b95a7\",\n \"ChannelName\": \"PTZ09\",\n \"DeviceId\": \"389708b2-****-****-****-a61f528b2a15\",\n \"DeviceName\": \"SDK-NVR05\",\n \"OrganizationName\": \"201\",\n \"AccessProtocol\": 2\n }\n ],\n \"PageNumber\": 1,\n \"PageSize\": 5,\n \"TotalCount\": 15\n },\n \"RequestId\": \"fba7981b-d6a4-4177-b11d-e53a6110e4cd\"\n }\n}", "title": "无查询条件" }, { "document": " ", "input": "POST / HTTP/1.1\nHost: iss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListRecordPlanDevices\n<公共请求参数>\n\n{\n \"PlanId\": \"88ac5ea6c1f**********24671d0f94f\",\n \"OrganizationName\": \"201\",\n \"PageSize\": 5,\n \"PageNumber\": 1\n}", - "output": "{\n \"Response\": {\n \"Data\": {\n \"List\": [\n {\n \"ChannelId\": \"15daac41-f309-****-****-0cadab7a6256\",\n \"ChannelName\": \"PTZ03\",\n \"DeviceId\": \"cae2132a-7edc-****-****-19cc90a61f06\",\n \"DeviceName\": \"NVR-04\",\n \"OrganizationName\": \"201\"\n },\n {\n \"ChannelId\": \"222c9da5-3e06-****-****-107c013b95a7\",\n \"ChannelName\": \"DaHua-PTZ 09\",\n \"DeviceId\": \"389708b2-bcbb-****-****-a61f528b2a15\",\n \"DeviceName\": \"SDK-NVR05\",\n \"OrganizationName\": \"201\"\n },\n {\n \"ChannelId\": \"32525dd7-c3fc-****-****-d5beb4acd1e1\",\n \"ChannelName\": \"11\",\n \"DeviceId\": \"389708b2-bcbb-****-****-a61f528b2a15\",\n \"DeviceName\": \"SDK-NVR05\",\n \"OrganizationName\": \"201\"\n },\n {\n \"ChannelId\": \"53ca64d3-9627-****-****-cea5122f6977\",\n \"ChannelName\": \"PTZ03\",\n \"DeviceId\": \"389708b2-bcbb-****-****-a61f528b2a15\",\n \"DeviceName\": \"SDK-NVR05\",\n \"OrganizationName\": \"201\"\n },\n {\n \"ChannelId\": \"60a645e8-3140-****-****-98a62528232b\",\n \"ChannelName\": \"IPDome\",\n \"DeviceId\": \"3f6c847f-b6ea-****-****-2bfc8208d97e\",\n \"DeviceName\": \"onvif03\",\n \"OrganizationName\": \"201\"\n }\n ],\n \"PageNumber\": 1,\n \"PageSize\": 5,\n \"TotalCount\": 12\n },\n \"RequestId\": \"fba7981b-d6a4-4177-b11d-e53a6110e4cd\"\n }\n}", + "output": "{\n \"Response\": {\n \"Data\": {\n \"List\": [\n {\n \"ChannelId\": \"15daac41-f309-****-****-0cadab7a6256\",\n \"ChannelName\": \"PTZ03\",\n \"DeviceId\": \"cae2132a-7edc-****-****-19cc90a61f06\",\n \"DeviceName\": \"NVR-04\",\n \"OrganizationName\": \"201\",\n \"AccessProtocol\": 2\n },\n {\n \"ChannelId\": \"222c9da5-3e06-****-****-107c013b95a7\",\n \"ChannelName\": \"DaHua-PTZ 09\",\n \"DeviceId\": \"389708b2-bcbb-****-****-a61f528b2a15\",\n \"DeviceName\": \"SDK-NVR05\",\n \"OrganizationName\": \"201\",\n \"AccessProtocol\": 2\n },\n {\n \"ChannelId\": \"32525dd7-c3fc-****-****-d5beb4acd1e1\",\n \"ChannelName\": \"11\",\n \"DeviceId\": \"389708b2-bcbb-****-****-a61f528b2a15\",\n \"DeviceName\": \"SDK-NVR05\",\n \"OrganizationName\": \"201\",\n \"AccessProtocol\": 2\n },\n {\n \"ChannelId\": \"53ca64d3-9627-****-****-cea5122f6977\",\n \"ChannelName\": \"PTZ03\",\n \"DeviceId\": \"389708b2-bcbb-****-****-a61f528b2a15\",\n \"DeviceName\": \"SDK-NVR05\",\n \"OrganizationName\": \"201\",\n \"AccessProtocol\": 2\n },\n {\n \"ChannelId\": \"60a645e8-3140-****-****-98a62528232b\",\n \"ChannelName\": \"IPDome\",\n \"DeviceId\": \"3f6c847f-b6ea-****-****-2bfc8208d97e\",\n \"DeviceName\": \"onvif03\",\n \"OrganizationName\": \"201\",\n \"AccessProtocol\": 2\n }\n ],\n \"PageNumber\": 1,\n \"PageSize\": 5,\n \"TotalCount\": 12\n },\n \"RequestId\": \"fba7981b-d6a4-4177-b11d-e53a6110e4cd\"\n }\n}", "title": "按照组织名称查询" }, { "document": " ", "input": "POST / HTTP/1.1\nHost: iss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListRecordPlanDevices\n<公共请求参数>\n\n{\n \"PlanId\": \"88ac5ea6c1f**********24671d0f94f\",\n \"DeviceName\": \"NVR05\",\n \"PageSize\": 5,\n \"PageNumber\": 1\n}", - "output": "{\n \"Response\": {\n \"Data\": {\n \"List\": [\n {\n \"ChannelId\": \"222c9da5-3e06-****-****-107c013b95a7\",\n \"ChannelName\": \"PTZ09\",\n \"DeviceId\": \"389708b2-bcbb-****-****-a61f528b2a15\",\n \"DeviceName\": \"SDK-NVR05\",\n \"OrganizationName\": \"201\"\n },\n {\n \"ChannelId\": \"32525dd7-c3fc-****-****-d5beb4acd1e1\",\n \"ChannelName\": \"11\",\n \"DeviceId\": \"389708b2-bcbb-****-****-a61f528b2a15\",\n \"DeviceName\": \"SDK-NVR05\",\n \"OrganizationName\": \"201\"\n },\n {\n \"ChannelId\": \"53ca64d3-9627-****-****-cea5122f6977\",\n \"ChannelName\": \"PTZ03\",\n \"DeviceId\": \"389708b2-bcbb-****-****-a61f528b2a15\",\n \"DeviceName\": \"SDK-NVR05\",\n \"OrganizationName\": \"201\"\n },\n {\n \"ChannelId\": \"c80a0ebf-10ac-****-****-8083f18df240\",\n \"ChannelName\": \"PTZ17\",\n \"DeviceId\": \"389708b2-bcbb-****-****-a61f528b2a15\",\n \"DeviceName\": \"SDK-NVR05\",\n \"OrganizationName\": \"201\"\n }\n ],\n \"PageNumber\": 1,\n \"PageSize\": 4,\n \"TotalCount\": 4\n },\n \"RequestId\": \"fba7981b-d6a4-4177-b11d-e53a6110e4cd\"\n }\n}", + "output": "{\n \"Response\": {\n \"Data\": {\n \"List\": [\n {\n \"ChannelId\": \"222c9da5-3e06-****-****-107c013b95a7\",\n \"ChannelName\": \"PTZ09\",\n \"DeviceId\": \"389708b2-bcbb-****-****-a61f528b2a15\",\n \"DeviceName\": \"SDK-NVR05\",\n \"OrganizationName\": \"201\",\n \"AccessProtocol\": 2\n },\n {\n \"ChannelId\": \"32525dd7-c3fc-****-****-d5beb4acd1e1\",\n \"ChannelName\": \"11\",\n \"DeviceId\": \"389708b2-bcbb-****-****-a61f528b2a15\",\n \"DeviceName\": \"SDK-NVR05\",\n \"OrganizationName\": \"201\",\n \"AccessProtocol\": 2\n },\n {\n \"ChannelId\": \"53ca64d3-9627-****-****-cea5122f6977\",\n \"ChannelName\": \"PTZ03\",\n \"DeviceId\": \"389708b2-bcbb-****-****-a61f528b2a15\",\n \"DeviceName\": \"SDK-NVR05\",\n \"OrganizationName\": \"201\",\n \"AccessProtocol\": 2\n },\n {\n \"ChannelId\": \"c80a0ebf-10ac-****-****-8083f18df240\",\n \"ChannelName\": \"PTZ17\",\n \"DeviceId\": \"389708b2-bcbb-****-****-a61f528b2a15\",\n \"DeviceName\": \"SDK-NVR05\",\n \"OrganizationName\": \"201\",\n \"AccessProtocol\": 2\n }\n ],\n \"PageNumber\": 1,\n \"PageSize\": 4,\n \"TotalCount\": 4\n },\n \"RequestId\": \"fba7981b-d6a4-4177-b11d-e53a6110e4cd\"\n }\n}", "title": "按照设备名称查询" }, { "document": " ", "input": "POST / HTTP/1.1\nHost: iss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListRecordPlanDevices\n<公共请求参数>\n\n{\n \"PlanId\": \"88ac5ea6c1f**********24671d0f94f\",\n \"ChannelName\": \"11\",\n \"PageSize\": 5,\n \"PageNumber\": 1\n}", - "output": "{\n \"Response\": {\n \"Data\": {\n \"List\": [\n {\n \"ChannelId\": \"32525dd7-c3fc-****-****-d5beb4acd1e1\",\n \"ChannelName\": \"11\",\n \"DeviceId\": \"389708b2-bcbb-****-****-a61f528b2a15\",\n \"DeviceName\": \"SDK-NVR05\",\n \"OrganizationName\": \"201\"\n }\n ],\n \"PageNumber\": 1,\n \"PageSize\": 1,\n \"TotalCount\": 1\n },\n \"RequestId\": \"fba7981b-d6a4-4177-b11d-e53a6110e4cd\"\n }\n}", + "output": "{\n \"Response\": {\n \"Data\": {\n \"List\": [\n {\n \"ChannelId\": \"32525dd7-c3fc-****-****-d5beb4acd1e1\",\n \"ChannelName\": \"11\",\n \"DeviceId\": \"389708b2-bcbb-****-****-a61f528b2a15\",\n \"DeviceName\": \"SDK-NVR05\",\n \"OrganizationName\": \"201\",\n \"AccessProtocol\": 2\n }\n ],\n \"PageNumber\": 1,\n \"PageSize\": 1,\n \"TotalCount\": 1\n },\n \"RequestId\": \"fba7981b-d6a4-4177-b11d-e53a6110e4cd\"\n }\n}", "title": "按照通道名称查询" } ], @@ -690,7 +690,7 @@ { "document": " ", "input": "POST / HTTP/1.1\nHost: iss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListRecordPlans\n<公共请求参数>\n\n{}", - "output": "{\n \"Response\": {\n \"Data\": [\n {\n \"ChannelCount\": 1,\n \"PlanId\": \"88ac5ea6c1**********224671d0f94f\",\n \"PlanName\": \"name1\",\n \"TemplateId\": \"9ee325e9984b**********805c19b4e1\",\n \"Describe\": \"\",\n \"StreamType\": \"main\",\n \"LifeCycle\": {\n \"Transition\": 10,\n \"Expiration\": 60\n },\n \"Status\": 1\n },\n {\n \"ChannelCount\": 1,\n \"PlanId\": \"bf3a4476c7b4**********e8dcb62351\",\n \"PlanName\": \"name2\",\n \"TemplateId\": \"48676e89a8c1**********aa36220fa4\",\n \"Describe\": \"\",\n \"StreamType\": \"main\",\n \"LifeCycle\": {\n \"Transition\": 10,\n \"Expiration\": 60\n },\n \"Status\": 0\n }\n ],\n \"RequestId\": \"fba7981b-d6a4-4177-b11d-e53a6110e4cd\"\n }\n}", + "output": "{\n \"Response\": {\n \"Data\": [\n {\n \"ChannelCount\": 1,\n \"PlanId\": \"88ac5ea6c1**********224671d0f94f\",\n \"PlanName\": \"name1\",\n \"TemplateId\": \"9ee325e9984b**********805c19b4e1\",\n \"Describe\": \"\",\n \"RepairMode\": 0,\n \"StreamType\": \"main\",\n \"LifeCycle\": {\n \"Transition\": 10,\n \"Expiration\": 60\n },\n \"Status\": 1\n },\n {\n \"ChannelCount\": 1,\n \"PlanId\": \"bf3a4476c7b4**********e8dcb62351\",\n \"PlanName\": \"name2\",\n \"TemplateId\": \"48676e89a8c1**********aa36220fa4\",\n \"Describe\": \"\",\n \"RepairMode\": 0,\n \"StreamType\": \"main\",\n \"LifeCycle\": {\n \"Transition\": 10,\n \"Expiration\": 60\n },\n \"Status\": 0\n }\n ],\n \"RequestId\": \"fba7981b-d6a4-4177-b11d-e53a6110e4cd\"\n }\n}", "title": "有实时上云计划" } ], @@ -862,32 +862,38 @@ { "document": " ", "input": "POST / HTTP/1.1\nHost: iss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateRecordPlan\n<公共请求参数>\n\n{\n \"PlanId\": \"88ac5ea6c1f**********24671d0f94f\",\n \"Mod\": {\n \"PlanName\": \"newname\"\n }\n}", - "output": "{\n \"Response\": {\n \"Data\": {\n \"PlanId\": \"88ac5ea6c1f**********24671d0f94f\",\n \"PlanName\": \"newname\",\n \"TemplateId\": \"48676e89a8c**********baa36220fa4\",\n \"Describe\": \"\",\n \"StreamType\": \"main\",\n \"LifeCycle\": {\n \"Transition\": 1,\n \"Expiration\": 60\n }\n },\n \"RequestId\": \"fba7981b-d6a4-4177-b11d-e53a6110e4cd\"\n }\n}", + "output": "{\n \"Response\": {\n \"Data\": {\n \"PlanId\": \"88ac5ea6c1f**********24671d0f94f\",\n \"PlanName\": \"newname\",\n \"TemplateId\": \"48676e89a8c**********baa36220fa4\",\n \"Describe\": \"\",\n \"RepairMode\": 0,\n \"StreamType\": \"main\",\n \"LifeCycle\": {\n \"Transition\": 1,\n \"Expiration\": 60\n }\n },\n \"RequestId\": \"fba7981b-d6a4-4177-b11d-e53a6110e4cd\"\n }\n}", "title": "修改计划名称" }, { "document": " ", "input": "POST / HTTP/1.1\nHost: iss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateRecordPlan\n<公共请求参数>\n\n{\n \"PlanId\": \"88ac5ea6c1f**********24671d0f94f\",\n \"Mod\": {\n \"TemplateId\": \"48676e89a8c**********baa36a87832\"\n }\n}", - "output": "{\n \"Response\": {\n \"Data\": {\n \"PlanId\": \"88ac5ea6c1f**********24671d0f94f\",\n \"PlanName\": \"name\",\n \"TemplateId\": \"48676e89a8c**********baa36a87832\",\n \"Describe\": \"\",\n \"StreamType\": \"main\",\n \"LifeCycle\": {\n \"Transition\": 1,\n \"Expiration\": 60\n }\n },\n \"RequestId\": \"fba7981b-d6a4-4177-b11d-e53a6110e4cd\"\n }\n}", + "output": "{\n \"Response\": {\n \"Data\": {\n \"PlanId\": \"88ac5ea6c1f**********24671d0f94f\",\n \"PlanName\": \"name\",\n \"TemplateId\": \"48676e89a8c**********baa36a87832\",\n \"Describe\": \"\",\n \"RepairMode\": 0,\n \"StreamType\": \"main\",\n \"LifeCycle\": {\n \"Transition\": 1,\n \"Expiration\": 60\n }\n },\n \"RequestId\": \"fba7981b-d6a4-4177-b11d-e53a6110e4cd\"\n }\n}", "title": "修改计划模板" }, { "document": " ", "input": "POST / HTTP/1.1\nHost: iss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateRecordPlan\n<公共请求参数>\n\n{\n \"PlanId\": \"88ac5ea6c1f**********24671d0f94f\",\n \"Mod\": {\n \"Del\": [\n \"9ee325e9984**********a805c19b4e1\"\n ]\n }\n}", - "output": "{\n \"Response\": {\n \"Data\": {\n \"PlanId\": \"88ac5ea6c1f**********24671d0f94f\",\n \"PlanName\": \"name\",\n \"TemplateId\": \"48676e89a8c**********baa36220fa4\",\n \"Describe\": \"\",\n \"StreamType\": \"main\",\n \"LifeCycle\": {\n \"Transition\": 1,\n \"Expiration\": 60\n }\n },\n \"RequestId\": \"fba7981b-d6a4-4177-b11d-e53a6110e4cd\"\n }\n}", + "output": "{\n \"Response\": {\n \"Data\": {\n \"PlanId\": \"88ac5ea6c1f**********24671d0f94f\",\n \"PlanName\": \"name\",\n \"TemplateId\": \"48676e89a8c**********baa36220fa4\",\n \"Describe\": \"\",\n \"RepairMode\": 0,\n \"StreamType\": \"main\",\n \"LifeCycle\": {\n \"Transition\": 1,\n \"Expiration\": 60\n }\n },\n \"RequestId\": \"fba7981b-d6a4-4177-b11d-e53a6110e4cd\"\n }\n}", "title": "删除计划通道" }, { "document": " ", "input": "POST / HTTP/1.1\nHost: iss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateRecordPlan\n<公共请求参数>\n\n{\n \"PlanId\": \"88ac5ea6c1f**********24671d0f94f\",\n \"Mod\": {\n \"Add\": [\n {\n \"DeviceId\": \"9ee325e9984**********a805c19b4e1\",\n \"ChannelId\": \"48676e89a8c**********baa36220fa4\"\n }\n ]\n }\n}", - "output": "{\n \"Response\": {\n \"Data\": {\n \"PlanId\": \"88ac5ea6c1f**********24671d0f94f\",\n \"PlanName\": \"name\",\n \"TemplateId\": \"48676e89a8c**********baa36220fa4\",\n \"Describe\": \"\",\n \"StreamType\": \"main\",\n \"LifeCycle\": {\n \"Transition\": 1,\n \"Expiration\": 60\n }\n },\n \"RequestId\": \"fba7981b-d6a4-4177-b11d-e53a6110e4cd\"\n }\n}", + "output": "{\n \"Response\": {\n \"Data\": {\n \"PlanId\": \"88ac5ea6c1f**********24671d0f94f\",\n \"PlanName\": \"name\",\n \"TemplateId\": \"48676e89a8c**********baa36220fa4\",\n \"Describe\": \"\",\n \"RepairMode\": 0,\n \"StreamType\": \"main\",\n \"LifeCycle\": {\n \"Transition\": 1,\n \"Expiration\": 60\n }\n },\n \"RequestId\": \"fba7981b-d6a4-4177-b11d-e53a6110e4cd\"\n }\n}", "title": "增加计划通道" }, { "document": " ", "input": "POST / HTTP/1.1\nHost: iss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateRecordPlan\n<公共请求参数>\n\n{\n \"PlanId\": \"88ac5ea6c1f**********24671d0f94f\",\n \"Mod\": {\n \"LifeCycle\": {\n \"Transition\": 7,\n \"Expiration\": 80\n }\n }\n}", - "output": "{\n \"Response\": {\n \"Data\": {\n \"PlanId\": \"88ac5ea6c1f**********24671d0f94f\",\n \"PlanName\": \"name\",\n \"TemplateId\": \"48676e89a8c**********baa36220fa4\",\n \"Describe\": \"\",\n \"StreamType\": \"main\",\n \"LifeCycle\": {\n \"Transition\": 7,\n \"Expiration\": 80\n }\n },\n \"RequestId\": \"fba7981b-d6a4-4177-b11d-e53a6110e4cd\"\n }\n}", + "output": "{\n \"Response\": {\n \"Data\": {\n \"PlanId\": \"88ac5ea6c1f**********24671d0f94f\",\n \"PlanName\": \"name\",\n \"TemplateId\": \"48676e89a8c**********baa36220fa4\",\n \"Describe\": \"\",\n \"RepairMode\": 0,\n \"StreamType\": \"main\",\n \"LifeCycle\": {\n \"Transition\": 7,\n \"Expiration\": 80\n }\n },\n \"RequestId\": \"fba7981b-d6a4-4177-b11d-e53a6110e4cd\"\n }\n}", "title": "修改计划生命周期" + }, + { + "document": "", + "input": "POST / HTTP/1.1\nHost: iss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateRecordPlan\n<公共请求参数>\n\n{\n \"PlanId\": \"88ac5ea6c1f**********24671d0f94f\",\n \"Mod\": {\n \"RepairMode\": 1\n }\n}", + "output": "{\n \"Response\": {\n \"Data\": {\n \"PlanId\": \"88ac5ea6c1f**********24671d0f94f\",\n \"PlanName\": \"name\",\n \"TemplateId\": \"48676e89a8c**********baa36220fa4\",\n \"Describe\": \"\",\n \"RepairMode\": 1,\n \"StreamType\": \"main\",\n \"LifeCycle\": {\n \"Transition\": 7,\n \"Expiration\": 80\n }\n },\n \"RequestId\": \"fba7981b-d6a4-4177-b11d-e53a6110e4cd\"\n }\n}", + "title": "修改录像补录模式" } ], "UpdateRecordTemplate": [ diff --git a/tccli/services/redis/v20180412/api.json b/tccli/services/redis/v20180412/api.json index 012e628aa..8bd001d6e 100644 --- a/tccli/services/redis/v20180412/api.json +++ b/tccli/services/redis/v20180412/api.json @@ -526,9 +526,9 @@ "status": "online" }, "ModfiyInstancePassword": { - "document": "本接口(ModfiyInstancePassword)用于修改实例访问密码。", + "document": "本接口(ModfiyInstancePassword)用于修改实例访问密码。鉴于该接口名存在拼写错误,现已更正为([ModifyInstancePassword](https://cloud.tencent.com/document/product/239/111555))接口,推荐使用更正后的接口。", "input": "ModfiyInstancePasswordRequest", - "name": "修改Redis密码(请使用最新的ModifyInstancePassword接口)", + "name": "修改实例访问密码", "output": "ModfiyInstancePasswordResponse", "status": "online" }, diff --git a/tccli/services/sms/v20210111/api.json b/tccli/services/sms/v20210111/api.json index 4609528eb..a7c8e180d 100644 --- a/tccli/services/sms/v20210111/api.json +++ b/tccli/services/sms/v20210111/api.json @@ -1656,8 +1656,8 @@ }, { "disabled": false, - "document": "发送短信返回的流水号。", - "example": "5000:1045710669157053657849499619", + "document": "发送短信返回的流水号。对应SendSms接口返回的SendStatusSet参数中的SerialNo字段。 ", + "example": "a12gb4e2-sd11-5dx6-aav9-8f3d97xa2xu7", "member": "string", "name": "SerialNo", "required": true, @@ -1681,7 +1681,7 @@ { "disabled": false, "document": "转化率上报响应包体。", - "example": "{\"Code\":\"ok\", \"Message\":\"report success\"}", + "example": "{\"Code\":\"OK\", \"Message\":\"success\"}", "member": "ReportConversionStatus", "name": "ReportConversionStatus", "output_required": true, diff --git a/tccli/services/sms/v20210111/examples.json b/tccli/services/sms/v20210111/examples.json index 427c10d99..6e94f49c4 100644 --- a/tccli/services/sms/v20210111/examples.json +++ b/tccli/services/sms/v20210111/examples.json @@ -100,7 +100,7 @@ { "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 },\n {\n \"Description\": \"DELIVRD\",\n \"CountryCode\": \"86\",\n \"SubscriberNumber\": \"15291990001\",\n \"ReportStatus\": \"SUCCESS\",\n \"PhoneNumber\": \"+8615291990001\",\n \"SerialNo\": \"14:19325917feb3914eb78b50d6182d7e462f\",\n \"UserReceiveTime\": 1620734188\n }\n ],\n \"RequestId\": \"8979fc1e-9564-4fc9-bf7d-2958ce679b72\"\n }\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}", "title": "请求示例" } ], @@ -108,7 +108,7 @@ { "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 },\n {\n \"Description\": \"DELIVRD\",\n \"CountryCode\": \"86\",\n \"SubscriberNumber\": \"15291996666\",\n \"ReportStatus\": \"SUCCESS\",\n \"PhoneNumber\": \"+8615291996666\",\n \"SerialNo\": \"14:19325917feb3914eb78b50d6182d7e456f\",\n \"UserReceiveTime\": 1620734188\n }\n ],\n \"RequestId\": \"8979fc1e-9564-4fc9-bf7d-2958ce679b72\"\n }\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}", "title": "请求示例" } ], diff --git a/tccli/services/sqlserver/v20180328/api.json b/tccli/services/sqlserver/v20180328/api.json index 3158463d9..40c802850 100644 --- a/tccli/services/sqlserver/v20180328/api.json +++ b/tccli/services/sqlserver/v20180328/api.json @@ -10701,6 +10701,15 @@ "name": "OrderByType", "required": false, "type": "string" + }, + { + "disabled": false, + "document": "回档异步任务ID", + "example": "0", + "member": "int64", + "name": "FlowId", + "required": false, + "type": "int" } ], "type": "object" @@ -10714,6 +10723,7 @@ "example": "1", "member": "int64", "name": "TotalCount", + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -10723,6 +10733,7 @@ "example": "无", "member": "RestoreTask", "name": "Tasks", + "output_required": true, "type": "list", "value_allowed_null": false }, @@ -16279,7 +16290,7 @@ "example": "mssql-8932uijww", "member": "string", "name": "TargetInstanceId", - "required": false, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -16289,7 +16300,7 @@ "example": "mssql-890oiioew", "member": "string", "name": "TargetInstanceName", - "required": false, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -16299,7 +16310,7 @@ "example": "2", "member": "int64", "name": "TargetInstanceStatus", - "required": false, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -16309,7 +16320,7 @@ "example": "ap-shanghai", "member": "string", "name": "TargetRegion", - "required": false, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -16319,7 +16330,7 @@ "example": "2090292", "member": "int64", "name": "RestoreId", - "required": false, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -16329,7 +16340,7 @@ "example": "1", "member": "int64", "name": "TargetType", - "required": false, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -16339,7 +16350,7 @@ "example": "1", "member": "int64", "name": "RestoreType", - "required": false, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -16349,7 +16360,7 @@ "example": "2023-01-01 12:00:00", "member": "string", "name": "RestoreTime", - "required": false, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -16359,7 +16370,7 @@ "example": "2023-01-01 12:00:00", "member": "string", "name": "StartTime", - "required": false, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -16369,7 +16380,7 @@ "example": "2023-01-02 12:00:00", "member": "string", "name": "EndTime", - "required": false, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -16379,7 +16390,17 @@ "example": "2", "member": "int64", "name": "Status", - "required": false, + "output_required": true, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "回档异步任务ID", + "example": "0", + "member": "int64", + "name": "FlowId", + "output_required": true, "type": "int", "value_allowed_null": false } diff --git a/tccli/services/sqlserver/v20180328/examples.json b/tccli/services/sqlserver/v20180328/examples.json index 32b76732b..a34969ab5 100644 --- a/tccli/services/sqlserver/v20180328/examples.json +++ b/tccli/services/sqlserver/v20180328/examples.json @@ -684,7 +684,7 @@ { "document": "查询回档任务列表", "input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRestoreTask\n<公共请求参数>\n\n{\n \"InstanceId\": \"mssql-aju981jo\",\n \"RestoreType\": 0,\n \"TargetRegion\": \"ap-shanghai\",\n \"TargetType\": 2,\n \"Status\": 1,\n \"StartTime\": \"2023-04-12: 00:00:00\",\n \"EndTime\": \"2023-04-12: 00:00:00\",\n \"Offset\": 0,\n \"Limit\": 10,\n \"OrderBy\": \"startTime\",\n \"OrderByType\": \"desc\"\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"88310080-925d-11ed-981b-c7bf72df626c\",\n \"Tasks\": [\n {\n \"TargetInstanceId\": \"mssql-892932uiu\",\n \"TargetInstanceName\": \"test\",\n \"TargetInstanceStatus\": 2,\n \"TargetRegion\": \"ap-guangzhou\",\n \"TargetType\": 0,\n \"EndTime\": \"0000-00-00 00:00:00\",\n \"RestoreId\": 1012,\n \"RestoreTime\": \"2023-01-12 16:22:48\",\n \"RestoreType\": 0,\n \"StartTime\": \"2023-01-12 16:22:55\",\n \"Status\": 0\n }\n ],\n \"TotalCount\": 1\n }\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"88310080-925d-11ed-981b-c7bf72df626c\",\n \"Tasks\": [\n {\n \"TargetInstanceId\": \"mssql-892932uiu\",\n \"TargetInstanceName\": \"test\",\n \"TargetInstanceStatus\": 2,\n \"TargetRegion\": \"ap-guangzhou\",\n \"TargetType\": 0,\n \"EndTime\": \"0000-00-00 00:00:00\",\n \"RestoreId\": 1012,\n \"RestoreTime\": \"2023-01-12 16:22:48\",\n \"RestoreType\": 0,\n \"StartTime\": \"2023-01-12 16:22:55\",\n \"Status\": 0,\n \"FlowId\": 100\n }\n ],\n \"TotalCount\": 1\n }\n}", "title": "查询回档任务列表" } ], diff --git a/tccli/services/sts/v20180813/api.json b/tccli/services/sts/v20180813/api.json index a347b1e63..593bf571e 100644 --- a/tccli/services/sts/v20180813/api.json +++ b/tccli/services/sts/v20180813/api.json @@ -56,30 +56,30 @@ { "disabled": false, "document": "密钥ID", - "example": "", + "example": "无", "member": "string", "name": "SecretId", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, "document": "创建时间(时间戳)", - "example": "", + "example": "无", "member": "uint64", "name": "CreateTime", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "状态(2:有效, 3:禁用, 4:已删除)", - "example": "", + "example": "无", "member": "uint64", "name": "Status", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false } @@ -555,8 +555,8 @@ "members": [ { "disabled": false, - "document": "待查询的账号(不填默认查当前账号)", - "example": "", + "document": "待查询的账号uin(不填默认查当前账号uin)", + "example": "100020328651", "member": "uint64", "name": "TargetUin", "required": false, @@ -570,10 +570,11 @@ "members": [ { "disabled": false, - "document": "密钥ID列表", - "example": "", + "document": "密钥ID列表。", + "example": "[\"AKIDyqWzF***\",\"AKID5CnA***\"]", "member": "ApiKey", "name": "IdKeys", + "output_required": true, "type": "list", "value_allowed_null": false }, diff --git a/tccli/services/sts/v20180813/examples.json b/tccli/services/sts/v20180813/examples.json index c768e9b8a..f9d5cca95 100644 --- a/tccli/services/sts/v20180813/examples.json +++ b/tccli/services/sts/v20180813/examples.json @@ -55,8 +55,8 @@ "QueryApiKey": [ { "document": "", - "input": "https://sts.tencentcloudapi.com/?Action=QueryApiKey\r\n&TargetUin=123456\r\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"RequestId\": \"\"\n }\n}", + "input": "https://sts.tencentcloudapi.com/?Action=QueryApiKey\n&TargetUin=100020328651\n&<公共请求参数>", + "output": "{\n \"Response\": {\n \"IdKeys\": [\n {\n \"SecretId\": \"AKID5Cn***\",\n \"CreateTime\": 1575517111,\n \"Status\": 2\n }\n ],\n \"RequestId\": \"5cf9d558-a46a-4ce7-bbc2-500cad68b0da\"\n }\n}", "title": "拉取API密钥列表" } ] diff --git a/tccli/services/tcss/v20201101/api.json b/tccli/services/tcss/v20201101/api.json index b430df681..8c3e8b2a0 100644 --- a/tccli/services/tcss/v20201101/api.json +++ b/tccli/services/tcss/v20201101/api.json @@ -19973,6 +19973,15 @@ "name": "Query", "required": true, "type": "string" + }, + { + "disabled": false, + "document": "日志类型列表", + "example": "无", + "member": "string", + "name": "LogTypes", + "required": false, + "type": "list" } ], "type": "object" @@ -19986,7 +19995,7 @@ "example": "xxx", "member": "string", "name": "Data", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -20028,6 +20037,15 @@ "name": "Limit", "required": false, "type": "int" + }, + { + "disabled": false, + "document": "日志类型列表", + "example": "无", + "member": "string", + "name": "LogTypes", + "required": false, + "type": "list" } ], "type": "object" @@ -20041,7 +20059,7 @@ "example": "xxx", "member": "string", "name": "Data", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -25423,6 +25441,15 @@ "name": "Query", "required": true, "type": "string" + }, + { + "disabled": false, + "document": "日志类型列表", + "example": "无", + "member": "string", + "name": "LogTypes", + "required": false, + "type": "list" } ], "type": "object" @@ -25436,7 +25463,7 @@ "example": "\"\"", "member": "string", "name": "JobId", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -25929,6 +25956,7 @@ "example": "10", "member": "uint64", "name": "TotalCount", + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -25938,9 +25966,40 @@ "example": "无", "member": "SecLogJoinObjectInfo", "name": "List", + "output_required": true, "type": "list", "value_allowed_null": false }, + { + "disabled": false, + "document": "日志节点范围类型,0自选 1全部", + "example": "0", + "member": "int64", + "name": "RangeType", + "output_required": false, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "新增资产是否自动加入,节点范围为全部时生效", + "example": "true", + "member": "bool", + "name": "AutoJoin", + "output_required": false, + "type": "bool", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "剔除节点数", + "example": "0", + "member": "uint64", + "name": "ExcludedCount", + "output_required": false, + "type": "int", + "value_allowed_null": false + }, { "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", "member": "string", @@ -35776,7 +35835,7 @@ }, { "disabled": false, - "document": "绑定主机quuid列表", + "document": "绑定列表", "example": "[]", "member": "string", "name": "BindList", @@ -35785,7 +35844,7 @@ }, { "disabled": false, - "document": "待解绑主机quuid列表", + "document": "待解绑列表,节点范围为全部时,含义为需剔除资产列表", "example": "[]", "member": "string", "name": "UnBindList", @@ -35800,6 +35859,24 @@ "name": "NodeType", "required": false, "type": "string" + }, + { + "disabled": false, + "document": "日志节点范围类型,0自选 1全部", + "example": "0", + "member": "int64", + "name": "RangeType", + "required": false, + "type": "int" + }, + { + "disabled": false, + "document": "新增资产是否自动加入,节点范围为全部时生效", + "example": "true", + "member": "bool", + "name": "AutoJoin", + "required": false, + "type": "bool" } ], "type": "object" @@ -40090,7 +40167,7 @@ "example": "10", "member": "uint64", "name": "Count", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -40100,7 +40177,7 @@ "example": "10", "member": "uint64", "name": "SuperNodeCount", - "required": false, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -40110,7 +40187,7 @@ "example": "true", "member": "bool", "name": "IsJoined", - "required": true, + "output_required": true, "type": "bool", "value_allowed_null": false }, @@ -40120,9 +40197,19 @@ "example": "xxx", "member": "string", "name": "LogType", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false + }, + { + "disabled": false, + "document": "已接入集群数量", + "example": "1", + "member": "uint64", + "name": "ClusterCount", + "output_required": false, + "type": "int", + "value_allowed_null": false } ], "usage": "out" @@ -40136,7 +40223,7 @@ "example": "xxx", "member": "string", "name": "HostID", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -40146,7 +40233,7 @@ "example": "xxx", "member": "string", "name": "HostName", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -40156,7 +40243,7 @@ "example": "xxx", "member": "string", "name": "HostIP", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -40166,7 +40253,7 @@ "example": "xxx", "member": "string", "name": "HostStatus", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -40176,7 +40263,7 @@ "example": "xxx", "member": "string", "name": "ClusterID", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -40186,7 +40273,7 @@ "example": "xxx", "member": "string", "name": "ClusterName", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -40196,7 +40283,7 @@ "example": "xxx", "member": "string", "name": "PublicIP", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -40206,7 +40293,7 @@ "example": "true", "member": "bool", "name": "JoinState", - "required": true, + "output_required": true, "type": "bool", "value_allowed_null": false }, @@ -40216,7 +40303,7 @@ "example": "xxx", "member": "string", "name": "ClusterVersion", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -40226,9 +40313,39 @@ "example": "xxx", "member": "string", "name": "ClusterMainAddress", - "required": true, + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "容器数", + "example": "0", + "member": "uint64", + "name": "ContainerCnt", + "output_required": false, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "集群类型", + "example": "无", + "member": "string", + "name": "ClusterType", + "output_required": false, "type": "string", "value_allowed_null": false + }, + { + "disabled": false, + "document": "集群状态\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "string", + "name": "ClusterStatus", + "output_required": false, + "type": "string", + "value_allowed_null": true } ], "usage": "out" diff --git a/tccli/services/teo/v20220901/api.json b/tccli/services/teo/v20220901/api.json index ec8a6593b..990210779 100644 --- a/tccli/services/teo/v20220901/api.json +++ b/tccli/services/teo/v20220901/api.json @@ -533,30 +533,30 @@ "status": "online" }, "DescribeTimingL7AnalysisData": { - "document": "本接口(DescribeTimingL7AnalysisData)查询七层数据分析类时序数据。", + "document": "本接口查询七层域名业务的时序数据。请注意本接口查询数据有 10 分钟左右延迟,建议拉取当前时间 10 分钟以前的数据。", "input": "DescribeTimingL7AnalysisDataRequest", "name": "查询流量分析时序数据", "output": "DescribeTimingL7AnalysisDataResponse", "status": "online" }, "DescribeTimingL7CacheData": { - "document": "本接口(DescribeTimingL7CacheData)用于查询七层缓存分析时序类流量数据。", + "document": "本接口用于查询七层缓存分析时序类流量数据。此接口待废弃,请使用 DescribeTimingL7AnalysisData 接口。", "input": "DescribeTimingL7CacheDataRequest", - "name": "查询缓存分析时序数据", + "name": "查询缓存分析时序数据(待废弃)", "output": "DescribeTimingL7CacheDataResponse", "status": "online" }, "DescribeTopL7AnalysisData": { - "document": "本接口(DescribeTopL7AnalysisData)用于查询七层流量前topN的数据。", + "document": "本接口用于查询七层域名业务按照指定维度的 topN 数据。请注意本接口查询数据有 10 分钟左右延迟,建议拉取当前时间 10 分钟以前的数据。", "input": "DescribeTopL7AnalysisDataRequest", "name": "查询流量分析Top数据", "output": "DescribeTopL7AnalysisDataResponse", "status": "online" }, "DescribeTopL7CacheData": { - "document": "本接口(DescribeTopL7CacheData)用于查询七层缓存分析topN流量数据。", + "document": "本接口用于查询七层缓存分析 topN 数据。此接口待废弃,请使用 DescribeTopL7AnalysisData 接口。", "input": "DescribeTopL7CacheDataRequest", - "name": "查询缓存分析Top数据", + "name": "查询缓存分析Top数据(待废弃)", "output": "DescribeTopL7CacheDataResponse", "status": "online" }, @@ -8652,8 +8652,8 @@ }, { "disabled": false, - "document": "指标列表,取值有:\n
  • l7Flow_outFlux: Edgeone 响应流量;
  • \n
  • l7Flow_inFlux: Edgeone 请求流量;
  • \n
  • l7Flow_outBandwidth: Edgeone 响应带宽;
  • \n
  • l7Flow_inBandwidth:Edgeone 请求带宽;
  • \n
  • l7Flow_request: 访问请求数;
  • \n
  • l7Flow_flux: 访问请求上行+下行流量;
  • \n
  • l7Flow_bandwidth:访问请求上行+下行带宽。
  • ", - "example": "l7Flow_flow", + "document": "指标列表,取值有:\n
  • l7Flow_outFlux: L7 EdgeOne 响应流量;
  • \n
  • l7Flow_inFlux: L7 客户端请求流量;
  • \n
  • l7Flow_flux: L7 访问总流量(EdgeOne 响应+客户端请求);
  • \n
  • l7Flow_outBandwidth: L7 EdgeOne 响应带宽;
  • \n
  • l7Flow_inBandwidth:L7 客户端请求带宽;
  • \n
  • l7Flow_bandwidth:L7 访问总带宽(EdgeOne 响应+客户端请求);
  • \n
  • l7Flow_request: L7 访问请求数。
  • ", + "example": "l7Flow_outFlux", "member": "string", "name": "MetricNames", "required": true, @@ -8661,8 +8661,8 @@ }, { "disabled": false, - "document": "站点 ID 集合, 此参数必填。", - "example": "[\"zone-2ju9lrnpaxol\"]", + "document": "站点 ID 集合,此参数必填。", + "example": "zone-2ju9lrnpaxol", "member": "string", "name": "ZoneIds", "required": false, @@ -8670,7 +8670,7 @@ }, { "disabled": false, - "document": "查询时间粒度,取值有:\n
  • min: 1分钟;
  • \n
  • 5min: 5分钟;
  • \n
  • hour: 1小时;
  • \n
  • day: 1天。
  • 不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:1小时范围内以min粒度查询,2天范围内以5min粒度查询,7天范围内以hour粒度查询,超过7天以day粒度查询。", + "document": "查询时间粒度,取值有:\n
  • min: 1分钟;
  • \n
  • 5min: 5分钟;
  • \n
  • hour: 1小时;
  • \n
  • day: 1天。
  • 不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:2 小时范围内以 min 粒度查询,2 天范围内以 5min 粒度查询,7 天范围内以 hour 粒度查询,超过 7 天以 day 粒度查询。", "example": "hour", "member": "string", "name": "Interval", @@ -8679,7 +8679,7 @@ }, { "disabled": false, - "document": "过滤条件,详细的过滤条件Key值如下:\n
  • country
       按照【国家/地区】进行过滤,国家/地区遵循 ISO 3166 规范。
  • \n
  • province
       按照【省份】进行过滤,此参数只支持服务区域为中国大陆。
  • \n
  • isp
       按照【运营商】进行过滤,此参数只支持服务区域为中国大陆。
       对应的Value可选项如下:
       2:中国电信;
       26:中国联通;
       1046:中国移动;
       3947:中国铁通;
       38:教育网;
       43:长城宽带;
       0:其他运营商。
  • \n
  • domain
       按照【子域名】进行过滤,子域名形如: test.example.com。
  • \n
  • url
       按照【URL Path】进行过滤,URL Path形如:/content或/content/test.jpg。
       若只填写url参数,则最多可查询近30天的数据;
       若同时填写url+Zonelds参数,则支持的查询数据范围为套餐支持的数据分析最大查询范围与30天两者中的较小值。
  • \n
  • referer
       按照【Referer头信息】进行过滤, Referer形如:example.com。
       若只填写referer参数,则最多可查询近30天的数据;
       若同时填写referer+Zonelds参数,则支持的查询数据范围为套餐支持的数据分析最大查询范围与30天两者中的较小值。
  • \n
  • resourceType
       按照【资源类型】进行过滤,资源类型一般是文件后缀,形如: .jpg, .css。
       若只填写resourceType参数,则最多可查询近30天的数据;
       若同时填写resourceType+Zonelds参数,则支持的查询数据范围为套餐支持的数据分析最大查询范围与30天两者中的较小值。
  • \n
  • protocol
       按照【HTTP协议版本】进行过滤。
       对应的Value可选项如下:
       HTTP/1.0:HTTP 1.0;
       HTTP/1.1:HTTP 1.1;
       HTTP/2.0:HTTP 2.0;
       HTTP/3.0:HTTP 3.0;
       WebSocket:WebSocket。
  • \n
  • socket
       按照【HTTP协议类型】进行过滤。
       对应的Value可选项如下:
       HTTP:HTTP 协议;
       HTTPS:HTTPS协议;
       QUIC:QUIC协议。
  • \n
  • statusCode
       按照【状态码】进行过滤。
       若只填写statusCode参数,则最多可查询近30天的数据;
       若同时填写statusCode+Zonelds参数,则支持的查询数据范围为套餐支持的数据分析最大查询范围与30天两者中的较小值。
       对应的Value可选项如下:
       1XX:1xx类型的状态码;
       100:100状态码;
       101:101状态码;
       102:102状态码;
       2XX:2xx类型的状态码;
       200:200状态码;
       201:201状态码;
       202:202状态码;
       203:203状态码;
       204:204状态码;
       205:205状态码;
       206:206状态码;
       207:207状态码;
       3XX:3xx类型的状态码;
       300:300状态码;
       301:301状态码;
       302:302状态码;
       303:303状态码;
       304:304状态码;
       305:305状态码;
       307:307状态码;
       4XX:4xx类型的状态码;
       400:400状态码;
       401:401状态码;
       402:402状态码;
       403:403状态码;
       404:404状态码;
       405:405状态码;
       406:406状态码;
       407:407状态码;
       408:408状态码;
       409:409状态码;
       410:410状态码;
       411:411状态码;
       412:412状态码;
       412:413状态码;
       414:414状态码;
       415:415状态码;
       416:416状态码;
       417:417状态码;
       422:422状态码;
       423:423状态码;
       424:424状态码;
       426:426状态码;
       451:451状态码;
       5XX:5xx类型的状态码;
       500:500状态码;
       501:501状态码;
       502:502状态码;
       503:503状态码;
       504:504状态码;
       505:505状态码;
       506:506状态码;
       507:507状态码;
       510:510状态码;
       514:514状态码;
       544:544状态码。
  • \n
  • browserType
       按照【浏览器类型】进行过滤。
       若只填写browserType参数,则最多可查询近30天的数据;
       若同时填写browserType+Zonelds参数,则支持的查询数据范围为套餐支持的数据分析最大查询范围与30天两者中的较小值。
       对应Value的可选项如下:
       Firefox:Firefox浏览器;
       Chrome:Chrome浏览器;
       Safari:Safari浏览器;
       Other:其他浏览器类型;
       Empty:浏览器类型为空;
       Bot:搜索引擎爬虫;
       MicrosoftEdge:MicrosoftEdge浏览器;
       IE:IE浏览器;
       Opera:Opera浏览器;
       QQBrowser:QQ浏览器;
       LBBrowser:LB浏览器;
       MaxthonBrowser:Maxthon浏览器;
       SouGouBrowser:搜狗浏览器;
       BIDUBrowser:百度浏览器;
       TaoBrowser:淘浏览器;
       UBrowser:UC浏览器。
  • \n
  • deviceType
       按照【设备类型】进行过滤。
       若只填写deviceType参数,则最多可查询近30天的数据;
       若同时填写deviceType+Zonelds参数,则支持的查询数据范围为套餐支持的数据分析最大查询范围与30天两者中的较小值。
       对应Value的可选项如下:
       TV:TV设备;
       Tablet:Tablet设备;
       Mobile:Mobile设备;
       Desktop:Desktop设备;
       Other:其他设备类型;
       Empty:设备类型为空。
  • \n
  • operatingSystemType
       按照【操作系统类型】进行过滤。
       若只填写operatingSystemType参数,则最多可查询近30天的数据;
       若同时填写operatingSystemType+Zonelds参数,则支持的查询数据范围为套餐支持的数据分析最大查询范围与30天两者中的较小值。
       对应Value的可选项如下:
       Linux:Linux操作系统;
       MacOS:MacOs操作系统;
       Android:Android操作系统;
       IOS:IOS操作系统;
       Windows:Windows操作系统;
       NetBSD:NetBSD;
       ChromiumOS:ChromiumOS;
       Bot:搜索引擎爬虫;
       Other:其他类型的操作系统;
       Empty:操作系统为空。
  • \n
  • tlsVersion
       按照【TLS版本】进行过滤。
       若只填写tlsVersion参数,则最多可查询近30天的数据;
       若同时填写tlsVersion+Zonelds参数,则支持的查询数据范围为套餐支持的数据分析最大查询范围与30天两者中的较小值。
       对应Value的可选项如下:
       TLS1.0:TLS 1.0;
       TLS1.1:TLS 1.1;
       TLS1.2:TLS 1.2;
       TLS1.3:TLS 1.3。
  • \n
  • ipVersion
       按照【IP版本】进行过滤。
       对应Value的可选项如下:
       4:Ipv4;
       6:Ipv6。
  • \n
  • tagKey
       按照【标签Key】进行过滤。
  • \n
  • tagValue
       按照【标签Value】进行过滤。
  • ", + "document": "过滤条件,详细的过滤条件 Key 值如下:\n
  • country:按照国家/地区进行过滤,国家/地区遵循 ISO 3166-1 alpha-2 规范。示例值:CN。
  • \n
  • province:按照省份进行过滤,此参数只支持服务区域为中国大陆。省份代码参考境内省份映射表,示例值:22。
  • \n
  • isp:按照运营商进行过滤,此参数只支持服务区域为中国大陆。对应的 Value 可选项如下:
       2:中国电信;
       26:中国联通;
       1046:中国移动;
       3947:中国铁通;
       38:教育网;
       43:长城宽带;
       0:其他运营商。
  • \n
  • domain:按照子域名进行过滤,示例值: www.example.com。
  • \n
  • url:按照 URL Path 进行过滤,示例值:/content 或 /content/test.jpg。若填写 url 参数,则最多可查询近 30 天的数据。
  • \n
  • referer:按照 Referer 请求头部进行过滤,示例值:http://www.example.com/。若填写 referer 参数,则最多可查询近 30 天的数据;
  • \n
  • resourceType:按照资源类型进行过滤,资源类型一般是文件后缀,示例值:.jpg。若填写 resourceType 参数,则最多可查询近 30 天的数据;
  • \n
  • protocol:按照 HTTP 协议版本进行过滤。对应的 Value 可选项如下:
       HTTP/1.0;
       HTTP/1.1;
       HTTP/2.0;
       HTTP/3;
       WebSocket。
  • \n
  • socket:按照 HTTP协议类型进行过滤。对应的 Value 可选项如下:
       HTTP:HTTP 协议;
       HTTPS:HTTPS 协议;
       QUIC:QUIC 协议。
  • \n
  • statusCode:按照边缘状态码进行过滤。若填写 statusCode 参数,则最多可查询近 30 天的数据。对应的 Value 可选项如下:
       1XX:1xx类型的状态码;
       2XX:2xx类型的状态码;
       3XX:3xx类型的状态码;
       4XX:4xx类型的状态码;
       5XX:5xx类型的状态码;
       在 [0,600) 范围内的整数。
  • \n
  • browserType:按照浏览器类型进行过滤。若填写 browserType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:
       Firefox:Firefox浏览器;
       Chrome:Chrome浏览器;
       Safari:Safari浏览器;
       Other:其他浏览器类型;
       Empty:浏览器类型为空;
       Bot:搜索引擎爬虫;
       MicrosoftEdge:MicrosoftEdge浏览器;
       IE:IE浏览器;
       Opera:Opera浏览器;
       QQBrowser:QQ浏览器;
       LBBrowser:LB浏览器;
       MaxthonBrowser:Maxthon浏览器;
       SouGouBrowser:搜狗浏览器;
       BIDUBrowser:百度浏览器;
       TaoBrowser:淘浏览器;
       UBrowser:UC浏览器。
  • \n
  • deviceType:按照设备类型进行过滤。若填写 deviceType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:
       TV:TV设备;
       Tablet:Tablet设备;
       Mobile:Mobile设备;
       Desktop:Desktop设备;
       Other:其他设备类型;
       Empty:设备类型为空。
  • \n
  • operatingSystemType:按照操作系统类型进行过滤。若填写 operatingSystemType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:
       Linux:Linux操作系统;
       MacOS:MacOs操作系统;
       Android:Android操作系统;
       IOS:IOS操作系统;
       Windows:Windows操作系统;
       NetBSD:NetBSD;
       ChromiumOS:ChromiumOS;
       Bot:搜索引擎爬虫;
       Other:其他类型的操作系统;
       Empty:操作系统为空。
  • \n
  • tlsVersion:按照 TLS 版本进行过滤。若填写 tlsVersion 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:
       TLS1.0;
       TLS1.1;
       TLS1.2;
       TLS1.3。
  • \n
  • ipVersion:按照 IP 版本进行过滤。对应 Value 的可选项如下:
       4:IPv4;
       6:IPv6。
  • \n
  • cacheType:按照缓存状态进行过滤。对应 Value 的可选项如下:
       hit:请求命中 EdgeOne 节点缓存,资源由节点缓存提供。资源部分命中缓存也会记录为 hit。
       miss:请求未命中 EdgeOne 节点缓存,资源由源站提供。
       dynamic:请求的资源无法缓存/未配置被节点缓存,资源由源站提供。
       other:无法被识别的缓存状态。边缘函数响应的请求会记录为 other。
  • \n
  • clientIp:按照客户端 IP 进行过滤。
  • ", "example": "无", "member": "QueryCondition", "name": "Filters", @@ -8688,7 +8688,7 @@ }, { "disabled": false, - "document": "数据归属地区,取值有:\n
  • overseas:全球(除中国大陆地区)数据;
  • \n
  • mainland:中国大陆地区数据;
  • \n
  • global:全球数据。
  • 不填默认取值为global。", + "document": "数据归属地区,取值有:\n
  • overseas:全球(除中国大陆地区)数据;
  • \n
  • mainland:中国大陆地区数据;
  • \n
  • global:全球数据。
  • \n不填默认取值为 global。", "example": "mainland", "member": "string", "name": "Area", @@ -8854,8 +8854,8 @@ }, { "disabled": false, - "document": "查询的指标,取值有:\n
  • l7Flow_outFlux_country:按国家/地区维度统计流量指标;
  • \n
  • l7Flow_outFlux_statusCode:按状态码维度统计流量指标;
  • \n
  • l7Flow_outFlux_domain:按域名维度统计流量指标;
  • \n
  • l7Flow_outFlux_url:按URL维度统计流量指标;
  • \n
  • l7Flow_outFlux_resourceType:按资源类型维度统计流量指标;
  • \n
  • l7Flow_outFlux_sip:按客户端的源IP维度统计流量指标;
  • \n
  • l7Flow_outFlux_referers:按refer信息维度统计流量指标;
  • \n
  • l7Flow_outFlux_ua_device:按设备类型维度统计流量指标;
  • \n
  • l7Flow_outFlux_ua_browser:按浏览器类型维度统计流量指标;
  • \n
  • l7Flow_outFlux_us_os:按操作系统类型维度统计流量指标;
  • \n
  • l7Flow_request_country:按国家/地区维度统计请求数指标;
  • \n
  • l7Flow_request_statusCode:按状态码维度统计请求数指标;
  • \n
  • l7Flow_request_domain:按域名维度统计请求数指标;
  • \n
  • l7Flow_request_url:按URL维度统计请求数指标;
  • \n
  • l7Flow_request_resourceType:按资源类型维度统计请求数指标;
  • \n
  • l7Flow_request_sip:按客户端的源IP维度统计请求数指标;
  • \n
  • l7Flow_request_referer:按refer信息维度统计请求数指标;
  • \n
  • l7Flow_request_ua_device:按设备类型维度统计请求数指标;
  • \n
  • l7Flow_request_ua_browser:按浏览器类型维度统计请求数指标;
  • \n
  • l7Flow_request_us_os:按操作系统类型维度统计请求数指标。
  • \n", - "example": "l7Flow_flow", + "document": "查询的指标,取值有:\n
  • l7Flow_outFlux_country:按国家/地区维度统计 L7 EdgeOne 响应流量指标;
  • \n
  • l7Flow_outFlux_province:按中国大陆境内省份维度统计 L7 EdgeOne 响应流量指标;
  • \n
  • l7Flow_outFlux_statusCode:按状态码维度统计 L7 EdgeOne 响应流量指标;
  • \n
  • l7Flow_outFlux_domain:按域名维度统计 L7 EdgeOne 响应流量指标;
  • \n
  • l7Flow_outFlux_url:按 URL Path 维度统计 L7 EdgeOne 响应流量指标;
  • \n
  • l7Flow_outFlux_resourceType:按资源类型维度统计 L7 EdgeOne 响应流量指标;
  • \n
  • l7Flow_outFlux_sip:按客户端 IP 维度统计 L7 EdgeOne 响应流量指标;
  • \n
  • l7Flow_outFlux_referers:按 Referer 维度统计 L7 EdgeOne 响应流量指标;
  • \n
  • l7Flow_outFlux_ua_device:按设备类型维度统计 L7 EdgeOne 响应流量指标;
  • \n
  • l7Flow_outFlux_ua_browser:按浏览器类型维度统计 L7 EdgeOne 响应流量指标;
  • \n
  • l7Flow_outFlux_us_os:按操作系统类型维度统计 L7 EdgeOne 响应流量指标;
  • \n
  • l7Flow_request_country:按国家/地区维度统计 L7 访问请求数指标;
  • \n
  • l7Flow_request_province:按中国大陆境内省份维度统计 L7 访问请求数指标;
  • \n
  • l7Flow_request_statusCode:按状态码维度统计 L7 访问请求数指标;
  • \n
  • l7Flow_request_domain:按域名维度统计 L7 访问请求数指标;
  • \n
  • l7Flow_request_url:按 URL Path 维度统计 L7 访问请求数指标;
  • \n
  • l7Flow_request_resourceType:按资源类型维度统计 L7 访问请求数指标;
  • \n
  • l7Flow_request_sip:按客户端 IP 维度统计 L7 访问请求数指标;
  • \n
  • l7Flow_request_referer:按 Referer 维度统计 L7 访问请求数指标;
  • \n
  • l7Flow_request_ua_device:按设备类型维度统计 L7 访问请求数指标;
  • \n
  • l7Flow_request_ua_browser:按浏览器类型维度统计 L7 访问请求数指标;
  • \n
  • l7Flow_request_us_os:按操作系统类型维度统计 L7 访问请求数指标。
  • \n", + "example": "l7Flow_outFlux_country", "member": "string", "name": "MetricName", "required": true, @@ -8872,7 +8872,7 @@ }, { "disabled": false, - "document": "查询前多少个数据,最大值为1000,不填默认为10, 表示查询前top10的数据。", + "document": "查询前多少个 top 数据,最大值为1000。不填默认为10,表示查询 top10 的数据。", "example": "3", "member": "int64", "name": "Limit", @@ -8881,7 +8881,7 @@ }, { "disabled": false, - "document": "过滤条件,详细的过滤条件Key值如下:\n
  • country
       按照【国家/地区】进行过滤,国家/地区遵循 ISO 3166 规范。
  • \n
  • province
       按照【省份】进行过滤,此参数只支持服务区域为中国大陆。
  • \n
  • isp
       按照【运营商】进行过滤,此参数只支持服务区域为中国大陆。
       对应的Value可选项如下:
       2:中国电信;
       26:中国联通;
       1046:中国移动;
       3947:中国铁通;
       38:教育网;
       43:长城宽带;
       0:其他运营商。
  • \n
  • domain
       按照【子域名】进行过滤,子域名形如: test.example.com。
  • \n
  • url
       按照【URL Path】进行过滤,URL Path形如:/content或/content/test.jpg。
       若只填写url参数,则最多可查询近30天的数据;
       若同时填写url+Zonelds参数,则支持的查询数据范围为套餐支持的数据分析最大查询范围与30天两者中的较小值。
  • \n
  • referer
       按照【Referer头信息】进行过滤, Referer形如:example.com。
       若只填写referer参数,则最多可查询近30天的数据;
       若同时填写referer+Zonelds参数,则支持的查询数据范围为套餐支持的数据分析最大查询范围与30天两者中的较小值。
  • \n
  • resourceType
       按照【资源类型】进行过滤,资源类型一般是文件后缀,形如: .jpg, .css。
       若只填写resourceType参数,则最多可查询近30天的数据;
       若同时填写resourceType+Zonelds参数,则支持的查询数据范围为套餐支持的数据分析最大查询范围与30天两者中的较小值。
  • \n
  • protocol
       按照【HTTP协议版本】进行过滤。
       对应的Value可选项如下:
       HTTP/1.0:HTTP 1.0;
       HTTP/1.1:HTTP 1.1;
       HTTP/2.0:HTTP 2.0;
       HTTP/3.0:HTTP 3.0;
       WebSocket:WebSocket。
  • \n
  • socket
       按照【HTTP协议类型】进行过滤。
       对应的Value可选项如下:
       HTTP:HTTP 协议;
       HTTPS:HTTPS协议;
       QUIC:QUIC协议。
  • \n
  • statusCode
       按照【状态码】进行过滤。
       若只填写statusCode参数,则最多可查询近30天的数据;
       若同时填写statusCode+Zonelds参数,则支持的查询数据范围为套餐支持的数据分析最大查询范围与30天两者中的较小值。
       对应的Value可选项如下:
       1XX:1xx类型的状态码;
       100:100状态码;
       101:101状态码;
       102:102状态码;
       2XX:2xx类型的状态码;
       200:200状态码;
       201:201状态码;
       202:202状态码;
       203:203状态码;
       204:204状态码;
       205:205状态码;
       206:206状态码;
       207:207状态码;
       3XX:3xx类型的状态码;
       300:300状态码;
       301:301状态码;
       302:302状态码;
       303:303状态码;
       304:304状态码;
       305:305状态码;
       307:307状态码;
       4XX:4xx类型的状态码;
       400:400状态码;
       401:401状态码;
       402:402状态码;
       403:403状态码;
       404:404状态码;
       405:405状态码;
       406:406状态码;
       407:407状态码;
       408:408状态码;
       409:409状态码;
       410:410状态码;
       411:411状态码;
       412:412状态码;
       412:413状态码;
       414:414状态码;
       415:415状态码;
       416:416状态码;
       417:417状态码;
       422:422状态码;
       423:423状态码;
       424:424状态码;
       426:426状态码;
       451:451状态码;
       5XX:5xx类型的状态码;
       500:500状态码;
       501:501状态码;
       502:502状态码;
       503:503状态码;
       504:504状态码;
       505:505状态码;
       506:506状态码;
       507:507状态码;
       510:510状态码;
       514:514状态码;
       544:544状态码。
  • \n
  • browserType
       按照【浏览器类型】进行过滤。
       若只填写browserType参数,则最多可查询近30天的数据;
       若同时填写browserType+Zonelds参数,则支持的查询数据范围为套餐支持的数据分析最大查询范围与30天两者中的较小值。
       对应Value的可选项如下:
       Firefox:Firefox浏览器;
       Chrome:Chrome浏览器;
       Safari:Safari浏览器;
       Other:其他浏览器类型;
       Empty:浏览器类型为空;
       Bot:搜索引擎爬虫;
       MicrosoftEdge:MicrosoftEdge浏览器;
       IE:IE浏览器;
       Opera:Opera浏览器;
       QQBrowser:QQ浏览器;
       LBBrowser:LB浏览器;
       MaxthonBrowser:Maxthon浏览器;
       SouGouBrowser:搜狗浏览器;
       BIDUBrowser:百度浏览器;
       TaoBrowser:淘浏览器;
       UBrowser:UC浏览器。
  • \n
  • deviceType
       按照【设备类型】进行过滤。
       若只填写deviceType参数,则最多可查询近30天的数据;
       若同时填写deviceType+Zonelds参数,则支持的查询数据范围为套餐支持的数据分析最大查询范围与30天两者中的较小值。
       对应Value的可选项如下:
       TV:TV设备;
       Tablet:Tablet设备;
       Mobile:Mobile设备;
       Desktop:Desktop设备;
       Other:其他设备类型;
       Empty:设备类型为空。
  • \n
  • operatingSystemType
       按照【操作系统类型】进行过滤。
       若只填写operatingSystemType参数,则最多可查询近30天的数据;
       若同时填写operatingSystemType+Zonelds参数,则支持的查询数据范围为套餐支持的数据分析最大查询范围与30天两者中的较小值。
       对应Value的可选项如下:
       Linux:Linux操作系统;
       MacOS:MacOs操作系统;
       Android:Android操作系统;
       IOS:IOS操作系统;
       Windows:Windows操作系统;
       NetBSD:NetBSD;
       ChromiumOS:ChromiumOS;
       Bot:搜索引擎爬虫;
       Other:其他类型的操作系统;
       Empty:操作系统为空。
  • \n
  • tlsVersion
       按照【TLS版本】进行过滤。
       若只填写tlsVersion参数,则最多可查询近30天的数据;
       若同时填写tlsVersion+Zonelds参数,则支持的查询数据范围为套餐支持的数据分析最大查询范围与30天两者中的较小值。
       对应Value的可选项如下:
       TLS1.0:TLS 1.0;
       TLS1.1:TLS 1.1;
       TLS1.2:TLS 1.2;
       TLS1.3:TLS 1.3。
  • \n
  • ipVersion
       按照【IP版本】进行过滤。
       对应Value的可选项如下:
       4:Ipv4;
       6:Ipv6。
  • \n
  • tagKey
       按照【标签Key】进行过滤。
  • \n
  • tagValue
       按照【标签Value】进行过滤。
  • ", + "document": "过滤条件,详细的过滤条件 Key 值如下:\n
  • country:按照国家/地区进行过滤,国家/地区遵循 ISO 3166-1 alpha-2 规范。示例值:CN。
  • \n
  • province:按照省份进行过滤,此参数只支持服务区域为中国大陆。省份代码参考境内省份映射表,示例值:22。
  • \n
  • isp:按照运营商进行过滤,此参数只支持服务区域为中国大陆。对应的 Value 可选项如下:
       2:中国电信;
       26:中国联通;
       1046:中国移动;
       3947:中国铁通;
       38:教育网;
       43:长城宽带;
       0:其他运营商。
  • \n
  • domain:按照子域名进行过滤,示例值: www.example.com。
  • \n
  • url:按照 URL Path 进行过滤,示例值:/content 或 /content/test.jpg。若填写 url 参数,则最多可查询近 30 天的数据。
  • \n
  • referer:按照 Referer 请求头部进行过滤,示例值:http://www.example.com/。若填写 referer 参数,则最多可查询近 30 天的数据;
  • \n
  • resourceType:按照资源类型进行过滤,资源类型一般是文件后缀,示例值:.jpg。若填写 resourceType 参数,则最多可查询近 30 天的数据;
  • \n
  • protocol:按照 HTTP 协议版本进行过滤。对应的 Value 可选项如下:
       HTTP/1.0;
       HTTP/1.1;
       HTTP/2.0;
       HTTP/3;
       WebSocket。
  • \n
  • socket:按照 HTTP协议类型进行过滤。对应的 Value 可选项如下:
       HTTP:HTTP 协议;
       HTTPS:HTTPS 协议;
       QUIC:QUIC 协议。
  • \n
  • statusCode:按照边缘状态码进行过滤。若填写 statusCode 参数,则最多可查询近 30 天的数据。对应的 Value 可选项如下:
       1XX:1xx类型的状态码;
       2XX:2xx类型的状态码;
       3XX:3xx类型的状态码;
       4XX:4xx类型的状态码;
       5XX:5xx类型的状态码;
       在 [0,600) 范围内的整数。
  • \n
  • browserType:按照浏览器类型进行过滤。若填写 browserType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:
       Firefox:Firefox浏览器;
       Chrome:Chrome浏览器;
       Safari:Safari浏览器;
       Other:其他浏览器类型;
       Empty:浏览器类型为空;
       Bot:搜索引擎爬虫;
       MicrosoftEdge:MicrosoftEdge浏览器;
       IE:IE浏览器;
       Opera:Opera浏览器;
       QQBrowser:QQ浏览器;
       LBBrowser:LB浏览器;
       MaxthonBrowser:Maxthon浏览器;
       SouGouBrowser:搜狗浏览器;
       BIDUBrowser:百度浏览器;
       TaoBrowser:淘浏览器;
       UBrowser:UC浏览器。
  • \n
  • deviceType:按照设备类型进行过滤。若填写 deviceType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:
       TV:TV设备;
       Tablet:Tablet设备;
       Mobile:Mobile设备;
       Desktop:Desktop设备;
       Other:其他设备类型;
       Empty:设备类型为空。
  • \n
  • operatingSystemType:按照操作系统类型进行过滤。若填写 operatingSystemType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:
       Linux:Linux操作系统;
       MacOS:MacOs操作系统;
       Android:Android操作系统;
       IOS:IOS操作系统;
       Windows:Windows操作系统;
       NetBSD:NetBSD;
       ChromiumOS:ChromiumOS;
       Bot:搜索引擎爬虫;
       Other:其他类型的操作系统;
       Empty:操作系统为空。
  • \n
  • tlsVersion:按照 TLS 版本进行过滤。若填写 tlsVersion 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:
       TLS1.0;
       TLS1.1;
       TLS1.2;
       TLS1.3。
  • \n
  • ipVersion:按照 IP 版本进行过滤。对应 Value 的可选项如下:
       4:IPv4;
       6:IPv6。
  • \n
  • cacheType:按照缓存状态进行过滤。对应 Value 的可选项如下:
       hit:请求命中 EdgeOne 节点缓存,资源由节点缓存提供。资源部分命中缓存也会记录为 hit。
       miss:请求未命中 EdgeOne 节点缓存,资源由源站提供。
       dynamic:请求的资源无法缓存/未配置被节点缓存,资源由源站提供。
       other:无法被识别的缓存状态。边缘函数响应的请求会记录为 other。
  • \n
  • clientIp:按照客户端 IP 进行过滤。
  • ", "example": "无", "member": "QueryCondition", "name": "Filters", @@ -8890,7 +8890,7 @@ }, { "disabled": false, - "document": "查询时间粒度,取值有:\n
  • min:1分钟;
  • \n
  • 5min:5分钟;
  • \n
  • hour:1小时;
  • \n
  • day:1天。
  • 不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。", + "document": "查询时间粒度,取值有:\n
  • min: 1分钟;
  • \n
  • 5min: 5分钟;
  • \n
  • hour: 1小时;
  • \n
  • day: 1天。
  • 不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:2 小时范围内以 min 粒度查询,2 天范围内以 5min 粒度查询,7 天范围内以 hour 粒度查询,超过 7 天以 day 粒度查询。", "example": "min", "member": "string", "name": "Interval", @@ -8924,7 +8924,7 @@ }, { "disabled": false, - "document": "七层流量前topN数据列表。\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "七层访问数据按照 MetricName 指定统计维度的前 topN 数据列表。\n注意:此字段可能返回 null,表示取不到有效值。", "example": "无", "member": "TopDataRecord", "name": "Data", diff --git a/tccli/services/teo/v20220901/examples.json b/tccli/services/teo/v20220901/examples.json index 5b603edd5..e9976141c 100644 --- a/tccli/services/teo/v20220901/examples.json +++ b/tccli/services/teo/v20220901/examples.json @@ -748,88 +748,34 @@ ], "DescribeTimingL7AnalysisData": [ { - "document": "根据协议筛选条件获取请求数指标的数据", + "document": "根据 HTTP 协议版本筛选条件获取请求数指标数据。", "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL7AnalysisData\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l7Flow_request\"\n ],\n \"Filters\": [\n {\n \"Key\": \"protocol\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"HTTP/1.0\",\n \"HTTP/1.1\"\n ]\n }\n ],\n \"ZoneIds\": [\n \"zone-2o7b38ba1hvr\"\n ]\n}", "output": "{\n \"Response\": {\n \"RequestId\": \"141a7ccd-9713-43a2-91d5-1b47692d0609\",\n \"Data\": [\n {\n \"TypeKey\": \"251227260\",\n \"TypeValue\": [\n {\n \"Avg\": 803,\n \"Detail\": [\n {\n \"Timestamp\": 1659139200,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1661731200,\n \"Value\": 0\n }\n ],\n \"Max\": 7921,\n \"MetricName\": \"l7Flow_request\",\n \"Sum\": 24918\n }\n ]\n }\n ],\n \"TotalCount\": 1\n }\n}", - "title": "根据协议查询时序流量数据" - }, - { - "document": "根据标签的筛选条件获取请求数指标", - "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL7AnalysisData\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l7Flow_request\"\n ],\n \"Filters\": [\n {\n \"Key\": \"tagKey\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"test1\"\n ]\n },\n {\n \"Key\": \"tagValue\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"a.com\",\n \"b.com\"\n ]\n }\n ],\n \"ZoneIds\": [\n \"zone-2o7b38ba1hvr\"\n ]\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"141a7ccd-9713-43a2-91d5-1b47692d0609\",\n \"Data\": [\n {\n \"TypeKey\": \"251227260\",\n \"TypeValue\": [\n {\n \"Avg\": 803,\n \"Detail\": [\n {\n \"Timestamp\": 1659139200,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1661731200,\n \"Value\": 0\n }\n ],\n \"Max\": 7921,\n \"MetricName\": \"l7Flow_request\",\n \"Sum\": 24918\n }\n ]\n }\n ],\n \"TotalCount\": 1\n }\n}", - "title": "根据标签查询时序流量数据" - }, - { - "document": "查询七层流量请求数指标的数据", - "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL7AnalysisData\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l7Flow_request\"\n ],\n \"ZoneIds\": [\n \"zone-2o7b38ba1hvr\"\n ]\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"141a7ccd-9713-43a2-91d5-1b47692d0609\",\n \"Data\": [\n {\n \"TypeKey\": \"251227260\",\n \"TypeValue\": [\n {\n \"Avg\": 803,\n \"Detail\": [\n {\n \"Timestamp\": 1659139200,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1661731200,\n \"Value\": 0\n }\n ],\n \"Max\": 7921,\n \"MetricName\": \"l7Flow_request\",\n \"Sum\": 24918\n }\n ]\n }\n ],\n \"TotalCount\": 1\n }\n}", - "title": "查询七层数据分析类时序流量数据" + "title": "根据 HTTP 协议版本查询时序请求数数据" } ], "DescribeTimingL7CacheData": [ - { - "document": "", - "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL7CacheData\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l7Cache_outFlux\"\n ],\n \"Filters\": [\n {\n \"Key\": \"tagKey\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"test1\"\n ]\n },\n {\n \"Key\": \"tagValue\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"a.com\",\n \"b.com\"\n ]\n }\n ],\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"6cc74d08-c174-413a-976b-abe7b851e0121\",\n \"Data\": [\n {\n \"TypeKey\": \"251227260\",\n \"TypeValue\": [\n {\n \"Avg\": 239058,\n \"Detail\": [\n {\n \"Timestamp\": 1659139200,\n \"Value\": 8\n },\n {\n \"Timestamp\": 1661731200,\n \"Value\": 1\n }\n ],\n \"Max\": 2363561,\n \"MetricName\": \"l7Cache_outFlux\",\n \"Sum\": 7410804\n }\n ]\n }\n ],\n \"TotalCount\": 1\n }\n}", - "title": "查询指定标签的时序流量数据" - }, { "document": "", "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL7CacheData\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l7Cache_outFlux\"\n ],\n \"Filters\": [\n {\n \"Key\": \"statusCode\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"1XX\",\n \"2XX\"\n ]\n }\n ],\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}", "output": "{\n \"Response\": {\n \"RequestId\": \"1c827ba2-7010-45d2-123b-6d0c4d34ihsx\",\n \"Data\": [\n {\n \"TypeKey\": \"251227260\",\n \"TypeValue\": [\n {\n \"Avg\": 239058,\n \"Detail\": [\n {\n \"Timestamp\": 1659139200,\n \"Value\": 10\n },\n {\n \"Timestamp\": 1661731200,\n \"Value\": 10\n }\n ],\n \"Max\": 2363561,\n \"MetricName\": \"l7Cache_outFlux\",\n \"Sum\": 7410804\n }\n ]\n }\n ],\n \"TotalCount\": 1\n }\n}", "title": "查询指定状态码的时序流量数据" - }, - { - "document": "", - "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL7CacheData\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l7Cache_outFlux\"\n ],\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"1c827ba2-7010-45d2-b16b-6d0c4d68a771\",\n \"Data\": [\n {\n \"TypeKey\": \"251227260\",\n \"TypeValue\": [\n {\n \"Avg\": 239058,\n \"Detail\": [\n {\n \"Timestamp\": 1659139200,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1661731200,\n \"Value\": 0\n }\n ],\n \"Max\": 2363561,\n \"MetricName\": \"l7Cache_outFlux\",\n \"Sum\": 7410804\n }\n ]\n }\n ],\n \"TotalCount\": 1\n }\n}", - "title": "查询七层缓存分析类时序流量数据" } ], "DescribeTopL7AnalysisData": [ { - "document": "查询七层数据分析类top流量数据", + "document": "查询特定 HTTP 协议版本(HTTP/1.0、HTTP/1.1)下的 Top URL Path 流量数据。", "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopL7AnalysisData\n<公共请求参数>\n\n{\n \"Area\": \"mainland\",\n \"Interval\": \"day\",\n \"Limit\": \"1\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"MetricName\": \"l7Flow_outFlux_url\",\n \"Filters\": [\n {\n \"Key\": \"protocol\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"HTTP/1.0\",\n \"HTTP/1.1\"\n ]\n }\n ],\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}", "output": "{\n \"Response\": {\n \"RequestId\": \"7c499897-8ad9-4a2d-884e-6154f283d723\",\n \"Data\": [\n {\n \"DetailData\": [\n {\n \"Key\": \"/\",\n \"Value\": 1210001\n }\n ],\n \"TypeKey\": \"251227260\"\n }\n ],\n \"TotalCount\": 1\n }\n}", - "title": "查询指定协议的top流量数据" - }, - { - "document": "查询指定标签的top流量数据", - "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopL7AnalysisData\n<公共请求参数>\n\n{\n \"Area\": \"mainland\",\n \"Interval\": \"day\",\n \"Limit\": \"1\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"MetricName\": \"l7Flow_outFlux_url\",\n \"Filters\": [\n {\n \"Key\": \"tagKey\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"test1\"\n ]\n },\n {\n \"Key\": \"tagValue\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"a.com\",\n \"b.com\"\n ]\n }\n ],\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"7c499897-8ad9-4a2d-884e-6154f283d723\",\n \"Data\": [\n {\n \"DetailData\": [\n {\n \"Key\": \"/\",\n \"Value\": 1210001\n }\n ],\n \"TypeKey\": \"251227260\"\n }\n ],\n \"TotalCount\": 1\n }\n}", - "title": "查询指定标签的top流量数据" - }, - { - "document": "查询七层数据分析类top流量数据", - "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopL7AnalysisData\n<公共请求参数>\n\n{\n \"Area\": \"mainland\",\n \"Interval\": \"day\",\n \"Limit\": \"1\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"MetricName\": \"l7Flow_outFlux_url\",\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"7c499897-8ad9-4a2d-884e-6154f283d7f6\",\n \"Data\": [\n {\n \"DetailData\": [\n {\n \"Key\": \"/\",\n \"Value\": 7410001\n }\n ],\n \"TypeKey\": \"251227260\"\n }\n ],\n \"TotalCount\": 1\n }\n}", - "title": "查询七层数据分析类top流量数据" + "title": "查询特定 HTTP 协议版本下的 Top URL Path 流量数据" } ], "DescribeTopL7CacheData": [ - { - "document": "", - "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopL7CacheData\n<公共请求参数>\n\n{\n \"Area\": \"mainland\",\n \"Interval\": \"day\",\n \"Limit\": \"5\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"MetricName\": \"l7Cache_outFlux_cacheType\",\n \"Filters\": [\n {\n \"Key\": \"tagKey\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"test1\"\n ]\n },\n {\n \"Key\": \"tagValue\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"a.com\",\n \"b.com\"\n ]\n }\n ],\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"64463c6f-3296-47fa-b168-2040f841eed1\",\n \"Data\": [\n {\n \"DetailData\": [\n {\n \"Key\": \"hit\",\n \"Value\": 5810001\n },\n {\n \"Key\": \"miss\",\n \"Value\": 658\n }\n ],\n \"TypeKey\": \"251227260\"\n }\n ],\n \"TotalCount\": 1\n }\n}", - "title": "根据指定标签的top流量数据" - }, { "document": "", "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopL7CacheData\n<公共请求参数>\n\n{\n \"Area\": \"mainland\",\n \"Interval\": \"day\",\n \"Limit\": \"5\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"MetricName\": \"l7Cache_outFlux_cacheType\",\n \"Filters\": [\n {\n \"Key\": \"statusCode\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"2XX\",\n \"3XX\"\n ]\n }\n ],\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}", "output": "{\n \"Response\": {\n \"RequestId\": \"64463c6f-3296-47fa-b168-2040f841eed1\",\n \"Data\": [\n {\n \"DetailData\": [\n {\n \"Key\": \"hit\",\n \"Value\": 5810001\n },\n {\n \"Key\": \"miss\",\n \"Value\": 658\n }\n ],\n \"TypeKey\": \"251227260\"\n }\n ],\n \"TotalCount\": 1\n }\n}", "title": "查询指定状态码的top流量数据" - }, - { - "document": "", - "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopL7CacheData\n<公共请求参数>\n\n{\n \"Area\": \"mainland\",\n \"Interval\": \"day\",\n \"Limit\": \"5\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"MetricName\": \"l7Cache_outFlux_cacheType\",\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"64463c6f-4c96-47fa-b168-2040f841eed1\",\n \"Data\": [\n {\n \"DetailData\": [\n {\n \"Key\": \"hit\",\n \"Value\": 7410001\n },\n {\n \"Key\": \"miss\",\n \"Value\": 803\n }\n ],\n \"TypeKey\": \"251227260\"\n }\n ],\n \"TotalCount\": 1\n }\n}", - "title": "查询七层缓存分析类top流量数据" - }, - { - "document": "", - "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopL7CacheData\n<公共请求参数>\n\n{\n \"Area\": \"mainland\",\n \"Interval\": \"day\",\n \"Limit\": \"5\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"MetricName\": \"l7Cache_outFlux_cacheType\",\n \"Filters\": [\n {\n \"Key\": \"cacheType\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"miss\",\n \"hit\"\n ]\n }\n ],\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"64463c6f-3296-47fa-b168-2040f841eed1\",\n \"Data\": [\n {\n \"DetailData\": [\n {\n \"Key\": \"hit\",\n \"Value\": 7410001\n },\n {\n \"Key\": \"miss\",\n \"Value\": 803\n }\n ],\n \"TypeKey\": \"251227260\"\n }\n ],\n \"TotalCount\": 1\n }\n}", - "title": "查询缓存命中跟未命中的top流量数据" } ], "DescribeZoneSetting": [ diff --git a/tccli/services/tke/tke_client.py b/tccli/services/tke/tke_client.py index f7fc69415..263fc13c4 100644 --- a/tccli/services/tke/tke_client.py +++ b/tccli/services/tke/tke_client.py @@ -2255,6 +2255,58 @@ def doDescribeTKEEdgeExternalKubeconfig(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) +def doDescribeClusters(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.TkeClient(cred, g_param[OptionsDefine.Region], profile) + client._sdkVersion += ("_CLI_" + __version__) + models = MODELS_MAP[g_param[OptionsDefine.Version]] + model = models.DescribeClustersRequest() + model.from_json_string(json.dumps(args)) + start_time = time.time() + while True: + rsp = client.DescribeClusters(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 doCreateCLSLogConfig(args, parsed_globals): g_param = parse_global_arg(parsed_globals) @@ -4127,7 +4179,7 @@ def doDescribeEdgeLogSwitches(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeClusters(args, parsed_globals): +def doModifyClusterTags(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -4156,11 +4208,11 @@ def doDescribeClusters(args, parsed_globals): client = mod.TkeClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeClustersRequest() + model = models.ModifyClusterTagsRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeClusters(model) + rsp = client.ModifyClusterTags(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -4283,6 +4335,58 @@ def doCreateReservedInstances(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) +def doDescribeBatchModifyTagsStatus(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.TkeClient(cred, g_param[OptionsDefine.Region], profile) + client._sdkVersion += ("_CLI_" + __version__) + models = MODELS_MAP[g_param[OptionsDefine.Version]] + model = models.DescribeBatchModifyTagsStatusRequest() + model.from_json_string(json.dumps(args)) + start_time = time.time() + while True: + rsp = client.DescribeBatchModifyTagsStatus(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 doDeletePrometheusTemplate(args, parsed_globals): g_param = parse_global_arg(parsed_globals) @@ -4803,7 +4907,7 @@ def doDescribeEdgeCVMInstances(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeClusterLevelAttribute(args, parsed_globals): +def doDescribeClusterControllers(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -4832,11 +4936,11 @@ def doDescribeClusterLevelAttribute(args, parsed_globals): client = mod.TkeClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeClusterLevelAttributeRequest() + model = models.DescribeClusterControllersRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeClusterLevelAttribute(model) + rsp = client.DescribeClusterControllers(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -7923,7 +8027,7 @@ def doModifyPrometheusRecordRuleYaml(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeClusterControllers(args, parsed_globals): +def doDescribeClusterLevelAttribute(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -7952,11 +8056,11 @@ def doDescribeClusterControllers(args, parsed_globals): client = mod.TkeClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeClusterControllersRequest() + model = models.DescribeClusterLevelAttributeRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeClusterControllers(model) + rsp = client.DescribeClusterLevelAttribute(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -12295,6 +12399,7 @@ def doDescribeRouteTableConflicts(args, parsed_globals): "AddNodeToNodePool": doAddNodeToNodePool, "ModifyReservedInstanceScope": doModifyReservedInstanceScope, "DescribeTKEEdgeExternalKubeconfig": doDescribeTKEEdgeExternalKubeconfig, + "DescribeClusters": doDescribeClusters, "CreateCLSLogConfig": doCreateCLSLogConfig, "EnableClusterAudit": doEnableClusterAudit, "CreateBackupStorageLocation": doCreateBackupStorageLocation, @@ -12331,9 +12436,10 @@ def doDescribeRouteTableConflicts(args, parsed_globals): "DescribeClusterRouteTables": doDescribeClusterRouteTables, "DeleteEdgeCVMInstances": doDeleteEdgeCVMInstances, "DescribeEdgeLogSwitches": doDescribeEdgeLogSwitches, - "DescribeClusters": doDescribeClusters, + "ModifyClusterTags": doModifyClusterTags, "DescribeClusterEndpointStatus": doDescribeClusterEndpointStatus, "CreateReservedInstances": doCreateReservedInstances, + "DescribeBatchModifyTagsStatus": doDescribeBatchModifyTagsStatus, "DeletePrometheusTemplate": doDeletePrometheusTemplate, "DescribeRegions": doDescribeRegions, "DescribeReservedInstanceUtilizationRate": doDescribeReservedInstanceUtilizationRate, @@ -12344,7 +12450,7 @@ def doDescribeRouteTableConflicts(args, parsed_globals): "DeleteEKSContainerInstances": doDeleteEKSContainerInstances, "UninstallEdgeLogAgent": doUninstallEdgeLogAgent, "DescribeEdgeCVMInstances": doDescribeEdgeCVMInstances, - "DescribeClusterLevelAttribute": doDescribeClusterLevelAttribute, + "DescribeClusterControllers": doDescribeClusterControllers, "DescribeAddonValues": doDescribeAddonValues, "AddClusterCIDR": doAddClusterCIDR, "CreateImageCache": doCreateImageCache, @@ -12404,7 +12510,7 @@ def doDescribeRouteTableConflicts(args, parsed_globals): "DeleteClusterInstances": doDeleteClusterInstances, "ModifyPrometheusTemp": doModifyPrometheusTemp, "ModifyPrometheusRecordRuleYaml": doModifyPrometheusRecordRuleYaml, - "DescribeClusterControllers": doDescribeClusterControllers, + "DescribeClusterLevelAttribute": doDescribeClusterLevelAttribute, "DescribeClusterSecurity": doDescribeClusterSecurity, "RenewReservedInstances": doRenewReservedInstances, "CreatePrometheusTemplate": doCreatePrometheusTemplate, diff --git a/tccli/services/tke/v20180525/api.json b/tccli/services/tke/v20180525/api.json index d16f65317..c928ba121 100644 --- a/tccli/services/tke/v20180525/api.json +++ b/tccli/services/tke/v20180525/api.json @@ -511,6 +511,13 @@ "output": "DescribeBackupStorageLocationsResponse", "status": "online" }, + "DescribeBatchModifyTagsStatus": { + "document": "查询批量修改标签状态", + "input": "DescribeBatchModifyTagsStatusRequest", + "name": "查询批量修改标签状态", + "output": "DescribeBatchModifyTagsStatusResponse", + "status": "online" + }, "DescribeClusterAsGroupOption": { "document": "集群弹性伸缩配置", "input": "DescribeClusterAsGroupOptionRequest", @@ -1323,6 +1330,13 @@ "output": "ModifyClusterRuntimeConfigResponse", "status": "online" }, + "ModifyClusterTags": { + "document": "修改集群标签", + "input": "ModifyClusterTagsRequest", + "name": "修改集群标签", + "output": "ModifyClusterTagsResponse", + "status": "online" + }, "ModifyClusterVirtualNodePool": { "document": "修改超级节点池", "input": "ModifyClusterVirtualNodePoolRequest", @@ -8489,6 +8503,63 @@ ], "type": "object" }, + "DescribeBatchModifyTagsStatusRequest": { + "document": "DescribeBatchModifyTagsStatus请求参数结构体", + "members": [], + "type": "object" + }, + "DescribeBatchModifyTagsStatusResponse": { + "document": "DescribeBatchModifyTagsStatus返回参数结构体", + "members": [ + { + "disabled": false, + "document": "失败资源列表\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "[]", + "member": "FailedResource", + "name": "FailedResources", + "output_required": true, + "type": "list", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "任务状态:\n- running 运行中\n- failed 失败\n- done 成功\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "running", + "member": "string", + "name": "Status", + "output_required": true, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "是否同步集群内子资源标签", + "example": "false", + "member": "bool", + "name": "SyncSubresource", + "output_required": false, + "type": "bool", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "集群标签", + "example": "[]", + "member": "Tag", + "name": "Tags", + "output_required": false, + "type": "list", + "value_allowed_null": false + }, + { + "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", + "member": "string", + "name": "RequestId", + "type": "string" + } + ], + "type": "object" + }, "DescribeClusterAsGroupOptionRequest": { "document": "DescribeClusterAsGroupOption请求参数结构体", "members": [ @@ -16191,6 +16262,32 @@ ], "usage": "in" }, + "FailedResource": { + "document": "修改标签失败的资源", + "members": [ + { + "disabled": false, + "document": "资源六段式\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "qcs::tke:${region}:uin/${uin}:cluster/${ClusterId}", + "member": "string", + "name": "Resource", + "output_required": true, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "执行失败的原因\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "string", + "name": "Error", + "output_required": true, + "type": "string", + "value_allowed_null": true + } + ], + "usage": "out" + }, "Filter": { "document": "过滤器", "members": [ @@ -18938,6 +19035,61 @@ ], "type": "object" }, + "ModifyClusterTagsRequest": { + "document": "ModifyClusterTags请求参数结构体", + "members": [ + { + "disabled": false, + "document": "集群ID", + "example": "cls-0gudq56e", + "member": "string", + "name": "ClusterId", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "集群标签", + "example": "[]", + "member": "Tag", + "name": "Tags", + "required": false, + "type": "list" + }, + { + "disabled": false, + "document": "是否同步集群内子资源标签", + "example": "false", + "member": "bool", + "name": "SyncSubresource", + "required": false, + "type": "bool" + } + ], + "type": "object" + }, + "ModifyClusterTagsResponse": { + "document": "ModifyClusterTags返回参数结构体", + "members": [ + { + "disabled": false, + "document": "集群标签\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "[]", + "member": "Tag", + "name": "Tags", + "output_required": true, + "type": "list", + "value_allowed_null": true + }, + { + "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", + "member": "string", + "name": "RequestId", + "type": "string" + } + ], + "type": "object" + }, "ModifyClusterVirtualNodePoolRequest": { "document": "ModifyClusterVirtualNodePool请求参数结构体", "members": [ diff --git a/tccli/services/tke/v20180525/examples.json b/tccli/services/tke/v20180525/examples.json index 578286db7..290b57356 100644 --- a/tccli/services/tke/v20180525/examples.json +++ b/tccli/services/tke/v20180525/examples.json @@ -620,6 +620,14 @@ "title": "查询备份仓库" } ], + "DescribeBatchModifyTagsStatus": [ + { + "document": "查询批量修改标签状态", + "input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBatchModifyTagsStatus\n<公共请求参数>\n\n{}", + "output": "{\n \"Response\": {\n \"FailedResources\": [\n {\n \"Resource\": \"qcs::ccs:ap-guangzhou:uin/3356535506:cluster/cls-q505raey\",\n \"Error\": \"err\"\n }\n ],\n \"Status\": \"failed\",\n \"SyncSubresource\": true,\n \"Tags\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"RequestId\": \"33483fde-efec-4d3c-8ff6-340d9dbc2d01\"\n }\n}", + "title": "查询批量修改标签状态" + } + ], "DescribeClusterAsGroupOption": [ { "document": "集群弹性伸缩配置", @@ -1638,6 +1646,14 @@ "title": "修改集群运行时配置" } ], + "ModifyClusterTags": [ + { + "document": "修改集群标签", + "input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyClusterTags\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-0gudq56e\",\n \"Tags\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"SyncSubresource\": true\n}", + "output": "{\n \"Response\": {\n \"Tags\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"RequestId\": \"33483fde-efec-4d3c-8ff6-340d9dbc2d01\"\n }\n}", + "title": "修改集群标签" + } + ], "ModifyClusterVirtualNodePool": [ { "document": "修改超级节点池", diff --git a/tccli/services/vpc/v20170312/api.json b/tccli/services/vpc/v20170312/api.json index 9a110765f..6b1a30a35 100644 --- a/tccli/services/vpc/v20170312/api.json +++ b/tccli/services/vpc/v20170312/api.json @@ -78,7 +78,7 @@ "status": "online" }, "AssignPrivateIpAddresses": { - "document": "本接口(AssignPrivateIpAddresses)用于弹性网卡申请内网 IP。\n* 一个弹性网卡支持绑定的IP地址是有限制的,更多资源限制信息详见弹性网卡使用限制。\n* 可以指定内网IP地址申请,内网IP地址类型不能为主IP,主IP已存在,不能修改,内网IP必须要弹性网卡所在子网内,而且不能被占用。\n* 在弹性网卡上申请一个到多个辅助内网IP,接口会在弹性网卡所在子网网段内返回指定数量的辅助内网IP。\n>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。\n>", + "document": "本接口(AssignPrivateIpAddresses)用于弹性网卡申请内网 IP。\n* 一个弹性网卡支持绑定的IP地址是有限制的,更多资源限制信息详见弹性网卡使用限制。\n* 可以指定内网IP地址申请,内网IP地址类型不能为主IP,主IP已存在,不能修改,内网IP必须要在弹性网卡所在子网内,而且不能被占用。\n* 在弹性网卡上申请一个到多个辅助内网IP,接口会在弹性网卡所在子网网段内返回指定数量的辅助内网IP。\n>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。\n>", "input": "AssignPrivateIpAddressesRequest", "name": "弹性网卡申请内网 IP", "output": "AssignPrivateIpAddressesResponse", @@ -2563,7 +2563,7 @@ "status": "online" }, "UnassignPrivateIpAddresses": { - "document": "本接口(UnassignPrivateIpAddresses)用于弹性网卡退还内网 IP。\n* 退还弹性网卡上的辅助内网IP,接口自动解关联弹性公网 IP。不能退还弹性网卡的主内网IP。\n\n本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。", + "document": "本接口(UnassignPrivateIpAddresses)用于弹性网卡退还内网 IP。\n* 退还弹性网卡上的辅助内网IP,接口自动解除关联弹性公网 IP。不能退还弹性网卡的主内网IP。\n\n本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。", "input": "UnassignPrivateIpAddressesRequest", "name": "弹性网卡退还内网 IP", "output": "UnassignPrivateIpAddressesResponse", @@ -8049,7 +8049,7 @@ }, { "disabled": false, - "document": "NAT网关最大外网出带宽(单位:Mbps),支持的参数值:`20, 50, 100, 200, 500, 1000, 2000, 5000`,默认: `100Mbps`。", + "document": "NAT网关最大外网出带宽(单位:Mbps),支持的参数值:20, 50, 100, 200, 500, 1000, 2000, 5000,默认: 100Mbps。 当以下NatProductVersion参数值为2即标准型时,此参数无需填写,默认为5000Mbps。", "example": "10", "member": "uint64", "name": "InternetMaxBandwidthOut", @@ -8058,7 +8058,7 @@ }, { "disabled": false, - "document": "NAT网关并发连接上限,支持参数值:`1000000、3000000、10000000`,默认值为`100000`。", + "document": "NAT网关并发连接数上限,支持参数值:1000000、3000000、10000000,默认值为100000。 当以下NatProductVersion参数值为2即标准型时,此参数无需填写,默认为2000000。", "example": "1000000", "member": "uint64", "name": "MaxConcurrentConnection", @@ -8067,7 +8067,7 @@ }, { "disabled": false, - "document": "需要申请的弹性IP个数,系统会按您的要求生产N个弹性IP,其中AddressCount和PublicAddresses至少传递一个。", + "document": "新建弹性公网IP个数,系统会按您的要求创建对应数量的弹性公网IP,其中AddressCount和PublicAddresses两个参数至少填写一个。", "example": "1", "member": "uint64", "name": "AddressCount", @@ -8076,8 +8076,8 @@ }, { "disabled": false, - "document": "绑定NAT网关的弹性IP数组,其中AddressCount和PublicAddresses至少传递一个。", - "example": "[\"139.199.232.119\\n\"]", + "document": "绑定NAT网关的已有弹性公网IP数组,其中AddressCount和PublicAddresses两个参数至少填写一个。 示例值:[\"139.199.232.119\"]", + "example": "[\"139.199.232.119\"]", "member": "string", "name": "PublicIpAddresses", "required": false, @@ -8102,9 +8102,9 @@ "type": "list" }, { - "disabled": false, - "document": "NAT网关所属子网", - "example": "1215354", + "disabled": true, + "document": "NAT网关所属子网,已废弃", + "example": "subnet-xxxxxxxx", "member": "string", "name": "SubnetId", "required": false, @@ -8112,7 +8112,7 @@ }, { "disabled": false, - "document": "绑定NAT网关的弹性IP带宽大小(单位Mbps),默认为当前用户类型所能使用的最大值。", + "document": "绑定NAT网关的弹性公网IP带宽值(单位:Mbps)。不填写此参数时:则该参数默认为弹性公网IP的带宽值,部分用户默认为该用户类型的弹性公网IP的带宽上限。", "example": "77", "member": "uint64", "name": "StockPublicIpAddressesBandwidthOut", @@ -8139,7 +8139,7 @@ }, { "disabled": false, - "document": "NAT网关大版本号,1是传统型,2是标准型,默认是1", + "document": "NAT网关类型,1表示传统型NAT网关,2表示标准型NAT网关,默认值是1。", "example": "1", "member": "uint64", "name": "NatProductVersion", @@ -16102,7 +16102,7 @@ { "disabled": false, "document": "要查询的CVM实例ID或弹性网卡ID。", - "example": "-", + "example": "ins-4lsnc7dz", "member": "string", "name": "InstanceId", "required": true, @@ -16120,6 +16120,7 @@ "example": "32", "member": "int64", "name": "EniQuantity", + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -16129,6 +16130,7 @@ "example": "20", "member": "int64", "name": "EniPrivateIpAddressQuantity", + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -16138,6 +16140,7 @@ "example": "400", "member": "int64", "name": "ExtendEniQuantity", + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -16147,6 +16150,7 @@ "example": "20", "member": "int64", "name": "ExtendEniPrivateIpAddressQuantity", + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -16156,6 +16160,7 @@ "example": "20", "member": "int64", "name": "SubEniQuantity", + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -16165,6 +16170,7 @@ "example": "10", "member": "int64", "name": "SubEniPrivateIpAddressQuantity", + "output_required": true, "type": "int", "value_allowed_null": true }, @@ -19474,9 +19480,10 @@ { "disabled": false, "document": "网络协议,可选值:`TCP`、`UDP`。", - "example": "", + "example": "无", "member": "string", "name": "IpProtocol", + "output_required": true, "required": true, "type": "string", "value_allowed_null": false @@ -19484,9 +19491,10 @@ { "disabled": false, "document": "弹性IP。", - "example": "", + "example": "无", "member": "string", "name": "PublicIpAddress", + "output_required": true, "required": true, "type": "string", "value_allowed_null": false @@ -19494,9 +19502,10 @@ { "disabled": false, "document": "公网端口。", - "example": "", + "example": "无", "member": "uint64", "name": "PublicPort", + "output_required": true, "required": true, "type": "int", "value_allowed_null": false @@ -19504,9 +19513,10 @@ { "disabled": false, "document": "内网地址。", - "example": "", + "example": "无", "member": "string", "name": "PrivateIpAddress", + "output_required": true, "required": true, "type": "string", "value_allowed_null": false @@ -19514,9 +19524,10 @@ { "disabled": false, "document": "内网端口。", - "example": "", + "example": "无", "member": "uint64", "name": "PrivatePort", + "output_required": true, "required": true, "type": "int", "value_allowed_null": false @@ -19524,15 +19535,16 @@ { "disabled": false, "document": "NAT网关转发规则描述。", - "example": "", + "example": "无", "member": "string", "name": "Description", - "required": true, + "output_required": true, + "required": false, "type": "string", "value_allowed_null": false } ], - "usage": "out" + "usage": "both" }, "DestinationIpPortTranslationNatRuleDiff": { "document": "本端目的IP端口转换复杂结构", @@ -19737,7 +19749,7 @@ { "disabled": false, "document": "CVM实例ID。形如:ins-r8hr2upy。", - "example": "ins-ins-r8hr2upy", + "example": "ins-r8hr2upy", "member": "string", "name": "InstanceId", "required": true, @@ -23796,7 +23808,7 @@ { "disabled": false, "document": "弹性网卡实例ID,例如:eni-m6dyj72l。", - "example": "--", + "example": "eni-m6dyj72l", "member": "string", "name": "NetworkInterfaceId", "required": true, @@ -23805,7 +23817,7 @@ { "disabled": false, "document": "弹性网卡当前绑定的CVM实例ID。形如:ins-r8hr2upy。", - "example": "--", + "example": "ins-r8hr2upy", "member": "string", "name": "SourceInstanceId", "required": true, @@ -23814,7 +23826,7 @@ { "disabled": false, "document": "待迁移的目的CVM实例ID。", - "example": "--", + "example": "ins-7qs3ou6z", "member": "string", "name": "DestinationInstanceId", "required": true, @@ -27144,7 +27156,7 @@ }, { "disabled": false, - "document": "NAT网关大版本号,传统型=1,标准型=2\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "NAT网关类型,1表示传统型NAT网关,2表示标准型NAT网关\n注意:此字段可能返回 null,表示取不到有效值。", "example": "1", "member": "uint64", "name": "NatProductVersion", @@ -28139,48 +28151,52 @@ "NetworkInterfaceAttachment": { "document": "弹性网卡绑定关系", "members": [ - { - "disabled": false, - "document": "云主机实例ID。", - "example": "", - "member": "string", - "name": "InstanceId", - "required": true, - "type": "string", - "value_allowed_null": false - }, { "disabled": false, "document": "网卡在云主机实例内的序号。", - "example": "", + "example": "无", "member": "uint64", "name": "DeviceIndex", - "required": true, + "output_required": true, + "required": false, "type": "int", "value_allowed_null": false }, { "disabled": false, "document": "云主机所有者账户信息。", - "example": "", + "example": "无", "member": "string", "name": "InstanceAccountId", - "required": true, + "output_required": true, + "required": false, "type": "string", "value_allowed_null": false }, { "disabled": false, "document": "绑定时间。", - "example": "", + "example": "无", "member": "string", "name": "AttachTime", - "required": true, + "output_required": true, + "required": false, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "云主机实例ID。", + "example": "无", + "member": "string", + "name": "InstanceId", + "output_required": true, + "required": false, "type": "string", "value_allowed_null": false } ], - "usage": "out" + "usage": "both" }, "NotifyRoutesRequest": { "document": "NotifyRoutes请求参数结构体", diff --git a/tccli/services/vpc/v20170312/examples.json b/tccli/services/vpc/v20170312/examples.json index f0edc9aa9..095ed91b2 100644 --- a/tccli/services/vpc/v20170312/examples.json +++ b/tccli/services/vpc/v20170312/examples.json @@ -194,7 +194,7 @@ ], "AssociateNetworkInterfaceSecurityGroups": [ { - "document": "弹性网关关联安全组", + "document": "将指定网卡和指定安全组进行关联", "input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AssociateNetworkInterfaceSecurityGroups\n<公共请求参数>\n\n{\n \"NetworkInterfaceIds\": [\n \"eni-1a2b3c4d\"\n ],\n \"SecurityGroupIds\": [\n \"sg-1a2b3c4d\"\n ]\n}", "output": "{\n \"Response\": {\n \"RequestId\": \"f23d1450-ed00-4442-98d4-be409e625e6c\"\n }\n}", "title": "弹性网关关联安全组"