From d58b5fb12f8b0bcc4a45b1dde00e9022ca2ee07d Mon Sep 17 00:00:00 2001 From: tencentcloudapi Date: Fri, 12 Jul 2024 04:09:02 +0800 Subject: [PATCH] release 3.0.1149.1 --- CHANGELOG.md | 181 +++++++++++ SERVICE_CHANGELOG.md | 305 +++++++++++++----- products.md | 32 +- pyproject.toml | 4 +- tccli/__init__.py | 2 +- .../cam/v20190116/UpdateSAMLProvider.md | 5 +- .../DescribeMalwareTimingScanSetting.md | 4 +- .../CreateEmployeeQualificationSealQrCode.md | 22 ++ .../ess/v20201111/CreateFlowByFiles.md | 262 +++++++++++++++ .../CreateEmployeeQualificationSealQrCode.md | 24 ++ .../gaap/v20180529/DescribeTaskStatus.md | 18 ++ .../v20180801/DescribeLivePullStreamTasks.md | 2 + .../v20170312/UpgradeHourDBInstance.md | 22 ++ tccli/services/cam/v20190116/api.json | 8 +- tccli/services/cam/v20190116/examples.json | 2 +- tccli/services/cwp/v20180228/api.json | 79 ++++- tccli/services/cwp/v20180228/examples.json | 2 +- tccli/services/ess/ess_client.py | 53 +++ tccli/services/ess/v20201111/api.json | 72 ++++- tccli/services/ess/v20201111/examples.json | 14 + tccli/services/essbasic/essbasic_client.py | 61 +++- tccli/services/essbasic/v20210526/api.json | 59 +++- .../services/essbasic/v20210526/examples.json | 8 + tccli/services/gaap/gaap_client.py | 53 +++ tccli/services/gaap/v20180529/api.json | 24 ++ tccli/services/gaap/v20180529/examples.json | 8 + tccli/services/live/v20180801/api.json | 6 + tccli/services/live/v20180801/examples.json | 2 +- tccli/services/mariadb/mariadb_client.py | 53 +++ tccli/services/mariadb/v20170312/api.json | 88 +++++ .../services/mariadb/v20170312/examples.json | 8 + tccli/services/mongodb/v20190725/api.json | 70 ++-- tccli/services/monitor/v20180724/api.json | 2 +- tccli/services/oceanus/v20190422/api.json | 24 ++ .../services/organization/v20210331/api.json | 2 +- tccli/services/rum/v20210622/api.json | 9 + tccli/services/tdmq/v20200217/api.json | 6 +- tccli/services/thpc/v20230321/api.json | 14 +- tccli/services/trtc/v20190722/api.json | 20 +- 39 files changed, 1454 insertions(+), 176 deletions(-) create mode 100644 tccli/examples/ess/v20201111/CreateEmployeeQualificationSealQrCode.md create mode 100644 tccli/examples/essbasic/v20210526/CreateEmployeeQualificationSealQrCode.md create mode 100644 tccli/examples/gaap/v20180529/DescribeTaskStatus.md create mode 100644 tccli/examples/mariadb/v20170312/UpgradeHourDBInstance.md diff --git a/CHANGELOG.md b/CHANGELOG.md index f544c70df8..ad8c37088e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,184 @@ +# Release 3.0.1149.1 + +## 主机安全(cwp) 版本:2018-02-28 + +### 第 117 次发布 + +发布时间:2024-07-12 01:12:13 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeMalwareTimingScanSetting](https://cloud.tencent.com/document/api/296/58240) + + * 新增出参:ProtectMode, ProtectFileScope + +* [ModifyMalwareTimingScanSettings](https://cloud.tencent.com/document/api/296/52509) + + * 新增入参:DoClean, ProtectMode, ProtectFileScope + + + + +## 腾讯电子签企业版(ess) 版本:2020-11-11 + +### 第 179 次发布 + +发布时间:2024-07-12 01:16:02 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [CreateEmployeeQualificationSealQrCode](https://cloud.tencent.com/document/api/1323/108596) + + + +## 腾讯电子签(基础版)(essbasic) 版本:2021-05-26 + +### 第 174 次发布 + +发布时间:2024-07-12 01:16:22 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [CreateEmployeeQualificationSealQrCode](https://cloud.tencent.com/document/api/1420/108597) + + + +## 腾讯电子签(基础版)(essbasic) 版本:2020-12-22 + + + +## 全球应用加速(gaap) 版本:2018-05-29 + +### 第 47 次发布 + +发布时间:2024-07-12 01:16:49 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeTaskStatus](https://cloud.tencent.com/document/api/608/108598) + + + +## 云数据库 MariaDB(mariadb) 版本:2017-03-12 + +### 第 63 次发布 + +发布时间:2024-07-12 01:20:13 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [UpgradeHourDBInstance](https://cloud.tencent.com/document/api/237/108599) + + + +## 流计算 Oceanus(oceanus) 版本:2019-04-22 + +### 第 57 次发布 + +发布时间:2024-07-12 01:21:39 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [JobConfig](https://cloud.tencent.com/document/api/849/52010#JobConfig) + + * 新增成员:FlinkVersion + +* [SlotSharingGroup](https://cloud.tencent.com/document/api/849/52010#SlotSharingGroup) + + * 新增成员:Configuration + + + + +## 前端性能监控(rum) 版本:2021-06-22 + +### 第 35 次发布 + +发布时间:2024-07-12 01:22:59 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeReleaseFiles](https://cloud.tencent.com/document/api/1464/69215) + + * 新增入参:FileName + + + + +## 高性能计算平台(thpc) 版本:2023-03-21 + +### 第 15 次发布 + +发布时间:2024-07-12 01:26:38 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [LoginSettings](https://cloud.tencent.com/document/api/1527/89579#LoginSettings) + + * 新增成员:KeyIds + + + + +## 高性能计算平台(thpc) 版本:2022-04-01 + + + +## 高性能计算平台(thpc) 版本:2021-11-09 + + + +## 实时音视频(trtc) 版本:2019-07-22 + +### 第 82 次发布 + +发布时间:2024-07-12 01:27:45 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [TrtcUsage](https://cloud.tencent.com/document/api/647/44055#TrtcUsage) + + * 新增成员:TimeStampKey + + + + # Release 3.0.1148.1 ## 大模型图像创作引擎(aiart) 版本:2022-12-29 diff --git a/SERVICE_CHANGELOG.md b/SERVICE_CHANGELOG.md index be11241ada..dae276391c 100644 --- a/SERVICE_CHANGELOG.md +++ b/SERVICE_CHANGELOG.md @@ -1,45 +1,49 @@ # 本版本更新包含以下内容: -## 大模型图像创作引擎(aiart) 版本:2022-12-29 +## 主机安全(cwp) 版本:2018-02-28 -### 第 8 次发布 +### 第 117 次发布 -发布时间:2024-07-11 01:07:23 +发布时间:2024-07-12 01:12:13 本次发布包含了以下内容: 改善已有的文档。 -新增接口: +修改接口: -* [ChangeClothes](https://cloud.tencent.com/document/api/1668/108532) +* [DescribeMalwareTimingScanSetting](https://cloud.tencent.com/document/api/296/58240) + * 新增出参:ProtectMode, ProtectFileScope +* [ModifyMalwareTimingScanSettings](https://cloud.tencent.com/document/api/296/52509) -## DNSPod(dnspod) 版本:2021-03-23 + * 新增入参:DoClean, ProtectMode, ProtectFileScope -### 第 32 次发布 -发布时间:2024-07-11 01:14:33 -本次发布包含了以下内容: -改善已有的文档。 +## 腾讯电子签企业版(ess) 版本:2020-11-11 -修改接口: +### 第 179 次发布 -* [CreateRecord](https://cloud.tencent.com/document/api/1427/56180) +发布时间:2024-07-12 01:16:02 - * 新增入参:GroupId +本次发布包含了以下内容: +改善已有的文档。 +新增接口: +* [CreateEmployeeQualificationSealQrCode](https://cloud.tencent.com/document/api/1323/108596) -## 大模型知识引擎(lke) 版本:2023-11-30 -### 第 11 次发布 -发布时间:2024-07-11 01:19:53 +## 腾讯电子签(基础版)(essbasic) 版本:2021-05-26 + +### 第 174 次发布 + +发布时间:2024-07-12 01:16:22 本次发布包含了以下内容: @@ -47,19 +51,19 @@ 新增接口: -* [DescribeSegments](https://cloud.tencent.com/document/api/1759/108533) +* [CreateEmployeeQualificationSealQrCode](https://cloud.tencent.com/document/api/1420/108597) -新增数据结构: -* [DocSegment](https://cloud.tencent.com/document/api/1759/105104#DocSegment) +## 腾讯电子签(基础版)(essbasic) 版本:2020-12-22 -## 多网聚合加速(mna) 版本:2021-01-19 -### 第 20 次发布 +## 全球应用加速(gaap) 版本:2018-05-29 -发布时间:2024-07-11 01:20:22 +### 第 47 次发布 + +发布时间:2024-07-12 01:16:49 本次发布包含了以下内容: @@ -67,53 +71,73 @@ 新增接口: -* [AddGroup](https://cloud.tencent.com/document/api/1385/108542) -* [DeleteGroup](https://cloud.tencent.com/document/api/1385/108541) -* [GetFlowStatisticByRegion](https://cloud.tencent.com/document/api/1385/108540) -* [GetGroupDetail](https://cloud.tencent.com/document/api/1385/108539) -* [GetGroupList](https://cloud.tencent.com/document/api/1385/108538) -* [GroupAddDevice](https://cloud.tencent.com/document/api/1385/108537) -* [GroupDeleteDevice](https://cloud.tencent.com/document/api/1385/108536) -* [SetNotifyUrl](https://cloud.tencent.com/document/api/1385/108535) -* [UpdateGroup](https://cloud.tencent.com/document/api/1385/108534) +* [DescribeTaskStatus](https://cloud.tencent.com/document/api/608/108598) -修改接口: -* [AddDevice](https://cloud.tencent.com/document/api/1385/80483) - * 新增入参:FlowTrunc +## 云数据库 MariaDB(mariadb) 版本:2017-03-12 -* [UpdateDevice](https://cloud.tencent.com/document/api/1385/80478) +### 第 63 次发布 - * 新增入参:FlowTrunc +发布时间:2024-07-12 01:20:13 +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [UpgradeHourDBInstance](https://cloud.tencent.com/document/api/237/108599) -新增数据结构: -* [GroupInfo](https://cloud.tencent.com/document/api/1385/55846#GroupInfo) + +## 流计算 Oceanus(oceanus) 版本:2019-04-22 + +### 第 57 次发布 + +发布时间:2024-07-12 01:21:39 + +本次发布包含了以下内容: + +改善已有的文档。 修改数据结构: -* [ActivateHardware](https://cloud.tencent.com/document/api/1385/55846#ActivateHardware) +* [JobConfig](https://cloud.tencent.com/document/api/849/52010#JobConfig) - * 新增成员:FlowTrunc, DeviceId + * 新增成员:FlinkVersion -* [DeviceBaseInfo](https://cloud.tencent.com/document/api/1385/55846#DeviceBaseInfo) +* [SlotSharingGroup](https://cloud.tencent.com/document/api/849/52010#SlotSharingGroup) - * 新增成员:FlowTrunc + * 新增成员:Configuration -* [HardwareInfo](https://cloud.tencent.com/document/api/1385/55846#HardwareInfo) - * 新增成员:FlowTrunc +## 前端性能监控(rum) 版本:2021-06-22 +### 第 35 次发布 -## 媒体处理(mps) 版本:2019-06-12 +发布时间:2024-07-12 01:22:59 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeReleaseFiles](https://cloud.tencent.com/document/api/1464/69215) + + * 新增入参:FileName -### 第 90 次发布 -发布时间:2024-07-11 01:21:03 + + +## 高性能计算平台(thpc) 版本:2023-03-21 + +### 第 15 次发布 + +发布时间:2024-07-12 01:26:38 本次发布包含了以下内容: @@ -121,31 +145,37 @@ 修改数据结构: -* [LiveStreamObjectRecognitionResult](https://cloud.tencent.com/document/api/862/37615#LiveStreamObjectRecognitionResult) +* [LoginSettings](https://cloud.tencent.com/document/api/1527/89579#LoginSettings) - * 新增成员:Url + * 新增成员:KeyIds -* [LiveStreamTaskNotifyConfig](https://cloud.tencent.com/document/api/862/37615#LiveStreamTaskNotifyConfig) - * 新增成员:NotifyKey +## 高性能计算平台(thpc) 版本:2022-04-01 -## 微服务平台 TSF(tsf) 版本:2018-03-26 -### 第 111 次发布 +## 高性能计算平台(thpc) 版本:2021-11-09 -发布时间:2024-07-11 01:28:05 + + +## 实时音视频(trtc) 版本:2019-07-22 + +### 第 82 次发布 + +发布时间:2024-07-12 01:27:45 本次发布包含了以下内容: 改善已有的文档。 -新增接口: +修改数据结构: + +* [TrtcUsage](https://cloud.tencent.com/document/api/647/44055#TrtcUsage) + + * 新增成员:TimeStampKey -* [CreateProgram](https://cloud.tencent.com/document/api/649/108544) -* [ModifyProgram](https://cloud.tencent.com/document/api/649/108543) @@ -803,7 +833,7 @@ 新增接口: -* [[ChangeClothes](https://cloud.tencent.com/document/api/1668/108532)](https://cloud.tencent.com/document/api/#/#) +* [ChangeClothes](https://cloud.tencent.com/document/api/1668/108532) ### 第 7 次发布 @@ -41515,6 +41545,25 @@ ## 主机安全(cwp) 版本:2018-02-28 +### 第 117 次发布 + +发布时间:2024-07-12 01:12:13 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeMalwareTimingScanSetting](https://cloud.tencent.com/document/api/296/58240) + + * 新增出参:ProtectMode, ProtectFileScope + +* [ModifyMalwareTimingScanSettings](https://cloud.tencent.com/document/api/296/52509) + + * 新增入参:DoClean, ProtectMode, ProtectFileScope + + ### 第 116 次发布 发布时间:2024-07-05 01:06:53 @@ -62652,6 +62701,18 @@ ## 腾讯电子签企业版(ess) 版本:2020-11-11 +### 第 179 次发布 + +发布时间:2024-07-12 01:16:02 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[CreateEmployeeQualificationSealQrCode](https://cloud.tencent.com/document/api/1323/108596)](https://cloud.tencent.com/document/api/#/#) + ### 第 178 次发布 发布时间:2024-07-09 01:14:53 @@ -66064,6 +66125,18 @@ ## 腾讯电子签(基础版)(essbasic) 版本:2021-05-26 +### 第 174 次发布 + +发布时间:2024-07-12 01:16:22 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[CreateEmployeeQualificationSealQrCode](https://cloud.tencent.com/document/api/1420/108597)](https://cloud.tencent.com/document/api/#/#) + ### 第 173 次发布 发布时间:2024-07-09 01:15:08 @@ -71063,6 +71136,18 @@ ## 全球应用加速(gaap) 版本:2018-05-29 +### 第 47 次发布 + +发布时间:2024-07-12 01:16:49 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[DescribeTaskStatus](https://cloud.tencent.com/document/api/608/108598)](https://cloud.tencent.com/document/api/#/#) + ### 第 46 次发布 发布时间:2024-07-03 01:16:42 @@ -88092,11 +88177,11 @@ 新增接口: -* [[DescribeSegments](https://cloud.tencent.com/document/api/1759/108533)](https://cloud.tencent.com/document/api/#/#) +* [DescribeSegments](https://cloud.tencent.com/document/api/1759/108533) 新增数据结构: -* [[DocSegment](https://cloud.tencent.com/document/api/1759/105104#DocSegment)](https://cloud.tencent.com/document/api/1759/105104#[DocSegment](https://cloud.tencent.com/document/api/1759/105104#DocSegment)) +* [DocSegment](https://cloud.tencent.com/document/api/1759/105104#DocSegment) ### 第 10 次发布 @@ -88540,6 +88625,18 @@ ## 云数据库 MariaDB(mariadb) 版本:2017-03-12 +### 第 63 次发布 + +发布时间:2024-07-12 01:20:13 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[UpgradeHourDBInstance](https://cloud.tencent.com/document/api/237/108599)](https://cloud.tencent.com/document/api/#/#) + ### 第 62 次发布 发布时间:2024-07-03 01:20:08 @@ -90146,15 +90243,15 @@ 新增接口: -* [[AddGroup](https://cloud.tencent.com/document/api/1385/108542)](https://cloud.tencent.com/document/api/#/#) -* [[DeleteGroup](https://cloud.tencent.com/document/api/1385/108541)](https://cloud.tencent.com/document/api/#/#) -* [[GetFlowStatisticByRegion](https://cloud.tencent.com/document/api/1385/108540)](https://cloud.tencent.com/document/api/#/#) -* [[GetGroupDetail](https://cloud.tencent.com/document/api/1385/108539)](https://cloud.tencent.com/document/api/#/#) -* [[GetGroupList](https://cloud.tencent.com/document/api/1385/108538)](https://cloud.tencent.com/document/api/#/#) -* [[GroupAddDevice](https://cloud.tencent.com/document/api/1385/108537)](https://cloud.tencent.com/document/api/#/#) -* [[GroupDeleteDevice](https://cloud.tencent.com/document/api/1385/108536)](https://cloud.tencent.com/document/api/#/#) -* [[SetNotifyUrl](https://cloud.tencent.com/document/api/1385/108535)](https://cloud.tencent.com/document/api/#/#) -* [[UpdateGroup](https://cloud.tencent.com/document/api/1385/108534)](https://cloud.tencent.com/document/api/#/#) +* [AddGroup](https://cloud.tencent.com/document/api/1385/108542) +* [DeleteGroup](https://cloud.tencent.com/document/api/1385/108541) +* [GetFlowStatisticByRegion](https://cloud.tencent.com/document/api/1385/108540) +* [GetGroupDetail](https://cloud.tencent.com/document/api/1385/108539) +* [GetGroupList](https://cloud.tencent.com/document/api/1385/108538) +* [GroupAddDevice](https://cloud.tencent.com/document/api/1385/108537) +* [GroupDeleteDevice](https://cloud.tencent.com/document/api/1385/108536) +* [SetNotifyUrl](https://cloud.tencent.com/document/api/1385/108535) +* [UpdateGroup](https://cloud.tencent.com/document/api/1385/108534) 修改接口: @@ -90169,7 +90266,7 @@ 新增数据结构: -* [[GroupInfo](https://cloud.tencent.com/document/api/1385/55846#GroupInfo)](https://cloud.tencent.com/document/api/1385/55846#[GroupInfo](https://cloud.tencent.com/document/api/1385/55846#GroupInfo)) +* [GroupInfo](https://cloud.tencent.com/document/api/1385/55846#GroupInfo) 修改数据结构: @@ -98655,6 +98752,25 @@ ## 流计算 Oceanus(oceanus) 版本:2019-04-22 +### 第 57 次发布 + +发布时间:2024-07-12 01:21:39 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [JobConfig](https://cloud.tencent.com/document/api/849/52010#JobConfig) + + * 新增成员:FlinkVersion + +* [SlotSharingGroup](https://cloud.tencent.com/document/api/849/52010#SlotSharingGroup) + + * 新增成员:Configuration + + ### 第 56 次发布 发布时间:2024-06-05 02:02:33 @@ -107624,6 +107740,21 @@ ## 前端性能监控(rum) 版本:2021-06-22 +### 第 35 次发布 + +发布时间:2024-07-12 01:22:59 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeReleaseFiles](https://cloud.tencent.com/document/api/1464/69215) + + * 新增入参:FileName + + ### 第 34 次发布 发布时间:2024-07-10 01:22:53 @@ -131101,6 +131232,21 @@ ## 高性能计算平台(thpc) 版本:2023-03-21 +### 第 15 次发布 + +发布时间:2024-07-12 01:26:38 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [LoginSettings](https://cloud.tencent.com/document/api/1527/89579#LoginSettings) + + * 新增成员:KeyIds + + ### 第 14 次发布 发布时间:2024-06-27 01:21:12 @@ -140657,6 +140803,21 @@ ## 实时音视频(trtc) 版本:2019-07-22 +### 第 82 次发布 + +发布时间:2024-07-12 01:27:45 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [TrtcUsage](https://cloud.tencent.com/document/api/647/44055#TrtcUsage) + + * 新增成员:TimeStampKey + + ### 第 81 次发布 发布时间:2024-07-10 01:27:37 @@ -143693,8 +143854,8 @@ 新增接口: -* [[CreateProgram](https://cloud.tencent.com/document/api/649/108544)](https://cloud.tencent.com/document/api/#/#) -* [[ModifyProgram](https://cloud.tencent.com/document/api/649/108543)](https://cloud.tencent.com/document/api/#/#) +* [CreateProgram](https://cloud.tencent.com/document/api/649/108544) +* [ModifyProgram](https://cloud.tencent.com/document/api/649/108543) ### 第 110 次发布 diff --git a/products.md b/products.md index 387c0038e8..3e4f06ebde 100644 --- a/products.md +++ b/products.md @@ -34,7 +34,7 @@ | bri | [业务风险情报](https://cloud.tencent.com/document/product/1064) | 2024-06-19 01:13:52 | | bsca | [二进制软件成分分析](https://cloud.tencent.com/document/product/1483) | 2024-04-16 01:05:23 | | btoe | [区块链可信取证](https://cloud.tencent.com/document/product/1259) | 2024-03-20 01:09:12 | -| cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2024-06-21 01:14:07 | +| cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2024-07-12 01:09:00 | | captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2024-06-19 01:14:46 | | car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2024-06-19 01:14:59 | | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2024-06-14 01:17:35 | @@ -70,7 +70,7 @@ | csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2024-07-03 01:12:26 | | csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2024-03-20 01:12:25 | | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-06-20 01:25:33 | -| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-07-05 01:06:53 | +| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-07-12 01:12:13 | | 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-07-02 01:13:35 | | dasb | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-05-31 01:30:02 | @@ -83,7 +83,7 @@ | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2024-07-08 01:13:07 | | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2024-07-11 01:14:33 | | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2024-07-02 01:14:51 | -| drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2024-04-22 01:15:04 | +| drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2024-07-12 01:14:44 | | ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2024-03-20 01:15:13 | | dsgc | [数据安全治理中心](https://cloud.tencent.com/document/product/1087) | 2024-06-25 01:13:45 | | dtf | [分布式事务](https://cloud.tencent.com/document/product/1224) | 2022-04-04 06:38:57 | @@ -96,13 +96,13 @@ | eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 | | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-07-09 01:14:34 | | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-07-09 01:14:44 | -| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-07-09 01:14:53 | -| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-07-09 01:15:08 | +| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-07-12 01:16:02 | +| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-07-12 01:16:22 | | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-06-05 10:32:35 | | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-06-26 01:16:46 | | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-07-05 01:10:44 | | ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2024-03-20 01:17:13 | -| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2024-07-03 01:16:42 | +| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2024-07-12 01:16:49 | | gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2024-06-27 01:13:06 | | goosefs | [数据加速器 GooseFS](https://cloud.tencent.com/document/product/1424) | 2024-07-10 01:17:00 | | gpm | [游戏玩家匹配](https://cloud.tencent.com/document/product/1294) | 2022-07-11 06:12:36 | @@ -134,19 +134,19 @@ | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2024-04-17 01:17:16 | | lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-06-24 01:17:36 | | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-07-11 01:19:19 | -| live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-07-10 01:19:34 | +| live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-07-12 01:19:39 | | lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-07-11 01:19:53 | | 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 | -| mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2024-07-03 01:20:08 | +| mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2024-07-12 01:20:13 | | market | [云市场](https://cloud.tencent.com/document/product/306) | 2024-03-20 01:20:21 | | memcached | [云数据库Memcached](https://cloud.tencent.com/document/product/241) | 2024-03-20 01:20:22 | | mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-07-08 06:11:32 | | mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2024-07-02 01:19:41 | | mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2024-07-11 01:20:22 | -| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-07-02 01:19:49 | -| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-07-03 01:20:32 | +| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-07-12 01:20:35 | +| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-07-12 01:20:43 | | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-07-11 01:21:03 | | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-06-14 02:16:42 | | ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2024-06-05 02:02:03 | @@ -154,10 +154,10 @@ | mvj | [营销价值判断](https://cloud.tencent.com/document/product) | 2020-03-19 08:11:44 | | nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2024-05-07 01:22:11 | | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 | -| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-06-05 02:02:33 | +| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-07-12 01:21:39 | | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-07-09 01:19:41 | | omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-06-13 02:11:33 | -| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-07-03 01:21:45 | +| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-07-12 01:22:08 | | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-06-26 01:21:35 | | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2023-05-18 01:44:14 | | postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2024-07-10 01:22:15 | @@ -168,7 +168,7 @@ | region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2024-04-22 01:23:34 | | rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2023-12-25 00:16:39 | | rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 | -| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2024-07-10 01:22:53 | +| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2024-07-12 01:22:59 | | scf | [云函数](https://cloud.tencent.com/document/product/583) | 2024-07-03 01:22:38 | | ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2024-07-01 01:22:01 | | smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2024-06-07 02:21:50 | @@ -203,11 +203,11 @@ | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2024-06-26 01:23:56 | | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2024-07-10 01:25:35 | | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2024-06-04 02:17:43 | -| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-07-11 01:25:45 | +| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-07-12 01:25:48 | | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2024-04-22 01:26:50 | | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2024-06-25 01:23:38 | | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-07-03 19:33:55 | -| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2024-06-27 01:21:12 | +| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2024-07-12 01:26:38 | | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 | | tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 | | ticm | [智能鉴黄](https://cloud.tencent.com/document/product/864) | 2021-01-07 08:08:15 | @@ -225,7 +225,7 @@ | trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-07-05 01:19:38 | | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2024-06-06 02:42:14 | | trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-06-21 02:25:01 | -| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-07-10 01:27:37 | +| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-07-12 01:27:45 | | tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-07-10 01:27:48 | | tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-07-11 01:28:05 | | tsi | [腾讯同传系统](https://cloud.tencent.com/document/product/1399) | 2024-07-08 01:25:22 | diff --git a/pyproject.toml b/pyproject.toml index 4f283aee08..07833cbf78 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ exclude = ["tccli/examples"] [project] name = "tccli" -version = "3.0.1148.1" +version = "3.0.1149.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.1148", + "tencentcloud-sdk-python>=3.0.1149", ] [project.urls] diff --git a/tccli/__init__.py b/tccli/__init__.py index 1488855e80..ccddd4a5b2 100644 --- a/tccli/__init__.py +++ b/tccli/__init__.py @@ -1 +1 @@ -__version__ = '3.0.1148.1' +__version__ = '3.0.1149.1' diff --git a/tccli/examples/cam/v20190116/UpdateSAMLProvider.md b/tccli/examples/cam/v20190116/UpdateSAMLProvider.md index 3cf68a14d0..785db03107 100644 --- a/tccli/examples/cam/v20190116/UpdateSAMLProvider.md +++ b/tccli/examples/cam/v20190116/UpdateSAMLProvider.md @@ -6,9 +6,10 @@ Input: ``` tccli cam UpdateSAMLProvider --cli-unfold-argument \ - --SAMLMetadataDocument PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48bWQ6RW50aXR5RGVzY3JpcHRvciBlbnRpdHlJRD0iaHR0cDovL3d3dy5va3RhLmNvbS9leGsxa3F4bWNqUW1HQURNeTM1NyIgeG1sbnM6bWQ9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDptZXRhZGF0YSI%2BPG1kOklEUFNTT0Rlc2NyaXB0b3IgV2FudEF1dGhuUmVxdWVzdHNTaWduZWQ9ImZhbHNlIiBwcm90b2NvbFN1cHBvcnRFbnVtZXJhdGlvbj0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOnB%3D%3D \ --Name testName \ - --Description testProvider + --Description testProvider \ + --SAMLMetadataDocument PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48bWQ6RW50aXR5RGVzY3JpcHRvciBlbnRpdHlJRD0iaHR0cDovL3d3dy5va3RhLmNvbS9leGsxa3F4bWNqUW1HQURNeTM1NyIgeG1sbnM6bWQ9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDptZXRhZGF0YSI%2BPG1kOklEUFNTT0Rlc2NyaXB0b3IgV2FudEF1dGhuUmVxdWVzdHNTaWduZWQ9ImZhbHNlIiBwcm90b2NvbFN1cHBvcnRFbnVtZXJhdGlvbj0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOnB%3D%3D \ + --Signature bmqyzCmdLxEFbsI6pu40V%2BEbWNo%3D ``` Output: diff --git a/tccli/examples/cwp/v20180228/DescribeMalwareTimingScanSetting.md b/tccli/examples/cwp/v20180228/DescribeMalwareTimingScanSetting.md index d2c1f235c1..1013168d9b 100644 --- a/tccli/examples/cwp/v20180228/DescribeMalwareTimingScanSetting.md +++ b/tccli/examples/cwp/v20180228/DescribeMalwareTimingScanSetting.md @@ -29,7 +29,9 @@ Output: "ClickTimeout": 0, "EngineType": 1, "EnableInspiredEngine": 1, - "EnableMemShellScan": 1 + "EnableMemShellScan": 1, + "ProtectMode": 0, + "ProtectFileScope": 0 } } ``` diff --git a/tccli/examples/ess/v20201111/CreateEmployeeQualificationSealQrCode.md b/tccli/examples/ess/v20201111/CreateEmployeeQualificationSealQrCode.md new file mode 100644 index 0000000000..ad75bd1e9b --- /dev/null +++ b/tccli/examples/ess/v20201111/CreateEmployeeQualificationSealQrCode.md @@ -0,0 +1,22 @@ +**Example 1: 生成员工执业章授权二维码** + +企业需要员工授权执业章使用权限给企业时,调用接口产生二维码 + +Input: + +``` +tccli ess CreateEmployeeQualificationSealQrCode --cli-unfold-argument \ + --Operator.UserId yDxVwUyKQWho8CUuO4zjEyQOAgwvr4Zy \ + --HintText 请授权执业章 +``` + +Output: +``` +{ + "Response": { + "QrcodeBase64": "/9ji1/Z**************/2Q==", + "RequestId": "s1720524882444991481" + } +} +``` + diff --git a/tccli/examples/ess/v20201111/CreateFlowByFiles.md b/tccli/examples/ess/v20201111/CreateFlowByFiles.md index c043108f19..82d7e51d9e 100644 --- a/tccli/examples/ess/v20201111/CreateFlowByFiles.md +++ b/tccli/examples/ess/v20201111/CreateFlowByFiles.md @@ -1252,3 +1252,265 @@ Output: } ``` +**Example 17: 文件发起B2C合同,发起方设置合同水印(自定义水印内容)** + +1.通过PDF文件发起合同 +2.指定B端签署方为企业【典子谦示例企业】,经办人为【何规】 +3.指定C端签署方为个人【张三】 +4.水印控件通过外层 参数 Components 传递,ComponentType 设置为 WATERMARK,设置"ComponentExtra": "{\"Font\":\"黑体\",\"FontSize\":20,\"Opacity\":0.1,\"Density\":2,\"SubType\":\"CUSTOM_WATERMARK\"}",ComponentValue 为自定义水印的内容 + + +Input: + +``` +tccli ess CreateFlowByFiles --cli-unfold-argument \ + --Operator.UserId yDxbTUyKQWPt5NUuO4zjEuyFAyOX3v9C \ + --FlowName 文件发起B2C-自定义水印内容 \ + --Components.0.ComponentType WATERMARK \ + --Components.0.ComponentName 合同水印 \ + --Components.0.ComponentExtra {"Font":"黑体","FontSize":20,"Opacity":0.1,"Density":2,"SubType":"CUSTOM_WATERMARK"} \ + --Components.0.ComponentValue 自定义水印内容 \ + --Components.0.ComponentPage 0 \ + --Components.0.ComponentWidth 0 \ + --Components.0.ComponentHeight 0 \ + --Components.0.ComponentPosX 0 \ + --Components.0.ComponentPosY 0 \ + --Components.0.FileIndex 0 \ + --Approvers.0.ApproverType 0 \ + --Approvers.0.OrganizationName 典子谦示例企业 \ + --Approvers.0.ApproverName 何规 \ + --Approvers.0.ApproverMobile 18200000000 \ + --Approvers.0.NotifyType NONE \ + --Approvers.0.SignComponents.0.ComponentHeight 119 \ + --Approvers.0.SignComponents.0.ComponentPage 7 \ + --Approvers.0.SignComponents.0.ComponentPosX 143.59375 \ + --Approvers.0.SignComponents.0.ComponentPosY 169.0625 \ + --Approvers.0.SignComponents.0.ComponentType SIGN_SEAL \ + --Approvers.0.SignComponents.0.ComponentWidth 119 \ + --Approvers.0.SignComponents.0.FileIndex 0 \ + --Approvers.0.Components.0.ComponentExtra {"FontSize":12,"FontAlign":"Left","Font":"黑体","RecipientInfoType":"BUSI-CREDIT-CODE","FontColor":"0,82,217"} \ + --Approvers.0.Components.0.ComponentHeight 20 \ + --Approvers.0.Components.0.ComponentPage 1 \ + --Approvers.0.Components.0.ComponentPosX 205 \ + --Approvers.0.Components.0.ComponentPosY 114 \ + --Approvers.0.Components.0.ComponentRequired True \ + --Approvers.0.Components.0.ComponentType TEXT \ + --Approvers.0.Components.0.ComponentWidth 339 \ + --Approvers.0.Components.0.FileIndex 0 \ + --Approvers.0.Components.1.ComponentExtra {"FontSize":12,"FontAlign":"Left","Font":"黑体","RecipientInfoType":"BUSI-CREDIT-CODE"} \ + --Approvers.0.Components.1.ComponentHeight 20 \ + --Approvers.0.Components.1.ComponentPage 1 \ + --Approvers.0.Components.1.ComponentPosX 234 \ + --Approvers.0.Components.1.ComponentPosY 142 \ + --Approvers.0.Components.1.ComponentRequired True \ + --Approvers.0.Components.1.ComponentType TEXT \ + --Approvers.0.Components.1.ComponentWidth 302 \ + --Approvers.0.Components.1.FileIndex 0 \ + --Approvers.0.Components.2.ComponentExtra {"FontSize":12,"FontAlign":"Left","Font":"黑体","RecipientInfoType":"BUSI-LEGAL-NAME"} \ + --Approvers.0.Components.2.ComponentHeight 20 \ + --Approvers.0.Components.2.ComponentPage 1 \ + --Approvers.0.Components.2.ComponentPosX 191.09 \ + --Approvers.0.Components.2.ComponentPosY 172 \ + --Approvers.0.Components.2.ComponentRequired True \ + --Approvers.0.Components.2.ComponentType TEXT \ + --Approvers.0.Components.2.ComponentWidth 335 \ + --Approvers.0.Components.2.FileIndex 0 \ + --Approvers.0.Components.3.ComponentExtra {"FontSize":12,"FontAlign":"Left","Font":"黑体","SubType":"LOCATION"} \ + --Approvers.0.Components.3.ComponentHeight 21 \ + --Approvers.0.Components.3.ComponentPage 1 \ + --Approvers.0.Components.3.ComponentPosX 155 \ + --Approvers.0.Components.3.ComponentPosY 205 \ + --Approvers.0.Components.3.ComponentRequired True \ + --Approvers.0.Components.3.ComponentType MULTI_LINE_TEXT \ + --Approvers.0.Components.3.ComponentWidth 366 \ + --Approvers.0.Components.3.FileIndex 0 \ + --Approvers.0.Components.4.ComponentExtra {"FontSize":12,"FontAlign":"Left","Font":"黑体","RecipientInfoType":"PERSONAL-NAME"} \ + --Approvers.0.Components.4.ComponentHeight 20 \ + --Approvers.0.Components.4.ComponentPage 1 \ + --Approvers.0.Components.4.ComponentPosX 107 \ + --Approvers.0.Components.4.ComponentPosY 236 \ + --Approvers.0.Components.4.ComponentRequired True \ + --Approvers.0.Components.4.ComponentType TEXT \ + --Approvers.0.Components.4.ComponentWidth 339 \ + --Approvers.0.Components.4.FileIndex 0 \ + --Approvers.0.Components.5.ComponentExtra {"FontSize":12,"FontAlign":"Left","Font":"黑体","RecipientInfoType":"PERSONAL-MOBILE"} \ + --Approvers.0.Components.5.ComponentHeight 20 \ + --Approvers.0.Components.5.ComponentPage 1 \ + --Approvers.0.Components.5.ComponentPosX 121 \ + --Approvers.0.Components.5.ComponentPosY 265 \ + --Approvers.0.Components.5.ComponentRequired True \ + --Approvers.0.Components.5.ComponentType TEXT \ + --Approvers.0.Components.5.ComponentWidth 327 \ + --Approvers.0.Components.5.FileIndex 0 \ + --Approvers.0.Components.6.ComponentExtra {"FontSize":12,"FontAlign":"Left","Font":"黑体"} \ + --Approvers.0.Components.6.ComponentHeight 20 \ + --Approvers.0.Components.6.ComponentPage 1 \ + --Approvers.0.Components.6.ComponentPosX 35.09 \ + --Approvers.0.Components.6.ComponentPosY 293 \ + --Approvers.0.Components.6.ComponentRequired True \ + --Approvers.0.Components.6.ComponentType DISTRICT \ + --Approvers.0.Components.6.ComponentWidth 306 \ + --Approvers.0.Components.6.FileIndex 0 \ + --Approvers.0.Components.7.ComponentExtra {"FontSize":12,"FontAlign":"Left","Font":"黑体"} \ + --Approvers.0.Components.7.ComponentHeight 44 \ + --Approvers.0.Components.7.ComponentPage 1 \ + --Approvers.0.Components.7.ComponentPosX 44 \ + --Approvers.0.Components.7.ComponentPosY 652 \ + --Approvers.0.Components.7.ComponentType MULTI_LINE_TEXT \ + --Approvers.0.Components.7.ComponentWidth 505 \ + --Approvers.0.Components.7.FileIndex 0 \ + --Approvers.0.Components.8.ComponentExtra {"FontSize":12,"FontAlign":"Left","Font":"黑体","ManualFill":true} \ + --Approvers.0.Components.8.ComponentHeight 20 \ + --Approvers.0.Components.8.ComponentPage 2 \ + --Approvers.0.Components.8.ComponentPosX 145 \ + --Approvers.0.Components.8.ComponentPosY 68 \ + --Approvers.0.Components.8.ComponentRequired True \ + --Approvers.0.Components.8.ComponentType DATE \ + --Approvers.0.Components.8.ComponentWidth 116 \ + --Approvers.0.Components.8.FileIndex 0 \ + --Approvers.0.Components.9.ComponentExtra {"FontSize":12,"FontAlign":"Left","Font":"黑体","ManualFill":true} \ + --Approvers.0.Components.9.ComponentHeight 20 \ + --Approvers.0.Components.9.ComponentPage 2 \ + --Approvers.0.Components.9.ComponentPosX 130.09375 \ + --Approvers.0.Components.9.ComponentPosY 555.09375 \ + --Approvers.0.Components.9.ComponentType DATE \ + --Approvers.0.Components.9.ComponentWidth 116 \ + --Approvers.0.Components.9.FileIndex 0 \ + --Approvers.0.Components.10.ComponentExtra {"FontSize":12,"FontAlign":"Left","Font":"黑体","SubType":"LOCATION"} \ + --Approvers.0.Components.10.ComponentHeight 27 \ + --Approvers.0.Components.10.ComponentPage 2 \ + --Approvers.0.Components.10.ComponentPosX 134.09 \ + --Approvers.0.Components.10.ComponentPosY 628.09 \ + --Approvers.0.Components.10.ComponentType MULTI_LINE_TEXT \ + --Approvers.0.Components.10.ComponentWidth 398 \ + --Approvers.0.Components.10.FileIndex 0 \ + --Approvers.0.Components.11.ComponentExtra {} \ + --Approvers.0.Components.11.ComponentHeight 16 \ + --Approvers.0.Components.11.ComponentPage 7 \ + --Approvers.0.Components.11.ComponentPosX 83.09375 \ + --Approvers.0.Components.11.ComponentPosY 96.5625 \ + --Approvers.0.Components.11.ComponentType CHECK_BOX \ + --Approvers.0.Components.11.ComponentWidth 16 \ + --Approvers.0.Components.11.FileIndex 0 \ + --Approvers.0.Components.12.ComponentExtra {"FillMethod":0,"NotMakeImageCenter":true} \ + --Approvers.0.Components.12.ComponentHeight 119 \ + --Approvers.0.Components.12.ComponentPage 7 \ + --Approvers.0.Components.12.ComponentPosX 13 \ + --Approvers.0.Components.12.ComponentPosY 394 \ + --Approvers.0.Components.12.ComponentType FILL_IMAGE \ + --Approvers.0.Components.12.ComponentWidth 119 \ + --Approvers.0.Components.12.FileIndex 0 \ + --Approvers.0.Components.13.ComponentExtra {"LimitCount":3,"AttachmentType":"IMG"} \ + --Approvers.0.Components.13.ComponentHeight 42 \ + --Approvers.0.Components.13.ComponentPage 7 \ + --Approvers.0.Components.13.ComponentPosX 12 \ + --Approvers.0.Components.13.ComponentPosY 537 \ + --Approvers.0.Components.13.ComponentRequired True \ + --Approvers.0.Components.13.ComponentType ATTACHMENT \ + --Approvers.0.Components.13.ComponentWidth 240 \ + --Approvers.0.Components.13.FileIndex 0 \ + --Approvers.1.ApproverType 1 \ + --Approvers.1.ApproverName 张三 \ + --Approvers.1.ApproverMobile 18700000000 \ + --Approvers.1.NotifyType NONE \ + --Approvers.1.SignComponents.0.ComponentHeight 43 \ + --Approvers.1.SignComponents.0.ComponentPage 7 \ + --Approvers.1.SignComponents.0.ComponentPosX 433.59375 \ + --Approvers.1.SignComponents.0.ComponentPosY 196.0625 \ + --Approvers.1.SignComponents.0.ComponentType SIGN_SIGNATURE \ + --Approvers.1.SignComponents.0.ComponentWidth 119 \ + --Approvers.1.SignComponents.0.FileIndex 0 \ + --Approvers.1.Components.0.ComponentExtra {"FontSize":12,"FontAlign":"Left","Font":"黑体","RecipientInfoType":"PERSONAL-NAME"} \ + --Approvers.1.Components.0.ComponentHeight 20 \ + --Approvers.1.Components.0.ComponentPage 1 \ + --Approvers.1.Components.0.ComponentPosX 199 \ + --Approvers.1.Components.0.ComponentPosY 323 \ + --Approvers.1.Components.0.ComponentRequired True \ + --Approvers.1.Components.0.ComponentType TEXT \ + --Approvers.1.Components.0.ComponentWidth 309 \ + --Approvers.1.Components.0.FileIndex 0 \ + --Approvers.1.Components.1.ComponentExtra {"FontSize":12,"FontAlign":"Left","Font":"黑体","SubType":"LOCATION"} \ + --Approvers.1.Components.1.ComponentHeight 24 \ + --Approvers.1.Components.1.ComponentPage 1 \ + --Approvers.1.Components.1.ComponentPosX 155 \ + --Approvers.1.Components.1.ComponentPosY 386 \ + --Approvers.1.Components.1.ComponentRequired True \ + --Approvers.1.Components.1.ComponentType MULTI_LINE_TEXT \ + --Approvers.1.Components.1.ComponentWidth 390 \ + --Approvers.1.Components.1.FileIndex 0 \ + --Approvers.1.Components.2.ComponentExtra {"FontSize":12,"FontAlign":"Left","Font":"黑体"} \ + --Approvers.1.Components.2.ComponentHeight 20 \ + --Approvers.1.Components.2.ComponentPage 1 \ + --Approvers.1.Components.2.ComponentPosX 114.09 \ + --Approvers.1.Components.2.ComponentPosY 416 \ + --Approvers.1.Components.2.ComponentRequired True \ + --Approvers.1.Components.2.ComponentType TEXT \ + --Approvers.1.Components.2.ComponentWidth 299 \ + --Approvers.1.Components.2.FileIndex 0 \ + --Approvers.1.Components.3.ComponentExtra {"FontSize":12,"FontAlign":"Left","Font":"黑体","RecipientInfoType":"PERSONAL-MOBILE"} \ + --Approvers.1.Components.3.ComponentHeight 20 \ + --Approvers.1.Components.3.ComponentPage 1 \ + --Approvers.1.Components.3.ComponentPosX 115.09 \ + --Approvers.1.Components.3.ComponentPosY 445 \ + --Approvers.1.Components.3.ComponentRequired True \ + --Approvers.1.Components.3.ComponentType TEXT \ + --Approvers.1.Components.3.ComponentWidth 367 \ + --Approvers.1.Components.3.FileIndex 0 \ + --Approvers.1.Components.4.ComponentExtra {"SubType":"EDUCATION"} \ + --Approvers.1.Components.4.ComponentHeight 20 \ + --Approvers.1.Components.4.ComponentId ComponentId_30 \ + --Approvers.1.Components.4.ComponentName 学历 \ + --Approvers.1.Components.4.ComponentPage 1 \ + --Approvers.1.Components.4.ComponentPosX 8.09375 \ + --Approvers.1.Components.4.ComponentPosY 473 \ + --Approvers.1.Components.4.ComponentRequired True \ + --Approvers.1.Components.4.ComponentType SELECTOR \ + --Approvers.1.Components.4.ComponentWidth 84 \ + --Approvers.1.Components.4.FileIndex 0 \ + --Approvers.1.Components.5.ComponentExtra {"FontSize":12,"FontAlign":"Left","Font":"黑体","SubType":"EMAIL"} \ + --Approvers.1.Components.5.ComponentHeight 20 \ + --Approvers.1.Components.5.ComponentId ComponentId_28 \ + --Approvers.1.Components.5.ComponentName 邮箱 \ + --Approvers.1.Components.5.ComponentPage 1 \ + --Approvers.1.Components.5.ComponentPosX 117.09375 \ + --Approvers.1.Components.5.ComponentPosY 474 \ + --Approvers.1.Components.5.ComponentType TEXT \ + --Approvers.1.Components.5.ComponentWidth 292 \ + --Approvers.1.Components.5.FileIndex 0 \ + --Approvers.1.Components.6.ComponentExtra {"SubType":"GENDER"} \ + --Approvers.1.Components.6.ComponentHeight 20 \ + --Approvers.1.Components.6.ComponentId ComponentId_29 \ + --Approvers.1.Components.6.ComponentName 性别 \ + --Approvers.1.Components.6.ComponentPage 1 \ + --Approvers.1.Components.6.ComponentPosX 424.09375 \ + --Approvers.1.Components.6.ComponentPosY 472 \ + --Approvers.1.Components.6.ComponentRequired True \ + --Approvers.1.Components.6.ComponentType SELECTOR \ + --Approvers.1.Components.6.ComponentWidth 84 \ + --Approvers.1.Components.6.FileIndex 0 \ + --FileIds yDCWqUUckpve5id3U4f5EL77tlNh6zTZ +``` + +Output: +``` +{ + "Response": { + "Approvers": [ + { + "ApproverRoleName": "", + "RecipientId": "yDCVsUUckpwri2v6U9JHnkxcJrDXddLQ", + "SignId": "yDCVsUUckpwri3vwU9JHnky9uvwe3h25" + }, + { + "ApproverRoleName": "", + "RecipientId": "yDCVsUUckpwri2vbU9JHnkSdZKiAyEs3", + "SignId": "yDCVsUUckpwri2vvU9JHnkvaHtOttw1h" + } + ], + "FlowId": "yDCVsUUckpwri3vyU9JHnkBDqTFanBa3", + "PreviewUrl": "", + "RequestId": "s1709793654575755487" + } +} +``` + diff --git a/tccli/examples/essbasic/v20210526/CreateEmployeeQualificationSealQrCode.md b/tccli/examples/essbasic/v20210526/CreateEmployeeQualificationSealQrCode.md new file mode 100644 index 0000000000..6aa89712d7 --- /dev/null +++ b/tccli/examples/essbasic/v20210526/CreateEmployeeQualificationSealQrCode.md @@ -0,0 +1,24 @@ +**Example 1: 生成员工执业章授权二维码** + +企业需要员工授权执业章使用权限给企业时,调用接口产生二维码 + +Input: + +``` +tccli essbasic CreateEmployeeQualificationSealQrCode --cli-unfold-argument \ + --Agent.AppId yDwfwUUgygormhg1UuS2eARxjMT0mxAw \ + --Agent.ProxyOrganizationOpenId org_zhangsan \ + --Agent.ProxyOperator.OpenId n02468 \ + --HintText 我是提示文字 +``` + +Output: +``` +{ + "Response": { + "QrcodeBase64": "/9ji1/Z**************/2Q==", + "RequestId": "s1720524882444991481" + } +} +``` + diff --git a/tccli/examples/gaap/v20180529/DescribeTaskStatus.md b/tccli/examples/gaap/v20180529/DescribeTaskStatus.md new file mode 100644 index 0000000000..b8a821fa8c --- /dev/null +++ b/tccli/examples/gaap/v20180529/DescribeTaskStatus.md @@ -0,0 +1,18 @@ +**Example 1: 查询异步任务执行状态** + +查询异步任务执行状态 + +Input: + +``` +tccli gaap DescribeTaskStatus --cli-unfold-argument ``` + +Output: +``` +{ + "Response": { + "RequestId": "766d83c7-c0b1-4973-bdf3-effeeffa34d7" + } +} +``` + diff --git a/tccli/examples/live/v20180801/DescribeLivePullStreamTasks.md b/tccli/examples/live/v20180801/DescribeLivePullStreamTasks.md index ce593cd54d..a54692c11b 100644 --- a/tccli/examples/live/v20180801/DescribeLivePullStreamTasks.md +++ b/tccli/examples/live/v20180801/DescribeLivePullStreamTasks.md @@ -27,6 +27,8 @@ Output: "DomainName": "yourdomain.com", "EndTime": "2020-04-25T00:30:00Z", "ErrorInfo": "", + "BackupToUrl": "", + "RecordTemplateId": "", "PushArgs": "txsecret=7cbb8f382a21e8d2f6cd8098100d3b8e&txtime=5ea0450d", "SourceType": "PullLivePushLive", "SourceUrls": [ diff --git a/tccli/examples/mariadb/v20170312/UpgradeHourDBInstance.md b/tccli/examples/mariadb/v20170312/UpgradeHourDBInstance.md new file mode 100644 index 0000000000..bd67e0fc69 --- /dev/null +++ b/tccli/examples/mariadb/v20170312/UpgradeHourDBInstance.md @@ -0,0 +1,22 @@ +**Example 1: 升级MariaDB按量计费实例** + +升级MariaDB按量计费实例 + +Input: + +``` +tccli mariadb UpgradeHourDBInstance --cli-unfold-argument \ + --InstanceId tdsql-cq3ndzu7 \ + --Memory 2 \ + --Storage 10 +``` + +Output: +``` +{ + "Response": { + "RequestId": "b3d8965f-5124-451d-be87-499ea75eb3a4" + } +} +``` + diff --git a/tccli/services/cam/v20190116/api.json b/tccli/services/cam/v20190116/api.json index 267433a71e..4fdce0c6e7 100644 --- a/tccli/services/cam/v20190116/api.json +++ b/tccli/services/cam/v20190116/api.json @@ -2454,7 +2454,7 @@ { "disabled": false, "document": "SAML身份提供商名称", - "example": "", + "example": "testName", "member": "string", "name": "Name", "required": true, @@ -7016,7 +7016,7 @@ { "disabled": false, "document": "SAML身份提供商名称", - "example": "", + "example": "testName", "member": "string", "name": "Name", "required": true, @@ -7025,7 +7025,7 @@ { "disabled": false, "document": "SAML身份提供商描述", - "example": "", + "example": "test", "member": "string", "name": "Description", "required": false, @@ -7034,7 +7034,7 @@ { "disabled": false, "document": "SAML身份提供商Base64编码的元数据文档", - "example": "", + "example": "PD94bWwgdmVyc2lvbj0iMS4wIi***", "member": "string", "name": "SAMLMetadataDocument", "required": false, diff --git a/tccli/services/cam/v20190116/examples.json b/tccli/services/cam/v20190116/examples.json index 1522ed10fd..c45ea1527f 100644 --- a/tccli/services/cam/v20190116/examples.json +++ b/tccli/services/cam/v20190116/examples.json @@ -687,7 +687,7 @@ "UpdateSAMLProvider": [ { "document": "", - "input": "POST / HTTP/1.1\nHost: cam.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateSAMLProvider\n<公共请求参数>\n\n{\n \"SAMLMetadataDocument\": \"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48bWQ6RW50aXR5RGVzY3JpcHRvciBlbnRpdHlJRD0iaHR0cDovL3d3dy5va3RhLmNvbS9leGsxa3F4bWNqUW1HQURNeTM1NyIgeG1sbnM6bWQ9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDptZXRhZGF0YSI%2BPG1kOklEUFNTT0Rlc2NyaXB0b3IgV2FudEF1dGhuUmVxdWVzdHNTaWduZWQ9ImZhbHNlIiBwcm90b2NvbFN1cHBvcnRFbnVtZXJhdGlvbj0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOnB%3D%3D\",\n \"Name\": \"testName\",\n \"Description\": \"testProvider\"\n}", + "input": "https://cam.tencentcloudapi.com/?Action=UpdateSAMLProvider\r\n&Name=testName\r\n&Description=testProvider\r\n&SAMLMetadataDocument=PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48bWQ6RW50aXR5RGVzY3JpcHRvciBlbnRpdHlJRD0iaHR0cDovL3d3dy5va3RhLmNvbS9leGsxa3F4bWNqUW1HQURNeTM1NyIgeG1sbnM6bWQ9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDptZXRhZGF0YSI%2BPG1kOklEUFNTT0Rlc2NyaXB0b3IgV2FudEF1dGhuUmVxdWVzdHNTaWduZWQ9ImZhbHNlIiBwcm90b2NvbFN1cHBvcnRFbnVtZXJhdGlvbj0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOnB%3D%3D&Signature=bmqyzCmdLxEFbsI6pu40V%2BEbWNo%3D\r\n&<公共请求参数>", "output": "{\n \"Response\": {\n \"RequestId\": \"1e44e8e5-7878-4aa0-8bd2-555dde56cddb\"\n }\n}", "title": "更新身份提供商" } diff --git a/tccli/services/cwp/v20180228/api.json b/tccli/services/cwp/v20180228/api.json index 025a2b59f1..96da58017f 100644 --- a/tccli/services/cwp/v20180228/api.json +++ b/tccli/services/cwp/v20180228/api.json @@ -28853,7 +28853,7 @@ "example": "1", "member": "uint64", "name": "CheckPattern", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -28863,7 +28863,7 @@ "example": "xxx", "member": "string", "name": "StartTime", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -28873,7 +28873,7 @@ "example": "xxx", "member": "string", "name": "EndTime", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -28883,7 +28883,7 @@ "example": "1", "member": "uint64", "name": "IsGlobal", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -28893,7 +28893,7 @@ "example": "[]", "member": "string", "name": "QuuidList", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": true }, @@ -28903,7 +28903,7 @@ "example": "1", "member": "uint64", "name": "MonitoringPattern", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -28913,7 +28913,7 @@ "example": "1", "member": "uint64", "name": "Cycle", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -28923,7 +28923,7 @@ "example": "1", "member": "int64", "name": "EnableScan", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -28933,7 +28933,7 @@ "example": "xxx", "member": "int64", "name": "Id", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -28943,7 +28943,7 @@ "example": "1", "member": "int64", "name": "RealTimeMonitoring", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -28953,7 +28953,7 @@ "example": "1", "member": "uint64", "name": "AutoIsolation", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -28963,7 +28963,7 @@ "example": "60", "member": "uint64", "name": "ClickTimeout", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -28973,7 +28973,7 @@ "example": "1", "member": "uint64", "name": "KillProcess", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -28983,7 +28983,7 @@ "example": "1", "member": "uint64", "name": "EngineType", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -28993,7 +28993,7 @@ "example": "1", "member": "uint64", "name": "EnableInspiredEngine", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -29003,7 +29003,27 @@ "example": "1", "member": "uint64", "name": "EnableMemShellScan", - "required": true, + "output_required": true, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "防护模式 0 标准 1 重保", + "example": "0", + "member": "uint64", + "name": "ProtectMode", + "output_required": false, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "查杀范围 0 脚本类之外的恶意文件,1全部恶意文件", + "example": "0", + "member": "uint64", + "name": "ProtectFileScope", + "output_required": false, "type": "int", "value_allowed_null": false }, @@ -47974,6 +47994,15 @@ "required": false, "type": "int" }, + { + "disabled": false, + "document": "1 清理, 0 不清理\n
  • 本操作会修复被篡改的系统命令,计划任务等系统文件,操作中请确保yum/apt 可用
  • ", + "example": "无", + "member": "uint64", + "name": "DoClean", + "required": false, + "type": "int" + }, { "disabled": false, "document": "1标准模式(只报严重、高危)、2增强模式(报严重、高危、中危)、3严格模式(报严重、高、中、低、提示)", @@ -48000,6 +48029,24 @@ "name": "EnableMemShellScan", "required": false, "type": "int" + }, + { + "disabled": false, + "document": "防护模式 0 标准 1重保", + "example": "0", + "member": "uint64", + "name": "ProtectMode", + "required": false, + "type": "int" + }, + { + "disabled": false, + "document": "查杀范围 0 脚本类之外的恶意文件,1全部恶意文件", + "example": "0", + "member": "uint64", + "name": "ProtectFileScope", + "required": false, + "type": "int" } ], "type": "object" diff --git a/tccli/services/cwp/v20180228/examples.json b/tccli/services/cwp/v20180228/examples.json index cf52c140be..c7e3d001f2 100644 --- a/tccli/services/cwp/v20180228/examples.json +++ b/tccli/services/cwp/v20180228/examples.json @@ -1992,7 +1992,7 @@ { "document": "", "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMalwareTimingScanSetting\n<公共请求参数>\n\n{}", - "output": "{\n \"Response\": {\n \"RequestId\": \"1e96ed81-a2f2-4029-893b-b63ed1328694\",\n \"CheckPattern\": 1,\n \"StartTime\": \"2020-05-20 00:00:00\",\n \"EndTime\": \"2020-05-20 00:00:00\",\n \"IsGlobal\": 1,\n \"QuuidList\": [\n \"972290ce-2e07-4689-8f92-f617239bbf82\"\n ],\n \"RealTimeMonitoring\": 1,\n \"MonitoringPattern\": 0,\n \"Cycle\": 1,\n \"EnableScan\": 1,\n \"Id\": 0,\n \"AutoIsolation\": 1,\n \"KillProcess\": 1,\n \"ClickTimeout\": 0,\n \"EngineType\": 1,\n \"EnableInspiredEngine\": 1,\n \"EnableMemShellScan\": 1\n }\n}", + "output": "{\n \"Response\": {\n \"RequestId\": \"1e96ed81-a2f2-4029-893b-b63ed1328694\",\n \"CheckPattern\": 1,\n \"StartTime\": \"2020-05-20 00:00:00\",\n \"EndTime\": \"2020-05-20 00:00:00\",\n \"IsGlobal\": 1,\n \"QuuidList\": [\n \"972290ce-2e07-4689-8f92-f617239bbf82\"\n ],\n \"RealTimeMonitoring\": 1,\n \"MonitoringPattern\": 0,\n \"Cycle\": 1,\n \"EnableScan\": 1,\n \"Id\": 0,\n \"AutoIsolation\": 1,\n \"KillProcess\": 1,\n \"ClickTimeout\": 0,\n \"EngineType\": 1,\n \"EnableInspiredEngine\": 1,\n \"EnableMemShellScan\": 1,\n \"ProtectMode\": 0,\n \"ProtectFileScope\": 0\n }\n}", "title": "查询定时扫描配置" } ], diff --git a/tccli/services/ess/ess_client.py b/tccli/services/ess/ess_client.py index cb4cc6089f..5ba25f32a3 100644 --- a/tccli/services/ess/ess_client.py +++ b/tccli/services/ess/ess_client.py @@ -2877,6 +2877,58 @@ def doCreateBatchOrganizationRegistrationTasks(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) +def doCreateEmployeeQualificationSealQrCode(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.EssClient(cred, g_param[OptionsDefine.Region], profile) + client._sdkVersion += ("_CLI_" + __version__) + models = MODELS_MAP[g_param[OptionsDefine.Version]] + model = models.CreateEmployeeQualificationSealQrCodeRequest() + model.from_json_string(json.dumps(args)) + start_time = time.time() + while True: + rsp = client.CreateEmployeeQualificationSealQrCode(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 doCreateExtendedServiceAuthInfos(args, parsed_globals): g_param = parse_global_arg(parsed_globals) @@ -4555,6 +4607,7 @@ def doDeleteExtendedServiceAuthInfos(args, parsed_globals): "DescribeUserVerifyStatus": doDescribeUserVerifyStatus, "ModifyIntegrationRole": doModifyIntegrationRole, "CreateBatchOrganizationRegistrationTasks": doCreateBatchOrganizationRegistrationTasks, + "CreateEmployeeQualificationSealQrCode": doCreateEmployeeQualificationSealQrCode, "CreateExtendedServiceAuthInfos": doCreateExtendedServiceAuthInfos, "CreateOrganizationInfoChangeUrl": doCreateOrganizationInfoChangeUrl, "CreateConvertTaskApi": doCreateConvertTaskApi, diff --git a/tccli/services/ess/v20201111/api.json b/tccli/services/ess/v20201111/api.json index 8d4b985249..8658f88d84 100644 --- a/tccli/services/ess/v20201111/api.json +++ b/tccli/services/ess/v20201111/api.json @@ -77,6 +77,13 @@ "output": "CreateEmbedWebUrlResponse", "status": "online" }, + "CreateEmployeeQualificationSealQrCode": { + "document": "该接口用于获取个人授权执业章给企业的二维码,需要个人用户通过微信扫码。扫描后将跳转到腾讯电子签小程序,进入到授权执业章的流程。个人用户授权成功后,企业印章管理员需对印章进行审核,审核通过后,即可使用个人授权的执业章进行盖章操作。\n\n**注意**\n1. 该二维码**有效期为7天**,过期后将失效,可重新创建。", + "input": "CreateEmployeeQualificationSealQrCodeRequest", + "name": "创建个人印章授权给企业使用的授权二维码", + "output": "CreateEmployeeQualificationSealQrCodeResponse", + "status": "online" + }, "CreateExtendedServiceAuthInfos": { "document": "创建企业扩展服务授权,当前仅支持授权 “企业自动签” 和 “批量签署” 给企业员工。\n该接口作用和电子签控制台 企业设置-扩展服务-企业自动签署和批量签署授权 两个模块功能相同,可通过该接口授权给企业员工。\n\n注:“企业自动签授权”支持集团代子企业操作,请联系运营开通此功能。", "input": "CreateExtendedServiceAuthInfosRequest", @@ -2747,6 +2754,61 @@ ], "type": "object" }, + "CreateEmployeeQualificationSealQrCodeRequest": { + "document": "CreateEmployeeQualificationSealQrCode请求参数结构体", + "members": [ + { + "disabled": false, + "document": "执行本接口操作的员工信息。使用此接口时,必须填写userId。 支持填入集团子公司经办人 userId 代发合同。 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`", + "example": "无", + "member": "UserInfo", + "name": "Operator", + "required": true, + "type": "object" + }, + { + "disabled": false, + "document": "代理企业和员工的信息。 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。", + "example": "无", + "member": "Agent", + "name": "Agent", + "required": false, + "type": "object" + }, + { + "disabled": false, + "document": "提示信息,扫码后此信息会展示给扫描用户,用来提示用户授权操作的目的", + "example": "无", + "member": "string", + "name": "HintText", + "required": false, + "type": "string" + } + ], + "type": "object" + }, + "CreateEmployeeQualificationSealQrCodeResponse": { + "document": "CreateEmployeeQualificationSealQrCode返回参数结构体", + "members": [ + { + "disabled": false, + "document": "二维码图片的Base64 注: `此二维码的有效时间为7天,过期后需要重新生成新的二维码图片`", + "example": "无", + "member": "string", + "name": "QrcodeBase64", + "output_required": false, + "type": "string", + "value_allowed_null": false + }, + { + "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", + "member": "string", + "name": "RequestId", + "type": "string" + } + ], + "type": "object" + }, "CreateExtendedServiceAuthInfosRequest": { "document": "CreateExtendedServiceAuthInfos请求参数结构体", "members": [ @@ -2990,7 +3052,7 @@ }, { "disabled": false, - "document": "合同流程的名称(可自定义此名称),长度不能超过200,只能由中文、字母、数字和下划线组成。\n\n该名称还将用于合同签署完成后的下载文件名。", + "document": "合同流程的名称(可自定义此名称),长度不能超过200个字符,只能由中文、字母、数字、中划线和下划线组成。\n\n该名称还将用于合同签署完成后的下载文件名。", "example": "2013年采购西红柿合同", "member": "string", "name": "FlowName", @@ -3035,7 +3097,7 @@ }, { "disabled": false, - "document": "模板或者合同中的填写控件列表,列表中可支持下列多种填写控件,控件的详细定义参考开发者中心的Component结构体\n", + "document": "模板或者合同中的填写控件列表,列表中可支持下列多种填写控件,控件的详细定义参考开发者中心的Component结构体\n", "example": "无", "member": "Component", "name": "Components", @@ -7521,7 +7583,7 @@ }, { "disabled": false, - "document": "要查询的扩展服务类型。\n默认为空,即查询当前支持的所有扩展服务信息。\n若需查询单个扩展服务的开通情况,请传递相应的值,如下所示:\n", + "document": "要查询的扩展服务类型。\n默认为空,即查询当前支持的所有扩展服务信息。\n若需查询单个扩展服务的开通情况,请传递相应的值,如下所示:\n", "example": "OPEN_SERVER_SIGN", "member": "string", "name": "ExtendServiceType", @@ -8574,7 +8636,7 @@ }, { "disabled": false, - "document": "印章种类列表(均为组织机构印章)。 若无特定需求,将展示所有类型的印章。 \n\n目前支持以下几种:\n\n", + "document": "印章种类列表(均为组织机构印章)。 若无特定需求,将展示所有类型的印章。 目前支持以下几种:", "example": "无", "member": "string", "name": "SealTypes", @@ -11251,7 +11313,7 @@ }, { "disabled": false, - "document": "要管理的拓展服务类型。\n", + "document": "要管理的拓展服务类型。\n", "example": "MOBILE_CHECK_APPROVER", "member": "string", "name": "ServiceType", diff --git a/tccli/services/ess/v20201111/examples.json b/tccli/services/ess/v20201111/examples.json index adcdeea283..0b074184fd 100644 --- a/tccli/services/ess/v20201111/examples.json +++ b/tccli/services/ess/v20201111/examples.json @@ -244,6 +244,14 @@ "title": "获取合同详情嵌入Web链接失败,是因为对应的签署流程不存在。" } ], + "CreateEmployeeQualificationSealQrCode": [ + { + "document": "企业需要员工授权执业章使用权限给企业时,调用接口产生二维码", + "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateEmployeeQualificationSealQrCode\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDxVwUyKQWho8CUuO4zjEyQOAgwvr4Zy\"\n },\n \"HintText\": \"请授权执业章\"\n}", + "output": "{\n \"Response\": {\n \"QrcodeBase64\": \"/9ji1/Z**************/2Q==\",\n \"RequestId\": \"s1720524882444991481\"\n }\n}", + "title": "生成员工执业章授权二维码" + } + ], "CreateExtendedServiceAuthInfos": [ { "document": "集团主企业代子企业操作", @@ -444,6 +452,12 @@ "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateFlowByFiles\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"19561039c99fe825a934a132520fde6a\"\n },\n \"FlowName\": \"标书文件合同示例\",\n \"FlowType\": \"示例合同\",\n \"Approvers\": [\n {\n \"ApproverType\": 0,\n \"OrganizationName\": \"典子谦示例企业\",\n \"ApproverName\": \"典子谦\",\n \"ApproverMobile\": \"13200000000\",\n \"SignComponents\": [\n {\n \"ComponentPosY\": 360,\n \"ComponentWidth\": 100,\n \"FileIndex\": 0,\n \"ComponentType\": \"SIGN_SEAL\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 60,\n \"ComponentHeight\": 100,\n \"ComponentExtra\": \"{\\\"PageRanges\\\":[{\\\"BeginPage\\\":1,\\\"EndPage\\\":-1}]}\"\n }\n ]\n },\n {\n \"ApproverType\": 1,\n \"ApproverName\": \"张三\",\n \"ApproverMobile\": \"18888888888\",\n \"SignComponents\": [\n {\n \"ComponentPosY\": 260,\n \"ComponentWidth\": 100,\n \"FileIndex\": 0,\n \"ComponentType\": \"SIGN_SIGNATURE\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 160,\n \"ComponentHeight\": 100\n }\n ]\n }\n ],\n \"FileIds\": [\n \"yDR4yUUgyg1qqlj7UuO4zjES3G9Shoxk\"\n ]\n}", "output": "{\n \"Response\": {\n \"FlowId\": \"yDwFkUUckpstin4sUuZjBEY5Ia2XB7sz\",\n \"PreviewUrl\": \"\",\n \"RequestId\": \"s1665674603446404796\"\n }\n}", "title": "标书场景下,需要创建一份本方企业和个人签署的标书文件,要求本方企业的印章控件需要在每一页都进行盖章。" + }, + { + "document": "1.通过PDF文件发起合同\n2.指定B端签署方为企业【典子谦示例企业】,经办人为【何规】\n3.指定C端签署方为个人【张三】\n4.水印控件通过外层 参数 Components 传递,ComponentType 设置为 WATERMARK,设置\"ComponentExtra\": \"{\\\"Font\\\":\\\"黑体\\\",\\\"FontSize\\\":20,\\\"Opacity\\\":0.1,\\\"Density\\\":2,\\\"SubType\\\":\\\"CUSTOM_WATERMARK\\\"}\",ComponentValue 为自定义水印的内容\n", + "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateFlowByFiles\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDxbTUyKQWPt5NUuO4zjEuyFAyOX3v9C\"\n },\n \"FlowName\": \"文件发起B2C-自定义水印内容\",\n \"Components\": [\n {\n \"ComponentType\": \"WATERMARK\",\n \"ComponentName\": \"合同水印\",\n \"ComponentExtra\": \"{\\\"Font\\\":\\\"黑体\\\",\\\"FontSize\\\":20,\\\"Opacity\\\":0.1,\\\"Density\\\":2,\\\"SubType\\\":\\\"CUSTOM_WATERMARK\\\"}\",\n \"ComponentValue\": \"自定义水印内容\",\n \"ComponentPage\": 0,\n \"ComponentWidth\": 0,\n \"ComponentHeight\": 0,\n \"ComponentPosX\": 0,\n \"ComponentPosY\": 0,\n \"FileIndex\": 0\n }\n ],\n \"Approvers\": [\n {\n \"ApproverType\": 0,\n \"OrganizationName\": \"典子谦示例企业\",\n \"ApproverName\": \"何规\",\n \"ApproverMobile\": \"18200000000\",\n \"NotifyType\": \"NONE\",\n \"SignComponents\": [\n {\n \"ComponentHeight\": 119,\n \"ComponentPage\": 7,\n \"ComponentPosX\": 143.59375,\n \"ComponentPosY\": 169.0625,\n \"ComponentType\": \"SIGN_SEAL\",\n \"ComponentWidth\": 119,\n \"FileIndex\": 0\n }\n ],\n \"Components\": [\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"RecipientInfoType\\\":\\\"BUSI-CREDIT-CODE\\\",\\\"FontColor\\\":\\\"0,82,217\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 205,\n \"ComponentPosY\": 114,\n \"ComponentRequired\": true,\n \"ComponentType\": \"TEXT\",\n \"ComponentWidth\": 339,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"RecipientInfoType\\\":\\\"BUSI-CREDIT-CODE\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 234,\n \"ComponentPosY\": 142,\n \"ComponentRequired\": true,\n \"ComponentType\": \"TEXT\",\n \"ComponentWidth\": 302,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"RecipientInfoType\\\":\\\"BUSI-LEGAL-NAME\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 191.09,\n \"ComponentPosY\": 172,\n \"ComponentRequired\": true,\n \"ComponentType\": \"TEXT\",\n \"ComponentWidth\": 335,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"SubType\\\":\\\"LOCATION\\\"}\",\n \"ComponentHeight\": 21,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 155,\n \"ComponentPosY\": 205,\n \"ComponentRequired\": true,\n \"ComponentType\": \"MULTI_LINE_TEXT\",\n \"ComponentWidth\": 366,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"RecipientInfoType\\\":\\\"PERSONAL-NAME\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 107,\n \"ComponentPosY\": 236,\n \"ComponentRequired\": true,\n \"ComponentType\": \"TEXT\",\n \"ComponentWidth\": 339,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"RecipientInfoType\\\":\\\"PERSONAL-MOBILE\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 121,\n \"ComponentPosY\": 265,\n \"ComponentRequired\": true,\n \"ComponentType\": \"TEXT\",\n \"ComponentWidth\": 327,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 35.09,\n \"ComponentPosY\": 293,\n \"ComponentRequired\": true,\n \"ComponentType\": \"DISTRICT\",\n \"ComponentWidth\": 306,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\"}\",\n \"ComponentHeight\": 44,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 44,\n \"ComponentPosY\": 652,\n \"ComponentType\": \"MULTI_LINE_TEXT\",\n \"ComponentWidth\": 505,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"ManualFill\\\":true}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 2,\n \"ComponentPosX\": 145,\n \"ComponentPosY\": 68,\n \"ComponentRequired\": true,\n \"ComponentType\": \"DATE\",\n \"ComponentWidth\": 116,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"ManualFill\\\":true}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 2,\n \"ComponentPosX\": 130.09375,\n \"ComponentPosY\": 555.09375,\n \"ComponentType\": \"DATE\",\n \"ComponentWidth\": 116,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"SubType\\\":\\\"LOCATION\\\"}\",\n \"ComponentHeight\": 27,\n \"ComponentPage\": 2,\n \"ComponentPosX\": 134.09,\n \"ComponentPosY\": 628.09,\n \"ComponentType\": \"MULTI_LINE_TEXT\",\n \"ComponentWidth\": 398,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{}\",\n \"ComponentHeight\": 16,\n \"ComponentPage\": 7,\n \"ComponentPosX\": 83.09375,\n \"ComponentPosY\": 96.5625,\n \"ComponentType\": \"CHECK_BOX\",\n \"ComponentWidth\": 16,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FillMethod\\\":0,\\\"NotMakeImageCenter\\\":true}\",\n \"ComponentHeight\": 119,\n \"ComponentPage\": 7,\n \"ComponentPosX\": 13,\n \"ComponentPosY\": 394,\n \"ComponentType\": \"FILL_IMAGE\",\n \"ComponentWidth\": 119,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"LimitCount\\\":3,\\\"AttachmentType\\\":\\\"IMG\\\"}\",\n \"ComponentHeight\": 42,\n \"ComponentPage\": 7,\n \"ComponentPosX\": 12,\n \"ComponentPosY\": 537,\n \"ComponentRequired\": true,\n \"ComponentType\": \"ATTACHMENT\",\n \"ComponentWidth\": 240,\n \"FileIndex\": 0\n }\n ]\n },\n {\n \"ApproverType\": 1,\n \"ApproverName\": \"张三\",\n \"ApproverMobile\": \"18700000000\",\n \"NotifyType\": \"NONE\",\n \"SignComponents\": [\n {\n \"ComponentHeight\": 43,\n \"ComponentPage\": 7,\n \"ComponentPosX\": 433.59375,\n \"ComponentPosY\": 196.0625,\n \"ComponentType\": \"SIGN_SIGNATURE\",\n \"ComponentWidth\": 119,\n \"FileIndex\": 0\n }\n ],\n \"Components\": [\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"RecipientInfoType\\\":\\\"PERSONAL-NAME\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 199,\n \"ComponentPosY\": 323,\n \"ComponentRequired\": true,\n \"ComponentType\": \"TEXT\",\n \"ComponentWidth\": 309,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"SubType\\\":\\\"LOCATION\\\"}\",\n \"ComponentHeight\": 24,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 155,\n \"ComponentPosY\": 386,\n \"ComponentRequired\": true,\n \"ComponentType\": \"MULTI_LINE_TEXT\",\n \"ComponentWidth\": 390,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 114.09,\n \"ComponentPosY\": 416,\n \"ComponentRequired\": true,\n \"ComponentType\": \"TEXT\",\n \"ComponentWidth\": 299,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"RecipientInfoType\\\":\\\"PERSONAL-MOBILE\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentPage\": 1,\n \"ComponentPosX\": 115.09,\n \"ComponentPosY\": 445,\n \"ComponentRequired\": true,\n \"ComponentType\": \"TEXT\",\n \"ComponentWidth\": 367,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"SubType\\\":\\\"EDUCATION\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentId\": \"ComponentId_30\",\n \"ComponentName\": \"学历\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 8.09375,\n \"ComponentPosY\": 473,\n \"ComponentRequired\": true,\n \"ComponentType\": \"SELECTOR\",\n \"ComponentWidth\": 84,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"FontSize\\\":12,\\\"FontAlign\\\":\\\"Left\\\",\\\"Font\\\":\\\"黑体\\\",\\\"SubType\\\":\\\"EMAIL\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentId\": \"ComponentId_28\",\n \"ComponentName\": \"邮箱\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 117.09375,\n \"ComponentPosY\": 474,\n \"ComponentType\": \"TEXT\",\n \"ComponentWidth\": 292,\n \"FileIndex\": 0\n },\n {\n \"ComponentExtra\": \"{\\\"SubType\\\":\\\"GENDER\\\"}\",\n \"ComponentHeight\": 20,\n \"ComponentId\": \"ComponentId_29\",\n \"ComponentName\": \"性别\",\n \"ComponentPage\": 1,\n \"ComponentPosX\": 424.09375,\n \"ComponentPosY\": 472,\n \"ComponentRequired\": true,\n \"ComponentType\": \"SELECTOR\",\n \"ComponentWidth\": 84,\n \"FileIndex\": 0\n }\n ]\n }\n ],\n \"FileIds\": [\n \"yDCWqUUckpve5id3U4f5EL77tlNh6zTZ\"\n ]\n}", + "output": "{\n \"Response\": {\n \"Approvers\": [\n {\n \"ApproverRoleName\": \"\",\n \"RecipientId\": \"yDCVsUUckpwri2v6U9JHnkxcJrDXddLQ\",\n \"SignId\": \"yDCVsUUckpwri3vwU9JHnky9uvwe3h25\"\n },\n {\n \"ApproverRoleName\": \"\",\n \"RecipientId\": \"yDCVsUUckpwri2vbU9JHnkSdZKiAyEs3\",\n \"SignId\": \"yDCVsUUckpwri2vvU9JHnkvaHtOttw1h\"\n }\n ],\n \"FlowId\": \"yDCVsUUckpwri3vyU9JHnkBDqTFanBa3\",\n \"PreviewUrl\": \"\",\n \"RequestId\": \"s1709793654575755487\"\n }\n}", + "title": "文件发起B2C合同,发起方设置合同水印(自定义水印内容)" } ], "CreateFlowEvidenceReport": [ diff --git a/tccli/services/essbasic/essbasic_client.py b/tccli/services/essbasic/essbasic_client.py index ba942c7f17..ffd3f7acb9 100644 --- a/tccli/services/essbasic/essbasic_client.py +++ b/tccli/services/essbasic/essbasic_client.py @@ -2515,6 +2515,58 @@ def doPrepareFlows(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) +def doModifySeal(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.EssbasicClient(cred, g_param[OptionsDefine.Region], profile) + client._sdkVersion += ("_CLI_" + __version__) + models = MODELS_MAP[g_param[OptionsDefine.Version]] + model = models.ModifySealRequest() + model.from_json_string(json.dumps(args)) + start_time = time.time() + while True: + rsp = client.ModifySeal(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 doChannelDescribeRoles(args, parsed_globals): g_param = parse_global_arg(parsed_globals) @@ -3399,7 +3451,7 @@ def doCreateBatchOrganizationRegistrationTasks(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doModifySeal(args, parsed_globals): +def doCreateEmployeeQualificationSealQrCode(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -3428,11 +3480,11 @@ def doModifySeal(args, parsed_globals): client = mod.EssbasicClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.ModifySealRequest() + model = models.CreateEmployeeQualificationSealQrCodeRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.ModifySeal(model) + rsp = client.CreateEmployeeQualificationSealQrCode(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -6684,6 +6736,7 @@ def doCreateServerFlowSign(args, parsed_globals): "DescribeExtendedServiceAuthDetail": doDescribeExtendedServiceAuthDetail, "GenerateUserSeal": doGenerateUserSeal, "PrepareFlows": doPrepareFlows, + "ModifySeal": doModifySeal, "ChannelDescribeRoles": doChannelDescribeRoles, "DescribeResourceUrlsByFlows": doDescribeResourceUrlsByFlows, "DescribeChannelOrganizations": doDescribeChannelOrganizations, @@ -6701,7 +6754,7 @@ def doCreateServerFlowSign(args, parsed_globals): "ChannelCreateBatchQuickSignUrl": doChannelCreateBatchQuickSignUrl, "ChannelDisableUserAutoSign": doChannelDisableUserAutoSign, "CreateBatchOrganizationRegistrationTasks": doCreateBatchOrganizationRegistrationTasks, - "ModifySeal": doModifySeal, + "CreateEmployeeQualificationSealQrCode": doCreateEmployeeQualificationSealQrCode, "DescribeCustomFlowIds": doDescribeCustomFlowIds, "CreateSubOrganizationAndSeal": doCreateSubOrganizationAndSeal, "ChannelGetTaskResultApi": doChannelGetTaskResultApi, diff --git a/tccli/services/essbasic/v20210526/api.json b/tccli/services/essbasic/v20210526/api.json index 1950fb7a48..63c0240c8a 100644 --- a/tccli/services/essbasic/v20210526/api.json +++ b/tccli/services/essbasic/v20210526/api.json @@ -343,6 +343,13 @@ "output": "CreateConsoleLoginUrlResponse", "status": "online" }, + "CreateEmployeeQualificationSealQrCode": { + "document": "该接口用于获取个人授权执业章给企业的二维码,需要个人用户通过微信扫码。扫描后将跳转到腾讯电子签小程序,进入到授权执业章的流程。个人用户授权成功后,企业印章管理员需对印章进行审核,审核通过后,即可使用个人授权的执业章进行盖章操作。\n\n**注意**\n1. 该二维码**有效期为7天**,过期后将失效,可重新创建。", + "input": "CreateEmployeeQualificationSealQrCodeRequest", + "name": "创建个人印章授权给企业使用的授权二维码", + "output": "CreateEmployeeQualificationSealQrCodeResponse", + "status": "online" + }, "CreateFlowBlockchainEvidenceUrl": { "document": "获取区块链存证证书查看链接/二维码接口\n\n适用场景:企业员工可以通过此接口生成合同区块链存证证书的查看链接/二维码,以供他人扫码打开腾讯电子签小程序查看。\n\n[点击查看区块链存证证书样式](https://qcloudimg.tencent-cloud.cn/raw/47d5e9c2ffa90ad4e27b3cd14095aa08.jpg)\n\n注:\n", "input": "CreateFlowBlockchainEvidenceUrlRequest", @@ -4357,7 +4364,7 @@ }, { "disabled": false, - "document": "电子印章类型 , 可选类型如下: \n\n\n注: `为空时查询所有类型的印章。`", + "document": "电子印章类型 , 可选类型如下: 注: `为空时查询所有类型的印章。`", "example": "无", "member": "string", "name": "SealTypes", @@ -6044,7 +6051,7 @@ }, { "disabled": false, - "document": "第三方平台子客的企业名称,请确认该企业名称与企业营业执照中注册的名称完全一致。\n在测试环境联调的过程中,企业名称请使用以下名称 \n**子客测试专用企业1 - 子客测试专用企业9**\n\n注:\n `1. 如果名称中包含英文括号(),请使用中文括号()代替。`\n `2、该名称需要与Agent.ProxyOrganizationOpenId相匹配, 企业激活后Agent.ProxyOrganizationOpenId会跟此企业名称一一绑定; 如果您的企业已经在认证授权中或者激活完成,这里修改子客企业名字将不会生效。 `", + "document": "第三方平台子客的企业名称,请确认该企业名称与企业营业执照中注册的名称完全一致。\n\n在测试环境联调的过程中,企业名称请统一加上“测试”二字,如:典子谦示例企业测试,否则将无法审核通过。\n企业名称请使用以下名称, 以下名称可以不用走收录。\n**子客测试专用企业1 - 子客测试专用企业9**\n\n注:\n `1. 如果名称中包含英文括号(),请使用中文括号()代替。`\n `2、该名称需要与Agent.ProxyOrganizationOpenId相匹配, 企业激活后Agent.ProxyOrganizationOpenId会跟此企业名称一一绑定; 如果您的企业已经在认证授权中或者激活完成,这里修改子客企业名字将不会生效。 `", "example": "典子谦示例企业测试", "member": "string", "name": "ProxyOrganizationName", @@ -6213,6 +6220,52 @@ ], "type": "object" }, + "CreateEmployeeQualificationSealQrCodeRequest": { + "document": "CreateEmployeeQualificationSealQrCode请求参数结构体", + "members": [ + { + "disabled": false, + "document": "关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。此接口下面信息必填。第三方平台子客企业和员工必须已经经过实名认证", + "example": "无", + "member": "Agent", + "name": "Agent", + "required": true, + "type": "object" + }, + { + "disabled": false, + "document": "提示信息,扫码后此信息会展示给扫描用户,用来提示用户授权操作的目的", + "example": "无", + "member": "string", + "name": "HintText", + "required": false, + "type": "string" + } + ], + "type": "object" + }, + "CreateEmployeeQualificationSealQrCodeResponse": { + "document": "CreateEmployeeQualificationSealQrCode返回参数结构体", + "members": [ + { + "disabled": false, + "document": "二维码图片的Base64 注: `此二维码的有效时间为7天,过期后需要重新生成新的二维码图片`", + "example": "无", + "member": "string", + "name": "QrcodeBase64", + "output_required": false, + "type": "string", + "value_allowed_null": false + }, + { + "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", + "member": "string", + "name": "RequestId", + "type": "string" + } + ], + "type": "object" + }, "CreateFlowBlockchainEvidenceUrlRequest": { "document": "CreateFlowBlockchainEvidenceUrl请求参数结构体", "members": [ @@ -8016,7 +8069,7 @@ "members": [ { "disabled": false, - "document": "扩展服务类型\n", + "document": "扩展服务类型\n", "example": "AUTO_SIGN", "member": "string", "name": "Type", diff --git a/tccli/services/essbasic/v20210526/examples.json b/tccli/services/essbasic/v20210526/examples.json index 27dd7522cc..729679d518 100644 --- a/tccli/services/essbasic/v20210526/examples.json +++ b/tccli/services/essbasic/v20210526/examples.json @@ -746,6 +746,14 @@ "title": "生成到模板详情的控制台链接" } ], + "CreateEmployeeQualificationSealQrCode": [ + { + "document": "企业需要员工授权执业章使用权限给企业时,调用接口产生二维码", + "input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateEmployeeQualificationSealQrCode\n<公共请求参数>\n\n{\n \"Agent\": {\n \"AppId\": \"yDwfwUUgygormhg1UuS2eARxjMT0mxAw\",\n \"ProxyOrganizationOpenId\": \"org_zhangsan\",\n \"ProxyOperator\": {\n \"OpenId\": \"n02468\"\n }\n },\n \"HintText\": \"我是提示文字\"\n}", + "output": "{\n \"Response\": {\n \"QrcodeBase64\": \"/9ji1/Z**************/2Q==\",\n \"RequestId\": \"s1720524882444991481\"\n }\n}", + "title": "生成员工执业章授权二维码" + } + ], "CreateFlowBlockchainEvidenceUrl": [ { "document": "拥有访问权限的员工生成合同区块链存证证书查看二维码/链接", diff --git a/tccli/services/gaap/gaap_client.py b/tccli/services/gaap/gaap_client.py index 15628291e3..003545a586 100644 --- a/tccli/services/gaap/gaap_client.py +++ b/tccli/services/gaap/gaap_client.py @@ -3761,6 +3761,58 @@ def doDescribeFirstLinkSession(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) +def doDescribeTaskStatus(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.GaapClient(cred, g_param[OptionsDefine.Region], profile) + client._sdkVersion += ("_CLI_" + __version__) + models = MODELS_MAP[g_param[OptionsDefine.Version]] + model = models.DescribeTaskStatusRequest() + model.from_json_string(json.dumps(args)) + start_time = time.time() + while True: + rsp = client.DescribeTaskStatus(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 doAddRealServers(args, parsed_globals): g_param = parse_global_arg(parsed_globals) @@ -5508,6 +5560,7 @@ def doDescribeResourcesByTag(args, parsed_globals): "CreateDomain": doCreateDomain, "DescribeCertificateDetail": doDescribeCertificateDetail, "DescribeFirstLinkSession": doDescribeFirstLinkSession, + "DescribeTaskStatus": doDescribeTaskStatus, "AddRealServers": doAddRealServers, "DisableGlobalDomain": doDisableGlobalDomain, "DescribeRegionAndPrice": doDescribeRegionAndPrice, diff --git a/tccli/services/gaap/v20180529/api.json b/tccli/services/gaap/v20180529/api.json index e1e37bb41f..8f40f6efc5 100644 --- a/tccli/services/gaap/v20180529/api.json +++ b/tccli/services/gaap/v20180529/api.json @@ -532,6 +532,13 @@ "output": "DescribeTCPListenersResponse", "status": "online" }, + "DescribeTaskStatus": { + "document": "查询异步任务执行状态", + "input": "DescribeTaskStatusRequest", + "name": "查询异步任务状态", + "output": "DescribeTaskStatusResponse", + "status": "online" + }, "DescribeUDPListeners": { "document": "该接口(DescribeUDPListeners)用于查询单通道或者通道组下的UDP监听器信息", "input": "DescribeUDPListenersRequest", @@ -6213,6 +6220,23 @@ ], "type": "object" }, + "DescribeTaskStatusRequest": { + "document": "DescribeTaskStatus请求参数结构体", + "members": [], + "type": "object" + }, + "DescribeTaskStatusResponse": { + "document": "DescribeTaskStatus返回参数结构体", + "members": [ + { + "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", + "member": "string", + "name": "RequestId", + "type": "string" + } + ], + "type": "object" + }, "DescribeUDPListenersRequest": { "document": "DescribeUDPListeners请求参数结构体", "members": [ diff --git a/tccli/services/gaap/v20180529/examples.json b/tccli/services/gaap/v20180529/examples.json index e5f8ca6514..816a59dfeb 100644 --- a/tccli/services/gaap/v20180529/examples.json +++ b/tccli/services/gaap/v20180529/examples.json @@ -656,6 +656,14 @@ "title": "查询TCP监听器列表" } ], + "DescribeTaskStatus": [ + { + "document": "查询异步任务执行状态", + "input": "POST / HTTP/1.1\nHost: gaap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTaskStatus\n<公共请求参数>\n\n{}", + "output": "{\n \"Response\": {\n \"RequestId\": \"766d83c7-c0b1-4973-bdf3-effeeffa34d7\"\n }\n}", + "title": "查询异步任务执行状态" + } + ], "DescribeUDPListeners": [ { "document": "查询UDP监听器列表", diff --git a/tccli/services/live/v20180801/api.json b/tccli/services/live/v20180801/api.json index bc0692e466..7799103541 100644 --- a/tccli/services/live/v20180801/api.json +++ b/tccli/services/live/v20180801/api.json @@ -7136,6 +7136,7 @@ "example": "无", "member": "PullStreamTaskInfo", "name": "TaskInfos", + "output_required": true, "type": "list", "value_allowed_null": false }, @@ -7145,6 +7146,7 @@ "example": "1", "member": "uint64", "name": "PageNum", + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -7154,6 +7156,7 @@ "example": "10", "member": "uint64", "name": "PageSize", + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -7163,6 +7166,7 @@ "example": "1", "member": "uint64", "name": "TotalNum", + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -7172,6 +7176,7 @@ "example": "1", "member": "uint64", "name": "TotalPage", + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -7181,6 +7186,7 @@ "example": "20", "member": "uint64", "name": "LimitTaskNum", + "output_required": true, "type": "int", "value_allowed_null": false }, diff --git a/tccli/services/live/v20180801/examples.json b/tccli/services/live/v20180801/examples.json index c556e4267d..9bdf56dcb0 100644 --- a/tccli/services/live/v20180801/examples.json +++ b/tccli/services/live/v20180801/examples.json @@ -636,7 +636,7 @@ { "document": "查询直播拉流任务。", "input": "POST / HTTP/1.1\nHost: live.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLivePullStreamTasks\n<公共请求参数>\n\n{\n \"TaskId\": \"123\"\n}", - "output": "{\n \"Response\": {\n \"TaskInfos\": [\n {\n \"AppName\": \"live\",\n \"Region\": \"ap-beijing\",\n \"CallbackInfo\": \"\",\n \"CallbackEvents\": [\n \"TaskStart\",\n \"TaskExit\"\n ],\n \"CallbackUrl\": \"\",\n \"CreateBy\": \"yourname\",\n \"DomainName\": \"yourdomain.com\",\n \"EndTime\": \"2020-04-25T00:30:00Z\",\n \"ErrorInfo\": \"\",\n \"PushArgs\": \"txsecret=7cbb8f382a21e8d2f6cd8098100d3b8e&txtime=5ea0450d\",\n \"SourceType\": \"PullLivePushLive\",\n \"SourceUrls\": [\n \"http://yourdomain/live/test.flv\"\n ],\n \"StartTime\": \"2020-04-20T00:30:00Z\",\n \"Status\": \"enable\",\n \"StreamName\": \"teststream\",\n \"Comment\": \"abc\",\n \"TaskId\": \"10054\",\n \"UpdateBy\": \"\",\n \"UpdateTime\": \"2020-04-23T05:07:43Z\",\n \"CreateTime\": \"2020-04-20T05:07:43Z\",\n \"VodLoopTimes\": -1,\n \"VodRefreshType\": \"ImmediateNewSource\",\n \"VodLocalMode\": 0,\n \"BackupSourceType\": \"\",\n \"BackupSourceUrl\": \"\",\n \"WatermarkList\": [],\n \"RecentPullInfo\": {\n \"FileUrl\": \"http://yourdomain/live/test.flv\",\n \"OffsetTime\": 95,\n \"LoopedTimes\": 0,\n \"ReportTime\": \"2020-04-23T08:20:39Z\"\n }\n }\n ],\n \"PageNum\": 1,\n \"PageSize\": 10,\n \"TotalNum\": 1,\n \"TotalPage\": 1,\n \"LimitTaskNum\": 20,\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}", + "output": "{\n \"Response\": {\n \"TaskInfos\": [\n {\n \"AppName\": \"live\",\n \"Region\": \"ap-beijing\",\n \"CallbackInfo\": \"\",\n \"CallbackEvents\": [\n \"TaskStart\",\n \"TaskExit\"\n ],\n \"CallbackUrl\": \"\",\n \"CreateBy\": \"yourname\",\n \"DomainName\": \"yourdomain.com\",\n \"EndTime\": \"2020-04-25T00:30:00Z\",\n \"ErrorInfo\": \"\",\n \"BackupToUrl\": \"\",\n \"RecordTemplateId\": \"\",\n \"PushArgs\": \"txsecret=7cbb8f382a21e8d2f6cd8098100d3b8e&txtime=5ea0450d\",\n \"SourceType\": \"PullLivePushLive\",\n \"SourceUrls\": [\n \"http://yourdomain/live/test.flv\"\n ],\n \"StartTime\": \"2020-04-20T00:30:00Z\",\n \"Status\": \"enable\",\n \"StreamName\": \"teststream\",\n \"Comment\": \"abc\",\n \"TaskId\": \"10054\",\n \"UpdateBy\": \"\",\n \"UpdateTime\": \"2020-04-23T05:07:43Z\",\n \"CreateTime\": \"2020-04-20T05:07:43Z\",\n \"VodLoopTimes\": -1,\n \"VodRefreshType\": \"ImmediateNewSource\",\n \"VodLocalMode\": 0,\n \"BackupSourceType\": \"\",\n \"BackupSourceUrl\": \"\",\n \"WatermarkList\": [],\n \"RecentPullInfo\": {\n \"FileUrl\": \"http://yourdomain/live/test.flv\",\n \"OffsetTime\": 95,\n \"LoopedTimes\": 0,\n \"ReportTime\": \"2020-04-23T08:20:39Z\"\n }\n }\n ],\n \"PageNum\": 1,\n \"PageSize\": 10,\n \"TotalNum\": 1,\n \"TotalPage\": 1,\n \"LimitTaskNum\": 20,\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}", "title": "请求示例" } ], diff --git a/tccli/services/mariadb/mariadb_client.py b/tccli/services/mariadb/mariadb_client.py index dda8733f75..c42f8f1b07 100644 --- a/tccli/services/mariadb/mariadb_client.py +++ b/tccli/services/mariadb/mariadb_client.py @@ -3293,6 +3293,58 @@ def doDescribePrice(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) +def doUpgradeHourDBInstance(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.MariadbClient(cred, g_param[OptionsDefine.Region], profile) + client._sdkVersion += ("_CLI_" + __version__) + models = MODELS_MAP[g_param[OptionsDefine.Version]] + model = models.UpgradeHourDBInstanceRequest() + model.from_json_string(json.dumps(args)) + start_time = time.time() + while True: + rsp = client.UpgradeHourDBInstance(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 doDescribeDatabaseTable(args, parsed_globals): g_param = parse_global_arg(parsed_globals) @@ -3835,6 +3887,7 @@ def doDescribeDBEncryptAttributes(args, parsed_globals): "ModifyInstanceVport": doModifyInstanceVport, "UpgradeDedicatedDBInstance": doUpgradeDedicatedDBInstance, "DescribePrice": doDescribePrice, + "UpgradeHourDBInstance": doUpgradeHourDBInstance, "DescribeDatabaseTable": doDescribeDatabaseTable, "CancelDcnJob": doCancelDcnJob, "TerminateDedicatedDBInstance": doTerminateDedicatedDBInstance, diff --git a/tccli/services/mariadb/v20170312/api.json b/tccli/services/mariadb/v20170312/api.json index bf004d9812..de0e4c9e48 100644 --- a/tccli/services/mariadb/v20170312/api.json +++ b/tccli/services/mariadb/v20170312/api.json @@ -503,6 +503,13 @@ "name": "升级独享云数据库实例", "output": "UpgradeDedicatedDBInstanceResponse", "status": "online" + }, + "UpgradeHourDBInstance": { + "document": "升级MariaDB按量计费实例", + "input": "UpgradeHourDBInstanceRequest", + "name": "升级MariaDB按量计费实例", + "output": "UpgradeHourDBInstanceResponse", + "status": "online" } }, "metadata": { @@ -8578,6 +8585,87 @@ ], "type": "object" }, + "UpgradeHourDBInstanceRequest": { + "document": "UpgradeHourDBInstance请求参数结构体", + "members": [ + { + "disabled": false, + "document": "实例ID", + "example": "tdsql-cq3ndzu7", + "member": "string", + "name": "InstanceId", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "内存大小,单位:GB", + "example": "2", + "member": "int64", + "name": "Memory", + "required": true, + "type": "int" + }, + { + "disabled": false, + "document": "存储大小,单位:GB", + "example": "10", + "member": "int64", + "name": "Storage", + "required": true, + "type": "int" + }, + { + "disabled": false, + "document": "切换开始时间,格式如: \"2019-12-12 07:00:00\"。开始时间必须在当前时间一个小时以后,3天以内。", + "example": "2019-12-12 07:00:00", + "member": "datetime", + "name": "SwitchStartTime", + "required": false, + "type": "string" + }, + { + "disabled": false, + "document": "切换结束时间, 格式如: \"2019-12-12 07:15:00\",结束时间必须大于开始时间。", + "example": "2019-12-12 07:15:00", + "member": "datetime", + "name": "SwitchEndTime", + "required": false, + "type": "string" + }, + { + "disabled": false, + "document": "是否自动重试。 0:不自动重试 1:自动重试", + "example": "1", + "member": "int64", + "name": "SwitchAutoRetry", + "required": false, + "type": "int" + }, + { + "disabled": false, + "document": "变更部署时指定的新可用区列表,第1个为主可用区,其余为从可用区", + "example": "[]", + "member": "string", + "name": "Zones", + "required": false, + "type": "list" + } + ], + "type": "object" + }, + "UpgradeHourDBInstanceResponse": { + "document": "UpgradeHourDBInstance返回参数结构体", + "members": [ + { + "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", + "member": "string", + "name": "RequestId", + "type": "string" + } + ], + "type": "object" + }, "ViewPrivileges": { "document": "视图权限信息", "members": [ diff --git a/tccli/services/mariadb/v20170312/examples.json b/tccli/services/mariadb/v20170312/examples.json index 24d0251c19..414687ea9a 100644 --- a/tccli/services/mariadb/v20170312/examples.json +++ b/tccli/services/mariadb/v20170312/examples.json @@ -575,6 +575,14 @@ "output": "{\n \"Response\": {\n \"RequestId\": \"14f6980a-7fe1-11ea-b896-525400542aa6\",\n \"FlowId\": 1122\n }\n}", "title": "无" } + ], + "UpgradeHourDBInstance": [ + { + "document": "升级MariaDB按量计费实例", + "input": "https://mariadb.tencentcloudapi.com/?Action=UpgradeHourDBInstance\n&InstanceId=tdsql-cq3ndzu7\n&Memory=2\n&Storage=10\n&<公共请求参数>", + "output": "{\n \"Response\": {\n \"RequestId\": \"b3d8965f-5124-451d-be87-499ea75eb3a4\"\n }\n}", + "title": "升级MariaDB按量计费实例" + } ] }, "version": "1.0" diff --git a/tccli/services/mongodb/v20190725/api.json b/tccli/services/mongodb/v20190725/api.json index 2e5055a1f8..a13b179c24 100644 --- a/tccli/services/mongodb/v20190725/api.json +++ b/tccli/services/mongodb/v20190725/api.json @@ -894,7 +894,7 @@ "members": [ { "disabled": false, - "document": "实例内存大小,单位:GB。", + "document": "实例内存大小,单位:GB。具体售卖的内存规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。", "example": "4", "member": "uint64", "name": "Memory", @@ -903,8 +903,8 @@ }, { "disabled": false, - "document": "实例硬盘大小,单位:GB。", - "example": "250", + "document": "实例硬盘大小,单位:GB。每一个 CPU 规格对应的最大磁盘与最小磁盘范围,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。", + "example": "100", "member": "uint64", "name": "Volume", "required": true, @@ -912,7 +912,7 @@ }, { "disabled": false, - "document": "指副本集数量。\n- 创建副本集实例,该参数只能为1。\n- 创建分片实例,指分片的数量。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。", + "document": "- 创建副本集实例,指副本集数量,该参数只能为1。\n- 创建分片集群实例,指分片的数量。请通过接口[DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567)查询分片数量的取值范围,其返回的数据结构SpecItems中的参数MinReplicateSetNum与MaxReplicateSetNum分别对应其最小值与最大值。", "example": "1", "member": "uint64", "name": "ReplicateSetNum", @@ -921,7 +921,7 @@ }, { "disabled": false, - "document": "指每个副本集内节点个数。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。", + "document": "- 创建副本集实例,指每个副本集内主从节点数量。每个副本集所支持的的最大节点数与最小节点数,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。\n- 创建分片集群实例,指每个分片的主从节点数量。每个分片所支持的最大节点数与最小节点数,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。", "example": "2", "member": "uint64", "name": "NodeNum", @@ -930,8 +930,8 @@ }, { "disabled": false, - "document": "指版本信息。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。\n- MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本。\n- MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本。\n- MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。\n- MONGO_44_WT:MongoDB 4.4 WiredTiger存储引擎版本。", - "example": "MONGO_3_WT", + "document": "指版本信息。具体支持的版本信息 ,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。\n- MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本。\n- MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本。\n- MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。\n- MONGO_44_WT:MongoDB 4.4 WiredTiger存储引擎版本。\n- MONGO_50_WT:MongoDB 5.0 WiredTiger存储引擎版本。\n- MONGO_60_WT:MongoDB 6.0 WiredTiger存储引擎版本。", + "example": "MONGO_44_WT", "member": "string", "name": "MongoVersion", "required": true, @@ -939,7 +939,7 @@ }, { "disabled": false, - "document": "机器类型。\n- HIO:高IO型。\n- HIO10G:高IO万兆。", + "document": "产品规格类型。\n- HIO10G:通用高HIO万兆型。\n- HCD:云盘版类型。", "example": "HIO10G", "member": "string", "name": "MachineCode", @@ -1002,7 +1002,7 @@ }, { "disabled": false, - "document": "项目ID。若不设置该参数,则为默认项目。", + "document": "项目ID。\n- 若不设置该参数,则为默认项目。\n- 在 [MongoDB 控制台项目管理](https://console.cloud.tencent.com/project)页面,可获取项目ID。", "example": "无", "member": "int64", "name": "ProjectId", @@ -1020,7 +1020,7 @@ }, { "disabled": false, - "document": "实例类型。\n- 1:正式实例。\n- 3:只读实例。\n- 4:灾备实例。", + "document": "实例类型。- 1:正式实例。- 3:只读实例。- 4:灾备实例。-5:克隆实例,注意:克隆实例RestoreTime为必填项。", "example": "1", "member": "int64", "name": "Clone", @@ -1038,7 +1038,7 @@ }, { "disabled": false, - "document": "安全组。", + "document": "安全组 ID。", "example": "无", "member": "string", "name": "SecurityGroup", @@ -1065,7 +1065,7 @@ }, { "disabled": false, - "document": "多可用区部署的节点列表。具体信息,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567)获取。\n- 多可用区部署节点只能部署在3个不同可用区。不支持将集群的大多数节点部署在同一个可用区。例如:3节点集群不支持2个节点部署在同一个区。\n- 不支持4.2及以上版本。\n- 不支持只读灾备实例。\n- 不能选择基础网络。", + "document": "若多可用区部署云数据库实例,指定多可用区列表。\n- 多可用区部署实例,参数 **Zone** 指定实例主可用区信息;**AvailabilityZoneList** 指定所有可用区信息,包含主可用区。输入格式如:[ap-guangzhou-2,ap-guangzhou-3,ap-guangzhou-4]。\n- 通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 可获取云数据库不同地域规划的可用区信息,以便指定有效的可用区。\n- 多可用区部署节点只能部署在3个不同可用区。不支持将集群的大多数节点部署在同一个可用区。例如:3节点集群不支持2个节点部署在同一个区。\n", "example": "无", "member": "string", "name": "AvailabilityZoneList", @@ -1074,7 +1074,7 @@ }, { "disabled": false, - "document": "Mongos CPU 核数。购买分片集群时,必须填写。\n", + "document": "Mongos CPU 核数,支持1、2、4、8、16。购买分片集群时,必须填写。\n", "example": "无", "member": "uint64", "name": "MongosCpu", @@ -1083,7 +1083,7 @@ }, { "disabled": false, - "document": "Mongos 内存大小。购买分片集群时,必须填写。\n\n", + "document": "Mongos 内存大小。\n- 购买分片集群时,必须填写。\n- 单位:GB,支持1核2GB、2核4GB、4核8GB、8核16GB、16核32GB。\n\n", "example": "无", "member": "uint64", "name": "MongosMemory", @@ -1092,7 +1092,7 @@ }, { "disabled": false, - "document": "Mongos 数量。购买分片集群时,必须填写。\n\n", + "document": "Mongos 数量。购买分片集群时,必须填写。\n- 单可用区部署实例,其数量范围为[3,32]。\n- 多可用区部署实例,其数量范围为[6,32]。", "example": "无", "member": "uint64", "name": "MongosNodeNum", @@ -1101,7 +1101,7 @@ }, { "disabled": false, - "document": "只读节点数量,最大不超过7个。", + "document": "只读节点数量,取值范围[0,5]。", "example": "无", "member": "uint64", "name": "ReadonlyNodeNum", @@ -1110,7 +1110,7 @@ }, { "disabled": false, - "document": "指只读节点所属可用区。跨可用区部署实例,参数**ReadonlyNodeNum**不为**0**时,必须配置该参数。", + "document": "指只读节点所属可用区数组。跨可用区部署实例,参数**ReadonlyNodeNum**不为**0**时,必须配置该参数。", "example": "无", "member": "string", "name": "ReadonlyNodeAvailabilityZoneList", @@ -1166,7 +1166,7 @@ "members": [ { "disabled": false, - "document": "指每个副本集内节点个数。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。", + "document": "- 创建副本集实例,指每个副本集内主从节点数量。每个副本集所支持的的最大节点数与最小节点数,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。\n- 创建分片集群实例,指每个分片的主从节点数量。每个分片所支持的最大节点数与最小节点数,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。", "example": "3", "member": "uint64", "name": "NodeNum", @@ -1175,7 +1175,7 @@ }, { "disabled": false, - "document": "实例内存大小,单位:GB。", + "document": "实例内存大小,单位:GB。具体售卖的内存规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。", "example": "4", "member": "uint64", "name": "Memory", @@ -1184,8 +1184,8 @@ }, { "disabled": false, - "document": "实例硬盘大小,单位:GB。", - "example": "250", + "document": "实例硬盘大小,单位:GB。每一个 CPU 规格对应的最大磁盘与最小磁盘范围,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。", + "example": "100", "member": "uint64", "name": "Volume", "required": true, @@ -1193,8 +1193,8 @@ }, { "disabled": false, - "document": "指版本信息。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。\n- MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本。\n- MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本。\n- MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。\n- MONGO_44_WT:MongoDB 4.4 WiredTiger存储引擎版本。", - "example": "MONGO_3_WT", + "document": "指版本信息。具体支持的版本信息 ,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。\n- MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本。\n- MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本。\n- MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。\n- MONGO_44_WT:MongoDB 4.4 WiredTiger存储引擎版本。\n- MONGO_50_WT:MongoDB 5.0 WiredTiger存储引擎版本。\n- MONGO_60_WT:MongoDB 6.0 WiredTiger存储引擎版本。", + "example": "MONGO_44_WT", "member": "string", "name": "MongoVersion", "required": true, @@ -1220,7 +1220,7 @@ }, { "disabled": false, - "document": "实例时长,单位:月,可选值包括 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。", + "document": "指定购买实例的购买时长。取值可选:[1,2,3,4,5,6,7,8,9,10,11,12,24,36];单位:月。\n", "example": "1", "member": "uint64", "name": "Period", @@ -1229,7 +1229,7 @@ }, { "disabled": false, - "document": "机器类型。\n- HIO:高IO型。\n- HIO10G:高IO万兆。", + "document": "产品规格类型。\n- HIO10G:通用高HIO万兆型。\n- HCD:云盘版类型。", "example": "HIO10G", "member": "string", "name": "MachineCode", @@ -1247,7 +1247,7 @@ }, { "disabled": false, - "document": "指副本集数量。\n- 创建副本集实例,该参数只能为1。\n- 创建分片实例,指分片的数量。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。", + "document": "- 创建副本集实例,指副本集数量,该参数只能为1。\n- 创建分片集群实例,指分片的数量。请通过接口[DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567)查询分片数量的取值范围,其返回的数据结构SpecItems中的参数MinReplicateSetNum与MaxReplicateSetNum分别对应其最小值与最大值。", "example": "1", "member": "uint64", "name": "ReplicateSetNum", @@ -1256,7 +1256,7 @@ }, { "disabled": false, - "document": "项目ID。若不设置该参数,则为默认项目。", + "document": "项目ID。\n- 若不设置该参数,则为默认项目。\n- 在 [MongoDB 控制台项目管理](https://console.cloud.tencent.com/project)页面,可获取项目ID。", "example": "0", "member": "int64", "name": "ProjectId", @@ -1301,7 +1301,7 @@ }, { "disabled": false, - "document": "自动续费标记。\n- 0:不自动续费。默认为不自动续费。\n- 1:自动续费。", + "document": "自动续费标记。\n- 0:不自动续费。\n- 1:自动续费。", "example": "1", "member": "uint64", "name": "AutoRenewFlag", @@ -1319,7 +1319,7 @@ }, { "disabled": false, - "document": "实例类型。\n- 1:正式实例。\n- 3:只读实例。\n- 4:灾备实例。", + "document": "实例类型。- 1:正式实例。- 3:只读实例。- 4:灾备实例。-5:整实例克隆,注意:克隆实例时,RestoreTime为必填项。", "example": "1", "member": "int64", "name": "Clone", @@ -1337,7 +1337,7 @@ }, { "disabled": false, - "document": "安全组。", + "document": "安全组 ID。 ", "example": "无", "member": "string", "name": "SecurityGroup", @@ -1346,7 +1346,7 @@ }, { "disabled": false, - "document": "克隆实例回档时间。\n- 若为克隆实例,则必须配置该参数。输入格式示例:2021-08-13 16:30:00。\n- 回档时间范围:仅能回档7天内时间点的数据。", + "document": "克隆实例回档时间,当Clone取值为5或6时为必填。- 若为克隆实例,则必须配置该参数。输入格式示例:2021-08-13 16:30:00。- 回档时间范围:仅能回档7天内时间点的数据。", "example": "无", "member": "string", "name": "RestoreTime", @@ -1373,7 +1373,7 @@ }, { "disabled": false, - "document": "Mongos CPU 核数,购买MongoDB 4.2 及以上WiredTiger存储引擎版本的分片集群时,必须填写。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。", + "document": "Mongos CPU 核数,支持1、2、4、8、16。购买分片集群时,必须填写。", "example": "无", "member": "uint64", "name": "MongosCpu", @@ -1382,7 +1382,7 @@ }, { "disabled": false, - "document": "Mongos 内存大小。购买MongoDB 4.2 及以上WiredTiger存储引擎版本的分片集群时,必须填写。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。", + "document": "Mongos 内存大小。\n- 购买分片集群时,必须填写。\n- 单位:GB,支持1核2GB、2核4GB、4核8GB、8核16GB、16核32GB。", "example": "无", "member": "uint64", "name": "MongosMemory", @@ -1391,7 +1391,7 @@ }, { "disabled": false, - "document": "Mongos 数量。购买MongoDB 4.2 及以上WiredTiger存储引擎版本的分片集群时,必须填写。具体售卖规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。为了保障高可用,取值范围为[3,32]。", + "document": "Mongos 数量。购买分片集群时,必须填写。\n- 单可用区部署实例,其数量范围为[3,32]。\n- 多可用区部署实例,其数量范围为[6,32]。", "example": "无", "member": "uint64", "name": "MongosNodeNum", @@ -1409,7 +1409,7 @@ }, { "disabled": false, - "document": "指只读节点所属可用区。跨可用区部署实例,参数**ReadonlyNodeNum**不为**0**时,必须配置该参数。", + "document": "指只读节点所属可用区数组。跨可用区部署实例,参数**ReadonlyNodeNum**不为**0**时,必须配置该参数。", "example": "无", "member": "string", "name": "ReadonlyNodeAvailabilityZoneList", diff --git a/tccli/services/monitor/v20180724/api.json b/tccli/services/monitor/v20180724/api.json index aed918bda2..18dbc184d7 100644 --- a/tccli/services/monitor/v20180724/api.json +++ b/tccli/services/monitor/v20180724/api.json @@ -4552,7 +4552,7 @@ }, { "disabled": false, - "document": "数据存储时间(单位天),限制值为15,30,45之一", + "document": "数据存储时间(单位天),限制值为15, 30, 45, 90, 180, 365, 730之一", "example": "30", "member": "int64", "name": "DataRetentionTime", diff --git a/tccli/services/oceanus/v20190422/api.json b/tccli/services/oceanus/v20190422/api.json index 0f40fb3aeb..0d5a2b88fa 100644 --- a/tccli/services/oceanus/v20190422/api.json +++ b/tccli/services/oceanus/v20190422/api.json @@ -4680,6 +4680,16 @@ "output_required": false, "type": "string", "value_allowed_null": true + }, + { + "disabled": false, + "document": "flink 版本\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "Flink-1.13", + "member": "string", + "name": "FlinkVersion", + "output_required": false, + "type": "string", + "value_allowed_null": true } ], "usage": "out" @@ -6735,6 +6745,7 @@ "example": "ssgA", "member": "string", "name": "Name", + "output_required": true, "required": true, "type": "string", "value_allowed_null": true @@ -6745,6 +6756,7 @@ "example": "[]", "member": "SlotSharingGroupSpec", "name": "Spec", + "output_required": true, "required": true, "type": "object", "value_allowed_null": true @@ -6755,9 +6767,21 @@ "example": "ssgA", "member": "string", "name": "Description", + "output_required": true, "required": false, "type": "string", "value_allowed_null": true + }, + { + "disabled": false, + "document": "SlotSharingGroup的配置\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "[]", + "member": "Property", + "name": "Configuration", + "output_required": false, + "required": false, + "type": "list", + "value_allowed_null": true } ], "usage": "both" diff --git a/tccli/services/organization/v20210331/api.json b/tccli/services/organization/v20210331/api.json index bff52fe297..85f52d7b5d 100644 --- a/tccli/services/organization/v20210331/api.json +++ b/tccli/services/organization/v20210331/api.json @@ -22,7 +22,7 @@ "status": "online" }, "AddShareUnit": { - "document": "创建共享单元,只有企业组织管理员可创建。", + "document": "创建共享单元。", "input": "AddShareUnitRequest", "name": "创建共享单元", "output": "AddShareUnitResponse", diff --git a/tccli/services/rum/v20210622/api.json b/tccli/services/rum/v20210622/api.json index fd4ef0cd6e..d610eb6cc4 100644 --- a/tccli/services/rum/v20210622/api.json +++ b/tccli/services/rum/v20210622/api.json @@ -5266,6 +5266,15 @@ "name": "FileVersion", "required": false, "type": "string" + }, + { + "disabled": false, + "document": "查询过滤条件(根据sourcemap的文件名模糊匹配)", + "example": "无", + "member": "string", + "name": "FileName", + "required": false, + "type": "string" } ], "type": "object" diff --git a/tccli/services/tdmq/v20200217/api.json b/tccli/services/tdmq/v20200217/api.json index 6f6aba69e7..3ede9a7e31 100644 --- a/tccli/services/tdmq/v20200217/api.json +++ b/tccli/services/tdmq/v20200217/api.json @@ -18320,7 +18320,7 @@ "example": "{\"Response\":{\"MessageId\":\"26365:1475:0\"}}", "member": "string", "name": "MessageId", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -18330,7 +18330,7 @@ "example": "\"\"", "member": "string", "name": "ErrorMsg", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -18477,6 +18477,7 @@ "example": "{\"Response\":{\"MessageId\":\"26365:1475:0\"}}", "member": "string", "name": "MessageId", + "output_required": true, "type": "string", "value_allowed_null": true }, @@ -18486,6 +18487,7 @@ "example": "\"\"", "member": "string", "name": "ErrorMsg", + "output_required": true, "type": "string", "value_allowed_null": true }, diff --git a/tccli/services/thpc/v20230321/api.json b/tccli/services/thpc/v20230321/api.json index 261e65fa95..a32be0de4d 100644 --- a/tccli/services/thpc/v20230321/api.json +++ b/tccli/services/thpc/v20230321/api.json @@ -2170,13 +2170,21 @@ "members": [ { "disabled": false, - "document": "实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:
  • Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \\` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。
  • Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \\` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。

    若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。", + "document": "实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:
  • Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \\` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。

  • Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \\` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。


  • 若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。", "example": "无", "member": "string", "name": "Password", "required": false, - "type": "string", - "value_allowed_null": false + "type": "string" + }, + { + "disabled": false, + "document": "实例登录密钥", + "example": "无", + "member": "string", + "name": "KeyIds", + "required": false, + "type": "list" } ], "usage": "in" diff --git a/tccli/services/trtc/v20190722/api.json b/tccli/services/trtc/v20190722/api.json index fafdb2f231..484d286a39 100644 --- a/tccli/services/trtc/v20190722/api.json +++ b/tccli/services/trtc/v20190722/api.json @@ -183,7 +183,7 @@ "status": "online" }, "DescribeTrtcUsage": { - "document": "获取TRTC音视频互动的用量明细。\n- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。\n- 单次查询统计区间最多不能超过31天。\n- 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。\n- 该接口只用于历史用量数据统计或核对数据使用,关键业务逻辑不能使用。\n- 默认接口请求频率限制:5次/秒。", + "document": "获取TRTC音视频互动的用量明细,单位:分钟。\n- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。\n- 单次查询统计区间最多不能超过31天。\n- 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。\n- 该接口只用于历史用量数据统计或核对数据使用,关键业务逻辑不能使用。\n- 默认接口请求频率限制:5次/秒。", "input": "DescribeTrtcUsageRequest", "name": "查询TRTC音视频用量", "output": "DescribeTrtcUsageResponse", @@ -2602,7 +2602,7 @@ }, { "disabled": false, - "document": "各个时间点用量明细。", + "document": "各个时间点用量明细,单位:分钟", "example": "无", "member": "TrtcUsage", "name": "UsageList", @@ -6824,17 +6824,27 @@ "example": "无", "member": "string", "name": "TimeKey", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": false }, { "disabled": false, - "document": "用量数组。每个数值含义与UsageKey对应。单位:分钟。", + "document": "时间点时间戳", + "example": "无", + "member": "uint64", + "name": "TimeStampKey", + "output_required": false, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "用量数组。每个数值含义与UsageKey对应。单位:分钟。", "example": "无", "member": "float", "name": "UsageValue", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": false }