From 500ed657a23822ca57ba8ac2d3a719dc5c5bc0c6 Mon Sep 17 00:00:00 2001 From: tencentcloudapi Date: Wed, 12 Feb 2025 04:11:26 +0800 Subject: [PATCH] release 3.0.1266.1 --- CHANGELOG.md | 239 ++++++++++ SERVICE_CHANGELOG.md | 440 +++++++++++++----- products.md | 40 +- pyproject.toml | 4 +- tccli/__init__.py | 2 +- .../lkeap/v20240522/CreateAttributeLabel.md | 3 + tccli/examples/lkeap/v20240522/CreateQA.md | 11 +- .../lkeap/v20240522/DeleteAttributeLabels.md | 5 +- tccli/examples/lkeap/v20240522/DeleteDocs.md | 5 +- tccli/examples/lkeap/v20240522/DeleteQAs.md | 5 +- tccli/examples/lkeap/v20240522/DescribeDoc.md | 10 +- tccli/examples/lkeap/v20240522/ImportQAs.md | 6 +- .../lkeap/v20240522/ListAttributeLabels.md | 9 +- tccli/examples/lkeap/v20240522/ListDocs.md | 9 +- tccli/examples/lkeap/v20240522/ListQAs.md | 9 +- .../lkeap/v20240522/ModifyAttributeLabel.md | 4 + tccli/examples/lkeap/v20240522/ModifyQA.md | 4 + .../v20190725/DescribeDBInstanceURL.md | 30 ++ .../rum/v20210622/CreateReleaseFile.md | 2 +- .../v20210622/DescribeAppDimensionMetrics.md | 2 +- .../rum/v20210622/DescribeReleaseFileSign.md | 10 +- .../rum/v20210622/DescribeRumLogExports.md | 4 +- .../examples/trtc/v20190722/CreatePicture.md | 4 +- .../v20190722/DescribeMixTranscodingUsage.md | 2 +- .../trtc/v20190722/DescribeRecordingUsage.md | 2 +- .../trtc/v20190722/DescribeRelayUsage.md | 2 +- .../trtc/v20190722/DescribeTrtcUsage.md | 2 +- tccli/examples/vms/v20200902/SendCodeVoice.md | 8 +- tccli/examples/vms/v20200902/SendTtsVoice.md | 4 +- .../CreateSecurityGroupWithPolicies.md | 24 +- .../v20210820/DescribeInstanceDetailInfo.md | 61 +++ tccli/services/billing/v20180709/api.json | 6 +- tccli/services/cdn/v20180606/api.json | 44 +- tccli/services/cls/v20201016/api.json | 2 +- tccli/services/cvm/v20170312/api.json | 14 +- tccli/services/ess/v20201111/api.json | 38 +- tccli/services/essbasic/v20210526/api.json | 4 +- tccli/services/lcic/v20220817/api.json | 65 ++- tccli/services/lkeap/v20240522/api.json | 421 ++++++++++++++++- tccli/services/lkeap/v20240522/examples.json | 38 +- tccli/services/mongodb/mongodb_client.py | 53 +++ tccli/services/mongodb/v20190725/api.json | 70 +++ .../services/mongodb/v20190725/examples.json | 8 + tccli/services/rum/v20210622/api.json | 24 +- tccli/services/rum/v20210622/examples.json | 12 +- tccli/services/ssl/v20191205/api.json | 40 +- tccli/services/sts/v20180813/api.json | 2 +- tccli/services/teo/v20220901/api.json | 2 +- tccli/services/tke/v20180525/api.json | 18 + tccli/services/trro/v20220325/api.json | 2 +- tccli/services/trtc/v20190722/api.json | 15 +- tccli/services/trtc/v20190722/examples.json | 10 +- tccli/services/vms/v20200902/api.json | 18 +- tccli/services/vms/v20200902/examples.json | 10 +- tccli/services/vpc/v20170312/api.json | 12 +- tccli/services/vpc/v20170312/examples.json | 8 +- tccli/services/waf/v20180125/api.json | 26 +- tccli/services/wedata/v20210820/api.json | 107 +++++ tccli/services/wedata/v20210820/examples.json | 8 + tccli/services/wedata/wedata_client.py | 53 +++ 60 files changed, 1731 insertions(+), 361 deletions(-) create mode 100644 tccli/examples/mongodb/v20190725/DescribeDBInstanceURL.md create mode 100644 tccli/examples/wedata/v20210820/DescribeInstanceDetailInfo.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 8af07d673b..5914585ec3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,242 @@ +# Release 3.0.1266.1 + +## 云服务器(cvm) 版本:2017-03-12 + +### 第 141 次发布 + +发布时间:2025-02-12 01:21:20 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [ImportImage](https://cloud.tencent.com/document/api/213/15717) + + * 新增出参:ImageId + + + + +## 实时互动-教育版(lcic) 版本:2022-08-17 + +### 第 66 次发布 + +发布时间:2025-02-12 01:42:16 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [QuestionInfo](https://cloud.tencent.com/document/api/1639/81423#QuestionInfo) + + * **修改成员**:QuestionId, QuestionContent, Duration, CorrectAnswer, AnswerStats + + + + +## 知识引擎原子能力(lkeap) 版本:2024-05-22 + +### 第 6 次发布 + +发布时间:2025-02-12 01:45:10 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateAttributeLabel](https://cloud.tencent.com/document/api/1772/115363) + + * 新增入参:KnowledgeBaseId, AttributeKey, AttributeName + +* [CreateQA](https://cloud.tencent.com/document/api/1772/115361) + + * 新增入参:KnowledgeBaseId, Question, Answer + + * 新增出参:QaId + +* [DeleteAttributeLabels](https://cloud.tencent.com/document/api/1772/115360) + + * 新增入参:KnowledgeBaseId, AttributeIds + +* [DeleteDocs](https://cloud.tencent.com/document/api/1772/115359) + + * 新增入参:KnowledgeBaseId, DocIds + +* [DeleteQAs](https://cloud.tencent.com/document/api/1772/115357) + + * 新增入参:KnowledgeBaseId, QaIds + +* [DescribeDoc](https://cloud.tencent.com/document/api/1772/115356) + + * 新增入参:KnowledgeBaseId, DocId + + * 新增出参:DocId, Status, FileName, UpdateTime + +* [ImportQAs](https://cloud.tencent.com/document/api/1772/115355) + + * 新增入参:KnowledgeBaseId, FileName, FileUrl, FileType + +* [ListAttributeLabels](https://cloud.tencent.com/document/api/1772/115354) + + * 新增入参:KnowledgeBaseId, PageNumber, PageSize + + * 新增出参:TotalCount + +* [ListDocs](https://cloud.tencent.com/document/api/1772/115353) + + * 新增入参:KnowledgeBaseId, PageNumber, PageSize + + * 新增出参:TotalCount + +* [ListQAs](https://cloud.tencent.com/document/api/1772/115352) + + * 新增入参:KnowledgeBaseId, PageNumber, PageSize + + * 新增出参:TotalCount + +* [ModifyAttributeLabel](https://cloud.tencent.com/document/api/1772/115351) + + * 新增入参:KnowledgeBaseId, AttributeId, AttributeKey, AttributeName + +* [ModifyQA](https://cloud.tencent.com/document/api/1772/115350) + + * 新增入参:KnowledgeBaseId, QaId, Question, Answer + + + + +## 云数据库 MongoDB(mongodb) 版本:2019-07-25 + +### 第 49 次发布 + +发布时间:2025-02-12 01:46:31 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeDBInstanceURL](https://cloud.tencent.com/document/api/240/116065) + +新增数据结构: + +* [DbURL](https://cloud.tencent.com/document/api/240/38576#DbURL) + + + +## 云数据库 MongoDB(mongodb) 版本:2018-04-08 + + + +## 前端性能监控(rum) 版本:2021-06-22 + +### 第 40 次发布 + +发布时间:2025-02-12 01:54:12 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeProjects](https://cloud.tencent.com/document/api/1464/61475) + +* [DescribeScores](https://cloud.tencent.com/document/api/1464/61951) + +* [DescribeTawInstances](https://cloud.tencent.com/document/api/1464/69213) + + + + +## 容器服务(tke) 版本:2022-05-01 + + + +## 容器服务(tke) 版本:2018-05-25 + +### 第 191 次发布 + +发布时间:2025-02-12 02:04:02 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [InstallAddon](https://cloud.tencent.com/document/api/457/94181) + + * 新增入参:DryRun + +* [UpdateAddon](https://cloud.tencent.com/document/api/457/94180) + + * 新增入参:DryRun + + + + +## 私有网络(vpc) 版本:2017-03-12 + +### 第 243 次发布 + +发布时间:2025-02-12 02:11:23 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CloneSecurityGroup](https://cloud.tencent.com/document/api/215/51025) + + * **修改入参**:Tags + + + + +## Web 应用防火墙(waf) 版本:2018-01-25 + +### 第 106 次发布 + +发布时间:2025-02-12 02:13:38 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [InstanceInfo](https://cloud.tencent.com/document/api/627/53609#InstanceInfo) + + * 新增成员:Last3MaxQPS, Last3MaxBandwidth + + + + +## 数据开发治理平台 WeData(wedata) 版本:2021-08-20 + +### 第 122 次发布 + +发布时间:2025-02-12 02:14:53 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeInstanceDetailInfo](https://cloud.tencent.com/document/api/1267/116066) + + + # Release 3.0.1265.1 ## 运维安全中心(堡垒机)(bh) 版本:2023-04-18 diff --git a/SERVICE_CHANGELOG.md b/SERVICE_CHANGELOG.md index 217a3c2108..80a16cd57d 100644 --- a/SERVICE_CHANGELOG.md +++ b/SERVICE_CHANGELOG.md @@ -1,10 +1,10 @@ # 本版本更新包含以下内容: -## 运维安全中心(堡垒机)(bh) 版本:2023-04-18 +## 云服务器(cvm) 版本:2017-03-12 -### 第 3 次发布 +### 第 141 次发布 -发布时间:2025-02-11 01:10:23 +发布时间:2025-02-12 01:21:20 本次发布包含了以下内容: @@ -12,179 +12,201 @@ 修改接口: -* [CreateAcl](https://cloud.tencent.com/document/api/1025/74411) +* [ImportImage](https://cloud.tencent.com/document/api/213/15717) - * 新增入参:AppAssetIdSet + * 新增出参:ImageId -* [DescribeAcls](https://cloud.tencent.com/document/api/1025/74409) - * 新增入参:AuthorizedAppAssetIdSet -* [DescribeDeviceGroupMembers](https://cloud.tencent.com/document/api/1025/74787) - * 新增入参:KindSet +## 实时互动-教育版(lcic) 版本:2022-08-17 -* [DescribeUsers](https://cloud.tencent.com/document/api/1025/74404) +### 第 66 次发布 - * 新增入参:AuthorizedAppAssetIdSet +发布时间:2025-02-12 01:42:16 -* [ModifyAcl](https://cloud.tencent.com/document/api/1025/74408) +本次发布包含了以下内容: - * 新增入参:AppAssetIdSet +改善已有的文档。 -* [SearchSession](https://cloud.tencent.com/document/api/1025/112711) +修改数据结构: - * 新增入参:AppAssetKindSet, AppAssetUrl +* [QuestionInfo](https://cloud.tencent.com/document/api/1639/81423#QuestionInfo) - * 新增出参:SessionSet + * **修改成员**:QuestionId, QuestionContent, Duration, CorrectAnswer, AnswerStats -新增数据结构: -* [AppAsset](https://cloud.tencent.com/document/api/1025/74416#AppAsset) -* [SessionResult](https://cloud.tencent.com/document/api/1025/74416#SessionResult) -修改数据结构: +## 知识引擎原子能力(lkeap) 版本:2024-05-22 -* [Acl](https://cloud.tencent.com/document/api/1025/74416#Acl) +### 第 6 次发布 - * 新增成员:AppAssetSet +发布时间:2025-02-12 01:45:10 +本次发布包含了以下内容: +改善已有的文档。 +修改接口: -## 云硬盘(cbs) 版本:2017-03-12 +* [CreateAttributeLabel](https://cloud.tencent.com/document/api/1772/115363) -### 第 60 次发布 + * 新增入参:KnowledgeBaseId, AttributeKey, AttributeName -发布时间:2025-02-11 01:13:01 +* [CreateQA](https://cloud.tencent.com/document/api/1772/115361) -本次发布包含了以下内容: + * 新增入参:KnowledgeBaseId, Question, Answer -改善已有的文档。 + * 新增出参:QaId -修改数据结构: +* [DeleteAttributeLabels](https://cloud.tencent.com/document/api/1772/115360) -* [Disk](https://cloud.tencent.com/document/api/362/15669#Disk) + * 新增入参:KnowledgeBaseId, AttributeIds - * 新增成员:EncryptType +* [DeleteDocs](https://cloud.tencent.com/document/api/1772/115359) + * 新增入参:KnowledgeBaseId, DocIds +* [DeleteQAs](https://cloud.tencent.com/document/api/1772/115357) + * 新增入参:KnowledgeBaseId, QaIds -## 日志服务(cls) 版本:2020-10-16 +* [DescribeDoc](https://cloud.tencent.com/document/api/1772/115356) -### 第 120 次发布 + * 新增入参:KnowledgeBaseId, DocId -发布时间:2025-02-11 01:19:31 + * 新增出参:DocId, Status, FileName, UpdateTime -本次发布包含了以下内容: +* [ImportQAs](https://cloud.tencent.com/document/api/1772/115355) -改善已有的文档。 + * 新增入参:KnowledgeBaseId, FileName, FileUrl, FileType -修改接口: +* [ListAttributeLabels](https://cloud.tencent.com/document/api/1772/115354) -* [CreateTopic](https://cloud.tencent.com/document/api/614/56456) + * 新增入参:KnowledgeBaseId, PageNumber, PageSize - * 新增入参:TopicId + * 新增出参:TotalCount +* [ListDocs](https://cloud.tencent.com/document/api/1772/115353) + * 新增入参:KnowledgeBaseId, PageNumber, PageSize + * 新增出参:TotalCount -## 多网聚合加速(mna) 版本:2021-01-19 +* [ListQAs](https://cloud.tencent.com/document/api/1772/115352) -### 第 26 次发布 + * 新增入参:KnowledgeBaseId, PageNumber, PageSize -发布时间:2025-02-11 01:46:01 + * 新增出参:TotalCount + +* [ModifyAttributeLabel](https://cloud.tencent.com/document/api/1772/115351) + + * 新增入参:KnowledgeBaseId, AttributeId, AttributeKey, AttributeName + +* [ModifyQA](https://cloud.tencent.com/document/api/1772/115350) + + * 新增入参:KnowledgeBaseId, QaId, Question, Answer + + + + +## 云数据库 MongoDB(mongodb) 版本:2019-07-25 + +### 第 49 次发布 + +发布时间:2025-02-12 01:46:31 本次发布包含了以下内容: 改善已有的文档。 -修改数据结构: +新增接口: -* [FlowDetails](https://cloud.tencent.com/document/api/1385/55846#FlowDetails) +* [DescribeDBInstanceURL](https://cloud.tencent.com/document/api/240/116065) - * **修改成员**:NetDetails, DeviceId, MaxValue, AvgValue, TotalValue +新增数据结构: +* [DbURL](https://cloud.tencent.com/document/api/240/38576#DbURL) -## 媒体处理(mps) 版本:2019-06-12 +## 云数据库 MongoDB(mongodb) 版本:2018-04-08 -### 第 110 次发布 -发布时间:2025-02-10 16:27:39 + +## 前端性能监控(rum) 版本:2021-06-22 + +### 第 40 次发布 + +发布时间:2025-02-12 01:54:12 本次发布包含了以下内容: 改善已有的文档。 -新增数据结构: +修改接口: -* [PidSelector](https://cloud.tencent.com/document/api/862/37615#PidSelector) +* [DescribeProjects](https://cloud.tencent.com/document/api/1464/61475) -修改数据结构: +* [DescribeScores](https://cloud.tencent.com/document/api/1464/61951) -* [CreateOutputInfo](https://cloud.tencent.com/document/api/862/37615#CreateOutputInfo) +* [DescribeTawInstances](https://cloud.tencent.com/document/api/1464/69213) - * 新增成员:PidSelector -* [DescribeFlow](https://cloud.tencent.com/document/api/862/37615#DescribeFlow) - * 新增成员:AllowedInputProtocols, AllowedOutputProtocols -* [DescribeOutput](https://cloud.tencent.com/document/api/862/37615#DescribeOutput) +## 容器服务(tke) 版本:2022-05-01 - * 新增成员:PidSelector -* [ModifyOutputInfo](https://cloud.tencent.com/document/api/862/37615#ModifyOutputInfo) - * 新增成员:PidSelector +## 容器服务(tke) 版本:2018-05-25 +### 第 191 次发布 +发布时间:2025-02-12 02:04:02 +本次发布包含了以下内容: -## 消息队列 MQTT 版(mqtt) 版本:2024-05-16 +改善已有的文档。 -### 第 5 次发布 +修改接口: -发布时间:2025-02-11 01:48:54 +* [InstallAddon](https://cloud.tencent.com/document/api/457/94181) + + * 新增入参:DryRun + +* [UpdateAddon](https://cloud.tencent.com/document/api/457/94180) + + * 新增入参:DryRun + + + + +## 私有网络(vpc) 版本:2017-03-12 + +### 第 243 次发布 + +发布时间:2025-02-12 02:11:23 本次发布包含了以下内容: 改善已有的文档。 -新增接口: +修改接口: -* [CreateInsPublicEndpoint](https://cloud.tencent.com/document/api/1778/116045) -* [CreateInstance](https://cloud.tencent.com/document/api/1778/116044) -* [CreateUser](https://cloud.tencent.com/document/api/1778/116051) -* [DeleteInsPublicEndpoint](https://cloud.tencent.com/document/api/1778/116043) -* [DeleteInstance](https://cloud.tencent.com/document/api/1778/116042) -* [DeleteUser](https://cloud.tencent.com/document/api/1778/116050) -* [DescribeInsPublicEndpoints](https://cloud.tencent.com/document/api/1778/116041) -* [DescribeUserList](https://cloud.tencent.com/document/api/1778/116049) -* [ModifyInsPublicEndpoint](https://cloud.tencent.com/document/api/1778/116040) -* [ModifyInstance](https://cloud.tencent.com/document/api/1778/116039) -* [ModifyUser](https://cloud.tencent.com/document/api/1778/116048) +* [CloneSecurityGroup](https://cloud.tencent.com/document/api/215/51025) -新增数据结构: + * **修改入参**:Tags -* [IpRule](https://cloud.tencent.com/document/api/1778/111031#IpRule) -* [MQTTEndpointItem](https://cloud.tencent.com/document/api/1778/111031#MQTTEndpointItem) -* [MQTTUserItem](https://cloud.tencent.com/document/api/1778/111031#MQTTUserItem) -* [PublicAccessRule](https://cloud.tencent.com/document/api/1778/111031#PublicAccessRule) -* [Tag](https://cloud.tencent.com/document/api/1778/111031#Tag) -* [VpcInfo](https://cloud.tencent.com/document/api/1778/111031#VpcInfo) -## 文字识别(ocr) 版本:2018-11-19 +## Web 应用防火墙(waf) 版本:2018-01-25 -### 第 174 次发布 +### 第 106 次发布 -发布时间:2025-02-11 01:50:27 +发布时间:2025-02-12 02:13:38 本次发布包含了以下内容: @@ -192,18 +214,18 @@ 修改数据结构: -* [TextVehicleFront](https://cloud.tencent.com/document/api/866/33527#TextVehicleFront) +* [InstanceInfo](https://cloud.tencent.com/document/api/627/53609#InstanceInfo) - * 新增成员:StateElectronic, InspectionValidityTimeElectronic, GenerationTimeElectronic + * 新增成员:Last3MaxQPS, Last3MaxBandwidth -## SSL 证书(ssl) 版本:2019-12-05 +## 数据开发治理平台 WeData(wedata) 版本:2021-08-20 -### 第 78 次发布 +### 第 122 次发布 -发布时间:2025-02-10 16:52:41 +发布时间:2025-02-12 02:14:53 本次发布包含了以下内容: @@ -211,8 +233,7 @@ 新增接口: -* [CertificateInfoSubmit](https://cloud.tencent.com/document/api/400/116033) -* [CertificateOrderSubmit](https://cloud.tencent.com/document/api/400/116032) +* [DescribeInstanceDetailInfo](https://cloud.tencent.com/document/api/1267/116066) @@ -9747,8 +9768,8 @@ 新增数据结构: -* [[AppAsset](https://cloud.tencent.com/document/api/1025/74416#AppAsset)](https://cloud.tencent.com/document/api/1025/74416#[AppAsset](https://cloud.tencent.com/document/api/1025/74416#AppAsset)) -* [[SessionResult](https://cloud.tencent.com/document/api/1025/74416#SessionResult)](https://cloud.tencent.com/document/api/1025/74416#[SessionResult](https://cloud.tencent.com/document/api/1025/74416#SessionResult)) +* [AppAsset](https://cloud.tencent.com/document/api/1025/74416#AppAsset) +* [SessionResult](https://cloud.tencent.com/document/api/1025/74416#SessionResult) 修改数据结构: @@ -44179,6 +44200,21 @@ ## 云服务器(cvm) 版本:2017-03-12 +### 第 141 次发布 + +发布时间:2025-02-12 01:21:20 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [ImportImage](https://cloud.tencent.com/document/api/213/15717) + + * 新增出参:ImageId + + ### 第 140 次发布 发布时间:2025-01-20 01:11:52 @@ -94567,6 +94603,21 @@ ## 实时互动-教育版(lcic) 版本:2022-08-17 +### 第 66 次发布 + +发布时间:2025-02-12 01:42:16 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [QuestionInfo](https://cloud.tencent.com/document/api/1639/81423#QuestionInfo) + + * **修改成员**:QuestionId, QuestionContent, Duration, CorrectAnswer, AnswerStats + + ### 第 65 次发布 发布时间:2024-11-29 01:24:07 @@ -100859,6 +100910,75 @@ ## 知识引擎原子能力(lkeap) 版本:2024-05-22 +### 第 6 次发布 + +发布时间:2025-02-12 01:45:10 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateAttributeLabel](https://cloud.tencent.com/document/api/1772/115363) + + * 新增入参:KnowledgeBaseId, AttributeKey, AttributeName + +* [CreateQA](https://cloud.tencent.com/document/api/1772/115361) + + * 新增入参:KnowledgeBaseId, Question, Answer + + * 新增出参:QaId + +* [DeleteAttributeLabels](https://cloud.tencent.com/document/api/1772/115360) + + * 新增入参:KnowledgeBaseId, AttributeIds + +* [DeleteDocs](https://cloud.tencent.com/document/api/1772/115359) + + * 新增入参:KnowledgeBaseId, DocIds + +* [DeleteQAs](https://cloud.tencent.com/document/api/1772/115357) + + * 新增入参:KnowledgeBaseId, QaIds + +* [DescribeDoc](https://cloud.tencent.com/document/api/1772/115356) + + * 新增入参:KnowledgeBaseId, DocId + + * 新增出参:DocId, Status, FileName, UpdateTime + +* [ImportQAs](https://cloud.tencent.com/document/api/1772/115355) + + * 新增入参:KnowledgeBaseId, FileName, FileUrl, FileType + +* [ListAttributeLabels](https://cloud.tencent.com/document/api/1772/115354) + + * 新增入参:KnowledgeBaseId, PageNumber, PageSize + + * 新增出参:TotalCount + +* [ListDocs](https://cloud.tencent.com/document/api/1772/115353) + + * 新增入参:KnowledgeBaseId, PageNumber, PageSize + + * 新增出参:TotalCount + +* [ListQAs](https://cloud.tencent.com/document/api/1772/115352) + + * 新增入参:KnowledgeBaseId, PageNumber, PageSize + + * 新增出参:TotalCount + +* [ModifyAttributeLabel](https://cloud.tencent.com/document/api/1772/115351) + + * 新增入参:KnowledgeBaseId, AttributeId, AttributeKey, AttributeName + +* [ModifyQA](https://cloud.tencent.com/document/api/1772/115350) + + * 新增入参:KnowledgeBaseId, QaId, Question, Answer + + ### 第 5 次发布 发布时间:2025-02-05 16:47:08 @@ -103475,6 +103595,22 @@ ## 云数据库 MongoDB(mongodb) 版本:2019-07-25 +### 第 49 次发布 + +发布时间:2025-02-12 01:46:31 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[DescribeDBInstanceURL](https://cloud.tencent.com/document/api/240/116065)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[DbURL](https://cloud.tencent.com/document/api/240/38576#DbURL)](https://cloud.tencent.com/document/api/240/38576#[DbURL](https://cloud.tencent.com/document/api/240/38576#DbURL)) + ### 第 48 次发布 发布时间:2025-01-08 01:23:10 @@ -106945,7 +107081,7 @@ 新增数据结构: -* [[PidSelector](https://cloud.tencent.com/document/api/862/37615#PidSelector)](https://cloud.tencent.com/document/api/862/37615#[PidSelector](https://cloud.tencent.com/document/api/862/37615#PidSelector)) +* [PidSelector](https://cloud.tencent.com/document/api/862/37615#PidSelector) 修改数据结构: @@ -110219,26 +110355,26 @@ 新增接口: -* [[CreateInsPublicEndpoint](https://cloud.tencent.com/document/api/1778/116045)](https://cloud.tencent.com/document/api/#/#) -* [[CreateInstance](https://cloud.tencent.com/document/api/1778/116044)](https://cloud.tencent.com/document/api/#/#) -* [[CreateUser](https://cloud.tencent.com/document/api/1778/116051)](https://cloud.tencent.com/document/api/#/#) -* [[DeleteInsPublicEndpoint](https://cloud.tencent.com/document/api/1778/116043)](https://cloud.tencent.com/document/api/#/#) -* [[DeleteInstance](https://cloud.tencent.com/document/api/1778/116042)](https://cloud.tencent.com/document/api/#/#) -* [[DeleteUser](https://cloud.tencent.com/document/api/1778/116050)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeInsPublicEndpoints](https://cloud.tencent.com/document/api/1778/116041)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeUserList](https://cloud.tencent.com/document/api/1778/116049)](https://cloud.tencent.com/document/api/#/#) -* [[ModifyInsPublicEndpoint](https://cloud.tencent.com/document/api/1778/116040)](https://cloud.tencent.com/document/api/#/#) -* [[ModifyInstance](https://cloud.tencent.com/document/api/1778/116039)](https://cloud.tencent.com/document/api/#/#) -* [[ModifyUser](https://cloud.tencent.com/document/api/1778/116048)](https://cloud.tencent.com/document/api/#/#) +* [CreateInsPublicEndpoint](https://cloud.tencent.com/document/api/1778/116045) +* [CreateInstance](https://cloud.tencent.com/document/api/1778/116044) +* [CreateUser](https://cloud.tencent.com/document/api/1778/116051) +* [DeleteInsPublicEndpoint](https://cloud.tencent.com/document/api/1778/116043) +* [DeleteInstance](https://cloud.tencent.com/document/api/1778/116042) +* [DeleteUser](https://cloud.tencent.com/document/api/1778/116050) +* [DescribeInsPublicEndpoints](https://cloud.tencent.com/document/api/1778/116041) +* [DescribeUserList](https://cloud.tencent.com/document/api/1778/116049) +* [ModifyInsPublicEndpoint](https://cloud.tencent.com/document/api/1778/116040) +* [ModifyInstance](https://cloud.tencent.com/document/api/1778/116039) +* [ModifyUser](https://cloud.tencent.com/document/api/1778/116048) 新增数据结构: -* [[IpRule](https://cloud.tencent.com/document/api/1778/111031#IpRule)](https://cloud.tencent.com/document/api/1778/111031#[IpRule](https://cloud.tencent.com/document/api/1778/111031#IpRule)) -* [[MQTTEndpointItem](https://cloud.tencent.com/document/api/1778/111031#MQTTEndpointItem)](https://cloud.tencent.com/document/api/1778/111031#[MQTTEndpointItem](https://cloud.tencent.com/document/api/1778/111031#MQTTEndpointItem)) -* [[MQTTUserItem](https://cloud.tencent.com/document/api/1778/111031#MQTTUserItem)](https://cloud.tencent.com/document/api/1778/111031#[MQTTUserItem](https://cloud.tencent.com/document/api/1778/111031#MQTTUserItem)) -* [[PublicAccessRule](https://cloud.tencent.com/document/api/1778/111031#PublicAccessRule)](https://cloud.tencent.com/document/api/1778/111031#[PublicAccessRule](https://cloud.tencent.com/document/api/1778/111031#PublicAccessRule)) -* [[Tag](https://cloud.tencent.com/document/api/1778/111031#Tag)](https://cloud.tencent.com/document/api/1778/111031#[Tag](https://cloud.tencent.com/document/api/1778/111031#Tag)) -* [[VpcInfo](https://cloud.tencent.com/document/api/1778/111031#VpcInfo)](https://cloud.tencent.com/document/api/1778/111031#[VpcInfo](https://cloud.tencent.com/document/api/1778/111031#VpcInfo)) +* [IpRule](https://cloud.tencent.com/document/api/1778/111031#IpRule) +* [MQTTEndpointItem](https://cloud.tencent.com/document/api/1778/111031#MQTTEndpointItem) +* [MQTTUserItem](https://cloud.tencent.com/document/api/1778/111031#MQTTUserItem) +* [PublicAccessRule](https://cloud.tencent.com/document/api/1778/111031#PublicAccessRule) +* [Tag](https://cloud.tencent.com/document/api/1778/111031#Tag) +* [VpcInfo](https://cloud.tencent.com/document/api/1778/111031#VpcInfo) ### 第 4 次发布 @@ -123624,6 +123760,23 @@ ## 前端性能监控(rum) 版本:2021-06-22 +### 第 40 次发布 + +发布时间:2025-02-12 01:54:12 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeProjects](https://cloud.tencent.com/document/api/1464/61475) + +* [DescribeScores](https://cloud.tencent.com/document/api/1464/61951) + +* [DescribeTawInstances](https://cloud.tencent.com/document/api/1464/69213) + + ### 第 39 次发布 发布时间:2025-01-22 01:23:51 @@ -129282,8 +129435,8 @@ 新增接口: -* [[CertificateInfoSubmit](https://cloud.tencent.com/document/api/400/116033)](https://cloud.tencent.com/document/api/#/#) -* [[CertificateOrderSubmit](https://cloud.tencent.com/document/api/400/116032)](https://cloud.tencent.com/document/api/#/#) +* [CertificateInfoSubmit](https://cloud.tencent.com/document/api/400/116033) +* [CertificateOrderSubmit](https://cloud.tencent.com/document/api/400/116032) ### 第 77 次发布 @@ -153765,6 +153918,25 @@ ## 容器服务(tke) 版本:2018-05-25 +### 第 191 次发布 + +发布时间:2025-02-12 02:04:02 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [InstallAddon](https://cloud.tencent.com/document/api/457/94181) + + * 新增入参:DryRun + +* [UpdateAddon](https://cloud.tencent.com/document/api/457/94180) + + * 新增入参:DryRun + + ### 第 190 次发布 发布时间:2025-01-06 01:27:27 @@ -159834,7 +160006,7 @@ -## 远程实时操控(trro) 版本:2022-03-25 +## 实时互动-工业能源版(trro) 版本:2022-03-25 ### 第 8 次发布 @@ -173441,6 +173613,21 @@ ## 私有网络(vpc) 版本:2017-03-12 +### 第 243 次发布 + +发布时间:2025-02-12 02:11:23 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CloneSecurityGroup](https://cloud.tencent.com/document/api/215/51025) + + * **修改入参**:Tags + + ### 第 242 次发布 发布时间:2025-01-21 01:24:21 @@ -179122,6 +179309,21 @@ ## Web 应用防火墙(waf) 版本:2018-01-25 +### 第 106 次发布 + +发布时间:2025-02-12 02:13:38 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [InstanceInfo](https://cloud.tencent.com/document/api/627/53609#InstanceInfo) + + * 新增成员:Last3MaxQPS, Last3MaxBandwidth + + ### 第 105 次发布 发布时间:2024-12-31 01:34:54 @@ -181905,6 +182107,18 @@ ## 数据开发治理平台 WeData(wedata) 版本:2021-08-20 +### 第 122 次发布 + +发布时间:2025-02-12 02:14:53 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[DescribeInstanceDetailInfo](https://cloud.tencent.com/document/api/1267/116066)](https://cloud.tencent.com/document/api/#/#) + ### 第 121 次发布 发布时间:2025-01-17 01:30:18 diff --git a/products.md b/products.md index 7526129e72..b3a1098612 100644 --- a/products.md +++ b/products.md @@ -7,7 +7,7 @@ | advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2025-01-16 20:27:23 | | af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2024-11-22 11:20:38 | | afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2024-05-31 01:07:25 | -| aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2025-02-10 01:07:18 | +| aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2025-02-12 01:07:30 | | ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2023-08-17 01:06:14 | | ams | [音频内容安全](https://cloud.tencent.com/document/product/1219) | 2025-01-08 01:09:45 | | anicloud | [动效素材服务](https://cloud.tencent.com/document/product/1641) | 2023-05-18 01:01:53 | @@ -25,7 +25,7 @@ | bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2024-11-14 01:10:31 | | bh | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2025-02-11 01:10:23 | | bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2025-01-24 01:08:37 | -| billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2025-01-08 01:10:54 | +| billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2025-02-12 01:11:02 | | 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-10-18 01:04:14 | @@ -45,7 +45,7 @@ | ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2025-01-24 01:09:27 | | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2025-02-10 01:13:20 | | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-11-15 01:15:46 | -| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2025-01-14 01:09:45 | +| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2025-02-12 01:14:55 | | cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2024-11-08 01:17:02 | | cdwch | [腾讯云数据仓库TCHouse-C](https://cloud.tencent.com/document/product/1299) | 2024-12-24 01:16:40 | | cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2025-02-07 01:10:42 | @@ -65,7 +65,7 @@ | cloudaudit | [操作审计](https://cloud.tencent.com/document/product/629) | 2025-01-15 01:11:23 | | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2024-11-28 10:52:49 | | cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2024-12-27 10:55:16 | -| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2025-02-11 01:19:31 | +| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2025-02-12 01:19:26 | | cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2024-09-25 01:13:30 | | cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2025-01-23 01:12:19 | | cms | [内容安全](https://cloud.tencent.com/document/product/669) | 2024-06-20 01:24:47 | @@ -74,7 +74,7 @@ | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2023-09-21 02:09:54 | | csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2025-01-10 01:11:55 | | csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2024-03-20 01:12:25 | -| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2025-02-11 01:21:24 | +| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2025-02-12 01:21:20 | | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2025-02-10 01:21:46 | | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 | | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2025-01-09 01:14:38 | @@ -101,8 +101,8 @@ | eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 | | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2025-02-07 01:17:36 | | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2025-01-13 01:16:10 | -| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2025-02-10 01:33:14 | -| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2025-02-10 01:34:02 | +| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2025-02-12 01:33:24 | +| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2025-02-12 01:34:12 | | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2025-02-11 01:34:57 | | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2025-01-24 01:16:50 | | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-12-25 01:36:47 | @@ -140,11 +140,11 @@ | ivld | [媒体智能标签](https://cloud.tencent.com/document/product/1509) | 2024-12-16 01:41:44 | | keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2025-01-09 01:20:47 | | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2024-11-07 01:44:48 | -| lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2025-01-21 01:14:38 | +| lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2025-02-12 01:42:16 | | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2025-02-11 01:42:44 | | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2025-02-10 01:43:13 | | lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2025-02-07 01:22:45 | -| lkeap | [知识引擎原子能力](https://cloud.tencent.com/document/product/1772) | 2025-02-07 18:22:13 | +| lkeap | [知识引擎原子能力](https://cloud.tencent.com/document/product/1772) | 2025-02-12 01:45:10 | | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 | | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 | | mall | [商场客留大数据](https://cloud.tencent.com/document/product/1707) | 2024-03-20 01:20:11 | @@ -154,7 +154,7 @@ | mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-07-08 06:11:32 | | mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2024-11-11 01:49:22 | | mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2025-02-11 01:46:01 | -| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2025-02-08 17:32:26 | +| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2025-02-12 01:46:31 | | monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2025-02-10 01:46:38 | | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2025-02-10 16:37:04 | | mqtt | [消息队列 MQTT 版](https://cloud.tencent.com/document/product/1778) | 2025-02-11 01:48:54 | @@ -178,7 +178,7 @@ | region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2024-12-20 01:49:24 | | rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2023-12-25 00:16:39 | | rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 | -| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2025-01-24 01:22:58 | +| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2025-02-12 01:54:12 | | scf | [云函数](https://cloud.tencent.com/document/product/583) | 2025-01-22 01:24:07 | | ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2025-02-06 01:26:24 | | smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2024-12-17 01:50:10 | @@ -189,10 +189,10 @@ | solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 | | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2025-01-07 01:25:35 | | ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2023-11-15 02:18:28 | -| ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2025-02-11 01:56:55 | +| ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2025-02-12 01:56:44 | | sslpod | [证书监控 SSLPod](https://cloud.tencent.com/document/product/1084) | 2024-03-20 01:24:03 | | ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2024-11-08 02:01:05 | -| sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2024-12-11 01:57:49 | +| sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2025-02-12 01:57:30 | | svp | [节省计划](https://cloud.tencent.com/document/product/1761) | 2024-11-27 01:26:33 | | taf | [流量反欺诈](https://cloud.tencent.com/document/product/1031) | 2024-11-04 02:00:37 | | tag | [标签](https://cloud.tencent.com/document/product/651) | 2024-12-25 01:59:10 | @@ -217,7 +217,7 @@ | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2025-01-22 01:26:02 | | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2024-11-14 02:08:25 | | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2024-12-31 01:29:59 | -| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2025-01-24 21:27:12 | +| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2025-02-12 02:02:00 | | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2025-01-01 01:30:04 | | 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 | @@ -235,8 +235,8 @@ | trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2023-05-18 02:01:19 | | trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2025-02-07 01:31:01 | | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2024-11-08 02:10:59 | -| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2025-01-21 01:22:38 | -| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2025-02-11 02:06:40 | +| trro | [实时互动-工业能源版](https://cloud.tencent.com/document/product/1584) | 2025-02-12 02:06:25 | +| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2025-02-12 02:06:36 | | tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2025-01-21 01:22:52 | | tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-12-30 02:06:44 | | tsi | [腾讯同传系统](https://cloud.tencent.com/document/product/1399) | 2024-10-23 01:36:51 | @@ -248,14 +248,14 @@ | vcube | [音视频终端引擎](https://cloud.tencent.com/document/product/1449) | 2024-12-05 01:28:35 | | vdb | [向量数据库](https://cloud.tencent.com/document/product/1709) | 2025-01-08 01:31:23 | | 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 | +| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2025-02-12 02:09:38 | | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-11-18 02:09:13 | -| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2025-01-21 01:24:21 | +| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2025-02-12 02:11:23 | | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-12-19 02:13:39 | | vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-10-16 01:32:39 | -| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2025-01-06 01:30:59 | +| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2025-02-12 02:13:38 | | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2024-11-20 02:21:21 | -| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2025-01-17 01:30:18 | +| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2025-02-12 02:14:53 | | weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2024-11-07 02:23:06 | | wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 | | yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2024-06-05 02:38:46 | diff --git a/pyproject.toml b/pyproject.toml index d41d4b96c0..5c99490578 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ exclude = ["tccli/examples"] [project] name = "tccli" -version = "3.0.1265.1" +version = "3.0.1266.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.1265", + "tencentcloud-sdk-python>=3.0.1266", ] [project.urls] diff --git a/tccli/__init__.py b/tccli/__init__.py index e256844d00..0ee1aa577e 100644 --- a/tccli/__init__.py +++ b/tccli/__init__.py @@ -1 +1 @@ -__version__ = '3.0.1265.1' +__version__ = '3.0.1266.1' diff --git a/tccli/examples/lkeap/v20240522/CreateAttributeLabel.md b/tccli/examples/lkeap/v20240522/CreateAttributeLabel.md index 24d8fdd9cb..a18cba12a1 100644 --- a/tccli/examples/lkeap/v20240522/CreateAttributeLabel.md +++ b/tccli/examples/lkeap/v20240522/CreateAttributeLabel.md @@ -6,6 +6,9 @@ Input: ``` tccli lkeap CreateAttributeLabel --cli-unfold-argument \ + --KnowledgeBaseId 4901991032 \ + --AttributeKey style \ + --AttributeName 风格 \ --Labels.0.LabelName 现代 \ --Labels.1.LabelName 流行 ``` diff --git a/tccli/examples/lkeap/v20240522/CreateQA.md b/tccli/examples/lkeap/v20240522/CreateQA.md index 6758198974..dc0e73c4d8 100644 --- a/tccli/examples/lkeap/v20240522/CreateQA.md +++ b/tccli/examples/lkeap/v20240522/CreateQA.md @@ -6,6 +6,9 @@ Input: ``` tccli lkeap CreateQA --cli-unfold-argument \ + --KnowledgeBaseId 4901991032 \ + --Question 你是谁 \ + --Answer 我是腾讯大模型知识引擎 \ --AttributeLabels.0.AttributeId 1830994685416869312 \ --AttributeLabels.0.LabelIds 1830994685429452224 ``` @@ -14,6 +17,7 @@ Output: ``` { "Response": { + "QaId": "1830995120618932160", "RequestId": "28c960e9-c3ba-4a6d-be28-0d5d0dcca5ca" } } @@ -26,12 +30,17 @@ Output: Input: ``` -tccli lkeap CreateQA --cli-unfold-argument ``` +tccli lkeap CreateQA --cli-unfold-argument \ + --KnowledgeBaseId 4901991032 \ + --Question 你是谁 \ + --Answer 我是腾讯大模型知识引擎 +``` Output: ``` { "Response": { + "QaId": "1831158575324892608", "RequestId": "a37897c3-acf5-420a-bc32-9a1da9348c13" } } diff --git a/tccli/examples/lkeap/v20240522/DeleteAttributeLabels.md b/tccli/examples/lkeap/v20240522/DeleteAttributeLabels.md index 6d3e46056e..16848190bb 100644 --- a/tccli/examples/lkeap/v20240522/DeleteAttributeLabels.md +++ b/tccli/examples/lkeap/v20240522/DeleteAttributeLabels.md @@ -5,7 +5,10 @@ Input: ``` -tccli lkeap DeleteAttributeLabels --cli-unfold-argument ``` +tccli lkeap DeleteAttributeLabels --cli-unfold-argument \ + --KnowledgeBaseId 4901991032 \ + --AttributeIds 1830996257455365986 +``` Output: ``` diff --git a/tccli/examples/lkeap/v20240522/DeleteDocs.md b/tccli/examples/lkeap/v20240522/DeleteDocs.md index 15cc07d308..6201d367f1 100644 --- a/tccli/examples/lkeap/v20240522/DeleteDocs.md +++ b/tccli/examples/lkeap/v20240522/DeleteDocs.md @@ -5,7 +5,10 @@ Input: ``` -tccli lkeap DeleteDocs --cli-unfold-argument ``` +tccli lkeap DeleteDocs --cli-unfold-argument \ + --KnowledgeBaseId 4901991032 \ + --DocIds 1830996257459865536 +``` Output: ``` diff --git a/tccli/examples/lkeap/v20240522/DeleteQAs.md b/tccli/examples/lkeap/v20240522/DeleteQAs.md index 523e76332b..322550785f 100644 --- a/tccli/examples/lkeap/v20240522/DeleteQAs.md +++ b/tccli/examples/lkeap/v20240522/DeleteQAs.md @@ -5,7 +5,10 @@ Input: ``` -tccli lkeap DeleteQAs --cli-unfold-argument ``` +tccli lkeap DeleteQAs --cli-unfold-argument \ + --KnowledgeBaseId 4901991032 \ + --QaIds 1830996257459865536 +``` Output: ``` diff --git a/tccli/examples/lkeap/v20240522/DescribeDoc.md b/tccli/examples/lkeap/v20240522/DescribeDoc.md index 1c3dc9470c..9b4d096ac4 100644 --- a/tccli/examples/lkeap/v20240522/DescribeDoc.md +++ b/tccli/examples/lkeap/v20240522/DescribeDoc.md @@ -5,13 +5,19 @@ Input: ``` -tccli lkeap DescribeDoc --cli-unfold-argument ``` +tccli lkeap DescribeDoc --cli-unfold-argument \ + --KnowledgeBaseId 4901991032 \ + --DocId 1830881178265519872 +``` Output: ``` { "Response": { - "RequestId": "bf318516-67a7-41df-9460-e581b4ecedbd" + "DocId": "1830881178265519872", + "FileName": "product_manuals.docx", + "RequestId": "bf318516-67a7-41df-9460-e581b4ecedbd", + "Status": "Parsing" } } ``` diff --git a/tccli/examples/lkeap/v20240522/ImportQAs.md b/tccli/examples/lkeap/v20240522/ImportQAs.md index e009663c07..35390229e9 100644 --- a/tccli/examples/lkeap/v20240522/ImportQAs.md +++ b/tccli/examples/lkeap/v20240522/ImportQAs.md @@ -5,7 +5,11 @@ Input: ``` -tccli lkeap ImportQAs --cli-unfold-argument ``` +tccli lkeap ImportQAs --cli-unfold-argument \ + --KnowledgeBaseId 4901991032 \ + --FileName qa_import.xlsx \ + --FileUrl https://xxx.cos.ap-guangzhou.myqcloud.com/file/qa_import.xlsx +``` Output: ``` diff --git a/tccli/examples/lkeap/v20240522/ListAttributeLabels.md b/tccli/examples/lkeap/v20240522/ListAttributeLabels.md index 9ed6ee0611..343fbac0a3 100644 --- a/tccli/examples/lkeap/v20240522/ListAttributeLabels.md +++ b/tccli/examples/lkeap/v20240522/ListAttributeLabels.md @@ -5,7 +5,11 @@ Input: ``` -tccli lkeap ListAttributeLabels --cli-unfold-argument ``` +tccli lkeap ListAttributeLabels --cli-unfold-argument \ + --KnowledgeBaseId 4901991032 \ + --PageNumber 1 \ + --PageSize 50 +``` Output: ``` @@ -28,7 +32,8 @@ Output: ] } ], - "RequestId": "c5821f64-064a-448c-9279-b40eff06f4ae" + "RequestId": "c5821f64-064a-448c-9279-b40eff06f4ae", + "TotalCount": 1 } } ``` diff --git a/tccli/examples/lkeap/v20240522/ListDocs.md b/tccli/examples/lkeap/v20240522/ListDocs.md index 64da72a535..d1a68b677a 100644 --- a/tccli/examples/lkeap/v20240522/ListDocs.md +++ b/tccli/examples/lkeap/v20240522/ListDocs.md @@ -5,7 +5,11 @@ Input: ``` -tccli lkeap ListDocs --cli-unfold-argument ``` +tccli lkeap ListDocs --cli-unfold-argument \ + --KnowledgeBaseId 4901991032 \ + --PageNumber 1 \ + --PageSize 10 +``` Output: ``` @@ -18,7 +22,8 @@ Output: "Status": "Success" } ], - "RequestId": "292da1b4-1125-4423-b7cd-5cf3b14eb98d" + "RequestId": "292da1b4-1125-4423-b7cd-5cf3b14eb98d", + "TotalCount": 1 } } ``` diff --git a/tccli/examples/lkeap/v20240522/ListQAs.md b/tccli/examples/lkeap/v20240522/ListQAs.md index df7524e995..a8287aa265 100644 --- a/tccli/examples/lkeap/v20240522/ListQAs.md +++ b/tccli/examples/lkeap/v20240522/ListQAs.md @@ -5,7 +5,11 @@ Input: ``` -tccli lkeap ListQAs --cli-unfold-argument ``` +tccli lkeap ListQAs --cli-unfold-argument \ + --KnowledgeBaseId 49019910127 \ + --PageNumber 1 \ + --PageSize 10 +``` Output: ``` @@ -26,7 +30,8 @@ Output: "Question": "你是谁" } ], - "RequestId": "5f95d7c7-c881-49d1-98fc-34f138d8ca54" + "RequestId": "5f95d7c7-c881-49d1-98fc-34f138d8ca54", + "TotalCount": 1 } } ``` diff --git a/tccli/examples/lkeap/v20240522/ModifyAttributeLabel.md b/tccli/examples/lkeap/v20240522/ModifyAttributeLabel.md index e234c2ce46..2fd58b3589 100644 --- a/tccli/examples/lkeap/v20240522/ModifyAttributeLabel.md +++ b/tccli/examples/lkeap/v20240522/ModifyAttributeLabel.md @@ -6,6 +6,10 @@ Input: ``` tccli lkeap ModifyAttributeLabel --cli-unfold-argument \ + --KnowledgeBaseId 4901991032 \ + --AttributeId 1830993312966182848 \ + --AttributeKey style \ + --AttributeName 风格 \ --Labels.0.LabelId 1830993312978765760 \ --Labels.0.LabelName 主流 \ --Labels.1.LabelId 1830993312978765761 \ diff --git a/tccli/examples/lkeap/v20240522/ModifyQA.md b/tccli/examples/lkeap/v20240522/ModifyQA.md index 2479d0e0fc..1a66eacea5 100644 --- a/tccli/examples/lkeap/v20240522/ModifyQA.md +++ b/tccli/examples/lkeap/v20240522/ModifyQA.md @@ -6,6 +6,10 @@ Input: ``` tccli lkeap ModifyQA --cli-unfold-argument \ + --KnowledgeBaseId 4901991032 \ + --QaId 1830995120618932160 \ + --Question 你是谁 \ + --Answer 我是腾讯大模型知识引擎 \ --AttributeLabels.0.AttributeId 1830994685416869312 \ --AttributeLabels.0.LabelIds 1830994685429452224 ``` diff --git a/tccli/examples/mongodb/v20190725/DescribeDBInstanceURL.md b/tccli/examples/mongodb/v20190725/DescribeDBInstanceURL.md new file mode 100644 index 0000000000..c91335f214 --- /dev/null +++ b/tccli/examples/mongodb/v20190725/DescribeDBInstanceURL.md @@ -0,0 +1,30 @@ +**Example 1: 获取访问实例的 URI。** + +获取指定实例的 URI 形式的连接串访问地址示例,包含 URI 类型、URI 连接串。 + +Input: + +``` +tccli mongodb DescribeDBInstanceURL --cli-unfold-argument \ + --InstanceId cmgo-g5***** +``` + +Output: +``` +{ + "Response": { + "RequestId": "8e4cb480-9d32-11ec-8dfc-037b69052954", + "Urls": [ + { + "Address": "mongodb://mongouser:******@10.*.0.**:27017,10.*.0.**:27017/test?authSource=admin", + "URLType": "CLUSTER_ALL" + }, + { + "Address": "mongodb://mongouser:******@10.*.0.**:27017,10.*.0.**:27017/test?authSource=admin&readPreference=secondaryPreferred", + "URLType": "CLUSTER_READ_SECONDARY" + } + ] + } +} +``` + diff --git a/tccli/examples/rum/v20210622/CreateReleaseFile.md b/tccli/examples/rum/v20210622/CreateReleaseFile.md index 9a11c6e7e4..067b708f4c 100644 --- a/tccli/examples/rum/v20210622/CreateReleaseFile.md +++ b/tccli/examples/rum/v20210622/CreateReleaseFile.md @@ -10,7 +10,7 @@ tccli rum CreateReleaseFile --cli-unfold-argument \ --Files.0.Version '0.0.1' \ --Files.0.FileName 'a.js.map' \ --Files.0.FileKey '1-0.0.1-a.js.map' \ - --Files.0.FileHash 'sadfjfhdkhfksdjhg;' + --Files.0.FileHash 'XNdLOW5RN***' ``` Output: diff --git a/tccli/examples/rum/v20210622/DescribeAppDimensionMetrics.md b/tccli/examples/rum/v20210622/DescribeAppDimensionMetrics.md index 884297cff1..cbcb2fe775 100644 --- a/tccli/examples/rum/v20210622/DescribeAppDimensionMetrics.md +++ b/tccli/examples/rum/v20210622/DescribeAppDimensionMetrics.md @@ -18,7 +18,7 @@ Output: ``` { "Response": { - "Data": "'{\"status\":\"ok\",\"code\":10000,\"msg\":\"ok\",\"data\":[{\"by_dimension\":[\"d2\",\"m.zhipin.com\"],\"cnt\":1280,\"cost_time\":1480,\"dimension\":\"domain\",\"dimension_name\":\"d2\",\"dimension_value\":\"m.zhipin.com\",\"rank_cnt\":1,\"request_cnt\":1280,\"total_cnt\":1280,\"total_request_cnt\":1280},{\"by_dimension\":[\"d8\",\"unsupported\"],\"cnt\":1280,\"cost_time\":1480,\"dimension\":\"region\",\"dimension_name\":\"d8\",\"dimension_value\":\"unsupported\",\"rank_cnt\":1,\"request_cnt\":1280,\"total_cnt\":1280,\"total_request_cnt\":1280}]}'", + "Data": "'{\"status\":\"ok\",\"code\":10000,\"msg\":\"ok\",\"data\":[{\"by_dimension\":[\"d2\",\"m.zipkin.com\"],\"cnt\":1280,\"cost_time\":1480,\"dimension\":\"domain\",\"dimension_name\":\"d2\",\"dimension_value\":\"m.zipkin.com\",\"rank_cnt\":1,\"request_cnt\":1280,\"total_cnt\":1280,\"total_request_cnt\":1280},{\"by_dimension\":[\"d8\",\"unsupported\"],\"cnt\":1280,\"cost_time\":1480,\"dimension\":\"region\",\"dimension_name\":\"d8\",\"dimension_value\":\"unsupported\",\"rank_cnt\":1,\"request_cnt\":1280,\"total_cnt\":1280,\"total_request_cnt\":1280}]}'", "RequestId": "8a211fc4-7ce2-40ce-ad49-1c29cca2f3fc" } } diff --git a/tccli/examples/rum/v20210622/DescribeReleaseFileSign.md b/tccli/examples/rum/v20210622/DescribeReleaseFileSign.md index 160ca8eba9..8a6cdcd1d9 100644 --- a/tccli/examples/rum/v20210622/DescribeReleaseFileSign.md +++ b/tccli/examples/rum/v20210622/DescribeReleaseFileSign.md @@ -11,11 +11,11 @@ Output: ``` { "Response": { - "SecretKey": "dahfldaflndfdfdsf", - "SecretID": "asdkadalsdlsafk", - "SessionToken": "fdslkfjdkjfldsjfdfdf", - "StartTime": 1232132132, - "ExpiredTime": 123212143434, + "SecretKey": "OnKjAEea4W5***", + "SecretID": "AKIDDHDvz_oW***", + "SessionToken": "2nTxEweEOsBoGaz0sjm***", + "StartTime": 1739258276, + "ExpiredTime": 1739260076, "RequestId": "65a8fec7-2b39-4b11-893f-3715279d235f" } } diff --git a/tccli/examples/rum/v20210622/DescribeRumLogExports.md b/tccli/examples/rum/v20210622/DescribeRumLogExports.md index 21b5545fec..ceb7dce45d 100644 --- a/tccli/examples/rum/v20210622/DescribeRumLogExports.md +++ b/tccli/examples/rum/v20210622/DescribeRumLogExports.md @@ -16,7 +16,7 @@ Output: { "Response": { "RequestId": "01a45bad-d053-4af8-9f60-0c4293574f5d", - "Result": "{\"code\":0,\"data\":{\"page\":1,\"pageSize\":999,\"totalCount\":1,\"totalPage\":1,\"data\":[{\"id\":234763,\"name\":\"124858_log\",\"status\":\"\",\"message\":\"任务创建成功\",\"progress\":0,\"url\":\"\",\"updateUser\":\"tickli\",\"updateTime\":\"2025-01-19 10:13:04\",\"type\":\"json\",\"createUser\":\"tickli\",\"createTime\":\"2025-01-19 10:13:04\"}]},\"msg\":\"\"}" + "Result": "{\"code\":0,\"data\":{\"page\":1,\"pageSize\":999,\"totalCount\":1,\"totalPage\":1,\"data\":[{\"id\":234763,\"name\":\"124858_log\",\"status\":\"\",\"message\":\"任务创建成功\",\"progress\":0,\"url\":\"\",\"updateUser\":\"TICLI\",\"updateTime\":\"2025-01-19 10:13:04\",\"type\":\"json\",\"createUser\":\"TICLI\",\"createTime\":\"2025-01-19 10:13:04\"}]},\"msg\":\"\"}" } } ``` @@ -38,7 +38,7 @@ Output: ``` { "Response": { - "Result": "{\"code\":0,\"data\":{\"page\":1,\"pageSize\":999,\"totalCount\":1,\"totalPage\":1,\"data\":[{\"id\":10,\"name\":\"10_log\",\"status\":\"\",\"message\":\"任务创建成功\",\"progress\":0,\"url\":\"\",\"updateUser\":\"tickli\",\"updateTime\":\"2025-01-19 10:14:04\",\"type\":\"json\",\"createUser\":\"tickli\",\"createTime\":\"2025-01-19 10:14:04\"}]},\"msg\":\"\"}", + "Result": "{\"code\":0,\"data\":{\"page\":1,\"pageSize\":999,\"totalCount\":1,\"totalPage\":1,\"data\":[{\"id\":10,\"name\":\"10_log\",\"status\":\"\",\"message\":\"任务创建成功\",\"progress\":0,\"url\":\"\",\"updateUser\":\"TICLI\",\"updateTime\":\"2025-01-19 10:14:04\",\"type\":\"json\",\"createUser\":\"TICLI\",\"createTime\":\"2025-01-19 10:14:04\"}]},\"msg\":\"\"}", "RequestId": "65a8fec7-2b39-4b11-893f-3715279d235f" } } diff --git a/tccli/examples/trtc/v20190722/CreatePicture.md b/tccli/examples/trtc/v20190722/CreatePicture.md index e7a2b5aa6b..a43be4ff48 100644 --- a/tccli/examples/trtc/v20190722/CreatePicture.md +++ b/tccli/examples/trtc/v20190722/CreatePicture.md @@ -6,9 +6,9 @@ Input: ``` tccli trtc CreatePicture --cli-unfold-argument \ - --Content test \ + --Content MTg4MTM \ --Suffix jpg \ - --SdkAppId 123 \ + --SdkAppId 140000001 \ --Height 12 \ --Width 15 \ --XPosition 15 \ diff --git a/tccli/examples/trtc/v20190722/DescribeMixTranscodingUsage.md b/tccli/examples/trtc/v20190722/DescribeMixTranscodingUsage.md index 7728f15c3b..92f0630607 100644 --- a/tccli/examples/trtc/v20190722/DescribeMixTranscodingUsage.md +++ b/tccli/examples/trtc/v20190722/DescribeMixTranscodingUsage.md @@ -62,7 +62,7 @@ Output: ] } ], - "RequestId": "abc" + "RequestId": "6def28d59b9384b4de4e1d818da57ae0" } } ``` diff --git a/tccli/examples/trtc/v20190722/DescribeRecordingUsage.md b/tccli/examples/trtc/v20190722/DescribeRecordingUsage.md index 0e775e5ff3..83ee9c211b 100644 --- a/tccli/examples/trtc/v20190722/DescribeRecordingUsage.md +++ b/tccli/examples/trtc/v20190722/DescribeRecordingUsage.md @@ -48,7 +48,7 @@ Output: ] } ], - "RequestId": "abc" + "RequestId": "02a7c0fa-39a5-46cd-922e-12bb26b77d9d" } } ``` diff --git a/tccli/examples/trtc/v20190722/DescribeRelayUsage.md b/tccli/examples/trtc/v20190722/DescribeRelayUsage.md index 22948ffc89..de400fb482 100644 --- a/tccli/examples/trtc/v20190722/DescribeRelayUsage.md +++ b/tccli/examples/trtc/v20190722/DescribeRelayUsage.md @@ -32,7 +32,7 @@ Output: ] } ], - "RequestId": "abc" + "RequestId": "02a7c0fa-39a5-46cd-922e-12bb26b77d9d" } } ``` diff --git a/tccli/examples/trtc/v20190722/DescribeTrtcUsage.md b/tccli/examples/trtc/v20190722/DescribeTrtcUsage.md index a37ad7f537..e9b59dc786 100644 --- a/tccli/examples/trtc/v20190722/DescribeTrtcUsage.md +++ b/tccli/examples/trtc/v20190722/DescribeTrtcUsage.md @@ -47,7 +47,7 @@ Output: ] } ], - "RequestId": "abc" + "RequestId": "635e1617-0613-4bf8-8f1f-e017754713e8" } } ``` diff --git a/tccli/examples/vms/v20200902/SendCodeVoice.md b/tccli/examples/vms/v20200902/SendCodeVoice.md index 1ee70c19f8..e647faba4b 100644 --- a/tccli/examples/vms/v20200902/SendCodeVoice.md +++ b/tccli/examples/vms/v20200902/SendCodeVoice.md @@ -1,15 +1,15 @@ **Example 1: 发送语音验证码** - +发送语音验证码 Input: ``` tccli vms SendCodeVoice --cli-unfold-argument \ - --CodeMessage 1234 \ + --CodeMessage 8253 \ --PlayTimes 2 \ --CalledNumber +8613788888888 \ - --SessionContext test \ + --SessionContext sc-t \ --VoiceSdkAppid 1400006666 ``` @@ -19,7 +19,7 @@ Output: "Response": { "SendStatus": { "CallId": "12582bce-403c-11eb-96b8-525400476c37", - "SessionContext": "test" + "SessionContext": "sc-t" }, "RequestId": "91260bb8-cf91-4f3e-a81f-9198114a2279" } diff --git a/tccli/examples/vms/v20200902/SendTtsVoice.md b/tccli/examples/vms/v20200902/SendTtsVoice.md index d245f6f3d4..cdbc1dfed5 100644 --- a/tccli/examples/vms/v20200902/SendTtsVoice.md +++ b/tccli/examples/vms/v20200902/SendTtsVoice.md @@ -10,7 +10,7 @@ tccli vms SendTtsVoice --cli-unfold-argument \ --TemplateParamSet 7652 \ --PlayTimes 2 \ --CalledNumber +8613788888888 \ - --SessionContext test \ + --SessionContext sc-t \ --VoiceSdkAppid 1400006666 ``` @@ -20,7 +20,7 @@ Output: "Response": { "SendStatus": { "CallId": "12582bce-403c-11eb-96b8-525400476c37", - "SessionContext": "test" + "SessionContext": "sc-t" }, "RequestId": "91260bb8-cf91-4f3e-a81f-9198114a2279" } diff --git a/tccli/examples/vpc/v20170312/CreateSecurityGroupWithPolicies.md b/tccli/examples/vpc/v20170312/CreateSecurityGroupWithPolicies.md index 0a3977e415..37c8b6cab4 100644 --- a/tccli/examples/vpc/v20170312/CreateSecurityGroupWithPolicies.md +++ b/tccli/examples/vpc/v20170312/CreateSecurityGroupWithPolicies.md @@ -6,8 +6,8 @@ Input: ``` tccli vpc CreateSecurityGroupWithPolicies --cli-unfold-argument \ - --GroupName TestGroup \ - --GroupDescription test-group-desc + --GroupName demo \ + --GroupDescription demo ``` Output: @@ -16,9 +16,9 @@ Output: "Response": { "RequestId": "354f4ac3-8546-4516-8c8a-69e3ab73aa8a", "SecurityGroup": { - "SecurityGroupId": "sg-12345678", - "SecurityGroupName": "TestGroup", - "SecurityGroupDesc": "test-group-desc", + "SecurityGroupId": "sg-ms7c7gcr", + "SecurityGroupName": "demo", + "SecurityGroupDesc": "demo", "ProjectId": "0", "CreatedTime": "2018-01-13 19:26:33", "UpdateTime": "2018-01-13 19:26:33", @@ -37,22 +37,22 @@ Input: ``` tccli vpc CreateSecurityGroupWithPolicies --cli-unfold-argument \ - --GroupName TestGroup \ - --GroupDescription test-group-desc \ + --GroupName demo \ + --GroupDescription demo \ --SecurityGroupPolicySet.Egress.0.PolicyIndex 0 \ --SecurityGroupPolicySet.Egress.0.ServiceTemplate.ServiceId ppm-f5n1f8da \ --SecurityGroupPolicySet.Egress.0.ServiceTemplate.ServiceGroupId ppmg-f5n1f8da \ --SecurityGroupPolicySet.Egress.0.AddressTemplate.AddressId ipm-2uw6ujo6 \ --SecurityGroupPolicySet.Egress.0.AddressTemplate.AddressGroupId ipmg-2uw6ujo6 \ --SecurityGroupPolicySet.Egress.0.Action accept \ - --SecurityGroupPolicySet.Egress.0.PolicyDescription TestPolicy \ + --SecurityGroupPolicySet.Egress.0.PolicyDescription demo \ --SecurityGroupPolicySet.Egress.1.PolicyIndex 1 \ --SecurityGroupPolicySet.Egress.1.ServiceTemplate.ServiceId ppm-f5n1f8da \ --SecurityGroupPolicySet.Egress.1.ServiceTemplate.ServiceGroupId ppmg-f5n1f8da \ --SecurityGroupPolicySet.Egress.1.AddressTemplate.AddressId ipm-2uw6ujo6 \ --SecurityGroupPolicySet.Egress.1.AddressTemplate.AddressGroupId ipmg-2uw6ujo6 \ --SecurityGroupPolicySet.Egress.1.Action accept \ - --SecurityGroupPolicySet.Egress.1.PolicyDescription Test + --SecurityGroupPolicySet.Egress.1.PolicyDescription demo ``` Output: @@ -61,9 +61,9 @@ Output: "Response": { "RequestId": "354f4ac3-8546-4516-8c8a-69e3ab73aa8a", "SecurityGroup": { - "SecurityGroupId": "sg-12345678", - "SecurityGroupName": "TestGroup", - "SecurityGroupDesc": "test-group-desc", + "SecurityGroupId": "sg-6zwa44xm", + "SecurityGroupName": "demo", + "SecurityGroupDesc": "demo", "ProjectId": "0", "CreatedTime": "2018-01-13 19:26:33", "UpdateTime": "2018-01-13 19:26:33", diff --git a/tccli/examples/wedata/v20210820/DescribeInstanceDetailInfo.md b/tccli/examples/wedata/v20210820/DescribeInstanceDetailInfo.md new file mode 100644 index 0000000000..5eb60ccae2 --- /dev/null +++ b/tccli/examples/wedata/v20210820/DescribeInstanceDetailInfo.md @@ -0,0 +1,61 @@ +**Example 1: 样例** + + + +Input: + +``` +tccli wedata DescribeInstanceDetailInfo --cli-unfold-argument \ + --TaskId 231232313 \ + --CurRunDate 2024-10-01 00:00:00 +``` + +Output: +``` +{ + "Response": { + "Data": [ + { + "TaskId": "231232313", + "CurRunDate": "2024-10-01 00:00:00", + "LifeRound": 0, + "RunType": "REDO", + "Tries": 0, + "InstanceLifeDetailDtoList": [ + { + "State": "RUNNING", + "StartTime": "231232313" + } + ], + "RunnerState": "RUNNING", + "ErrorDesc": "", + "ErrorCodeLevel": "", + "InstanceLogListOpsDto": { + "TaskId": "231232313", + "CurRunDate": "2024-10-01 00:00:00", + "Tries": "1", + "LastUpdate": "2024-10-01 00:00:00", + "BrokerIp": "10.0.0.1", + "FileSize": "1000", + "OriginFileName": "test.log", + "CreateTime": "2024-10-01 00:00:00", + "InstanceLogType": "2", + "TaskName": "测试任务", + "CostTime": "10", + "InstanceStatus": "RUNNING", + "CodeFileName": "info.log", + "ExtensionInfo": [ + { + "Key": "", + "Value": "", + "Description": "" + } + ] + } + } + ], + "RequestId": "12312434" + } +} +``` + diff --git a/tccli/services/billing/v20180709/api.json b/tccli/services/billing/v20180709/api.json index cef53bf786..e29b7fa088 100644 --- a/tccli/services/billing/v20180709/api.json +++ b/tccli/services/billing/v20180709/api.json @@ -14631,9 +14631,10 @@ { "disabled": false, "document": "商品详情名称标识", - "example": "", + "example": "云硬盘类型", "member": "string", "name": "Name", + "output_required": true, "required": true, "type": "string", "value_allowed_null": false @@ -14641,9 +14642,10 @@ { "disabled": false, "document": "商品详情", - "example": "", + "example": "系统盘", "member": "string", "name": "Value", + "output_required": true, "required": true, "type": "string", "value_allowed_null": false diff --git a/tccli/services/cdn/v20180606/api.json b/tccli/services/cdn/v20180606/api.json index 606660bcfe..c39cf2250b 100644 --- a/tccli/services/cdn/v20180606/api.json +++ b/tccli/services/cdn/v20180606/api.json @@ -2382,6 +2382,7 @@ "example": "on", "member": "string", "name": "Switch", + "output_required": true, "required": true, "type": "string", "value_allowed_null": false @@ -2392,16 +2393,18 @@ "example": "dfss12nk", "member": "string", "name": "AccessKey", + "output_required": true, "required": false, "type": "string", "value_allowed_null": true }, { "disabled": false, - "document": "密钥。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "dsfds13m", + "document": "密钥,字段为脱敏返回。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "wn***************mg", "member": "string", "name": "SecretKey", + "output_required": true, "required": false, "type": "string", "value_allowed_null": true @@ -2412,6 +2415,7 @@ "example": "gz", "member": "string", "name": "Region", + "output_required": true, "required": false, "type": "string", "value_allowed_null": true @@ -2422,6 +2426,7 @@ "example": "hw-oss", "member": "string", "name": "Bucket", + "output_required": true, "required": false, "type": "string", "value_allowed_null": true @@ -10420,6 +10425,7 @@ "example": "on", "member": "string", "name": "Switch", + "output_required": true, "required": true, "type": "string", "value_allowed_null": false @@ -10430,16 +10436,18 @@ "example": "SYWKY0DAR8I5NXZO93YT", "member": "string", "name": "AccessKey", + "output_required": true, "required": false, "type": "string", "value_allowed_null": true }, { "disabled": false, - "document": "密钥\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "5Hhn0uss213Szfgysb6nOkWaGA6Z4V956n8NtSmg", + "document": "密钥,字段为脱敏返回。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "wn***************mg", "member": "string", "name": "SecretKey", + "output_required": true, "required": false, "type": "string", "value_allowed_null": true @@ -10450,6 +10458,7 @@ "example": "hw-1-163", "member": "string", "name": "Bucket", + "output_required": true, "required": false, "type": "string", "value_allowed_null": true @@ -12943,6 +12952,7 @@ "example": "on", "member": "string", "name": "Switch", + "output_required": true, "required": true, "type": "string", "value_allowed_null": false @@ -12950,19 +12960,21 @@ { "disabled": false, "document": "访问ID。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "abc", + "example": "AKkjqrfjaoidn", "member": "string", "name": "AccessKey", + "output_required": true, "required": false, "type": "string", "value_allowed_null": true }, { "disabled": false, - "document": "密钥。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "abc", + "document": "密钥,字段为脱敏返回。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "wn***************mg\t", "member": "string", "name": "SecretKey", + "output_required": true, "required": false, "type": "string", "value_allowed_null": true @@ -12973,6 +12985,7 @@ "example": "gz", "member": "string", "name": "Region", + "output_required": true, "required": false, "type": "string", "value_allowed_null": true @@ -12983,6 +12996,7 @@ "example": "hw-oss", "member": "string", "name": "Bucket", + "output_required": true, "required": false, "type": "string", "value_allowed_null": true @@ -12999,6 +13013,7 @@ "example": "on", "member": "string", "name": "Switch", + "output_required": true, "required": true, "type": "string", "value_allowed_null": false @@ -13009,16 +13024,18 @@ "example": "TXUIWY0BAR8I5NXZ693YU", "member": "string", "name": "AccessKey", + "output_required": true, "required": false, "type": "string", "value_allowed_null": true }, { "disabled": false, - "document": "密钥。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "4Gwn2uss513uytKysb6nOkWaGA6Z4V956n8NtSmg\t", + "document": "密钥,字段位脱敏返回。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "wn***************mg", "member": "string", "name": "SecretKey", + "output_required": true, "required": false, "type": "string", "value_allowed_null": true @@ -13029,6 +13046,7 @@ "example": "gz", "member": "string", "name": "Region", + "output_required": true, "required": false, "type": "string", "value_allowed_null": true @@ -13039,6 +13057,7 @@ "example": "bucket-name", "member": "string", "name": "Bucket", + "output_required": true, "required": false, "type": "string", "value_allowed_null": true @@ -13945,6 +13964,7 @@ "example": "on", "member": "string", "name": "Switch", + "output_required": true, "required": true, "type": "string", "value_allowed_null": false @@ -13955,16 +13975,18 @@ "example": "ousbDM5xlzuAZJEhhwcLj8makXkYiaAvciZHqAQj", "member": "string", "name": "AccessKey", + "output_required": true, "required": false, "type": "string", "value_allowed_null": true }, { "disabled": false, - "document": "密钥", - "example": "c109ES08UcSUNdSA1rN04tSBJ8I45BrxMZQn3vtL", + "document": "密钥,字段为脱敏返回。", + "example": "wn***************mg", "member": "string", "name": "SecretKey", + "output_required": true, "required": false, "type": "string", "value_allowed_null": false diff --git a/tccli/services/cls/v20201016/api.json b/tccli/services/cls/v20201016/api.json index 13df2ea14d..bbffc95d67 100644 --- a/tccli/services/cls/v20201016/api.json +++ b/tccli/services/cls/v20201016/api.json @@ -13648,7 +13648,7 @@ }, { "disabled": false, - "document": "接收者。\n当ReceiverType为Uin时,ReceiverIds的值为用户uid。[子用户信息查询](https://cloud.tencent.com/document/api/598/53486)\n当ReceiverType为Group时,ReceiverIds的值为用户组id。[CAM用户组](https://cloud.tencent.com/document/product/598/14985)", + "document": "接收者。\n当ReceiverType为Uin时,ReceiverIds的值为用户uid。[子用户信息查询](https://cloud.tencent.com/document/api/598/53486)\n当ReceiverType为Group时,ReceiverIds的值为用户组id。[CAM用户组](https://cloud.tencent.com/document/product/598/34589)", "example": "[1234,2345]", "member": "int64", "name": "ReceiverIds", diff --git a/tccli/services/cvm/v20170312/api.json b/tccli/services/cvm/v20170312/api.json index 2c2d46f906..a2c1b3029b 100644 --- a/tccli/services/cvm/v20170312/api.json +++ b/tccli/services/cvm/v20170312/api.json @@ -5936,7 +5936,7 @@ { "disabled": false, "document": "标签描述列表。通过指定该参数可以同时绑定标签到自定义镜像。", - "example": "无", + "example": "[{'ResourceType': 'image', 'Tags': [{'Key': 'ServiceInstance', 'Value': 'dfs-digital-facilities-system-isc-prod'}]}]", "member": "TagSpecification", "name": "TagSpecification", "required": false, @@ -5972,7 +5972,7 @@ { "disabled": false, "document": "导入的数据盘列表", - "example": "[]", + "example": "[{\"ImageUrl\": \"https://user-test-1317392000.cos.ap-guangzhou.myqcloud.com/snap-xxxx.qcow2\"}]", "member": "ImportImageDataDisk", "name": "ImportImageDataDiskList", "required": false, @@ -5984,6 +5984,16 @@ "ImportImageResponse": { "document": "ImportImage返回参数结构体", "members": [ + { + "disabled": false, + "document": "镜像 ID", + "example": "img-ds656asd", + "member": "string", + "name": "ImageId", + "output_required": false, + "type": "string", + "value_allowed_null": false + }, { "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", "member": "string", diff --git a/tccli/services/ess/v20201111/api.json b/tccli/services/ess/v20201111/api.json index 72118aa0a5..fe7056107c 100644 --- a/tccli/services/ess/v20201111/api.json +++ b/tccli/services/ess/v20201111/api.json @@ -9491,7 +9491,7 @@ { "disabled": false, "document": "指定分页每页返回的数据条数,单页最大1000", - "example": "无", + "example": "100", "member": "uint64", "name": "Limit", "required": true, @@ -9500,7 +9500,7 @@ { "disabled": false, "document": "指定分页返回第几页的数据,如果不传默认返回第一页,页码从 0 开始,即首页为 0", - "example": "无", + "example": "0", "member": "uint64", "name": "Offset", "required": true, @@ -9509,7 +9509,7 @@ { "disabled": false, "document": "查询成员企业的企业名,模糊匹配", - "example": "无", + "example": "典子谦示例企业", "member": "string", "name": "Name", "required": false, @@ -9518,7 +9518,7 @@ { "disabled": false, "document": "成员企业加入集团的当前状态\n", - "example": "无", + "example": "5", "member": "uint64", "name": "Status", "required": false, @@ -9527,7 +9527,7 @@ { "disabled": false, "document": "是否导出当前成员企业数据\n", - "example": "无", + "example": "false", "member": "bool", "name": "Export", "required": false, @@ -9536,7 +9536,7 @@ { "disabled": false, "document": "成员企业机构 ID,32 位字符串,在PC控制台 集团管理可获取", - "example": "无", + "example": "yDw6yUUgyg3caowzUx4GQptRKfMnJqX8", "member": "string", "name": "Id", "required": false, @@ -9550,63 +9550,63 @@ "members": [ { "disabled": false, - "document": "符合查询条件的资源实例总数量。\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "符合查询条件的资源实例总数量。", "example": "100", "member": "uint64", "name": "Total", "output_required": true, "type": "int", - "value_allowed_null": true + "value_allowed_null": false }, { "disabled": false, - "document": "已授权待激活的子企业总数量\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "已授权待激活的子企业总数量", "example": "10", "member": "uint64", "name": "JoinedTotal", "output_required": true, "type": "int", - "value_allowed_null": true + "value_allowed_null": false }, { "disabled": true, - "document": "已加入的企业数量(废弃,请使用ActivatedTotal)\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "已加入的企业数量(废弃,请使用ActivatedTotal)", "example": "10", "member": "uint64", "name": "ActivedTotal", "output_required": false, "type": "int", - "value_allowed_null": true + "value_allowed_null": false }, { "disabled": false, - "document": "如果入参Export为 true 时使用,表示导出Excel的url\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "http://xxxx.com", + "document": "如果入参Export为 true 时使用,表示导出Excel的url", + "example": "http://file.com/exports", "member": "string", "name": "ExportUrl", "output_required": true, "type": "string", - "value_allowed_null": true + "value_allowed_null": false }, { "disabled": false, - "document": "成员企业信息列表\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "成员企业信息列表", "example": "无", "member": "GroupOrganization", "name": "List", "output_required": true, "type": "list", - "value_allowed_null": true + "value_allowed_null": false }, { "disabled": false, - "document": "已加入的子企业总数量\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "已加入的子企业总数量", "example": "50", "member": "uint64", "name": "ActivatedTotal", "output_required": false, "type": "int", - "value_allowed_null": true + "value_allowed_null": false }, { "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", diff --git a/tccli/services/essbasic/v20210526/api.json b/tccli/services/essbasic/v20210526/api.json index 3dbc6f94f6..57d81d0b3d 100644 --- a/tccli/services/essbasic/v20210526/api.json +++ b/tccli/services/essbasic/v20210526/api.json @@ -6469,7 +6469,7 @@ { "disabled": false, "document": "认证流认证失败信息", - "example": "无", + "example": "[\"企业信息错误\"]", "member": "string", "name": "ErrorMessages", "output_required": true, @@ -6479,7 +6479,7 @@ { "disabled": false, "document": "链接过期时间,为 7 天后,创建时间,格式为Unix标准时间戳(秒)。", - "example": "无", + "example": "1739241985", "member": "uint64", "name": "ExpireTime", "output_required": true, diff --git a/tccli/services/lcic/v20220817/api.json b/tccli/services/lcic/v20220817/api.json index fa4f025170..b8571df80e 100644 --- a/tccli/services/lcic/v20220817/api.json +++ b/tccli/services/lcic/v20220817/api.json @@ -686,52 +686,47 @@ { "disabled": false, "document": "场景参数,一个应用下可以设置多个不同场景。", - "example": "abc", + "example": "Test", "member": "string", "name": "Scene", "required": true, - "type": "string", - "value_allowed_null": false + "type": "string" }, { "disabled": false, "document": "logo地址,用于上课时展示的课堂或平台图标,支持开发商自定义业务品牌展示。", - "example": "abc", + "example": "https://tcic-dev-siwygftrdtfghj5678853/36e7627678jh-8916-ac33b240cfb3", "member": "string", "name": "LogoUrl", "required": false, - "type": "string", - "value_allowed_null": false + "type": "string" }, { "disabled": false, "document": "HomeUrl:主页地址,用于上课结束后课堂跳转,支持跳转到自己的业务系统。如果配置为空则下课后关闭课堂页面。", - "example": "abc", + "example": "www.baidu.com", "member": "string", "name": "HomeUrl", "required": false, - "type": "string", - "value_allowed_null": false + "type": "string" }, { "disabled": false, "document": "JsUrl :自定义js。针对应用用于开发上自定义课堂界面、模块功能、监控操作,支持数据请求与响应处理。", - "example": "abc", + "example": "https://lifeid0ecsfsdec0341127.umd.min.js", "member": "string", "name": "JsUrl", "required": false, - "type": "string", - "value_allowed_null": false + "type": "string" }, { "disabled": false, "document": "Css : 自定义的css。针对应用用于支持课堂界面的、模块的UI渲染修改、皮肤配色修改、功能模块的隐藏和展示。", - "example": "abc", + "example": "https://lifeisfddskjdhg1cbeec0341127.css", "member": "string", "name": "CssUrl", "required": false, - "type": "string", - "value_allowed_null": false + "type": "string" } ], "usage": "in" @@ -1110,13 +1105,13 @@ "members": [ { "disabled": false, - "document": "注册成功的用户列表\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "注册成功的用户列表", "example": "无", "member": "BatchUserInfo", "name": "Users", "output_required": true, "type": "list", - "value_allowed_null": true + "value_allowed_null": false }, { "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", @@ -1256,7 +1251,7 @@ { "disabled": false, "document": "课堂iD\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "123456", + "example": "3451381", "member": "uint64", "name": "RoomId", "output_required": true, @@ -3543,13 +3538,13 @@ "members": [ { "disabled": false, - "document": "禁言用户信息数组,内容包括被禁言的成员 ID,及其被禁言到的时间(使用 UTC 时间,即世界协调时间)\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "禁言用户信息数组,内容包括被禁言的成员 ID,及其被禁言到的时间(使用 UTC 时间,即世界协调时间)", "example": "无", "member": "MutedAccountList", "name": "MutedAccountList", "output_required": true, "type": "list", - "value_allowed_null": true + "value_allowed_null": false }, { "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", @@ -4080,7 +4075,7 @@ { "disabled": false, "document": "总数", - "example": "50", + "example": "500", "member": "uint64", "name": "Total", "output_required": true, @@ -4089,13 +4084,13 @@ }, { "disabled": false, - "document": "课堂评分列表\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "课堂评分列表", "example": "无", "member": "ClassScoreItem", "name": "Scores", "output_required": true, "type": "list", - "value_allowed_null": true + "value_allowed_null": false }, { "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", @@ -4112,7 +4107,7 @@ { "disabled": false, "document": "应用ID", - "example": "123456", + "example": "38901092", "member": "uint64", "name": "SdkAppId", "required": true, @@ -4154,13 +4149,13 @@ }, { "disabled": false, - "document": "当前获取用户信息数组列表\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "当前获取用户信息数组列表", "example": "无", "member": "UserInfo", "name": "Users", "output_required": true, "type": "list", - "value_allowed_null": true + "value_allowed_null": false }, { "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", @@ -6209,17 +6204,17 @@ "example": "a304828e-c109-436e-aada-59aec20b7aab", "member": "string", "name": "QuestionId", - "required": false, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, "document": "问题内容", - "example": "测试题", + "example": "测试", "member": "string", "name": "QuestionContent", - "required": false, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -6229,7 +6224,7 @@ "example": "1", "member": "uint64", "name": "Duration", - "required": false, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -6239,7 +6234,7 @@ "example": "1", "member": "int64", "name": "CorrectAnswer", - "required": false, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -6249,7 +6244,7 @@ "example": "无", "member": "AnswerStat", "name": "AnswerStats", - "required": false, + "output_required": true, "type": "list", "value_allowed_null": true } @@ -7698,7 +7693,7 @@ { "disabled": false, "document": "应用Id。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "123456", + "example": "397682", "member": "uint64", "name": "SdkAppId", "output_required": true, @@ -7718,7 +7713,7 @@ { "disabled": false, "document": "用户昵称。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "abc", + "example": "Tom", "member": "string", "name": "Name", "output_required": true, @@ -7728,7 +7723,7 @@ { "disabled": false, "document": "用户头像Url。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "abc", + "example": "https://sdffdsjhgfcgh-2347283829d265a6414f8.pdf", "member": "string", "name": "Avatar", "output_required": true, diff --git a/tccli/services/lkeap/v20240522/api.json b/tccli/services/lkeap/v20240522/api.json index f073b9e7e7..f293432d5b 100644 --- a/tccli/services/lkeap/v20240522/api.json +++ b/tccli/services/lkeap/v20240522/api.json @@ -494,6 +494,33 @@ "CreateAttributeLabelRequest": { "document": "CreateAttributeLabel请求参数结构体", "members": [ + { + "disabled": false, + "document": "知识库ID", + "example": "4901991032", + "member": "string", + "name": "KnowledgeBaseId", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "属性标识,最大40个英文字符,如style", + "example": "style", + "member": "string", + "name": "AttributeKey", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "属性名称,最大80个英文字符,如风格", + "example": "风格", + "member": "string", + "name": "AttributeName", + "required": true, + "type": "string" + }, { "disabled": false, "document": "属性标签信息", @@ -548,6 +575,33 @@ "CreateQARequest": { "document": "CreateQA请求参数结构体", "members": [ + { + "disabled": false, + "document": "知识库ID", + "example": "4901991032", + "member": "string", + "name": "KnowledgeBaseId", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "问题,最大1000个英文字符", + "example": "你是谁", + "member": "string", + "name": "Question", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "答案,最大4000个英文字符", + "example": "我是腾讯大模型知识引擎", + "member": "string", + "name": "Answer", + "required": true, + "type": "string" + }, { "disabled": false, "document": "属性标签", @@ -563,6 +617,16 @@ "CreateQAResponse": { "document": "CreateQA返回参数结构体", "members": [ + { + "disabled": false, + "document": "问答对ID", + "example": "1830996257459865536", + "member": "string", + "name": "QaId", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, { "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", "member": "string", @@ -813,7 +877,26 @@ }, "DeleteAttributeLabelsRequest": { "document": "DeleteAttributeLabels请求参数结构体", - "members": [], + "members": [ + { + "disabled": false, + "document": "知识库ID", + "example": "4901991032", + "member": "string", + "name": "KnowledgeBaseId", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "属性ID", + "example": "[\"1830996257455365986\"]", + "member": "string", + "name": "AttributeIds", + "required": true, + "type": "list" + } + ], "type": "object" }, "DeleteAttributeLabelsResponse": { @@ -830,7 +913,26 @@ }, "DeleteDocsRequest": { "document": "DeleteDocs请求参数结构体", - "members": [], + "members": [ + { + "disabled": false, + "document": "知识库ID", + "example": "4901991032", + "member": "string", + "name": "KnowledgeBaseId", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "文档ID列表。支持批量删除,数量不超过100", + "example": "[\"1830996256553674598\"]", + "member": "string", + "name": "DocIds", + "required": true, + "type": "list" + } + ], "type": "object" }, "DeleteDocsResponse": { @@ -874,7 +976,26 @@ }, "DeleteQAsRequest": { "document": "DeleteQAs请求参数结构体", - "members": [], + "members": [ + { + "disabled": false, + "document": "知识库ID", + "example": "4901991032", + "member": "string", + "name": "KnowledgeBaseId", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "问答对ID列表。支持批量删除,数量不超过100", + "example": "[\"1830996257459865536\"]", + "member": "string", + "name": "QaIds", + "required": true, + "type": "list" + } + ], "type": "object" }, "DeleteQAsResponse": { @@ -917,12 +1038,71 @@ }, "DescribeDocRequest": { "document": "DescribeDoc请求参数结构体", - "members": [], + "members": [ + { + "disabled": false, + "document": "知识库ID", + "example": "4901991032", + "member": "string", + "name": "KnowledgeBaseId", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "文档ID", + "example": "1830994598655366257", + "member": "string", + "name": "DocId", + "required": true, + "type": "string" + } + ], "type": "object" }, "DescribeDocResponse": { "document": "DescribeDoc返回参数结构体", "members": [ + { + "disabled": false, + "document": "文档ID", + "example": "无", + "member": "string", + "name": "DocId", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "状态,\n\n- Uploading 上传中 \n- Auditing 审核中\n- Parsing 解析中 \n- ParseFailed 解析失败\n- Indexing 创建索引中 \n- IndexFailed 创建索引失败\n- Success 发布成功\n- Failed 失败", + "example": "无", + "member": "string", + "name": "Status", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "文件名", + "example": "无", + "member": "string", + "name": "FileName", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "更新时间", + "example": "无", + "member": "string", + "name": "UpdateTime", + "output_required": false, + "type": "string", + "value_allowed_null": false + }, { "disabled": false, "document": "属性标签", @@ -958,7 +1138,7 @@ }, { "disabled": false, - "document": " 状态,\n- Uploading 上传中 \n- Parsing 解析中 \n- ParseFailed 解析失败\n- Indexing 创建索引中 \n- IndexFailed 创建索引失败\n- Success 发布成功\n- Failed 失败\n注意:此字段可能返回 null,表示取不到有效值。", + "document": " 状态,\n- Uploading 上传中 \n- Auditing 审核中\n- Parsing 解析中 \n- ParseFailed 解析失败\n- Indexing 创建索引中 \n- IndexFailed 创建索引失败\n- Success 发布成功\n- Failed 失败\n注意:此字段可能返回 null,表示取不到有效值。", "example": "无", "member": "string", "name": "Status", @@ -1238,7 +1418,44 @@ }, "ImportQAsRequest": { "document": "ImportQAs请求参数结构体", - "members": [], + "members": [ + { + "disabled": false, + "document": "知识库ID", + "example": "4901991032", + "member": "string", + "name": "KnowledgeBaseId", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "文件名", + "example": "qa_import.xlsx", + "member": "string", + "name": "FileName", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "文件的 Url 地址。文件存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。\n导入模板:https://cdn.xiaowei.qq.com/lke/assets//static/批量导入问答模板v6.xlsx", + "example": "https://xxx.cos.ap-shanghai.myqcloud.com/file/qa_import.xlsx", + "member": "string", + "name": "FileUrl", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "文件类型,仅支持XLSX格式,请使用模板", + "example": "XLSX", + "member": "string", + "name": "FileType", + "required": false, + "type": "string" + } + ], "type": "object" }, "ImportQAsResponse": { @@ -1279,12 +1496,50 @@ }, "ListAttributeLabelsRequest": { "document": "ListAttributeLabels请求参数结构体", - "members": [], + "members": [ + { + "disabled": false, + "document": "知识库ID", + "example": "4901991032", + "member": "string", + "name": "KnowledgeBaseId", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "页码,默认1", + "example": "1", + "member": "int64", + "name": "PageNumber", + "required": false, + "type": "int" + }, + { + "disabled": false, + "document": "每页数目,最大50,默认20", + "example": "50", + "member": "int64", + "name": "PageSize", + "required": false, + "type": "int" + } + ], "type": "object" }, "ListAttributeLabelsResponse": { "document": "ListAttributeLabels返回参数结构体", "members": [ + { + "disabled": false, + "document": "属性总数", + "example": "10", + "member": "int64", + "name": "TotalCount", + "output_required": false, + "type": "int", + "value_allowed_null": false + }, { "disabled": false, "document": "属性标签列表", @@ -1306,12 +1561,50 @@ }, "ListDocsRequest": { "document": "ListDocs请求参数结构体", - "members": [], + "members": [ + { + "disabled": false, + "document": "知识库ID", + "example": "4901991032", + "member": "string", + "name": "KnowledgeBaseId", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "页码,默认1", + "example": "1", + "member": "int64", + "name": "PageNumber", + "required": false, + "type": "int" + }, + { + "disabled": false, + "document": "每页数目,最大50,默认20", + "example": "50", + "member": "int64", + "name": "PageSize", + "required": false, + "type": "int" + } + ], "type": "object" }, "ListDocsResponse": { "document": "ListDocs返回参数结构体", "members": [ + { + "disabled": false, + "document": "文档总数", + "example": "10", + "member": "int64", + "name": "TotalCount", + "output_required": false, + "type": "int", + "value_allowed_null": false + }, { "disabled": false, "document": "文档信息", @@ -1333,12 +1626,50 @@ }, "ListQAsRequest": { "document": "ListQAs请求参数结构体", - "members": [], + "members": [ + { + "disabled": false, + "document": "知识库ID", + "example": "4901991032", + "member": "string", + "name": "KnowledgeBaseId", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "页码,默认1", + "example": "1", + "member": "int64", + "name": "PageNumber", + "required": false, + "type": "int" + }, + { + "disabled": false, + "document": "每页数目,最大50,默认20", + "example": "50", + "member": "int64", + "name": "PageSize", + "required": false, + "type": "int" + } + ], "type": "object" }, "ListQAsResponse": { "document": "ListQAs返回参数结构体", "members": [ + { + "disabled": false, + "document": "问答对总数量", + "example": "10", + "member": "int64", + "name": "TotalCount", + "output_required": false, + "type": "int", + "value_allowed_null": false + }, { "disabled": false, "document": "问答对信息", @@ -1400,6 +1731,42 @@ "ModifyAttributeLabelRequest": { "document": "ModifyAttributeLabel请求参数结构体", "members": [ + { + "disabled": false, + "document": "知识库ID", + "example": "4901991032", + "member": "string", + "name": "KnowledgeBaseId", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "属性ID", + "example": "1830996257459865531", + "member": "string", + "name": "AttributeId", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "属性标识,最大40个英文字符,如style", + "example": "stlye", + "member": "string", + "name": "AttributeKey", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "属性名称,最大80个英文字符,如风格", + "example": "风格", + "member": "string", + "name": "AttributeName", + "required": true, + "type": "string" + }, { "disabled": false, "document": "属性标签", @@ -1427,6 +1794,42 @@ "ModifyQARequest": { "document": "ModifyQA请求参数结构体", "members": [ + { + "disabled": false, + "document": "知识库ID", + "example": "4901991032", + "member": "string", + "name": "KnowledgeBaseId", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "问答对ID", + "example": "1830995120618932160", + "member": "string", + "name": "QaId", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "问题,最大1000个英文字符", + "example": "你是谁", + "member": "string", + "name": "Question", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "答案,最大4000个英文字符", + "example": "我是腾讯大模型知识引擎", + "member": "string", + "name": "Answer", + "required": true, + "type": "string" + }, { "disabled": false, "document": "属性标签", diff --git a/tccli/services/lkeap/v20240522/examples.json b/tccli/services/lkeap/v20240522/examples.json index 1f70bc2d59..d10ce8547e 100644 --- a/tccli/services/lkeap/v20240522/examples.json +++ b/tccli/services/lkeap/v20240522/examples.json @@ -17,7 +17,7 @@ "CreateAttributeLabel": [ { "document": "添加属性标签", - "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAttributeLabel\n<公共请求参数>\n\n{\n \"Labels\": [\n {\n \"LabelName\": \"现代\"\n },\n {\n \"LabelName\": \"流行\"\n }\n ]\n}", + "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAttributeLabel\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"AttributeKey\": \"style\",\n \"AttributeName\": \"风格\",\n \"Labels\": [\n {\n \"LabelName\": \"现代\"\n },\n {\n \"LabelName\": \"流行\"\n }\n ]\n}", "output": "{\n \"Response\": {\n \"RequestId\": \"3973e13a-926f-40a5-91d7-d61a56083314\"\n }\n}", "title": "添加属性标签" } @@ -33,14 +33,14 @@ "CreateQA": [ { "document": "创建问答对", - "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateQA\n<公共请求参数>\n\n{\n \"AttributeLabels\": [\n {\n \"AttributeId\": \"1830994685416869312\",\n \"LabelIds\": [\n \"1830994685429452224\"\n ]\n }\n ]\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"28c960e9-c3ba-4a6d-be28-0d5d0dcca5ca\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateQA\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"Question\": \"你是谁\",\n \"Answer\": \"我是腾讯大模型知识引擎\",\n \"AttributeLabels\": [\n {\n \"AttributeId\": \"1830994685416869312\",\n \"LabelIds\": [\n \"1830994685429452224\"\n ]\n }\n ]\n}", + "output": "{\n \"Response\": {\n \"QaId\": \"1830995120618932160\",\n \"RequestId\": \"28c960e9-c3ba-4a6d-be28-0d5d0dcca5ca\"\n }\n}", "title": "创建问答对" }, { "document": "创建无标签问答对", - "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateQA\n<公共请求参数>\n\n{}", - "output": "{\n \"Response\": {\n \"RequestId\": \"a37897c3-acf5-420a-bc32-9a1da9348c13\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateQA\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"Question\": \"你是谁\",\n \"Answer\": \"我是腾讯大模型知识引擎\"\n}", + "output": "{\n \"Response\": {\n \"QaId\": \"1831158575324892608\",\n \"RequestId\": \"a37897c3-acf5-420a-bc32-9a1da9348c13\"\n }\n}", "title": "创建无标签问答对" } ], @@ -63,7 +63,7 @@ "DeleteAttributeLabels": [ { "document": "删除属性标签", - "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAttributeLabel\n<公共请求参数>\n\n{}", + "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAttributeLabel\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"AttributeIds\": [\n \"1830996257455365986\"\n ]\n}", "output": "{\n \"Response\": {\n \"RequestId\": \"1966c811-59a6-4385-bd4f-4ce12bdaa21a\"\n }\n}", "title": "删除属性标签" } @@ -71,7 +71,7 @@ "DeleteDocs": [ { "document": "删除文档", - "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteDoc\n<公共请求参数>\n\n{}", + "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteDoc\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"DocIds\": [\n \"1830996257459865536\"\n ]\n}", "output": "{\n \"Response\": {\n \"RequestId\": \"f3d05737-0b05-45cd-aa6a-fe16213cfe01\"\n }\n}", "title": "删除文档" } @@ -87,7 +87,7 @@ "DeleteQAs": [ { "document": "删除qa", - "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteQA\n<公共请求参数>\n\n{}", + "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteQA\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"QaIds\": [\n \"1830996257459865536\"\n ]\n}", "output": "{\n \"Response\": {\n \"RequestId\": \"6c081879-196a-4df0-87ac-07e73a00952e\"\n }\n}", "title": "删除问答对" } @@ -95,8 +95,8 @@ "DescribeDoc": [ { "document": "查询文档详情", - "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDoc\n<公共请求参数>\n\n{}", - "output": "{\n \"Response\": {\n \"RequestId\": \"bf318516-67a7-41df-9460-e581b4ecedbd\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDoc\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"DocId\": \"1830881178265519872\"\n}", + "output": "{\n \"Response\": {\n \"DocId\": \"1830881178265519872\",\n \"FileName\": \"product_manuals.docx\",\n \"RequestId\": \"bf318516-67a7-41df-9460-e581b4ecedbd\",\n \"Status\": \"Parsing\"\n }\n}", "title": "查询文档详情" } ], @@ -127,7 +127,7 @@ "ImportQAs": [ { "document": "批量导入问答对", - "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ImportQAs\n<公共请求参数>\n\n{}", + "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ImportQAs\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"FileName\": \"qa_import.xlsx\",\n \"FileUrl\": \"https://xxx.cos.ap-guangzhou.myqcloud.com/file/qa_import.xlsx\"\n}", "output": "{\n \"Response\": {\n \"RequestId\": \"21305ff4-94c7-4113-9977-9b20427e0a2a\"\n }\n}", "title": "批量导入问答对" } @@ -135,31 +135,31 @@ "ListAttributeLabels": [ { "document": "获取标签列表", - "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListAttributeLabel\n<公共请求参数>\n\n{}", - "output": "{\n \"Response\": {\n \"List\": [\n {\n \"AttributeId\": \"1830880287852529408\",\n \"AttributeKey\": \"stylee\",\n \"AttributeName\": \"风格\",\n \"Labels\": [\n {\n \"LabelId\": \"1830880287852529408\",\n \"LabelName\": \"流行\"\n },\n {\n \"LabelId\": \"1830880287852529408\",\n \"LabelName\": \"现代\"\n }\n ]\n }\n ],\n \"RequestId\": \"c5821f64-064a-448c-9279-b40eff06f4ae\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListAttributeLabel\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"PageNumber\": 1,\n \"PageSize\": 50\n}", + "output": "{\n \"Response\": {\n \"List\": [\n {\n \"AttributeId\": \"1830880287852529408\",\n \"AttributeKey\": \"stylee\",\n \"AttributeName\": \"风格\",\n \"Labels\": [\n {\n \"LabelId\": \"1830880287852529408\",\n \"LabelName\": \"流行\"\n },\n {\n \"LabelId\": \"1830880287852529408\",\n \"LabelName\": \"现代\"\n }\n ]\n }\n ],\n \"RequestId\": \"c5821f64-064a-448c-9279-b40eff06f4ae\",\n \"TotalCount\": 1\n }\n}", "title": "获取标签列表" } ], "ListDocs": [ { "document": "获取文档列表", - "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListDocs\n<公共请求参数>\n\n{}", - "output": "{\n \"Response\": {\n \"List\": [\n {\n \"DocId\": \"1830985874053466048\",\n \"FileName\": \"product_manuals.docx\",\n \"Status\": \"Success\"\n }\n ],\n \"RequestId\": \"292da1b4-1125-4423-b7cd-5cf3b14eb98d\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListDocs\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"PageNumber\": 1,\n \"PageSize\": 10\n}", + "output": "{\n \"Response\": {\n \"List\": [\n {\n \"DocId\": \"1830985874053466048\",\n \"FileName\": \"product_manuals.docx\",\n \"Status\": \"Success\"\n }\n ],\n \"RequestId\": \"292da1b4-1125-4423-b7cd-5cf3b14eb98d\",\n \"TotalCount\": 1\n }\n}", "title": "获取文档列表" } ], "ListQAs": [ { "document": "查询已经上传的问答对列表", - "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListQAs\n<公共请求参数>\n\n{}", - "output": "{\n \"Response\": {\n \"List\": [\n {\n \"Answer\": \"我是腾讯大模型知识引擎\",\n \"AttributeLabels\": [\n {\n \"AttributeId\": \"1830880287852529408\",\n \"LabelIds\": [\n \"1830880287865112320\"\n ]\n }\n ],\n \"QaId\": \"1830882708456671000\",\n \"Question\": \"你是谁\"\n }\n ],\n \"RequestId\": \"5f95d7c7-c881-49d1-98fc-34f138d8ca54\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListQAs\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"49019910127\",\n \"PageNumber\": 1,\n \"PageSize\": 10\n}", + "output": "{\n \"Response\": {\n \"List\": [\n {\n \"Answer\": \"我是腾讯大模型知识引擎\",\n \"AttributeLabels\": [\n {\n \"AttributeId\": \"1830880287852529408\",\n \"LabelIds\": [\n \"1830880287865112320\"\n ]\n }\n ],\n \"QaId\": \"1830882708456671000\",\n \"Question\": \"你是谁\"\n }\n ],\n \"RequestId\": \"5f95d7c7-c881-49d1-98fc-34f138d8ca54\",\n \"TotalCount\": 1\n }\n}", "title": "获取问答对列表" } ], "ModifyAttributeLabel": [ { "document": "修改属性标签", - "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAttributeLabel\n<公共请求参数>\n\n{\n \"Labels\": [\n {\n \"LabelId\": \"1830993312978765760\",\n \"LabelName\": \"主流\"\n },\n {\n \"LabelId\": \"1830993312978765761\",\n \"LabelName\": \"现代\"\n }\n ]\n}", + "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAttributeLabel\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"AttributeId\": \"1830993312966182848\",\n \"AttributeKey\": \"style\",\n \"AttributeName\": \"风格\",\n \"Labels\": [\n {\n \"LabelId\": \"1830993312978765760\",\n \"LabelName\": \"主流\"\n },\n {\n \"LabelId\": \"1830993312978765761\",\n \"LabelName\": \"现代\"\n }\n ]\n}", "output": "{\n \"Response\": {\n \"RequestId\": \"04ba0a85-161a-408a-9c80-029601af9775\"\n }\n}", "title": "修改属性标签" } @@ -167,7 +167,7 @@ "ModifyQA": [ { "document": "修改问答对", - "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyQA\n<公共请求参数>\n\n{\n \"AttributeLabels\": [\n {\n \"AttributeId\": \"1830994685416869312\",\n \"LabelIds\": [\n \"1830994685429452224\"\n ]\n }\n ]\n}", + "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyQA\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"QaId\": \"1830995120618932160\",\n \"Question\": \"你是谁\",\n \"Answer\": \"我是腾讯大模型知识引擎\",\n \"AttributeLabels\": [\n {\n \"AttributeId\": \"1830994685416869312\",\n \"LabelIds\": [\n \"1830994685429452224\"\n ]\n }\n ]\n}", "output": "{\n \"Response\": {\n \"RequestId\": \"4f4843c1-8f3b-4a0b-ad7e-91b47f2b93c7\"\n }\n}", "title": "修改问答对" } diff --git a/tccli/services/mongodb/mongodb_client.py b/tccli/services/mongodb/mongodb_client.py index e111610cb1..dd5121d7d7 100644 --- a/tccli/services/mongodb/mongodb_client.py +++ b/tccli/services/mongodb/mongodb_client.py @@ -71,6 +71,58 @@ def doTerminateDBInstances(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) +def doDescribeDBInstanceURL(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.MongodbClient(cred, g_param[OptionsDefine.Region], profile) + client._sdkVersion += ("_CLI_" + __version__) + models = MODELS_MAP[g_param[OptionsDefine.Version]] + model = models.DescribeDBInstanceURLRequest() + model.from_json_string(json.dumps(args)) + start_time = time.time() + while True: + rsp = client.DescribeDBInstanceURL(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 doDescribeDBInstanceNodeProperty(args, parsed_globals): g_param = parse_global_arg(parsed_globals) @@ -2893,6 +2945,7 @@ def doModifyDBInstanceSecurityGroup(args, parsed_globals): ACTION_MAP = { "TerminateDBInstances": doTerminateDBInstances, + "DescribeDBInstanceURL": doDescribeDBInstanceURL, "DescribeDBInstanceNodeProperty": doDescribeDBInstanceNodeProperty, "DescribeDBInstanceParamTpl": doDescribeDBInstanceParamTpl, "DescribeDBInstanceDeal": doDescribeDBInstanceDeal, diff --git a/tccli/services/mongodb/v20190725/api.json b/tccli/services/mongodb/v20190725/api.json index b66dd1b856..678aaa0178 100644 --- a/tccli/services/mongodb/v20190725/api.json +++ b/tccli/services/mongodb/v20190725/api.json @@ -133,6 +133,13 @@ "output": "DescribeDBInstanceParamTplDetailResponse", "status": "online" }, + "DescribeDBInstanceURL": { + "document": "本接口(DescribeDBInstanceURL)用于获取指定实例的 URI 形式的连接串访问地址示例。", + "input": "DescribeDBInstanceURLRequest", + "name": "获取实例连接的URI。", + "output": "DescribeDBInstanceURLResponse", + "status": "online" + }, "DescribeDBInstances": { "document": "本接口(DescribeDBInstances)用于查询云数据库实例列表,支持通过项目ID、实例ID、实例状态等过滤条件来筛选主实例、灾备实例和只读实例信息列表。", "input": "DescribeDBInstancesRequest", @@ -1794,6 +1801,32 @@ ], "usage": "both" }, + "DbURL": { + "document": "数据库实例 URI 形式的连接串访问地址示例。", + "members": [ + { + "disabled": false, + "document": "指 URI 类别,包括:,\n- CLUSTER_ALL:指通过该 URI 连接库实例的主节点,可读写。\n- CLUSTER_READ_READONLY:指通过该 URI 连接实例只读节点。\n- CLUSTER_READ_SECONDARY:指通过该 URI 连接实例从节点。\n- CLUSTER_READ_SECONDARY_AND_READONLY:指通过该 URI 连接实例只读从节点。\n- CLUSTER_PRIMARY_AND_SECONDARY:指通过该 URI 连接实例 主节点与从节点。\n- MONGOS_ALL:指通过该 URI 连接每个 Mongos 节点,可读写。\n- MONGOS_READ_READONLY:指通过该 URI 连接 Mongos 的只读节点。\n- MONGOS_READ_SECONDARY:指通过该 URI 连接 Mongos 的从节点。\n- MONGOS_READ_PRIMARY_AND_SECONDARY:指通过该URI 连接 Mongos 的主节点与从节点。\n- MONGOS_READ_SECONDARY_AND_READONLY:指通过该URI 连接 Mongos 的从节点与只读节点。", + "example": "MONGOS_ALL", + "member": "string", + "name": "URLType", + "required": true, + "type": "string", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "实例 URI 形式的连接串访问地址示例。", + "example": "无", + "member": "string", + "name": "Address", + "required": true, + "type": "string", + "value_allowed_null": false + } + ], + "usage": "out" + }, "DeleteAccountUserRequest": { "document": "DeleteAccountUser请求参数结构体", "members": [ @@ -2730,6 +2763,43 @@ ], "type": "object" }, + "DescribeDBInstanceURLRequest": { + "document": "DescribeDBInstanceURL请求参数结构体", + "members": [ + { + "disabled": false, + "document": "实例 ID。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb#/)在实例列表复制实例 ID。", + "example": "cmgo-p8vn********", + "member": "string", + "name": "InstanceId", + "required": true, + "type": "string" + } + ], + "type": "object" + }, + "DescribeDBInstanceURLResponse": { + "document": "DescribeDBInstanceURL返回参数结构体", + "members": [ + { + "disabled": false, + "document": "实例 URI 形式的连接串访问地址示例。包含:URI 类型及连接串地址。", + "example": "无", + "member": "DbURL", + "name": "Urls", + "output_required": true, + "type": "list", + "value_allowed_null": false + }, + { + "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", + "member": "string", + "name": "RequestId", + "type": "string" + } + ], + "type": "object" + }, "DescribeDBInstancesRequest": { "document": "DescribeDBInstances请求参数结构体", "members": [ diff --git a/tccli/services/mongodb/v20190725/examples.json b/tccli/services/mongodb/v20190725/examples.json index 73f9696e39..48c0df54b0 100644 --- a/tccli/services/mongodb/v20190725/examples.json +++ b/tccli/services/mongodb/v20190725/examples.json @@ -152,6 +152,14 @@ "title": "查询参数模板详情" } ], + "DescribeDBInstanceURL": [ + { + "document": "获取指定实例的 URI 形式的连接串访问地址示例,包含 URI 类型、URI 连接串。", + "input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstanceURL\n<公共请求参数>\n\n{\n \"InstanceId\": \"cmgo-g5*****\"\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"8e4cb480-9d32-11ec-8dfc-037b69052954\",\n \"Urls\": [\n {\n \"Address\": \"mongodb://mongouser:******@10.*.0.**:27017,10.*.0.**:27017/test?authSource=admin\",\n \"URLType\": \"CLUSTER_ALL\"\n },\n {\n \"Address\": \"mongodb://mongouser:******@10.*.0.**:27017,10.*.0.**:27017/test?authSource=admin&readPreference=secondaryPreferred\",\n \"URLType\": \"CLUSTER_READ_SECONDARY\"\n }\n ]\n }\n}", + "title": "获取访问实例的 URI。" + } + ], "DescribeDBInstances": [ { "document": "查询实例列表", diff --git a/tccli/services/rum/v20210622/api.json b/tccli/services/rum/v20210622/api.json index 0ec2084f61..0cf34b7b9f 100644 --- a/tccli/services/rum/v20210622/api.json +++ b/tccli/services/rum/v20210622/api.json @@ -529,7 +529,7 @@ "example": "success", "member": "string", "name": "Msg", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -3713,7 +3713,7 @@ { "disabled": false, "document": "查询字符串", - "example": "\"select delta(count) as allCount from db.name where time >= 1621240040s and time <= 1621243620s and id='1613' group by \\\"ext3\\\" slimit 1000\"", + "example": "\"select delta(count) as allCount from db.name where time >= 1621240040s and time <= 1621243620s and id='1613' group by \\\"ext3\\\" limit 1000\"", "member": "string", "name": "Query", "required": true, @@ -5053,7 +5053,7 @@ "type": "list" }, { - "disabled": false, + "disabled": true, "document": "该参数已废弃,demo模式请在Filters内注明", "example": "1", "member": "int64", @@ -5208,7 +5208,7 @@ { "disabled": false, "document": "临时密钥key", - "example": "sfdgfgfgfdf", + "example": "OnKjAEea4W5***", "member": "string", "name": "SecretKey", "output_required": true, @@ -5218,7 +5218,7 @@ { "disabled": false, "document": "临时密钥 id", - "example": "dfdfdfdgfgfbf", + "example": "AKIDDHDvz_o***", "member": "string", "name": "SecretID", "output_required": true, @@ -5228,7 +5228,7 @@ { "disabled": false, "document": "临时密钥临时 token", - "example": "asdfdsfdsgg", + "example": "2nTxEweEOsBo***", "member": "string", "name": "SessionToken", "output_required": true, @@ -5238,7 +5238,7 @@ { "disabled": false, "document": "开始时间戳", - "example": "123787043", + "example": "1739258276", "member": "int64", "name": "StartTime", "output_required": true, @@ -5248,7 +5248,7 @@ { "disabled": false, "document": "过期时间戳", - "example": "23435436565", + "example": "1739260076", "member": "int64", "name": "ExpiredTime", "output_required": true, @@ -5751,7 +5751,7 @@ "type": "int" }, { - "disabled": false, + "disabled": true, "document": "该参数已废弃", "example": "1", "member": "int64", @@ -5925,7 +5925,7 @@ "type": "list" }, { - "disabled": false, + "disabled": true, "document": "实例Id, 该参数已废弃,请在Filters内注明", "example": "****7ixj431zO1", "member": "string", @@ -5943,7 +5943,7 @@ "type": "list" }, { - "disabled": false, + "disabled": true, "document": "该参数已废弃,demo模式请在Filters内注明", "example": "1", "member": "int64", @@ -6159,7 +6159,7 @@ { "disabled": false, "document": "username", - "example": "hawchen", + "example": "hachen", "member": "string", "name": "SaslUserName", "output_required": true, diff --git a/tccli/services/rum/v20210622/examples.json b/tccli/services/rum/v20210622/examples.json index 0c8d10ae32..f41f103106 100644 --- a/tccli/services/rum/v20210622/examples.json +++ b/tccli/services/rum/v20210622/examples.json @@ -11,7 +11,7 @@ "CreateReleaseFile": [ { "document": "", - "input": "https://rum.tencentcloudapi.com/?Action=CreateReleaseFile\n&ProjectID=1\n&Files.0.Version='0.0.1'\n&Files.0.FileName='a.js.map'\n&Files.0.FileKey='1-0.0.1-a.js.map'\n&Files.0.FileHash='sadfjfhdkhfksdjhg;'\n&<公共请求参数>", + "input": "https://rum.tencentcloudapi.com/?Action=CreateReleaseFile\n&ProjectID=1\n&Files.0.Version='0.0.1'\n&Files.0.FileName='a.js.map'\n&Files.0.FileKey='1-0.0.1-a.js.map'\n&Files.0.FileHash='XNdLOW5RN***'\n&<公共请求参数>", "output": "{\n \"Response\": {\n \"Msg\": \"success\",\n \"RequestId\": \"65a8fec7-2b39-4b11-893f-3715279d235f\"\n }\n}", "title": "创建文件记录" } @@ -90,7 +90,7 @@ { "document": "", "input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAppDimensionMetrics\n<公共请求参数>\n\n{\n \"Filter\": \"'[]'\",\n \"ProjectID\": 1,\n \"FilterSimple\": \"'{\\\\\\\"entrance_time__gte\\\\\\\":1671367462000,\\\\\\\"entrance_time__lte\\\\\\\":1671453862000,\\\\\\\"category__in\\\\\\\":[\\\\\\\"PERF_NET_REQUEST\\\\\\\"],\\\\\\\"d4\\\\\\\":\\\\\\\"false\\\\\\\",\\\\\\\"d3\\\\\\\":\\\\\\\"http\\\\\\\",\\\\\\\"v1__lte\\\\\\\":300000}'\",\n \"From\": \"'kv_7_dist'\",\n \"Fields\": \"'[[\\\\\\\"explodeDimensions\\\\\\\",\\\\\\\"d2\\\\\\\",\\\\\\\"d8\\\\\\\"],[\\\\\\\"as\\\\\\\",[\\\\\\\"multiIf\\\\\\\",[\\\\\\\"equals\\\\\\\",\\\\\\\"dimension_name\\\\\\\",\\\\\\\"'d2'\\\\\\\"],\\\\\\\"'domain'\\\\\\\",[\\\\\\\"equals\\\\\\\",\\\\\\\"dimension_name\\\\\\\",\\\\\\\"'d8'\\\\\\\"],\\\\\\\"'region'\\\\\\\",\\\\\\\"dimension_name\\\\\\\"],\\\\\\\"dimension\\\\\\\"],[\\\\\\\"as\\\\\\\",[\\\\\\\"avg\\\\\\\",\\\\\\\"v1\\\\\\\"],\\\\\\\"cost_time\\\\\\\"],[\\\\\\\"as\\\\\\\",[\\\\\\\"count\\\\\\\",1],\\\\\\\"request_cnt\\\\\\\"],[\\\\\\\"as\\\\\\\",[\\\\\\\"aggByPartition\\\\\\\",\\\\\\\"sum\\\\\\\",\\\\\\\"request_cnt\\\\\\\",\\\\\\\"dimension_name\\\\\\\"],\\\\\\\"total_request_cnt\\\\\\\"],[\\\\\\\"as\\\\\\\",\\\\\\\"total_request_cnt\\\\\\\",\\\\\\\"total_cnt\\\\\\\"],[\\\\\\\"as\\\\\\\",\\\\\\\"request_cnt\\\\\\\",\\\\\\\"cnt\\\\\\\"],[\\\\\\\"as\\\\\\\",[\\\\\\\"aggByPartition\\\\\\\",\\\\\\\"row_number\\\\\\\",\\\\\\\"none\\\\\\\",\\\\\\\"dimension_name\\\\\\\",[\\\\\\\"order_by\\\\\\\",\\\\\\\"request_cnt\\\\\\\",\\\\\\\"desc\\\\\\\"]],\\\\\\\"rank_cnt\\\\\\\"]]'\",\n \"Limit\": 1000\n}", - "output": "{\n \"Response\": {\n \"Data\": \"'{\\\"status\\\":\\\"ok\\\",\\\"code\\\":10000,\\\"msg\\\":\\\"ok\\\",\\\"data\\\":[{\\\"by_dimension\\\":[\\\"d2\\\",\\\"m.zhipin.com\\\"],\\\"cnt\\\":1280,\\\"cost_time\\\":1480,\\\"dimension\\\":\\\"domain\\\",\\\"dimension_name\\\":\\\"d2\\\",\\\"dimension_value\\\":\\\"m.zhipin.com\\\",\\\"rank_cnt\\\":1,\\\"request_cnt\\\":1280,\\\"total_cnt\\\":1280,\\\"total_request_cnt\\\":1280},{\\\"by_dimension\\\":[\\\"d8\\\",\\\"unsupported\\\"],\\\"cnt\\\":1280,\\\"cost_time\\\":1480,\\\"dimension\\\":\\\"region\\\",\\\"dimension_name\\\":\\\"d8\\\",\\\"dimension_value\\\":\\\"unsupported\\\",\\\"rank_cnt\\\":1,\\\"request_cnt\\\":1280,\\\"total_cnt\\\":1280,\\\"total_request_cnt\\\":1280}]}'\",\n \"RequestId\": \"8a211fc4-7ce2-40ce-ad49-1c29cca2f3fc\"\n }\n}", + "output": "{\n \"Response\": {\n \"Data\": \"'{\\\"status\\\":\\\"ok\\\",\\\"code\\\":10000,\\\"msg\\\":\\\"ok\\\",\\\"data\\\":[{\\\"by_dimension\\\":[\\\"d2\\\",\\\"m.zipkin.com\\\"],\\\"cnt\\\":1280,\\\"cost_time\\\":1480,\\\"dimension\\\":\\\"domain\\\",\\\"dimension_name\\\":\\\"d2\\\",\\\"dimension_value\\\":\\\"m.zipkin.com\\\",\\\"rank_cnt\\\":1,\\\"request_cnt\\\":1280,\\\"total_cnt\\\":1280,\\\"total_request_cnt\\\":1280},{\\\"by_dimension\\\":[\\\"d8\\\",\\\"unsupported\\\"],\\\"cnt\\\":1280,\\\"cost_time\\\":1480,\\\"dimension\\\":\\\"region\\\",\\\"dimension_name\\\":\\\"d8\\\",\\\"dimension_value\\\":\\\"unsupported\\\",\\\"rank_cnt\\\":1,\\\"request_cnt\\\":1280,\\\"total_cnt\\\":1280,\\\"total_request_cnt\\\":1280}]}'\",\n \"RequestId\": \"8a211fc4-7ce2-40ce-ad49-1c29cca2f3fc\"\n }\n}", "title": "查询多维分析数据" } ], @@ -121,7 +121,7 @@ "DescribeData": [ { "document": "", - "input": "https://rum.tencentcloudapi.com/?Action=DescribeData\n&ID=1\n&Query=\"select delta(count) as allCount from db.name where time >= 1621240040s and time <= 1621243620s and id='1613' group by \\\"ext3\\\" slimit 1000\"\n&<公共请求参数>", + "input": "https://rum.tencentcloudapi.com/?Action=DescribeData\n&ID=1\n&Query=\"select delta(count) as allCount from db.name where time >= 1621240040s and time <= 1621243620s and id='1613' group by \\\"ext3\\\" limit 1000\"\n&<公共请求参数>", "output": "{\n \"Response\": {\n \"Result\": \"{\\\"request_id\\\":\\\"65a8fec7-2b39-4b11-893f-3715279d235f\\\",\\\"results\\\":[{\\\"statement_id\\\":0,\\\"total\\\":0},{\\\"statement_id\\\":1,\\\"total\\\":0}]}\",\n \"RequestId\": \"65a8fec7-2b39-4b11-893f-3715279d235f\"\n }\n}", "title": "转发获取data信息" } @@ -338,7 +338,7 @@ { "document": "获取临时密钥", "input": "https://rum.tencentcloudapi.com/?Action=DescribeReleaseFileSign\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"SecretKey\": \"dahfldaflndfdfdsf\",\n \"SecretID\": \"asdkadalsdlsafk\",\n \"SessionToken\": \"fdslkfjdkjfldsjfdfdf\",\n \"StartTime\": 1232132132,\n \"ExpiredTime\": 123212143434,\n \"RequestId\": \"65a8fec7-2b39-4b11-893f-3715279d235f\"\n }\n}", + "output": "{\n \"Response\": {\n \"SecretKey\": \"OnKjAEea4W5***\",\n \"SecretID\": \"AKIDDHDvz_oW***\",\n \"SessionToken\": \"2nTxEweEOsBoGaz0sjm***\",\n \"StartTime\": 1739258276,\n \"ExpiredTime\": 1739260076,\n \"RequestId\": \"65a8fec7-2b39-4b11-893f-3715279d235f\"\n }\n}", "title": "获取临时密钥" } ], @@ -382,13 +382,13 @@ { "document": "", "input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRumLogExports\n<公共请求参数>\n\n{\n \"PageNum\": 1,\n \"ID\": 234763,\n \"PageSize\": 999\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"01a45bad-d053-4af8-9f60-0c4293574f5d\",\n \"Result\": \"{\\\"code\\\":0,\\\"data\\\":{\\\"page\\\":1,\\\"pageSize\\\":999,\\\"totalCount\\\":1,\\\"totalPage\\\":1,\\\"data\\\":[{\\\"id\\\":234763,\\\"name\\\":\\\"124858_log\\\",\\\"status\\\":\\\"\\\",\\\"message\\\":\\\"任务创建成功\\\",\\\"progress\\\":0,\\\"url\\\":\\\"\\\",\\\"updateUser\\\":\\\"tickli\\\",\\\"updateTime\\\":\\\"2025-01-19 10:13:04\\\",\\\"type\\\":\\\"json\\\",\\\"createUser\\\":\\\"tickli\\\",\\\"createTime\\\":\\\"2025-01-19 10:13:04\\\"}]},\\\"msg\\\":\\\"\\\"}\"\n }\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"01a45bad-d053-4af8-9f60-0c4293574f5d\",\n \"Result\": \"{\\\"code\\\":0,\\\"data\\\":{\\\"page\\\":1,\\\"pageSize\\\":999,\\\"totalCount\\\":1,\\\"totalPage\\\":1,\\\"data\\\":[{\\\"id\\\":234763,\\\"name\\\":\\\"124858_log\\\",\\\"status\\\":\\\"\\\",\\\"message\\\":\\\"任务创建成功\\\",\\\"progress\\\":0,\\\"url\\\":\\\"\\\",\\\"updateUser\\\":\\\"TICLI\\\",\\\"updateTime\\\":\\\"2025-01-19 10:13:04\\\",\\\"type\\\":\\\"json\\\",\\\"createUser\\\":\\\"TICLI\\\",\\\"createTime\\\":\\\"2025-01-19 10:13:04\\\"}]},\\\"msg\\\":\\\"\\\"}\"\n }\n}", "title": "xc" }, { "document": "", "input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRumLogExports\n<公共请求参数>\n\n{\n \"PageSize\": 999,\n \"ID\": 10,\n \"PageNum\": 1\n}", - "output": "{\n \"Response\": {\n \"Result\": \"{\\\"code\\\":0,\\\"data\\\":{\\\"page\\\":1,\\\"pageSize\\\":999,\\\"totalCount\\\":1,\\\"totalPage\\\":1,\\\"data\\\":[{\\\"id\\\":10,\\\"name\\\":\\\"10_log\\\",\\\"status\\\":\\\"\\\",\\\"message\\\":\\\"任务创建成功\\\",\\\"progress\\\":0,\\\"url\\\":\\\"\\\",\\\"updateUser\\\":\\\"tickli\\\",\\\"updateTime\\\":\\\"2025-01-19 10:14:04\\\",\\\"type\\\":\\\"json\\\",\\\"createUser\\\":\\\"tickli\\\",\\\"createTime\\\":\\\"2025-01-19 10:14:04\\\"}]},\\\"msg\\\":\\\"\\\"}\",\n \"RequestId\": \"65a8fec7-2b39-4b11-893f-3715279d235f\"\n }\n}", + "output": "{\n \"Response\": {\n \"Result\": \"{\\\"code\\\":0,\\\"data\\\":{\\\"page\\\":1,\\\"pageSize\\\":999,\\\"totalCount\\\":1,\\\"totalPage\\\":1,\\\"data\\\":[{\\\"id\\\":10,\\\"name\\\":\\\"10_log\\\",\\\"status\\\":\\\"\\\",\\\"message\\\":\\\"任务创建成功\\\",\\\"progress\\\":0,\\\"url\\\":\\\"\\\",\\\"updateUser\\\":\\\"TICLI\\\",\\\"updateTime\\\":\\\"2025-01-19 10:14:04\\\",\\\"type\\\":\\\"json\\\",\\\"createUser\\\":\\\"TICLI\\\",\\\"createTime\\\":\\\"2025-01-19 10:14:04\\\"}]},\\\"msg\\\":\\\"\\\"}\",\n \"RequestId\": \"65a8fec7-2b39-4b11-893f-3715279d235f\"\n }\n}", "title": "获取日志列表" } ], diff --git a/tccli/services/ssl/v20191205/api.json b/tccli/services/ssl/v20191205/api.json index 7b2cf725eb..85cc6bd6d0 100644 --- a/tccli/services/ssl/v20191205/api.json +++ b/tccli/services/ssl/v20191205/api.json @@ -947,8 +947,8 @@ }, { "disabled": false, - "document": "域名状态", - "example": "enable", + "document": "域名状态 rejected:域名审核未通过,域名备案过期/被注销导致,processing:部署中,online:已启动,offline:已关闭", + "example": "online", "member": "string", "name": "Status", "output_required": true, @@ -5569,7 +5569,7 @@ { "disabled": false, "document": "部署资源类型apigateway", - "example": "clb", + "example": "apigateway", "member": "string", "name": "ResourceType", "required": false, @@ -6341,7 +6341,7 @@ }, { "disabled": false, - "document": "过滤参数列表", + "document": "过滤参数列表; FilterKey:domainMatch(查询域名是否匹配的实例列表) FilterValue:1,表示查询匹配; 0,表示查询不匹配; 默认查询匹配", "example": "无", "member": "Filter", "name": "Filters", @@ -6898,7 +6898,7 @@ }, { "disabled": false, - "document": "过滤参数列表", + "document": "过滤参数列表; FilterKey:domainMatch(查询域名是否匹配的实例列表) FilterValue:1,表示查询匹配; 0,表示查询不匹配; 默认查询匹配", "example": "无", "member": "Filter", "name": "Filters", @@ -7479,12 +7479,12 @@ "type": "object" }, "DomainValidationResult": { - "document": "域名验证结果", + "document": "证书域名验证结果", "members": [ { "disabled": false, - "document": "域名。", - "example": "qq.com", + "document": "证书绑定的域名。", + "example": "tencent.com", "member": "string", "name": "Domain", "output_required": true, @@ -7493,7 +7493,7 @@ }, { "disabled": false, - "document": "验证类型。\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "域名验证类型。 取值为:DNS、FILE、DNS_AUTO、DNS_PROXY、FILE_PROXY\n注意:此字段可能返回 null,表示取不到有效值。", "example": "DNS", "member": "string", "name": "VerifyType", @@ -7503,8 +7503,8 @@ }, { "disabled": false, - "document": "本地检查结果。", - "example": "1", + "document": "腾讯云检测结果,取值:1(验证通过); -1(被限频或者 txt record not found);-2(txt record not match);-3(ns record not found);-4(file not found);-5(file not match);-6(cname record not found);-7(cname record not match);-8(ns record not found)-9(file not found);-10(file not match)\n", + "example": "-1", "member": "int64", "name": "LocalCheck", "output_required": true, @@ -7513,8 +7513,8 @@ }, { "disabled": false, - "document": "CA检查结果。", - "example": "1", + "document": "CA检查结果。取值: -1(未检测通过);2(检测通过)", + "example": "-1", "member": "int64", "name": "CaCheck", "output_required": true, @@ -7523,8 +7523,8 @@ }, { "disabled": false, - "document": "检查失败原因。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "fail", + "document": "检查失败原因。状态LocalCheck的具体描述\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "txt record not found", "member": "string", "name": "LocalCheckFailReason", "output_required": true, @@ -7534,7 +7534,7 @@ { "disabled": false, "document": "检查到的值。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "[\"www.**.com\"]", + "example": "[\"2025020702351560msettk82zj7nc30anr3n0lon5l6zm5shot5qznawf8mgun1r\"]", "member": "string", "name": "CheckValue", "output_required": true, @@ -7543,7 +7543,7 @@ }, { "disabled": false, - "document": "是否频繁请求。", + "document": "是否被限频拦截, 取值:false(未被限频);true(被限频)", "example": "false", "member": "bool", "name": "Frequently", @@ -7553,7 +7553,7 @@ }, { "disabled": false, - "document": "是否已经签发。", + "document": "证书是否已经签发。取值: false(未签发);true(已签发)", "example": "false", "member": "bool", "name": "Issued", @@ -10206,8 +10206,8 @@ }, { "disabled": false, - "document": "域名状态", - "example": "enable", + "document": "域名状态\ndeployed:已部署;\nprocessing:部署中;\napplying:申请中;\nfailed:申请失败;\nissued:绑定失败。", + "example": "deployed", "member": "string", "name": "Status", "output_required": true, diff --git a/tccli/services/sts/v20180813/api.json b/tccli/services/sts/v20180813/api.json index 71448e9d9a..4652dbe29e 100644 --- a/tccli/services/sts/v20180813/api.json +++ b/tccli/services/sts/v20180813/api.json @@ -119,7 +119,7 @@ { "disabled": false, "document": "策略描述\n注意:\n1、该参数需要做urlencode,服务端会对该字段做urldecode, 并按处理后Policy授予临时访问凭证权限,请按规范传入参数。(如果通过 GET 方法请求云 API,发送请求前,所有参数都需要按照[云 API 规范](https://cloud.tencent.com/document/api/598/33159#1.-.E6.8B.BC.E6.8E.A5.E8.A7.84.E8.8C.83.E8.AF.B7.E6.B1.82.E4.B8.B2)再 urlencode 一次)。\n2、策略语法参照[ CAM 策略语法](https://cloud.tencent.com/document/product/598/10603)。\n3、策略中不能包含 principal 元素。", - "example": "%7B%22version%22%3A%222.0%22%2C%22statement%22%3A%5B%7B%22effect%22%3A%22allow%22%2C%22action%22%3A%5B%22dlc%3A*%22%5D%2C%22resource%22%3A%5B%22*%22%5D%7D%5D%7D%22%7D%7D%7D", + "example": "%7B%22version%22%3A%222.0%22%2C%22statement%22%3A%5B%7B%22effect%22%3A%22allow%22%2C%22action%22%3A%5B%22cam%3AGetUser%22%5D%2C%22resource%22%3A%5B%22*%22%5D%7D%5D%7D%22%7D%7D%7D", "member": "string", "name": "Policy", "required": false, diff --git a/tccli/services/teo/v20220901/api.json b/tccli/services/teo/v20220901/api.json index a879ac0bbe..77918729ca 100644 --- a/tccli/services/teo/v20220901/api.json +++ b/tccli/services/teo/v20220901/api.json @@ -18987,7 +18987,7 @@ "members": [ { "disabled": false, - "document": "[匹配条件\n](https://cloud.tencent.com/document/product/1552/90438#33f65828-c6c6-4b66-a011-25a20b548d5d)。", + "document": "[匹配条件](https://cloud.tencent.com/document/product/1552/90438#33f65828-c6c6-4b66-a011-25a20b548d5d)。", "example": "\"${http.request.host} in ['test.test.com']\"", "member": "string", "name": "Condition", diff --git a/tccli/services/tke/v20180525/api.json b/tccli/services/tke/v20180525/api.json index c42973f0cc..22751c6d96 100644 --- a/tccli/services/tke/v20180525/api.json +++ b/tccli/services/tke/v20180525/api.json @@ -17342,6 +17342,15 @@ "name": "RawValues", "required": false, "type": "string" + }, + { + "disabled": false, + "document": "是否仅做安装检查,设置为true时仅做检查,不会安装组件", + "example": "false", + "member": "bool", + "name": "DryRun", + "required": false, + "type": "bool" } ], "type": "object" @@ -25592,6 +25601,15 @@ "name": "UpdateStrategy", "required": false, "type": "string" + }, + { + "disabled": false, + "document": "是否仅做更新检查,设置为true时仅做检查,不会更新组件", + "example": "false", + "member": "bool", + "name": "DryRun", + "required": false, + "type": "bool" } ], "type": "object" diff --git a/tccli/services/trro/v20220325/api.json b/tccli/services/trro/v20220325/api.json index d94cc92529..e1374d4949 100644 --- a/tccli/services/trro/v20220325/api.json +++ b/tccli/services/trro/v20220325/api.json @@ -165,7 +165,7 @@ "metadata": { "apiVersion": "2022-03-25", "api_brief": "介绍如果使用API创建远程操控项目,并对现场设备和远端设备进行管理,查看远控会话数据等", - "serviceNameCN": "远程实时操控", + "serviceNameCN": "实时互动-工业能源版", "serviceShortName": "trro" }, "objects": { diff --git a/tccli/services/trtc/v20190722/api.json b/tccli/services/trtc/v20190722/api.json index 1305d5fec6..d20b252ea6 100644 --- a/tccli/services/trtc/v20190722/api.json +++ b/tccli/services/trtc/v20190722/api.json @@ -1164,7 +1164,7 @@ { "disabled": false, "document": "应用id", - "example": "1234567", + "example": "1400000001", "member": "uint64", "name": "SdkAppId", "required": true, @@ -1173,7 +1173,7 @@ { "disabled": false, "document": "图片内容经base64编码后的string格式,最大长度为2M", - "example": "abcde", + "example": "MTg4MTM=", "member": "string", "name": "Content", "required": true, @@ -1233,9 +1233,10 @@ { "disabled": false, "document": "图片id", - "example": "123", + "example": "18813", "member": "uint64", "name": "PictureId", + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -1771,7 +1772,7 @@ { "disabled": false, "document": "用量类型,与UsageValue中各个位置的值对应。", - "example": "无", + "example": "[\"Audio\",\"SDH264\",\"HDH264\",\"FullHDH264\",\"2KH264\",\"4KH264\",\"SDH265\",\"HDH265\",\"FullHDH265\",\"2KH265\",\"4KH265\"]", "member": "string", "name": "UsageKey", "output_required": true, @@ -1974,7 +1975,7 @@ { "disabled": false, "document": "用量类型,与UsageValue中各个位置的值对应。", - "example": "无", + "example": "[\"Audio\",\"SD\",\"HD\",\"FullHD\",\"2K\",\"4K\"]", "member": "string", "name": "UsageKey", "output_required": true, @@ -2039,7 +2040,7 @@ { "disabled": false, "document": "用量类型,与UsageValue中各个位置的值对应。", - "example": "无", + "example": "[\"Bandwidth\"]", "member": "string", "name": "UsageKey", "output_required": true, @@ -2928,7 +2929,7 @@ { "disabled": false, "document": "用量类型,与UsageValue中各个位置的值对应。", - "example": "无", + "example": "[\"Audio\",\"SD\",\"HD\",\"FullHD\",\"2K\",\"4K\"]", "member": "string", "name": "UsageKey", "output_required": true, diff --git a/tccli/services/trtc/v20190722/examples.json b/tccli/services/trtc/v20190722/examples.json index e87221c763..e10ee7100d 100644 --- a/tccli/services/trtc/v20190722/examples.json +++ b/tccli/services/trtc/v20190722/examples.json @@ -27,7 +27,7 @@ "CreatePicture": [ { "document": "上传图片", - "input": "https://trtc.tencentcloudapi.com/?Action=CreatePicture\n&Content=test\n&Suffix=jpg\n&SdkAppId=123\n&Height=12\n&Width=15\n&XPosition=15\n&YPosition=36\n&<公共请求参数>", + "input": "https://trtc.tencentcloudapi.com/?Action=CreatePicture\n&Content=MTg4MTM=\n&Suffix=jpg\n&SdkAppId=140000001\n&Height=12\n&Width=15\n&XPosition=15\n&YPosition=36\n&<公共请求参数>", "output": "{\n \"Response\": {\n \"PictureId\": 1400297109,\n \"RequestId\": \"049461e6-f2f5-4168-887e-aca4fbfa5fae\"\n }\n}", "title": "上传图片" } @@ -92,7 +92,7 @@ { "document": "", "input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMixTranscodingUsage\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-01-01\",\n \"StartTime\": \"2022-01-02\",\n \"SdkAppId\": 1400123456\n}", - "output": "{\n \"Response\": {\n \"UsageKey\": [\n \"Audio\",\n \"SDH264\",\n \"HDH264\",\n \"FullHDH264\",\n \"2KH264\",\n \"4KH264\",\n \"SDH265\",\n \"HDH265\",\n \"FullHDH265\",\n \"2KH265\",\n \"4KH265\"\n ],\n \"UsageList\": [\n {\n \"TimeKey\": \"2022-01-01 00:00:00\",\n \"UsageValue\": [\n 10,\n 20,\n 30,\n 40,\n 50,\n 60,\n 70,\n 80,\n 90,\n 100,\n 110\n ]\n },\n {\n \"TimeKey\": \"2022-01-02 00:00:00\",\n \"UsageValue\": [\n 10,\n 20,\n 30,\n 40,\n 50,\n 60,\n 70,\n 80,\n 90,\n 100,\n 110\n ]\n }\n ],\n \"RequestId\": \"abc\"\n }\n}", + "output": "{\n \"Response\": {\n \"UsageKey\": [\n \"Audio\",\n \"SDH264\",\n \"HDH264\",\n \"FullHDH264\",\n \"2KH264\",\n \"4KH264\",\n \"SDH265\",\n \"HDH265\",\n \"FullHDH265\",\n \"2KH265\",\n \"4KH265\"\n ],\n \"UsageList\": [\n {\n \"TimeKey\": \"2022-01-01 00:00:00\",\n \"UsageValue\": [\n 10,\n 20,\n 30,\n 40,\n 50,\n 60,\n 70,\n 80,\n 90,\n 100,\n 110\n ]\n },\n {\n \"TimeKey\": \"2022-01-02 00:00:00\",\n \"UsageValue\": [\n 10,\n 20,\n 30,\n 40,\n 50,\n 60,\n 70,\n 80,\n 90,\n 100,\n 110\n ]\n }\n ],\n \"RequestId\": \"6def28d59b9384b4de4e1d818da57ae0\"\n }\n}", "title": "获取用户在2022年1月1日-2022年1月2日范围内,SdkAppId为1400123456的应用的用量明细。" } ], @@ -116,7 +116,7 @@ { "document": "", "input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRecordingUsage\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-01-01\",\n \"StartTime\": \"2022-01-02\",\n \"SdkAppId\": 1400123456,\n \"MixType\": \"single\"\n}", - "output": "{\n \"Response\": {\n \"UsageKey\": [\n \"Audio\",\n \"SD\",\n \"HD\",\n \"FullHD\",\n \"2K\",\n \"4K\"\n ],\n \"UsageList\": [\n {\n \"TimeKey\": \"2022-01-01 00:00:00\",\n \"UsageValue\": [\n 10,\n 20,\n 30,\n 40,\n 50,\n 60\n ]\n },\n {\n \"TimeKey\": \"2022-01-02 00:00:00\",\n \"UsageValue\": [\n 10,\n 20,\n 30,\n 40,\n 50,\n 60\n ]\n }\n ],\n \"RequestId\": \"abc\"\n }\n}", + "output": "{\n \"Response\": {\n \"UsageKey\": [\n \"Audio\",\n \"SD\",\n \"HD\",\n \"FullHD\",\n \"2K\",\n \"4K\"\n ],\n \"UsageList\": [\n {\n \"TimeKey\": \"2022-01-01 00:00:00\",\n \"UsageValue\": [\n 10,\n 20,\n 30,\n 40,\n 50,\n 60\n ]\n },\n {\n \"TimeKey\": \"2022-01-02 00:00:00\",\n \"UsageValue\": [\n 10,\n 20,\n 30,\n 40,\n 50,\n 60\n ]\n }\n ],\n \"RequestId\": \"02a7c0fa-39a5-46cd-922e-12bb26b77d9d\"\n }\n}", "title": "获取用户在2022年1月1日-2022年1月2日范围内,SdkAppId为1400123456的应用的单流录制用量明细。" } ], @@ -124,7 +124,7 @@ { "document": "", "input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRelayUsage\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-01-01\",\n \"StartTime\": \"2022-01-02\",\n \"SdkAppId\": 1400123456\n}", - "output": "{\n \"Response\": {\n \"UsageKey\": [\n \"Bandwidth\"\n ],\n \"UsageList\": [\n {\n \"TimeKey\": \"2022-01-01 00:00:00\",\n \"UsageValue\": [\n 10.11\n ]\n },\n {\n \"TimeKey\": \"2022-01-02 00:00:00\",\n \"UsageValue\": [\n 10.11\n ]\n }\n ],\n \"RequestId\": \"abc\"\n }\n}", + "output": "{\n \"Response\": {\n \"UsageKey\": [\n \"Bandwidth\"\n ],\n \"UsageList\": [\n {\n \"TimeKey\": \"2022-01-01 00:00:00\",\n \"UsageValue\": [\n 10.11\n ]\n },\n {\n \"TimeKey\": \"2022-01-02 00:00:00\",\n \"UsageValue\": [\n 10.11\n ]\n }\n ],\n \"RequestId\": \"02a7c0fa-39a5-46cd-922e-12bb26b77d9d\"\n }\n}", "title": "获取用户在2022年1月1日-2022年1月2日范围内,SdkAppId为1400123456的应用的用量明细。" } ], @@ -236,7 +236,7 @@ { "document": "", "input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTrtcUsage\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-01-01\",\n \"StartTime\": \"2022-01-02\",\n \"SdkAppId\": 1400123456\n}", - "output": "{\n \"Response\": {\n \"UsageKey\": [\n \"Audio\",\n \"SD\",\n \"HD\",\n \"FullHD\",\n \"2K\",\n \"4K\"\n ],\n \"UsageList\": [\n {\n \"TimeKey\": \"2022-01-01 00:00:00\",\n \"UsageValue\": [\n 10,\n 20,\n 30,\n 40,\n 50,\n 60\n ]\n },\n {\n \"TimeKey\": \"2022-01-02 00:00:00\",\n \"UsageValue\": [\n 10,\n 20,\n 30,\n 40,\n 50,\n 60\n ]\n }\n ],\n \"RequestId\": \"abc\"\n }\n}", + "output": "{\n \"Response\": {\n \"UsageKey\": [\n \"Audio\",\n \"SD\",\n \"HD\",\n \"FullHD\",\n \"2K\",\n \"4K\"\n ],\n \"UsageList\": [\n {\n \"TimeKey\": \"2022-01-01 00:00:00\",\n \"UsageValue\": [\n 10,\n 20,\n 30,\n 40,\n 50,\n 60\n ]\n },\n {\n \"TimeKey\": \"2022-01-02 00:00:00\",\n \"UsageValue\": [\n 10,\n 20,\n 30,\n 40,\n 50,\n 60\n ]\n }\n ],\n \"RequestId\": \"635e1617-0613-4bf8-8f1f-e017754713e8\"\n }\n}", "title": "获取用户在2022年1月1日-2022年1月2日范围内,SdkAppId为1400123456的应用的用量明细。" } ], diff --git a/tccli/services/vms/v20200902/api.json b/tccli/services/vms/v20200902/api.json index 1fd32f2a95..0879ffc7c2 100644 --- a/tccli/services/vms/v20200902/api.json +++ b/tccli/services/vms/v20200902/api.json @@ -28,7 +28,7 @@ { "disabled": false, "document": "验证码,仅支持填写数字,实际播报语音时,会自动在数字前补充语音文本\"您的验证码是\"。", - "example": "1234", + "example": "8253", "member": "string", "name": "CodeMessage", "required": true, @@ -64,7 +64,7 @@ { "disabled": false, "document": "用户的 session 内容,腾讯 server 回包中会原样返回。", - "example": "test", + "example": "sc-t", "member": "string", "name": "SessionContext", "required": false, @@ -82,7 +82,7 @@ "example": "无", "member": "SendStatus", "name": "SendStatus", - "required": true, + "output_required": true, "type": "object", "value_allowed_null": false }, @@ -101,20 +101,20 @@ { "disabled": false, "document": "标识本次发送 ID,标识一次下发记录。", - "example": "", + "example": "12582bce-403c-11eb-96b8-525400476c37", "member": "string", "name": "CallId", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, "document": "用户的 session 内容,腾讯 server 回包中会原样返回。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "", + "example": "sc-t", "member": "string", "name": "SessionContext", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true } @@ -172,7 +172,7 @@ { "disabled": false, "document": "用户的 session 内容,腾讯 server 回包中会原样返回。", - "example": "test", + "example": "sc-t", "member": "string", "name": "SessionContext", "required": false, @@ -190,7 +190,7 @@ "example": "无", "member": "SendStatus", "name": "SendStatus", - "required": true, + "output_required": true, "type": "object", "value_allowed_null": false }, diff --git a/tccli/services/vms/v20200902/examples.json b/tccli/services/vms/v20200902/examples.json index 999bc772a2..516a5d9ed9 100644 --- a/tccli/services/vms/v20200902/examples.json +++ b/tccli/services/vms/v20200902/examples.json @@ -2,17 +2,17 @@ "actions": { "SendCodeVoice": [ { - "document": "", - "input": "POST / HTTP/1.1\nHost: vms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SendCodeVoice\n<公共请求参数>\n\n{\n \"CodeMessage\": \"1234\",\n \"PlayTimes\": 2,\n \"CalledNumber\": \"+8613788888888\",\n \"SessionContext\": \"test\",\n \"VoiceSdkAppid\": \"1400006666\"\n}", - "output": "{\n \"Response\": {\n \"SendStatus\": {\n \"CallId\": \"12582bce-403c-11eb-96b8-525400476c37\",\n \"SessionContext\": \"test\"\n },\n \"RequestId\": \"91260bb8-cf91-4f3e-a81f-9198114a2279\"\n }\n}", + "document": "发送语音验证码", + "input": "POST / HTTP/1.1\nHost: vms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SendCodeVoice\n<公共请求参数>\n\n{\n \"CodeMessage\": \"8253\",\n \"PlayTimes\": 2,\n \"CalledNumber\": \"+8613788888888\",\n \"SessionContext\": \"sc-t\",\n \"VoiceSdkAppid\": \"1400006666\"\n}", + "output": "{\n \"Response\": {\n \"SendStatus\": {\n \"CallId\": \"12582bce-403c-11eb-96b8-525400476c37\",\n \"SessionContext\": \"sc-t\"\n },\n \"RequestId\": \"91260bb8-cf91-4f3e-a81f-9198114a2279\"\n }\n}", "title": "发送语音验证码" } ], "SendTtsVoice": [ { "document": "", - "input": "POST / HTTP/1.1\nHost: vms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SendTtsVoice\n<公共请求参数>\n\n{\n \"TemplateId\": \"4356\",\n \"TemplateParamSet\": [\n \"7652\"\n ],\n \"PlayTimes\": 2,\n \"CalledNumber\": \"+8613788888888\",\n \"SessionContext\": \"test\",\n \"VoiceSdkAppid\": \"1400006666\"\n}", - "output": "{\n \"Response\": {\n \"SendStatus\": {\n \"CallId\": \"12582bce-403c-11eb-96b8-525400476c37\",\n \"SessionContext\": \"test\"\n },\n \"RequestId\": \"91260bb8-cf91-4f3e-a81f-9198114a2279\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: vms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SendTtsVoice\n<公共请求参数>\n\n{\n \"TemplateId\": \"4356\",\n \"TemplateParamSet\": [\n \"7652\"\n ],\n \"PlayTimes\": 2,\n \"CalledNumber\": \"+8613788888888\",\n \"SessionContext\": \"sc-t\",\n \"VoiceSdkAppid\": \"1400006666\"\n}", + "output": "{\n \"Response\": {\n \"SendStatus\": {\n \"CallId\": \"12582bce-403c-11eb-96b8-525400476c37\",\n \"SessionContext\": \"sc-t\"\n },\n \"RequestId\": \"91260bb8-cf91-4f3e-a81f-9198114a2279\"\n }\n}", "title": "指定模板发送语音通知" } ] diff --git a/tccli/services/vpc/v20170312/api.json b/tccli/services/vpc/v20170312/api.json index 77f8d6f514..9c46581b34 100644 --- a/tccli/services/vpc/v20170312/api.json +++ b/tccli/services/vpc/v20170312/api.json @@ -484,7 +484,7 @@ "status": "online" }, "CreateSecurityGroupWithPolicies": { - "document": "本接口(CreateSecurityGroupWithPolicies)用于创建新的安全组(SecurityGroup),并且可以同时添加安全组规则(SecurityGroupPolicy)。\n* 每个账户下每个地域的每个项目的安全组数量限制。\n* 新建的安全组的入站和出站规则默认都是全部拒绝,在创建后通常您需要再调用CreateSecurityGroupPolicies\n将安全组的规则设置为需要的规则。\n\n安全组规则说明:\n* Version安全组规则版本号,用户每次更新安全规则版本会自动加1,防止您更新的路由规则已过期,不填不考虑冲突。\n* Protocol字段支持输入TCP, UDP, ICMP, ICMPV6, GRE, ALL。\n* CidrBlock字段允许输入符合cidr格式标准的任意字符串。(展开)在基础网络中,如果CidrBlock包含您的账户内的云服务器之外的设备在腾讯云的内网IP,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。\n* Ipv6CidrBlock字段允许输入符合IPv6 cidr格式标准的任意字符串。(展开)在基础网络中,如果Ipv6CidrBlock包含您的账户内的云服务器之外的设备在腾讯云的内网IPv6,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。\n* SecurityGroupId字段允许输入与待修改的安全组位于相同项目中的安全组ID,包括这个安全组ID本身,代表安全组下所有云服务器的内网IP。使用这个字段时,这条规则用来匹配网络报文的过程中会随着被使用的这个ID所关联的云服务器变化而变化,不需要重新修改。\n* Port字段允许输入一个单独端口号,或者用减号分隔的两个端口号代表端口范围,例如80或8000-8010。只有当Protocol字段是TCP或UDP时,Port字段才被接受,即Protocol字段不是TCP或UDP时,Protocol和Port是排他关系,不允许同时输入,否则会接口报错。\n* Action字段只允许输入ACCEPT或DROP。\n* CidrBlock, Ipv6CidrBlock, SecurityGroupId, AddressTemplate四者是排他关系,不允许同时输入,Protocol + Port和ServiceTemplate二者是排他关系,不允许同时输入。\n* 一次请求中只能创建单个方向的规则, 如果需要指定索引(PolicyIndex)参数, 多条规则的索引必须一致。", + "document": "本接口(CreateSecurityGroupWithPolicies)用于创建新的安全组(SecurityGroup),并且可以同时添加安全组规则(SecurityGroupPolicy)。\n* 每个账户下每个地域的每个项目的安全组数量限制。\n* 新建的安全组的入站和出站规则默认都是全部拒绝,在创建后通常您需要再调用CreateSecurityGroupPolicies\n将安全组的规则设置为需要的规则。\n\n安全组规则说明:\n* Version安全组规则版本号,用户每次更新安全规则版本会自动加1,防止您更新的路由规则已过期,不填不考虑冲突。\n* Protocol字段支持输入TCP, UDP, ICMP, ICMPV6, GRE, ALL。\n* CidrBlock字段允许输入符合cidr格式标准的任意字符串。(展开)在基础网络中,如果CidrBlock包含您的账户内的云服务器之外的设备在腾讯云的内网IP,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。\n* Ipv6CidrBlock字段允许输入符合IPv6 cidr格式标准的任意字符串。(展开)在基础网络中,如果Ipv6CidrBlock包含您的账户内的云服务器之外的设备在腾讯云的内网IPv6,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。\n* SecurityGroupId字段允许输入与待修改的安全组位于相同项目中的安全组ID,包括这个安全组ID本身,代表安全组下所有云服务器的内网IP。使用这个字段时,这条规则用来匹配网络报文的过程中会随着被使用的这个ID所关联的云服务器变化而变化,不需要重新修改。\n* Port字段允许输入一个单独端口号,或者用减号分隔的两个端口号代表端口范围,例如80或8000-8010。只有当Protocol字段是TCP或UDP时,Port字段才被接受,即Protocol字段不是TCP或UDP时,Protocol和Port是排他关系,不允许同时输入,否则会接口报错。\n* Action字段只允许输入ACCEPT或DROP。\n* CidrBlock, Ipv6CidrBlock, SecurityGroupId, AddressTemplate四者是排他关系,不允许同时输入,Protocol + Port和ServiceTemplate二者是排他关系,不允许同时输入。\n* 请求中可以同时指定入站和出站两个方向的规则, 如果需要指定索引(PolicyIndex)参数, 多条规则的索引必须一致。", "input": "CreateSecurityGroupWithPoliciesRequest", "name": "创建安全组和规则", "output": "CreateSecurityGroupWithPoliciesResponse", @@ -7009,7 +7009,7 @@ "member": "Tag", "name": "Tags", "required": false, - "type": "object" + "type": "list" } ], "type": "object" @@ -9662,7 +9662,7 @@ { "disabled": false, "document": "安全组名称,可任意命名,但不得超过60个字符。", - "example": "TEST", + "example": "demo", "member": "string", "name": "GroupName", "required": true, @@ -9671,7 +9671,7 @@ { "disabled": false, "document": "安全组备注,最多100个字符。", - "example": "TEST 20230214", + "example": "demo", "member": "string", "name": "GroupDescription", "required": true, @@ -9698,7 +9698,7 @@ { "disabled": false, "document": "指定绑定的标签列表,例如:[{\"Key\": \"city\", \"Value\": \"shanghai\"}]。", - "example": "无", + "example": "[{\"Key\": \"env\", \"Value\": \"prod\"}]", "member": "Tag", "name": "Tags", "required": false, @@ -9713,7 +9713,7 @@ { "disabled": false, "document": "安全组对象。", - "example": "sg-2quou3gv", + "example": "无", "member": "SecurityGroup", "name": "SecurityGroup", "output_required": true, diff --git a/tccli/services/vpc/v20170312/examples.json b/tccli/services/vpc/v20170312/examples.json index 53c16d407b..b882b09502 100644 --- a/tccli/services/vpc/v20170312/examples.json +++ b/tccli/services/vpc/v20170312/examples.json @@ -645,14 +645,14 @@ "CreateSecurityGroupWithPolicies": [ { "document": "创建安全组", - "input": "https://vpc.tencentcloudapi.com/?Action=CreateSecurityGroupWithPolicies\n&GroupName=TestGroup\n&GroupDescription=test-group-desc\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"RequestId\": \"354f4ac3-8546-4516-8c8a-69e3ab73aa8a\",\n \"SecurityGroup\": {\n \"SecurityGroupId\": \"sg-12345678\",\n \"SecurityGroupName\": \"TestGroup\",\n \"SecurityGroupDesc\": \"test-group-desc\",\n \"ProjectId\": \"0\",\n \"CreatedTime\": \"2018-01-13 19:26:33\",\n \"UpdateTime\": \"2018-01-13 19:26:33\",\n \"TagSet\": [],\n \"IsDefault\": false\n }\n }\n}", + "input": "https://vpc.tencentcloudapi.com/?Action=CreateSecurityGroupWithPolicies\n&GroupName=demo\n&GroupDescription=demo\n&<公共请求参数>", + "output": "{\n \"Response\": {\n \"RequestId\": \"354f4ac3-8546-4516-8c8a-69e3ab73aa8a\",\n \"SecurityGroup\": {\n \"SecurityGroupId\": \"sg-ms7c7gcr\",\n \"SecurityGroupName\": \"demo\",\n \"SecurityGroupDesc\": \"demo\",\n \"ProjectId\": \"0\",\n \"CreatedTime\": \"2018-01-13 19:26:33\",\n \"UpdateTime\": \"2018-01-13 19:26:33\",\n \"TagSet\": [],\n \"IsDefault\": false\n }\n }\n}", "title": "创建安全组" }, { "document": "创建安全组和安全组规则", - "input": "https://vpc.tencentcloudapi.com/?Action=CreateSecurityGroupWithPolicies\n&GroupName=TestGroup\n&GroupDescription=test-group-desc\n&SecurityGroupPolicySet.Egress.0.PolicyIndex=0\n&SecurityGroupPolicySet.Egress.0.ServiceTemplate.ServiceId=ppm-f5n1f8da\n&SecurityGroupPolicySet.Egress.0.ServiceTemplate.ServiceGroupId=ppmg-f5n1f8da\n&SecurityGroupPolicySet.Egress.0.AddressTemplate.AddressId=ipm-2uw6ujo6\n&SecurityGroupPolicySet.Egress.0.AddressTemplate.AddressGroupId=ipmg-2uw6ujo6\n&SecurityGroupPolicySet.Egress.0.Action=accept\n&SecurityGroupPolicySet.Egress.0.PolicyDescription=TestPolicy\n&SecurityGroupPolicySet.Egress.1.PolicyIndex=1\n&SecurityGroupPolicySet.Egress.1.ServiceTemplate.ServiceId=ppm-f5n1f8da\n&SecurityGroupPolicySet.Egress.1.ServiceTemplate.ServiceGroupId=ppmg-f5n1f8da\n&SecurityGroupPolicySet.Egress.1.AddressTemplate.AddressId=ipm-2uw6ujo6\n&SecurityGroupPolicySet.Egress.1.AddressTemplate.AddressGroupId=ipmg-2uw6ujo6\n&SecurityGroupPolicySet.Egress.1.Action=accept\n&SecurityGroupPolicySet.Egress.1.PolicyDescription=Test\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"RequestId\": \"354f4ac3-8546-4516-8c8a-69e3ab73aa8a\",\n \"SecurityGroup\": {\n \"SecurityGroupId\": \"sg-12345678\",\n \"SecurityGroupName\": \"TestGroup\",\n \"SecurityGroupDesc\": \"test-group-desc\",\n \"ProjectId\": \"0\",\n \"CreatedTime\": \"2018-01-13 19:26:33\",\n \"UpdateTime\": \"2018-01-13 19:26:33\",\n \"TagSet\": [],\n \"IsDefault\": false\n }\n }\n}", + "input": "https://vpc.tencentcloudapi.com/?Action=CreateSecurityGroupWithPolicies\n&GroupName=demo\n&GroupDescription=demo\n&SecurityGroupPolicySet.Egress.0.PolicyIndex=0\n&SecurityGroupPolicySet.Egress.0.ServiceTemplate.ServiceId=ppm-f5n1f8da\n&SecurityGroupPolicySet.Egress.0.ServiceTemplate.ServiceGroupId=ppmg-f5n1f8da\n&SecurityGroupPolicySet.Egress.0.AddressTemplate.AddressId=ipm-2uw6ujo6\n&SecurityGroupPolicySet.Egress.0.AddressTemplate.AddressGroupId=ipmg-2uw6ujo6\n&SecurityGroupPolicySet.Egress.0.Action=accept\n&SecurityGroupPolicySet.Egress.0.PolicyDescription=demo\n&SecurityGroupPolicySet.Egress.1.PolicyIndex=1\n&SecurityGroupPolicySet.Egress.1.ServiceTemplate.ServiceId=ppm-f5n1f8da\n&SecurityGroupPolicySet.Egress.1.ServiceTemplate.ServiceGroupId=ppmg-f5n1f8da\n&SecurityGroupPolicySet.Egress.1.AddressTemplate.AddressId=ipm-2uw6ujo6\n&SecurityGroupPolicySet.Egress.1.AddressTemplate.AddressGroupId=ipmg-2uw6ujo6\n&SecurityGroupPolicySet.Egress.1.Action=accept\n&SecurityGroupPolicySet.Egress.1.PolicyDescription=demo\n&<公共请求参数>", + "output": "{\n \"Response\": {\n \"RequestId\": \"354f4ac3-8546-4516-8c8a-69e3ab73aa8a\",\n \"SecurityGroup\": {\n \"SecurityGroupId\": \"sg-6zwa44xm\",\n \"SecurityGroupName\": \"demo\",\n \"SecurityGroupDesc\": \"demo\",\n \"ProjectId\": \"0\",\n \"CreatedTime\": \"2018-01-13 19:26:33\",\n \"UpdateTime\": \"2018-01-13 19:26:33\",\n \"TagSet\": [],\n \"IsDefault\": false\n }\n }\n}", "title": "创建安全组和安全组规则" } ], diff --git a/tccli/services/waf/v20180125/api.json b/tccli/services/waf/v20180125/api.json index 8a455feeb3..608ff80814 100644 --- a/tccli/services/waf/v20180125/api.json +++ b/tccli/services/waf/v20180125/api.json @@ -14705,7 +14705,7 @@ { "disabled": false, "document": "API安全资源包", - "example": "{\"ResourceIds\":\"waf_2kw60zgy0908e8j3_0_api\",\"Status\":1,\"Region\":1,\"BeginTime\":\"2024-04-23 00:01:51\",\"EndTime\":\"2024-12-01 00:01:51\",\"InquireNum\":1,\"UsedNum\":0,\"BillingItem\":\"sv_wsm_waf_scene_ent\",\"RenewFlag\":1,\"APICPWaf\":0,\"APINPWaf\":0,\"IsAPISecurityTrial\":0}", + "example": "{\"ResourceIds\":\"waf_2kw60zgy0908e8j3_0_api\",\"Status\":1,\"Region\":1,\"BeginTime\":\"2024-04-23 00:01:51\",\"EndTime\":\"2024-12-01 00:01:51\",\"InquireNum\":1,\"UsedNum\":0,\"BillingItem\":\"sv_wsm_waf_scene_ent\",\"RenewFlag\":1}", "member": "ApiPkg", "name": "ApiPkg", "output_required": false, @@ -14716,7 +14716,7 @@ { "disabled": false, "document": "小程序安全加速包", - "example": "{\"ResourceIds\":\"waf_2kw60zgy0908e8j3_1_mini\",\"Status\":1,\"Region\":1,\"BeginTime\":\"2024-04-11 11:31:01\",\"EndTime\":\"2024-12-01 11:31:01\",\"Count\":5,\"BillingItem\":\"sv_wsm_waf_scene_mini\",\"RenewFlag\":1,\"AccessAppidNum\":4,\"DdosThreshold\":300,\"ElasticMode\":1,\"ElasticBilling\":473000}", + "example": "{\"ResourceIds\":\"waf_mini\",\"Status\":1,\"Region\":1,\"BeginTime\":\"2024-04-11 11:31:01\",\"EndTime\":\"2024-12-01 11:31:01\",\"Count\":5,\"BillingItem\":\"sv_wsm_waf_scene_mini\",\"RenewFlag\":1,\"AccessAppidNum\":4,\"DdosThreshold\":300,\"ElasticMode\":1,\"ElasticBilling\":10}", "member": "MiniPkg", "name": "MiniPkg", "output_required": false, @@ -14789,6 +14789,28 @@ "required": false, "type": "int", "value_allowed_null": false + }, + { + "disabled": false, + "document": "最近3天最大qps", + "example": "300", + "member": "uint64", + "name": "Last3MaxQPS", + "output_required": false, + "required": false, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "最近3天最大带宽", + "example": "1000", + "member": "uint64", + "name": "Last3MaxBandwidth", + "output_required": false, + "required": false, + "type": "int", + "value_allowed_null": false } ], "usage": "both" diff --git a/tccli/services/wedata/v20210820/api.json b/tccli/services/wedata/v20210820/api.json index 4bb7974dc8..a639c75a20 100644 --- a/tccli/services/wedata/v20210820/api.json +++ b/tccli/services/wedata/v20210820/api.json @@ -658,6 +658,13 @@ "output": "DescribeInstanceByCycleResponse", "status": "online" }, + "DescribeInstanceDetailInfo": { + "document": "实例详情页,返回某个实例所有生命周期信息", + "input": "DescribeInstanceDetailInfoRequest", + "name": "DescribeInstanceDetailInfo", + "output": "DescribeInstanceDetailInfoResponse", + "status": "online" + }, "DescribeInstanceLastLog": { "document": "日志获取详情页面", "input": "DescribeInstanceLastLogRequest", @@ -15135,6 +15142,106 @@ ], "type": "object" }, + "DescribeInstanceDetailInfoRequest": { + "document": "DescribeInstanceDetailInfo请求参数结构体", + "members": [ + { + "disabled": false, + "document": "任务ID", + "example": "20230215201434653", + "member": "string", + "name": "TaskId", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "实例数据时间", + "example": "2023-03-09 00:00:00", + "member": "string", + "name": "CurRunDate", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "项目id", + "example": "20240823183321597", + "member": "string", + "name": "ProjectId", + "required": false, + "type": "string" + }, + { + "disabled": false, + "document": "实例的第几次执行", + "example": "0", + "member": "int64", + "name": "LifeRound", + "required": false, + "type": "int" + }, + { + "disabled": false, + "document": "生命周期查询起始index", + "example": "0", + "member": "int64", + "name": "LifeRoundStartIndex", + "required": false, + "type": "int" + }, + { + "disabled": false, + "document": "生命周期查询批次数量", + "example": "5", + "member": "int64", + "name": "LifeRoundSize", + "required": false, + "type": "int" + }, + { + "disabled": false, + "document": "生命周期总数,可省略", + "example": "20", + "member": "string", + "name": "TotalLifeRound", + "required": false, + "type": "string" + }, + { + "disabled": false, + "document": "动态加载日志标识", + "example": "true", + "member": "bool", + "name": "Dynamic", + "required": false, + "type": "bool" + } + ], + "type": "object" + }, + "DescribeInstanceDetailInfoResponse": { + "document": "DescribeInstanceDetailInfo返回参数结构体", + "members": [ + { + "disabled": false, + "document": "生命周期结果", + "example": "无", + "member": "InstanceLifeCycleOpsDto", + "name": "Data", + "output_required": false, + "type": "list", + "value_allowed_null": false + }, + { + "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", + "member": "string", + "name": "RequestId", + "type": "string" + } + ], + "type": "object" + }, "DescribeInstanceLastLogRequest": { "document": "DescribeInstanceLastLog请求参数结构体", "members": [ diff --git a/tccli/services/wedata/v20210820/examples.json b/tccli/services/wedata/v20210820/examples.json index d3cb788ab9..1d36611b2f 100644 --- a/tccli/services/wedata/v20210820/examples.json +++ b/tccli/services/wedata/v20210820/examples.json @@ -830,6 +830,14 @@ "title": "样例" } ], + "DescribeInstanceDetailInfo": [ + { + "document": "", + "input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceDetailInfo\n<公共请求参数>\n\n{\n \"TaskId\": \"231232313\",\n \"CurRunDate\": \"2024-10-01 00:00:00\"\n}", + "output": "{\n \"Response\": {\n \"Data\": [\n {\n \"TaskId\": \"231232313\",\n \"CurRunDate\": \"2024-10-01 00:00:00\",\n \"LifeRound\": 0,\n \"RunType\": \"REDO\",\n \"Tries\": 0,\n \"InstanceLifeDetailDtoList\": [\n {\n \"State\": \"RUNNING\",\n \"StartTime\": \"231232313\"\n }\n ],\n \"RunnerState\": \"RUNNING\",\n \"ErrorDesc\": \"\",\n \"ErrorCodeLevel\": \"\",\n \"InstanceLogListOpsDto\": {\n \"TaskId\": \"231232313\",\n \"CurRunDate\": \"2024-10-01 00:00:00\",\n \"Tries\": \"1\",\n \"LastUpdate\": \"2024-10-01 00:00:00\",\n \"BrokerIp\": \"10.0.0.1\",\n \"FileSize\": \"1000\",\n \"OriginFileName\": \"test.log\",\n \"CreateTime\": \"2024-10-01 00:00:00\",\n \"InstanceLogType\": \"2\",\n \"TaskName\": \"测试任务\",\n \"CostTime\": \"10\",\n \"InstanceStatus\": \"RUNNING\",\n \"CodeFileName\": \"info.log\",\n \"ExtensionInfo\": [\n {\n \"Key\": \"\",\n \"Value\": \"\",\n \"Description\": \"\"\n }\n ]\n }\n }\n ],\n \"RequestId\": \"12312434\"\n }\n}", + "title": "样例" + } + ], "DescribeInstanceLastLog": [ { "document": "", diff --git a/tccli/services/wedata/wedata_client.py b/tccli/services/wedata/wedata_client.py index 14a0138d25..9b028afe4d 100644 --- a/tccli/services/wedata/wedata_client.py +++ b/tccli/services/wedata/wedata_client.py @@ -7245,6 +7245,58 @@ def doDescribeOpsMakePlanInstances(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) +def doDescribeInstanceDetailInfo(args, parsed_globals): + g_param = parse_global_arg(parsed_globals) + + if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: + cred = credential.CVMRoleCredential() + elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]: + cred = credential.STSAssumeRoleCredential( + g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')], + g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"] + ) + elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN): + cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials() + else: + cred = credential.Credential( + g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token] + ) + http_profile = HttpProfile( + reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]), + reqMethod="POST", + endpoint=g_param[OptionsDefine.Endpoint], + proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')] + ) + profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256") + if g_param[OptionsDefine.Language]: + profile.language = g_param[OptionsDefine.Language] + mod = CLIENT_MAP[g_param[OptionsDefine.Version]] + client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile) + client._sdkVersion += ("_CLI_" + __version__) + models = MODELS_MAP[g_param[OptionsDefine.Version]] + model = models.DescribeInstanceDetailInfoRequest() + model.from_json_string(json.dumps(args)) + start_time = time.time() + while True: + rsp = client.DescribeInstanceDetailInfo(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 doDescribeBatchOperateTask(args, parsed_globals): g_param = parse_global_arg(parsed_globals) @@ -12647,6 +12699,7 @@ def doDeleteDataModel(args, parsed_globals): "DescribeRuleGroupsByPage": doDescribeRuleGroupsByPage, "DeleteDataSources": doDeleteDataSources, "DescribeOpsMakePlanInstances": doDescribeOpsMakePlanInstances, + "DescribeInstanceDetailInfo": doDescribeInstanceDetailInfo, "DescribeBatchOperateTask": doDescribeBatchOperateTask, "DeleteRule": doDeleteRule, "CheckAlarmRegularNameExist": doCheckAlarmRegularNameExist,