tccli 3.0.1168.1__py2.py3-none-any.whl → 3.0.1169.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tccli/__init__.py +1 -1
- tccli/services/aiart/v20221229/api.json +9 -0
- tccli/services/cls/cls_client.py +224 -12
- tccli/services/cls/v20201016/api.json +331 -0
- tccli/services/cls/v20201016/examples.json +32 -0
- tccli/services/essbasic/v20210526/api.json +1 -1
- tccli/services/hunyuan/v20230901/api.json +2 -2
- tccli/services/organization/organization_client.py +167 -8
- tccli/services/organization/v20210331/api.json +307 -0
- tccli/services/organization/v20210331/examples.json +24 -0
- tccli/services/pts/v20210728/api.json +10 -10
- tccli/services/pts/v20210728/examples.json +14 -14
- tccli/services/tcss/v20201101/api.json +156 -53
- tccli/services/tcss/v20201101/examples.json +39 -9
- tccli/services/trocket/trocket_client.py +53 -0
- tccli/services/trocket/v20230308/api.json +71 -0
- tccli/services/trocket/v20230308/examples.json +8 -0
- tccli/services/waf/v20180125/api.json +12 -6
- {tccli-3.0.1168.1.dist-info → tccli-3.0.1169.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1168.1.dist-info → tccli-3.0.1169.1.dist-info}/RECORD +23 -23
- {tccli-3.0.1168.1.dist-info → tccli-3.0.1169.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1168.1.dist-info → tccli-3.0.1169.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1168.1.dist-info → tccli-3.0.1169.1.dist-info}/license_files/LICENSE +0 -0
@@ -413,7 +413,7 @@
|
|
413
413
|
{
|
414
414
|
"disabled": false,
|
415
415
|
"document": "中断原因",
|
416
|
-
"example": "1",
|
416
|
+
"example": "0 unknown reason; 1 abort by user; 2 abort by sla rules",
|
417
417
|
"member": "int64",
|
418
418
|
"name": "AbortReason",
|
419
419
|
"required": false,
|
@@ -1164,7 +1164,7 @@
|
|
1164
1164
|
"example": "cron-xx",
|
1165
1165
|
"member": "string",
|
1166
1166
|
"name": "CronJobId",
|
1167
|
-
"
|
1167
|
+
"output_required": true,
|
1168
1168
|
"type": "string",
|
1169
1169
|
"value_allowed_null": false
|
1170
1170
|
},
|
@@ -2254,7 +2254,7 @@
|
|
2254
2254
|
"example": "无",
|
2255
2255
|
"member": "AlertChannelRecord",
|
2256
2256
|
"name": "AlertChannelSet",
|
2257
|
-
"
|
2257
|
+
"output_required": true,
|
2258
2258
|
"type": "list",
|
2259
2259
|
"value_allowed_null": true
|
2260
2260
|
},
|
@@ -2264,7 +2264,7 @@
|
|
2264
2264
|
"example": "10",
|
2265
2265
|
"member": "uint64",
|
2266
2266
|
"name": "Total",
|
2267
|
-
"
|
2267
|
+
"output_required": true,
|
2268
2268
|
"type": "int",
|
2269
2269
|
"value_allowed_null": true
|
2270
2270
|
},
|
@@ -2364,7 +2364,7 @@
|
|
2364
2364
|
"example": "无",
|
2365
2365
|
"member": "AlertRecord",
|
2366
2366
|
"name": "AlertRecordSet",
|
2367
|
-
"
|
2367
|
+
"output_required": true,
|
2368
2368
|
"type": "list",
|
2369
2369
|
"value_allowed_null": true
|
2370
2370
|
},
|
@@ -2374,7 +2374,7 @@
|
|
2374
2374
|
"example": "2",
|
2375
2375
|
"member": "uint64",
|
2376
2376
|
"name": "Total",
|
2377
|
-
"
|
2377
|
+
"output_required": true,
|
2378
2378
|
"type": "int",
|
2379
2379
|
"value_allowed_null": true
|
2380
2380
|
},
|
@@ -2728,7 +2728,7 @@
|
|
2728
2728
|
"example": "无",
|
2729
2729
|
"member": "File",
|
2730
2730
|
"name": "FileSet",
|
2731
|
-
"
|
2731
|
+
"output_required": true,
|
2732
2732
|
"type": "list",
|
2733
2733
|
"value_allowed_null": true
|
2734
2734
|
},
|
@@ -2738,7 +2738,7 @@
|
|
2738
2738
|
"example": "10",
|
2739
2739
|
"member": "int64",
|
2740
2740
|
"name": "Total",
|
2741
|
-
"
|
2741
|
+
"output_required": true,
|
2742
2742
|
"type": "int",
|
2743
2743
|
"value_allowed_null": true
|
2744
2744
|
},
|
@@ -2865,7 +2865,7 @@
|
|
2865
2865
|
"example": "无",
|
2866
2866
|
"member": "Job",
|
2867
2867
|
"name": "JobSet",
|
2868
|
-
"
|
2868
|
+
"output_required": true,
|
2869
2869
|
"type": "list",
|
2870
2870
|
"value_allowed_null": true
|
2871
2871
|
},
|
@@ -2875,7 +2875,7 @@
|
|
2875
2875
|
"example": "10",
|
2876
2876
|
"member": "int64",
|
2877
2877
|
"name": "Total",
|
2878
|
-
"
|
2878
|
+
"output_required": true,
|
2879
2879
|
"type": "int",
|
2880
2880
|
"value_allowed_null": true
|
2881
2881
|
},
|
@@ -43,8 +43,8 @@
|
|
43
43
|
"CreateCronJob": [
|
44
44
|
{
|
45
45
|
"document": "创建定时任务",
|
46
|
-
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCronJob\n<公共请求参数>\n\n{\n \"ProjectId\": \"xx\",\n \"ScenarioId\": \"xx\",\n \"ScenarioName\": \"
|
47
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"xx\",\n \"CronJobId\": \"cron-xx\"\n }\n}",
|
46
|
+
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCronJob\n<公共请求参数>\n\n{\n \"ProjectId\": \"project-xx\",\n \"ScenarioId\": \"scenario-xx\",\n \"ScenarioName\": \"scenario name\",\n \"Name\": \"cron name\",\n \"CronExpression\": \"*/1 * * * *\",\n \"FrequencyType\": 1,\n \"EndTime\": \"2020-09-22T00:00:00+00:00\",\n \"NoticeId\": \"notice-xx\",\n \"JobOwner\": \"tom\"\n}",
|
47
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"req-xx\",\n \"CronJobId\": \"cron-xx\"\n }\n}",
|
48
48
|
"title": "创建定时任务"
|
49
49
|
}
|
50
50
|
],
|
@@ -131,24 +131,24 @@
|
|
131
131
|
"DeleteScenarios": [
|
132
132
|
{
|
133
133
|
"document": "",
|
134
|
-
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteScenarios\n<公共请求参数>\n\n{\n \"ProjectId\": \"xx\",\n \"DeleteJobs\": true,\n \"ScenarioIds\": [\n \"scenario-xx\"\n ]\n}",
|
135
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"xx\"\n }\n}",
|
134
|
+
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteScenarios\n<公共请求参数>\n\n{\n \"ProjectId\": \"project-xx\",\n \"DeleteJobs\": true,\n \"ScenarioIds\": [\n \"scenario-xx\"\n ]\n}",
|
135
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"req-xx\"\n }\n}",
|
136
136
|
"title": "删除场景"
|
137
137
|
}
|
138
138
|
],
|
139
139
|
"DescribeAlertChannels": [
|
140
140
|
{
|
141
141
|
"document": "",
|
142
|
-
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAlertChannels\n<公共请求参数>\n\n{\n \"OrderBy\": \"
|
143
|
-
"output": "{\
|
142
|
+
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAlertChannels\n<公共请求参数>\n\n{\n \"OrderBy\": \"asc\",\n \"Ascend\": true,\n \"Limit\": 1,\n \"Offset\": 1,\n \"ProjectIds\": [\n \"project-xx\"\n ]\n}",
|
143
|
+
"output": "{\n \"Response\": {\n \"AlertChannelSet\": [\n {\n \"Status\": 1,\n \"NoticeId\": \"notice-xx\",\n \"ProjectId\": \"projecct-xx\",\n \"UpdatedAt\": \"2022-09-09 13:11:12\",\n \"AMPConsumerId\": \"consumer-xx\",\n \"CreatedAt\": \"2022-09-09 13:11:12\",\n \"AppId\": 0,\n \"Uin\": \"abc\",\n \"SubAccountUin\": \"abc\"\n }\n ],\n \"Total\": 1,\n \"RequestId\": \"req-xx\"\n }\n}",
|
144
144
|
"title": "查询告警通知接收组列表"
|
145
145
|
}
|
146
146
|
],
|
147
147
|
"DescribeAlertRecords": [
|
148
148
|
{
|
149
149
|
"document": "",
|
150
|
-
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAlertRecords\n<公共请求参数>\n\n{\n \"OrderBy\": \"
|
151
|
-
"output": "{\n \"Response\": {\n \"AlertRecordSet\": [\n {\n \"CreatedAt\": \"2021-12-22T15:04:36+08:00\",\n \"UpdatedAt\": \"2021-12-22T15:04:36+08:00\",\n \"AppId\": 123,\n \"Uin\": \"123\",\n \"SubAccountUin\": \"123\",\n \"AlertRecordId\": \"alert-q5qn20zy\",\n \"ProjectId\": \"project-cphgtuvq\",\n \"ScenarioId\": \"scenario-lkbg8f20\",\n \"ScenarioName\": \"my-scenario\",\n \"JobId\": \"job-b8eklbx8\",\n \"JobSLADescription\": \"this is a test\",\n \"Status\": 1\n }\n ],\n \"RequestId\": \"xx\",\n \"Total\": 1\n }\n}",
|
150
|
+
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAlertRecords\n<公共请求参数>\n\n{\n \"OrderBy\": \"asc\",\n \"JobIds\": [\n \"job-xx\"\n ],\n \"Ascend\": true,\n \"Limit\": 1,\n \"Offset\": 1,\n \"ProjectIds\": [\n \"project-xx\"\n ],\n \"ScenarioIds\": [\n \"scenario-xx\"\n ]\n}",
|
151
|
+
"output": "{\n \"Response\": {\n \"AlertRecordSet\": [\n {\n \"CreatedAt\": \"2021-12-22T15:04:36+08:00\",\n \"UpdatedAt\": \"2021-12-22T15:04:36+08:00\",\n \"AppId\": 123,\n \"Uin\": \"123\",\n \"SubAccountUin\": \"123\",\n \"AlertRecordId\": \"alert-q5qn20zy\",\n \"ProjectId\": \"project-cphgtuvq\",\n \"ScenarioId\": \"scenario-lkbg8f20\",\n \"ScenarioName\": \"my-scenario\",\n \"JobId\": \"job-b8eklbx8\",\n \"JobSLAId\": \"sla-954oc2vs\",\n \"JobSLADescription\": \"this is a test\",\n \"Status\": {\n \"AbortJob\": 1,\n \"SendNotice\": 1\n },\n \"Target\": \"abc\"\n }\n ],\n \"RequestId\": \"req-xx\",\n \"Total\": 1\n }\n}",
|
152
152
|
"title": "查询告警历史"
|
153
153
|
}
|
154
154
|
],
|
@@ -195,16 +195,16 @@
|
|
195
195
|
"DescribeFiles": [
|
196
196
|
{
|
197
197
|
"document": "",
|
198
|
-
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFiles\n<公共请求参数>\n\n{\n \"ProjectIds\": [\n \"xx\"\n ],\n \"Offset\": 0,\n \"FileIds\": [\n \"xx\"\n ],\n \"Limit\": 0,\n \"FileName\": \"
|
199
|
-
"output": "{\n \"Response\": {\n \"
|
198
|
+
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFiles\n<公共请求参数>\n\n{\n \"ProjectIds\": [\n \"project-xx\"\n ],\n \"Offset\": 0,\n \"FileIds\": [\n \"file-xx\"\n ],\n \"Limit\": 0,\n \"FileName\": \"file name\",\n \"Kind\": 1\n}",
|
199
|
+
"output": "{\n \"Response\": {\n \"FileSet\": [\n {\n \"AppId\": 1258344690,\n \"Uin\": \"438167612\",\n \"SubAccountUin\": \"100019497941\",\n \"CreatedAt\": \"2023-04-11T15:20:18+08:00\",\n \"UpdatedAt\": \"2023-04-11T15:20:18+08:00\",\n \"FileId\": \"file-218d0901\",\n \"ProjectId\": \"project-r92xzqe3\",\n \"Kind\": 1,\n \"Name\": \"demo.csv\",\n \"Size\": 18,\n \"Type\": \"CSV\",\n \"Status\": 2,\n \"LineCount\": 3,\n \"HeadLines\": [\n \"msg\\r\",\n \"world\\r\",\n \"pts\"\n ],\n \"TailLines\": [],\n \"HeaderInFile\": true,\n \"HeaderColumns\": [\n \"msg\"\n ],\n \"FileInfos\": null,\n \"ScenarioSet\": null,\n \"AppID\": 0\n }\n ],\n \"RequestId\": \"7baba29e-5545-44e8-b39e-9be261d6369a\",\n \"Total\": 36\n }\n}",
|
200
200
|
"title": "DescribeFiles"
|
201
201
|
}
|
202
202
|
],
|
203
203
|
"DescribeJobs": [
|
204
204
|
{
|
205
205
|
"document": "",
|
206
|
-
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeJobs\n<公共请求参数>\n\n{\n \"ProjectIds\": [\n \"xx\"\n ],\n \"OrderBy\": \"
|
207
|
-
"output": "{\n \"Response\": {\n \"JobSet\": [\n {\n \"ErrorRate\": 0,\n \"RequestTotal\":
|
206
|
+
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeJobs\n<公共请求参数>\n\n{\n \"ProjectIds\": [\n \"project-xx\"\n ],\n \"OrderBy\": \"asc\",\n \"JobIds\": [\n \"job-xx\"\n ],\n \"Ascend\": true,\n \"Limit\": 0,\n \"StartTime\": \"2020-09-22T00:00:00+00:00\",\n \"Offset\": 0,\n \"EndTime\": \"2020-09-22T00:00:00+00:00\",\n \"ScenarioIds\": [\n \"scenario-xx\"\n ]\n}",
|
207
|
+
"output": "{\n \"Response\": {\n \"JobSet\": [\n {\n \"ErrorRate\": 0,\n \"RequestTotal\": 78,\n \"RequestsPerSecond\": 3.6055887,\n \"ResponseTimeAverage\": 0.041749522,\n \"ResponseTimeP99\": 0.0988,\n \"ResponseTimeP95\": 0.094,\n \"ResponseTimeP90\": 0.088,\n \"ResponseTimeMax\": 0.08245612,\n \"ResponseTimeMin\": 0.004263497,\n \"NetworkReceiveRate\": 1842.4558,\n \"NetworkSendRate\": 773.39874,\n \"JobId\": \"job-g5zcpcwi\",\n \"ProjectId\": \"project-492xxqe4\",\n \"ProjectName\": \"测试\",\n \"ScenarioId\": \"scenario-ouz3x17a\",\n \"ScenarioName\": \"pts-js(2024-08-07 11:40:53)\",\n \"CronId\": \"\",\n \"Type\": \"pts-js\",\n \"Load\": {\n \"LoadSpec\": {\n \"Concurrency\": {\n \"Stages\": [\n {\n \"DurationSeconds\": 120,\n \"TargetVirtualUsers\": 2\n },\n {\n \"DurationSeconds\": 120,\n \"TargetVirtualUsers\": 4\n },\n {\n \"DurationSeconds\": 120,\n \"TargetVirtualUsers\": 5\n },\n {\n \"DurationSeconds\": 240,\n \"TargetVirtualUsers\": 5\n }\n ],\n \"Resources\": 1,\n \"IterationCount\": 0,\n \"MaxRequestsPerSecond\": 40,\n \"GracefulStopSeconds\": 3\n },\n \"RequestsPerSecond\": null,\n \"ScriptOrigin\": null\n },\n \"VpcLoadDistribution\": null,\n \"GeoRegionsLoadDistribution\": [\n {\n \"Region\": \"ap-guangzhou\",\n \"RegionId\": 1,\n \"Percentage\": 100\n }\n ]\n },\n \"TestScripts\": null,\n \"Datasets\": null,\n \"Protocols\": [],\n \"RequestFiles\": [],\n \"Plugins\": [],\n \"StartTime\": \"2024-08-08T14:31:50+08:00\",\n \"EndTime\": \"2024-08-08T14:32:12+08:00\",\n \"Note\": \"\",\n \"JobOwner\": \"teset\",\n \"AbortReason\": 1,\n \"Status\": 16,\n \"Message\": \"用户中断\",\n \"DomainNameConfig\": {\n \"HostAliases\": null,\n \"DNSConfig\": null\n },\n \"Debug\": false,\n \"NotificationHooks\": null,\n \"Duration\": 600,\n \"MaxVirtualUserCount\": 5,\n \"MaxRequestsPerSecond\": 40,\n \"LoadSourceInfos\": null,\n \"CreatedAt\": \"2024-08-08T14:31:44+08:00\",\n \"Configs\": null,\n \"Extensions\": null,\n \"Scripts\": null,\n \"LoadSources\": null\n }\n ],\n \"RequestId\": \"ae27925c-eb40-47d3-8643-c8c204ab77be\",\n \"Total\": 1\n }\n}",
|
208
208
|
"title": "查询任务列表"
|
209
209
|
}
|
210
210
|
],
|
@@ -339,8 +339,8 @@
|
|
339
339
|
"UpdateCronJob": [
|
340
340
|
{
|
341
341
|
"document": "更新定时任务",
|
342
|
-
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateCronJob\n<公共请求参数>\n\n{\n \"ProjectId\": \"xx\",\n \"CronJobId\": \"xx\",\n \"CronExpression\": \"*/1 * * * *\",\n \"FrequencyType\": 1,\n \"EndTime\": \"2020-09-22T00:00:00+00:00\",\n \"NoticeId\": \"xx\",\n \"Name\": \"
|
343
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"xx\"\n }\n}",
|
342
|
+
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateCronJob\n<公共请求参数>\n\n{\n \"ProjectId\": \"project-xx\",\n \"CronJobId\": \"cron-xx\",\n \"CronExpression\": \"*/1 * * * *\",\n \"FrequencyType\": 1,\n \"EndTime\": \"2020-09-22T00:00:00+00:00\",\n \"NoticeId\": \"notice-xx\",\n \"Name\": \"cron name\",\n \"ScenarioId\": \"scenario-xx\",\n \"ScenarioName\": \"scenario name\",\n \"Note\": \"notes\",\n \"JobOwner\": \"tom\"\n}",
|
343
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"req-xx\"\n }\n}",
|
344
344
|
"title": "更新定时任务"
|
345
345
|
}
|
346
346
|
],
|