tccli 3.0.1027.1__py2.py3-none-any.whl → 3.0.1029.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/asr/v20190614/CreateAsyncRecognitionTask.md +1 -1
  3. tccli/examples/cls/v20201016/CreateCosRecharge.md +1 -1
  4. tccli/examples/cls/v20201016/CreateKafkaRecharge.md +9 -8
  5. tccli/examples/cls/v20201016/CreateScheduledSql.md +1 -1
  6. tccli/examples/cls/v20201016/GetAlarmLog.md +108 -15
  7. tccli/examples/cls/v20201016/SearchCosRechargeInfo.md +4 -4
  8. tccli/examples/oceanus/v20190422/DescribeJobEvents.md +36 -0
  9. tccli/examples/ocr/v20181119/VatInvoiceVerifyNew.md +56 -0
  10. tccli/examples/tdmq/v20200217/DescribeNamespaceBundlesOpt.md +1 -23
  11. tccli/examples/tem/v20210701/CreateCosToken.md +5 -5
  12. tccli/examples/teo/v20220901/ModifyAccelerationDomainStatuses.md +1 -1
  13. tccli/examples/tione/v20211111/DescribeBillingResourceGroups.md +72 -22
  14. tccli/examples/tione/v20211111/DescribeModelAccelerateVersions.md +76 -0
  15. tccli/examples/tse/v20201207/CreateEngine.md +2 -2
  16. tccli/examples/vod/v20180717/EnhanceMediaQuality.md +22 -0
  17. tccli/examples/waf/v20180125/GetAttackHistogram.md +5 -4
  18. tccli/loaders.py +1 -1
  19. tccli/services/asr/v20190614/api.json +2 -2
  20. tccli/services/asr/v20190614/examples.json +1 -1
  21. tccli/services/cdwdoris/v20211228/api.json +11 -1
  22. tccli/services/cls/v20201016/api.json +52 -43
  23. tccli/services/cls/v20201016/examples.json +13 -7
  24. tccli/services/dlc/v20210125/api.json +7 -4
  25. tccli/services/ecm/v20190719/api.json +17 -17
  26. tccli/services/ess/v20201111/api.json +58 -49
  27. tccli/services/essbasic/v20210526/api.json +18 -18
  28. tccli/services/essbasic/v20210526/examples.json +1 -1
  29. tccli/services/lcic/v20220817/api.json +13 -4
  30. tccli/services/lighthouse/v20200324/api.json +55 -50
  31. tccli/services/oceanus/oceanus_client.py +57 -4
  32. tccli/services/oceanus/v20190422/api.json +175 -0
  33. tccli/services/oceanus/v20190422/examples.json +8 -0
  34. tccli/services/ocr/v20181119/api.json +548 -10
  35. tccli/services/ocr/v20181119/examples.json +1 -1
  36. tccli/services/ssl/v20191205/api.json +54 -11
  37. tccli/services/tat/v20201028/api.json +1 -1
  38. tccli/services/tdmq/v20200217/api.json +2 -15
  39. tccli/services/tdmq/v20200217/examples.json +1 -1
  40. tccli/services/tem/v20210701/api.json +3 -3
  41. tccli/services/tem/v20210701/examples.json +3 -3
  42. tccli/services/teo/v20220901/api.json +4 -2
  43. tccli/services/teo/v20220901/examples.json +1 -1
  44. tccli/services/tione/tione_client.py +53 -0
  45. tccli/services/tione/v20211111/api.json +389 -18
  46. tccli/services/tione/v20211111/examples.json +10 -2
  47. tccli/services/tse/v20201207/api.json +7 -3
  48. tccli/services/tse/v20201207/examples.json +1 -1
  49. tccli/services/vod/v20180717/api.json +131 -0
  50. tccli/services/vod/v20180717/examples.json +8 -0
  51. tccli/services/vod/vod_client.py +53 -0
  52. tccli/services/waf/v20180125/api.json +10 -7
  53. tccli/services/waf/v20180125/examples.json +2 -2
  54. tccli/services/wedata/v20210820/api.json +22 -12
  55. {tccli-3.0.1027.1.dist-info → tccli-3.0.1029.1.dist-info}/METADATA +2 -2
  56. {tccli-3.0.1027.1.dist-info → tccli-3.0.1029.1.dist-info}/RECORD +59 -56
  57. {tccli-3.0.1027.1.dist-info → tccli-3.0.1029.1.dist-info}/WHEEL +0 -0
  58. {tccli-3.0.1027.1.dist-info → tccli-3.0.1029.1.dist-info}/entry_points.txt +0 -0
  59. {tccli-3.0.1027.1.dist-info → tccli-3.0.1029.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1027.1'
1
+ __version__ = '3.0.1029.1'
@@ -7,7 +7,7 @@ Input:
7
7
  ```
8
8
  tccli asr CreateAsyncRecognitionTask --cli-unfold-argument \
9
9
  --EngineType 16k_zh \
10
- --Url http://tes.cos.ap-guangzhou.myqcloud.com/test.wav \
10
+ --Url rtmp://test.com/test_stream \
11
11
  --CallbackUrl http://test.com/callback \
12
12
  --SignToken
13
13
  ```
@@ -9,7 +9,7 @@ tccli cls CreateCosRecharge --cli-unfold-argument \
9
9
  --TopicId xxx-xxx-xxx-xxx \
10
10
  --LogsetId xxx-xxx-xxx-xxx \
11
11
  --Name test_name \
12
- --Bucket test_bucket \
12
+ --Bucket examplebucket-1-1250000000 \
13
13
  --BucketRegion ap-guangzhou \
14
14
  --Prefix text_prefix \
15
15
  --LogType minimalist_log \
@@ -6,13 +6,13 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli cls CreateKafkaRecharge --cli-unfold-argument \
9
- --TopicId xxx-xxx-xxx-xxx-xxxx \
10
- --Name test \
9
+ --TopicId b53fe5be-7ee3-4031-8043-5a73bad4f572 \
10
+ --Name testname \
11
11
  --KafkaType 1 \
12
- --ServerAddr abc \
12
+ --ServerAddr 192.168.0.1:9095 \
13
13
  --IsEncryptionAddr True \
14
- --UserKafkaTopics abc \
15
- --ConsumerGroupName abc \
14
+ --UserKafkaTopics topic-1212123123,topic-sadf5r32f3ww \
15
+ --ConsumerGroupName consumer-group-name \
16
16
  --Offset -1 \
17
17
  --LogRechargeRule.RechargeType json_log \
18
18
  --LogRechargeRule.TimeKey abc \
@@ -21,15 +21,16 @@ tccli cls CreateKafkaRecharge --cli-unfold-argument \
21
21
  --LogRechargeRule.UnMatchLogSwitch True \
22
22
  --LogRechargeRule.UnMatchLogKey abc \
23
23
  --LogRechargeRule.DefaultTimeSwitch True \
24
- --LogRechargeRule.EncodingFormat 0
24
+ --LogRechargeRule.EncodingFormat 0 \
25
+ --Protocol.Protocol plaintext
25
26
  ```
26
27
 
27
28
  Output:
28
29
  ```
29
30
  {
30
31
  "Response": {
31
- "RequestId": "abc",
32
- "Id": "xxx-xx-xx"
32
+ "RequestId": "48d6a72b-99f7-4643-bc57-d63b6952b752",
33
+ "Id": "11d6a72b-99f7-4643-bc57-d63b6952b711"
33
34
  }
34
35
  }
35
36
  ```
@@ -18,7 +18,7 @@ tccli cls CreateScheduledSql --cli-unfold-argument \
18
18
  --ScheduledSqlContent * | select count(*) as pv \
19
19
  --SrcTopicId 6ef60bec-0242-43af-bb20-270359fbxxxxx \
20
20
  --ProcessDelay 0 \
21
- --ProcessType 0 \
21
+ --ProcessType 1 \
22
22
  --SrcTopicRegion ap-guangzhou \
23
23
  --ProcessEndTime 1690515440000
24
24
  ```
@@ -6,9 +6,9 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli cls GetAlarmLog --cli-unfold-argument \
9
- --From 1676615510870 \
10
- --To 1676619110870 \
11
- --Query alert_id: alarm-3e6131b1-689a-xxxx-8e2d-62ba80e6d91e \
9
+ --From 1702569600000 \
10
+ --To 1702655999999 \
11
+ --Query (alert_id:"alarm-5ce45495-09e8-4d58-8f36-768134bf330c") AND (monitored_object:"3c514e84-6f1f-46ec-afbf-05de6163f7fe") AND NOT condition_evaluate_result: "Skip" AND condition_evaluate_result:[* TO *] | SELECT count(*) as top50StatisticsTotalCount, count_if(condition_evaluate_result='ProcessError') as top50StatisticsFailureCount, count_if(notification_send_result!='NotSend') as top50NoticeTotalCount, count_if(notification_send_result='SendPartFail' or notification_send_result='SendFail') as top50NoticeFailureCount, alert_id, alert_name, monitored_object, topic_type, happen_threshold, alert_threshold, notify_template group by alert_id, alert_name, monitored_object,topic_type, happen_threshold, alert_threshold, notify_template order by top50StatisticsTotalCount desc limit 1 \
12
12
  --Limit 1
13
13
  ```
14
14
 
@@ -16,29 +16,122 @@ Output:
16
16
  ```
17
17
  {
18
18
  "Response": {
19
- "Context": "Y29udGV4dC03MTI5NGYwZS1kY2IyLTQ0MTktYmQyMy01ZDgwNTcyN2Y0OTExNjc2NjE5Mzk5Mjg3",
20
- "ListOver": false,
19
+ "Analysis": true,
20
+ "AnalysisRecords": [],
21
+ "AnalysisResults": [
22
+ {
23
+ "Data": [
24
+ {
25
+ "Key": "topic_type",
26
+ "Value": "log"
27
+ },
28
+ {
29
+ "Key": "alert_threshold",
30
+ "Value": "15"
31
+ },
32
+ {
33
+ "Key": "top50NoticeFailureCount",
34
+ "Value": "0"
35
+ },
36
+ {
37
+ "Key": "happen_threshold",
38
+ "Value": "1"
39
+ },
40
+ {
41
+ "Key": "top50StatisticsFailureCount",
42
+ "Value": "0"
43
+ },
44
+ {
45
+ "Key": "alert_id",
46
+ "Value": "alarm-5ce45495-09e8-4d58-8f36-768134bf330c"
47
+ },
48
+ {
49
+ "Key": "top50StatisticsTotalCount",
50
+ "Value": "705"
51
+ },
52
+ {
53
+ "Key": "alert_name",
54
+ "Value": "EdgeOne 缓存命中率告警策略_100001127589"
55
+ },
56
+ {
57
+ "Key": "monitored_object",
58
+ "Value": "3c514e84-6f1f-46ec-afbf-05de6163f7fe"
59
+ },
60
+ {
61
+ "Key": "top50NoticeTotalCount",
62
+ "Value": "0"
63
+ },
64
+ {
65
+ "Key": "notify_template",
66
+ "Value": "notice-8e0660a4-197d-46b0-b1ef-e63571b7a438"
67
+ }
68
+ ]
69
+ }
70
+ ],
71
+ "ColNames": [
72
+ "top50StatisticsTotalCount",
73
+ "top50StatisticsFailureCount",
74
+ "top50NoticeTotalCount",
75
+ "top50NoticeFailureCount",
76
+ "alert_id",
77
+ "alert_name",
78
+ "monitored_object",
79
+ "topic_type",
80
+ "happen_threshold",
81
+ "alert_threshold",
82
+ "notify_template"
83
+ ],
84
+ "Columns": [],
85
+ "Context": "",
86
+ "ListOver": true,
87
+ "RequestId": "716f9f96-ed8c-4a20-9e75-dfa27ba9a273",
88
+ "Results": []
89
+ }
90
+ }
91
+ ```
92
+
93
+ **Example 2: 查询指定告警策略和告警对象的告警历史记录**
94
+
95
+ 查询指定告警策略和告警对象的告警历史记录
96
+
97
+ Input:
98
+
99
+ ```
100
+ tccli cls GetAlarmLog --cli-unfold-argument \
101
+ --From 1702569600000 \
102
+ --To 1702655999999 \
103
+ --Query alert_id:"alarm-5ce45495-09e8-4d58-8f36-768134bf330c" AND monitored_object:"3c514e84-6f1f-46ec-afbf-05de6163f7fe" \
104
+ --Limit 1 \
105
+ --Context
106
+ ```
107
+
108
+ Output:
109
+ ```
110
+ {
111
+ "Response": {
21
112
  "Analysis": false,
113
+ "AnalysisRecords": null,
114
+ "AnalysisResults": [],
22
115
  "ColNames": [],
23
116
  "Columns": null,
117
+ "Context": "Y29udGV4dC0yNmJkYjY1ZS1lODdjLTQ5Y2ItODdiYy0xNmUwNWFlYTYwM2MxNzAyNjEyMzA4MTU1",
118
+ "ListOver": false,
119
+ "RequestId": "aefbd480-35c5-43b7-b1df-d625727abebf",
24
120
  "Results": [
25
121
  {
26
- "Time": 1676618994000,
27
- "TopicId": "louder",
28
- "TopicName": "louder",
29
- "Source": "",
30
122
  "FileName": "",
31
123
  "HostName": "",
124
+ "IndexStatus": "",
125
+ "LogJson": "{\"reach_trigger\":\"false\",\"label_string\":\"\",\"fire_time\":1702612278007,\"reach_notify\":\"false\",\"record_group_id\":\"\",\"topic_type\":\"log\",\"alert_threshold\":15,\"trigger_result\":\"success\",\"monitored_object\":\"3c514e84-6f1f-46ec-afbf-05de6163f7fe\",\"duration\":0,\"condition_evaluate_result\":\"QueryResultUnmatch\",\"notify_type\":2,\"summary_en\":\"The trigger condition is not met\",\"notification_send_result\":\"NotSend\",\"trigger_time\":1702612278,\"notify_template\":\"notice-8e0660a4-197d-46b0-b1ef-e63571b7a438\",\"summary_cn\":\"执行语句结果不满足触发条件\",\"alert_id\":\"alarm-5ce45495-09e8-4d58-8f36-768134bf330c\",\"notify_result\":\"success\",\"topic_name\":\"dyltest2\",\"process_result\":\"fail\",\"notify_failed_reason\":\"\",\"object_param\":\"[{\\\"EndTime\\\":1702612230000,\\\"StartTime\\\":1702608630000,\\\"TopicId\\\":\\\"3c514e84-6f1f-46ec-afbf-05de6163f7fe\\\",\\\"TopicName\\\":\\\"dyltest2\\\",\\\"TopicType\\\":\\\"log\\\",\\\"grammarVersion\\\":\\\"cql\\\"}]\",\"uin\":100001127589,\"topic_id\":\"3c514e84-6f1f-46ec-afbf-05de6163f7fe\",\"record_info\":\"\",\"notify_time\":1702612278,\"level\":\"Warn\",\"process_error_msg\":\"The conditions are not matched, no results\",\"trigger\":\"$1.hit_rate<50\",\"trigger_failed_reason\":\"The conditions are not matched, no results\",\"happen_threshold\":1,\"record_id\":\"9e35be9f-b617-4827-96c5-97a0383aad0f\",\"nick_name\":\"\",\"logset_id\":\"19b6cec0-b80f-4ffe-98de-239670e5b19d\",\"detail\":\"\",\"alert_name\":\"EdgeOne 缓存命中率告警策略_100001127589\",\"process_error_type\":\"QueryResultUnmatch\",\"status\":\"QueryResultUnmatch\"}",
32
126
  "PkgId": "",
33
127
  "PkgLogId": "",
34
- "IndexStatus": "",
35
128
  "RawLog": "",
36
- "LogJson": "{\"reach_trigger\":\"true\",\"notify_time\":1676618994,\"reach_notify\":\"false\",\"process_error_msg\":\"AlertThreshold Unreached\",\"record_group_id\":\"\",\"trigger\":\"$1.Warning事件数 > 0\",\"trigger_failed_reason\":\"matched\",\"alert_threshold\":15,\"trigger_result\":\"success\",\"monitored_object\":\"993bba4d-9494-4023-xxxx-f06c1b8c2983\",\"happen_threshold\":1,\"notify_type\":1,\"record_id\":\"\",\"trigger_time\":1676618994,\"notify_template\":\"notice-a1d2a4a6-c731-4386-869a-5ba91b1bb26c\",\"alert_id\":\"alarm-3e6131b1-689a-xxxx-8e2d-62ba80e6d91e\",\"notify_result\":\"fail\",\"process_result\":\"fail\",\"notify_failed_reason\":\"AlertThreshold Unreached\",\"uin\":10000100xxxx,\"topic_id\":\"993bba4d-9494-4023-xxxx-f06c1b8c2983\",\"record_info\":\"\",\"alert_name\":\"TKE Demo事件日志告警策略_10000100xxxx\",\"process_error_type\":\"UnreachedThreshold\"}"
129
+ "Source": "",
130
+ "Time": 1702612278007,
131
+ "TopicId": "louder",
132
+ "TopicName": "louder"
37
133
  }
38
- ],
39
- "AnalysisResults": [],
40
- "AnalysisRecords": null,
41
- "RequestId": "53fa03fb-a0f6-4ac0-afe8-de697b586eb0"
134
+ ]
42
135
  }
43
136
  }
44
137
  ```
@@ -6,11 +6,11 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli cls SearchCosRechargeInfo --cli-unfold-argument \
9
- --TopicId xxx-xxx-xxx-xxx \
10
- --LogsetId xxx-xxx-xxx-xxx \
9
+ --TopicId e6a94ed2-8191-49ac-ab67-90e33d2f1111 \
10
+ --LogsetId 11114ed2-8191-49ac-ab67-90e33d2f3974 \
11
11
  --Name test_name \
12
- --Bucket test_bucket \
13
- --BucketRegion gz_open \
12
+ --Bucket examplebucket-1-1250000000 \
13
+ --BucketRegion ap-guangzhou \
14
14
  --Prefix text_prefix \
15
15
  --Compress gzip
16
16
  ```
@@ -0,0 +1,36 @@
1
+ **Example 1: 查询作业事件**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli oceanus DescribeJobEvents --cli-unfold-argument \
9
+ --RunningOrderIds 1 \
10
+ --Types 1 2 \
11
+ --EndTimestamp 1630933910 \
12
+ --StartTimestamp 1630833910 \
13
+ --JobId cql-21f5a2ve
14
+ ```
15
+
16
+ Output:
17
+ ```
18
+ {
19
+ "Response": {
20
+ "RunningOrderIds": [
21
+ 1
22
+ ],
23
+ "Events": [
24
+ {
25
+ "RunningOrderId": 1,
26
+ "Description": "作业停止事件",
27
+ "Timestamp": 1630933810,
28
+ "Type": "11"
29
+ }
30
+ ],
31
+ "TotalCount": 1,
32
+ "RequestId": "123345be-e89b-52f3-a456-426616274040"
33
+ }
34
+ }
35
+ ```
36
+
@@ -30,6 +30,7 @@ Output:
30
30
  "CheckCode": "",
31
31
  "Code": "144002288010",
32
32
  "Date": "",
33
+ "ElectronicType": "",
33
34
  "HasSellerList": "",
34
35
  "IsAbandoned": "N",
35
36
  "Items": [],
@@ -99,6 +100,61 @@ Output:
99
100
  "TaxtationOrgName": "",
100
101
  "Tonnage": "",
101
102
  "VinNo": ""
103
+ },
104
+ "ElectronicTrainTicket": {
105
+ "BuyerName": "abc",
106
+ "BuyerTaxCode": "abc",
107
+ "Number": "abc",
108
+ "Date": "abc",
109
+ "TotalCN": "abc",
110
+ "Tax": "abc",
111
+ "ServiceType": "abc",
112
+ "TimeGetOn": "abc",
113
+ "TrainNumber": "abc",
114
+ "Code": "abc",
115
+ "SeatType": "abc",
116
+ "DateGetOn": "abc",
117
+ "TrainCabin": "abc",
118
+ "StationGetOn": "abc",
119
+ "ElectronicNumber": "abc",
120
+ "PassengerName": "abc",
121
+ "PassengerNo": "abc",
122
+ "Amount": "abc",
123
+ "StationGetOff": "abc",
124
+ "TaxRate": "abc",
125
+ "Seat": "abc",
126
+ "Total": "abc",
127
+ "CheckCode": "abc",
128
+ "StateCode": "0"
129
+ },
130
+ "ElectronicAirTransport": {
131
+ "Code": "abc",
132
+ "Number": "abc",
133
+ "Date": "abc",
134
+ "Amount": "abc",
135
+ "CheckCode": "abc",
136
+ "Total": "abc",
137
+ "DeductionMark": "abc",
138
+ "StateCode": "abc",
139
+ "BuyerTaxCode": "abc",
140
+ "BuyerName": "abc",
141
+ "DomesticInternationalMark": "abc",
142
+ "PassengerName": "abc",
143
+ "PassengerNo": "abc",
144
+ "ElectronicNumber": "abc",
145
+ "ElectronicAirTransportDetails": [
146
+ {
147
+ "FlightSegment": "abc",
148
+ "StationGetOn": "abc",
149
+ "StationGetOff": "abc",
150
+ "Carrier": "abc",
151
+ "FlightNumber": "abc",
152
+ "SeatLevel": "abc",
153
+ "FlightDate": "abc",
154
+ "DepartureTime": "abc",
155
+ "FareBasis": "abc"
156
+ }
157
+ ]
102
158
  }
103
159
  }
104
160
  }
@@ -19,29 +19,7 @@ Output:
19
19
  {
20
20
  "Response": {
21
21
  "RequestId": "d2d3e253-3b1d-4471-a350-25e6ae20916c",
22
- "TotalCount": 30,
23
- "BundleSet": [
24
- {},
25
- {},
26
- {},
27
- {},
28
- {},
29
- {},
30
- {},
31
- {},
32
- {},
33
- {},
34
- {},
35
- {},
36
- {},
37
- {},
38
- {},
39
- {},
40
- {},
41
- {},
42
- {},
43
- {}
44
- ]
22
+ "TotalCount": 30
45
23
  }
46
24
  }
47
25
  ```
@@ -1,14 +1,14 @@
1
- **Example 1: 生成Cos临时秘钥**
1
+ **Example 1: 生成Cos临时密钥**
2
2
 
3
- 为上传jar包和war包,生成Cos临时秘钥
3
+ 为上传jar包和war包,生成Cos临时密钥
4
4
 
5
5
  Input:
6
6
 
7
7
  ```
8
8
  tccli tem CreateCosToken --cli-unfold-argument \
9
- --PkgName xx \
10
- --TimeVersion xx \
11
- --ApplicationId xx \
9
+ --PkgName test.jar \
10
+ --TimeVersion 1.0 \
11
+ --ApplicationId app-testid \
12
12
  --SourceChannel 0 \
13
13
  --OptType 0
14
14
  ```
@@ -1,6 +1,6 @@
1
1
  **Example 1: 批量修改加速域名状态**
2
2
 
3
- 停用指定DomainId的加速域名。
3
+ 停用指定名称的加速域名。
4
4
 
5
5
  Input:
6
6
 
@@ -6,47 +6,97 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli tione DescribeBillingResourceGroups --cli-unfold-argument \
9
- --Filters.0.Fuzzy True \
10
- --Filters.0.Values ems-dn6bqflh \
11
- --Filters.0.Name xx \
9
+ --Type abc \
10
+ --Filters.0.Name abc \
11
+ --Filters.0.Values abc \
12
12
  --Filters.0.Negative True \
13
- --TagFilters.0.TagValues xx \
14
- --TagFilters.0.TagKey xx \
15
- --Limit 0 \
16
- --SearchWord xx \
13
+ --Filters.0.Fuzzy True \
14
+ --TagFilters.0.TagKey abc \
15
+ --TagFilters.0.TagValues abc \
17
16
  --Offset 0 \
18
- --Type xx
17
+ --Limit 0 \
18
+ --SearchWord abc \
19
+ --DontShowInstanceSet True
19
20
  ```
20
21
 
21
22
  Output:
22
23
  ```
23
24
  {
24
25
  "Response": {
25
- "RequestId": "02be3c0f-d1f1-4a8e-97bd-38128985baa7",
26
26
  "TotalCount": 1,
27
27
  "ResourceGroupSet": [
28
28
  {
29
- "ResourceGroupId": "ersg-69q4tmjm",
30
- "ResourceGroupName": "hayescao_test",
29
+ "ResourceGroupId": "abc",
30
+ "ResourceGroupName": "abc",
31
+ "FreeInstance": 1,
31
32
  "TotalInstance": 1,
32
- "UsedResource": {},
33
- "TotalResource": {},
33
+ "UsedResource": {
34
+ "Cpu": 1,
35
+ "Memory": 1,
36
+ "Gpu": 1,
37
+ "GpuDetailSet": [
38
+ {
39
+ "Name": "abc",
40
+ "Value": 1
41
+ }
42
+ ]
43
+ },
44
+ "TotalResource": {
45
+ "Cpu": 1,
46
+ "Memory": 1,
47
+ "Gpu": 1,
48
+ "GpuDetailSet": [
49
+ {
50
+ "Name": "abc",
51
+ "Value": 1
52
+ }
53
+ ]
54
+ },
34
55
  "InstanceSet": [
35
56
  {
36
- "InstanceId": "eins-343vo66vf91c",
37
- "UsedResource": {},
57
+ "InstanceId": "abc",
58
+ "UsedResource": {
59
+ "Cpu": 1,
60
+ "Memory": 1,
61
+ "Gpu": 1,
62
+ "GpuType": "abc",
63
+ "RealGpu": 1,
64
+ "RealGpuDetailSet": [
65
+ {
66
+ "Name": "abc",
67
+ "Value": 1
68
+ }
69
+ ]
70
+ },
38
71
  "TotalResource": {
39
- "Cpu": 2000,
40
- "Memory": 4096
72
+ "Cpu": 1,
73
+ "Memory": 1,
74
+ "Gpu": 1,
75
+ "GpuType": "abc",
76
+ "RealGpu": 1
41
77
  },
42
- "InstanceStatus": "RUNNING",
43
- "AutoRenewFlag": "NOTIFY_AND_MANUAL_RENEW",
44
- "SpecId": "sv_tio_platform_cloud_pre_cpu_2c4g",
45
- "SpecAlias": "2核4G"
78
+ "InstanceStatus": "abc",
79
+ "SubUin": "abc",
80
+ "CreateTime": "abc",
81
+ "ExpireTime": "abc",
82
+ "AutoRenewFlag": "abc",
83
+ "SpecId": "abc",
84
+ "SpecAlias": "abc",
85
+ "SpecFeatures": [
86
+ "abc"
87
+ ],
88
+ "CvmInstanceId": "abc"
89
+ }
90
+ ],
91
+ "TagSet": [
92
+ {
93
+ "TagKey": "abc",
94
+ "TagValue": "abc"
46
95
  }
47
96
  ]
48
97
  }
49
- ]
98
+ ],
99
+ "RequestId": "abc"
50
100
  }
51
101
  }
52
102
  ```
@@ -0,0 +1,76 @@
1
+ **Example 1: 优化模型列表**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli tione DescribeModelAccelerateVersions --cli-unfold-argument \
9
+ --Limit 10 \
10
+ --Filters.0.Fuzzy False \
11
+ --Filters.0.Values mv-v1-522962784402949761 \
12
+ --Filters.0.Name TrainingModelVersionId \
13
+ --Filters.0.Negative False \
14
+ --Offset 0
15
+ ```
16
+
17
+ Output:
18
+ ```
19
+ {
20
+ "Response": {
21
+ "TotalCount": 0,
22
+ "ModelAccelerateVersions": [
23
+ {
24
+ "ModelId": "abc",
25
+ "ModelVersionId": "abc",
26
+ "ModelJobId": "abc",
27
+ "ModelJobName": "abc",
28
+ "ModelVersion": "abc",
29
+ "SpeedUp": "abc",
30
+ "ModelSource": {
31
+ "Source": "abc",
32
+ "JobName": "abc",
33
+ "JobVersion": "abc",
34
+ "JobId": "abc",
35
+ "ModelName": "abc",
36
+ "AlgorithmFramework": "abc",
37
+ "TrainingPreference": "abc",
38
+ "ReasoningEnvironmentSource": "abc",
39
+ "ReasoningEnvironment": "abc",
40
+ "ReasoningEnvironmentId": "abc",
41
+ "ReasoningImageInfo": {
42
+ "ImageType": "abc",
43
+ "ImageUrl": "abc",
44
+ "RegistryRegion": "abc",
45
+ "RegistryId": "abc",
46
+ "AllowSaveAllContent": true,
47
+ "ImageName": "abc"
48
+ }
49
+ },
50
+ "CosPathInfo": {
51
+ "Bucket": "abc",
52
+ "Region": "abc",
53
+ "Paths": [
54
+ "abc"
55
+ ]
56
+ },
57
+ "CreateTime": "abc",
58
+ "ModelFormat": "abc",
59
+ "Status": "abc",
60
+ "Progress": 1,
61
+ "ErrorMsg": "abc",
62
+ "GPUType": "abc",
63
+ "ModelCosPath": {
64
+ "Bucket": "abc",
65
+ "Region": "abc",
66
+ "Paths": [
67
+ "abc"
68
+ ]
69
+ }
70
+ }
71
+ ],
72
+ "RequestId": "abc"
73
+ }
74
+ }
75
+ ```
76
+
@@ -23,8 +23,8 @@ Output:
23
23
  ```
24
24
  {
25
25
  "Response": {
26
- "InstanceId": "xx",
27
- "RequestId": "xx"
26
+ "InstanceId": "ins-123",
27
+ "RequestId": "11111-1111-1111-11111"
28
28
  }
29
29
  }
30
30
  ```
@@ -0,0 +1,22 @@
1
+ **Example 1: 发起音画质重生任务**
2
+
3
+ 对 fileId 为 5285485487985271487 的视频发起音画质重生任务。
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli vod EnhanceMediaQuality --cli-unfold-argument \
9
+ --FileId 5285485487985271487 \
10
+ --Definition 10
11
+ ```
12
+
13
+ Output:
14
+ ```
15
+ {
16
+ "Response": {
17
+ "RequestId": "6ca31e3a-6b8e-4b4e-9256-fdc700064ef3",
18
+ "TaskId": "125xxx65-EnhanceMediaQuality-bffb15f07530b57bc1aabb01fac74bcc"
19
+ }
20
+ }
21
+ ```
22
+
@@ -6,16 +6,17 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli waf GetAttackHistogram --cli-unfold-argument \
9
- --StartTime 2020-08-2800:00:00 \
10
- --ToTime 2020-08-2814:12:36 \
11
- --Domain all \
12
- --QueryString method:GET
9
+ --Domain abc \
10
+ --StartTime 2020-09-22 00:00:00 \
11
+ --EndTime 2020-09-22 00:00:00 \
12
+ --QueryString abc
13
13
  ```
14
14
 
15
15
  Output:
16
16
  ```
17
17
  {
18
18
  "Response": {
19
+ "RequestId": "abc",
19
20
  "Data": [
20
21
  {
21
22
  "Count": 0,