tccli 3.0.896.1__py2.py3-none-any.whl → 3.0.898.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/CreateDatabase.md +22 -0
- tccli/examples/cdn/v20180606/ModifyDomainConfig.md +88 -0
- tccli/examples/ckafka/v20190819/CreatePostPaidInstance.md +154 -0
- tccli/examples/cynosdb/v20190107/DescribeProxySpecs.md +56 -0
- tccli/examples/cynosdb/v20190107/DescribeSupportProxyVersion.md +24 -0
- tccli/examples/ess/v20201111/CreateFlowApprovers.md +3 -1
- tccli/examples/ess/v20201111/DescribeThirdPartyAuthCode.md +1 -1
- tccli/examples/postgres/v20170312/CreateReadOnlyDBInstance.md +1 -1
- tccli/examples/postgres/v20170312/UpgradeDBInstanceKernelVersion.md +1 -1
- tccli/examples/sqlserver/v20180328/DescribeDBInstancesAttribute.md +6 -1
- tccli/examples/sqlserver/v20180328/DescribeDBs.md +1 -1
- tccli/examples/tdmq/v20200217/CreateCmqQueue.md +2 -2
- tccli/examples/tke/v20180525/CreateClusterEndpointVip.md +1 -1
- tccli/examples/trp/v20210515/CreateCodeBatch.md +11 -5
- tccli/examples/trp/v20210515/DescribeScanLogs.md +1 -1
- tccli/examples/trp/v20210515/DescribeTraceCodeById.md +16 -11
- tccli/examples/trp/v20210515/ModifyCodeBatch.md +3 -3
- tccli/examples/vod/v20180717/CreateQualityInspectTemplate.md +24 -0
- tccli/examples/vod/v20180717/DeleteQualityInspectTemplate.md +20 -0
- tccli/examples/vod/v20180717/DescribeQualityInspectTemplates.md +44 -0
- tccli/examples/vod/v20180717/DescribeTaskDetail.md +4 -0
- tccli/examples/vod/v20180717/InspectMediaQuality.md +22 -0
- tccli/examples/vod/v20180717/ModifyQualityInspectTemplate.md +21 -0
- tccli/examples/yinsuda/v20220527/DescribeKTVMusicAccompanySegmentUrl.md +70 -0
- tccli/services/cdb/cdb_client.py +57 -4
- tccli/services/cdb/v20170320/api.json +52 -0
- tccli/services/cdb/v20170320/examples.json +8 -0
- tccli/services/cdn/cdn_client.py +57 -4
- tccli/services/cdn/v20180606/api.json +52 -0
- tccli/services/cdn/v20180606/examples.json +26 -0
- tccli/services/ckafka/ckafka_client.py +61 -8
- tccli/services/ckafka/v20190819/api.json +303 -7
- tccli/services/ckafka/v20190819/examples.json +20 -0
- tccli/services/clb/v20180317/api.json +3 -1
- tccli/services/cynosdb/cynosdb_client.py +106 -0
- tccli/services/cynosdb/v20190107/api.json +134 -0
- tccli/services/cynosdb/v20190107/examples.json +22 -0
- tccli/services/emr/v20190103/api.json +6 -2
- tccli/services/ess/v20201111/api.json +42 -11
- tccli/services/ess/v20201111/examples.json +3 -3
- tccli/services/essbasic/v20210526/api.json +27 -1
- tccli/services/ocr/v20181119/api.json +4 -2
- tccli/services/postgres/v20170312/api.json +2 -31
- tccli/services/postgres/v20170312/examples.json +2 -2
- tccli/services/sqlserver/v20180328/api.json +72 -15
- tccli/services/sqlserver/v20180328/examples.json +3 -3
- tccli/services/tbaas/tbaas_client.py +4 -322
- tccli/services/tbaas/v20180416/api.json +108 -810
- tccli/services/tbaas/v20180416/examples.json +0 -48
- tccli/services/tbp/v20190311/api.json +10 -10
- tccli/services/tdid/tdid_client.py +67 -1551
- tccli/services/tdid/v20210519/api.json +331 -3504
- tccli/services/tdid/v20210519/examples.json +0 -224
- tccli/services/tdmq/v20200217/api.json +2 -19
- tccli/services/tdmq/v20200217/examples.json +2 -2
- tccli/services/tione/v20211111/api.json +24 -2
- tccli/services/tke/v20180525/api.json +4 -6
- tccli/services/tke/v20180525/examples.json +2 -2
- tccli/services/trp/v20210515/api.json +285 -113
- tccli/services/trp/v20210515/examples.json +6 -6
- tccli/services/vod/v20180717/api.json +1346 -2
- tccli/services/vod/v20180717/examples.json +44 -4
- tccli/services/vod/vod_client.py +287 -22
- tccli/services/yinsuda/v20220527/api.json +159 -0
- tccli/services/yinsuda/v20220527/examples.json +14 -0
- tccli/services/yinsuda/yinsuda_client.py +53 -0
- {tccli-3.0.896.1.dist-info → tccli-3.0.898.1.dist-info}/METADATA +2 -2
- {tccli-3.0.896.1.dist-info → tccli-3.0.898.1.dist-info}/RECORD +72 -61
- {tccli-3.0.896.1.dist-info → tccli-3.0.898.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.896.1.dist-info → tccli-3.0.898.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.896.1.dist-info → tccli-3.0.898.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.898.1'
|
@@ -0,0 +1,22 @@
|
|
1
|
+
**Example 1: 创建数据库**
|
2
|
+
|
3
|
+
创建数据库
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli cdb CreateDatabase --cli-unfold-argument \
|
9
|
+
--InstanceId abc \
|
10
|
+
--DBName db_test \
|
11
|
+
--CharacterSetName utf8
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"RequestId": "abc"
|
19
|
+
}
|
20
|
+
}
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,88 @@
|
|
1
|
+
**Example 1: 更新 HTTPS 服务器证书 ID(在 SSL 证书管理进行证书托管时自动生成)**
|
2
|
+
|
3
|
+
更新 HTTPS 服务器证书 ID(在 SSL 证书管理进行证书托管时自动生成)
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli cdn ModifyDomainConfig --cli-unfold-argument \
|
9
|
+
--Domain www.test.com \
|
10
|
+
--Route Https.CertInfo.CertId \
|
11
|
+
--Value {"update":"0VpOXiPz"}
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"RequestId": "56a166ec-d784-4001-a850-7d62a5c07971"
|
19
|
+
}
|
20
|
+
}
|
21
|
+
```
|
22
|
+
|
23
|
+
**Example 2: 更新域名回源建连超时时间**
|
24
|
+
|
25
|
+
更新域名回源建连超时时间
|
26
|
+
|
27
|
+
Input:
|
28
|
+
|
29
|
+
```
|
30
|
+
tccli cdn ModifyDomainConfig --cli-unfold-argument \
|
31
|
+
--Domain www.test.com \
|
32
|
+
--Route OriginPullTimeout.ConnectTimeout \
|
33
|
+
--Value {"update":10}
|
34
|
+
```
|
35
|
+
|
36
|
+
Output:
|
37
|
+
```
|
38
|
+
{
|
39
|
+
"Response": {
|
40
|
+
"RequestId": "23cd4005-496f-4bc4-87d8-ab348d5b0c11"
|
41
|
+
}
|
42
|
+
}
|
43
|
+
```
|
44
|
+
|
45
|
+
**Example 3: 更新域名回源超时配置**
|
46
|
+
|
47
|
+
更新域名回源超时配置
|
48
|
+
|
49
|
+
Input:
|
50
|
+
|
51
|
+
```
|
52
|
+
tccli cdn ModifyDomainConfig --cli-unfold-argument \
|
53
|
+
--Domain www.test.com \
|
54
|
+
--Route OriginPullTimeout \
|
55
|
+
--Value {"update":{"ConnectTimeout":10,"ReceiveTimeout":10}}
|
56
|
+
```
|
57
|
+
|
58
|
+
Output:
|
59
|
+
```
|
60
|
+
{
|
61
|
+
"Response": {
|
62
|
+
"RequestId": "23cd4005-496f-4bc4-87d8-ab348d5b0c21"
|
63
|
+
}
|
64
|
+
}
|
65
|
+
```
|
66
|
+
|
67
|
+
**Example 4: 更新域名源站配置**
|
68
|
+
|
69
|
+
更新域名源站配置
|
70
|
+
|
71
|
+
Input:
|
72
|
+
|
73
|
+
```
|
74
|
+
tccli cdn ModifyDomainConfig --cli-unfold-argument \
|
75
|
+
--Domain www.test.com \
|
76
|
+
--Route Origin.Origins \
|
77
|
+
--Value {"update":["1.1.1.1"]}
|
78
|
+
```
|
79
|
+
|
80
|
+
Output:
|
81
|
+
```
|
82
|
+
{
|
83
|
+
"Response": {
|
84
|
+
"RequestId": "eb029ee0-7e91-4a18-86f3-7fac952a446e"
|
85
|
+
}
|
86
|
+
}
|
87
|
+
```
|
88
|
+
|
@@ -0,0 +1,154 @@
|
|
1
|
+
**Example 1: 创建后付费专业版实例**
|
2
|
+
|
3
|
+
创建硬盘大小 200GB,峰值带宽 20MB/s 的专业版后付费实例
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli ckafka CreatePostPaidInstance --cli-unfold-argument \
|
9
|
+
--InstanceName test55 \
|
10
|
+
--VpcId vpc-rmcgxxxx \
|
11
|
+
--SubnetId subnet-mnzcxxxx \
|
12
|
+
--ZoneId 450001 \
|
13
|
+
--InstanceType 1 \
|
14
|
+
--KafkaVersion 1.1.1 \
|
15
|
+
--SpecificationsType profession \
|
16
|
+
--DiskSize 200 \
|
17
|
+
--BandWidth 20 \
|
18
|
+
--Partition 400 \
|
19
|
+
--DiskType CLOUD_BASIC \
|
20
|
+
--PublicNetworkMonthly 0
|
21
|
+
```
|
22
|
+
|
23
|
+
Output:
|
24
|
+
```
|
25
|
+
{
|
26
|
+
"Response": {
|
27
|
+
"RequestId": "323c3bbe-db79-48c3-9b76-63aacd65b169",
|
28
|
+
"Result": {
|
29
|
+
"Data": {
|
30
|
+
"DealNameInstanceIdMapping": [
|
31
|
+
{
|
32
|
+
"DealName": "20230608002033899990000",
|
33
|
+
"InstanceIdList": [
|
34
|
+
"ckafka-mom5xxxx"
|
35
|
+
]
|
36
|
+
}
|
37
|
+
],
|
38
|
+
"DealNames": [
|
39
|
+
"2023060800203389990000"
|
40
|
+
],
|
41
|
+
"FlowId": 0,
|
42
|
+
"InstanceId": "ckafka-mom5xxxx"
|
43
|
+
},
|
44
|
+
"ReturnCode": "0",
|
45
|
+
"ReturnMessage": "ok[apply ok]"
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
```
|
50
|
+
|
51
|
+
**Example 2: 批量创建后付费专业版实例**
|
52
|
+
|
53
|
+
同时创建三个后付费专业版实例
|
54
|
+
|
55
|
+
Input:
|
56
|
+
|
57
|
+
```
|
58
|
+
tccli ckafka CreatePostPaidInstance --cli-unfold-argument \
|
59
|
+
--InstanceName test58 \
|
60
|
+
--VpcId vpc-rmcg5cpf \
|
61
|
+
--SubnetId subnet-mnzcs7gk \
|
62
|
+
--KafkaVersion 2.4.2 \
|
63
|
+
--SpecificationsType profession \
|
64
|
+
--BandWidth 20 \
|
65
|
+
--DiskSize 200 \
|
66
|
+
--Partition 400 \
|
67
|
+
--TopicNum 200 \
|
68
|
+
--ZoneId 450001 \
|
69
|
+
--InstanceNum 3 \
|
70
|
+
--PublicNetworkMonthly 12
|
71
|
+
```
|
72
|
+
|
73
|
+
Output:
|
74
|
+
```
|
75
|
+
{
|
76
|
+
"Response": {
|
77
|
+
"RequestId": "cda79237-6424-482a-b2d2-97d4853b33b4",
|
78
|
+
"Result": {
|
79
|
+
"Data": {
|
80
|
+
"DealNameInstanceIdMapping": [
|
81
|
+
{
|
82
|
+
"DealName": "20230608002033915320000",
|
83
|
+
"InstanceIdList": [
|
84
|
+
"ckafka-bz4dxxxx",
|
85
|
+
"ckafka-o9gdxxxx",
|
86
|
+
"ckafka-aj5gxxxx"
|
87
|
+
]
|
88
|
+
}
|
89
|
+
],
|
90
|
+
"DealNames": [
|
91
|
+
"20230608002033915320000"
|
92
|
+
],
|
93
|
+
"FlowId": 0,
|
94
|
+
"InstanceId": "ckafka-bz4dxxxx"
|
95
|
+
},
|
96
|
+
"ReturnCode": "0",
|
97
|
+
"ReturnMessage": "ok[apply ok]"
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
```
|
102
|
+
|
103
|
+
**Example 3: 创建后付费多可用区专业版实例**
|
104
|
+
|
105
|
+
创建一个三可用区的专业版实例
|
106
|
+
|
107
|
+
Input:
|
108
|
+
|
109
|
+
```
|
110
|
+
tccli ckafka CreatePostPaidInstance --cli-unfold-argument \
|
111
|
+
--InstanceName test55 \
|
112
|
+
--VpcId vpc-rmcgxxxx \
|
113
|
+
--SubnetId subnet-mnzcxxxx \
|
114
|
+
--ZoneId 450001 \
|
115
|
+
--InstanceType 1 \
|
116
|
+
--KafkaVersion 1.1.1 \
|
117
|
+
--SpecificationsType profession \
|
118
|
+
--DiskSize 200 \
|
119
|
+
--BandWidth 20 \
|
120
|
+
--Partition 400 \
|
121
|
+
--DiskType CLOUD_BASIC \
|
122
|
+
--PublicNetworkMonthly 0 \
|
123
|
+
--MultiZoneFlag True \
|
124
|
+
--ZoneIds 450001 450002 450003
|
125
|
+
```
|
126
|
+
|
127
|
+
Output:
|
128
|
+
```
|
129
|
+
{
|
130
|
+
"Response": {
|
131
|
+
"RequestId": "323c3bbe-db79-48c3-9b76-63aacd65b169",
|
132
|
+
"Result": {
|
133
|
+
"Data": {
|
134
|
+
"DealNameInstanceIdMapping": [
|
135
|
+
{
|
136
|
+
"DealName": "20230608002033899990000",
|
137
|
+
"InstanceIdList": [
|
138
|
+
"ckafka-mom5xxxx"
|
139
|
+
]
|
140
|
+
}
|
141
|
+
],
|
142
|
+
"DealNames": [
|
143
|
+
"2023060800203389990000"
|
144
|
+
],
|
145
|
+
"FlowId": 0,
|
146
|
+
"InstanceId": "ckafka-mom5xxxx"
|
147
|
+
},
|
148
|
+
"ReturnCode": "0",
|
149
|
+
"ReturnMessage": "ok[apply ok]"
|
150
|
+
}
|
151
|
+
}
|
152
|
+
}
|
153
|
+
```
|
154
|
+
|
@@ -0,0 +1,56 @@
|
|
1
|
+
**Example 1: 查询数据库代理规格**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli cynosdb DescribeProxySpecs --cli-unfold-argument ```
|
9
|
+
|
10
|
+
Output:
|
11
|
+
```
|
12
|
+
{
|
13
|
+
"Response": {
|
14
|
+
"ProxySpecs": [
|
15
|
+
{
|
16
|
+
"Mem": 0,
|
17
|
+
"Cpu": 0
|
18
|
+
}
|
19
|
+
],
|
20
|
+
"RequestId": "request-756112"
|
21
|
+
}
|
22
|
+
}
|
23
|
+
```
|
24
|
+
|
25
|
+
**Example 2: 查询proxy规格**
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
Input:
|
30
|
+
|
31
|
+
```
|
32
|
+
tccli cynosdb DescribeProxySpecs --cli-unfold-argument ```
|
33
|
+
|
34
|
+
Output:
|
35
|
+
```
|
36
|
+
{
|
37
|
+
"Response": {
|
38
|
+
"ProxySpecs": [
|
39
|
+
{
|
40
|
+
"Cpu": 2,
|
41
|
+
"Mem": 4000
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"Cpu": 4,
|
45
|
+
"Mem": 8000
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"Cpu": 8,
|
49
|
+
"Mem": 16000
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"RequestId": "f4479b74-e428-40d9-a81f-e34cac00ae70"
|
53
|
+
}
|
54
|
+
}
|
55
|
+
```
|
56
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
**Example 1: 查询支持的数据库代理版本**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli cynosdb DescribeSupportProxyVersion --cli-unfold-argument \
|
9
|
+
--ClusterId xx
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"SupportProxyVersions": [
|
17
|
+
"xx"
|
18
|
+
],
|
19
|
+
"CurrentProxyVersion": "0.0",
|
20
|
+
"RequestId": "xx"
|
21
|
+
}
|
22
|
+
}
|
23
|
+
```
|
24
|
+
|
@@ -1,6 +1,6 @@
|
|
1
1
|
**Example 1: 查询实例mssql-j8kv137v的附属属性**
|
2
2
|
|
3
|
-
|
3
|
+
查询实例附属属性
|
4
4
|
|
5
5
|
Input:
|
6
6
|
|
@@ -21,6 +21,11 @@ Output:
|
|
21
21
|
"RegularBackupStrategy": "months",
|
22
22
|
"RegularBackupStartTime": "2022-10-10",
|
23
23
|
"EventSaveDays": 0,
|
24
|
+
"TDEConfig": {
|
25
|
+
"Encryption": "disable",
|
26
|
+
"CertificateAttribution": "self",
|
27
|
+
"QuoteUin": ""
|
28
|
+
},
|
24
29
|
"BlockedThreshold": 6
|
25
30
|
}
|
26
31
|
}
|
@@ -6,18 +6,24 @@ Input:
|
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli trp CreateCodeBatch --cli-unfold-argument \
|
9
|
-
--
|
9
|
+
--MerchantId abc \
|
10
|
+
--ProductId abc \
|
10
11
|
--BatchType 1 \
|
11
|
-
--
|
12
|
-
--
|
12
|
+
--BatchId abc \
|
13
|
+
--Remark abc \
|
14
|
+
--MpTpl abc \
|
15
|
+
--CloneId abc \
|
16
|
+
--BatchCode abc \
|
17
|
+
--ValidDate abc \
|
18
|
+
--ProductionDate abc
|
13
19
|
```
|
14
20
|
|
15
21
|
Output:
|
16
22
|
```
|
17
23
|
{
|
18
24
|
"Response": {
|
19
|
-
"BatchId": "
|
20
|
-
"RequestId": "
|
25
|
+
"BatchId": "abc",
|
26
|
+
"RequestId": "abc"
|
21
27
|
}
|
22
28
|
}
|
23
29
|
```
|
@@ -14,19 +14,24 @@ Output:
|
|
14
14
|
{
|
15
15
|
"Response": {
|
16
16
|
"TraceCode": {
|
17
|
-
"
|
18
|
-
"UpdateTime": "xx",
|
19
|
-
"Code": "xx",
|
20
|
-
"MerchantName": "xx",
|
17
|
+
"Code": "abc",
|
21
18
|
"CorpId": 1,
|
22
|
-
"PackId": "
|
23
|
-
"
|
24
|
-
"
|
25
|
-
"
|
26
|
-
"
|
27
|
-
"
|
19
|
+
"PackId": "abc",
|
20
|
+
"BatchId": "abc",
|
21
|
+
"MerchantId": "abc",
|
22
|
+
"ProductId": "abc",
|
23
|
+
"Status": 1,
|
24
|
+
"CreateTime": "abc",
|
25
|
+
"UpdateTime": "abc",
|
26
|
+
"MerchantName": "abc",
|
27
|
+
"ProductName": "abc",
|
28
|
+
"AgentId": 1,
|
29
|
+
"Level": 1
|
28
30
|
},
|
29
|
-
"
|
31
|
+
"CodePath": [
|
32
|
+
"abc"
|
33
|
+
],
|
34
|
+
"RequestId": "abc"
|
30
35
|
}
|
31
36
|
}
|
32
37
|
```
|
@@ -6,7 +6,7 @@ Input:
|
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli trp ModifyCodeBatch --cli-unfold-argument \
|
9
|
-
--BatchId
|
9
|
+
--BatchId abc \
|
10
10
|
--Status 1
|
11
11
|
```
|
12
12
|
|
@@ -14,8 +14,8 @@ Output:
|
|
14
14
|
```
|
15
15
|
{
|
16
16
|
"Response": {
|
17
|
-
"BatchId": "
|
18
|
-
"RequestId": "
|
17
|
+
"BatchId": "abc",
|
18
|
+
"RequestId": "abc"
|
19
19
|
}
|
20
20
|
}
|
21
21
|
```
|
@@ -0,0 +1,24 @@
|
|
1
|
+
**Example 1: 创建音画质检测模板。**
|
2
|
+
|
3
|
+
创建音画质检测模板。
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli vod CreateQualityInspectTemplate --cli-unfold-argument \
|
9
|
+
--SubAppId 123 \
|
10
|
+
--Name test \
|
11
|
+
--Comment abc \
|
12
|
+
--JitterConfigure.Switch ON
|
13
|
+
```
|
14
|
+
|
15
|
+
Output:
|
16
|
+
```
|
17
|
+
{
|
18
|
+
"Response": {
|
19
|
+
"Definition": 20001,
|
20
|
+
"RequestId": "3c140219-cfe9-470e-b241-907873d6fb03"
|
21
|
+
}
|
22
|
+
}
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
**Example 1: 删除音画质检测模板。**
|
2
|
+
|
3
|
+
删除音画质检测模板。
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli vod DeleteQualityInspectTemplate --cli-unfold-argument \
|
9
|
+
--Definition 20001
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"RequestId": "3c140219-cfe9-470e-b241-907877d6fa03"
|
17
|
+
}
|
18
|
+
}
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,44 @@
|
|
1
|
+
**Example 1: 获取音画质检测模板列表。**
|
2
|
+
|
3
|
+
获取音画质检测模板列表。
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli vod DescribeQualityInspectTemplates --cli-unfold-argument \
|
9
|
+
--Definitions 20001
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"TotalCount": 1,
|
17
|
+
"QualityInspectTemplateSet": [
|
18
|
+
{
|
19
|
+
"Definition": 20001,
|
20
|
+
"Name": "test",
|
21
|
+
"Comment": "",
|
22
|
+
"Type": "Custom",
|
23
|
+
"ScreenshotInterval": 1,
|
24
|
+
"JitterConfigure": {
|
25
|
+
"Switch": "ON"
|
26
|
+
},
|
27
|
+
"BlurConfigure": null,
|
28
|
+
"AbnormalLightingConfigure": null,
|
29
|
+
"CrashScreenConfigure": null,
|
30
|
+
"BlackWhiteEdgeConfigure": null,
|
31
|
+
"NoiseConfigure": null,
|
32
|
+
"MosaicConfigure": null,
|
33
|
+
"QRCodeConfigure": null,
|
34
|
+
"QualityEvaluationConfigure": null,
|
35
|
+
"VoiceConfigure": null,
|
36
|
+
"CreateTime": "2023-06-01T10:00:00Z",
|
37
|
+
"UpdateTime": "2023-06-01T10:00:00Z"
|
38
|
+
}
|
39
|
+
],
|
40
|
+
"RequestId": "3c140219-cfe9-470e-b241-907877d6fb03"
|
41
|
+
}
|
42
|
+
}
|
43
|
+
```
|
44
|
+
|
@@ -84,6 +84,7 @@ Output:
|
|
84
84
|
"ExtractCopyRightWatermarkTask": null,
|
85
85
|
"DescribeFileAttributesTask": null,
|
86
86
|
"RebuildMediaTask": null,
|
87
|
+
"QualityInspectTask": null,
|
87
88
|
"RequestId": "sdfadf"
|
88
89
|
}
|
89
90
|
}
|
@@ -152,6 +153,7 @@ Output:
|
|
152
153
|
"ExtractCopyRightWatermarkTask": null,
|
153
154
|
"DescribeFileAttributesTask": null,
|
154
155
|
"RebuildMediaTask": null,
|
156
|
+
"QualityInspectTask": null,
|
155
157
|
"RequestId": "62597d15-3fad-4234-af1a-ed33602a6118"
|
156
158
|
}
|
157
159
|
}
|
@@ -229,6 +231,7 @@ Output:
|
|
229
231
|
"ExtractCopyRightWatermarkTask": null,
|
230
232
|
"DescribeFileAttributesTask": null,
|
231
233
|
"RebuildMediaTask": null,
|
234
|
+
"QualityInspectTask": null,
|
232
235
|
"RequestId": "sdfadf"
|
233
236
|
}
|
234
237
|
}
|
@@ -281,6 +284,7 @@ Output:
|
|
281
284
|
"ExtractCopyRightWatermarkTask": null,
|
282
285
|
"DescribeFileAttributesTask": null,
|
283
286
|
"RebuildMediaTask": null,
|
287
|
+
"QualityInspectTask": null,
|
284
288
|
"RequestId": "04db7d25-f590-414a-a341-8f1584f15f84"
|
285
289
|
}
|
286
290
|
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
**Example 1: 发起音画质检测任务**
|
2
|
+
|
3
|
+
对 fileId 为 5285485487985271487 的视频发起音画质检测任务。
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli vod InspectMediaQuality --cli-unfold-argument \
|
9
|
+
--FileId 5285485487985271487 \
|
10
|
+
--Definition 20001
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"RequestId": "6ca31e3a-6b8e-4b4e-9256-fdc700064ef3",
|
18
|
+
"TaskId": "125xxx65-InspectMediaQuality-bffb15f07530b57bc1aabb01fac74bcc"
|
19
|
+
}
|
20
|
+
}
|
21
|
+
```
|
22
|
+
|