From ae9a232480ec9cb32d5e5b70e248571979610923 Mon Sep 17 00:00:00 2001 From: tencentcloudapi Date: Mon, 25 Nov 2024 04:09:43 +0800 Subject: [PATCH] release 3.0.1220.1 --- CHANGELOG.md | 120 +++++++ SERVICE_CHANGELOG.md | 331 ++++++++---------- products.md | 20 +- pyproject.toml | 4 +- tccli/__init__.py | 2 +- .../cdwch/v20200915/ScaleCNOutUpInstance.md | 27 ++ tccli/examples/mps/v20190612/ProcessImage.md | 30 ++ ...leteCloudNativeAPIGatewayRouteRateLimit.md | 6 +- ...teCloudNativeAPIGatewayServiceRateLimit.md | 6 +- .../v20210820/UpdateDataModelRegistryInfo.md | 9 +- tccli/services/autoscaling/v20180419/api.json | 2 +- tccli/services/cdwch/cdwch_client.py | 53 +++ tccli/services/cdwch/v20200915/api.json | 100 ++++++ tccli/services/cdwch/v20200915/examples.json | 8 + tccli/services/cynosdb/v20190107/api.json | 14 +- tccli/services/ess/v20201111/api.json | 11 +- tccli/services/essbasic/v20210526/api.json | 20 +- tccli/services/market/v20191010/api.json | 6 +- tccli/services/mps/mps_client.py | 53 +++ tccli/services/mps/v20190612/api.json | 144 ++++++++ tccli/services/mps/v20190612/examples.json | 8 + tccli/services/svp/v20240125/api.json | 4 +- tccli/services/tse/v20201207/examples.json | 8 +- tccli/services/wedata/v20210820/api.json | 49 ++- tccli/services/wedata/v20210820/examples.json | 2 +- 25 files changed, 805 insertions(+), 232 deletions(-) create mode 100644 tccli/examples/cdwch/v20200915/ScaleCNOutUpInstance.md create mode 100644 tccli/examples/mps/v20190612/ProcessImage.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 47fe32a15d..d1c10cd03d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,123 @@ +# Release 3.0.1220.1 + +## 腾讯云数据仓库TCHouse-C(cdwch) 版本:2020-09-15 + +### 第 24 次发布 + +发布时间:2024-11-22 15:17:51 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [ScaleCNOutUpInstance](https://cloud.tencent.com/document/api/1299/112874) + + + +## TDSQL-C MySQL 版(cynosdb) 版本:2019-01-07 + +### 第 113 次发布 + +发布时间:2024-11-25 01:14:07 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [ClusterInstanceDetail](https://cloud.tencent.com/document/api/1003/48097#ClusterInstanceDetail) + + * 新增成员:DbMode + + + + +## 腾讯电子签企业版(ess) 版本:2020-11-11 + +### 第 197 次发布 + +发布时间:2024-11-25 01:17:07 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateBatchInitOrganizationUrl](https://cloud.tencent.com/document/api/1323/109910) + + * 新增入参:AuthorizedOrganizationId + + + + +## 腾讯电子签(基础版)(essbasic) 版本:2021-05-26 + +### 第 195 次发布 + +发布时间:2024-11-25 01:17:27 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateBatchInitOrganizationUrl](https://cloud.tencent.com/document/api/1420/109911) + + * 新增入参:IsAuthorizePlatformApplication, AuthorizedProxyOrganizationOpenId + + + + +## 腾讯电子签(基础版)(essbasic) 版本:2020-12-22 + + + +## 媒体处理(mps) 版本:2019-06-12 + +### 第 101 次发布 + +发布时间:2024-11-24 11:37:11 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [ProcessImage](https://cloud.tencent.com/document/api/862/112896) + +新增数据结构: + +* [ImageEncodeConfig](https://cloud.tencent.com/document/api/862/37615#ImageEncodeConfig) +* [ImageEnhanceConfig](https://cloud.tencent.com/document/api/862/37615#ImageEnhanceConfig) +* [ImageTaskInput](https://cloud.tencent.com/document/api/862/37615#ImageTaskInput) + + + +## 数据开发治理平台 WeData(wedata) 版本:2021-08-20 + +### 第 114 次发布 + +发布时间:2024-11-25 01:32:25 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [UpdateDataModelRegistryInfo](https://cloud.tencent.com/document/api/1267/112525) + + * 新增入参:VpcId, VpcRegion, Pip, Pport, IsPublic + + + + # Release 3.0.1219.1 ## 借贷反欺诈(af) 版本:2020-02-26 diff --git a/SERVICE_CHANGELOG.md b/SERVICE_CHANGELOG.md index 98a3332684..a4948651f5 100644 --- a/SERVICE_CHANGELOG.md +++ b/SERVICE_CHANGELOG.md @@ -1,45 +1,45 @@ # 本版本更新包含以下内容: -## 借贷反欺诈(af) 版本:2020-02-26 +## 腾讯云数据仓库TCHouse-C(cdwch) 版本:2020-09-15 -### 第 7 次发布 +### 第 24 次发布 -发布时间:2024-11-22 11:20:38 +发布时间:2024-11-22 15:17:51 本次发布包含了以下内容: 改善已有的文档。 -**预下线接口**: +新增接口: -* DescribeAntiFraud +* [ScaleCNOutUpInstance](https://cloud.tencent.com/document/api/1299/112874) -## 消息队列 CKafka 版(ckafka) 版本:2019-08-19 +## TDSQL-C MySQL 版(cynosdb) 版本:2019-01-07 -### 第 112 次发布 +### 第 113 次发布 -发布时间:2024-11-22 11:31:54 +发布时间:2024-11-25 01:14:07 本次发布包含了以下内容: 改善已有的文档。 -修改接口: +修改数据结构: -* [ModifyInstancePre](https://cloud.tencent.com/document/api/597/73693) +* [ClusterInstanceDetail](https://cloud.tencent.com/document/api/1003/48097#ClusterInstanceDetail) - * **修改入参**:DiskSize, BandWidth + * 新增成员:DbMode ## 腾讯电子签企业版(ess) 版本:2020-11-11 -### 第 196 次发布 +### 第 197 次发布 -发布时间:2024-11-22 10:53:31 +发布时间:2024-11-25 01:17:07 本次发布包含了以下内容: @@ -47,18 +47,18 @@ 修改接口: -* [CreateBatchSignUrl](https://cloud.tencent.com/document/api/1323/98670) +* [CreateBatchInitOrganizationUrl](https://cloud.tencent.com/document/api/1323/109910) - * 新增入参:AutoJumpBack + * 新增入参:AuthorizedOrganizationId ## 腾讯电子签(基础版)(essbasic) 版本:2021-05-26 -### 第 194 次发布 +### 第 195 次发布 -发布时间:2024-11-22 10:52:49 +发布时间:2024-11-25 01:17:27 本次发布包含了以下内容: @@ -66,9 +66,9 @@ 修改接口: -* [ChannelCreateBatchSignUrl](https://cloud.tencent.com/document/api/1420/98671) +* [CreateBatchInitOrganizationUrl](https://cloud.tencent.com/document/api/1420/109911) - * 新增入参:AutoJumpBack + * 新增入参:IsAuthorizePlatformApplication, AuthorizedProxyOrganizationOpenId @@ -77,34 +77,11 @@ -## 人脸识别(iai) 版本:2020-03-03 - - - -## 人脸识别(iai) 版本:2018-03-01 - -### 第 21 次发布 - -发布时间:2024-11-22 11:48:39 - -本次发布包含了以下内容: - -改善已有的文档。 - -修改数据结构: - -* [FaceRect](https://cloud.tencent.com/document/api/867/32807#FaceRect) - - * **修改成员**:X, Y, Width, Height - - - - -## 云直播CSS(live) 版本:2018-08-01 +## 媒体处理(mps) 版本:2019-06-12 -### 第 133 次发布 +### 第 101 次发布 -发布时间:2024-11-22 11:55:13 +发布时间:2024-11-24 11:37:11 本次发布包含了以下内容: @@ -112,156 +89,32 @@ 新增接口: -* [CopyCaster](https://cloud.tencent.com/document/api/267/112863) -* [CreateCaster](https://cloud.tencent.com/document/api/267/112862) -* [DeleteCaster](https://cloud.tencent.com/document/api/267/112861) -* [DescribeCaster](https://cloud.tencent.com/document/api/267/112860) -* [DescribeCasterDisplayInfo](https://cloud.tencent.com/document/api/267/112859) -* [DescribeCasterPlayUrl](https://cloud.tencent.com/document/api/267/112858) -* [DescribeLiveTimeShiftWriteSizeInfoList](https://cloud.tencent.com/document/api/267/112856) -* [ModifyCaster](https://cloud.tencent.com/document/api/267/112857) - -修改接口: - -* [DescribeLivePullStreamTasks](https://cloud.tencent.com/document/api/267/56243) - - * 新增入参:SpecifyTaskId - +* [ProcessImage](https://cloud.tencent.com/document/api/862/112896) 新增数据结构: -* [CasterDisplayInfo](https://cloud.tencent.com/document/api/267/20474#CasterDisplayInfo) -* [CasterInfo](https://cloud.tencent.com/document/api/267/20474#CasterInfo) -* [TimeShiftWriteSizeData](https://cloud.tencent.com/document/api/267/20474#TimeShiftWriteSizeData) - - - -## 媒体处理(mps) 版本:2019-06-12 - -### 第 100 次发布 - -发布时间:2024-11-22 11:59:30 - -本次发布包含了以下内容: - -改善已有的文档。 - -修改数据结构: - -* [SegmentRecognitionItem](https://cloud.tencent.com/document/api/862/37615#SegmentRecognitionItem) - - * 新增成员:CovImgUrl, Keywords - - - - -## 微服务引擎(tse) 版本:2020-12-07 - -### 第 80 次发布 - -发布时间:2024-11-22 12:18:28 - -本次发布包含了以下内容: - -改善已有的文档。 - -修改接口: - -* [CreateConfigFile](https://cloud.tencent.com/document/api/1364/104363) - - * 新增出参:ConfigFileId - -* [CreateOrUpdateConfigFileAndRelease](https://cloud.tencent.com/document/api/1364/104362) - - * 新增入参:StrictEnable - - * 新增出参:ConfigFileReleaseId, ConfigFileId - -* [DeleteConfigFiles](https://cloud.tencent.com/document/api/1364/104360) - - * 新增入参:Id - - * **修改入参**:Namespace, Group, Name - -* [DescribeConfigFile](https://cloud.tencent.com/document/api/1364/104359) - - * 新增入参:Id - - * **修改入参**:Namespace, Group, Name - -* [DescribeConfigFileRelease](https://cloud.tencent.com/document/api/1364/104358) - - * 新增入参:Id - - * **修改入参**:Namespace, Group, Name - -* [DescribeConfigFileReleaseHistories](https://cloud.tencent.com/document/api/1364/104357) - - * 新增入参:ConfigFileId - -* [DescribeConfigFileReleaseVersions](https://cloud.tencent.com/document/api/1364/104356) - - * 新增入参:ConfigFileId - -* [DescribeConfigFileReleases](https://cloud.tencent.com/document/api/1364/104355) - - * 新增入参:Id - -* [DescribeConfigFiles](https://cloud.tencent.com/document/api/1364/104354) - - * 新增入参:Id - -* [PublishConfigFiles](https://cloud.tencent.com/document/api/1364/104351) - - * 新增入参:StrictEnable - - * 新增出参:ConfigFileReleaseId - - -修改数据结构: - -* [ConfigFileRelease](https://cloud.tencent.com/document/api/1364/54942#ConfigFileRelease) - - * 新增成员:ConfigFileId - -* [ConfigFileReleaseDeletion](https://cloud.tencent.com/document/api/1364/54942#ConfigFileReleaseDeletion) - - * 新增成员:Id - -* [ReleaseVersion](https://cloud.tencent.com/document/api/1364/54942#ReleaseVersion) - - * 新增成员:Id, Namespace, Group, FileName +* [ImageEncodeConfig](https://cloud.tencent.com/document/api/862/37615#ImageEncodeConfig) +* [ImageEnhanceConfig](https://cloud.tencent.com/document/api/862/37615#ImageEnhanceConfig) +* [ImageTaskInput](https://cloud.tencent.com/document/api/862/37615#ImageTaskInput) +## 数据开发治理平台 WeData(wedata) 版本:2021-08-20 -## 私有网络(vpc) 版本:2017-03-12 +### 第 114 次发布 -### 第 225 次发布 - -发布时间:2024-11-22 12:22:52 +发布时间:2024-11-25 01:32:25 本次发布包含了以下内容: 改善已有的文档。 -新增接口: - -* [CreateReserveIpAddresses](https://cloud.tencent.com/document/api/215/112867) -* [DeleteReserveIpAddresses](https://cloud.tencent.com/document/api/215/112866) -* [DescribeReserveIpAddresses](https://cloud.tencent.com/document/api/215/112865) -* [ModifyReserveIpAddress](https://cloud.tencent.com/document/api/215/112864) - 修改接口: -* [CloneSecurityGroup](https://cloud.tencent.com/document/api/215/51025) - - * 新增入参:Tags +* [UpdateDataModelRegistryInfo](https://cloud.tencent.com/document/api/1267/112525) + * 新增入参:VpcId, VpcRegion, Pip, Pport, IsPublic -新增数据结构: - -* [ReserveIpAddressInfo](https://cloud.tencent.com/document/api/215/15824#ReserveIpAddressInfo) @@ -24533,6 +24386,18 @@ ## 腾讯云数据仓库TCHouse-C(cdwch) 版本:2020-09-15 +### 第 24 次发布 + +发布时间:2024-11-22 15:17:51 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[ScaleCNOutUpInstance](https://cloud.tencent.com/document/api/1299/112874)](https://cloud.tencent.com/document/api/#/#) + ### 第 23 次发布 发布时间:2024-10-14 01:10:53 @@ -49256,6 +49121,21 @@ ## TDSQL-C MySQL 版(cynosdb) 版本:2019-01-07 +### 第 113 次发布 + +发布时间:2024-11-25 01:14:07 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [ClusterInstanceDetail](https://cloud.tencent.com/document/api/1003/48097#ClusterInstanceDetail) + + * 新增成员:DbMode + + ### 第 112 次发布 发布时间:2024-10-31 01:27:40 @@ -68485,6 +68365,21 @@ ## 腾讯电子签企业版(ess) 版本:2020-11-11 +### 第 197 次发布 + +发布时间:2024-11-25 01:17:07 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateBatchInitOrganizationUrl](https://cloud.tencent.com/document/api/1323/109910) + + * 新增入参:AuthorizedOrganizationId + + ### 第 196 次发布 发布时间:2024-11-22 10:53:31 @@ -72211,6 +72106,21 @@ ## 腾讯电子签(基础版)(essbasic) 版本:2021-05-26 +### 第 195 次发布 + +发布时间:2024-11-25 01:17:27 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateBatchInitOrganizationUrl](https://cloud.tencent.com/document/api/1420/109911) + + * 新增入参:IsAuthorizePlatformApplication, AuthorizedProxyOrganizationOpenId + + ### 第 194 次发布 发布时间:2024-11-22 10:52:49 @@ -93239,14 +93149,14 @@ 新增接口: -* [[CopyCaster](https://cloud.tencent.com/document/api/267/112863)](https://cloud.tencent.com/document/api/#/#) -* [[CreateCaster](https://cloud.tencent.com/document/api/267/112862)](https://cloud.tencent.com/document/api/#/#) -* [[DeleteCaster](https://cloud.tencent.com/document/api/267/112861)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeCaster](https://cloud.tencent.com/document/api/267/112860)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeCasterDisplayInfo](https://cloud.tencent.com/document/api/267/112859)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeCasterPlayUrl](https://cloud.tencent.com/document/api/267/112858)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeLiveTimeShiftWriteSizeInfoList](https://cloud.tencent.com/document/api/267/112856)](https://cloud.tencent.com/document/api/#/#) -* [[ModifyCaster](https://cloud.tencent.com/document/api/267/112857)](https://cloud.tencent.com/document/api/#/#) +* [CopyCaster](https://cloud.tencent.com/document/api/267/112863) +* [CreateCaster](https://cloud.tencent.com/document/api/267/112862) +* [DeleteCaster](https://cloud.tencent.com/document/api/267/112861) +* [DescribeCaster](https://cloud.tencent.com/document/api/267/112860) +* [DescribeCasterDisplayInfo](https://cloud.tencent.com/document/api/267/112859) +* [DescribeCasterPlayUrl](https://cloud.tencent.com/document/api/267/112858) +* [DescribeLiveTimeShiftWriteSizeInfoList](https://cloud.tencent.com/document/api/267/112856) +* [ModifyCaster](https://cloud.tencent.com/document/api/267/112857) 修改接口: @@ -93257,9 +93167,9 @@ 新增数据结构: -* [[CasterDisplayInfo](https://cloud.tencent.com/document/api/267/20474#CasterDisplayInfo)](https://cloud.tencent.com/document/api/267/20474#[CasterDisplayInfo](https://cloud.tencent.com/document/api/267/20474#CasterDisplayInfo)) -* [[CasterInfo](https://cloud.tencent.com/document/api/267/20474#CasterInfo)](https://cloud.tencent.com/document/api/267/20474#[CasterInfo](https://cloud.tencent.com/document/api/267/20474#CasterInfo)) -* [[TimeShiftWriteSizeData](https://cloud.tencent.com/document/api/267/20474#TimeShiftWriteSizeData)](https://cloud.tencent.com/document/api/267/20474#[TimeShiftWriteSizeData](https://cloud.tencent.com/document/api/267/20474#TimeShiftWriteSizeData)) +* [CasterDisplayInfo](https://cloud.tencent.com/document/api/267/20474#CasterDisplayInfo) +* [CasterInfo](https://cloud.tencent.com/document/api/267/20474#CasterInfo) +* [TimeShiftWriteSizeData](https://cloud.tencent.com/document/api/267/20474#TimeShiftWriteSizeData) ### 第 132 次发布 @@ -102182,6 +102092,24 @@ ## 媒体处理(mps) 版本:2019-06-12 +### 第 101 次发布 + +发布时间:2024-11-24 11:37:11 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[ProcessImage](https://cloud.tencent.com/document/api/862/112896)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[ImageEncodeConfig](https://cloud.tencent.com/document/api/862/37615#ImageEncodeConfig)](https://cloud.tencent.com/document/api/862/37615#[ImageEncodeConfig](https://cloud.tencent.com/document/api/862/37615#ImageEncodeConfig)) +* [[ImageEnhanceConfig](https://cloud.tencent.com/document/api/862/37615#ImageEnhanceConfig)](https://cloud.tencent.com/document/api/862/37615#[ImageEnhanceConfig](https://cloud.tencent.com/document/api/862/37615#ImageEnhanceConfig)) +* [[ImageTaskInput](https://cloud.tencent.com/document/api/862/37615#ImageTaskInput)](https://cloud.tencent.com/document/api/862/37615#[ImageTaskInput](https://cloud.tencent.com/document/api/862/37615#ImageTaskInput)) + ### 第 100 次发布 发布时间:2024-11-22 11:59:30 @@ -165279,10 +165207,10 @@ 新增接口: -* [[CreateReserveIpAddresses](https://cloud.tencent.com/document/api/215/112867)](https://cloud.tencent.com/document/api/#/#) -* [[DeleteReserveIpAddresses](https://cloud.tencent.com/document/api/215/112866)](https://cloud.tencent.com/document/api/#/#) -* [[DescribeReserveIpAddresses](https://cloud.tencent.com/document/api/215/112865)](https://cloud.tencent.com/document/api/#/#) -* [[ModifyReserveIpAddress](https://cloud.tencent.com/document/api/215/112864)](https://cloud.tencent.com/document/api/#/#) +* [CreateReserveIpAddresses](https://cloud.tencent.com/document/api/215/112867) +* [DeleteReserveIpAddresses](https://cloud.tencent.com/document/api/215/112866) +* [DescribeReserveIpAddresses](https://cloud.tencent.com/document/api/215/112865) +* [ModifyReserveIpAddress](https://cloud.tencent.com/document/api/215/112864) 修改接口: @@ -165293,7 +165221,7 @@ 新增数据结构: -* [[ReserveIpAddressInfo](https://cloud.tencent.com/document/api/215/15824#ReserveIpAddressInfo)](https://cloud.tencent.com/document/api/215/15824#[ReserveIpAddressInfo](https://cloud.tencent.com/document/api/215/15824#ReserveIpAddressInfo)) +* [ReserveIpAddressInfo](https://cloud.tencent.com/document/api/215/15824#ReserveIpAddressInfo) ### 第 224 次发布 @@ -173303,6 +173231,21 @@ ## 数据开发治理平台 WeData(wedata) 版本:2021-08-20 +### 第 114 次发布 + +发布时间:2024-11-25 01:32:25 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [UpdateDataModelRegistryInfo](https://cloud.tencent.com/document/api/1267/112525) + + * 新增入参:VpcId, VpcRegion, Pip, Pport, IsPublic + + ### 第 113 次发布 发布时间:2024-11-20 02:21:38 diff --git a/products.md b/products.md index 7e6b2babc9..b563cc8162 100644 --- a/products.md +++ b/products.md @@ -16,7 +16,7 @@ | api | [云 API](https://cloud.tencent.com/document/product/1278) | 2023-01-05 01:02:52 | | apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2024-11-19 21:27:23 | | apm | [应用性能监控](https://cloud.tencent.com/document/product/1463) | 2024-11-15 01:09:10 | -| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2024-11-19 01:09:17 | +| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2024-11-25 01:07:54 | | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2024-11-21 01:05:01 | | asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2023-05-18 01:04:02 | | ba | [ICP备案](https://cloud.tencent.com/document/product/243) | 2024-04-22 01:08:02 | @@ -46,7 +46,7 @@ | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-11-15 01:15:46 | | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-10-25 01:16:59 | | 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-11-07 15:32:30 | +| cdwch | [腾讯云数据仓库TCHouse-C](https://cloud.tencent.com/document/product/1299) | 2024-11-22 15:17:51 | | cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-11-07 01:17:24 | | cdwpg | [云数据仓库 PostgreSQL](https://cloud.tencent.com/document/product/878) | 2024-03-28 01:10:53 | | cdz | [专属可用区](https://cloud.tencent.com/document/product/1629) | 2024-11-14 01:17:55 | @@ -76,7 +76,7 @@ | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-11-15 01:22:53 | | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-11-22 11:36:06 | | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 | -| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-11-07 01:24:28 | +| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-11-25 01:14:07 | | dasb | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-11-19 01:26:13 | | dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 | | dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 | @@ -100,8 +100,8 @@ | eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 | | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-11-21 01:30:48 | | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-11-15 01:34:50 | -| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-11-22 10:53:31 | -| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-11-22 10:52:49 | +| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-11-25 01:17:07 | +| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-11-25 01:17:27 | | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-11-21 01:33:53 | | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-11-22 11:46:40 | | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-11-15 01:37:24 | @@ -147,14 +147,14 @@ | 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 | | mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2024-11-07 01:48:13 | -| market | [云市场](https://cloud.tencent.com/document/product/306) | 2024-11-22 11:57:29 | +| market | [云市场](https://cloud.tencent.com/document/product/306) | 2024-11-25 01:21:47 | | memcached | [云数据库Memcached](https://cloud.tencent.com/document/product/241) | 2024-08-28 02:03:45 | | 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) | 2024-08-23 01:55:12 | | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-11-05 01:57:16 | | monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-11-21 01:46:37 | -| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-11-22 11:59:30 | +| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-11-24 11:37:11 | | mqtt | [消息队列 MQTT 版](https://cloud.tencent.com/document/product/1778) | 2024-11-01 01:51:29 | | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-11-18 01:47:53 | | ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2024-11-14 01:54:52 | @@ -163,7 +163,7 @@ | nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2024-09-27 01:23:18 | | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 | | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-11-05 02:01:14 | -| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-11-22 12:01:27 | +| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-11-25 01:23:14 | | omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-11-21 01:50:50 | | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-11-08 01:54:14 | | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-11-22 12:03:22 | @@ -191,7 +191,7 @@ | 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-10-24 01:29:59 | -| svp | [节省计划](https://cloud.tencent.com/document/product/1761) | 2024-11-22 12:09:18 | +| svp | [节省计划](https://cloud.tencent.com/document/product/1761) | 2024-11-25 01:26:07 | | taf | [流量反欺诈](https://cloud.tencent.com/document/product/1031) | 2024-11-04 02:00:37 | | tag | [标签](https://cloud.tencent.com/document/product/651) | 2024-11-11 02:03:20 | | tan | [碳引擎](https://cloud.tencent.com/document/product/1498) | 2024-03-20 01:24:15 | @@ -251,7 +251,7 @@ | vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-10-16 01:32:39 | | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-11-19 02:12:25 | | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2024-11-20 02:21:21 | -| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-11-20 02:21:38 | +| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-11-25 01:32:25 | | 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 55685ff55b..d47edd89d5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ exclude = ["tccli/examples"] [project] name = "tccli" -version = "3.0.1219.1" +version = "3.0.1220.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.1219", + "tencentcloud-sdk-python>=3.0.1220", ] [project.urls] diff --git a/tccli/__init__.py b/tccli/__init__.py index bf8d3b6801..beb71573c6 100644 --- a/tccli/__init__.py +++ b/tccli/__init__.py @@ -1 +1 @@ -__version__ = '3.0.1219.1' +__version__ = '3.0.1220.1' diff --git a/tccli/examples/cdwch/v20200915/ScaleCNOutUpInstance.md b/tccli/examples/cdwch/v20200915/ScaleCNOutUpInstance.md new file mode 100644 index 0000000000..af2707e4d0 --- /dev/null +++ b/tccli/examples/cdwch/v20200915/ScaleCNOutUpInstance.md @@ -0,0 +1,27 @@ +**Example 1: 示例** + + + +Input: + +``` +tccli cdwch ScaleCNOutUpInstance --cli-unfold-argument \ + --InstanceId clickhouse-cn-xxxxxx \ + --VirtualCluster warehouse3 \ + --UserSubnetID subnet-xxxxxxx \ + --NewCount 2 \ + --NewSpecName 2X-Small +``` + +Output: +``` +{ + "Response": { + "InstanceId": "clickhouse-cn-xxxxxx", + "FlowId": "", + "RequestId": "01111", + "ErrorMsg": "addddd" + } +} +``` + diff --git a/tccli/examples/mps/v20190612/ProcessImage.md b/tccli/examples/mps/v20190612/ProcessImage.md new file mode 100644 index 0000000000..78e5d732e6 --- /dev/null +++ b/tccli/examples/mps/v20190612/ProcessImage.md @@ -0,0 +1,30 @@ +**Example 1: 发起图片增强** + +发起图片增强 + +Input: + +``` +tccli mps ProcessImage --cli-unfold-argument \ + --InputInfo.Type COS \ + --InputInfo.CosInputInfo.Bucket bucket-test \ + --InputInfo.CosInputInfo.Region ap-shanghai \ + --InputInfo.CosInputInfo.Object /image/test.png \ + --OutputStorage.Type COS \ + --OutputStorage.CosOutputStorage.Bucket bucket-test \ + --OutputStorage.CosOutputStorage.Region ap-shanghai \ + --ImageTask.EncodeConfig.Format jpeg \ + --ImageTask.EncodeConfig.Quality 75 \ + --ImageTask.EnhanceConfig.SuperResolution.Switch ON +``` + +Output: +``` +{ + "Response": { + "RequestId": "03b25aab-8883-497e-838f-d760c3e220f6", + "TaskId": "3pg2p4jEfbFHYo2rgB0Kzl0esg4NeBItcZyllxO4HNJXdNeRUhk9GjDMjCj1auPv" + } +} +``` + diff --git a/tccli/examples/tse/v20201207/DeleteCloudNativeAPIGatewayRouteRateLimit.md b/tccli/examples/tse/v20201207/DeleteCloudNativeAPIGatewayRouteRateLimit.md index e2d51765e0..5e20e7744a 100644 --- a/tccli/examples/tse/v20201207/DeleteCloudNativeAPIGatewayRouteRateLimit.md +++ b/tccli/examples/tse/v20201207/DeleteCloudNativeAPIGatewayRouteRateLimit.md @@ -6,15 +6,15 @@ Input: ``` tccli tse DeleteCloudNativeAPIGatewayRouteRateLimit --cli-unfold-argument \ - --GatewayId abc \ - --Id abc + --GatewayId gateway-dde03767 \ + --Id 2a212560-220a-46f6-b139-3238eb8ea041 ``` Output: ``` { "Response": { - "RequestId": "abc" + "RequestId": "ffadafb6-545d-461c-ad8c-baa26c0f8955" } } ``` diff --git a/tccli/examples/tse/v20201207/DeleteCloudNativeAPIGatewayServiceRateLimit.md b/tccli/examples/tse/v20201207/DeleteCloudNativeAPIGatewayServiceRateLimit.md index c96a730e29..eacfcfc65b 100644 --- a/tccli/examples/tse/v20201207/DeleteCloudNativeAPIGatewayServiceRateLimit.md +++ b/tccli/examples/tse/v20201207/DeleteCloudNativeAPIGatewayServiceRateLimit.md @@ -6,15 +6,15 @@ Input: ``` tccli tse DeleteCloudNativeAPIGatewayServiceRateLimit --cli-unfold-argument \ - --GatewayId abc \ - --Name abc + --GatewayId gateway-dde03767 \ + --Name user-service ``` Output: ``` { "Response": { - "RequestId": "abc" + "RequestId": "ffadafb6-545d-461c-ad8c-baa26c0f8955" } } ``` diff --git a/tccli/examples/wedata/v20210820/UpdateDataModelRegistryInfo.md b/tccli/examples/wedata/v20210820/UpdateDataModelRegistryInfo.md index c9973a504d..ada8363fb1 100644 --- a/tccli/examples/wedata/v20210820/UpdateDataModelRegistryInfo.md +++ b/tccli/examples/wedata/v20210820/UpdateDataModelRegistryInfo.md @@ -7,10 +7,15 @@ Input: ``` tccli wedata UpdateDataModelRegistryInfo --cli-unfold-argument \ --CloudappId cloudapp-x3hadra3 \ - --AppCamRole 4000000001321 \ + --AppCamRole Cloudapp_x3HADRA3_Role \ --AppCamRoleId 4000000001321 \ --Ip 10.2.3.4 \ - --Port 18091 + --Port 18091 \ + --VpcId vpc-96zopisr \ + --VpcRegion ap-beijing \ + --Pip 10.2.3.4 \ + --Pport 18091 \ + --IsPublic 1 ``` Output: diff --git a/tccli/services/autoscaling/v20180419/api.json b/tccli/services/autoscaling/v20180419/api.json index 9b3c53c009..1cee8d0501 100644 --- a/tccli/services/autoscaling/v20180419/api.json +++ b/tccli/services/autoscaling/v20180419/api.json @@ -7304,7 +7304,7 @@ }, { "disabled": false, - "document": "刷新模式,目前仅支持滚动更新,默认值为 ROLLING_UPDATE_RESET。", + "document": "刷新模式。取值范围:\n
  • ROLLING_UPDATE_RESET:重装系统进行滚动更新
  • \n
  • ROLLING_UPDATE_REPLACE:新建实例替换进行滚动更新,该模式暂不支持回滚接口
  • ", "example": "ROLLING_UPDATE_RESET", "member": "string", "name": "RefreshMode", diff --git a/tccli/services/cdwch/cdwch_client.py b/tccli/services/cdwch/cdwch_client.py index 4e5bdc7e01..2eff26f61c 100644 --- a/tccli/services/cdwch/cdwch_client.py +++ b/tccli/services/cdwch/cdwch_client.py @@ -849,6 +849,58 @@ def doModifyClusterConfigs(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) +def doScaleCNOutUpInstance(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.CdwchClient(cred, g_param[OptionsDefine.Region], profile) + client._sdkVersion += ("_CLI_" + __version__) + models = MODELS_MAP[g_param[OptionsDefine.Version]] + model = models.ScaleCNOutUpInstanceRequest() + model.from_json_string(json.dumps(args)) + start_time = time.time() + while True: + rsp = client.ScaleCNOutUpInstance(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 doDescribeInstanceShards(args, parsed_globals): g_param = parse_global_arg(parsed_globals) @@ -1448,6 +1500,7 @@ def doResizeDisk(args, parsed_globals): "DescribeInstanceState": doDescribeInstanceState, "DescribeClusterConfigs": doDescribeClusterConfigs, "ModifyClusterConfigs": doModifyClusterConfigs, + "ScaleCNOutUpInstance": doScaleCNOutUpInstance, "DescribeInstanceShards": doDescribeInstanceShards, "DescribeCkSqlApis": doDescribeCkSqlApis, "DescribeSpec": doDescribeSpec, diff --git a/tccli/services/cdwch/v20200915/api.json b/tccli/services/cdwch/v20200915/api.json index ebfe6c5e82..5b79cd2d37 100644 --- a/tccli/services/cdwch/v20200915/api.json +++ b/tccli/services/cdwch/v20200915/api.json @@ -175,6 +175,13 @@ "output": "ResizeDiskResponse", "status": "online" }, + "ScaleCNOutUpInstance": { + "document": "open-api接口提供弹性伸缩云原生集群能力", + "input": "ScaleCNOutUpInstanceRequest", + "name": "通过接口弹性伸缩云原生集群(openapi)", + "output": "ScaleCNOutUpInstanceResponse", + "status": "online" + }, "ScaleOutInstance": { "document": "调整clickhouse节点数量", "input": "ScaleOutInstanceRequest", @@ -3663,6 +3670,99 @@ ], "usage": "out" }, + "ScaleCNOutUpInstanceRequest": { + "document": "ScaleCNOutUpInstance请求参数结构体", + "members": [ + { + "disabled": false, + "document": "实例唯一ID", + "example": "clickhouse-cn-xxx", + "member": "string", + "name": "InstanceId", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "warehouse名称", + "example": "xxxx", + "member": "string", + "name": "VirtualCluster", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "子网id", + "example": "subnet-xxx", + "member": "string", + "name": "UserSubnetID", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "新的warehouse的个数", + "example": "1", + "member": "int64", + "name": "NewCount", + "required": true, + "type": "int" + }, + { + "disabled": false, + "document": "集群的规格2X-Small、X-Small、Small", + "example": "2X-Small", + "member": "string", + "name": "NewSpecName", + "required": true, + "type": "string" + } + ], + "type": "object" + }, + "ScaleCNOutUpInstanceResponse": { + "document": "ScaleCNOutUpInstance返回参数结构体", + "members": [ + { + "disabled": false, + "document": "流程ID\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "123", + "member": "string", + "name": "FlowId", + "output_required": true, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "实例ID\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "clickhouse-cn-xxx", + "member": "string", + "name": "InstanceId", + "output_required": true, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "错误信息\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "xxx", + "member": "string", + "name": "ErrorMsg", + "output_required": true, + "type": "string", + "value_allowed_null": true + }, + { + "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", + "member": "string", + "name": "RequestId", + "type": "string" + } + ], + "type": "object" + }, "ScaleOutInstanceRequest": { "document": "ScaleOutInstance请求参数结构体", "members": [ diff --git a/tccli/services/cdwch/v20200915/examples.json b/tccli/services/cdwch/v20200915/examples.json index 5acf651f2a..d1061c74b1 100644 --- a/tccli/services/cdwch/v20200915/examples.json +++ b/tccli/services/cdwch/v20200915/examples.json @@ -200,6 +200,14 @@ "title": "示例" } ], + "ScaleCNOutUpInstance": [ + { + "document": "", + "input": "POST / HTTP/1.1\nHost: cdwch.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ScaleCNOutUpInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"clickhouse-cn-xxxxxx\",\n \"VirtualCluster\": \"warehouse3\",\n \"UserSubnetID\": \"subnet-xxxxxxx\",\n \"NewCount\": 2,\n \"NewSpecName\": \"2X-Small\"\n}", + "output": "{\n \"Response\": {\n \"InstanceId\": \"clickhouse-cn-xxxxxx\",\n \"FlowId\": \"\",\n \"RequestId\": \"01111\",\n \"ErrorMsg\": \"addddd\"\n }\n}", + "title": "示例" + } + ], "ScaleOutInstance": [ { "document": "ck水平扩容实例", diff --git a/tccli/services/cynosdb/v20190107/api.json b/tccli/services/cynosdb/v20190107/api.json index cf8c145710..14a1d4dbf2 100644 --- a/tccli/services/cynosdb/v20190107/api.json +++ b/tccli/services/cynosdb/v20190107/api.json @@ -3424,6 +3424,16 @@ "output_required": false, "type": "string", "value_allowed_null": true + }, + { + "disabled": false, + "document": "数据库类型", + "example": "无", + "member": "string", + "name": "DbMode", + "output_required": false, + "type": "string", + "value_allowed_null": false } ], "usage": "out" @@ -5786,8 +5796,8 @@ }, { "disabled": false, - "document": "数据库类型,normal,serverless\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "normal", + "document": "Db类型:
  • NORMAL
  • SERVERLESS
  • \n注意:此字段可能返回 null,表示取不到有效值。", + "example": "NORMAL", "member": "string", "name": "DbMode", "output_required": true, diff --git a/tccli/services/ess/v20201111/api.json b/tccli/services/ess/v20201111/api.json index 8385a62814..62d394f68c 100644 --- a/tccli/services/ess/v20201111/api.json +++ b/tccli/services/ess/v20201111/api.json @@ -2324,7 +2324,7 @@ }, { "disabled": false, - "document": "初始化操作类型\n", + "document": "初始化操作类型\n", "example": "无", "member": "string", "name": "OperateTypes", @@ -2348,6 +2348,15 @@ "name": "Agent", "required": false, "type": "object" + }, + { + "disabled": false, + "document": "被授权的合作方企业在电子签的企业电子签账号,当操作类型包含 PARTNER_AUTO_SIGN_AUTH (合作方企业授权自动签)时必传。\n\n企业电子签账号可在[电子签的网页端](https://qian.tencent.com/console/company-settings/company-center) ,于企业设置-企业信息菜单栏下复制获取。\n\n![企业电子签账号](https://qcloudimg.tencent-cloud.cn/raw/4e6b30ee92f00671f7f1c5bd127c27db.png)", + "example": "无", + "member": "string", + "name": "AuthorizedOrganizationId", + "required": false, + "type": "string" } ], "type": "object" diff --git a/tccli/services/essbasic/v20210526/api.json b/tccli/services/essbasic/v20210526/api.json index 157b69754f..dba324a8a3 100644 --- a/tccli/services/essbasic/v20210526/api.json +++ b/tccli/services/essbasic/v20210526/api.json @@ -6074,7 +6074,7 @@ }, { "disabled": false, - "document": "初始化操作类型\n", + "document": "初始化操作类型\n", "example": "无", "member": "string", "name": "OperateTypes", @@ -6089,6 +6089,24 @@ "name": "ProxyOrganizationOpenIds", "required": true, "type": "list" + }, + { + "disabled": false, + "document": "当操作类型包含 PARTNER_AUTO_SIGN_AUTH 且是给应用平台方授权自动签时传true。\n![image](https://qcloudimg.tencent-cloud.cn/raw/f9aba7c999a6d79ada20b4384520e120.png)", + "example": "无", + "member": "bool", + "name": "IsAuthorizePlatformApplication", + "required": false, + "type": "bool" + }, + { + "disabled": false, + "document": "被授权的合作方企业在第三方平台子客企业标识,即ProxyOrganizationOpenId,当操作类型包含 PARTNER_AUTO_SIGN_AUTH 且要进行合作方企业授权自动签时必传。\n\n\n", + "example": "无", + "member": "string", + "name": "AuthorizedProxyOrganizationOpenId", + "required": false, + "type": "string" } ], "type": "object" diff --git a/tccli/services/market/v20191010/api.json b/tccli/services/market/v20191010/api.json index 77a5799245..64e4335ecf 100644 --- a/tccli/services/market/v20191010/api.json +++ b/tccli/services/market/v20191010/api.json @@ -107,13 +107,13 @@ }, { "disabled": false, - "document": "消息\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "document": "消息", + "example": "流量已经用尽", "member": "string", "name": "Info", "output_required": true, "type": "string", - "value_allowed_null": true + "value_allowed_null": false }, { "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", diff --git a/tccli/services/mps/mps_client.py b/tccli/services/mps/mps_client.py index be08ad831a..e3b002242b 100644 --- a/tccli/services/mps/mps_client.py +++ b/tccli/services/mps/mps_client.py @@ -2357,6 +2357,58 @@ def doStartStreamLinkFlow(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) +def doProcessImage(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.MpsClient(cred, g_param[OptionsDefine.Region], profile) + client._sdkVersion += ("_CLI_" + __version__) + models = MODELS_MAP[g_param[OptionsDefine.Version]] + model = models.ProcessImageRequest() + model.from_json_string(json.dumps(args)) + start_time = time.time() + while True: + rsp = client.ProcessImage(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 doModifyStreamLinkInput(args, parsed_globals): g_param = parse_global_arg(parsed_globals) @@ -5689,6 +5741,7 @@ def doDeleteImageSpriteTemplate(args, parsed_globals): "DescribeTranscodeTemplates": doDescribeTranscodeTemplates, "DeleteStreamLinkFlow": doDeleteStreamLinkFlow, "StartStreamLinkFlow": doStartStreamLinkFlow, + "ProcessImage": doProcessImage, "ModifyStreamLinkInput": doModifyStreamLinkInput, "DescribeStreamLinkRegions": doDescribeStreamLinkRegions, "DescribeSchedules": doDescribeSchedules, diff --git a/tccli/services/mps/v20190612/api.json b/tccli/services/mps/v20190612/api.json index 8e8c22803b..6daed45e44 100644 --- a/tccli/services/mps/v20190612/api.json +++ b/tccli/services/mps/v20190612/api.json @@ -707,6 +707,13 @@ "output": "ParseNotificationResponse", "status": "online" }, + "ProcessImage": { + "document": "发起图片处理,功能包括:\n1. 格式转换;\n2. 图像增强;", + "input": "ProcessImageRequest", + "name": "发起图片处理", + "output": "ProcessImageResponse", + "status": "online" + }, "ProcessLiveStream": { "document": "对直播流媒体发起处理任务,功能包括:\n\n* 智能内容审核(画面鉴黄、敏感信息检测、声音鉴黄);\n* 智能内容识别(人脸、文本全文、文本关键词、语音全文、语音关键词、语音实时翻译、物体识别、游戏打点)。\n* 智能内容分析(新闻实时拆条)。\n* 质检(直播流格式诊断、音画内容检测(抖动、模糊、低光照、过曝光、黑边、白边、黑屏、白屏、花屏、噪点、马赛克、二维码等)、无参考打分)。\n* 录制\n\n直播流处理事件通知支持HTTP回调,也支持实时写入用户指定的消息队列 CMQ 中,用户从消息队列 CMQ 中获取事件通知结果,同时处理过程中存在输出文件的,会写入用户指定的输出文件的目标存储中。", "input": "ProcessLiveStreamRequest", @@ -16239,6 +16246,51 @@ ], "usage": "out" }, + "ImageEncodeConfig": { + "document": "图片编码格式参数", + "members": [ + { + "disabled": false, + "document": "图片格式,取值范围:JPG、BMP、GIF、PNG、WebP,缺省为原图格式。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "JPEG", + "member": "string", + "name": "Format", + "output_required": false, + "required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "图片的相对质量,取值范围:1 - 100,数值以原图质量为标准,缺省为原图质量。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "50", + "member": "int64", + "name": "Quality", + "output_required": false, + "required": false, + "type": "int", + "value_allowed_null": true + } + ], + "usage": "both" + }, + "ImageEnhanceConfig": { + "document": "图片增强参数", + "members": [ + { + "disabled": false, + "document": "超分配置。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "SuperResolutionConfig", + "name": "SuperResolution", + "output_required": false, + "required": false, + "type": "object", + "value_allowed_null": true + } + ], + "usage": "both" + }, "ImageQualityEnhanceConfig": { "document": "综合增强配置", "members": [ @@ -16482,6 +16534,34 @@ ], "usage": "out" }, + "ImageTaskInput": { + "document": "图片任务输入参数", + "members": [ + { + "disabled": false, + "document": "图片编码配置。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "ImageEncodeConfig", + "name": "EncodeConfig", + "output_required": false, + "required": false, + "type": "object", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "图片增强配置。\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "ImageEnhanceConfig", + "name": "EnhanceConfig", + "output_required": false, + "required": false, + "type": "object", + "value_allowed_null": true + } + ], + "usage": "both" + }, "ImageWatermarkInput": { "document": "图片水印模板输入参数", "members": [ @@ -23283,6 +23363,70 @@ ], "usage": "in" }, + "ProcessImageRequest": { + "document": "ProcessImage请求参数结构体", + "members": [ + { + "disabled": false, + "document": "图片处理的文件输入信息。", + "example": "无", + "member": "MediaInputInfo", + "name": "InputInfo", + "required": true, + "type": "object" + }, + { + "disabled": false, + "document": "图片处理输出文件的目标存储。不填则继承 InputInfo 中的存储位置。", + "example": "无", + "member": "TaskOutputStorage", + "name": "OutputStorage", + "required": false, + "type": "object" + }, + { + "disabled": false, + "document": "图片处理生成的文件输出的路径。如果不填表示与 InputInfo 中文件所在的目录一致。如果是目录,如`/image/201907/`,表示继承原文件名输出到该目录。", + "example": "无", + "member": "string", + "name": "OutputDir", + "required": false, + "type": "string" + }, + { + "disabled": false, + "document": "图片处理参数。", + "example": "无", + "member": "ImageTaskInput", + "name": "ImageTask", + "required": false, + "type": "object" + } + ], + "type": "object" + }, + "ProcessImageResponse": { + "document": "ProcessImage返回参数结构体", + "members": [ + { + "disabled": false, + "document": "任务 ID。", + "example": "125xxx65-procedurev2-bffb15f07530b57bc1aabb01fac74bca", + "member": "string", + "name": "TaskId", + "output_required": true, + "type": "string", + "value_allowed_null": false + }, + { + "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", + "member": "string", + "name": "RequestId", + "type": "string" + } + ], + "type": "object" + }, "ProcessLiveStreamRequest": { "document": "ProcessLiveStream请求参数结构体", "members": [ diff --git a/tccli/services/mps/v20190612/examples.json b/tccli/services/mps/v20190612/examples.json index f870b58e95..730a20fef8 100644 --- a/tccli/services/mps/v20190612/examples.json +++ b/tccli/services/mps/v20190612/examples.json @@ -988,6 +988,14 @@ "title": "解析事件通知内容" } ], + "ProcessImage": [ + { + "document": "发起图片增强", + "input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ProcessImage\n<公共请求参数>\n\n{\n \"InputInfo\": {\n \"Type\": \"COS\",\n \"CosInputInfo\": {\n \"Bucket\": \"bucket-test\",\n \"Region\": \"ap-shanghai\",\n \"Object\": \"/image/test.png\"\n }\n },\n \"OutputStorage\": {\n \"Type\": \"COS\",\n \"CosOutputStorage\": {\n \"Bucket\": \"bucket-test\",\n \"Region\": \"ap-shanghai\"\n }\n },\n \"ImageTask\": {\n \"EncodeConfig\": {\n \"Format\": \"jpeg\",\n \"Quality\": 75\n },\n \"EnhanceConfig\": {\n \"SuperResolution\": {\n \"Switch\": \"ON\"\n }\n }\n }\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"03b25aab-8883-497e-838f-d760c3e220f6\",\n \"TaskId\": \"3pg2p4jEfbFHYo2rgB0Kzl0esg4NeBItcZyllxO4HNJXdNeRUhk9GjDMjCj1auPv\"\n }\n}", + "title": "发起图片增强" + } + ], "ProcessLiveStream": [ { "document": "对 URL 为 http://www.abc.com/abc.m3u8 的直播流发起内容识别任务。", diff --git a/tccli/services/svp/v20240125/api.json b/tccli/services/svp/v20240125/api.json index e671e957a5..5906a0cdc4 100644 --- a/tccli/services/svp/v20240125/api.json +++ b/tccli/services/svp/v20240125/api.json @@ -232,7 +232,7 @@ { "disabled": false, "document": "节省计划使用结束的查询结束时间", - "example": "无", + "example": "2024-05-11 14:23:57", "member": "string", "name": "EndEndDate", "required": false, @@ -241,7 +241,7 @@ { "disabled": false, "document": "节省计划使用结束的查询开始时间", - "example": "无", + "example": "2024-05-11 14:23:57", "member": "string", "name": "EndStartDate", "required": false, diff --git a/tccli/services/tse/v20201207/examples.json b/tccli/services/tse/v20201207/examples.json index dd302e10f9..e1a5120c42 100644 --- a/tccli/services/tse/v20201207/examples.json +++ b/tccli/services/tse/v20201207/examples.json @@ -219,8 +219,8 @@ "DeleteCloudNativeAPIGatewayRouteRateLimit": [ { "document": "删除云原生网关限流插件(路由)", - "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteCloudNativeAPIGatewayRouteRateLimit\n<公共请求参数>\n\n{\n \"GatewayId\": \"abc\",\n \"Id\": \"abc\"\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteCloudNativeAPIGatewayRouteRateLimit\n<公共请求参数>\n\n{\n \"GatewayId\": \"gateway-dde03767\",\n \"Id\": \"2a212560-220a-46f6-b139-3238eb8ea041\"\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"ffadafb6-545d-461c-ad8c-baa26c0f8955\"\n }\n}", "title": "删除云原生网关限流插件(路由)" } ], @@ -235,8 +235,8 @@ "DeleteCloudNativeAPIGatewayServiceRateLimit": [ { "document": "删除云原生网关限流插件(服务)", - "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteCloudNativeAPIGatewayServiceRateLimit\n<公共请求参数>\n\n{\n \"GatewayId\": \"abc\",\n \"Name\": \"abc\"\n}", - "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}", + "input": "POST / HTTP/1.1\nHost: tse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteCloudNativeAPIGatewayServiceRateLimit\n<公共请求参数>\n\n{\n \"GatewayId\": \"gateway-dde03767\",\n \"Name\": \"user-service\"\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"ffadafb6-545d-461c-ad8c-baa26c0f8955\"\n }\n}", "title": "删除云原生网关限流插件(服务)" } ], diff --git a/tccli/services/wedata/v20210820/api.json b/tccli/services/wedata/v20210820/api.json index 7804f02e35..4bf41238e3 100644 --- a/tccli/services/wedata/v20210820/api.json +++ b/tccli/services/wedata/v20210820/api.json @@ -44546,7 +44546,7 @@ }, { "disabled": false, - "document": "数语的ip", + "document": "数语的公网访问ip", "example": "140.xx.xx.xx", "member": "string", "name": "Ip", @@ -44555,7 +44555,7 @@ }, { "disabled": false, - "document": "数语的端口", + "document": "数语的公网访问端口", "example": "18091", "member": "uint64", "name": "Port", @@ -44597,6 +44597,51 @@ "name": "OwnId", "required": false, "type": "string" + }, + { + "disabled": false, + "document": "VpcId", + "example": "vpc-96zopisr", + "member": "string", + "name": "VpcId", + "required": false, + "type": "string" + }, + { + "disabled": false, + "document": "Vpc地域", + "example": "ap-beijing", + "member": "string", + "name": "VpcRegion", + "required": false, + "type": "string" + }, + { + "disabled": false, + "document": "数语的内网访问ip", + "example": "10.xx.xx.xx", + "member": "string", + "name": "Pip", + "required": false, + "type": "string" + }, + { + "disabled": false, + "document": "数语的内网访问端口", + "example": "18091", + "member": "uint64", + "name": "Pport", + "required": false, + "type": "int" + }, + { + "disabled": false, + "document": "是否开放公网访问数语, 1:是,0:否,默认1开放", + "example": "1", + "member": "uint64", + "name": "IsPublic", + "required": false, + "type": "int" } ], "type": "object" diff --git a/tccli/services/wedata/v20210820/examples.json b/tccli/services/wedata/v20210820/examples.json index 6753018e42..9bb7147679 100644 --- a/tccli/services/wedata/v20210820/examples.json +++ b/tccli/services/wedata/v20210820/examples.json @@ -2033,7 +2033,7 @@ "UpdateDataModelRegistryInfo": [ { "document": "更新数语信息,入参传入ip和端口", - "input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateDataModelRegistryInfo\n<公共请求参数>\n\n{\n \"CloudappId\": \"cloudapp-x3hadra3\",\n \"AppCamRole\": \"4000000001321\",\n \"AppCamRoleId\": \"4000000001321\",\n \"Ip\": \"10.2.3.4\",\n \"Port\": 18091\n}", + "input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateDataModelRegistryInfo\n<公共请求参数>\n\n{\n \"CloudappId\": \"cloudapp-x3hadra3\",\n \"AppCamRole\": \"Cloudapp_x3HADRA3_Role\",\n \"AppCamRoleId\": \"4000000001321\",\n \"Ip\": \"10.2.3.4\",\n \"Port\": 18091,\n \"VpcId\": \"vpc-96zopisr\",\n \"VpcRegion\": \"ap-beijing\",\n \"Pip\": \"10.2.3.4\",\n \"Pport\": 18091,\n \"IsPublic\": 1\n}", "output": "{\n \"RequestId\": \"176da6c4-d9a5-450a-a11b-b64acd4faa60\",\n \"Response\": {\n \"Data\": true,\n \"RequestId\": \"176da6c4-d9a5-450a-a11b-b64acd4faa60\"\n }\n}", "title": "更新数语信息,入参传入ip和端口" }