tccli 3.0.1091.1__py2.py3-none-any.whl → 3.0.1093.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/examples/cdb/v20170320/CheckMigrateCluster.md +18 -0
- tccli/examples/cdb/v20170320/DescribeClusterInfo.md +59 -0
- tccli/examples/domain/v20180808/BidPreDomains.md +21 -0
- tccli/examples/domain/v20180808/DescribeReservedBidInfo.md +43 -0
- tccli/examples/domain/v20180808/DescribeReservedPreDomainInfo.md +31 -0
- tccli/examples/es/v20180416/UpdateInstance.md +27 -27
- tccli/examples/es/v20180416/UpdatePlugins.md +6 -6
- tccli/examples/ess/v20201111/CreateBatchOrganizationRegistrationTasks.md +146 -0
- tccli/examples/ess/v20201111/CreateOrganizationAuthUrl.md +28 -0
- tccli/examples/ess/v20201111/CreateOrganizationBatchSignUrl.md +28 -0
- tccli/examples/hunyuan/v20230901/ChatPro.md +69 -31
- tccli/examples/hunyuan/v20230901/ChatStd.md +40 -1
- tccli/examples/lke/v20231130/CheckAttributeLabelExist.md +24 -0
- tccli/examples/lke/v20231130/CheckAttributeLabelRefer.md +23 -0
- tccli/examples/lke/v20231130/CreateApp.md +24 -0
- tccli/examples/lke/v20231130/CreateAttributeLabel.md +24 -0
- tccli/examples/lke/v20231130/CreateCorp.md +24 -0
- tccli/examples/lke/v20231130/CreateQA.md +24 -0
- tccli/examples/lke/v20231130/CreateQACate.md +26 -0
- tccli/examples/lke/v20231130/CreateRejectedQuestion.md +22 -0
- tccli/examples/lke/v20231130/CreateRelease.md +21 -0
- tccli/examples/lke/v20231130/DeleteApp.md +21 -0
- tccli/examples/lke/v20231130/DeleteAttributeLabel.md +21 -0
- tccli/examples/lke/v20231130/DeleteDoc.md +21 -0
- tccli/examples/lke/v20231130/DeleteQA.md +21 -0
- tccli/examples/lke/v20231130/DeleteQACate.md +21 -0
- tccli/examples/lke/v20231130/DeleteRejectedQuestion.md +21 -0
- tccli/examples/lke/v20231130/DescribeApp.md +29 -0
- tccli/examples/lke/v20231130/DescribeAttributeLabel.md +28 -0
- tccli/examples/lke/v20231130/DescribeCorp.md +21 -0
- tccli/examples/lke/v20231130/DescribeDoc.md +44 -0
- tccli/examples/lke/v20231130/DescribeQA.md +42 -0
- tccli/examples/lke/v20231130/DescribeRefer.md +35 -0
- tccli/examples/lke/v20231130/DescribeRelease.md +25 -0
- tccli/examples/lke/v20231130/DescribeReleaseInfo.md +24 -0
- tccli/examples/lke/v20231130/DescribeRobotBizIDByAppKey.md +21 -0
- tccli/examples/lke/v20231130/DescribeStorageCredential.md +32 -0
- tccli/examples/lke/v20231130/DescribeUnsatisfiedReplyContext.md +121 -0
- tccli/examples/lke/v20231130/ExportAttributeLabel.md +21 -0
- tccli/examples/lke/v20231130/ExportQAList.md +21 -0
- tccli/examples/lke/v20231130/ExportUnsatisfiedReply.md +21 -0
- tccli/examples/lke/v20231130/GenerateQA.md +21 -0
- tccli/examples/lke/v20231130/GetAppKnowledgeCount.md +22 -0
- tccli/examples/lke/v20231130/GetAppSecret.md +24 -0
- tccli/examples/lke/v20231130/GetDocPreview.md +26 -0
- tccli/examples/lke/v20231130/GetEmbedding.md +29 -0
- tccli/examples/lke/v20231130/GetMsgRecord.md +51 -0
- tccli/examples/lke/v20231130/GetTaskStatus.md +0 -0
- tccli/examples/lke/v20231130/GetWsToken.md +44 -0
- tccli/examples/lke/v20231130/GroupQA.md +44 -0
- tccli/examples/lke/v20231130/IgnoreUnsatisfiedReply.md +21 -0
- tccli/examples/lke/v20231130/IsTransferIntent.md +22 -0
- tccli/examples/lke/v20231130/ListApp.md +36 -0
- tccli/examples/lke/v20231130/ListAppCategory.md +25 -0
- tccli/examples/lke/v20231130/ListAttributeLabel.md +33 -0
- tccli/examples/lke/v20231130/ListDoc.md +52 -0
- tccli/examples/lke/v20231130/ListModel.md +31 -0
- tccli/examples/lke/v20231130/ListQA.md +66 -0
- tccli/examples/lke/v20231130/ListQACate.md +41 -0
- tccli/examples/lke/v20231130/ListRejectedQuestion.md +52 -0
- tccli/examples/lke/v20231130/ListRejectedQuestionPreview.md +37 -0
- tccli/examples/lke/v20231130/ListRelease.md +36 -0
- tccli/examples/lke/v20231130/ListReleaseConfigPreview.md +129 -0
- tccli/examples/lke/v20231130/ListReleaseDocPreview.md +38 -0
- tccli/examples/lke/v20231130/ListReleaseQAPreview.md +107 -0
- tccli/examples/lke/v20231130/ListSelectDoc.md +27 -0
- tccli/examples/lke/v20231130/ListUnsatisfiedReply.md +24 -0
- tccli/examples/lke/v20231130/ModifyApp.md +25 -0
- tccli/examples/lke/v20231130/ModifyAttributeLabel.md +23 -0
- tccli/examples/lke/v20231130/ModifyDoc.md +25 -0
- tccli/examples/lke/v20231130/ModifyDocAttrRange.md +25 -0
- tccli/examples/lke/v20231130/ModifyQA.md +24 -0
- tccli/examples/lke/v20231130/ModifyQAAttrRange.md +25 -0
- tccli/examples/lke/v20231130/ModifyQACate.md +22 -0
- tccli/examples/lke/v20231130/ModifyRejectedQuestion.md +22 -0
- tccli/examples/lke/v20231130/ParseDoc.md +25 -0
- tccli/examples/lke/v20231130/QueryParseDocResult.md +24 -0
- tccli/examples/lke/v20231130/QueryRewrite.md +25 -0
- tccli/examples/lke/v20231130/RateMsgRecord.md +22 -0
- tccli/examples/lke/v20231130/ResetSession.md +20 -0
- tccli/examples/lke/v20231130/RetryDocAudit.md +21 -0
- tccli/examples/lke/v20231130/RetryDocParse.md +21 -0
- tccli/examples/lke/v20231130/RetryRelease.md +21 -0
- tccli/examples/lke/v20231130/SaveDoc.md +34 -0
- tccli/examples/lke/v20231130/StopDocParse.md +21 -0
- tccli/examples/lke/v20231130/UploadAttributeLabel.md +27 -0
- tccli/examples/lke/v20231130/VerifyQA.md +27 -0
- tccli/examples/mna/v20210119/GetFlowPackages.md +3 -1
- tccli/examples/mna/v20210119/GetFlowStatistic.md +42 -0
- tccli/examples/ocr/v20181119/GeneralBasicOCR.md +0 -1
- tccli/examples/rce/v20201103/ManageMarketingRisk.md +19 -56
- tccli/examples/sqlserver/v20180328/DescribeRestoreTimeRange.md +23 -0
- tccli/examples/svp/v20240125/CreateSavingPlanOrder.md +1 -1
- tccli/examples/tke/v20180525/DescribeSupportedRuntime.md +25 -0
- tccli/examples/tke/v20180525/ModifyClusterRuntimeConfig.md +27 -0
- tccli/examples/vod/v20180717/CreateSubAppId.md +1 -1
- tccli/examples/vod/v20180717/DescribeAdaptiveDynamicStreamingTemplates.md +5 -1
- tccli/examples/vod/v20180717/DescribeSubAppIds.md +8 -8
- tccli/examples/vod/v20180717/ModifySubAppIdInfo.md +3 -3
- tccli/examples/vod/v20180717/ModifySubAppIdStatus.md +1 -1
- tccli/services/__init__.py +3 -0
- tccli/services/aiart/v20221229/api.json +25 -6
- tccli/services/antiddos/v20200309/api.json +10 -0
- tccli/services/asr/v20190614/api.json +4 -4
- tccli/services/bsca/v20210811/api.json +19 -1
- tccli/services/ccc/v20200210/api.json +12 -12
- tccli/services/cdb/cdb_client.py +106 -0
- tccli/services/cdb/v20170320/api.json +255 -0
- tccli/services/cdb/v20170320/examples.json +16 -0
- tccli/services/cdn/v20180606/api.json +4 -4
- tccli/services/ckafka/v20190819/api.json +29 -24
- tccli/services/domain/domain_client.py +114 -8
- tccli/services/domain/v20180808/api.json +177 -4
- tccli/services/domain/v20180808/examples.json +22 -0
- tccli/services/dts/v20211206/api.json +2 -2
- tccli/services/es/v20180416/api.json +12 -12
- tccli/services/es/v20180416/examples.json +21 -21
- tccli/services/ess/ess_client.py +149 -43
- tccli/services/ess/v20201111/api.json +406 -4
- tccli/services/ess/v20201111/examples.json +34 -0
- tccli/services/essbasic/v20210526/api.json +2 -2
- tccli/services/faceid/v20180301/api.json +10 -1
- tccli/services/hunyuan/v20230901/api.json +67 -21
- tccli/services/hunyuan/v20230901/examples.json +17 -5
- tccli/services/iai/v20180301/api.json +19 -19
- tccli/services/lcic/v20220817/api.json +49 -0
- tccli/services/lke/__init__.py +4 -0
- tccli/services/lke/lke_client.py +4117 -0
- tccli/services/lke/v20231130/api.json +9020 -0
- tccli/services/lke/v20231130/examples.json +617 -0
- tccli/services/mna/v20210119/api.json +249 -29
- tccli/services/mna/v20210119/examples.json +7 -1
- tccli/services/monitor/v20180724/api.json +30 -10
- tccli/services/ocr/v20181119/api.json +29 -15
- tccli/services/ocr/v20181119/examples.json +1 -1
- tccli/services/rce/v20201103/api.json +4 -4
- tccli/services/rce/v20201103/examples.json +3 -3
- tccli/services/redis/v20180412/api.json +1 -1
- tccli/services/scf/v20180416/api.json +18 -9
- tccli/services/sms/v20210111/api.json +1 -1
- tccli/services/sqlserver/sqlserver_client.py +110 -57
- tccli/services/sqlserver/v20180328/api.json +63 -0
- tccli/services/sqlserver/v20180328/examples.json +8 -0
- tccli/services/svp/v20240125/examples.json +1 -1
- tccli/services/tat/v20201028/api.json +3 -3
- tccli/services/tione/v20211111/api.json +25 -1
- tccli/services/tke/tke_client.py +106 -0
- tccli/services/tke/v20180525/api.json +229 -17
- tccli/services/tke/v20180525/examples.json +17 -1
- tccli/services/trtc/v20190722/api.json +46 -4
- tccli/services/vod/v20180717/api.json +24 -24
- tccli/services/vod/v20180717/examples.json +8 -8
- tccli/services/wedata/v20210820/api.json +295 -1437
- tccli/services/wedata/v20210820/examples.json +0 -88
- tccli/services/wedata/wedata_client.py +33 -616
- {tccli-3.0.1091.1.dist-info → tccli-3.0.1093.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1091.1.dist-info → tccli-3.0.1093.1.dist-info}/RECORD +161 -73
- {tccli-3.0.1091.1.dist-info → tccli-3.0.1093.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1091.1.dist-info → tccli-3.0.1093.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1091.1.dist-info → tccli-3.0.1093.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1093.1'
|
@@ -0,0 +1,59 @@
|
|
1
|
+
**Example 1: 查询集群版实例信息**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli cdb DescribeClusterInfo --cli-unfold-argument \
|
9
|
+
--InstanceId cdb-xxx
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"ClusterName": "dbname",
|
17
|
+
"ReadWriteAddress": {
|
18
|
+
"ResourceId": "cdb-xxx",
|
19
|
+
"UniqVpcId": "vpc-xxx",
|
20
|
+
"UniqSubnetId": "subnet-xxx",
|
21
|
+
"Vip": "192.168.3.4",
|
22
|
+
"VPort": 3306,
|
23
|
+
"WanDomain": "",
|
24
|
+
"WanPort": 0
|
25
|
+
},
|
26
|
+
"ReadOnlyAddress": [
|
27
|
+
{
|
28
|
+
"ResourceId": "cdb-xxx|readonly",
|
29
|
+
"UniqVpcId": "vpc-xxx",
|
30
|
+
"UniqSubnetId": "subnet-xxx",
|
31
|
+
"Vip": "192.168.3.5",
|
32
|
+
"VPort": 3306,
|
33
|
+
"WanDomain": "",
|
34
|
+
"WanPort": 0
|
35
|
+
}
|
36
|
+
],
|
37
|
+
"NodeList": [
|
38
|
+
{
|
39
|
+
"NodeId": "dbn-xxx",
|
40
|
+
"Role": "master",
|
41
|
+
"Zone": "ap-guangzhou-1",
|
42
|
+
"Weight": 1,
|
43
|
+
"Status": "online"
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"NodeId": "dbn-xxx",
|
47
|
+
"Role": "slave",
|
48
|
+
"Zone": "ap-guangzhou-2",
|
49
|
+
"Weight": 1,
|
50
|
+
"Status": "online"
|
51
|
+
}
|
52
|
+
],
|
53
|
+
"ReadonlyLimit": 10,
|
54
|
+
"NodeCount": 2,
|
55
|
+
"RequestId": "abc"
|
56
|
+
}
|
57
|
+
}
|
58
|
+
```
|
59
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
**Example 1: 请求成功示例**
|
2
|
+
|
3
|
+
成功示例
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli domain BidPreDomains --cli-unfold-argument \
|
9
|
+
--BusinessId P0011712825815133328 \
|
10
|
+
--Price 5000
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"RequestId": "ec312415-2f61-4a18-987d-d69e55a2847c"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
```
|
21
|
+
|
@@ -0,0 +1,43 @@
|
|
1
|
+
**Example 1: 请求成功示例**
|
2
|
+
|
3
|
+
成功示例
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli domain DescribeReservedBidInfo --cli-unfold-argument \
|
9
|
+
--BusinessId P0011712825815133328
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"BidList": [
|
17
|
+
{
|
18
|
+
"BidStatus": "up",
|
19
|
+
"BidTime": "17:19:30",
|
20
|
+
"Price": 210,
|
21
|
+
"User": "roy***@tencent.com"
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"BidStatus": "down",
|
25
|
+
"BidTime": "17:18:45",
|
26
|
+
"Price": 200,
|
27
|
+
"User": "155***@qq.com"
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"BidStatus": "down",
|
31
|
+
"BidTime": "17:15:24",
|
32
|
+
"Price": 190,
|
33
|
+
"User": "roy***@tencent.com"
|
34
|
+
}
|
35
|
+
],
|
36
|
+
"Price": 200,
|
37
|
+
"RequestId": "43271422-1fe8-4af5-99ff-afc140ea35b2",
|
38
|
+
"UpPrice": 210,
|
39
|
+
"UpUser": "roy***@tencent.com"
|
40
|
+
}
|
41
|
+
}
|
42
|
+
```
|
43
|
+
|
@@ -34,3 +34,34 @@ Output:
|
|
34
34
|
}
|
35
35
|
```
|
36
36
|
|
37
|
+
**Example 2: 请求成功示例**
|
38
|
+
|
39
|
+
请求成功获取参数示例
|
40
|
+
|
41
|
+
Input:
|
42
|
+
|
43
|
+
```
|
44
|
+
tccli domain DescribeReservedPreDomainInfo --cli-unfold-argument ```
|
45
|
+
|
46
|
+
Output:
|
47
|
+
```
|
48
|
+
{
|
49
|
+
"Response": {
|
50
|
+
"RequestId": "a6bd9e77-517f-4fd8-9ee9-f7042b7ae847",
|
51
|
+
"ReservedPreDomainInfoList": [
|
52
|
+
{
|
53
|
+
"BusinessId": "P0011712734968570466",
|
54
|
+
"ChangeOwnerTime": "2024-03-15 08:40:34",
|
55
|
+
"Domain": "fdasfasfdsaf.com",
|
56
|
+
"ExpireTime": "2024-01-14 08:40:34",
|
57
|
+
"FailReason": "",
|
58
|
+
"RegTime": "2020-01-14 08:40:34",
|
59
|
+
"ReservedStatus": 6,
|
60
|
+
"ResourceId": "R0011712734968672830"
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"Total": 1
|
64
|
+
}
|
65
|
+
}
|
66
|
+
```
|
67
|
+
|
@@ -1,13 +1,13 @@
|
|
1
|
-
**Example 1:
|
1
|
+
**Example 1: 重置Kibana密码**
|
2
2
|
|
3
|
-
|
3
|
+
重置指定ES集群实例Kibana密码
|
4
4
|
|
5
5
|
Input:
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli es UpdateInstance --cli-unfold-argument \
|
9
|
-
--InstanceId es-
|
10
|
-
--
|
9
|
+
--InstanceId es-xxxxxxxx \
|
10
|
+
--Password newPwd_123
|
11
11
|
```
|
12
12
|
|
13
13
|
Output:
|
@@ -20,23 +20,17 @@ Output:
|
|
20
20
|
}
|
21
21
|
```
|
22
22
|
|
23
|
-
**Example 2: ES
|
23
|
+
**Example 2: ES集群纵向扩缩容**
|
24
24
|
|
25
|
-
|
25
|
+
用以对集群的节点规格(核数、内存大小)和磁盘大小进行扩缩容操作(当前仅支持纵向扩容)
|
26
26
|
|
27
27
|
Input:
|
28
28
|
|
29
29
|
```
|
30
30
|
tccli es UpdateInstance --cli-unfold-argument \
|
31
|
-
--InstanceId es-
|
32
|
-
--
|
33
|
-
--
|
34
|
-
--NodeInfoList.0.Type dedicatedMaster \
|
35
|
-
--NodeInfoList.1.DiskSize 100 \
|
36
|
-
--NodeInfoList.1.NodeType ES.S1.SMALL2 \
|
37
|
-
--NodeInfoList.1.NodeNum 2 \
|
38
|
-
--NodeInfoList.1.Type hotData \
|
39
|
-
--NodeInfoList.1.DiskType CLOUD_SSD
|
31
|
+
--InstanceId es-xxxxxxxx \
|
32
|
+
--DiskSize 150 \
|
33
|
+
--NodeType ES.S1.MEDIUM4
|
40
34
|
```
|
41
35
|
|
42
36
|
Output:
|
@@ -49,16 +43,23 @@ Output:
|
|
49
43
|
}
|
50
44
|
```
|
51
45
|
|
52
|
-
**Example 3:
|
46
|
+
**Example 3: ES集群节点规格变更**
|
53
47
|
|
54
|
-
|
48
|
+
用以对指定ES集群实例进行横向扩缩容,纵向扩缩容,增加专用主节点,专用主节点横向扩缩容,纵向扩缩容等操作,NodeInfoList要传递目标的全量节点信息
|
55
49
|
|
56
50
|
Input:
|
57
51
|
|
58
52
|
```
|
59
53
|
tccli es UpdateInstance --cli-unfold-argument \
|
60
|
-
--InstanceId es-
|
61
|
-
--
|
54
|
+
--InstanceId es-xxxxxx \
|
55
|
+
--NodeInfoList.0.NodeType ES.S1.SMALL2 \
|
56
|
+
--NodeInfoList.0.NodeNum 3 \
|
57
|
+
--NodeInfoList.0.Type dedicatedMaster \
|
58
|
+
--NodeInfoList.1.DiskSize 100 \
|
59
|
+
--NodeInfoList.1.NodeType ES.S1.SMALL2 \
|
60
|
+
--NodeInfoList.1.NodeNum 2 \
|
61
|
+
--NodeInfoList.1.Type hotData \
|
62
|
+
--NodeInfoList.1.DiskType CLOUD_SSD
|
62
63
|
```
|
63
64
|
|
64
65
|
Output:
|
@@ -71,16 +72,16 @@ Output:
|
|
71
72
|
}
|
72
73
|
```
|
73
74
|
|
74
|
-
**Example 4:
|
75
|
+
**Example 4: 修改ES集群实例名称**
|
75
76
|
|
76
|
-
|
77
|
+
用以修改指定ES集群实例的名称
|
77
78
|
|
78
79
|
Input:
|
79
80
|
|
80
81
|
```
|
81
82
|
tccli es UpdateInstance --cli-unfold-argument \
|
82
|
-
--InstanceId es-
|
83
|
-
--
|
83
|
+
--InstanceId es-xxxxxx \
|
84
|
+
--InstanceName newName
|
84
85
|
```
|
85
86
|
|
86
87
|
Output:
|
@@ -93,17 +94,16 @@ Output:
|
|
93
94
|
}
|
94
95
|
```
|
95
96
|
|
96
|
-
**Example 5: ES
|
97
|
+
**Example 5: 修改ES集群实例配置**
|
97
98
|
|
98
|
-
|
99
|
+
用以对指定的ES集群实例的配置进行修改操作
|
99
100
|
|
100
101
|
Input:
|
101
102
|
|
102
103
|
```
|
103
104
|
tccli es UpdateInstance --cli-unfold-argument \
|
104
105
|
--InstanceId es-xxxxxxxx \
|
105
|
-
--
|
106
|
-
--NodeType ES.S1.MEDIUM4
|
106
|
+
--EsConfig {"action.destructive_requires_name":"true"}
|
107
107
|
```
|
108
108
|
|
109
109
|
Output:
|
@@ -1,13 +1,13 @@
|
|
1
|
-
**Example 1:
|
1
|
+
**Example 1: 批量卸载插件**
|
2
2
|
|
3
|
-
|
3
|
+
批量卸载插件
|
4
4
|
|
5
5
|
Input:
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli es UpdatePlugins --cli-unfold-argument \
|
9
9
|
--InstanceId es-xxxxxxxx \
|
10
|
-
--
|
10
|
+
--RemovePluginList analysis-qq sql
|
11
11
|
```
|
12
12
|
|
13
13
|
Output:
|
@@ -19,16 +19,16 @@ Output:
|
|
19
19
|
}
|
20
20
|
```
|
21
21
|
|
22
|
-
**Example 2:
|
22
|
+
**Example 2: 批量安装插件**
|
23
23
|
|
24
|
-
|
24
|
+
批量安装插件
|
25
25
|
|
26
26
|
Input:
|
27
27
|
|
28
28
|
```
|
29
29
|
tccli es UpdatePlugins --cli-unfold-argument \
|
30
30
|
--InstanceId es-xxxxxxxx \
|
31
|
-
--
|
31
|
+
--InstallPluginList analysis-qq sql
|
32
32
|
```
|
33
33
|
|
34
34
|
Output:
|
@@ -0,0 +1,146 @@
|
|
1
|
+
**Example 1: 批量注册三家企业,成功创建任务**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli ess CreateBatchOrganizationRegistrationTasks --cli-unfold-argument \
|
9
|
+
--Operator.OpenId us-768d38720c10405f994539097f030a27 \
|
10
|
+
--Operator.UserId 19561039c99fe825a934a132520fde6a \
|
11
|
+
--Operator.Channel YUFU \
|
12
|
+
--Operator.ClientIp 8.8.8.8 \
|
13
|
+
--RegistrationOrganizations.0.OrganizationName 测试认证企业一 \
|
14
|
+
--RegistrationOrganizations.0.UniformSocialCreditCode 9XXXXXXXXXXXXXXXX1 \
|
15
|
+
--RegistrationOrganizations.0.LegalName 鹅鹅子 \
|
16
|
+
--RegistrationOrganizations.0.Address 深圳市南山区1000号腾讯大厦 \
|
17
|
+
--RegistrationOrganizations.0.AdminName 鹅鹅子 \
|
18
|
+
--RegistrationOrganizations.0.AdminMobile 187XXXXXXX0 \
|
19
|
+
--RegistrationOrganizations.0.AuthorizationTypes 2 \
|
20
|
+
--RegistrationOrganizations.1.OrganizationName 测试认证企业二 \
|
21
|
+
--RegistrationOrganizations.1.UniformSocialCreditCode 9XXXXXXXXXXXXXXXX2 \
|
22
|
+
--RegistrationOrganizations.1.LegalName 鹅鹅子 \
|
23
|
+
--RegistrationOrganizations.1.Address 深圳市南山区1000号腾讯大厦 \
|
24
|
+
--RegistrationOrganizations.1.AdminName 鹅鹅子 \
|
25
|
+
--RegistrationOrganizations.1.AdminMobile 187XXXXXXX0 \
|
26
|
+
--RegistrationOrganizations.1.AuthorizationTypes 1 \
|
27
|
+
--RegistrationOrganizations.2.OrganizationName 测试认证企业三 \
|
28
|
+
--RegistrationOrganizations.2.UniformSocialCreditCode 9XXXXXXXXXXXXXXXX3 \
|
29
|
+
--RegistrationOrganizations.2.LegalName 鹅鹅子 \
|
30
|
+
--RegistrationOrganizations.2.Address 深圳市南山区1000号腾讯大厦 \
|
31
|
+
--RegistrationOrganizations.2.AdminName 鹅鹅子 \
|
32
|
+
--RegistrationOrganizations.2.AdminMobile 187XXXXXXX0 \
|
33
|
+
--RegistrationOrganizations.2.AuthorizationTypes 2
|
34
|
+
```
|
35
|
+
|
36
|
+
Output:
|
37
|
+
```
|
38
|
+
{
|
39
|
+
"Response": {
|
40
|
+
"TaskId": "abc",
|
41
|
+
"ErrorMessages": [
|
42
|
+
""
|
43
|
+
],
|
44
|
+
"RequestId": "f38013e59d00"
|
45
|
+
}
|
46
|
+
}
|
47
|
+
```
|
48
|
+
|
49
|
+
**Example 2: 批量注册三家企业,地址不符合格式,返回错误**
|
50
|
+
|
51
|
+
测试认证企业三的地址没有按照省市区的格式传递
|
52
|
+
|
53
|
+
Input:
|
54
|
+
|
55
|
+
```
|
56
|
+
tccli ess CreateBatchOrganizationRegistrationTasks --cli-unfold-argument \
|
57
|
+
--Operator.OpenId us-768d38720c10405f994539097f030a27 \
|
58
|
+
--Operator.UserId 19561039c99fe825a934a132520fde6a \
|
59
|
+
--Operator.Channel YUFU \
|
60
|
+
--Operator.ClientIp 8.8.8.8 \
|
61
|
+
--RegistrationOrganizations.0.OrganizationName 测试认证企业一 \
|
62
|
+
--RegistrationOrganizations.0.UniformSocialCreditCode 9XXXXXXXXXXXXXXXX1 \
|
63
|
+
--RegistrationOrganizations.0.LegalName 鹅鹅子 \
|
64
|
+
--RegistrationOrganizations.0.Address 深圳市南山区1000号腾讯大厦 \
|
65
|
+
--RegistrationOrganizations.0.AdminName 鹅鹅子 \
|
66
|
+
--RegistrationOrganizations.0.AdminMobile 187XXXXXXX0 \
|
67
|
+
--RegistrationOrganizations.0.AuthorizationTypes 2 \
|
68
|
+
--RegistrationOrganizations.1.OrganizationName 测试认证企业二 \
|
69
|
+
--RegistrationOrganizations.1.UniformSocialCreditCode 9XXXXXXXXXXXXXXXX2 \
|
70
|
+
--RegistrationOrganizations.1.LegalName 鹅鹅子 \
|
71
|
+
--RegistrationOrganizations.1.Address 深圳市南山区1000号腾讯大厦 \
|
72
|
+
--RegistrationOrganizations.1.AdminName 鹅鹅子 \
|
73
|
+
--RegistrationOrganizations.1.AdminMobile 187XXXXXXX0 \
|
74
|
+
--RegistrationOrganizations.1.AuthorizationTypes 1 \
|
75
|
+
--RegistrationOrganizations.2.OrganizationName 测试认证企业三 \
|
76
|
+
--RegistrationOrganizations.2.UniformSocialCreditCode 9XXXXXXXXXXXXXXXX3 \
|
77
|
+
--RegistrationOrganizations.2.LegalName 鹅鹅子 \
|
78
|
+
--RegistrationOrganizations.2.Address 测试地址 \
|
79
|
+
--RegistrationOrganizations.2.AdminName 鹅鹅子 \
|
80
|
+
--RegistrationOrganizations.2.AdminMobile 187XXXXXXX0 \
|
81
|
+
--RegistrationOrganizations.2.AuthorizationTypes 2
|
82
|
+
```
|
83
|
+
|
84
|
+
Output:
|
85
|
+
```
|
86
|
+
{
|
87
|
+
"Response": {
|
88
|
+
"ErrorMessages": [
|
89
|
+
"",
|
90
|
+
"第【2】条注册信息参数错误,地址参数不正确,请确认后再试",
|
91
|
+
""
|
92
|
+
],
|
93
|
+
"RequestId": "5cea4b4778bf",
|
94
|
+
"TaskId": ""
|
95
|
+
}
|
96
|
+
}
|
97
|
+
```
|
98
|
+
|
99
|
+
**Example 3: 批量注册三家企业,企业名称重复,无法创建,返回错误提示**
|
100
|
+
|
101
|
+
第一家企业和第三家企业名字重复, 无法注册
|
102
|
+
|
103
|
+
Input:
|
104
|
+
|
105
|
+
```
|
106
|
+
tccli ess CreateBatchOrganizationRegistrationTasks --cli-unfold-argument \
|
107
|
+
--Operator.OpenId us-768d38720c10405f994539097f030a27 \
|
108
|
+
--Operator.UserId 19561039c99fe825a934a132520fde6a \
|
109
|
+
--Operator.Channel YUFU \
|
110
|
+
--Operator.ClientIp 8.8.8.8 \
|
111
|
+
--RegistrationOrganizations.0.OrganizationName 测试认证企业一 \
|
112
|
+
--RegistrationOrganizations.0.UniformSocialCreditCode 9XXXXXXXXXXXXXXXX1 \
|
113
|
+
--RegistrationOrganizations.0.LegalName 鹅鹅子 \
|
114
|
+
--RegistrationOrganizations.0.Address 深圳市南山区1000号腾讯大厦 \
|
115
|
+
--RegistrationOrganizations.0.AdminName 鹅鹅子 \
|
116
|
+
--RegistrationOrganizations.0.AdminMobile 187XXXXXXX0 \
|
117
|
+
--RegistrationOrganizations.0.AuthorizationTypes 2 \
|
118
|
+
--RegistrationOrganizations.1.OrganizationName 测试认证企业二 \
|
119
|
+
--RegistrationOrganizations.1.UniformSocialCreditCode 9XXXXXXXXXXXXXXXX2 \
|
120
|
+
--RegistrationOrganizations.1.LegalName 鹅鹅子 \
|
121
|
+
--RegistrationOrganizations.1.Address 深圳市南山区1000号腾讯大厦 \
|
122
|
+
--RegistrationOrganizations.1.AdminName 鹅鹅子 \
|
123
|
+
--RegistrationOrganizations.1.AdminMobile 187XXXXXXX0 \
|
124
|
+
--RegistrationOrganizations.1.AuthorizationTypes 1 \
|
125
|
+
--RegistrationOrganizations.2.OrganizationName 测试认证企业一 \
|
126
|
+
--RegistrationOrganizations.2.UniformSocialCreditCode 9XXXXXXXXXXXXXXXX3 \
|
127
|
+
--RegistrationOrganizations.2.LegalName 鹅鹅子 \
|
128
|
+
--RegistrationOrganizations.2.Address 深圳市南山区1000号腾讯大厦 \
|
129
|
+
--RegistrationOrganizations.2.AdminName 鹅鹅子 \
|
130
|
+
--RegistrationOrganizations.2.AdminMobile 187XXXXXXX0 \
|
131
|
+
--RegistrationOrganizations.2.AuthorizationTypes 2
|
132
|
+
```
|
133
|
+
|
134
|
+
Output:
|
135
|
+
```
|
136
|
+
{
|
137
|
+
"Response": {
|
138
|
+
"Error": {
|
139
|
+
"Code": "InvalidParameterValue",
|
140
|
+
"Message": "企业名称[测试认证企业一]重复"
|
141
|
+
},
|
142
|
+
"RequestId": "4f7b42be805f"
|
143
|
+
}
|
144
|
+
}
|
145
|
+
```
|
146
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
**Example 1: 创建企业认证链接**
|
2
|
+
|
3
|
+
创建企业认证链接
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli ess CreateOrganizationAuthUrl --cli-unfold-argument \
|
9
|
+
--Operator.UserId yDwfsUUckpsqt647UE6uSrk1ZWhYH56z \
|
10
|
+
--Endpoint PC \
|
11
|
+
--AuthorizationTypes 1 2 3 \
|
12
|
+
--LegalName 11 \
|
13
|
+
--UniformSocialCreditCode 11 \
|
14
|
+
--OrganizationName 测试企业123123 \
|
15
|
+
--AutoJumpUrl https://xxxx.com.cn/xxx
|
16
|
+
```
|
17
|
+
|
18
|
+
Output:
|
19
|
+
```
|
20
|
+
{
|
21
|
+
"Response": {
|
22
|
+
"AuthUrl": "https://test.qian.tencent.cn/console/register-callback?token=yDwFJUUckpsxxxxxWaLrSa3zzlXQh",
|
23
|
+
"ExpiredTime": 1668010213,
|
24
|
+
"RequestId": "s168499xxxxx2608083"
|
25
|
+
}
|
26
|
+
}
|
27
|
+
```
|
28
|
+
|
@@ -104,3 +104,31 @@ Output:
|
|
104
104
|
}
|
105
105
|
```
|
106
106
|
|
107
|
+
**Example 5: 基于RecipientIds 生成他方签署链接**
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
Input:
|
112
|
+
|
113
|
+
```
|
114
|
+
tccli ess CreateOrganizationBatchSignUrl --cli-unfold-argument \
|
115
|
+
--Operator.UserId yDRCLUUgygq2xun5UXXXzjEwg0vjoimj \
|
116
|
+
--Agent.ProxyOrganizationId \
|
117
|
+
--UserId \
|
118
|
+
--Name \
|
119
|
+
--Mobile \
|
120
|
+
--FlowIds yDC5yUUntf6vnnUxxBTyJ8Ps0WGqAuHL yDC5yUUntf6fccUEgcyeHwPz4wjnDSI4 \
|
121
|
+
--RecipientIds yDC5yUUntf6vn0UxxBTyJvfv3Xlckcye yDC5yUUntf6mdgUEgcyeHCpCDmDjbsQJ
|
122
|
+
```
|
123
|
+
|
124
|
+
Output:
|
125
|
+
```
|
126
|
+
{
|
127
|
+
"Response": {
|
128
|
+
"ExpiredTime": 1706100107,
|
129
|
+
"RequestId": "s1705495307288609862",
|
130
|
+
"SignUrl": "https://embed.test.qian.tencent.cn/contract-sign?embed=1&expiredOn=1706100107&code=yDCNBUUckpvlibz6UEMbkWeSzl6YurH0&shortKey=yDCNBUzgvS93aBhXs3ae&channel=TENCENTCLOUD"
|
131
|
+
}
|
132
|
+
}
|
133
|
+
```
|
134
|
+
|