tccli 3.0.1100.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/cdb/v20170320/CloseSSL.md +21 -0
- tccli/examples/cdb/v20170320/DescribeSSLStatus.md +22 -0
- tccli/examples/cdb/v20170320/OpenSSL.md +21 -0
- tccli/examples/cls/v20201016/DeleteConfigExtra.md +1 -1
- tccli/examples/cls/v20201016/DeleteDataTransform.md +1 -1
- tccli/examples/cls/v20201016/ModifyConfigExtra.md +2 -2
- tccli/examples/csip/v20221121/CreateRiskCenterScanTask.md +1 -0
- tccli/examples/csip/v20221121/DescribeRiskCenterAssetViewCFGRiskList.md +1 -0
- tccli/examples/csip/v20221121/DescribeRiskCenterAssetViewPortRiskList.md +1 -0
- tccli/examples/csip/v20221121/DescribeRiskCenterAssetViewVULRiskList.md +1 -0
- tccli/examples/csip/v20221121/DescribeRiskCenterAssetViewWeakPasswordRiskList.md +1 -0
- tccli/examples/csip/v20221121/DescribeRiskCenterPortViewPortRiskList.md +1 -0
- tccli/examples/csip/v20221121/DescribeRiskCenterServerRiskList.md +1 -0
- tccli/examples/csip/v20221121/DescribeRiskCenterVULViewVULRiskList.md +1 -0
- tccli/examples/csip/v20221121/DescribeRiskCenterWebsiteRiskList.md +1 -0
- tccli/examples/csip/v20221121/DescribeScanTaskList.md +1 -0
- tccli/examples/csip/v20221121/DescribeTaskLogURL.md +1 -0
- tccli/examples/csip/v20221121/ModifyRiskCenterRiskStatus.md +1 -0
- tccli/examples/csip/v20221121/ModifyRiskCenterScanTask.md +1 -0
- tccli/examples/postgres/v20170312/ModifyAccountRemark.md +1 -1
- tccli/examples/rum/v20210622/DescribeError.md +1 -1
- tccli/examples/rum/v20210622/ModifyProject.md +1 -1
- tccli/examples/teo/v20220901/DescribeRulesSetting.md +6 -159
- tccli/examples/teo/v20220901/DescribeSecurityIPGroup.md +30 -0
- tccli/examples/trtc/v20190722/CreateCloudRecording.md +2 -2
- tccli/examples/tsf/v20180326/CreateCluster.md +2 -2
- tccli/examples/vpc/v20170312/DeleteVpnGateway.md +1 -2
- tccli/examples/vpc/v20170312/DescribeVpnGatewaySslServers.md +23 -33
- tccli/examples/vpc/v20170312/InquiryPriceCreateVpnGateway.md +11 -3
- tccli/examples/vpc/v20170312/InquiryPriceResetVpnGatewayInternetMaxBandwidth.md +14 -7
- tccli/examples/vpc/v20170312/ModifyVpnGatewayCcnRoutes.md +1 -1
- tccli/examples/wedata/v20210820/DescribeProject.md +58 -1
- tccli/services/cdb/cdb_client.py +163 -4
- tccli/services/cdb/v20170320/api.json +169 -0
- tccli/services/cdb/v20170320/examples.json +24 -0
- tccli/services/cdn/v20180606/api.json +1 -1
- tccli/services/clb/v20180317/api.json +18 -0
- tccli/services/cls/v20201016/api.json +97 -75
- tccli/services/cls/v20201016/examples.json +3 -3
- tccli/services/csip/v20221121/api.json +157 -4
- tccli/services/csip/v20221121/examples.json +13 -13
- tccli/services/cvm/v20170312/api.json +5 -3
- tccli/services/cwp/cwp_client.py +0 -53
- tccli/services/cwp/v20180228/api.json +0 -194
- tccli/services/cwp/v20180228/examples.json +0 -8
- tccli/services/cynosdb/v20190107/api.json +1 -1
- 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/nlp/v20190408/api.json +13 -0
- tccli/services/ocr/v20181119/api.json +1 -1
- tccli/services/postgres/v20170312/examples.json +1 -1
- tccli/services/rum/v20210622/api.json +34 -19
- tccli/services/rum/v20210622/examples.json +16 -16
- tccli/services/ssl/v20191205/api.json +2 -2
- tccli/services/tdmq/v20200217/api.json +111 -1
- tccli/services/teo/teo_client.py +53 -0
- tccli/services/teo/v20220901/api.json +56 -3
- tccli/services/teo/v20220901/examples.json +9 -1
- tccli/services/trtc/v20190722/api.json +24 -6
- tccli/services/trtc/v20190722/examples.json +1 -1
- tccli/services/tsf/v20180326/api.json +80 -42
- tccli/services/tsf/v20180326/examples.json +1 -1
- tccli/services/vod/v20180717/api.json +2 -2
- tccli/services/vpc/v20170312/api.json +36 -23
- tccli/services/vpc/v20170312/examples.json +11 -11
- tccli/services/wedata/v20210820/api.json +465 -0
- tccli/services/wedata/v20210820/examples.json +1 -1
- {tccli-3.0.1100.1.dist-info → tccli-3.0.1102.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1100.1.dist-info → tccli-3.0.1102.1.dist-info}/RECORD +75 -71
- {tccli-3.0.1100.1.dist-info → tccli-3.0.1102.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1100.1.dist-info → tccli-3.0.1102.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1100.1.dist-info → tccli-3.0.1102.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
|
},
|
@@ -1916,7 +1921,7 @@
|
|
1916
1921
|
"members": [
|
1917
1922
|
{
|
1918
1923
|
"disabled": false,
|
1919
|
-
"document": "
|
1924
|
+
"document": "开始时间,示例值:1625454840",
|
1920
1925
|
"example": "1625444040",
|
1921
1926
|
"member": "int64",
|
1922
1927
|
"name": "StartTime",
|
@@ -1934,7 +1939,7 @@
|
|
1934
1939
|
},
|
1935
1940
|
{
|
1936
1941
|
"disabled": false,
|
1937
|
-
"document": "
|
1942
|
+
"document": "结束时间,示例值:1625454840",
|
1938
1943
|
"example": "1625454840",
|
1939
1944
|
"member": "int64",
|
1940
1945
|
"name": "EndTime",
|
@@ -1988,7 +1993,7 @@
|
|
1988
1993
|
},
|
1989
1994
|
{
|
1990
1995
|
"disabled": false,
|
1991
|
-
"document": "
|
1996
|
+
"document": "日志等级(1表示白名单日志,2表示一般日志,4表示错误日志,8表示Promise 错误,16表示Ajax 请求异常,32表示JS 加载异常,64表示图片加载异常,128表示css 加载异常,256表示console.error,512表示音视频资源异常,1024表示retcode 异常,2048表示aegis report,4096表示PV日志,8192表示自定义事件,16384表示小程序 页面不存在,32768表示websocket错误,65536表示js bridge错误)",
|
1992
1997
|
"example": "1",
|
1993
1998
|
"member": "string",
|
1994
1999
|
"name": "Level",
|
@@ -2051,7 +2056,7 @@
|
|
2051
2056
|
},
|
2052
2057
|
{
|
2053
2058
|
"disabled": false,
|
2054
|
-
"document": "
|
2059
|
+
"document": "网络类型(1,2,3,4,5,100),1表示WIFI, 2表示2G, 3表示3G, 4表示4G, 5表示5G, 6表示6G, 100表示未知。",
|
2055
2060
|
"example": "2",
|
2056
2061
|
"member": "string",
|
2057
2062
|
"name": "NetType",
|
@@ -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",
|
@@ -3652,7 +3657,7 @@
|
|
3652
3657
|
},
|
3653
3658
|
{
|
3654
3659
|
"disabled": false,
|
3655
|
-
"document": "
|
3660
|
+
"document": "上报类型(custom,event,log,miniProgramData,performance,pv,speed,webvitals)",
|
3656
3661
|
"example": "custom",
|
3657
3662
|
"member": "string",
|
3658
3663
|
"name": "ReportType",
|
@@ -3680,7 +3685,7 @@
|
|
3680
3685
|
"example": "无",
|
3681
3686
|
"member": "string",
|
3682
3687
|
"name": "Result",
|
3683
|
-
"
|
3688
|
+
"output_required": true,
|
3684
3689
|
"type": "string",
|
3685
3690
|
"value_allowed_null": false
|
3686
3691
|
},
|
@@ -4051,7 +4056,7 @@
|
|
4051
4056
|
},
|
4052
4057
|
{
|
4053
4058
|
"disabled": false,
|
4054
|
-
"document": "
|
4059
|
+
"document": "日志等级(1表示白名单日志,2表示一般日志,4表示错误日志,8表示Promise 错误,16表示Ajax 请求异常,32表示JS 加载异常,64表示图片加载异常,128表示css 加载异常,256表示console.error,512表示音视频资源异常,1024表示retcode 异常,2048表示aegis report,4096表示PV日志,8192表示自定义事件,16384表示小程序 页面不存在,32768表示websocket错误,65536表示js bridge错误)",
|
4055
4060
|
"example": "1",
|
4056
4061
|
"member": "string",
|
4057
4062
|
"name": "Level",
|
@@ -4114,7 +4119,7 @@
|
|
4114
4119
|
},
|
4115
4120
|
{
|
4116
4121
|
"disabled": false,
|
4117
|
-
"document": "
|
4122
|
+
"document": "网络类型(1,2,3,4,5,100),1表示WIFI, 2表示2G, 3表示3G, 4表示4G, 5表示5G, 6表示6G, 100表示未知。",
|
4118
4123
|
"example": "2",
|
4119
4124
|
"member": "string",
|
4120
4125
|
"name": "NetType",
|
@@ -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
|
],
|
@@ -531,7 +531,7 @@
|
|
531
531
|
},
|
532
532
|
{
|
533
533
|
"disabled": false,
|
534
|
-
"document": "证书类型,目前仅支持类型
|
534
|
+
"document": "证书类型,目前仅支持类型83。83 = TrustAsia C1 DV Free。",
|
535
535
|
"example": "无",
|
536
536
|
"member": "string",
|
537
537
|
"name": "PackageType",
|
@@ -558,7 +558,7 @@
|
|
558
558
|
},
|
559
559
|
{
|
560
560
|
"disabled": false,
|
561
|
-
"document": "有效期,默认
|
561
|
+
"document": "有效期,默认3个月,目前仅支持3个月。",
|
562
562
|
"example": "无",
|
563
563
|
"member": "string",
|
564
564
|
"name": "ValidityPeriod",
|
@@ -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,
|