Skip to content

Commit d88dd22

Browse files
release 3.1.7.1
1 parent 26a7b95 commit d88dd22

File tree

67 files changed

+3388
-357
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+3388
-357
lines changed

SERVICE_CHANGELOG.md

Lines changed: 307 additions & 50 deletions
Large diffs are not rendered by default.

products.md

Lines changed: 26 additions & 26 deletions
Large diffs are not rendered by default.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ exclude = ["tccli/examples"]
77

88
[project]
99
name = "tccli"
10-
version = "3.1.6.1"
10+
version = "3.1.7.1"
1111
authors = [
1212
{ name="tencentcloudapi", email="tencentcloudapi@tencent.com" },
1313
]
@@ -24,7 +24,7 @@ classifiers = [
2424
dependencies = [
2525
"jmespath==0.10.0",
2626
"six==1.16.0",
27-
"tencentcloud-sdk-python>=3.1.6",
27+
"tencentcloud-sdk-python>=3.1.7",
2828
]
2929

3030
[project.urls]

tccli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '3.1.6.1'
1+
__version__ = '3.1.7.1'

tccli/examples/bh/v20230418/DescribeSecuritySetting.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Output:
1111
```
1212
{
1313
"Response": {
14+
"SecuritySetting": {},
1415
"RequestId": "b8ebf0b3-ecf5-49bf-9f9d-86341c4072f1"
1516
}
1617
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
**Example 1: 关闭全局加密**
2+
3+
4+
5+
Input:
6+
7+
```
8+
tccli cynosdb ModifyClusterGlobalEncryption --cli-unfold-argument \
9+
--ClusterId cynosdbmysql-xxxxxxxx \
10+
--IsOpenGlobalEncryption False
11+
```
12+
13+
Output:
14+
```
15+
{
16+
"Response": {
17+
"RequestId": "22f221ae-40d7-4b73-84bb-ae2d090a3beb",
18+
"TaskId": 177736
19+
}
20+
}
21+
```
22+
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
**Example 1: 查询上传任务**
2+
3+
查询上传任务
4+
5+
Input:
6+
7+
```
8+
tccli dataagent GetUploadJobDetails --cli-unfold-argument \
9+
--InstanceId dataagent-G5XTaxnz \
10+
--JobId job-9drpcx7eb7
11+
```
12+
13+
Output:
14+
```
15+
{
16+
"Response": {
17+
"Job": {
18+
"CreateTime": "2025-11-19T14:23:35.384323792+08:00",
19+
"Id": 0,
20+
"InstanceId": "dataagent-G5XTaxnz",
21+
"JobId": "job-9drpcx7eb7",
22+
"KnowledgeBaseId": "",
23+
"Message": "",
24+
"Status": "Success",
25+
"SubUin": "",
26+
"Uin": "",
27+
"UpdateTime": "2025-11-19T14:23:35.384323868+08:00"
28+
},
29+
"RequestId": "44545091-0bac-4260-adca-76dbd703614f"
30+
}
31+
}
32+
```
33+
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
**Example 1: 上传并提交文件**
2+
3+
上传并提交文件
4+
5+
Input:
6+
7+
```
8+
tccli dataagent UploadAndCommitFile --cli-unfold-argument \
9+
--InstanceId instance001 \
10+
--CosFiles.0.FileName 1.txt \
11+
--CosFiles.0.FileType TXT \
12+
--CosFiles.0.UserCosUrl https://xxxx.cos.ap-chongqing.myqcloud.com/1.txt \
13+
--KnowledgeBaseId kb001
14+
```
15+
16+
Output:
17+
```
18+
{
19+
"Response": {
20+
"JobId": "job001",
21+
"RequestId": "162e94d1-97ef-452d-82df-600fa0f3e972"
22+
}
23+
}
24+
```
25+

tccli/examples/dbdc/v20201029/DescribeInstanceDetail.md

Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,47 @@
11
**Example 1: 查询独享集群详情**
22

3-
3+
查询独享集群dbdc-dq8w02u5详情信息
44

55
Input:
66

77
```
88
tccli dbdc DescribeInstanceDetail --cli-unfold-argument \
9-
--InstanceId dbdc-test
9+
--InstanceId dbdc-dq8w02u5
1010
```
1111

1212
Output:
1313
```
1414
{
1515
"Response": {
16-
"RequestId": "22cb8292-b16d-11eb-8d13-525400542aa6",
17-
"DbNum": 0,
16+
"AssignStrategy": 1,
17+
"AutoRenewFlag": 1,
18+
"ClusterId": "devtest",
1819
"CpuAssignable": 64,
19-
"HostType": 0,
20-
"AutoRenewFlag": 0,
21-
"Type": 0,
22-
"Status": 1,
23-
"InstanceId": "dbdc-56nsyijj",
24-
"AssignStrategy": 0,
25-
"PeriodEndTime": "2021-05-28 00:00:00",
26-
"HostNum": 2,
27-
"MemoryAssignable": 256,
20+
"CpuAssigned": 0,
2821
"CpuSpec": 64,
29-
"DiskSpec": 12000,
22+
"CreateTime": "2025-05-19 16:12:02",
23+
"DbNum": 0,
24+
"DiskAssignable": 10500,
25+
"DiskAssigned": -12,
26+
"DiskSpec": 14000,
27+
"FenceId": "",
28+
"HostNum": 2,
29+
"HostType": 0,
30+
"InstanceId": "dbdc-dq8w02u5",
31+
"InstanceName": "ankersong",
32+
"MemoryAssignable": 192,
33+
"MemoryAssigned": -2,
3034
"MemorySpec": 256,
31-
"MemoryAssigned": 0,
32-
"StatusDesc": "运行中",
33-
"InstanceName": "excluster-for-order",
34-
"CpuAssigned": 0,
35+
"PeriodEndTime": "2025-06-19 16:12:02",
3536
"ProductId": 1,
36-
"DiskAssignable": 6000,
37-
"DiskAssigned": 0,
3837
"Region": "ap-guangzhou",
39-
"Zone": "ap-guangzhou-3",
40-
"FenceId": "cage-1-1",
41-
"ClusterId": "",
42-
"CreateTime": "2021-04-28 00:00:00"
38+
"RequestId": "5a4e4e6b-f7a8-4494-92c1-a5adbcb8e656",
39+
"ResourceTags": [],
40+
"Status": 1,
41+
"StatusDesc": "运行中",
42+
"Type": 0,
43+
"Zone": "ap-guangzhou-2",
44+
"CpuType": "Intel/AMD"
4345
}
4446
}
4547
```

tccli/examples/ess/v20201111/CreateBatchSignUrl.md

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,41 @@
1-
**Example 1: 生成个人小程序批量签署链接**
1+
**Example 1: 合同发起的时候签署方信息和生成链接中的不一致**
2+
3+
合同(yDR1AUUgygja******uO4zjEB8zAkJEFN)中的参与方为:【姓名:张三 ,手机号:18888888888】,发起的时候并未填入证件号且18888888888手机号并未在腾讯电子签注册实名。
4+
5+
此时,如果使用 【姓名:张三,手机号:17777777777】生成批量签署链接,且FlowIds参数传入(yDR1AUUgygja******uO4zjEB8zAkJEFN)时,会报错,提示签署方信息不存在。因为手机号不同,无法定位到签署方。
6+
7+
此时,除了将手机号修改成 18888888888 之外来解决问题,也可以在发起合同和生成链接的时候传入证件信息,保证姓名和证件一致的情况下,手机号可以不相同。
28

3-
按照合同发起时候填入的信息生成批量签署链接,并通过FlowIds参数对用户可以批签的合同进行限制
49

510
Input:
611

712
```
813
tccli ess CreateBatchSignUrl --cli-unfold-argument \
9-
--IdCardNumber 620000198802020000 \
10-
--IdCardType ID_CARD \
11-
--Name 典子谦 \
14+
--IdCardNumber \
15+
--IdCardType \
16+
--Name 张三 \
1217
--NotifyType SMS \
13-
--Mobile 13200000000 \
18+
--Mobile 17777777777 \
1419
--Operator.UserId yDRCLUUgygq2******uO4zjEwg0vjoimj \
15-
--FlowIds yDwFdUUckpsw******yQ0af8bHosXQtb yDR1AUUgygj******uO4zjE8gTG7xvgH
20+
--FlowIds yDR1AUUgygja******uO4zjEB8zAkJEFN
1621
```
1722

1823
Output:
1924
```
2025
{
2126
"Response": {
22-
"ExpiredTime": 1684899114,
23-
"RequestId": "5beb5f54-cf3d-4c26-a4ee-a97c85196a3e",
24-
"SignUrl": "https://ess.url.cn/FuP**Swc",
25-
"MiniAppPath": "pages/guide/index?shortKey=FuP3**wc"
27+
"Error": {
28+
"Code": "InvalidParameter",
29+
"Message": "合同[yDR1AUUgygja******uO4zjEB8zAkJEFN]不包含链接中的参与方信息, 请确保链接姓名手机号等信息与合同中一致"
30+
},
31+
"RequestId": "5beb5f54-cf3d-4c26-a4ee-a97c85196a3e"
2632
}
2733
}
2834
```
2935

30-
**Example 2: 生成企业经办人小程序批量签署链接**
36+
**Example 2: 生成个人小程序批量签署链接**
3137

32-
按照合同发起时候填入的信息生成企业经办人批量签署链接,并通过FlowIds参数对用户可以批签的合同进行限制
38+
按照合同发起时候填入的信息生成批量签署链接,并通过FlowIds参数对用户可以批签的合同进行限制
3339

3440
Input:
3541

@@ -40,7 +46,6 @@ tccli ess CreateBatchSignUrl --cli-unfold-argument \
4046
--Name 典子谦 \
4147
--NotifyType SMS \
4248
--Mobile 13200000000 \
43-
--OrganizationName 典子谦示例企业 \
4449
--Operator.UserId yDRCLUUgygq2******uO4zjEwg0vjoimj \
4550
--FlowIds yDwFdUUckpsw******yQ0af8bHosXQtb yDR1AUUgygj******uO4zjE8gTG7xvgH
4651
```
@@ -57,37 +62,32 @@ Output:
5762
}
5863
```
5964

60-
**Example 3: 合同发起的时候签署方信息和生成链接中的不一致**
61-
62-
合同(yDR1AUUgygja******uO4zjEB8zAkJEFN)中的参与方为:【姓名:张三 ,手机号:18888888888】,发起的时候并未填入证件号且18888888888手机号并未在腾讯电子签注册实名。
63-
64-
此时,如果使用 【姓名:张三,手机号:17777777777】生成批量签署链接,且FlowIds参数传入(yDR1AUUgygja******uO4zjEB8zAkJEFN)时,会报错,提示签署方信息不存在。因为手机号不同,无法定位到签署方。
65-
66-
此时,除了将手机号修改成 18888888888 之外来解决问题,也可以在发起合同和生成链接的时候传入证件信息,保证姓名和证件一致的情况下,手机号可以不相同。
65+
**Example 3: 生成企业经办人小程序批量签署链接**
6766

67+
按照合同发起时候填入的信息生成企业经办人批量签署链接,并通过FlowIds参数对用户可以批签的合同进行限制
6868

6969
Input:
7070

7171
```
7272
tccli ess CreateBatchSignUrl --cli-unfold-argument \
73-
--IdCardNumber \
74-
--IdCardType \
75-
--Name 张三 \
73+
--IdCardNumber 620000198802020000 \
74+
--IdCardType ID_CARD \
75+
--Name 典子谦 \
7676
--NotifyType SMS \
77-
--Mobile 17777777777 \
77+
--Mobile 13200000000 \
78+
--OrganizationName 典子谦示例企业 \
7879
--Operator.UserId yDRCLUUgygq2******uO4zjEwg0vjoimj \
79-
--FlowIds yDR1AUUgygja******uO4zjEB8zAkJEFN
80+
--FlowIds yDwFdUUckpsw******yQ0af8bHosXQtb yDR1AUUgygj******uO4zjE8gTG7xvgH
8081
```
8182

8283
Output:
8384
```
8485
{
8586
"Response": {
86-
"Error": {
87-
"Code": "InvalidParameter",
88-
"Message": "合同[yDR1AUUgygja******uO4zjEB8zAkJEFN]不包含链接中的参与方信息, 请确保链接姓名手机号等信息与合同中一致"
89-
},
90-
"RequestId": "5beb5f54-cf3d-4c26-a4ee-a97c85196a3e"
87+
"ExpiredTime": 1684899114,
88+
"RequestId": "5beb5f54-cf3d-4c26-a4ee-a97c85196a3e",
89+
"SignUrl": "https://ess.url.cn/FuP**Swc",
90+
"MiniAppPath": "pages/guide/index?shortKey=FuP3**wc"
9191
}
9292
}
9393
```

0 commit comments

Comments
 (0)