tccli 3.0.1096.1__py2.py3-none-any.whl → 3.0.1098.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/aiart/v20221229/QueryDrawPortraitJob.md +30 -0
- tccli/examples/aiart/v20221229/QueryTrainPortraitModelJob.md +24 -0
- tccli/examples/aiart/v20221229/SubmitDrawPortraitJob.md +23 -0
- tccli/examples/aiart/v20221229/SubmitTrainPortraitModelJob.md +20 -0
- tccli/examples/aiart/v20221229/UploadTrainPortraitImages.md +25 -0
- tccli/examples/apm/v20210622/DescribeGeneralApmApplicationConfig.md +103 -0
- tccli/examples/apm/v20210622/DescribeTagValues.md +27 -0
- tccli/examples/apm/v20210622/ModifyGeneralApmApplicationConfig.md +29 -0
- tccli/examples/ccc/v20200210/ModifyStaffPassword.md +22 -0
- tccli/examples/csip/v20221121/DescribeAlertList.md +176 -0
- tccli/examples/cynosdb/v20190107/ModifyInstanceUpgradeLimitDays.md +22 -0
- tccli/examples/dcdb/v20180411/DescribeDCDBInstances.md +4 -3
- tccli/examples/dlc/v20210125/DescribeNotebookSessionStatementSqlResult.md +3 -1
- tccli/examples/ess/v20201111/CreateBatchSignUrl.md +28 -0
- tccli/examples/essbasic/v20210526/ChannelCreateBatchSignUrl.md +28 -0
- tccli/examples/iotexplorer/v20190423/DescribeDeviceFirmwares.md +33 -0
- tccli/examples/lke/v20231130/GetEmbedding.md +4 -1
- tccli/examples/lke/v20231130/QueryParseDocResult.md +4 -1
- tccli/examples/lke/v20231130/QueryRewrite.md +6 -1
- tccli/examples/mariadb/v20170312/DescribeDBInstanceDetail.md +2 -1
- tccli/examples/mariadb/v20170312/DescribeDBInstances.md +4 -3
- tccli/examples/tdmq/v20200217/DescribeRabbitMQQueueDetail.md +25 -22
- tccli/examples/vpc/v20170312/DisableVpnGatewaySslClientCert.md +2 -2
- tccli/services/aiart/aiart_client.py +269 -4
- tccli/services/aiart/v20221229/api.json +404 -0
- tccli/services/aiart/v20221229/examples.json +40 -0
- tccli/services/apm/apm_client.py +159 -0
- tccli/services/apm/v20210622/api.json +456 -0
- tccli/services/apm/v20210622/examples.json +24 -0
- tccli/services/billing/v20180709/api.json +30 -0
- tccli/services/bma/v20221115/api.json +4 -6
- tccli/services/ccc/ccc_client.py +53 -0
- tccli/services/ccc/v20200210/api.json +57 -5
- tccli/services/ccc/v20200210/examples.json +8 -0
- tccli/services/cdb/v20170320/api.json +9 -0
- tccli/services/cdn/v20180606/api.json +1 -1
- tccli/services/cloudstudio/v20230508/api.json +1 -1
- tccli/services/csip/csip_client.py +53 -0
- tccli/services/csip/v20221121/api.json +1468 -7
- tccli/services/csip/v20221121/examples.json +8 -0
- tccli/services/cynosdb/cynosdb_client.py +53 -0
- tccli/services/cynosdb/v20190107/api.json +54 -0
- tccli/services/cynosdb/v20190107/examples.json +8 -0
- tccli/services/dcdb/v20180411/api.json +45 -3
- tccli/services/dcdb/v20180411/examples.json +1 -1
- tccli/services/dlc/v20210125/api.json +30 -0
- tccli/services/dlc/v20210125/examples.json +1 -1
- tccli/services/ess/v20201111/api.json +50 -2
- tccli/services/ess/v20201111/examples.json +6 -0
- tccli/services/essbasic/v20210526/api.json +50 -2
- tccli/services/essbasic/v20210526/examples.json +6 -0
- tccli/services/hunyuan/v20230901/api.json +14 -14
- tccli/services/ims/v20201229/api.json +55 -55
- tccli/services/iotexplorer/iotexplorer_client.py +53 -0
- tccli/services/iotexplorer/v20190423/api.json +90 -1
- tccli/services/iotexplorer/v20190423/examples.json +8 -0
- tccli/services/iss/v20230517/api.json +36 -0
- tccli/services/lighthouse/v20200324/api.json +2 -2
- tccli/services/live/v20180801/api.json +7 -7
- tccli/services/lke/lke_client.py +8 -114
- tccli/services/lke/v20231130/api.json +70 -158
- tccli/services/lke/v20231130/examples.json +2 -18
- tccli/services/mariadb/v20170312/api.json +45 -2
- tccli/services/mariadb/v20170312/examples.json +2 -2
- tccli/services/ocr/v20181119/api.json +1 -1
- tccli/services/ssl/v20191205/api.json +50 -9
- tccli/services/tdid/v20210519/api.json +2 -2
- tccli/services/tdmq/v20200217/api.json +64 -25
- tccli/services/tdmq/v20200217/examples.json +2 -2
- tccli/services/teo/v20220901/api.json +14 -14
- tccli/services/tione/v20211111/api.json +28 -0
- tccli/services/trtc/v20190722/api.json +34 -15
- tccli/services/vpc/v20170312/api.json +20 -5
- tccli/services/vpc/v20170312/examples.json +2 -2
- tccli/services/weilingwith/v20230427/api.json +11 -11
- {tccli-3.0.1096.1.dist-info → tccli-3.0.1098.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1096.1.dist-info → tccli-3.0.1098.1.dist-info}/RECORD +81 -69
- {tccli-3.0.1096.1.dist-info → tccli-3.0.1098.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1096.1.dist-info → tccli-3.0.1098.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1096.1.dist-info → tccli-3.0.1098.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1098.1'
|
@@ -0,0 +1,30 @@
|
|
1
|
+
**Example 1: 成功**
|
2
|
+
|
3
|
+
成功请求
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli aiart QueryDrawPortraitJob --cli-unfold-argument \
|
9
|
+
--JobId abc
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"JobErrorCode": "",
|
17
|
+
"JobErrorMsg": "",
|
18
|
+
"JobStatusCode": "DONE",
|
19
|
+
"JobStatusMsg": "处理完成",
|
20
|
+
"RequestId": "9202070d-02bd-4848-bf54-568a2597e400",
|
21
|
+
"ResultDetails": [
|
22
|
+
"SUCCESS"
|
23
|
+
],
|
24
|
+
"ResultUrls": [
|
25
|
+
"https://xxx.com/a.jpg"
|
26
|
+
]
|
27
|
+
}
|
28
|
+
}
|
29
|
+
```
|
30
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
**Example 1: 查询成功**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli aiart QueryTrainPortraitModelJob --cli-unfold-argument \
|
9
|
+
--ModelId abc
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"JobErrorCode": "",
|
17
|
+
"JobErrorMsg": "",
|
18
|
+
"JobStatusCode": "DONE",
|
19
|
+
"JobStatusMsg": "处理完成",
|
20
|
+
"RequestId": "d643c325-5fe6-4d90-880c-40516ad27f8e"
|
21
|
+
}
|
22
|
+
}
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
**Example 1: 成功**
|
2
|
+
|
3
|
+
调用成功
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli aiart SubmitDrawPortraitJob --cli-unfold-argument \
|
9
|
+
--ModelId test \
|
10
|
+
--StyleId zhengjian_female \
|
11
|
+
--ImageNum 1
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"JobId": "abcdefg",
|
19
|
+
"RequestId": "94b5192b-b40b-4f0c-b4f8-edfa7092f8b9"
|
20
|
+
}
|
21
|
+
}
|
22
|
+
```
|
23
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
**Example 1: 成功**
|
2
|
+
|
3
|
+
成功调用上传
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli aiart UploadTrainPortraitImages --cli-unfold-argument \
|
9
|
+
--ModelId test \
|
10
|
+
--BaseUrl https://xxx.com/xxx.jpg \
|
11
|
+
--Urls https://xxx.com/yyy.jpg
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"RequestId": "948182a1-e669-42f8-a00e-fa9f5b7d287a",
|
19
|
+
"ResultDetails": [
|
20
|
+
"SUCCESS"
|
21
|
+
]
|
22
|
+
}
|
23
|
+
}
|
24
|
+
```
|
25
|
+
|
@@ -0,0 +1,103 @@
|
|
1
|
+
**Example 1: 查询应用配置信息**
|
2
|
+
|
3
|
+
查询指定实例下应用的配置信息
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli apm DescribeGeneralApmApplicationConfig --cli-unfold-argument \
|
9
|
+
--InstanceId apm-6xYKFXYxo \
|
10
|
+
--ServiceName java-order-service
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"ApmApplicationConfigView": {
|
18
|
+
"InstanceKey": "apm-059oXBfTL",
|
19
|
+
"ServiceName": "profile-service",
|
20
|
+
"OperationNameFilter": "",
|
21
|
+
"ExceptionFilter": "",
|
22
|
+
"ErrorCodeFilter": "",
|
23
|
+
"EventEnable": false,
|
24
|
+
"UrlConvergenceSwitch": 1,
|
25
|
+
"UrlConvergenceThreshold": 500,
|
26
|
+
"UrlConvergence": "RPCServer/market.MarketService2/(.*?)",
|
27
|
+
"UrlExclude": "",
|
28
|
+
"IsRelatedLog": 0,
|
29
|
+
"LogSource": "CLS",
|
30
|
+
"LogSet": "",
|
31
|
+
"LogTopicID": "",
|
32
|
+
"SnapshotEnable": true,
|
33
|
+
"SnapshotTimeout": 2000,
|
34
|
+
"AgentEnable": true,
|
35
|
+
"InstrumentList": [
|
36
|
+
{
|
37
|
+
"Name": "dubbo",
|
38
|
+
"Enable": true
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"Name": "googlehttpclient",
|
42
|
+
"Enable": true
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"Name": "grpc",
|
46
|
+
"Enable": true
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"Name": "httpclient3",
|
50
|
+
"Enable": true
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"Name": "httpclient4",
|
54
|
+
"Enable": true
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"Name": "hystrix",
|
58
|
+
"Enable": true
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"Name": "lettuce",
|
62
|
+
"Enable": true
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"Name": "mongodb",
|
66
|
+
"Enable": true
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"Name": "mybatis",
|
70
|
+
"Enable": true
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"Name": "mysql",
|
74
|
+
"Enable": true
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"Name": "okhttp",
|
78
|
+
"Enable": true
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"Name": "redis",
|
82
|
+
"Enable": true
|
83
|
+
},
|
84
|
+
{
|
85
|
+
"Name": "rxjava",
|
86
|
+
"Enable": true
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"Name": "spring-webmvc",
|
90
|
+
"Enable": true
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"Name": "tomcat",
|
94
|
+
"Enable": true
|
95
|
+
}
|
96
|
+
],
|
97
|
+
"TraceSquash": true
|
98
|
+
},
|
99
|
+
"RequestId": "test-test-test0980990"
|
100
|
+
}
|
101
|
+
}
|
102
|
+
```
|
103
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
**Example 1: 查询维度数据**
|
2
|
+
|
3
|
+
根据维度列名和过滤条件,查询维度值
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli apm DescribeTagValues --cli-unfold-argument \
|
9
|
+
--Filters.0.Key service.instance \
|
10
|
+
--Filters.0.Type = \
|
11
|
+
--Filters.0.Value 127.0.0.1 \
|
12
|
+
--TagKey servier.name
|
13
|
+
```
|
14
|
+
|
15
|
+
Output:
|
16
|
+
```
|
17
|
+
{
|
18
|
+
"Response": {
|
19
|
+
"RequestId": "apz12zicapy-eqixuc-uehq346v59c62",
|
20
|
+
"Values": [
|
21
|
+
"sso-api",
|
22
|
+
"auth-api"
|
23
|
+
]
|
24
|
+
}
|
25
|
+
}
|
26
|
+
```
|
27
|
+
|
@@ -0,0 +1,29 @@
|
|
1
|
+
**Example 1: 修改应用配置信息**
|
2
|
+
|
3
|
+
客户希望可以通过Api批量修改应用的配置信息
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli apm ModifyGeneralApmApplicationConfig --cli-unfold-argument \
|
9
|
+
--Tags.0.Key UrlConvergence \
|
10
|
+
--Tags.0.Value RPCServer/market.MarketServiceleetcode9(.*?) \
|
11
|
+
--Tags.1.Key UrlConvergenceThreshold \
|
12
|
+
--Tags.1.Value 600 \
|
13
|
+
--Tags.2.Key UrlConvergenceSwitch \
|
14
|
+
--Tags.2.Value 1 \
|
15
|
+
--Tags.3.Key AgentEnable \
|
16
|
+
--Tags.3.Value true \
|
17
|
+
--ServiceNames stock-service profile-service28 profile-service08 \
|
18
|
+
--InstanceId apm-059oXBfTL
|
19
|
+
```
|
20
|
+
|
21
|
+
Output:
|
22
|
+
```
|
23
|
+
{
|
24
|
+
"Response": {
|
25
|
+
"RequestId": "test-test-test0980990"
|
26
|
+
}
|
27
|
+
}
|
28
|
+
```
|
29
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
**Example 1: 修改密码**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli ccc ModifyStaffPassword --cli-unfold-argument \
|
9
|
+
--SdkAppId 1600000000 \
|
10
|
+
--Email a@qq.com \
|
11
|
+
--Password foobar
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"RequestId": "abc"
|
19
|
+
}
|
20
|
+
}
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,176 @@
|
|
1
|
+
**Example 1: 告警中心全量告警示例**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli csip DescribeAlertList --cli-unfold-argument \
|
9
|
+
--MemberId abc \
|
10
|
+
--OperatedMemberId abc \
|
11
|
+
--AssetType 0 \
|
12
|
+
--Filter.Limit 0 \
|
13
|
+
--Filter.Offset 0 \
|
14
|
+
--Filter.Order abc \
|
15
|
+
--Filter.By abc \
|
16
|
+
--Filter.Filters.0.Name abc \
|
17
|
+
--Filter.Filters.0.Values abc \
|
18
|
+
--Filter.Filters.0.OperatorType 0 \
|
19
|
+
--Filter.StartTime abc \
|
20
|
+
--Filter.EndTime abc
|
21
|
+
```
|
22
|
+
|
23
|
+
Output:
|
24
|
+
```
|
25
|
+
{
|
26
|
+
"Response": {
|
27
|
+
"AlertList": [
|
28
|
+
{
|
29
|
+
"ID": "abc",
|
30
|
+
"Name": "abc",
|
31
|
+
"Source": "abc",
|
32
|
+
"Level": 1,
|
33
|
+
"Attacker": {
|
34
|
+
"IP": "abc",
|
35
|
+
"HostIP": "abc",
|
36
|
+
"Port": 1,
|
37
|
+
"InstanceID": "abc",
|
38
|
+
"City": "abc",
|
39
|
+
"Province": "abc",
|
40
|
+
"Country": "abc",
|
41
|
+
"Address": "abc",
|
42
|
+
"Latitude": "abc",
|
43
|
+
"Longitude": "abc",
|
44
|
+
"Info": "abc",
|
45
|
+
"Domain": "abc",
|
46
|
+
"Name": "abc",
|
47
|
+
"Account": "abc",
|
48
|
+
"Family": "abc",
|
49
|
+
"VirusName": "abc",
|
50
|
+
"MD5": "abc",
|
51
|
+
"FileName": "abc"
|
52
|
+
},
|
53
|
+
"Victim": {
|
54
|
+
"IP": "abc",
|
55
|
+
"HostIP": "abc",
|
56
|
+
"Port": 1,
|
57
|
+
"InstanceID": "abc",
|
58
|
+
"City": "abc",
|
59
|
+
"Province": "abc",
|
60
|
+
"Country": "abc",
|
61
|
+
"Address": "abc",
|
62
|
+
"Latitude": "abc",
|
63
|
+
"Longitude": "abc",
|
64
|
+
"Info": "abc",
|
65
|
+
"Domain": "abc",
|
66
|
+
"Name": "abc",
|
67
|
+
"Account": "abc",
|
68
|
+
"Family": "abc",
|
69
|
+
"VirusName": "abc",
|
70
|
+
"MD5": "abc",
|
71
|
+
"FileName": "abc"
|
72
|
+
},
|
73
|
+
"EvidenceData": "abc",
|
74
|
+
"EvidenceLocation": "abc",
|
75
|
+
"EvidencePath": "abc",
|
76
|
+
"CreateTime": "abc",
|
77
|
+
"UpdateTime": "abc",
|
78
|
+
"Count": 1,
|
79
|
+
"UrgentSuggestion": "abc",
|
80
|
+
"RemediationSuggestion": "abc",
|
81
|
+
"RiskInvestigation": "abc",
|
82
|
+
"RiskTreatment": "abc",
|
83
|
+
"Status": 1,
|
84
|
+
"ProcessType": "abc",
|
85
|
+
"Type": "abc",
|
86
|
+
"SubType": "abc",
|
87
|
+
"ExtraInfo": {
|
88
|
+
"RelateEvent": {
|
89
|
+
"EventID": "abc",
|
90
|
+
"Description": "abc",
|
91
|
+
"RelatedCount": 0
|
92
|
+
},
|
93
|
+
"LeakContent": "abc",
|
94
|
+
"LeakAPI": "abc",
|
95
|
+
"SecretID": "abc",
|
96
|
+
"Rule": "abc",
|
97
|
+
"RuleDesc": "abc",
|
98
|
+
"ProtocolPort": "abc",
|
99
|
+
"AttackContent": "abc",
|
100
|
+
"AttackIPProfile": "abc",
|
101
|
+
"AttackIPTags": "abc",
|
102
|
+
"RequestMethod": "abc",
|
103
|
+
"HttpLog": "abc",
|
104
|
+
"AttackDomain": "abc",
|
105
|
+
"FilePath": "abc",
|
106
|
+
"UserAgent": "abc",
|
107
|
+
"RequestHeaders": "abc",
|
108
|
+
"LoginUserName": "abc",
|
109
|
+
"VulnerabilityName": "abc",
|
110
|
+
"CVE": "abc",
|
111
|
+
"ServiceProcess": "abc",
|
112
|
+
"FileName": "abc",
|
113
|
+
"FileSize": "abc",
|
114
|
+
"FileMD5": "abc",
|
115
|
+
"FileLastAccessTime": "abc",
|
116
|
+
"FileModifyTime": "abc",
|
117
|
+
"RecentAccessTime": "abc",
|
118
|
+
"RecentModifyTime": "abc",
|
119
|
+
"VirusName": "abc",
|
120
|
+
"VirusFileTags": "abc",
|
121
|
+
"BehavioralCharacteristics": "abc",
|
122
|
+
"ProcessNamePID": "abc",
|
123
|
+
"ProcessPath": "abc",
|
124
|
+
"ProcessCommandLine": "abc",
|
125
|
+
"ProcessPermissions": "abc",
|
126
|
+
"ExecutedCommand": "abc",
|
127
|
+
"AffectedFileName": "abc",
|
128
|
+
"DecoyPath": "abc",
|
129
|
+
"MaliciousProcessFileSize": "abc",
|
130
|
+
"MaliciousProcessFileMD5": "abc",
|
131
|
+
"MaliciousProcessNamePID": "abc",
|
132
|
+
"MaliciousProcessPath": "abc",
|
133
|
+
"MaliciousProcessStartTime": "abc",
|
134
|
+
"CommandContent": "abc",
|
135
|
+
"StartupUser": "abc",
|
136
|
+
"UserGroup": "abc",
|
137
|
+
"NewPermissions": "abc",
|
138
|
+
"ParentProcess": "abc",
|
139
|
+
"ClassName": "abc",
|
140
|
+
"ClassLoader": "abc",
|
141
|
+
"ClassFileSize": "abc",
|
142
|
+
"ClassFileMD5": "abc",
|
143
|
+
"ParentClassName": "abc",
|
144
|
+
"InheritedInterface": "abc",
|
145
|
+
"Comment": "abc",
|
146
|
+
"PayloadContent": "abc",
|
147
|
+
"CallbackAddressPortrait": "abc",
|
148
|
+
"CallbackAddressTag": "abc",
|
149
|
+
"ProcessMD5": "abc",
|
150
|
+
"FilePermission": "abc",
|
151
|
+
"HitProbe": "abc",
|
152
|
+
"HitHoneyPot": "abc",
|
153
|
+
"CommandList": "abc",
|
154
|
+
"AttackEventDesc": "abc",
|
155
|
+
"ProcessInfo": "abc",
|
156
|
+
"UserNameAndPwd": "abc"
|
157
|
+
},
|
158
|
+
"Key": "abc",
|
159
|
+
"Date": "abc",
|
160
|
+
"AppID": "abc",
|
161
|
+
"NickName": "abc",
|
162
|
+
"Uin": "abc"
|
163
|
+
}
|
164
|
+
],
|
165
|
+
"AlertTypeCount": [
|
166
|
+
{
|
167
|
+
"Name": "abc",
|
168
|
+
"Count": 1
|
169
|
+
}
|
170
|
+
],
|
171
|
+
"TotalCount": 1,
|
172
|
+
"RequestId": "abc"
|
173
|
+
}
|
174
|
+
}
|
175
|
+
```
|
176
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
**Example 1: 修改实例小版本升级限制时间**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli cynosdb ModifyInstanceUpgradeLimitDays --cli-unfold-argument \
|
9
|
+
--ClusterId abc \
|
10
|
+
--InstanceId abc \
|
11
|
+
--UpgradeLimitDays 30
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"RequestId": "abc"
|
19
|
+
}
|
20
|
+
}
|
21
|
+
```
|
22
|
+
|
@@ -90,10 +90,11 @@ Output:
|
|
90
90
|
"Zone": "ap-guangzhou-1",
|
91
91
|
"ResourceTags": [
|
92
92
|
{
|
93
|
-
"TagKey": "
|
94
|
-
"TagValue": "
|
93
|
+
"TagKey": "name",
|
94
|
+
"TagValue": "liu"
|
95
95
|
}
|
96
|
-
]
|
96
|
+
],
|
97
|
+
"DbVersionId": "8.0"
|
97
98
|
}
|
98
99
|
],
|
99
100
|
"RequestId": "a44a3d24-1e71-4bbf-bc22-f6d583b084d8",
|
@@ -92,3 +92,31 @@ Output:
|
|
92
92
|
}
|
93
93
|
```
|
94
94
|
|
95
|
+
**Example 4: 生成动态签署人批量领取链接**
|
96
|
+
|
97
|
+
按照合同发起时候返回的合同信息生成批量签署链接,通过FlowIds参数对用户可以批签的合同进行限制,并指定批量领取的动态签署方。
|
98
|
+
|
99
|
+
Input:
|
100
|
+
|
101
|
+
```
|
102
|
+
tccli ess CreateBatchSignUrl --cli-unfold-argument \
|
103
|
+
--Operator.UserId yDRCLUUgygq2******uO4zjEwg0vjoimj \
|
104
|
+
--FlowIds yDwFdUUckpsw******yQ0af8bHosXQtb yDR1AUUgygj******uO4zjE8gTG7xvgH \
|
105
|
+
--FlowBatchUrlInfo.FlowBatchApproverInfos.0.FlowId yDwFdUUckpsw******yQ0af8bHosXQtb \
|
106
|
+
--FlowBatchUrlInfo.FlowBatchApproverInfos.0.RecipientId yDC5SUUckp******sumxxsjT3EEMVG \
|
107
|
+
--FlowBatchUrlInfo.FlowBatchApproverInfos.1.FlowId yDR1AUUgygj******uO4zjE8gTG7xvgH \
|
108
|
+
--FlowBatchUrlInfo.FlowBatchApproverInfos.1.RecipientId yDC5SUUckp*****sumxEeTQ3Xcn0B
|
109
|
+
```
|
110
|
+
|
111
|
+
Output:
|
112
|
+
```
|
113
|
+
{
|
114
|
+
"Response": {
|
115
|
+
"ExpiredTime": 1714533495,
|
116
|
+
"MiniAppPath": "pages/guide/index?shortKey=yDC5tUf****tMb93lb5",
|
117
|
+
"RequestId": "s1713928695416440124",
|
118
|
+
"SignUrl": "https://test.essurl.cn/uBS****do7"
|
119
|
+
}
|
120
|
+
}
|
121
|
+
```
|
122
|
+
|
@@ -97,3 +97,31 @@ Output:
|
|
97
97
|
}
|
98
98
|
```
|
99
99
|
|
100
|
+
**Example 4: 生成动态签署人批量领取链接**
|
101
|
+
|
102
|
+
按照合同发起时候返回的合同信息生成批量签署链接,通过FlowIds参数对用户可以批签的合同进行限制,并指定批量领取的动态签署方。
|
103
|
+
|
104
|
+
Input:
|
105
|
+
|
106
|
+
```
|
107
|
+
tccli essbasic ChannelCreateBatchSignUrl --cli-unfold-argument \
|
108
|
+
--Agent.ProxyOperator.OpenId test_open_id \
|
109
|
+
--Agent.ProxyOrganizationOpenId test_org_open_id \
|
110
|
+
--Agent.AppId yDxbWUyKQ*******4zjEB8mxCcDjAyF \
|
111
|
+
--FlowIds yDwFdUUckpsw******yQ0af8bHosXQtb yDR1AUUgygj******uO4zjE8gTG7xvgH \
|
112
|
+
--FlowBatchUrlInfo.FlowBatchApproverInfos.0.FlowId yDC5yUUckpwexoz4UuoHfkT1DMEDQSG5 \
|
113
|
+
--FlowBatchUrlInfo.FlowBatchApproverInfos.0.RecipientId yDC5yUUckpwexozwUuoHfkTwB00zdfLo
|
114
|
+
```
|
115
|
+
|
116
|
+
Output:
|
117
|
+
```
|
118
|
+
{
|
119
|
+
"Response": {
|
120
|
+
"ExpiredTime": 1684899114,
|
121
|
+
"RequestId": "5beb5f54-cf3d-4c26-a4ee-a97c85196a3e",
|
122
|
+
"SignUrl": "https://ess.url.cn/FuP**Swc",
|
123
|
+
"MiniAppPath": "pages/guide/index?shortKey=FuP3**wc"
|
124
|
+
}
|
125
|
+
}
|
126
|
+
```
|
127
|
+
|
@@ -0,0 +1,33 @@
|
|
1
|
+
**Example 1: 获取设备固件信息**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli iotexplorer DescribeDeviceFirmwares --cli-unfold-argument \
|
9
|
+
--ProductId xx \
|
10
|
+
--DeviceName xx
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"RequestId": "ef9ec631-7337-481b-a6c3-59a34b5f8502",
|
18
|
+
"Firmwares": [
|
19
|
+
{
|
20
|
+
"UpdateTime": 1653893719,
|
21
|
+
"FwType": "mcu",
|
22
|
+
"Version": "mm_3.0"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"UpdateTime": 1653893651,
|
26
|
+
"FwType": "module",
|
27
|
+
"Version": "module_v1.0.3"
|
28
|
+
}
|
29
|
+
]
|
30
|
+
}
|
31
|
+
}
|
32
|
+
```
|
33
|
+
|
@@ -17,7 +17,10 @@ Output:
|
|
17
17
|
"Reason": "",
|
18
18
|
"RequestId": "acd2b5f3-350f-4171-92be-e1c70f3e73d7",
|
19
19
|
"Status": "success",
|
20
|
-
"Url": "https://qidian-qbot-test-1251316161.cos.ap-guangzhou.myqcloud.com/%2Fatomic/2/D78iBBGi.zip?q-sign-algorithm=sha1&q-ak=xxxxxxxxx&q-sign-time=1706792626%3B1706796226&q-key-time=1706792626%3B1706796226&q-header-list=host&q-url-param-list=&q-signature=e3d46a97846b256ff89f3698*******************"
|
20
|
+
"Url": "https://qidian-qbot-test-1251316161.cos.ap-guangzhou.myqcloud.com/%2Fatomic/2/D78iBBGi.zip?q-sign-algorithm=sha1&q-ak=xxxxxxxxx&q-sign-time=1706792626%3B1706796226&q-key-time=1706792626%3B1706796226&q-header-list=host&q-url-param-list=&q-signature=e3d46a97846b256ff89f3698*******************",
|
21
|
+
"Usage": {
|
22
|
+
"TotalPages": 1
|
23
|
+
}
|
21
24
|
}
|
22
25
|
}
|
23
26
|
```
|
@@ -18,7 +18,12 @@ Output:
|
|
18
18
|
{
|
19
19
|
"Response": {
|
20
20
|
"Content": "你家在国内哪里?",
|
21
|
-
"RequestId": "4de60215-13cd-4f90-afc4-9fe4ef63e245"
|
21
|
+
"RequestId": "4de60215-13cd-4f90-afc4-9fe4ef63e245",
|
22
|
+
"Usage": {
|
23
|
+
"InputTokens": 45,
|
24
|
+
"OutputTokens": 6,
|
25
|
+
"TotalTokens": 51
|
26
|
+
}
|
22
27
|
}
|
23
28
|
}
|
24
29
|
```
|