tccli 3.0.1101.1__py2.py3-none-any.whl → 3.0.1103.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/iotexplorer/v20190423/CreateTRTCSignaturesWithRoomId.md +30 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStorageAIServiceTask.md +36 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStorageAIServiceTasks.md +3 -0
- tccli/examples/iotexplorer/v20190423/DismissRoomByStrRoomIdFromTRTC.md +20 -0
- tccli/examples/iotexplorer/v20190423/GenerateCloudStorageAIServiceTaskFileURL.md +24 -0
- tccli/examples/iotexplorer/v20190423/RemoveUserByRoomIdFromTRTC.md +21 -0
- tccli/examples/lighthouse/v20200324/DescribeInstancesDeniedActions.md +11 -6
- tccli/examples/mrs/v20200910/DrugInstructionObject.md +0 -0
- 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/examples/waf/v20180125/CreateIpAccessControl.md +27 -0
- tccli/examples/waf/v20180125/DeleteIpAccessControlV2.md +25 -0
- tccli/examples/waf/v20180125/ImportIpAccessControl.md +30 -0
- tccli/examples/waf/v20180125/ModifyIpAccessControl.md +28 -0
- tccli/services/captcha/v20190722/api.json +2 -2
- tccli/services/ccc/v20200210/api.json +3 -3
- tccli/services/cdn/v20180606/api.json +1 -1
- tccli/services/clb/v20180317/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/dlc/v20210125/api.json +70 -1
- tccli/services/ess/v20201111/api.json +9 -0
- tccli/services/essbasic/v20210526/api.json +19 -1
- tccli/services/fmu/v20191213/api.json +1 -1
- tccli/services/hunyuan/v20230901/api.json +2 -2
- tccli/services/iotexplorer/iotexplorer_client.py +298 -33
- tccli/services/iotexplorer/v20190423/api.json +359 -20
- tccli/services/iotexplorer/v20190423/examples.json +41 -1
- tccli/services/iss/v20230517/api.json +10 -0
- tccli/services/lighthouse/v20200324/api.json +30 -28
- tccli/services/lighthouse/v20200324/examples.json +3 -3
- tccli/services/lke/v20231130/api.json +1 -1
- tccli/services/monitor/v20180724/api.json +39 -39
- tccli/services/mrs/mrs_client.py +53 -0
- tccli/services/mrs/v20200910/api.json +1649 -415
- tccli/services/mrs/v20200910/examples.json +8 -0
- tccli/services/ocr/v20181119/api.json +1 -1
- tccli/services/rce/rce_client.py +0 -53
- tccli/services/rce/v20201103/api.json +0 -197
- tccli/services/rce/v20201103/examples.json +0 -8
- tccli/services/rum/v20210622/api.json +26 -11
- tccli/services/rum/v20210622/examples.json +16 -16
- tccli/services/tdmq/v20200217/api.json +141 -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/tke/v20180525/api.json +1 -1
- tccli/services/trtc/v20190722/api.json +25 -7
- tccli/services/trtc/v20190722/examples.json +1 -1
- tccli/services/tse/v20201207/api.json +2 -2
- tccli/services/vod/v20180717/api.json +2 -2
- tccli/services/waf/v20180125/api.json +396 -0
- tccli/services/waf/v20180125/examples.json +32 -0
- tccli/services/waf/waf_client.py +216 -4
- {tccli-3.0.1101.1.dist-info → tccli-3.0.1103.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1101.1.dist-info → tccli-3.0.1103.1.dist-info}/RECORD +65 -54
- {tccli-3.0.1101.1.dist-info → tccli-3.0.1103.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1101.1.dist-info → tccli-3.0.1103.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1101.1.dist-info → tccli-3.0.1103.1.dist-info}/license_files/LICENSE +0 -0
@@ -391,7 +391,7 @@
|
|
391
391
|
"members": [
|
392
392
|
{
|
393
393
|
"disabled": false,
|
394
|
-
"document": "
|
394
|
+
"document": "应用名称(不为空且最长为 200)",
|
395
395
|
"example": "测试项目名",
|
396
396
|
"member": "string",
|
397
397
|
"name": "Name",
|
@@ -454,7 +454,7 @@
|
|
454
454
|
},
|
455
455
|
{
|
456
456
|
"disabled": false,
|
457
|
-
"document": "
|
457
|
+
"document": "应用描述(可选,最长为 1000)",
|
458
458
|
"example": "这是项目描述",
|
459
459
|
"member": "string",
|
460
460
|
"name": "Desc",
|
@@ -473,6 +473,7 @@
|
|
473
473
|
"example": "1",
|
474
474
|
"member": "uint64",
|
475
475
|
"name": "ID",
|
476
|
+
"output_required": true,
|
476
477
|
"type": "int",
|
477
478
|
"value_allowed_null": false
|
478
479
|
},
|
@@ -482,6 +483,7 @@
|
|
482
483
|
"example": "RlOmCVbPrKd4",
|
483
484
|
"member": "string",
|
484
485
|
"name": "Key",
|
486
|
+
"output_required": true,
|
485
487
|
"type": "string",
|
486
488
|
"value_allowed_null": false
|
487
489
|
},
|
@@ -573,6 +575,7 @@
|
|
573
575
|
"example": "success",
|
574
576
|
"member": "string",
|
575
577
|
"name": "Msg",
|
578
|
+
"output_required": true,
|
576
579
|
"type": "string",
|
577
580
|
"value_allowed_null": false
|
578
581
|
},
|
@@ -856,6 +859,7 @@
|
|
856
859
|
"example": "success",
|
857
860
|
"member": "string",
|
858
861
|
"name": "Msg",
|
862
|
+
"output_required": true,
|
859
863
|
"type": "string",
|
860
864
|
"value_allowed_null": false
|
861
865
|
},
|
@@ -938,6 +942,7 @@
|
|
938
942
|
"example": "success",
|
939
943
|
"member": "string",
|
940
944
|
"name": "Msg",
|
945
|
+
"output_required": true,
|
941
946
|
"type": "string",
|
942
947
|
"value_allowed_null": true
|
943
948
|
},
|
@@ -2413,7 +2418,7 @@
|
|
2413
2418
|
},
|
2414
2419
|
{
|
2415
2420
|
"disabled": false,
|
2416
|
-
"document": "allcount:性能视图,day:14天数据,count40x:40X视图,count50x:50X视图,count5xand4x:40∑50视图,top:资源top视图,nettype/version/platform/isp/region/device/browser/ext1/ext2/ext3/ret/status/from/url/env/:网络平台视图/Version视图/设备视图/ISP视图/地区视图/浏览器视图/ext1视图等等",
|
2421
|
+
"document": "allcount:性能视图,pagepv:pv视图,day:14天数据,count40x:40X视图,count50x:50X视图,count5xand4x:40∑50视图,top:资源top视图,nettype/version/platform/isp/region/device/browser/ext1/ext2/ext3/ret/status/from/url/env/:网络平台视图/Version视图/设备视图/ISP视图/地区视图/浏览器视图/ext1视图等等",
|
2417
2422
|
"example": "pagepv",
|
2418
2423
|
"member": "string",
|
2419
2424
|
"name": "Type",
|
@@ -2965,7 +2970,7 @@
|
|
2965
2970
|
},
|
2966
2971
|
{
|
2967
2972
|
"disabled": false,
|
2968
|
-
"document": "pagepv
|
2973
|
+
"document": "pagepv:pv视图,allcount:性能视图,falls:页面加载瀑布图,samp:首屏时间,day:14天数据,nettype:网络/平台视图,performance:页面性能TOP视图,version/platform/isp/region/device/browser/ext1/ext2/ext3/ret/status/from/url/env/:ISP视图/地区视图/浏览器视图等",
|
2969
2974
|
"example": "pagepv",
|
2970
2975
|
"member": "string",
|
2971
2976
|
"name": "Type",
|
@@ -4938,7 +4943,7 @@
|
|
4938
4943
|
"example": "\"\"",
|
4939
4944
|
"member": "string",
|
4940
4945
|
"name": "Content",
|
4941
|
-
"
|
4946
|
+
"output_required": true,
|
4942
4947
|
"type": "string",
|
4943
4948
|
"value_allowed_null": false
|
4944
4949
|
},
|
@@ -4948,7 +4953,7 @@
|
|
4948
4953
|
"example": "1",
|
4949
4954
|
"member": "int64",
|
4950
4955
|
"name": "ID",
|
4951
|
-
"
|
4956
|
+
"output_required": true,
|
4952
4957
|
"type": "int",
|
4953
4958
|
"value_allowed_null": false
|
4954
4959
|
},
|
@@ -4958,7 +4963,7 @@
|
|
4958
4963
|
"example": "20210520",
|
4959
4964
|
"member": "string",
|
4960
4965
|
"name": "CreateTime",
|
4961
|
-
"
|
4966
|
+
"output_required": true,
|
4962
4967
|
"type": "string",
|
4963
4968
|
"value_allowed_null": false
|
4964
4969
|
},
|
@@ -4995,6 +5000,7 @@
|
|
4995
5000
|
"example": "无",
|
4996
5001
|
"member": "ProjectLimit",
|
4997
5002
|
"name": "ProjectLimitSet",
|
5003
|
+
"output_required": true,
|
4998
5004
|
"type": "list",
|
4999
5005
|
"value_allowed_null": false
|
5000
5006
|
},
|
@@ -5058,6 +5064,7 @@
|
|
5058
5064
|
"example": "0",
|
5059
5065
|
"member": "uint64",
|
5060
5066
|
"name": "TotalCount",
|
5067
|
+
"output_required": true,
|
5061
5068
|
"type": "int",
|
5062
5069
|
"value_allowed_null": false
|
5063
5070
|
},
|
@@ -5067,6 +5074,7 @@
|
|
5067
5074
|
"example": "无",
|
5068
5075
|
"member": "RumProject",
|
5069
5076
|
"name": "ProjectSet",
|
5077
|
+
"output_required": true,
|
5070
5078
|
"type": "list",
|
5071
5079
|
"value_allowed_null": false
|
5072
5080
|
},
|
@@ -5157,7 +5165,7 @@
|
|
5157
5165
|
},
|
5158
5166
|
{
|
5159
5167
|
"disabled": false,
|
5160
|
-
"document": "bucket类型,不填默认web,2:app",
|
5168
|
+
"document": "bucket类型,不填默认1:web,2:app",
|
5161
5169
|
"example": "2",
|
5162
5170
|
"member": "int64",
|
5163
5171
|
"name": "FileType",
|
@@ -5176,6 +5184,7 @@
|
|
5176
5184
|
"example": "sfdgfgfgfdf",
|
5177
5185
|
"member": "string",
|
5178
5186
|
"name": "SecretKey",
|
5187
|
+
"output_required": true,
|
5179
5188
|
"type": "string",
|
5180
5189
|
"value_allowed_null": false
|
5181
5190
|
},
|
@@ -5185,6 +5194,7 @@
|
|
5185
5194
|
"example": "dfdfdfdgfgfbf",
|
5186
5195
|
"member": "string",
|
5187
5196
|
"name": "SecretID",
|
5197
|
+
"output_required": true,
|
5188
5198
|
"type": "string",
|
5189
5199
|
"value_allowed_null": false
|
5190
5200
|
},
|
@@ -5194,6 +5204,7 @@
|
|
5194
5204
|
"example": "asdfdsfdsgg",
|
5195
5205
|
"member": "string",
|
5196
5206
|
"name": "SessionToken",
|
5207
|
+
"output_required": true,
|
5197
5208
|
"type": "string",
|
5198
5209
|
"value_allowed_null": false
|
5199
5210
|
},
|
@@ -5203,6 +5214,7 @@
|
|
5203
5214
|
"example": "123787043",
|
5204
5215
|
"member": "int64",
|
5205
5216
|
"name": "StartTime",
|
5217
|
+
"output_required": true,
|
5206
5218
|
"type": "int",
|
5207
5219
|
"value_allowed_null": false
|
5208
5220
|
},
|
@@ -5212,6 +5224,7 @@
|
|
5212
5224
|
"example": "23435436565",
|
5213
5225
|
"member": "int64",
|
5214
5226
|
"name": "ExpiredTime",
|
5227
|
+
"output_required": true,
|
5215
5228
|
"type": "int",
|
5216
5229
|
"value_allowed_null": false
|
5217
5230
|
},
|
@@ -5720,7 +5733,7 @@
|
|
5720
5733
|
"example": "无",
|
5721
5734
|
"member": "ScoreInfo",
|
5722
5735
|
"name": "ScoreSet",
|
5723
|
-
"
|
5736
|
+
"output_required": true,
|
5724
5737
|
"type": "list",
|
5725
5738
|
"value_allowed_null": false
|
5726
5739
|
},
|
@@ -6192,7 +6205,7 @@
|
|
6192
6205
|
},
|
6193
6206
|
{
|
6194
6207
|
"disabled": false,
|
6195
|
-
"document": "
|
6208
|
+
"document": "应用名称(可选,不为空且最长为 200字符)",
|
6196
6209
|
"example": "测试项目名",
|
6197
6210
|
"member": "string",
|
6198
6211
|
"name": "Name",
|
@@ -6255,7 +6268,7 @@
|
|
6255
6268
|
},
|
6256
6269
|
{
|
6257
6270
|
"disabled": false,
|
6258
|
-
"document": "
|
6271
|
+
"document": "应用描述(可选,最长为 1000字符)",
|
6259
6272
|
"example": "这是项目描述",
|
6260
6273
|
"member": "string",
|
6261
6274
|
"name": "Desc",
|
@@ -6274,6 +6287,7 @@
|
|
6274
6287
|
"example": "success",
|
6275
6288
|
"member": "string",
|
6276
6289
|
"name": "Msg",
|
6290
|
+
"output_required": true,
|
6277
6291
|
"type": "string",
|
6278
6292
|
"value_allowed_null": false
|
6279
6293
|
},
|
@@ -6283,6 +6297,7 @@
|
|
6283
6297
|
"example": "6",
|
6284
6298
|
"member": "uint64",
|
6285
6299
|
"name": "ID",
|
6300
|
+
"output_required": true,
|
6286
6301
|
"type": "int",
|
6287
6302
|
"value_allowed_null": false
|
6288
6303
|
},
|
@@ -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
|
],
|
@@ -7447,6 +7447,36 @@
|
|
7447
7447
|
"type": "int",
|
7448
7448
|
"value_allowed_null": true
|
7449
7449
|
},
|
7450
|
+
{
|
7451
|
+
"disabled": false,
|
7452
|
+
"document": "是否为独占队列\n注意:此字段可能返回 null,表示取不到有效值。",
|
7453
|
+
"example": "true",
|
7454
|
+
"member": "bool",
|
7455
|
+
"name": "Exclusive",
|
7456
|
+
"output_required": false,
|
7457
|
+
"type": "bool",
|
7458
|
+
"value_allowed_null": true
|
7459
|
+
},
|
7460
|
+
{
|
7461
|
+
"disabled": false,
|
7462
|
+
"document": "生效的策略名\n注意:此字段可能返回 null,表示取不到有效值。",
|
7463
|
+
"example": "test-policy",
|
7464
|
+
"member": "string",
|
7465
|
+
"name": "Policy",
|
7466
|
+
"output_required": false,
|
7467
|
+
"type": "string",
|
7468
|
+
"value_allowed_null": true
|
7469
|
+
},
|
7470
|
+
{
|
7471
|
+
"disabled": false,
|
7472
|
+
"document": "扩展参数 key-value\n注意:此字段可能返回 null,表示取不到有效值。",
|
7473
|
+
"example": "{}",
|
7474
|
+
"member": "string",
|
7475
|
+
"name": "Arguments",
|
7476
|
+
"output_required": false,
|
7477
|
+
"type": "string",
|
7478
|
+
"value_allowed_null": true
|
7479
|
+
},
|
7450
7480
|
{
|
7451
7481
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
7452
7482
|
"member": "string",
|
@@ -13896,7 +13926,7 @@
|
|
13896
13926
|
},
|
13897
13927
|
{
|
13898
13928
|
"disabled": false,
|
13899
|
-
"document": "
|
13929
|
+
"document": "集群异常信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
13900
13930
|
"example": "异常信息",
|
13901
13931
|
"member": "string",
|
13902
13932
|
"name": "ExceptionInformation",
|
@@ -13933,6 +13963,26 @@
|
|
13933
13963
|
"output_required": true,
|
13934
13964
|
"type": "int",
|
13935
13965
|
"value_allowed_null": true
|
13966
|
+
},
|
13967
|
+
{
|
13968
|
+
"disabled": false,
|
13969
|
+
"document": "每秒消费消息数 单位:条/秒\n注意:此字段可能返回 null,表示取不到有效值。",
|
13970
|
+
"example": "1.0",
|
13971
|
+
"member": "float",
|
13972
|
+
"name": "MessageConsumeRate",
|
13973
|
+
"output_required": false,
|
13974
|
+
"type": "float",
|
13975
|
+
"value_allowed_null": true
|
13976
|
+
},
|
13977
|
+
{
|
13978
|
+
"disabled": false,
|
13979
|
+
"document": "集群版本信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
13980
|
+
"example": "3.8.30",
|
13981
|
+
"member": "string",
|
13982
|
+
"name": "ClusterVersion",
|
13983
|
+
"output_required": false,
|
13984
|
+
"type": "string",
|
13985
|
+
"value_allowed_null": true
|
13936
13986
|
}
|
13937
13987
|
],
|
13938
13988
|
"usage": "out"
|
@@ -14259,6 +14309,86 @@
|
|
14259
14309
|
"output_required": false,
|
14260
14310
|
"type": "string",
|
14261
14311
|
"value_allowed_null": true
|
14312
|
+
},
|
14313
|
+
{
|
14314
|
+
"disabled": false,
|
14315
|
+
"document": "队列是否持久化,true 为持久化,false 为非持久化\n注意:此字段可能返回 null,表示取不到有效值。",
|
14316
|
+
"example": "true",
|
14317
|
+
"member": "bool",
|
14318
|
+
"name": "Durable",
|
14319
|
+
"output_required": false,
|
14320
|
+
"type": "bool",
|
14321
|
+
"value_allowed_null": true
|
14322
|
+
},
|
14323
|
+
{
|
14324
|
+
"disabled": false,
|
14325
|
+
"document": "队列是否为自动删除队列,true 为自动删除,false 为非自动删除\n注意:此字段可能返回 null,表示取不到有效值。",
|
14326
|
+
"example": "true",
|
14327
|
+
"member": "bool",
|
14328
|
+
"name": "AutoDelete",
|
14329
|
+
"output_required": false,
|
14330
|
+
"type": "bool",
|
14331
|
+
"value_allowed_null": true
|
14332
|
+
},
|
14333
|
+
{
|
14334
|
+
"disabled": false,
|
14335
|
+
"document": "队列所属实例 ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
14336
|
+
"example": "amqp-xxx",
|
14337
|
+
"member": "string",
|
14338
|
+
"name": "InstanceId",
|
14339
|
+
"output_required": false,
|
14340
|
+
"type": "string",
|
14341
|
+
"value_allowed_null": true
|
14342
|
+
},
|
14343
|
+
{
|
14344
|
+
"disabled": false,
|
14345
|
+
"document": "队列所属虚拟主机名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
14346
|
+
"example": "/",
|
14347
|
+
"member": "string",
|
14348
|
+
"name": "VirtualHost",
|
14349
|
+
"output_required": false,
|
14350
|
+
"type": "string",
|
14351
|
+
"value_allowed_null": true
|
14352
|
+
},
|
14353
|
+
{
|
14354
|
+
"disabled": false,
|
14355
|
+
"document": "队列所在主节点名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
14356
|
+
"example": "rabbit@amqp-xxx.rabbitmq-broker-0",
|
14357
|
+
"member": "string",
|
14358
|
+
"name": "Node",
|
14359
|
+
"output_required": false,
|
14360
|
+
"type": "string",
|
14361
|
+
"value_allowed_null": true
|
14362
|
+
},
|
14363
|
+
{
|
14364
|
+
"disabled": false,
|
14365
|
+
"document": "生效的策略名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
14366
|
+
"example": "test-policy",
|
14367
|
+
"member": "string",
|
14368
|
+
"name": "Policy",
|
14369
|
+
"output_required": false,
|
14370
|
+
"type": "string",
|
14371
|
+
"value_allowed_null": true
|
14372
|
+
},
|
14373
|
+
{
|
14374
|
+
"disabled": false,
|
14375
|
+
"document": "扩展参数 key-value 对象\n注意:此字段可能返回 null,表示取不到有效值。",
|
14376
|
+
"example": "{}",
|
14377
|
+
"member": "string",
|
14378
|
+
"name": "Arguments",
|
14379
|
+
"output_required": false,
|
14380
|
+
"type": "string",
|
14381
|
+
"value_allowed_null": true
|
14382
|
+
},
|
14383
|
+
{
|
14384
|
+
"disabled": false,
|
14385
|
+
"document": "是否独占队列\n注意:此字段可能返回 null,表示取不到有效值。",
|
14386
|
+
"example": "false",
|
14387
|
+
"member": "bool",
|
14388
|
+
"name": "Exclusive",
|
14389
|
+
"output_required": false,
|
14390
|
+
"type": "bool",
|
14391
|
+
"value_allowed_null": true
|
14262
14392
|
}
|
14263
14393
|
],
|
14264
14394
|
"usage": "out"
|
@@ -14647,6 +14777,16 @@
|
|
14647
14777
|
"output_required": false,
|
14648
14778
|
"type": "float",
|
14649
14779
|
"value_allowed_null": true
|
14780
|
+
},
|
14781
|
+
{
|
14782
|
+
"disabled": false,
|
14783
|
+
"document": "是否存在镜像队列策略,true 为存在,false 为不存\n注意:此字段可能返回 null,表示取不到有效值。",
|
14784
|
+
"example": "true",
|
14785
|
+
"member": "bool",
|
14786
|
+
"name": "MirrorQueuePolicyFlag",
|
14787
|
+
"output_required": false,
|
14788
|
+
"type": "bool",
|
14789
|
+
"value_allowed_null": true
|
14650
14790
|
}
|
14651
14791
|
],
|
14652
14792
|
"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,
|