tccli 3.0.1101.1__py2.py3-none-any.whl → 3.0.1102.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/cls/v20201016/DeleteDataTransform.md +1 -1
- tccli/examples/cls/v20201016/ModifyConfigExtra.md +2 -2
- tccli/examples/rum/v20210622/DescribeError.md +1 -1
- tccli/examples/rum/v20210622/ModifyProject.md +1 -1
- tccli/examples/teo/v20220901/DescribeSecurityIPGroup.md +30 -0
- tccli/examples/trtc/v20190722/CreateCloudRecording.md +2 -2
- tccli/services/cdn/v20180606/api.json +1 -1
- tccli/services/cls/v20201016/api.json +78 -56
- tccli/services/cls/v20201016/examples.json +2 -2
- tccli/services/cvm/v20170312/api.json +2 -0
- tccli/services/ess/v20201111/api.json +9 -0
- tccli/services/essbasic/v20210526/api.json +19 -1
- tccli/services/hunyuan/v20230901/api.json +2 -2
- tccli/services/monitor/v20180724/api.json +39 -39
- tccli/services/rum/v20210622/api.json +26 -11
- tccli/services/rum/v20210622/examples.json +16 -16
- tccli/services/tdmq/v20200217/api.json +111 -1
- tccli/services/teo/teo_client.py +53 -0
- tccli/services/teo/v20220901/api.json +55 -2
- tccli/services/teo/v20220901/examples.json +8 -0
- tccli/services/trtc/v20190722/api.json +24 -6
- tccli/services/trtc/v20190722/examples.json +1 -1
- tccli/services/vod/v20180717/api.json +2 -2
- {tccli-3.0.1101.1.dist-info → tccli-3.0.1102.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1101.1.dist-info → tccli-3.0.1102.1.dist-info}/RECORD +29 -28
- {tccli-3.0.1101.1.dist-info → tccli-3.0.1102.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1101.1.dist-info → tccli-3.0.1102.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1101.1.dist-info → tccli-3.0.1102.1.dist-info}/license_files/LICENSE +0 -0
@@ -3,7 +3,7 @@
|
|
3
3
|
"CreateProject": [
|
4
4
|
{
|
5
5
|
"document": "创建 RUM 应用",
|
6
|
-
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateProject\n<公共请求参数>\n\n{\n \"Name\": \"'测试项目'\",\n \"InstanceID\": \"\\\"taw-123\\\"\",\n \"Repo\": \"'http://github.com/xxx'\",\n \"URL\": \"'http://www.qq.com'\",\n \"Rate\": \"\\\"10\\\"\",\n \"EnableURLGroup\":
|
6
|
+
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateProject\n<公共请求参数>\n\n{\n \"Name\": \"'测试项目'\",\n \"InstanceID\": \"\\\"taw-123\\\"\",\n \"Repo\": \"'http://github.com/xxx'\",\n \"URL\": \"'http://www.qq.com'\",\n \"Rate\": \"\\\"10\\\"\",\n \"EnableURLGroup\": 1,\n \"Type\": \"web\",\n \"Desc\": \"'项目描述'\"\n}",
|
7
7
|
"output": "{\n \"Response\": {\n \"ID\": 1,\n \"Key\": \"RlOmCVbPrKd4\",\n \"RequestId\": \"65a8fec7-2b39-4b11-893f-3715279d235f\"\n }\n}",
|
8
8
|
"title": "创建 RUM 应用"
|
9
9
|
}
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"CreateStarProject": [
|
20
20
|
{
|
21
21
|
"document": "添加星标应用",
|
22
|
-
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateStarProject\n<公共请求参数>\n\n{\n \"InstanceID\": \"taw-123\",\n \"ID\":
|
22
|
+
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateStarProject\n<公共请求参数>\n\n{\n \"InstanceID\": \"taw-123\",\n \"ID\": 1\n}",
|
23
23
|
"output": "{\n \"Response\": {\n \"Msg\": \"xxxx\",\n \"RequestId\": \"65a8fec7-2b39-4b11-893f-3715279d235f\"\n }\n}",
|
24
24
|
"title": "添加星标应用"
|
25
25
|
}
|
@@ -57,7 +57,7 @@
|
|
57
57
|
"DeleteProject": [
|
58
58
|
{
|
59
59
|
"document": "删除 RUM 应用",
|
60
|
-
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteProject\n<公共请求参数>\n\n{\n \"ID\":
|
60
|
+
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteProject\n<公共请求参数>\n\n{\n \"ID\": 6\n}",
|
61
61
|
"output": "{\n \"Response\": {\n \"Msg\": \"success\",\n \"RequestId\": \"65a8fec7-2b39-4b11-893f-3715279d235f\"\n }\n}",
|
62
62
|
"title": "删除 RUM 应用"
|
63
63
|
}
|
@@ -73,7 +73,7 @@
|
|
73
73
|
"DeleteStarProject": [
|
74
74
|
{
|
75
75
|
"document": "删除星标应用",
|
76
|
-
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteStarProject\n<公共请求参数>\n\n{\n \"InstanceID\": \"taw-123\",\n \"ID\":
|
76
|
+
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteStarProject\n<公共请求参数>\n\n{\n \"InstanceID\": \"taw-123\",\n \"ID\": 1\n}",
|
77
77
|
"output": "{\n \"Response\": {\n \"Msg\": \"xxxx\",\n \"RequestId\": \"65a8fec7-2b39-4b11-893f-3715279d235f\"\n }\n}",
|
78
78
|
"title": "删除星标应用"
|
79
79
|
}
|
@@ -159,19 +159,19 @@
|
|
159
159
|
"DescribeDataFetchUrl": [
|
160
160
|
{
|
161
161
|
"document": "",
|
162
|
-
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDataFetchUrl\n<公共请求参数>\n\n{\n \"EndTime\":
|
162
|
+
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDataFetchUrl\n<公共请求参数>\n\n{\n \"EndTime\": 1658390700,\n \"Type\": \"allcount\",\n \"ID\": \"1\",\n \"StartTime\": 1658304300\n}",
|
163
163
|
"output": "{\n \"Response\": {\n \"RequestId\": \"d446c290-7034-47d3-8d72-46e7a692f5ac\",\n \"Result\": \"{\\\"request_id\\\":\\\"d446c290-7034-47d3-8d72-46e7a692f5ac\\\",\\\"results\\\":[{\\\"statement_id\\\":0,\\\"total\\\":0},{\\\"statement_id\\\":1,\\\"total\\\":0}]}\"\n }\n}",
|
164
164
|
"title": "1"
|
165
165
|
},
|
166
166
|
{
|
167
167
|
"document": "",
|
168
|
-
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDataFetchUrl\n<公共请求参数>\n\n{\n \"EndTime\":
|
168
|
+
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDataFetchUrl\n<公共请求参数>\n\n{\n \"EndTime\": 1625454840,\n \"Type\": \"condition\",\n \"ID\": \"1\",\n \"StartTime\": 1625444040\n}",
|
169
169
|
"output": "{\n \"Response\": {\n \"RequestId\": \"d8b037d7-08ae-401d-84cf-071e7a133c00\",\n \"Result\": \"{\\\"request_id\\\":\\\"d8b037d7-08ae-401d-84cf-071e7a133c00\\\",\\\"results\\\":[{\\\"statement_id\\\":0,\\\"total\\\":0},{\\\"statement_id\\\":1,\\\"total\\\":0}]}\"\n }\n}",
|
170
170
|
"title": "333"
|
171
171
|
},
|
172
172
|
{
|
173
173
|
"document": "",
|
174
|
-
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDataFetchUrl\n<公共请求参数>\n\n{\n \"ExtSecond\": \"自定义2\",\n \"Engine\": \"ie2\",\n \"IsAbroad\": \"1\",\n \"Area\": \"中国\",\n \"NetType\": \"2\",\n \"CostType\": \"avg\",\n \"Level\": \"1\",\n \"Os\": \"apple\",\n \"Brand\": \"apple\",\n \"Isp\": \"中国移动\",\n \"VersionNum\": \"版本\",\n \"Platform\": \"2\",\n \"ExtThird\": \"自定义3\",\n \"ExtFirst\": \"自定义1\",\n \"StartTime\":
|
174
|
+
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDataFetchUrl\n<公共请求参数>\n\n{\n \"ExtSecond\": \"自定义2\",\n \"Engine\": \"ie2\",\n \"IsAbroad\": \"1\",\n \"Area\": \"中国\",\n \"NetType\": \"2\",\n \"CostType\": \"avg\",\n \"Level\": \"1\",\n \"Os\": \"apple\",\n \"Brand\": \"apple\",\n \"Isp\": \"中国移动\",\n \"VersionNum\": \"版本\",\n \"Platform\": \"2\",\n \"ExtThird\": \"自定义3\",\n \"ExtFirst\": \"自定义1\",\n \"StartTime\": 1625444040,\n \"Device\": \"三星\",\n \"From\": \"index.html\",\n \"EndTime\": 1625454840,\n \"Type\": \"pagepv\",\n \"ID\": \"1\",\n \"Browser\": \"ie\"\n}",
|
175
175
|
"output": "{\n \"Response\": {\n \"Result\": \"xxxx\",\n \"RequestId\": \"65a8fec7-2b39-4b11-893f-3715279d235f\"\n }\n}",
|
176
176
|
"title": "获取DescribeDataFetchUrl信息"
|
177
177
|
}
|
@@ -203,7 +203,7 @@
|
|
203
203
|
"DescribeDataPerformancePage": [
|
204
204
|
{
|
205
205
|
"document": "",
|
206
|
-
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDataPerformancePage\n<公共请求参数>\n\n{\n \"EndTime\":
|
206
|
+
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDataPerformancePage\n<公共请求参数>\n\n{\n \"EndTime\": 1658390700,\n \"Type\": \"allcount\",\n \"ID\": 1,\n \"StartTime\": 1658304300\n}",
|
207
207
|
"output": "{\n \"Response\": {\n \"RequestId\": \"ddec0dc8-3268-4571-9ac0-566ae7537495\",\n \"Result\": \"{\\\"request_id\\\":\\\"ddec0dc8-3268-4571-9ac0-566ae7537495\\\",\\\"results\\\":[{\\\"statement_id\\\":0,\\\"total\\\":0},{\\\"statement_id\\\":1,\\\"total\\\":0},{\\\"statement_id\\\":2,\\\"total\\\":0},{\\\"statement_id\\\":3,\\\"total\\\":0}]}\"\n }\n}",
|
208
208
|
"title": "22"
|
209
209
|
},
|
@@ -245,7 +245,7 @@
|
|
245
245
|
"DescribeDataReportCount": [
|
246
246
|
{
|
247
247
|
"document": "",
|
248
|
-
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDataReportCount\n<公共请求参数>\n\n{\n \"EndTime\":
|
248
|
+
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDataReportCount\n<公共请求参数>\n\n{\n \"EndTime\": 1625454840,\n \"ReportType\": \"custom\",\n \"ID\": 1,\n \"StartTime\": 1625444040\n}",
|
249
249
|
"output": "{\n \"Response\": {\n \"Result\": \"xxxx\",\n \"RequestId\": \"65a8fec7-2b39-4b11-893f-3715279d235f\"\n }\n}",
|
250
250
|
"title": "获取上报量"
|
251
251
|
}
|
@@ -299,7 +299,7 @@
|
|
299
299
|
"DescribeError": [
|
300
300
|
{
|
301
301
|
"document": "",
|
302
|
-
"input": "https://rum.tencentcloudapi.com/?Action=DescribeError\n&ID=1\n&Date
|
302
|
+
"input": "https://rum.tencentcloudapi.com/?Action=DescribeError\n&ID=1\n&Date=\"20210520\"\n&<公共请求参数>",
|
303
303
|
"output": "{\n \"Response\": {\n \"ID\": 1,\n \"CreateTime\": \"20210520\",\n \"Content\": \"xxxx\",\n \"RequestId\": \"65a8fec7-2b39-4b11-893f-3715279d235f\"\n }\n}",
|
304
304
|
"title": "获取首页错误信息"
|
305
305
|
}
|
@@ -307,7 +307,7 @@
|
|
307
307
|
"DescribeProjectLimits": [
|
308
308
|
{
|
309
309
|
"document": "获取应用上报抽样信息",
|
310
|
-
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProjectLimits\n<公共请求参数>\n\n{\n \"ProjectID\":
|
310
|
+
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProjectLimits\n<公共请求参数>\n\n{\n \"ProjectID\": 8\n}",
|
311
311
|
"output": "{\n \"Response\": {\n \"ProjectLimitSet\": [\n {\n \"ID\": 17,\n \"ProjectID\": 8,\n \"ProjectInterface\": \"web\",\n \"ReportRate\": 10,\n \"ReportType\": 1\n }\n ],\n \"RequestId\": \"6f867613-843d-410a-8000-c74477ca48a8\"\n }\n}",
|
312
312
|
"title": "获取应用上报抽样信息"
|
313
313
|
}
|
@@ -315,13 +315,13 @@
|
|
315
315
|
"DescribeProjects": [
|
316
316
|
{
|
317
317
|
"document": "获取 RUM 应用列表",
|
318
|
-
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProjects\n<公共请求参数>\n\n{\n \"Limit\":
|
318
|
+
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProjects\n<公共请求参数>\n\n{\n \"Limit\": 20,\n \"Offset\": 1\n}",
|
319
319
|
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"ProjectSet\": [],\n \"RequestId\": \"65a8fec7-2b39-4b11-893f-3715279d235f\"\n }\n}",
|
320
320
|
"title": "获取 RUM 应用列表"
|
321
321
|
},
|
322
322
|
{
|
323
323
|
"document": "根据过滤条件获取 RUM 应用列表",
|
324
|
-
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProjects\n<公共请求参数>\n\n{\n \"Limit\":
|
324
|
+
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProjects\n<公共请求参数>\n\n{\n \"Limit\": 20,\n \"Filters\": [\n {\n \"Values\": [\n \"'测试项目名2'\",\n \"'测试项目名'\"\n ],\n \"Name\": \"'Name'\"\n }\n ],\n \"Offset\": 1\n}",
|
325
325
|
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"ProjectSet\": [],\n \"RequestId\": \"65a8fec7-2b39-4b11-893f-3715279d235f\"\n }\n}",
|
326
326
|
"title": "根据过滤条件获取 RUM 应用列表"
|
327
327
|
}
|
@@ -423,7 +423,7 @@
|
|
423
423
|
"DescribeScores": [
|
424
424
|
{
|
425
425
|
"document": "获取首页Score",
|
426
|
-
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeScores\n<公共请求参数>\n\n{\n \"EndTime\": \"2022051914\",\n \"ID\":
|
426
|
+
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeScores\n<公共请求参数>\n\n{\n \"EndTime\": \"2022051914\",\n \"ID\": 1,\n \"StartTime\": \"2020011920\"\n}",
|
427
427
|
"output": "{\n \"Response\": {\n \"ScoreSet\": [],\n \"RequestId\": \"65a8fec7-2b39-4b11-893f-3715279d235f\"\n }\n}",
|
428
428
|
"title": "获取首页Score"
|
429
429
|
}
|
@@ -471,8 +471,8 @@
|
|
471
471
|
"ModifyProject": [
|
472
472
|
{
|
473
473
|
"document": "修改 RUM 应用信息",
|
474
|
-
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyProject\n<公共请求参数>\n\n{\n \"ID\":
|
475
|
-
"output": "{\n \"Response\": {\n \"ID\":
|
474
|
+
"input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyProject\n<公共请求参数>\n\n{\n \"ID\": 6,\n \"Name\": \"'测试项目'\"\n}",
|
475
|
+
"output": "{\n \"Response\": {\n \"ID\": 6,\n \"Msg\": \"success\",\n \"RequestId\": \"65a8fec7-2b39-4b11-893f-3715279d235f\"\n }\n}",
|
476
476
|
"title": "修改 RUM 应用信息"
|
477
477
|
}
|
478
478
|
],
|
@@ -13896,7 +13896,7 @@
|
|
13896
13896
|
},
|
13897
13897
|
{
|
13898
13898
|
"disabled": false,
|
13899
|
-
"document": "
|
13899
|
+
"document": "集群异常信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
13900
13900
|
"example": "异常信息",
|
13901
13901
|
"member": "string",
|
13902
13902
|
"name": "ExceptionInformation",
|
@@ -13933,6 +13933,26 @@
|
|
13933
13933
|
"output_required": true,
|
13934
13934
|
"type": "int",
|
13935
13935
|
"value_allowed_null": true
|
13936
|
+
},
|
13937
|
+
{
|
13938
|
+
"disabled": false,
|
13939
|
+
"document": "每秒消费消息数 单位:条/秒\n注意:此字段可能返回 null,表示取不到有效值。",
|
13940
|
+
"example": "1.0",
|
13941
|
+
"member": "float",
|
13942
|
+
"name": "MessageConsumeRate",
|
13943
|
+
"output_required": false,
|
13944
|
+
"type": "float",
|
13945
|
+
"value_allowed_null": true
|
13946
|
+
},
|
13947
|
+
{
|
13948
|
+
"disabled": false,
|
13949
|
+
"document": "集群版本信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
13950
|
+
"example": "3.8.30",
|
13951
|
+
"member": "string",
|
13952
|
+
"name": "ClusterVersion",
|
13953
|
+
"output_required": false,
|
13954
|
+
"type": "string",
|
13955
|
+
"value_allowed_null": true
|
13936
13956
|
}
|
13937
13957
|
],
|
13938
13958
|
"usage": "out"
|
@@ -14259,6 +14279,86 @@
|
|
14259
14279
|
"output_required": false,
|
14260
14280
|
"type": "string",
|
14261
14281
|
"value_allowed_null": true
|
14282
|
+
},
|
14283
|
+
{
|
14284
|
+
"disabled": false,
|
14285
|
+
"document": "队列是否持久化,true 为持久化,false 为非持久化\n注意:此字段可能返回 null,表示取不到有效值。",
|
14286
|
+
"example": "true",
|
14287
|
+
"member": "bool",
|
14288
|
+
"name": "Durable",
|
14289
|
+
"output_required": false,
|
14290
|
+
"type": "bool",
|
14291
|
+
"value_allowed_null": true
|
14292
|
+
},
|
14293
|
+
{
|
14294
|
+
"disabled": false,
|
14295
|
+
"document": "队列是否为自动删除队列,true 为自动删除,false 为非自动删除\n注意:此字段可能返回 null,表示取不到有效值。",
|
14296
|
+
"example": "true",
|
14297
|
+
"member": "bool",
|
14298
|
+
"name": "AutoDelete",
|
14299
|
+
"output_required": false,
|
14300
|
+
"type": "bool",
|
14301
|
+
"value_allowed_null": true
|
14302
|
+
},
|
14303
|
+
{
|
14304
|
+
"disabled": false,
|
14305
|
+
"document": "队列所属实例 ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
14306
|
+
"example": "amqp-xxx",
|
14307
|
+
"member": "string",
|
14308
|
+
"name": "InstanceId",
|
14309
|
+
"output_required": false,
|
14310
|
+
"type": "string",
|
14311
|
+
"value_allowed_null": true
|
14312
|
+
},
|
14313
|
+
{
|
14314
|
+
"disabled": false,
|
14315
|
+
"document": "队列所属虚拟主机名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
14316
|
+
"example": "/",
|
14317
|
+
"member": "string",
|
14318
|
+
"name": "VirtualHost",
|
14319
|
+
"output_required": false,
|
14320
|
+
"type": "string",
|
14321
|
+
"value_allowed_null": true
|
14322
|
+
},
|
14323
|
+
{
|
14324
|
+
"disabled": false,
|
14325
|
+
"document": "队列所在主节点名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
14326
|
+
"example": "rabbit@amqp-xxx.rabbitmq-broker-0",
|
14327
|
+
"member": "string",
|
14328
|
+
"name": "Node",
|
14329
|
+
"output_required": false,
|
14330
|
+
"type": "string",
|
14331
|
+
"value_allowed_null": true
|
14332
|
+
},
|
14333
|
+
{
|
14334
|
+
"disabled": false,
|
14335
|
+
"document": "生效的策略名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
14336
|
+
"example": "test-policy",
|
14337
|
+
"member": "string",
|
14338
|
+
"name": "Policy",
|
14339
|
+
"output_required": false,
|
14340
|
+
"type": "string",
|
14341
|
+
"value_allowed_null": true
|
14342
|
+
},
|
14343
|
+
{
|
14344
|
+
"disabled": false,
|
14345
|
+
"document": "扩展参数 key-value 对象\n注意:此字段可能返回 null,表示取不到有效值。",
|
14346
|
+
"example": "{}",
|
14347
|
+
"member": "string",
|
14348
|
+
"name": "Arguments",
|
14349
|
+
"output_required": false,
|
14350
|
+
"type": "string",
|
14351
|
+
"value_allowed_null": true
|
14352
|
+
},
|
14353
|
+
{
|
14354
|
+
"disabled": false,
|
14355
|
+
"document": "是否独占队列\n注意:此字段可能返回 null,表示取不到有效值。",
|
14356
|
+
"example": "false",
|
14357
|
+
"member": "bool",
|
14358
|
+
"name": "Exclusive",
|
14359
|
+
"output_required": false,
|
14360
|
+
"type": "bool",
|
14361
|
+
"value_allowed_null": true
|
14262
14362
|
}
|
14263
14363
|
],
|
14264
14364
|
"usage": "out"
|
@@ -14647,6 +14747,16 @@
|
|
14647
14747
|
"output_required": false,
|
14648
14748
|
"type": "float",
|
14649
14749
|
"value_allowed_null": true
|
14750
|
+
},
|
14751
|
+
{
|
14752
|
+
"disabled": false,
|
14753
|
+
"document": "是否存在镜像队列策略,true 为存在,false 为不存\n注意:此字段可能返回 null,表示取不到有效值。",
|
14754
|
+
"example": "true",
|
14755
|
+
"member": "bool",
|
14756
|
+
"name": "MirrorQueuePolicyFlag",
|
14757
|
+
"output_required": false,
|
14758
|
+
"type": "bool",
|
14759
|
+
"value_allowed_null": true
|
14650
14760
|
}
|
14651
14761
|
],
|
14652
14762
|
"usage": "out"
|
tccli/services/teo/teo_client.py
CHANGED
@@ -5063,6 +5063,58 @@ def doDescribeSecurityIPGroupInfo(args, parsed_globals):
|
|
5063
5063
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5064
5064
|
|
5065
5065
|
|
5066
|
+
def doDescribeSecurityIPGroup(args, parsed_globals):
|
5067
|
+
g_param = parse_global_arg(parsed_globals)
|
5068
|
+
|
5069
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
5070
|
+
cred = credential.CVMRoleCredential()
|
5071
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
5072
|
+
cred = credential.STSAssumeRoleCredential(
|
5073
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
5074
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
5075
|
+
)
|
5076
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
5077
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
5078
|
+
else:
|
5079
|
+
cred = credential.Credential(
|
5080
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
5081
|
+
)
|
5082
|
+
http_profile = HttpProfile(
|
5083
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
5084
|
+
reqMethod="POST",
|
5085
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
5086
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
5087
|
+
)
|
5088
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
5089
|
+
if g_param[OptionsDefine.Language]:
|
5090
|
+
profile.language = g_param[OptionsDefine.Language]
|
5091
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
5092
|
+
client = mod.TeoClient(cred, g_param[OptionsDefine.Region], profile)
|
5093
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
5094
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
5095
|
+
model = models.DescribeSecurityIPGroupRequest()
|
5096
|
+
model.from_json_string(json.dumps(args))
|
5097
|
+
start_time = time.time()
|
5098
|
+
while True:
|
5099
|
+
rsp = client.DescribeSecurityIPGroup(model)
|
5100
|
+
result = rsp.to_json_string()
|
5101
|
+
try:
|
5102
|
+
json_obj = json.loads(result)
|
5103
|
+
except TypeError as e:
|
5104
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
5105
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
5106
|
+
break
|
5107
|
+
cur_time = time.time()
|
5108
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
5109
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
5110
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
5111
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
5112
|
+
else:
|
5113
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
5114
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
5115
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5116
|
+
|
5117
|
+
|
5066
5118
|
def doDescribeDDoSAttackData(args, parsed_globals):
|
5067
5119
|
g_param = parse_global_arg(parsed_globals)
|
5068
5120
|
|
@@ -5381,6 +5433,7 @@ ACTION_MAP = {
|
|
5381
5433
|
"DescribeZones": doDescribeZones,
|
5382
5434
|
"DeleteZone": doDeleteZone,
|
5383
5435
|
"DescribeSecurityIPGroupInfo": doDescribeSecurityIPGroupInfo,
|
5436
|
+
"DescribeSecurityIPGroup": doDescribeSecurityIPGroup,
|
5384
5437
|
"DescribeDDoSAttackData": doDescribeDDoSAttackData,
|
5385
5438
|
"DeleteSharedCNAME": doDeleteSharedCNAME,
|
5386
5439
|
"DescribeAliasDomains": doDescribeAliasDomains,
|
@@ -434,10 +434,17 @@
|
|
434
434
|
"output": "DescribeRulesSettingResponse",
|
435
435
|
"status": "online"
|
436
436
|
},
|
437
|
+
"DescribeSecurityIPGroup": {
|
438
|
+
"document": "查询安全 IP 组的配置信息,包括安全 IP 组的 ID、名称和内容。",
|
439
|
+
"input": "DescribeSecurityIPGroupRequest",
|
440
|
+
"name": "查询安全 IP 组",
|
441
|
+
"output": "DescribeSecurityIPGroupResponse",
|
442
|
+
"status": "online"
|
443
|
+
},
|
437
444
|
"DescribeSecurityIPGroupInfo": {
|
438
|
-
"document": "查询 IP 组的配置信息,包括 IP 组名称、 IP 组内容、 IP 组归属站点。",
|
445
|
+
"document": "接口已废弃,将于 2024 年 6 月 30 日停止服务。请使用 [查询安全 IP 组\n](https://cloud.tencent.com/document/product/1552/105866) 接口。\n\n查询 IP 组的配置信息,包括 IP 组名称、 IP 组内容、 IP 组归属站点。",
|
439
446
|
"input": "DescribeSecurityIPGroupInfoRequest",
|
440
|
-
"name": "
|
447
|
+
"name": "查询安全 IP 组(已废弃)",
|
441
448
|
"output": "DescribeSecurityIPGroupInfoResponse",
|
442
449
|
"status": "online"
|
443
450
|
},
|
@@ -7639,6 +7646,52 @@
|
|
7639
7646
|
],
|
7640
7647
|
"type": "object"
|
7641
7648
|
},
|
7649
|
+
"DescribeSecurityIPGroupRequest": {
|
7650
|
+
"document": "DescribeSecurityIPGroup请求参数结构体",
|
7651
|
+
"members": [
|
7652
|
+
{
|
7653
|
+
"disabled": false,
|
7654
|
+
"document": "站点 ID ,用于指定查询的站点范围。",
|
7655
|
+
"example": "\"zone-nqicqhasui\"",
|
7656
|
+
"member": "string",
|
7657
|
+
"name": "ZoneId",
|
7658
|
+
"required": true,
|
7659
|
+
"type": "string"
|
7660
|
+
},
|
7661
|
+
{
|
7662
|
+
"disabled": false,
|
7663
|
+
"document": "指定安全 IP 组 ID。\n<li>提供该参数时,仅查询指定 ID 的安全 IP 组配置;</li>\n<li>不传递参数时,返回站点下所有安全 IP 组信息。</li>",
|
7664
|
+
"example": "无",
|
7665
|
+
"member": "int64",
|
7666
|
+
"name": "GroupIds",
|
7667
|
+
"required": false,
|
7668
|
+
"type": "list"
|
7669
|
+
}
|
7670
|
+
],
|
7671
|
+
"type": "object"
|
7672
|
+
},
|
7673
|
+
"DescribeSecurityIPGroupResponse": {
|
7674
|
+
"document": "DescribeSecurityIPGroup返回参数结构体",
|
7675
|
+
"members": [
|
7676
|
+
{
|
7677
|
+
"disabled": false,
|
7678
|
+
"document": "安全 IP 组的详细配置信息。包含每个安全 IP 组的 ID 、名称和 IP / 网段列表信息。",
|
7679
|
+
"example": "{ \"GroupId\": 123, \"Name\": \"ExampleIpGroup\", \"Content\": [ \"2.2.2.2\", \"23.23.23.0/24\" ] }",
|
7680
|
+
"member": "IPGroup",
|
7681
|
+
"name": "IPGroups",
|
7682
|
+
"output_required": true,
|
7683
|
+
"type": "list",
|
7684
|
+
"value_allowed_null": false
|
7685
|
+
},
|
7686
|
+
{
|
7687
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
7688
|
+
"member": "string",
|
7689
|
+
"name": "RequestId",
|
7690
|
+
"type": "string"
|
7691
|
+
}
|
7692
|
+
],
|
7693
|
+
"type": "object"
|
7694
|
+
},
|
7642
7695
|
"DescribeSecurityTemplateBindingsRequest": {
|
7643
7696
|
"document": "DescribeSecurityTemplateBindings请求参数结构体",
|
7644
7697
|
"members": [
|
@@ -616,6 +616,14 @@
|
|
616
616
|
"title": "DescribeRulesSetting"
|
617
617
|
}
|
618
618
|
],
|
619
|
+
"DescribeSecurityIPGroup": [
|
620
|
+
{
|
621
|
+
"document": "查询指定站点中,安全 IP 分组的配置信息。",
|
622
|
+
"input": "POST / HTTP/1.1\nHost: xxx.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-nqicqhasui\"\n}",
|
623
|
+
"output": "{\n \"Response\": {\n \"IPGroups\": [\n {\n \"GroupId\": 123,\n \"Name\": \"ExampleIpGroup\",\n \"Content\": [\n \"2.2.2.2\",\n \"23.23.23.0/24\"\n ]\n }\n ],\n \"RequestId\": \"ddf831fc-cf45-40fe-81b0-2d9cdd4c1bd6\"\n }\n}",
|
624
|
+
"title": "查询安全 IP 分组的配置信息"
|
625
|
+
}
|
626
|
+
],
|
619
627
|
"DescribeSecurityIPGroupInfo": [
|
620
628
|
{
|
621
629
|
"document": "查询指定站点的 IP 分组配置信息,并按每页 10 条返回第 1 页内容。",
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
3
|
"CreateCloudRecording": {
|
4
|
-
"document": "接口说明:\n启动云端录制功能,完成房间内的音视频录制,并上传到指定的云存储。您可以通过此 API 接口把TRTC
|
4
|
+
"document": "接口说明:\n启动云端录制功能,完成房间内的音视频录制,并上传到指定的云存储。您可以通过此 API 接口把TRTC 房间中的每一路音视频流做单独的录制又或者多路视频画面合流混成一路。\n\n您可以通过此接口实现如下目标:\n* 指定订阅流参数(RecordParams)来指定需要录制的主播的黑名单或者白名单。\n* 指定录制存储参数(StorageParams)来指定上传到您希望的云存储,目前支持腾讯云(云点播VOD、对象存储COS)和第三方AWS\n* 指定合流模式下的音视频转码详细参数(MixTranscodeParams),包括视频分辨率、视频码率、视频帧率、以及声音质量等\n* 指定合流模式各路画面的位置和布局或者也可以指定自动模板的方式来配置。\n\n关键名词:\n* 单流录制:分别录制房间的订阅UserId的音频和视频,录制服务会实时将录制文件上传至您指定的云存储。\n* 合流录制:将房间内订阅UserId的音视频混录成一个视频文件,并将录制文件上传至您指定的云存储。(录制结束后可前往云点播控制台https://console.cloud.tencent.com/vod/media 或 对象存储COS控制台https://console.cloud.tencent.com/cos/bucket查看文件)。",
|
5
5
|
"input": "CreateCloudRecordingRequest",
|
6
6
|
"name": "开始云端录制",
|
7
7
|
"output": "CreateCloudRecordingResponse",
|
@@ -713,7 +713,7 @@
|
|
713
713
|
},
|
714
714
|
{
|
715
715
|
"disabled": false,
|
716
|
-
"document": "
|
716
|
+
"document": "合流的转码参数,录制模式为合流的时候可以设置。",
|
717
717
|
"example": "无",
|
718
718
|
"member": "MixTranscodeParams",
|
719
719
|
"name": "MixTranscodeParams",
|
@@ -722,7 +722,7 @@
|
|
722
722
|
},
|
723
723
|
{
|
724
724
|
"disabled": false,
|
725
|
-
"document": "
|
725
|
+
"document": "合流的布局参数,录制模式为合流的时候可以设置。",
|
726
726
|
"example": "无",
|
727
727
|
"member": "MixLayoutParams",
|
728
728
|
"name": "MixLayoutParams",
|
@@ -4607,7 +4607,7 @@
|
|
4607
4607
|
"members": [
|
4608
4608
|
{
|
4609
4609
|
"disabled": false,
|
4610
|
-
"document": "录制模式:\n1:单流录制,分别录制房间的订阅UserId的音频和视频,将录制文件上传至云存储;\n2
|
4610
|
+
"document": "录制模式:\n1:单流录制,分别录制房间的订阅UserId的音频和视频,将录制文件上传至云存储;\n2:合流录制,将房间内订阅UserId的音视频混录成一个音视频文件,将录制文件上传至云存储;",
|
4611
4611
|
"example": "1",
|
4612
4612
|
"member": "uint64",
|
4613
4613
|
"name": "RecordMode",
|
@@ -4652,7 +4652,7 @@
|
|
4652
4652
|
},
|
4653
4653
|
{
|
4654
4654
|
"disabled": false,
|
4655
|
-
"document": "单流录制模式下,用户的音视频是否合并,0:单流音视频不合并(默认)。1:单流音视频合并成一个ts
|
4655
|
+
"document": "单流录制模式下,用户的音视频是否合并,0:单流音视频不合并(默认)。1:单流音视频合并成一个ts。合流录制此参数无需设置,默认音视频合并。",
|
4656
4656
|
"example": "0",
|
4657
4657
|
"member": "uint64",
|
4658
4658
|
"name": "AvMerge",
|
@@ -4676,6 +4676,15 @@
|
|
4676
4676
|
"name": "MediaId",
|
4677
4677
|
"required": false,
|
4678
4678
|
"type": "int"
|
4679
|
+
},
|
4680
|
+
{
|
4681
|
+
"disabled": false,
|
4682
|
+
"document": "上行视频停止时,录制的补帧类型,0:补最后一帧 1:补黑帧",
|
4683
|
+
"example": "0",
|
4684
|
+
"member": "uint64",
|
4685
|
+
"name": "FillType",
|
4686
|
+
"required": false,
|
4687
|
+
"type": "int"
|
4679
4688
|
}
|
4680
4689
|
],
|
4681
4690
|
"usage": "in"
|
@@ -6846,7 +6855,7 @@
|
|
6846
6855
|
"usage": "in"
|
6847
6856
|
},
|
6848
6857
|
"WebRecordVideoParams": {
|
6849
|
-
"document": "
|
6858
|
+
"document": "页面录制控制参数",
|
6850
6859
|
"members": [
|
6851
6860
|
{
|
6852
6861
|
"disabled": false,
|
@@ -6874,6 +6883,15 @@
|
|
6874
6883
|
"name": "Format",
|
6875
6884
|
"required": false,
|
6876
6885
|
"type": "string"
|
6886
|
+
},
|
6887
|
+
{
|
6888
|
+
"disabled": false,
|
6889
|
+
"document": "如果是aac或者mp4文件格式,超过长度限制后,系统会自动拆分视频文件。单位:分钟。默认为1440min(24h),取值范围为1-1440。【单文件限制最大为2G,满足文件大小 >2G 或录制时长度 > 24h任意一个条件,文件都会自动切分】\nHls 格式录制此参数不生效。\n示例值:1440",
|
6890
|
+
"example": "1440",
|
6891
|
+
"member": "int64",
|
6892
|
+
"name": "MaxMediaFileDuration",
|
6893
|
+
"required": false,
|
6894
|
+
"type": "int"
|
6877
6895
|
}
|
6878
6896
|
],
|
6879
6897
|
"usage": "in"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"actions": {
|
3
3
|
"CreateCloudRecording": [
|
4
4
|
{
|
5
|
-
"document": "启动SdkAppId 为 1234 指定房间(房间号为3560)的云端录制。\n\n房间空闲等待时间设置为1分钟。\n
|
5
|
+
"document": "启动SdkAppId 为 1234 指定房间(房间号为3560)的云端录制。\n\n房间空闲等待时间设置为1分钟。\n录制模式为合流模式。\n录制的流类型为音视频。\n默认订阅所有用户的流。\n录制视频的宽度360,录制视频的高度640,帧率15,比特率500,000bps,默认背景色。\n录制视频布局模式为九宫格布局。\n存储至腾讯云点播VOD",
|
6
6
|
"input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudRecording\n<公共请求参数>\n\n{\n \"StorageParams\": {\n \"CloudVod\": {\n \"TencentVod\": {\n \"ExpireTime\": 0\n }\n }\n },\n \"UserSig\": \"11xx111\",\n \"UserId\": \"10001\",\n \"RecordParams\": {\n \"MaxIdleTime\": 60,\n \"StreamType\": 0,\n \"RecordMode\": 2\n },\n \"RoomIdType\": 1,\n \"MixTranscodeParams\": {\n \"VideoParams\": {\n \"Width\": 360,\n \"BitRate\": 500000,\n \"Fps\": 15,\n \"Height\": 640,\n \"Gop\": 10\n }\n },\n \"MixLayoutParams\": {\n \"MixLayoutMode\": 3\n },\n \"SdkAppId\": 1234,\n \"RoomId\": \"3560\"\n}",
|
7
7
|
"output": "{\n \"Response\": {\n \"TaskId\": \"-gCTFWtU7t7DUlo7A8IswFszO9z2O-rbERqJAoK-4pycoZXKjIAAnasdcasdOEycyX4CnzhIm4RAQ..\",\n \"RequestId\": \"71993312-6ab8-4768-9124-118e0a20c45f\"\n }\n}",
|
8
8
|
"title": "启动云端录制"
|
@@ -13238,7 +13238,7 @@
|
|
13238
13238
|
{
|
13239
13239
|
"disabled": false,
|
13240
13240
|
"document": "获取日志起始时间点,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。",
|
13241
|
-
"example": "2018-12-
|
13241
|
+
"example": "2018-12-01T16:00:00Z",
|
13242
13242
|
"member": "string",
|
13243
13243
|
"name": "StartTime",
|
13244
13244
|
"required": true,
|
@@ -13247,7 +13247,7 @@
|
|
13247
13247
|
{
|
13248
13248
|
"disabled": false,
|
13249
13249
|
"document": "结束时间需大于起始时间;使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。",
|
13250
|
-
"example": "2018-12-
|
13250
|
+
"example": "2018-12-03T16:00:00Z",
|
13251
13251
|
"member": "string",
|
13252
13252
|
"name": "EndTime",
|
13253
13253
|
"required": true,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tccli
|
3
|
-
Version: 3.0.
|
3
|
+
Version: 3.0.1102.1
|
4
4
|
Summary: Universal Command Line Environment for Tencent Cloud
|
5
5
|
Project-URL: Bug Tracker, https://github.com/TencentCloud/tencentcloud-cli/issues
|
6
6
|
Project-URL: Homepage, https://github.com/TencentCloud/tencentcloud-cli
|
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
13
13
|
Classifier: Programming Language :: Python :: 3
|
14
14
|
Requires-Dist: jmespath==0.10.0
|
15
15
|
Requires-Dist: six==1.16.0
|
16
|
-
Requires-Dist: tencentcloud-sdk-python>=3.0.
|
16
|
+
Requires-Dist: tencentcloud-sdk-python>=3.0.1102
|
17
17
|
Description-Content-Type: text/markdown
|
18
18
|
|
19
19
|
# 命令行工具简介
|