tccli 3.0.1216.1__py2.py3-none-any.whl → 3.0.1217.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/argparser.py +1 -1
- tccli/command.py +2 -2
- tccli/credentials.py +25 -0
- tccli/main.py +6 -2
- tccli/plugins/sso/__init__.py +61 -0
- tccli/plugins/sso/configs.py +4 -0
- tccli/plugins/sso/configure.py +45 -0
- tccli/plugins/sso/login.py +144 -0
- tccli/plugins/sso/logout.py +21 -0
- tccli/plugins/sso/terminal.py +161 -0
- tccli/plugins/sso/texts.py +40 -0
- tccli/services/__init__.py +6 -0
- tccli/services/acp/v20220105/api.json +7 -7
- tccli/services/acp/v20220105/examples.json +2 -2
- tccli/services/aiart/v20221229/api.json +29 -29
- tccli/services/aiart/v20221229/examples.json +8 -8
- tccli/services/apigateway/v20180808/api.json +18 -17
- tccli/services/apigateway/v20180808/examples.json +12 -12
- tccli/services/apm/v20210622/api.json +98 -4
- tccli/services/asr/v20190614/api.json +18 -17
- tccli/services/asr/v20190614/examples.json +13 -13
- tccli/services/autoscaling/v20180419/api.json +371 -309
- tccli/services/autoscaling/v20180419/examples.json +17 -17
- tccli/services/batch/v20170312/api.json +7 -7
- tccli/services/bda/v20200324/api.json +39 -31
- tccli/services/bda/v20200324/examples.json +9 -9
- tccli/services/bh/__init__.py +4 -0
- tccli/services/bh/bh_client.py +3428 -0
- tccli/services/bh/v20230418/api.json +8180 -0
- tccli/services/bh/v20230418/examples.json +519 -0
- tccli/services/bi/v20220105/api.json +48 -0
- tccli/services/billing/v20180709/api.json +26 -24
- tccli/services/bsca/v20210811/api.json +1 -1
- tccli/services/btoe/v20210514/api.json +4 -4
- tccli/services/btoe/v20210514/examples.json +2 -2
- tccli/services/ca/v20230228/api.json +60 -0
- tccli/services/cam/v20190116/api.json +11 -11
- tccli/services/cat/v20180409/api.json +9 -0
- tccli/services/cbs/v20170312/api.json +200 -188
- tccli/services/cbs/v20170312/examples.json +4 -4
- tccli/services/ccc/v20200210/api.json +390 -323
- tccli/services/ccc/v20200210/examples.json +15 -15
- tccli/services/cdb/cdb_client.py +13 -13
- tccli/services/cdb/v20170320/api.json +295 -270
- tccli/services/cdb/v20170320/examples.json +38 -38
- tccli/services/cdc/v20201214/api.json +283 -270
- tccli/services/cdc/v20201214/examples.json +26 -26
- tccli/services/cds/v20180420/api.json +82 -76
- tccli/services/cds/v20180420/examples.json +1 -1
- tccli/services/cdwch/v20200915/api.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +42 -2
- tccli/services/cdz/v20221123/api.json +41 -5
- tccli/services/cfg/v20210820/api.json +31 -0
- tccli/services/cfs/v20190719/api.json +89 -1
- tccli/services/cfs/v20190719/examples.json +1 -1
- tccli/services/cfw/cfw_client.py +0 -53
- tccli/services/cfw/v20190904/api.json +1849 -1999
- tccli/services/cfw/v20190904/examples.json +157 -159
- tccli/services/ckafka/v20190819/api.json +104 -75
- tccli/services/clb/v20180317/api.json +48 -26
- tccli/services/clb/v20180317/examples.json +1 -1
- tccli/services/cloudapp/v20220530/api.json +5 -1
- tccli/services/cloudaudit/v20190319/api.json +58 -44
- tccli/services/cloudaudit/v20190319/examples.json +6 -6
- tccli/services/cloudstudio/v20230508/api.json +38 -37
- tccli/services/cloudstudio/v20230508/examples.json +4 -4
- tccli/services/cls/cls_client.py +216 -4
- tccli/services/cls/v20201016/api.json +536 -47
- tccli/services/cls/v20201016/examples.json +34 -2
- tccli/services/csip/v20221121/api.json +2562 -2382
- tccli/services/csip/v20221121/examples.json +108 -108
- tccli/services/cvm/v20170312/api.json +149 -112
- tccli/services/cvm/v20170312/examples.json +2 -2
- tccli/services/cwp/cwp_client.py +4 -110
- tccli/services/cwp/v20180228/api.json +6338 -6146
- tccli/services/cwp/v20180228/examples.json +342 -370
- tccli/services/cynosdb/v20190107/api.json +93 -81
- tccli/services/cynosdb/v20190107/examples.json +70 -70
- tccli/services/dasb/v20191018/api.json +796 -651
- tccli/services/dasb/v20191018/examples.json +101 -101
- tccli/services/dcdb/dcdb_client.py +114 -61
- tccli/services/dcdb/v20180411/api.json +141 -7
- tccli/services/dcdb/v20180411/examples.json +32 -0
- tccli/services/dlc/v20210125/api.json +21 -11
- tccli/services/dnspod/dnspod_client.py +417 -46
- tccli/services/dnspod/v20210323/api.json +751 -30
- tccli/services/dnspod/v20210323/examples.json +62 -0
- tccli/services/dts/v20211206/api.json +4 -4
- tccli/services/ecm/v20190719/api.json +2 -2
- tccli/services/emr/v20190103/api.json +339 -114
- tccli/services/emr/v20190103/examples.json +64 -82
- tccli/services/es/v20180416/api.json +29 -0
- tccli/services/es/v20180416/examples.json +1 -1
- tccli/services/ess/v20201111/api.json +49 -31
- tccli/services/ess/v20201111/examples.json +20 -8
- tccli/services/essbasic/v20210526/api.json +54 -49
- tccli/services/essbasic/v20210526/examples.json +36 -18
- tccli/services/facefusion/v20181201/api.json +47 -45
- tccli/services/facefusion/v20181201/examples.json +2 -2
- tccli/services/facefusion/v20220927/api.json +54 -48
- tccli/services/facefusion/v20220927/examples.json +5 -5
- tccli/services/faceid/v20180301/api.json +497 -496
- tccli/services/faceid/v20180301/examples.json +219 -101
- tccli/services/fmu/v20191213/api.json +59 -67
- tccli/services/fmu/v20191213/examples.json +22 -22
- tccli/services/ft/v20200304/api.json +53 -57
- tccli/services/ft/v20200304/examples.json +14 -14
- tccli/services/gme/v20180711/api.json +21 -11
- tccli/services/gme/v20180711/examples.json +1 -1
- tccli/services/hai/v20230812/api.json +116 -9
- tccli/services/hai/v20230812/examples.json +4 -4
- tccli/services/hunyuan/hunyuan_client.py +436 -12
- tccli/services/hunyuan/v20230901/api.json +1482 -118
- tccli/services/hunyuan/v20230901/examples.json +82 -18
- tccli/services/iai/v20180301/api.json +23 -19
- tccli/services/iai/v20180301/examples.json +2 -2
- tccli/services/iai/v20200303/api.json +530 -511
- tccli/services/iai/v20200303/examples.json +116 -86
- tccli/services/ig/__init__.py +4 -0
- tccli/services/ig/ig_client.py +195 -0
- tccli/services/ig/v20210518/api.json +83 -0
- tccli/services/ig/v20210518/examples.json +13 -0
- tccli/services/ioa/ioa_client.py +53 -0
- tccli/services/ioa/v20220601/api.json +662 -413
- tccli/services/ioa/v20220601/examples.json +24 -10
- tccli/services/iotexplorer/v20190423/api.json +33 -13
- tccli/services/iotexplorer/v20190423/examples.json +3 -3
- tccli/services/iotvideo/iotvideo_client.py +106 -0
- tccli/services/iotvideo/v20191126/api.json +256 -24
- tccli/services/iotvideo/v20191126/examples.json +19 -3
- tccli/services/iotvideo/v20201215/api.json +1 -1
- tccli/services/iotvideo/v20201215/examples.json +1 -1
- tccli/services/iotvideo/v20211125/api.json +1 -1
- tccli/services/iotvideo/v20211125/examples.json +2 -2
- tccli/services/iss/iss_client.py +69 -122
- tccli/services/iss/v20230517/api.json +10 -54
- tccli/services/iss/v20230517/examples.json +0 -14
- tccli/services/kms/v20190118/api.json +301 -268
- tccli/services/kms/v20190118/examples.json +45 -51
- tccli/services/lcic/lcic_client.py +159 -0
- tccli/services/lcic/v20220817/api.json +273 -1
- tccli/services/lcic/v20220817/examples.json +24 -0
- tccli/services/lighthouse/v20200324/api.json +56 -0
- tccli/services/live/live_client.py +159 -0
- tccli/services/live/v20180801/api.json +244 -0
- tccli/services/live/v20180801/examples.json +24 -0
- tccli/services/lke/v20231130/api.json +17 -17
- tccli/services/lke/v20231130/examples.json +19 -25
- tccli/services/mariadb/v20170312/api.json +7 -7
- tccli/services/market/v20191010/api.json +3 -3
- tccli/services/market/v20191010/examples.json +2 -2
- tccli/services/mmps/v20200710/api.json +47 -47
- tccli/services/mmps/v20200710/examples.json +3 -3
- tccli/services/mongodb/v20190725/api.json +4 -4
- tccli/services/monitor/v20180724/api.json +46 -19
- tccli/services/mps/v20190612/api.json +282 -5
- tccli/services/mps/v20190612/examples.json +25 -1
- tccli/services/mqtt/v20240516/api.json +2 -2
- tccli/services/mrs/v20200910/api.json +72 -34
- tccli/services/mrs/v20200910/examples.json +2 -2
- tccli/services/ms/v20180408/api.json +535 -506
- tccli/services/ms/v20180408/examples.json +25 -25
- tccli/services/oceanus/v20190422/api.json +130 -0
- tccli/services/ocr/ocr_client.py +232 -20
- tccli/services/ocr/v20181119/api.json +2265 -760
- tccli/services/ocr/v20181119/examples.json +200 -180
- tccli/services/omics/v20221128/api.json +614 -553
- tccli/services/omics/v20221128/examples.json +9 -9
- tccli/services/organization/v20210331/api.json +13 -4
- tccli/services/organization/v20210331/examples.json +2 -2
- tccli/services/partners/v20180321/api.json +244 -234
- tccli/services/partners/v20180321/examples.json +19 -19
- tccli/services/privatedns/privatedns_client.py +428 -4
- tccli/services/privatedns/v20201028/api.json +815 -11
- tccli/services/privatedns/v20201028/examples.json +64 -0
- tccli/services/pts/v20210728/api.json +18 -0
- tccli/services/pts/v20210728/examples.json +1 -1
- tccli/services/rce/rce_client.py +53 -0
- tccli/services/rce/v20201103/api.json +146 -0
- tccli/services/rce/v20201103/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +42 -42
- tccli/services/redis/v20180412/examples.json +19 -19
- tccli/services/rum/v20210622/api.json +9 -0
- tccli/services/scf/v20180416/api.json +15 -15
- tccli/services/scf/v20180416/examples.json +1 -1
- tccli/services/smop/v20201203/api.json +46 -42
- tccli/services/smop/v20201203/examples.json +2 -2
- tccli/services/soe/v20180724/api.json +10 -10
- tccli/services/sqlserver/v20180328/api.json +21 -8
- tccli/services/sqlserver/v20180328/examples.json +5 -5
- tccli/services/ssl/v20191205/api.json +97 -4
- tccli/services/ssm/v20190923/api.json +292 -231
- tccli/services/ssm/v20190923/examples.json +42 -42
- tccli/services/tat/v20201028/api.json +97 -97
- tccli/services/tat/v20201028/examples.json +20 -26
- tccli/services/tchd/v20230306/api.json +5 -5
- tccli/services/tchd/v20230306/examples.json +3 -3
- tccli/services/tcr/v20190924/api.json +1 -1
- tccli/services/tcr/v20190924/examples.json +1 -1
- tccli/services/tcss/v20201101/api.json +1973 -1426
- tccli/services/tcss/v20201101/examples.json +346 -364
- tccli/services/tdmq/v20200217/api.json +539 -401
- tccli/services/tdmq/v20200217/examples.json +104 -104
- tccli/services/tds/v20220801/api.json +4 -4
- tccli/services/tem/v20210701/api.json +287 -271
- tccli/services/tem/v20210701/examples.json +59 -59
- tccli/services/teo/v20220901/api.json +37 -9
- tccli/services/teo/v20220901/examples.json +13 -7
- tccli/services/thpc/v20230321/api.json +5 -5
- tccli/services/tke/tke_client.py +217 -58
- tccli/services/tke/v20180525/api.json +36 -27
- tccli/services/tke/v20180525/examples.json +1 -1
- tccli/services/tke/v20220501/api.json +176 -0
- tccli/services/tke/v20220501/examples.json +24 -0
- tccli/services/tmt/v20180321/api.json +38 -8
- tccli/services/trp/v20210515/api.json +86 -74
- tccli/services/trp/v20210515/examples.json +65 -65
- tccli/services/trro/v20220325/api.json +72 -71
- tccli/services/trro/v20220325/examples.json +8 -8
- tccli/services/trtc/trtc_client.py +8 -61
- tccli/services/trtc/v20190722/api.json +72 -30
- tccli/services/trtc/v20190722/examples.json +3 -11
- tccli/services/tse/tse_client.py +110 -4
- tccli/services/tse/v20201207/api.json +122 -7
- tccli/services/tse/v20201207/examples.json +25 -9
- tccli/services/vclm/v20240523/api.json +225 -82
- tccli/services/vclm/v20240523/examples.json +13 -19
- tccli/services/vod/v20180717/api.json +431 -4
- tccli/services/vod/v20180717/examples.json +25 -5
- tccli/services/vod/v20240718/api.json +11 -11
- tccli/services/vod/v20240718/examples.json +4 -4
- tccli/services/vod/vod_client.py +53 -0
- tccli/services/vpc/v20170312/api.json +1090 -862
- tccli/services/vpc/v20170312/examples.json +74 -66
- tccli/services/vpc/vpc_client.py +61 -8
- tccli/services/waf/v20180125/api.json +2540 -2177
- tccli/services/waf/v20180125/examples.json +216 -284
- tccli/services/waf/waf_client.py +172 -119
- tccli/services/wav/v20210129/api.json +48 -48
- tccli/services/wav/v20210129/examples.json +4 -4
- tccli/services/wedata/v20210820/api.json +909 -25
- tccli/services/wedata/v20210820/examples.json +28 -4
- tccli/services/wedata/wedata_client.py +159 -0
- tccli/services/weilingwith/v20230427/api.json +6 -6
- tccli/services/weilingwith/v20230427/examples.json +3 -3
- tccli/sso.py +229 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +252 -235
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/license_files/LICENSE +0 -0
@@ -3,7 +3,7 @@
|
|
3
3
|
"AddAcRule": [
|
4
4
|
{
|
5
5
|
"document": "",
|
6
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddAcRule\n<公共请求参数>\n\n{\n \"OrderIndex\": \"-1\",\n \"Description\": \"api test1\",\n \"SourceType\": \"location\",\n \"SourceContent\": \"cq50,sh31,tj12,bj11\",\n \"DestType\": \"net\",\n \"DestContent\": \"0.0.0.0/0\",\n \"Enable\": \"true\",\n \"Direction\": \"in\",\n \"RuleAction\": \"accept\",\n \"Port\": \"-1/-1\",\n \"Protocol\": \"tcp\"
|
6
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddAcRule\n<公共请求参数>\n\n{\n \"OrderIndex\": \"-1\",\n \"Description\": \"api test1\",\n \"SourceType\": \"location\",\n \"SourceContent\": \"cq50,sh31,tj12,bj11\",\n \"DestType\": \"net\",\n \"DestContent\": \"0.0.0.0/0\",\n \"Enable\": \"true\",\n \"Direction\": \"in\",\n \"RuleAction\": \"accept\",\n \"Port\": \"-1/-1\",\n \"Protocol\": \"tcp\"\n}",
|
7
7
|
"output": "{\n \"Response\": {\n \"RuleUuid\": 8888,\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\",\n \"ReturnCode\": 0,\n \"ReturnMsg\": \"success\"\n }\n}",
|
8
8
|
"title": "添加互联网边界规则"
|
9
9
|
}
|
@@ -11,7 +11,7 @@
|
|
11
11
|
"AddAclRule": [
|
12
12
|
{
|
13
13
|
"document": "添加互联网边界访问控制规则",
|
14
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddAclRule\n<公共请求参数>\n\n{\n \"Rules\": [\n {\n \"SourceContent\": \"0.0.0.0/0\",\n \"SourceType\": \"net\",\n \"Description\": \"
|
14
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddAclRule\n<公共请求参数>\n\n{\n \"Rules\": [\n {\n \"SourceContent\": \"0.0.0.0/0\",\n \"SourceType\": \"net\",\n \"Description\": \"pro\",\n \"TargetContent\": \"www.qq.com\",\n \"TargetType\": \"domain\",\n \"Protocol\": \"HTTP\",\n \"RuleAction\": \"accept\",\n \"Port\": \"-1/-1\",\n \"Direction\": 0,\n \"OrderIndex\": 1,\n \"Scope\": \"serial\",\n \"RuleSource\": 0\n }\n ]\n}",
|
15
15
|
"output": "{\n \"Response\": {\n \"RuleUuid\": [\n 0\n ],\n \"RequestId\": \"3f60a76f-0f44-4b58-bf98-615cbbc59ede\"\n }\n}",
|
16
16
|
"title": "添加互联网边界访问控制规则"
|
17
17
|
}
|
@@ -27,24 +27,30 @@
|
|
27
27
|
"AddNatAcRule": [
|
28
28
|
{
|
29
29
|
"document": "添加nat防火墙访问控制规则",
|
30
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddNatAcRule\n<公共请求参数>\n\n{\n \"Rules\": [\n {\n \"OrderIndex\": 1,\n \"SourceContent\": \"0.0.0.0/0\",\n \"TargetContent\": \"www.qq.com\",\n \"
|
30
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddNatAcRule\n<公共请求参数>\n\n{\n \"Rules\": [\n {\n \"OrderIndex\": 1,\n \"SourceContent\": \"0.0.0.0/0\",\n \"TargetContent\": \"www.qq.com\",\n \"Protocol\": \"HTTP\",\n \"Port\": \"-1/-1\",\n \"RuleAction\": \"log\",\n \"Description\": \"观察规则\",\n \"Scope\": \"ap-shanghai\",\n \"SourceType\": \"net\",\n \"TargetType\": \"domain\",\n \"Direction\": 0,\n \"Enable\": \"true\"\n }\n ]\n}",
|
31
31
|
"output": "{\n \"Response\": {\n \"RuleUuid\": [\n 242218\n ],\n \"RequestId\": \"9def6113-984b-4a01-b0e9-851c84005a9f\"\n }\n}",
|
32
32
|
"title": "添加nat访问控制规则"
|
33
33
|
}
|
34
34
|
],
|
35
35
|
"AddVpcAcRule": [
|
36
36
|
{
|
37
|
-
"document": "添加VPC内网间规则",
|
38
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddVpcAcRule\n<公共请求参数>\n\n{\n \"Rules\": [\n {\n \"OrderIndex\":
|
39
|
-
"output": "{\n \"Response\": {\n \"RuleUuids\": [\n 8888
|
40
|
-
"title": "添加VPC
|
37
|
+
"document": "添加VPC内网间规则ip类型",
|
38
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddVpcAcRule\n<公共请求参数>\n\n{\n \"Rules\": [\n {\n \"OrderIndex\": 1,\n \"SourceContent\": \"192.168.1.10\",\n \"DestContent\": \"10.0.0.1\",\n \"Protocol\": \"TCP\",\n \"Port\": \"80\",\n \"RuleAction\": \"log\",\n \"Description\": \"搜索描述\",\n \"EdgeId\": \"ALL\",\n \"SourceType\": \"net\",\n \"DestType\": \"net\",\n \"Enable\": \"true\"\n }\n ]\n}",
|
39
|
+
"output": "{\n \"Response\": {\n \"RuleUuids\": [\n 8888\n ],\n \"RequestId\": \"9a86c4e3-b926-4244-919b-aba9a7e82686\"\n }\n}",
|
40
|
+
"title": "添加VPC内网间规则示例1"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"document": "添加VPC内网间规则地址模版",
|
44
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddVpcAcRule\n<公共请求参数>\n\n{\n \"Rules\": [\n {\n \"OrderIndex\": 1,\n \"SourceContent\": \"mb_1256532032_1666263807415\",\n \"DestContent\": \"192.168.1.2\",\n \"Protocol\": \"TCP\",\n \"Port\": \"-1/-1\",\n \"RuleAction\": \"accept\",\n \"Description\": \"搜索描述\",\n \"EdgeId\": \"ALL\",\n \"SourceType\": \"template\",\n \"DestType\": \"net\",\n \"Enable\": \"true\"\n }\n ]\n}",
|
45
|
+
"output": "{\n \"Response\": {\n \"RuleUuids\": [\n 8888\n ],\n \"RequestId\": \"9a86c4e3-b926-4244-919b-aba9a7e82686\"\n }\n}",
|
46
|
+
"title": "添加VPC内网间规则2"
|
41
47
|
}
|
42
48
|
],
|
43
49
|
"CreateAcRules": [
|
44
50
|
{
|
45
51
|
"document": "",
|
46
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAcRules\n<公共请求参数>\n\n{\n \"Data\": [\n {\n \"OrderIndex\": 17,\n \"SourceIp\": \"0.0.0.0/0\",\n \"TargetIp\": \"0.0.0.0/0\",\n \"Protocol\": \"TCP\",\n \"Port\": \"-1/-1\",\n \"Strategy\": \"0\",\n \"Detail\": \"
|
47
|
-
"output": "{\n \"Response\": {\n \"Status\": 0,\n \"Info\": \"\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
52
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAcRules\n<公共请求参数>\n\n{\n \"Data\": [\n {\n \"OrderIndex\": 17,\n \"SourceIp\": \"0.0.0.0/0\",\n \"TargetIp\": \"0.0.0.0/0\",\n \"Protocol\": \"TCP\",\n \"Port\": \"-1/-1\",\n \"Strategy\": \"0\",\n \"Detail\": \"andy创建的规则\",\n \"CloudCode\": \"1\",\n \"SourceType\": 1,\n \"TargetType\": 1,\n \"Direction\": 1,\n \"IsRegion\": 0,\n \"Country\": 0,\n \"City\": 0,\n \"CityName\": \"chongqing\",\n \"CountryName\": \"cn\"\n }\n ],\n \"Type\": 0,\n \"EdgeId\": \"cfw-indf01efd\",\n \"InstanceId\": \"ins-ifndf00e\",\n \"Area\": \"ap-chongqing\",\n \"Enable\": 1\n}",
|
53
|
+
"output": "{\n \"Response\": {\n \"Status\": 0,\n \"Info\": \"success\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
48
54
|
"title": "创建规则"
|
49
55
|
}
|
50
56
|
],
|
@@ -52,7 +58,7 @@
|
|
52
58
|
{
|
53
59
|
"document": "",
|
54
60
|
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAddressTemplate\n<公共请求参数>\n\n{\n \"Name\": \"测试地址模板\",\n \"Detail\": \"测试地址模板\",\n \"IpString\": \"1.1.1.1\",\n \"Type\": 0\n}",
|
55
|
-
"output": "{\n \"Response\": {\n \"Status\": 0,\n \"RequestId\": \"\"\n }\n}",
|
61
|
+
"output": "{\n \"Response\": {\n \"Status\": 0,\n \"RequestId\": \"ped5452f-5619-4aad-8db6-cbc8bcda4b3c\"\n }\n}",
|
56
62
|
"title": "创建地址模板"
|
57
63
|
}
|
58
64
|
],
|
@@ -75,37 +81,37 @@
|
|
75
81
|
"CreateAlertCenterRule": [
|
76
82
|
{
|
77
83
|
"document": "攻击告警汇总-封禁IP示例",
|
78
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAlertCenterRule\n<公共请求参数>\n\n{\n \"HandleIdList\": [\n \"a67d60bb5ede9b962ac19ad24b28be54\"\n ],\n \"HandleTime\": 7,\n \"HandleType\": 1,\n \"AlertDirection\": 1,\n \"HandleDirection\": \"1\",\n \"HandleComment\": \"
|
84
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAlertCenterRule\n<公共请求参数>\n\n{\n \"HandleIdList\": [\n \"a67d60bb5ede9b962ac19ad24b28be54\"\n ],\n \"HandleTime\": 7,\n \"HandleType\": 1,\n \"AlertDirection\": 1,\n \"HandleDirection\": \"1\",\n \"HandleComment\": \"处置描述\"\n}",
|
79
85
|
"output": "{\n \"Response\": {\n \"RequestId\": \"9cddfe10-cbf2-4dd8-ba39-dd8488bb8a42\",\n \"ReturnCode\": 0,\n \"ReturnMsg\": \"success\",\n \"Status\": 0\n }\n}",
|
80
86
|
"title": "攻击告警汇总示例"
|
81
87
|
},
|
82
88
|
{
|
83
89
|
"document": "攻击拦截统计-封禁IP示例",
|
84
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAlertCenterRule\n<公共请求参数>\n\n{\n \"HandleIpList\": [\n \"192.155.90.220\"\n ],\n \"HandleTime\": 7,\n \"HandleType\": 3,\n \"AlertDirection\": 0,\n \"HandleDirection\": \"0\",\n \"HandleComment\": \"
|
90
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAlertCenterRule\n<公共请求参数>\n\n{\n \"HandleIpList\": [\n \"192.155.90.220\"\n ],\n \"HandleTime\": 7,\n \"HandleType\": 3,\n \"AlertDirection\": 0,\n \"HandleDirection\": \"0\",\n \"HandleComment\": \"处置描述\"\n}",
|
85
91
|
"output": "{\n \"Response\": {\n \"RequestId\": \"9ff0c548-66c4-4989-8e6e-c616a1340d84\",\n \"ReturnCode\": 0,\n \"ReturnMsg\": \"success\",\n \"Status\": 0\n }\n}",
|
86
92
|
"title": "攻击拦截统计示例"
|
87
93
|
}
|
88
94
|
],
|
89
95
|
"CreateBlockIgnoreRuleList": [
|
90
96
|
{
|
91
|
-
"document": "
|
92
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateBlockIgnoreRuleList\n<公共请求参数>\n\n{\n \"Rules\": [\n {\n \"IP\": \"1.1.1.1\",\n \"
|
93
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"\"\n }\n}",
|
94
|
-
"title": "
|
97
|
+
"document": "添加封禁",
|
98
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateBlockIgnoreRuleList\n<公共请求参数>\n\n{\n \"Rules\": [\n {\n \"IP\": \"1.1.1.1\",\n \"Direction\": 1,\n \"EndTime\": \"2025-01-01 00:00:00\",\n \"Comment\": \"阻断访问\",\n \"StartTime\": \"2024-10-10 00:00:00\"\n }\n ],\n \"RuleType\": 1\n}",
|
99
|
+
"output": "{\n \"Response\": {\n \"List\": [\n {\n \"IP\": \"1.1.1.1\",\n \"Direction\": 1\n }\n ],\n \"RequestId\": \"e7c8de24-958f-4200-9d30-ddd186d6ee48\"\n }\n}",
|
100
|
+
"title": "添加封禁"
|
95
101
|
}
|
96
102
|
],
|
97
103
|
"CreateBlockIgnoreRuleNew": [
|
98
104
|
{
|
99
105
|
"document": "入侵防御接口新-添加IP为放通列表",
|
100
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateBlockIgnoreRuleNew\n<公共请求参数>\n\n{\n \"Rules\": [\n {\n \"Ioc\": \"
|
106
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateBlockIgnoreRuleNew\n<公共请求参数>\n\n{\n \"Rules\": [\n {\n \"Ioc\": \"11.21.31.41\",\n \"DirectionList\": \"0\",\n \"EndTime\": \"3000-01-01 00:00:00\",\n \"Comment\": \"生产IP放通\"\n }\n ],\n \"RuleType\": 2,\n \"CoverDuplicate\": 0\n}",
|
101
107
|
"output": "{\n \"Response\": {\n \"RequestId\": \"0f493b05-6637-41f5-8977-18a55bdebbff\"\n }\n}",
|
102
108
|
"title": "入侵防御接口新-添加IP为放通列表"
|
103
109
|
}
|
104
110
|
],
|
105
111
|
"CreateChooseVpcs": [
|
106
112
|
{
|
107
|
-
"document": "",
|
108
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateChooseVpcs\n<公共请求参数>\n\n{\n \"VpcList\": [\n \"
|
113
|
+
"document": "创建、选择vpc",
|
114
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateChooseVpcs\n<公共请求参数>\n\n{\n \"VpcList\": [\n \"vpc-fue9ikq6\"\n ],\n \"AllZoneList\": [\n {\n \"Zone\": \"ap-guangzhou-5\",\n \"Region\": \"ap-guangzhou\"\n }\n ]\n}",
|
109
115
|
"output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
110
116
|
"title": "创建、选择vpc"
|
111
117
|
}
|
@@ -113,7 +119,7 @@
|
|
113
119
|
"CreateDatabaseWhiteListRules": [
|
114
120
|
{
|
115
121
|
"document": "",
|
116
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDatabaseWhiteListRules\n<公共请求参数>\n\n{\n \"DatabaseWhiteListRuleData\": [\n {\n \"SourceIp\": \"
|
122
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDatabaseWhiteListRules\n<公共请求参数>\n\n{\n \"DatabaseWhiteListRuleData\": [\n {\n \"SourceIp\": \"1.2.6.6\",\n \"SourceType\": 1,\n \"TargetIp\": \"1.2.6.7\",\n \"TargetType\": 1,\n \"Detail\": \"规则详情\",\n \"Enable\": 1,\n \"IsRegionRule\": 0,\n \"IsCloudRule\": 0\n }\n ]\n}",
|
117
123
|
"output": "{\n \"Response\": {\n \"Status\": 0,\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
118
124
|
"title": "创建暴露数据库白名单规则"
|
119
125
|
}
|
@@ -129,52 +135,52 @@
|
|
129
135
|
"CreateNatFwInstance": [
|
130
136
|
{
|
131
137
|
"document": "新增模式示例",
|
132
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateNatFwInstance\n<公共请求参数>\n\n{\n \"Name\": \"
|
133
|
-
"output": "{\n \"Response\": {\n \"CfwInsId\": \"
|
138
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateNatFwInstance\n<公共请求参数>\n\n{\n \"Name\": \"NAT防火墙\",\n \"Width\": 20,\n \"Mode\": 1,\n \"CrossAZone\": 1,\n \"NewModeItems\": {\n \"VpcList\": [\n \"vpc-a1gfaf13\"\n ],\n \"Eips\": [\n \"1.1.1.1\"\n ],\n \"AddCount\": 1\n },\n \"Zone\": \"ap-shanghai-4\",\n \"ZoneBak\": \"ap-shanghai-3\"\n}",
|
139
|
+
"output": "{\n \"Response\": {\n \"CfwInsId\": \"cfwnat-3c140219\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
134
140
|
"title": "创建防火墙实例--新增模式"
|
135
141
|
},
|
136
142
|
{
|
137
143
|
"document": "创建NAT防火墙实例(Region参数必填)",
|
138
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateNatFwInstance\n<公共请求参数>\n\n{\n \"Name\": \"
|
139
|
-
"output": "{\n \"Response\": {\n \"CfwInsId\": \"
|
144
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateNatFwInstance\n<公共请求参数>\n\n{\n \"Name\": \"NAT防火墙\",\n \"Width\": 20,\n \"Mode\": 0,\n \"CrossAZone\": 1,\n \"NatGwList\": [\n \"nat-da1dalx\",\n \"nat-1dam1sd\"\n ],\n \"Zone\": \"ap-shanghai-4\",\n \"ZoneBak\": \"ap-shanghai-3\"\n}",
|
145
|
+
"output": "{\n \"Response\": {\n \"CfwInsId\": \"cfwnat-12dad1ds\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
140
146
|
"title": "创建NAT防火墙实例(Region参数必填)"
|
141
147
|
}
|
142
148
|
],
|
143
149
|
"CreateNatFwInstanceWithDomain": [
|
144
150
|
{
|
145
151
|
"document": "新增模式示例",
|
146
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateNatFwInstanceWithDomain\n<公共请求参数>\n\n{\n \"Name\": \"
|
147
|
-
"output": "{\n \"Response\": {\n \"CfwInsId\": \"
|
148
|
-
"title": "
|
152
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateNatFwInstanceWithDomain\n<公共请求参数>\n\n{\n \"Name\": \"NAT防火墙\",\n \"Width\": 20,\n \"Mode\": 1,\n \"CrossAZone\": 1,\n \"NewModeItems\": {\n \"VpcList\": [\n \"vpc-38s9y0w1\"\n ],\n \"Eips\": [\n \"1.1.1.1\"\n ],\n \"AddCount\": 1\n },\n \"Zone\": \"ap-shanghai-4\",\n \"ZoneBak\": \"ap-shanghai-3\"\n}",
|
153
|
+
"output": "{\n \"Response\": {\n \"CfwInsId\": \"cfwnat-f0f1c7c0\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
154
|
+
"title": "创建新增模式的防火墙实例"
|
149
155
|
},
|
150
156
|
{
|
151
157
|
"document": "接入模式示例",
|
152
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateNatFwInstanceWithDomain\n<公共请求参数>\n\n{\n \"Name\": \"
|
153
|
-
"output": "{\n \"Response\": {\n \"CfwInsId\": \"
|
158
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateNatFwInstanceWithDomain\n<公共请求参数>\n\n{\n \"Name\": \"NAT防火墙\",\n \"Width\": 20,\n \"Mode\": 0,\n \"CrossAZone\": 1,\n \"NatGwList\": [\n \"nat-m6otefcc\",\n \"nat-m6otefcd\"\n ],\n \"Zone\": \"ap-shanghai-4\",\n \"ZoneBak\": \"ap-shanghai-3\"\n}",
|
159
|
+
"output": "{\n \"Response\": {\n \"CfwInsId\": \"cfwnat-f0f1c7c0\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
154
160
|
"title": "创建防火墙实例和接入域名"
|
155
161
|
}
|
156
162
|
],
|
157
163
|
"CreateSecurityGroupRules": [
|
158
164
|
{
|
159
165
|
"document": "创建企业安全组规则",
|
160
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSecurityGroupRules\n<公共请求参数>\n\n{\n \"Data\": [\n {\n \"OrderIndex\": 1,\n
|
161
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"\",\n \"Status\": 0\n }\n}",
|
166
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSecurityGroupRules\n<公共请求参数>\n\n{\n \"Data\": [\n {\n \"BothWay\": 0,\n \"BothWayInfo\": [\n {\n \"OrderIndex\": 1,\n \"SourceId\": \"1.1.1.1\",\n \"SourceType\": 7,\n \"TargetId\": \"1.1.1.1\",\n \"TargetType\": 2,\n \"Protocol\": \"ANY\",\n \"Port\": \"-1/-1\",\n \"Strategy\": 2,\n \"Detail\": \"andy的规则\",\n \"Status\": 1,\n \"IsNew\": 1,\n \"BothWay\": 0,\n \"VpcId\": \"vpc-iedpwx01d\",\n \"SubnetId\": \"subnet-ed2witec\",\n \"InstanceName\": \"andy的cvm\",\n \"PublicIp\": \"1.1.1.1\",\n \"PrivateIp\": \"1.1.1.1\",\n \"Cidr\": \"10.72.1.0/24\",\n \"ServiceTemplateId\": \"pp-peodxd0e\",\n \"Direction\": 1,\n \"Region\": \"ap-guangzhou\",\n \"ProtocolPortType\": 1\n }\n ],\n \"Detail\": \"ignore 188.188.188.188\",\n \"Direction\": 1,\n \"OrderIndex\": 1,\n \"Port\": \"-1/-1\",\n \"Protocol\": \"ANY\",\n \"ProtocolPortType\": 0,\n \"ServiceTemplateId\": \"pp-peodxd0e\",\n \"SourceId\": \"188.188.188.188\",\n \"SourceType\": 0,\n \"Strategy\": 2,\n \"TargetId\": \"0.0.0.0/0\",\n \"TargetType\": 9\n }\n ],\n \"Direction\": 1,\n \"Enable\": 1,\n \"Type\": 0\n}",
|
167
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"upykdsac-5aac-edd2-4f92-eebfa1a51efb\",\n \"Status\": 0\n }\n}",
|
162
168
|
"title": "创建企业安全组规则"
|
163
169
|
}
|
164
170
|
],
|
165
171
|
"CreateVpcFwGroup": [
|
166
172
|
{
|
167
173
|
"document": "创建防火墙(组)",
|
168
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateVpcFwGroup\n<公共请求参数>\n\n{\n \"Name\": \"
|
169
|
-
"output": "{\n \"Response\": {\n \"FwGroupId\": \"cfwg-
|
174
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateVpcFwGroup\n<公共请求参数>\n\n{\n \"Name\": \"新防火墙\",\n \"Mode\": 0,\n \"VpcFwInstances\": [\n {\n \"FwInsId\": \"cfwew-wxecrvrtb\",\n \"Name\": \"新防火墙实例\",\n \"VpcIds\": [\n \"vpc-0752de63\"\n ],\n \"FwDeploy\": {\n \"DeployRegion\": \"ap-guangzhou\",\n \"Width\": 1024,\n \"CrossAZone\": 1,\n \"Zone\": \"ap-guangzhou-1\",\n \"ZoneBak\": \"ap-guangzhou-2\",\n \"CdcId\": \"cluster-0752de63\"\n }\n }\n ],\n \"SwitchMode\": 1,\n \"FwVpcCidr\": \"auto\",\n \"CcnId\": \"ccn-wxecrevtb\",\n \"FwCidrInfo\": {\n \"FwCidrType\": \"Custom\",\n \"FwCidrLst\": [\n {\n \"VpcId\": \"vpc-39sc6ru5\",\n \"FwCidr\": \"192.168.1.0/24\"\n }\n ],\n \"ComFwCidr\": \"192.168.2.0/24\"\n }\n}",
|
175
|
+
"output": "{\n \"Response\": {\n \"FwGroupId\": \"cfwg-0752de63\",\n \"RequestId\": \"0752de63-570c-4c2e-bbd2-78574e22a1ae\"\n }\n}",
|
170
176
|
"title": "创建防火墙(组)"
|
171
177
|
}
|
172
178
|
],
|
173
179
|
"DeleteAcRule": [
|
174
180
|
{
|
175
|
-
"document": "",
|
176
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAcRule\n<公共请求参数>\n\n{\n \"Id\": 36069,\n \"Direction\": 1,\n \"EdgeId\": \"\",\n \"Area\": \"\"\n}",
|
177
|
-
"output": "{\n \"Response\": {\n \"Status\": 0,\n \"Info\": \"\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
181
|
+
"document": "删除规则",
|
182
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAcRule\n<公共请求参数>\n\n{\n \"Id\": 36069,\n \"Direction\": 1,\n \"EdgeId\": \"edge-ppt3pi01\",\n \"Area\": \"ap-guangzhou\"\n}",
|
183
|
+
"output": "{\n \"Response\": {\n \"Status\": 0,\n \"Info\": \"success\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
178
184
|
"title": "删除规则"
|
179
185
|
}
|
180
186
|
],
|
@@ -182,14 +188,14 @@
|
|
182
188
|
{
|
183
189
|
"document": "",
|
184
190
|
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAddressTemplate\n<公共请求参数>\n\n{\n \"Uuid\": \"mb_***_***\"\n}",
|
185
|
-
"output": "{\n \"Response\": {\n \"Status\": 0,\n \"RequestId\": \"\"\n }\n}",
|
191
|
+
"output": "{\n \"Response\": {\n \"Status\": 0,\n \"RequestId\": \"9e554533f-5419-4bad-8db6-cbc8bcda4b3c\"\n }\n}",
|
186
192
|
"title": "删除地址模板规则"
|
187
193
|
}
|
188
194
|
],
|
189
195
|
"DeleteAllAccessControlRule": [
|
190
196
|
{
|
191
197
|
"document": "",
|
192
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAllAccessControlRule\n<公共请求参数>\n\n{\n \"Area\": \"\",\n \"EdgeId\": \"\",\n \"Direction\": \"0\"\n}",
|
198
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAllAccessControlRule\n<公共请求参数>\n\n{\n \"Area\": \"edge-e4geb\",\n \"EdgeId\": \"ap-beijing\",\n \"Direction\": \"0\"\n}",
|
193
199
|
"output": "{\n \"Response\": {\n \"Status\": 0,\n \"Info\": 0,\n \"RequestId\": \"b21d7f7c-3191-41a2-bd13-9a5f6d86ab44\"\n }\n}",
|
194
200
|
"title": "全部删除规则"
|
195
201
|
}
|
@@ -197,8 +203,8 @@
|
|
197
203
|
"DeleteBlockIgnoreRuleList": [
|
198
204
|
{
|
199
205
|
"document": "",
|
200
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteBlockIgnoreRuleList\n<公共请求参数>\n\n{\n \"Rules\": [\n {\n \"IP\": \"1.1.1.1\",\n \"Direction\": 0,\n \"Domain\": \"\"\n }\n ],\n \"RuleType\": 0\n}",
|
201
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"\"\n }\n}",
|
206
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteBlockIgnoreRuleList\n<公共请求参数>\n\n{\n \"Rules\": [\n {\n \"IP\": \"1.1.1.1\",\n \"Direction\": 0,\n \"Domain\": \"www.doamin.com\"\n }\n ],\n \"RuleType\": 0\n}",
|
207
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"29f9896a-bb5e-49d1-840c-cf3a0177bd2d\"\n }\n}",
|
202
208
|
"title": "批量删除入侵防御封禁列表、放通列表规则"
|
203
209
|
}
|
204
210
|
],
|
@@ -229,56 +235,56 @@
|
|
229
235
|
"DeleteRemoteAccessDomain": [
|
230
236
|
{
|
231
237
|
"document": "",
|
232
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRemoteAccessDomain\n<公共请求参数>\n\n{\n \"AccessDomainList\": [\n \"cfw.tencentcs.com\"\n ]\n}",
|
238
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRemoteAccessDomain\n<公共请求参数>\n\n{\n \"AccessDomainList\": [\n \"demo.cfw.tencentcs.com\"\n ]\n}",
|
233
239
|
"output": "{\n \"Response\": {\n \"Status\": 0,\n \"RequestId\": \"b21d7f7c-3191-41a2-bd13-9a5f6d86ab44\"\n }\n}",
|
234
240
|
"title": "删除远程运维域名"
|
235
241
|
}
|
236
242
|
],
|
237
243
|
"DeleteResourceGroup": [
|
238
244
|
{
|
239
|
-
"document": "",
|
240
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteResourceGroup\n<公共请求参数>\n\n{\n \"GroupId\": \"cfwrg-
|
241
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
242
|
-
"title": "
|
245
|
+
"document": "DeleteResourceGroup-资产中心资产组删除",
|
246
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteResourceGroup\n<公共请求参数>\n\n{\n \"GroupId\": \"cfwrg-1233413cfeb*************1729753007\"\n}",
|
247
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"0185cf37-eda2-42c6-8290-c4270aee5c6e\"\n }\n}",
|
248
|
+
"title": "DeleteResourceGroup-资产中心资产组删除"
|
243
249
|
}
|
244
250
|
],
|
245
251
|
"DeleteSecurityGroupRule": [
|
246
252
|
{
|
247
|
-
"document": "",
|
253
|
+
"document": "删除安全组规则",
|
248
254
|
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteSecurityGroupRule\nX-TC-Language: zh-CN\n<公共请求参数>\n\n{\n \"Id\": 1,\n \"Area\": \"ap-guangzhou\",\n \"Direction\": 0,\n \"IsDelReverse\": 0\n}",
|
249
|
-
"output": "{\n \"Response\": {\n \"Status\": 0,\n \"Info\": \"\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
255
|
+
"output": "{\n \"Response\": {\n \"Status\": 0,\n \"Info\": \"success\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
250
256
|
"title": "删除安全组规则"
|
251
257
|
}
|
252
258
|
],
|
253
259
|
"DeleteVpcFwGroup": [
|
254
260
|
{
|
255
261
|
"document": "创建防火墙(组)",
|
256
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteVpcFwGroup\n<公共请求参数>\n\n{\n \"FwGroupId\": \"cfwg-
|
262
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteVpcFwGroup\n<公共请求参数>\n\n{\n \"FwGroupId\": \"cfwg-0752de63\",\n \"DeleteFwGroup\": 0,\n \"VpcFwInsList\": [\n \"cfwew-0752de63\"\n ]\n}",
|
257
263
|
"output": "{\n \"Response\": {\n \"RequestId\": \"0752de63-570c-4c2e-bbd2-78574e22a1ae\"\n }\n}",
|
258
264
|
"title": "删除防火墙(组)"
|
259
265
|
}
|
260
266
|
],
|
261
267
|
"DescribeAcLists": [
|
262
268
|
{
|
263
|
-
"document": "",
|
264
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAcLists\n<公共请求参数>\n\n{\n \"
|
265
|
-
"output": "{\n \"Response\": {\n \"AllTotal\":
|
266
|
-
"title": "
|
269
|
+
"document": "ACl规则列表查询示例",
|
270
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAcLists\n<公共请求参数>\n\n{\n \"SearchValue\": \"{\\\"common\\\":\\\"模糊检索\\\"}\",\n \"Limit\": 1,\n \"Offset\": 0\n}",
|
271
|
+
"output": "{\n \"Response\": {\n \"AllTotal\": 10,\n \"Data\": [\n {\n \"AutoTask\": \"[{\\\"TaskId\\\":9070,\\\"TaskName\\\":\\\"aa\\\",\\\"LastTime\\\":\\\"\\\"}]\",\n \"City\": 0,\n \"CloudCode\": \"tencent\",\n \"Count\": 0,\n \"Country\": 0,\n \"Detail\": \"详情\",\n \"DstType\": 1,\n \"Id\": 151973,\n \"InstanceName\": \"andy的cvm\",\n \"Invalid\": 0,\n \"IsRegion\": 0,\n \"LogId\": \"datfaexd\",\n \"OrderIndex\": 1,\n \"Port\": \"-1/-1\",\n \"Protocol\": \"TCP\",\n \"RegName1\": \"广州\",\n \"RegName2\": \"新加坡\",\n \"SourceIp\": \"havip-0p99wbtb\",\n \"SrcType\": 6,\n \"Status\": 1,\n \"Strategy\": 2,\n \"TargetIp\": \"0.0.0.0/0\",\n \"Uuid\": \"1300448058_0.0.0.0/0_1730259837057017\"\n }\n ],\n \"Enable\": 2,\n \"RequestId\": \"e60361f4-8033-40ed-ab79-35f92fc50bf1\",\n \"Total\": 10\n }\n}",
|
272
|
+
"title": "ACl规则列表查询示例"
|
267
273
|
}
|
268
274
|
],
|
269
275
|
"DescribeAclRule": [
|
270
276
|
{
|
271
277
|
"document": "查询互联网边界出向访问控制列表,其中Filters中Direction 为0表示查询出向访问控制规则列表,为1时表示查询入向访问控制列表",
|
272
278
|
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAclRule\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"Direction\",\n \"Values\": [\n \"0\"\n ],\n \"OperatorType\": 1\n }\n ],\n \"Limit\": 10,\n \"Offset\": 0\n}",
|
273
|
-
"output": "{\n \"Response\": {\n \"AllTotal\": 6,\n \"Data\": [\n {\n \"BetaList\": [\n {\n \"LastTime\": \"\",\n \"TaskId\": 9070,\n \"TaskName\": \"
|
279
|
+
"output": "{\n \"Response\": {\n \"AllTotal\": 6,\n \"Data\": [\n {\n \"BetaList\": [\n {\n \"LastTime\": \"2024-11-03 03:16:44\",\n \"TaskId\": 9070,\n \"TaskName\": \"dayCron\"\n }\n ],\n \"CityCode\": 0,\n \"Count\": 0,\n \"CountryCode\": 0,\n \"CountryName\": \"中国\",\n \"Description\": \"测试命中\",\n \"CityName\": \"广东省\",\n \"Direction\": 0,\n \"Enable\": \"false\",\n \"InstanceName\": \"pro-ins\",\n \"InternalUuid\": 0,\n \"InternetBorderUuid\": \"1300448058_0.0.0.0/0_1729685657863970\",\n \"Invalid\": 0,\n \"IsCloud\": 0,\n \"CloudCode\": \"0\",\n \"IsRegion\": 0,\n \"LastHitTime\": \"2024-11-03 03:14:44\",\n \"OrderIndex\": 2,\n \"ParamTemplateId\": \"pp-738fd652\",\n \"ParamTemplateName\": \"pro参数模版\",\n \"Port\": \"-1/-1\",\n \"Protocol\": \"HTTPS\",\n \"RuleAction\": \"log\",\n \"Scope\": \"serial\",\n \"SourceContent\": \"0.0.0.0/0\",\n \"SourceName\": \"proSrc\",\n \"SourceType\": \"net\",\n \"Status\": 0,\n \"TargetContent\": \"www.qq.com\",\n \"TargetName\": \"pro\",\n \"TargetType\": \"domain\",\n \"Uuid\": 148183\n }\n ],\n \"RequestId\": \"985187d2-9a80-4ee7-b519-ad48e75f6588\",\n \"Total\": 6\n }\n}",
|
274
280
|
"title": "查询互联网边界访问控制列表示例"
|
275
281
|
}
|
276
282
|
],
|
277
283
|
"DescribeAddressTemplateList": [
|
278
284
|
{
|
279
285
|
"document": "",
|
280
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAddressTemplateList\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 20,\n \"SearchValue\": \"出向白名单\",\n \"TemplateType\": \"\"\n}",
|
281
|
-
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Detail\": \"\",\n \"IPNum\": 4,\n \"InsertTime\": \"2024-02-21 16:33:11\",\n \"IpString\": \"10.222.0.0/16,10.222.0.14,10.26.26.11,10.115.1.12\",\n \"IpVersion\": 0,\n \"Name\": \"出向白名单\",\n \"ProtocolType\": \"\",\n \"RulesNum\": 5,\n \"TemplateId\": \"ip-863papye\",\n \"Type\": 1,\n \"UpdateTime\": \"2024-09-11 10:14:42\",\n \"Uuid\": \"mb_appid_1708504391199\"\n }\n ],\n \"DomainTemplateCount\": 0,\n \"IpTemplateCount\": 1,\n \"NameList\": [\n \"dora\"\n ],\n \"PortTemplateCount\": 0,\n \"RequestId\": \"f68d4fbb-4887-4fbb-91cb-e964131d5b4c\",\n \"TemplateQuotaCount\": 300,\n \"Total\": 1,\n \"UsedTemplateCount\": 1\n }\n}",
|
286
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAddressTemplateList\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 20,\n \"SearchValue\": \"出向白名单\",\n \"TemplateType\": \"1\"\n}",
|
287
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Detail\": \"放通出方向目的ip\",\n \"IPNum\": 4,\n \"InsertTime\": \"2024-02-21 16:33:11\",\n \"IpString\": \"10.222.0.0/16,10.222.0.14,10.26.26.11,10.115.1.12\",\n \"IpVersion\": 0,\n \"Name\": \"出向白名单\",\n \"ProtocolType\": \"4\",\n \"RulesNum\": 5,\n \"TemplateId\": \"ip-863papye\",\n \"Type\": 1,\n \"UpdateTime\": \"2024-09-11 10:14:42\",\n \"Uuid\": \"mb_appid_1708504391199\"\n }\n ],\n \"DomainTemplateCount\": 0,\n \"IpTemplateCount\": 1,\n \"NameList\": [\n \"dora\"\n ],\n \"PortTemplateCount\": 0,\n \"RequestId\": \"f68d4fbb-4887-4fbb-91cb-e964131d5b4c\",\n \"TemplateQuotaCount\": 300,\n \"Total\": 1,\n \"UsedTemplateCount\": 1\n }\n}",
|
282
288
|
"title": "查询地址模板列表"
|
283
289
|
}
|
284
290
|
],
|
@@ -294,39 +300,39 @@
|
|
294
300
|
{
|
295
301
|
"document": "",
|
296
302
|
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAssociatedInstanceList\n<公共请求参数>\n\n{\n \"Area\": \"ap-guangzhou\",\n \"Limit\": 10,\n \"Offset\": 0\n}",
|
297
|
-
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"InstanceId\": \"eni-4ymwnaoe\",\n \"InstanceName\": \"test-private\",\n \"Type\": 5,\n \"VpcId\": \"vpc-406waega\",\n \"VpcName\": \"vpc---\",\n \"PublicIp\": \"\",\n \"Ip\": \"192.168.0.13,192.168.0.3\",\n \"CdbId\": \"\",\n \"SecurityGroupRuleCount\": 1,\n \"SecurityGroupCount\": 1\n },\n {\n \"InstanceId\": \"eni-oskydbvm\",\n \"InstanceName\": \"privat-test\",\n \"Type\": 5,\n \"VpcId\": \"vpc-dvc0qmmm\",\n \"VpcName\": \"Dno\",\n \"PublicIp\": \"\",\n \"Ip\": \"172.21.0.12\",\n \"CdbId\": \"\",\n \"SecurityGroupRuleCount\": 1,\n \"SecurityGroupCount\": 0\n }\n ],\n \"Total\": 2,\n \"RequestId\": \"8f563b4d-8151-4db0-a822-9bde279d2079\"\n }\n}",
|
303
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"InstanceId\": \"eni-4ymwnaoe\",\n \"InstanceName\": \"test-private\",\n \"Type\": 5,\n \"VpcId\": \"vpc-406waega\",\n \"VpcName\": \"vpc---\",\n \"PublicIp\": \"1.1.1.1\",\n \"Ip\": \"192.168.0.13,192.168.0.3\",\n \"CdbId\": \"cdb-0cc13ab\",\n \"SecurityGroupRuleCount\": 1,\n \"SecurityGroupCount\": 1\n },\n {\n \"InstanceId\": \"eni-oskydbvm\",\n \"InstanceName\": \"privat-test\",\n \"Type\": 5,\n \"VpcId\": \"vpc-dvc0qmmm\",\n \"VpcName\": \"Dno\",\n \"PublicIp\": \"1.1.1.1\",\n \"Ip\": \"172.21.0.12\",\n \"CdbId\": \"cdb-0cc13ab\",\n \"SecurityGroupRuleCount\": 1,\n \"SecurityGroupCount\": 0\n }\n ],\n \"Total\": 2,\n \"RequestId\": \"8f563b4d-8151-4db0-a822-9bde279d2079\"\n }\n}",
|
298
304
|
"title": "查询安全组关联实例列表"
|
299
305
|
}
|
300
306
|
],
|
301
307
|
"DescribeBlockByIpTimesList": [
|
302
308
|
{
|
303
|
-
"document": "",
|
304
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBlockByIpTimesList\n<公共请求参数>\n\n{\n \"
|
305
|
-
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"StatTime\": \"
|
306
|
-
"title": "DescribeBlockByIpTimesList"
|
309
|
+
"document": "DescribeBlockByIpTimesList 告警中心阻断IP折线图",
|
310
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBlockByIpTimesList\n<公共请求参数>\n\n{\n \"Direction\": \"0\",\n \"EdgeId\": \"vpc\",\n \"EndTime\": \"2024-11-01 11:43:13\",\n \"Ip\": \"80.75.212.46\",\n \"LogSource\": \"move\",\n \"Source\": \"3\",\n \"StartTime\": \"2024-10-25 11:43:13\",\n \"Zone\": \"ap-beijing\"\n}",
|
311
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Num\": 1,\n \"StatTime\": \"10-25 00:00\"\n },\n {\n \"Num\": 3,\n \"StatTime\": \"10-26 00:00\"\n },\n {\n \"Num\": 0,\n \"StatTime\": \"10-27 00:00\"\n },\n {\n \"Num\": 0,\n \"StatTime\": \"10-28 00:00\"\n },\n {\n \"Num\": 0,\n \"StatTime\": \"10-29 00:00\"\n },\n {\n \"Num\": 0,\n \"StatTime\": \"10-30 00:00\"\n },\n {\n \"Num\": 0,\n \"StatTime\": \"10-31 00:00\"\n },\n {\n \"Num\": 0,\n \"StatTime\": \"11-01 00:00\"\n }\n ],\n \"RequestId\": \"269ab1ff-475a-4d65-93b1-623a16870f22\"\n }\n}",
|
312
|
+
"title": "DescribeBlockByIpTimesList 告警中心阻断IP折线图"
|
307
313
|
}
|
308
314
|
],
|
309
315
|
"DescribeBlockIgnoreList": [
|
310
316
|
{
|
311
317
|
"document": "查询入侵防御放通封禁列表",
|
312
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBlockIgnoreList\n<公共请求参数>\n\n{\n \"Limit\":
|
313
|
-
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Action\": 1,\n \"Address\": \"土耳其伊斯坦布尔省伊斯坦布尔\",\n \"Comment\": \"\",\n \"Country\": \"土耳其\",\n \"
|
318
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBlockIgnoreList\n<公共请求参数>\n\n{\n \"Limit\": 10,\n \"Offset\": 0,\n \"SearchValue\": \"{\\\"common\\\":\\\"模糊检索\\\"}\",\n \"Direction\": \"1\",\n \"RuleType\": 1,\n \"Order\": \"desc\",\n \"By\": \"EndTime\"\n}",
|
319
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Action\": 1,\n \"Address\": \"土耳其伊斯坦布尔省伊斯坦布尔\",\n \"Comment\": \"阻断黑IP\",\n \"Country\": \"土耳其\",\n \"Direction\": 1,\n \"DirectionList\": \"1\",\n \"Domain\": \"www.domain.com\",\n \"EndTime\": \"2024-10-23 09:50:59\",\n \"EventName\": \"泛微OA蜜罐探测事件\",\n \"FwType\": 15,\n \"IP\": \"1.1.1.1\",\n \"IgnoreReason\": \"0\",\n \"Ioc\": \"1.1.1.1\",\n \"LastHitTime\": \"2024-10-21 16:59:09\",\n \"Level\": \"高危\",\n \"MatchTimes\": 563038,\n \"Protocol\": \"HTTP\",\n \"RuleType\": 1,\n \"Source\": \"网络蜜罐(严格模式)\",\n \"StartTime\": \"2024-09-27 09:50:59\",\n \"UniqueId\": \"appid-1.1.1.1-1-1\"\n }\n ],\n \"RequestId\": \"d4b7cab1-5594-41fb-88c6-67822af94807\",\n \"ReturnCode\": 0,\n \"ReturnMsg\": \"success\",\n \"RuleTypeDataList\": [\n 0,\n 5,\n 1,\n 0,\n 0,\n 1,\n 0\n ],\n \"SourceList\": [\n \"基础防御\",\n \"手动添加\",\n \"网络蜜罐(严格模式)\",\n \"虚拟补丁\"\n ],\n \"Total\": 30\n }\n}",
|
314
320
|
"title": "查询入侵防御放通封禁列表"
|
315
321
|
}
|
316
322
|
],
|
317
323
|
"DescribeBlockStaticList": [
|
318
324
|
{
|
319
|
-
"document": "",
|
320
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBlockStaticList\n<公共请求参数>\n\n{\n \"
|
321
|
-
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"
|
322
|
-
"title": "DescribeBlockStaticList"
|
325
|
+
"document": "DescribeBlockStaticList 告警中心柱形图",
|
326
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBlockStaticList\n<公共请求参数>\n\n{\n \"EndTime\": \"2024-11-01 14:23:11\",\n \"QueryType\": \"ip\",\n \"SearchValue\": \"{\\\"instance_id\\\":\\\"ins-id\\\",\\\"source\\\":\\\"cvm\\\"}\",\n \"StartTime\": \"2024-10-25 14:23:11\",\n \"Top\": 5\n}",
|
327
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Address\": \"beijing\",\n \"InsID\": \"ins-cvmid\",\n \"InsName\": \"cvmname\",\n \"Ip\": \"141.98.11.67\",\n \"Num\": 39,\n \"Port\": \"22\"\n }\n ],\n \"RequestId\": \"7138a2b1-f1fb-4b72-b49d-b8fcaec2afcb\",\n \"Status\": 0\n }\n}",
|
328
|
+
"title": "DescribeBlockStaticList 告警中心柱形图"
|
323
329
|
}
|
324
330
|
],
|
325
331
|
"DescribeCfwEips": [
|
326
332
|
{
|
327
333
|
"document": "",
|
328
334
|
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCfwEips\n<公共请求参数>\n\n{\n \"Mode\": 1,\n \"NatGatewayId\": \"ALL\",\n \"CfwInstance\": \"cfwnat-d2afc817\"\n}",
|
329
|
-
"output": "{\n \"Response\": {\n \"NatFwEipList\": [\n {\n \"Eip\": \"
|
335
|
+
"output": "{\n \"Response\": {\n \"NatFwEipList\": [\n {\n \"Eip\": \"1.2.4.8\",\n \"NatGatewayId\": \"nat-xufsn2da\",\n \"NatGatewayName\": \"pro\"\n }\n ],\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
330
336
|
"title": "查询防火墙弹性公网ip"
|
331
337
|
}
|
332
338
|
],
|
@@ -334,7 +340,7 @@
|
|
334
340
|
{
|
335
341
|
"document": "接口返回常见入侵防御开关接口",
|
336
342
|
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDefenseSwitch\n<公共请求参数>\n\n{}",
|
337
|
-
"output": "{\n \"Response\": {\n \"BasicRuleSwitch\": 0,\n \"BaselineAllSwitch\": 0,\n \"TiSwitch\": 0,\n \"VirtualPatchSwitch\": 0,\n \"HistoryOpen\": 0,\n \"ReturnCode\": 0,\n \"ReturnMsg\": \"sccess\",\n \"RequestId\": \"
|
343
|
+
"output": "{\n \"Response\": {\n \"BasicRuleSwitch\": 0,\n \"BaselineAllSwitch\": 0,\n \"TiSwitch\": 0,\n \"VirtualPatchSwitch\": 0,\n \"HistoryOpen\": 0,\n \"ReturnCode\": 0,\n \"ReturnMsg\": \"sccess\",\n \"RequestId\": \"3b630f97-fcd6-43fa-b141-4f0be018bdb2\"\n }\n}",
|
338
344
|
"title": "入侵防御开关相关"
|
339
345
|
}
|
340
346
|
],
|
@@ -349,24 +355,24 @@
|
|
349
355
|
"DescribeEnterpriseSecurityGroupRule": [
|
350
356
|
{
|
351
357
|
"document": "查询新企业安全组规则",
|
352
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEnterpriseSecurityGroupRule\n<公共请求参数>\n\n{\n \"SourceContent\": \"192.168.0.2\",\n \"DestContent\": \"192.168.0.3\",\n \"Description\": \"放行规则\",\n \"RuleAction\": \"accept\",\n \"Enable\": \"true\",\n \"Port\": \"80\",\n \"Protocol\": \"TCP\",\n \"ServiceTemplateId\": \"\",\n \"PageNo\": \"1\",\n \"PageSize\": \"10\",\n \"RuleUuid\": 1\n}",
|
353
|
-
"output": "{\n \"Response\": {\n \"PageNo\": \"1\",\n \"PageSize\": \"10\",\n \"Rules\": [\n {\n \"SourceContent\": \"192.168.0.2\",\n \"SourceType\": \"net\",\n \"DestContent\": \"192.168.0.3\",\n \"DestType\": \"net\",\n \"Protocol\": \"TCP\",\n \"Port\": \"80\",\n \"ServiceTemplateId\": \"\",\n \"RuleAction\": \"accept\",\n \"Description\": \"放行规则\",\n \"OrderIndex\": \"1\",\n \"Id\": \"1\",\n \"Enable\": \"true\"\n }\n ],\n \"TotalCount\": \"1\",\n \"RequestId\": \"8f563b4d-8151-4db0-a822-9bde279d2079\"\n }\n}",
|
358
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEnterpriseSecurityGroupRule\n<公共请求参数>\n\n{\n \"SourceContent\": \"192.168.0.2\",\n \"DestContent\": \"192.168.0.3\",\n \"Description\": \"放行规则\",\n \"RuleAction\": \"accept\",\n \"Enable\": \"true\",\n \"Port\": \"80\",\n \"Protocol\": \"TCP\",\n \"ServiceTemplateId\": \"ppmg-jz17vpis\",\n \"PageNo\": \"1\",\n \"PageSize\": \"10\",\n \"RuleUuid\": 1\n}",
|
359
|
+
"output": "{\n \"Response\": {\n \"PageNo\": \"1\",\n \"PageSize\": \"10\",\n \"Rules\": [\n {\n \"SourceContent\": \"192.168.0.2\",\n \"SourceType\": \"net\",\n \"DestContent\": \"192.168.0.3\",\n \"DestType\": \"net\",\n \"Protocol\": \"TCP\",\n \"Port\": \"80\",\n \"ServiceTemplateId\": \"ppmg-jz17vpis\",\n \"RuleAction\": \"accept\",\n \"Description\": \"放行规则\",\n \"OrderIndex\": \"1\",\n \"Id\": \"1\",\n \"Enable\": \"true\"\n }\n ],\n \"TotalCount\": \"1\",\n \"RequestId\": \"8f563b4d-8151-4db0-a822-9bde279d2079\"\n }\n}",
|
354
360
|
"title": "查询新企业安全组规则"
|
355
361
|
}
|
356
362
|
],
|
357
363
|
"DescribeEnterpriseSecurityGroupRuleList": [
|
358
364
|
{
|
359
|
-
"document": "
|
365
|
+
"document": "查询企业安全组信息",
|
360
366
|
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEnterpriseSecurityGroupRuleList\n<公共请求参数>\n\n{\n \"Limit\": 1,\n \"Offset\": 0,\n \"SearchFilters\": [\n {\n \"Name\": \"common\",\n \"Values\": [\n \"模板\"\n ],\n \"OperatorType\": 9\n }\n ]\n}",
|
361
|
-
"output": "{\n \"Response\": {\n \"AllTotal\": 30,\n \"Data\": [\n {\n \"AclTags\": \"
|
362
|
-
"title": "示例1"
|
367
|
+
"output": "{\n \"Response\": {\n \"AllTotal\": 30,\n \"Data\": [\n {\n \"AclTags\": \"名称\",\n \"BetaList\": [\n {\n \"TaskId\": \"9001\",\n \"TaskName\": \"autotest\",\n \"LastTime\": \"1999-01-01 00:00:01\"\n }\n ],\n \"Cidr\": \"192.16.1.0/24\",\n \"Detail\": \"企业安全组描述\",\n \"InstanceName\": \"企业安全组实例\",\n \"IsDelay\": 0,\n \"IsNew\": 1,\n \"OrderIndex\": 1,\n \"ParameterName\": \"参数模版\",\n \"Port\": \"-1/-1\",\n \"PrivateIp\": \"1.1.1.1\",\n \"Protocol\": \"ANY\",\n \"ProtocolPortName\": \"模版\",\n \"PublicIp\": \"1.1.1.1\",\n \"Region\": \"AllRegion\",\n \"RuleUuid\": 61257,\n \"ServiceTemplateId\": \"ip-didd011\",\n \"SouCidr\": \"192.168.1.0/24\",\n \"SouInstanceName\": \"模版名称\",\n \"SouParameterName\": \"模版名称\",\n \"SouPrivateIp\": \"1.1.1.1\",\n \"SouPublicIp\": \"1.1.1.1\",\n \"SourceId\": \"ipmg-17hphuxg\",\n \"SourceType\": 7,\n \"Status\": 1,\n \"Strategy\": 1,\n \"TargetId\": \"cfwrg-b803523898534bcbd9b7d2c7d92c175e1712804418\",\n \"TargetType\": 100,\n \"Uuid\": \"cfw_newsg_1300448058_0.0.0.0/0_17228848067531\",\n \"Id\": 61257\n }\n ],\n \"Enable\": 2,\n \"RequestId\": \"d835bbe0-99e8-4cb7-a29a-3dfe2eff7d14\",\n \"Total\": 28\n }\n}",
|
368
|
+
"title": "示例1 查询企业安全组信息"
|
363
369
|
}
|
364
370
|
],
|
365
371
|
"DescribeFwEdgeIps": [
|
366
372
|
{
|
367
373
|
"document": "串行防火墙开关列表",
|
368
374
|
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFwEdgeIps\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"PublicIp\",\n \"Values\": [\n \"1.1.1.1\"\n ],\n \"OperatorType\": 9\n }\n ],\n \"Limit\": 10,\n \"Offset\": 0,\n \"StartTime\": \"2022-07-27 16:00:00\",\n \"EndTime\": \"2022-07-27 16:00:00\",\n \"Order\": \"desc\",\n \"By\": \"PublicIp\"\n}",
|
369
|
-
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"PublicIp\": \"
|
375
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"PublicIp\": \"43.138.181.57\",\n \"PublicIpType\": 2,\n \"InstanceId\": \"havip-berhzoxi\",\n \"InstanceName\": \"防火墙专用_请勿删改\",\n \"IntranetIp\": \"172.16.1.1\",\n \"AssetType\": \"HAVIP\",\n \"Region\": \"ap-guangzhou\",\n \"PortRiskCount\": -1,\n \"LastScanTime\": \"2022-07-27 16:00:00\",\n \"SwitchMode\": 0,\n \"IsRegionEip\": 1,\n \"VpcId\": \"vpc-wxecrvtb\",\n \"IsSerialRegion\": 2,\n \"EndpointId\": \"vpce-wxecrvtb\",\n \"EndpointIp\": \"172.16.1.1\",\n \"IsPublicClb\": 0,\n \"EndpointBindEipNum\": 0,\n \"ScanMode\": \"medium\",\n \"ScanStatus\": 0,\n \"Status\": 1,\n \"SwitchWeight\": 1,\n \"Domain\": \"*****\",\n \"OverUsedStatus\": 0\n }\n ],\n \"Total\": 10,\n \"RegionLst\": [\n \"ap-beijing\"\n ],\n \"InstanceTypeLst\": [\n \"nat\",\n \"cvm\"\n ],\n \"RequestId\": \"0752de63-570c-4c2e-bbd2-78574e22a1ae\"\n }\n}",
|
370
376
|
"title": "串行防火墙开关列表"
|
371
377
|
}
|
372
378
|
],
|
@@ -374,7 +380,7 @@
|
|
374
380
|
{
|
375
381
|
"document": "获取租户所有VPC防火墙(组)及VPC防火墙实例卡片信息",
|
376
382
|
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFwGroupInstanceInfo\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"FwGroupId\",\n \"Values\": [\n \"cfwg-xxxxxxxx\"\n ],\n \"OperatorType\": 9\n }\n ],\n \"Limit\": 10,\n \"Offset\": 0,\n \"StartTime\": \"2023-02-08 20:19:13\",\n \"EndTime\": \"2023-02-08 20:19:13\",\n \"Order\": \"desc\",\n \"By\": \"FwGroupId\"\n}",
|
377
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"71ed010b-b157-48fb-9439-89aa4549f08b\",\n \"Total\": 4,\n \"VpcFwGroupLst\": [\n {\n \"FwGroupId\": \"cfwg-bf5fc35b\",\n \"FwGroupName\": \"v_tximtan云\",\n \"Mode\": 1,\n \"SwitchMode\": 4,\n \"FwVpcCidr\": \"\",\n \"Status\": 0,\n \"CdcId\": \"\",\n \"CdcName\": \"\",\n \"CrossUserMode\": \"0\",\n \"FwSwitchNum\": 1,\n \"RegionLst\": [\n \"ap-guangzhou\"\n ],\n \"FwInstanceLst\": [\n {\n \"FwGroupId\": \"cfwg-bf5fc35b\",\n \"FwInsName\": \"v_tximtan云-广州\",\n \"FwInsId\": \"cfwew-b84148d5\",\n \"FwMode\": 1,\n \"CcnId\": [\n \"ccn-d7vwven5\"\n ],\n \"CcnName\": [\n \"v_tximtan云联网testtest\"\n ],\n \"PeerConnectionId\": null,\n \"PeerConnectionName\": null,\n \"FwCvmLst\": [\n {\n \"FwInsId\": \"cfwew-b84148d5\",\n \"Region\": \"ap-guangzhou\",\n \"RegionZh\": \"广州\",\n \"RegionDetail\": \"华南地区\",\n \"ZoneZh\": \"广州三区\",\n \"ZoneZhBack\": \"广州三区\",\n \"BandWidth\": 200\n }\n ],\n \"JoinInsLst\": [\n {\n \"JoinType\": \"VPC\",\n \"Num\": 3\n }\n ],\n \"JoinInsIdLst\": [\n \"vpc-i5qssbsx\",\n \"vpc-4dte07m3\",\n \"vpc-ozfpqh4b\"\n ],\n \"FwGateway\": [\n {\n \"GatewayId\": \"havip-03zh52mu\",\n \"VpcId\": \"vpc-losit83n\",\n \"IpAddress\": \"10.174.0.4\"\n }\n ],\n \"JoinInsNum\": 3,\n \"FwSwitchNum\": 1,\n \"Status\": 0,\n \"Time\": \"2023-10-23 10:50:39\",\n \"Width\": 200,\n \"UserVpcWidth\": 11264,\n \"RuleUsed\": 56,\n \"RuleMax\": 5000,\n \"FlowMax\": 116,\n \"EngineVersion\": \"cfw_v4.cfw4.iteration.1052\",\n \"UpdateEnable\": 1,\n \"TrafficMode\": \"Normal\"\n }\n ]\n },\n {\n \"FwGroupId\": \"cfwg-5ddd4aba\",\n \"FwGroupName\": \"11\",\n \"Mode\": 0,\n \"SwitchMode\": 1,\n \"FwVpcCidr\": \"auto\",\n \"Status\": 0,\n \"CdcId\": \"\",\n \"CdcName\": \"\",\n \"CrossUserMode\": \"0\",\n \"FwSwitchNum\": 1,\n \"RegionLst\": [\n \"ap-beijing\"\n ],\n \"FwInstanceLst\": [\n {\n \"FwGroupId\": \"cfwg-5ddd4aba\",\n \"FwInsName\": \"11-实例1\",\n \"FwInsId\": \"cfwew-aeb45a76\",\n \"FwMode\": 0,\n \"CcnId\": null,\n \"CcnName\": null,\n \"PeerConnectionId\": [\n \"pcx-98s94zkn\"\n ],\n \"PeerConnectionName\": [\n \"11\"\n ],\n \"FwCvmLst\": [\n {\n \"FwInsId\": \"cfwew-aeb45a76\",\n \"Region\": \"ap-beijing\",\n \"RegionZh\": \"北京\",\n \"RegionDetail\": \"华北地区\",\n \"ZoneZh\": \"北京三区\",\n \"ZoneZhBack\": \"北京三区\",\n \"BandWidth\": 1300\n }\n ],\n \"JoinInsLst\": [\n {\n \"JoinType\": \"VPC\",\n \"Num\": 2\n }\n ],\n \"JoinInsIdLst\": [\n \"vpc-406waega\",\n \"vpc-rkm452h0\"\n ],\n \"FwGateway\": [\n {\n \"GatewayId\": \"havip-3b8pxpvj\",\n \"VpcId\": \"vpc-406waega\",\n \"IpAddress\": \"192.168.16.52\"\n },\n {\n \"GatewayId\": \"havip-aw5siltn\",\n \"VpcId\": \"vpc-rkm452h0\",\n \"IpAddress\": \"172.21.2.36\"\n }\n ],\n \"JoinInsNum\": 2,\n \"FwSwitchNum\": 1,\n \"Status\": 0,\n \"Time\": \"2023-10-20 15:45:47\",\n \"Width\": 1300,\n \"UserVpcWidth\": 11264,\n \"RuleUsed\": 54,\n \"RuleMax\": 20000,\n \"FlowMax\": 3292,\n \"EngineVersion\": \"cfw_v4.cfw4.iteration.1053\",\n \"UpdateEnable\": 0,\n \"TrafficMode\": \"Normal\"\n }\n ]\n },\n {\n \"FwGroupId\": \"cfwg-231dcfcc\",\n \"FwGroupName\": \"云联网模式测试---勿删\",\n \"Mode\": 1,\n \"SwitchMode\": 4,\n \"FwVpcCidr\": \"\",\n \"Status\": 0,\n \"CdcId\": \"\",\n \"CdcName\": \"\",\n \"CrossUserMode\": \"0\",\n \"FwSwitchNum\": 1,\n \"RegionLst\": [\n \"ap-beijing\"\n ],\n \"FwInstanceLst\": [\n {\n \"FwGroupId\": \"cfwg-231dcfcc\",\n \"FwInsName\": \"云联网模式测试---勿删-北京test\",\n \"FwInsId\": \"cfwew-96389e55\",\n \"FwMode\": 1,\n \"CcnId\": [\n \"ccn-8tvs4l0r\"\n ],\n \"CcnName\": [\n \"自定义模式测试中\"\n ],\n \"PeerConnectionId\": null,\n \"PeerConnectionName\": null,\n \"FwCvmLst\": [\n {\n \"FwInsId\": \"cfwew-96389e55\",\n \"Region\": \"ap-beijing\",\n \"RegionZh\": \"北京\",\n \"RegionDetail\": \"华北地区\",\n \"ZoneZh\": \"北京三区\",\n \"ZoneZhBack\": \"北京三区\",\n \"BandWidth\": 1024\n }\n ],\n \"JoinInsLst\": [\n {\n \"JoinType\": \"DIRECTCONNECT\",\n \"Num\": 2\n },\n {\n \"JoinType\": \"VPC\",\n \"Num\": 6\n }\n ],\n \"JoinInsIdLst\": [\n \"dcg-1cwj8teq\",\n \"dcg-i3ojjsrm\",\n \"vpc-m8zwspqm\",\n \"vpc-apg8bqow\",\n \"vpc-2moj664m\",\n \"vpc-obppmht3\",\n \"vpc-e37znkkp\",\n \"vpc-3cj1twht\"\n ],\n \"FwGateway\": [\n {\n \"GatewayId\": \"havip-mxu8e6j5\",\n \"VpcId\": \"vpc-k0c0xlie\",\n \"IpAddress\": \"10.175.0.4\"\n }\n ],\n \"JoinInsNum\": 8,\n \"FwSwitchNum\": 1,\n \"Status\": 0,\n \"Time\": \"2023-10-12 20:12:32\",\n \"Width\": 1024,\n \"UserVpcWidth\": 11264,\n \"RuleUsed\": 56,\n \"RuleMax\": 20000,\n \"FlowMax\": 886,\n \"EngineVersion\": \"cfw_v4.0.2.1050\",\n \"UpdateEnable\": 1,\n \"TrafficMode\": \"Normal\"\n }\n ]\n },\n {\n \"FwGroupId\": \"cfwg-48b0ce59\",\n \"FwGroupName\": \"[autotest][勿删]自动化测试\",\n \"Mode\": 1,\n \"SwitchMode\": 1,\n \"FwVpcCidr\": \"\",\n \"Status\": 0,\n \"CdcId\": \"\",\n \"CdcName\": \"\",\n \"CrossUserMode\": \"0\",\n \"FwSwitchNum\": 1,\n \"RegionLst\": [\n \"ap-shanghai\"\n ],\n \"FwInstanceLst\": [\n {\n \"FwGroupId\": \"cfwg-48b0ce59\",\n \"FwInsName\": \"[autotest]【勿动】自动化测试-上海\",\n \"FwInsId\": \"cfwew-091fafd3\",\n \"FwMode\": 1,\n \"CcnId\": [\n \"ccn-2stwf6cr\"\n ],\n \"CcnName\": [\n \"[autotest][勿删]自动化测试\"\n ],\n \"PeerConnectionId\": null,\n \"PeerConnectionName\": null,\n \"FwCvmLst\": [\n {\n \"FwInsId\": \"cfwew-091fafd3\",\n \"Region\": \"ap-shanghai\",\n \"RegionZh\": \"上海\",\n \"RegionDetail\": \"华东地区\",\n \"ZoneZh\": \"上海二区\",\n \"ZoneZhBack\": \"上海二区\",\n \"BandWidth\": 1024\n }\n ],\n \"JoinInsLst\": [\n {\n \"JoinType\": \"VPC\",\n \"Num\": 2\n }\n ],\n \"JoinInsIdLst\": [\n \"vpc-msa9dvac\",\n \"vpc-q9h93ip4\"\n ],\n \"FwGateway\": [\n {\n \"GatewayId\": \"havip-0zv7jxun\",\n \"VpcId\": \"vpc-eo9n3mq2\",\n \"IpAddress\": \"10.183.0.4\"\n }\n ],\n \"JoinInsNum\": 2,\n \"FwSwitchNum\": 1,\n \"Status\": 0,\n \"Time\": \"2023-09-07 12:55:14\",\n \"Width\": 1024,\n \"UserVpcWidth\": 11264,\n \"RuleUsed\": 56,\n \"RuleMax\": 20000,\n \"FlowMax\": 29322,\n \"EngineVersion\": \"cfw_v4.0.2.1050\",\n \"UpdateEnable\": 1,\n \"TrafficMode\": \"Normal\"\n }\n ]\n }\n ]\n }\n}",
|
383
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"71ed010b-b157-48fb-9439-89aa4549f08b\",\n \"Total\": 1,\n \"VpcFwGroupLst\": [\n {\n \"FwGroupId\": \"cfwg-48b0ce59\",\n \"FwGroupName\": \"[autotest][勿删]自动化测试\",\n \"Mode\": 1,\n \"SwitchMode\": 1,\n \"FwVpcCidr\": \"10.0.0.1/24\",\n \"Status\": 0,\n \"CdcId\": \"cdc-1903e2\",\n \"CdcName\": \"自动化上海CDC\",\n \"CrossUserMode\": \"0\",\n \"FwSwitchNum\": 1,\n \"RegionLst\": [\n \"ap-shanghai\"\n ],\n \"FwInstanceLst\": [\n {\n \"FwGroupId\": \"cfwg-48b0ce59\",\n \"FwInsName\": \"[autotest]【勿动】自动化测试-上海\",\n \"FwInsId\": \"cfwew-091fafd3\",\n \"FwMode\": 1,\n \"CcnId\": [\n \"ccn-2stwf6cr\"\n ],\n \"CcnName\": [\n \"[autotest][勿删]自动化测试\"\n ],\n \"PeerConnectionId\": [],\n \"PeerConnectionName\": [],\n \"FwCvmLst\": [\n {\n \"FwInsId\": \"cfwew-091fafd3\",\n \"Region\": \"ap-shanghai\",\n \"RegionZh\": \"上海\",\n \"RegionDetail\": \"华东地区\",\n \"ZoneZh\": \"上海二区\",\n \"ZoneZhBack\": \"上海二区\",\n \"BandWidth\": 1024\n }\n ],\n \"JoinInsLst\": [\n {\n \"JoinType\": \"VPC\",\n \"Num\": 2\n }\n ],\n \"JoinInsIdLst\": [\n \"vpc-msa9dvac\",\n \"vpc-q9h93ip4\"\n ],\n \"FwGateway\": [\n {\n \"GatewayId\": \"havip-0zv7jxun\",\n \"VpcId\": \"vpc-eo9n3mq2\",\n \"IpAddress\": \"10.183.0.4\"\n }\n ],\n \"JoinInsNum\": 2,\n \"FwSwitchNum\": 1,\n \"Status\": 0,\n \"Time\": \"2023-09-07 12:55:14\",\n \"Width\": 1024,\n \"UserVpcWidth\": 11264,\n \"RuleUsed\": 56,\n \"RuleMax\": 20000,\n \"FlowMax\": 29322,\n \"EngineVersion\": \"cfw_v4.0.2.1050\",\n \"UpdateEnable\": 1,\n \"TrafficMode\": \"Normal\"\n }\n ]\n }\n ]\n }\n}",
|
378
384
|
"title": "获取租户所有VPC防火墙(组)及VPC防火墙实例卡片信息"
|
379
385
|
}
|
380
386
|
],
|
@@ -388,10 +394,10 @@
|
|
388
394
|
],
|
389
395
|
"DescribeGuideScanInfo": [
|
390
396
|
{
|
391
|
-
"document": "",
|
392
|
-
"input": "
|
393
|
-
"output": "{\n \"Response\": {\n \"Data\": {\n \"
|
394
|
-
"title": "DescribeGuideScanInfo
|
397
|
+
"document": "DescribeGuideScanInfo新手引导扫描接口信息",
|
398
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGuideScanInfo\n<公共请求参数>\n\n{}",
|
399
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"ScanPercent\": 1,\n \"ScanResultInfo\": {\n \"BanStatus\": true,\n \"IPNum\": 34,\n \"IPStatus\": true,\n \"IdpStatus\": true,\n \"LeakNum\": 209,\n \"PortNum\": 0\n },\n \"ScanStatus\": 1,\n \"ScanTime\": \"2024-11-01 03:11:01\"\n },\n \"RequestId\": \"e2633cf5-9a5f-48d9-84c6-ee4e762dab49\"\n }\n}",
|
400
|
+
"title": "DescribeGuideScanInfo新手引导扫描接口信息"
|
395
401
|
}
|
396
402
|
],
|
397
403
|
"DescribeIPStatusList": [
|
@@ -405,7 +411,7 @@
|
|
405
411
|
"DescribeIdsWhiteRule": [
|
406
412
|
{
|
407
413
|
"document": "入侵防御规则白名单查询示例",
|
408
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeIdsWhiteRule\n<公共请求参数>\n\n{\n \"Limit\": 10,\n \"Offset\": 0\n}",
|
414
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeIdsWhiteRule\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"SrcIp\",\n \"Values\": [\n \"10.23.33.1\"\n ],\n \"OperatorType\": 9\n }\n ],\n \"Limit\": 10,\n \"Offset\": 0\n}",
|
409
415
|
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"DstIp\": \"10.23.33.2\",\n \"FwType\": 4,\n \"Id\": 63,\n \"RuleId\": \"20006\",\n \"SrcIp\": \"10.23.33.1\",\n \"WhiteRuleType\": \"srcdst\"\n }\n ],\n \"RequestId\": \"88db276f-42d5-4b60-afc1-2c5799250a99\",\n \"ReturnCode\": 0,\n \"ReturnMsg\": \"success\",\n \"Total\": 1\n }\n}",
|
410
416
|
"title": "入侵防御规则白名单查询示例"
|
411
417
|
}
|
@@ -422,7 +428,7 @@
|
|
422
428
|
{
|
423
429
|
"document": "查询NAT访问控制出向规则列表,其中Filters中 Direction 为0时表示查询出向规则列表,为1时表示查询入向规则列表",
|
424
430
|
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeNatAcRule\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"Direction\",\n \"Values\": [\n \"0\"\n ],\n \"OperatorType\": 1\n }\n ],\n \"Limit\": 20,\n \"Offset\": 0\n}",
|
425
|
-
"output": "{\n \"Response\": {\n \"Total\": 1,\n \"Data\": [\n {\n \"Uuid\": 238778,\n \"InternalUuid\": 1726341068438565,\n \"OrderIndex\": 19,\n \"SourceContent\": \"ins-gt3h3i8f\",\n \"SourceType\": \"instance\",\n \"TargetContent\": \"mb_1300448058_1702866694255\",\n \"TargetType\": \"template\",\n \"Port\": \"-1/-1\",\n \"Protocol\": \"ANY\",\n \"Scope\": \"ap-guangzhou\",\n \"ScopeDesc\": \"广州地域\",\n \"Direction\": 0,\n \"RuleAction\": \"log\",\n \"Description\": \"autotest_nat_add\",\n \"Count\": 0,\n \"LastHitTime\": \"\",\n \"Enable\": \"true\",\n \"Invalid\": 0,\n \"CountryCode\": 0,\n \"CityCode\": 0,\n \"CountryName\": \"
|
431
|
+
"output": "{\n \"Response\": {\n \"Total\": 1,\n \"Data\": [\n {\n \"Uuid\": 238778,\n \"InternalUuid\": 1726341068438565,\n \"OrderIndex\": 19,\n \"SourceContent\": \"ins-gt3h3i8f\",\n \"SourceType\": \"instance\",\n \"TargetContent\": \"mb_1300448058_1702866694255\",\n \"TargetType\": \"template\",\n \"Port\": \"-1/-1\",\n \"Protocol\": \"ANY\",\n \"Scope\": \"ap-guangzhou\",\n \"ScopeDesc\": \"广州地域\",\n \"Direction\": 0,\n \"RuleAction\": \"log\",\n \"Description\": \"autotest_nat_add\",\n \"Count\": 0,\n \"LastHitTime\": \"2024-11-03 03:14:44\",\n \"Enable\": \"true\",\n \"Invalid\": 0,\n \"CountryCode\": 0,\n \"CityCode\": 0,\n \"CountryName\": \"中国\",\n \"CityName\": \"广东省\",\n \"IsRegion\": 0,\n \"CloudCode\": \"0\",\n \"IsCloud\": 0,\n \"InstanceName\": \"proIns\",\n \"Status\": 0,\n \"BetaList\": [],\n \"ParamTemplateId\": \"pp-336ad325\",\n \"ParamTemplateName\": \"andy\",\n \"TargetName\": \"prodst\",\n \"SourceName\": \"prosrc\"\n }\n ],\n \"AllTotal\": 1,\n \"RequestId\": \"efa6461b-9410-4cd8-9168-73f37d6ed532\"\n }\n}",
|
426
432
|
"title": "查询NAT访问控制列表实例1"
|
427
433
|
}
|
428
434
|
],
|
@@ -430,7 +436,7 @@
|
|
430
436
|
{
|
431
437
|
"document": "查询Nat防火墙Dnat规则示例",
|
432
438
|
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeNatFwDnatRule\n<公共请求参数>\n\n{\n \"Limit\": 3,\n \"Offset\": 0\n}",
|
433
|
-
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Description\": \"自动化勿删\",\n \"FwInsId\": \"cfwnat-ef74fdaf\",\n \"Id\": 6176,\n \"IpProtocol\": \"TCP\",\n \"IsReferenced\": 0,\n \"NatGwId\": \"\",\n \"PrivateIpAddress\": \"10.8.1.12\",\n \"PrivatePort\": 8080,\n \"PublicIpAddress\": \"124.223.94.81\",\n \"PublicPort\": 8080\n },\n {\n \"Description\": \"自动化勿删\",\n \"FwInsId\": \"cfwnat-ef74fdaf\",\n \"Id\": 6175,\n \"IpProtocol\": \"TCP\",\n \"IsReferenced\": 0,\n \"NatGwId\": \"\",\n \"PrivateIpAddress\": \"10.8.2.4\",\n \"PrivatePort\": 80,\n \"PublicIpAddress\": \"124.223.94.81\",\n \"PublicPort\": 80\n },\n {\n \"Description\": \"
|
439
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Description\": \"自动化勿删\",\n \"FwInsId\": \"cfwnat-ef74fdaf\",\n \"Id\": 6176,\n \"IpProtocol\": \"TCP\",\n \"IsReferenced\": 0,\n \"NatGwId\": \"nat-4eb013\",\n \"PrivateIpAddress\": \"10.8.1.12\",\n \"PrivatePort\": 8080,\n \"PublicIpAddress\": \"124.223.94.81\",\n \"PublicPort\": 8080\n },\n {\n \"Description\": \"自动化勿删\",\n \"FwInsId\": \"cfwnat-ef74fdaf\",\n \"Id\": 6175,\n \"IpProtocol\": \"TCP\",\n \"IsReferenced\": 0,\n \"NatGwId\": \"nat-4eb013\",\n \"PrivateIpAddress\": \"10.8.2.4\",\n \"PrivatePort\": 80,\n \"PublicIpAddress\": \"124.223.94.81\",\n \"PublicPort\": 80\n },\n {\n \"Description\": \"自定义描述\",\n \"FwInsId\": \"cfwnat-dce8698e\",\n \"Id\": 6126,\n \"IpProtocol\": \"UDP\",\n \"IsReferenced\": 0,\n \"NatGwId\": \"nat-4eb013\",\n \"PrivateIpAddress\": \"172.16.0.17\",\n \"PrivatePort\": 65530,\n \"PublicIpAddress\": \"43.138.154.20\",\n \"PublicPort\": 65530\n }\n ],\n \"RequestId\": \"d6ab3ac9-0902-48f3-8753-c0a48adcfc3f\",\n \"Total\": 5\n }\n}",
|
434
440
|
"title": "查询Nat防火墙Dnat规则示例"
|
435
441
|
}
|
436
442
|
],
|
@@ -446,7 +452,7 @@
|
|
446
452
|
{
|
447
453
|
"document": "",
|
448
454
|
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeNatFwInstance\n<公共请求参数>\n\n{}",
|
449
|
-
"output": "{\n \"Response\": {\n \"NatinsLst\": [\n {\n \"NatinsId\": \"cfwnat-9243de20\",\n \"NatinsName\": \"
|
455
|
+
"output": "{\n \"Response\": {\n \"NatinsLst\": [\n {\n \"NatinsId\": \"cfwnat-9243de20\",\n \"NatinsName\": \"公网NAT出口\",\n \"Region\": \"ap-shanghai\",\n \"FwMode\": 0,\n \"Status\": 0,\n \"NatIp\": \"1.1.1.1,2.2.2.2\"\n }\n ],\n \"RequestId\": \"9a86c4e3-b926-4244-919b-aba9a7e82686\"\n }\n}",
|
450
456
|
"title": "DescribeNatFwInstance 获取租户所有NAT实例"
|
451
457
|
}
|
452
458
|
],
|
@@ -454,7 +460,7 @@
|
|
454
460
|
{
|
455
461
|
"document": "",
|
456
462
|
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeNatFwInstanceWithRegion\n<公共请求参数>\n\n{}",
|
457
|
-
"output": "{\n \"Response\": {\n \"NatinsLst\": [\n {\n \"NatinsId\": \"cfwnat-fc7ae792\",\n \"NatinsName\": \"
|
463
|
+
"output": "{\n \"Response\": {\n \"NatinsLst\": [\n {\n \"NatinsId\": \"cfwnat-fc7ae792\",\n \"NatinsName\": \"运维测试\",\n \"Region\": \"ap-guangzhou\",\n \"FwMode\": 1,\n \"Status\": 0,\n \"NatIp\": \"1.1.1.1,2.2.2.2\"\n }\n ],\n \"RequestId\": \"52fa6827-985f-49c7-a853-d86efbd547c3\"\n }\n}",
|
458
464
|
"title": "GetNatInstance 获取租户所有NAT实例"
|
459
465
|
}
|
460
466
|
],
|
@@ -462,7 +468,7 @@
|
|
462
468
|
{
|
463
469
|
"document": "",
|
464
470
|
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeNatFwInstancesInfo\n<公共请求参数>\n\n{\n \"Filter\": [\n {\n \"FilterType\": \"NatinsId\",\n \"FilterContent\": \"cfwnat-65d0d823,cfwnat-65d0d824\"\n },\n {\n \"FilterType\": \"NatinsName\",\n \"FilterContent\": \"wytest\"\n },\n {\n \"FilterType\": \"FwMode\",\n \"FilterContent\": \"1\"\n },\n {\n \"FilterType\": \"Region\",\n \"FilterContent\": \"ap-guangzhou\"\n },\n {\n \"FilterType\": \"EipAddress\",\n \"FilterContent\": \"1.13.19.217,1.13.16.20\"\n },\n {\n \"FilterType\": \"VpcIp\",\n \"FilterContent\": \"10.255.0.20,10.255.0.5\"\n }\n ],\n \"Offset\": 0,\n \"Limit\": 10\n}",
|
465
|
-
"output": "{\n \"Response\": {\n \"NatinsLst\": [\n {\n \"BandWidth\": 30,\n \"EipAddress\": [\n \"1.117.4.229\",\n \"121.5.27.250\"\n ],\n \"FwMode\": 0,\n \"InFlowMax\": 4985,\n \"NatinsId\": \"cfwnat-f3250045\",\n \"NatinsName\": \"
|
471
|
+
"output": "{\n \"Response\": {\n \"NatinsLst\": [\n {\n \"BandWidth\": 30,\n \"EipAddress\": [\n \"1.117.4.229\",\n \"121.5.27.250\"\n ],\n \"FwMode\": 0,\n \"InFlowMax\": 4985,\n \"NatinsId\": \"cfwnat-f3250045\",\n \"NatinsName\": \"运维\",\n \"OutFlowMax\": 14642,\n \"Region\": \"ap-shanghai\",\n \"RegionZh\": \"上海\",\n \"Subnets\": [\n \"subnet-cjxihpy1\",\n \"subnet-1e34182d\",\n \"subnet-5sx5vrcj\",\n \"subnet-he9ba55f\",\n \"subnet-0yd4fk0j\",\n \"subnet-kdu0qj4t\"\n ],\n \"VpcIp\": [\n \"10.255.6.36\",\n \"10.255.6.37\",\n \"10.255.6.21\",\n \"10.255.6.18\",\n \"10.255.6.19\",\n \"10.255.5.28\",\n \"10.255.5.18\",\n \"10.255.5.19\"\n ],\n \"RegionDetail\": \"西南地区\",\n \"ZoneZh\": \"重庆一区\",\n \"ZoneZhBak\": \"重庆一区\",\n \"Status\": 0,\n \"RuleMax\": 20000,\n \"RuleUsed\": 1000,\n \"EngineVersion\": \"cfw_3.7.0.888\",\n \"UpdateEnable\": 1,\n \"NeedProbeEngineUpdate\": 1,\n \"TrafficMode\": \"Normal\",\n \"ReserveTime\": \"2021-12-09 11:56:58\",\n \"ReserveVersion\": \"cfw_3.7.1.889\",\n \"ReserveVersionState\": \"stable\",\n \"ElasticSwitch\": 0,\n \"ElasticBandwidth\": 0,\n \"IsFirstAfterPay\": 0\n }\n ],\n \"Total\": 1,\n \"RequestId\": \"50e39f16-3b3a-4c66-b76e-1705449ba828\"\n }\n}",
|
466
472
|
"title": "GetNatInstance 获取租户所有NAT实例"
|
467
473
|
}
|
468
474
|
],
|
@@ -474,28 +480,20 @@
|
|
474
480
|
"title": "ShowNatFwVpcDnsLst 展示租户NAT防火墙实例的vpc dns 开关信息"
|
475
481
|
}
|
476
482
|
],
|
477
|
-
"DescribeNatSwitchList": [
|
478
|
-
{
|
479
|
-
"document": "",
|
480
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeNatSwitchList\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 0,\n \"SearchValue\": \"abc\",\n \"Status\": 0,\n \"VpcId\": \"abc\",\n \"NatId\": \"abc\",\n \"NatInsId\": \"abc\",\n \"Area\": \"abc\"\n}",
|
481
|
-
"output": "{\n \"Response\": {\n \"Total\": 0,\n \"Data\": [\n {\n \"Id\": 1,\n \"SubnetId\": \"abc\",\n \"SubnetName\": \"abc\",\n \"SubnetCidr\": \"abc\",\n \"RouteId\": \"abc\",\n \"RouteName\": \"abc\",\n \"CvmNum\": 1,\n \"VpcId\": \"abc\",\n \"VpcName\": \"abc\",\n \"Enable\": 1,\n \"Status\": 1,\n \"NatId\": \"abc\",\n \"NatName\": \"abc\",\n \"NatInsId\": \"abc\",\n \"NatInsName\": \"abc\",\n \"Region\": \"abc\",\n \"Abnormal\": 0\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
482
|
-
"title": "查询NAT边界防火墙开关列表"
|
483
|
-
}
|
484
|
-
],
|
485
483
|
"DescribeResourceGroup": [
|
486
484
|
{
|
487
485
|
"document": "",
|
488
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeResourceGroup\n<公共请求参数>\n\n{\n \"GroupId\": \"\",\n \"QueryType\": \"vpc\",\n \"ShowType\": \"\"\n}",
|
489
|
-
"output": "{\n \"Response\": {\n \"Data\": \"[{\\\"GroupId\\\":\\\"1300448058_masternode\\\",\\\"ParentId\\\":\\\"\\\",\\\"GroupName\\\":\\\"全部资产\\\",\\\"Cidr\\\":\\\"\\\",\\\"Path\\\":\\\"\\\",\\\"InsNum\\\":52,\\\"TreeChild\\\":[{\\\"GroupId\\\":\\\"测试A\\\",\\\"ParentId\\\":\\\"\\\",\\\"GroupName\\\":\\\"测试A\\\",\\\"Cidr\\\":\\\"\\\",\\\"Path\\\":\\\"\\\",\\\"InsNum\\\":3,\\\"TreeChild\\\":[{\\\"GroupId\\\":\\\"测试A%cfw%测试B\\\",\\\"ParentId\\\":\\\"\\\",\\\"GroupName\\\":\\\"测试B\\\",\\\"Cidr\\\":\\\"\\\",\\\"Path\\\":\\\"\\\",\\\"InsNum\\\":3,\\\"TreeChild\\\":[]}]}
|
486
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeResourceGroup\n<公共请求参数>\n\n{\n \"GroupId\": \"0\",\n \"QueryType\": \"vpc\",\n \"ShowType\": \"ALL\"\n}",
|
487
|
+
"output": "{\n \"Response\": {\n \"Data\": \"[{\\\"GroupId\\\":\\\"1300448058_masternode\\\",\\\"ParentId\\\":\\\"masternodeall\\\",\\\"GroupName\\\":\\\"全部资产\\\",\\\"Cidr\\\":\\\"cidrmaster\\\",\\\"Path\\\":\\\"masternode\\\",\\\"InsNum\\\":52,\\\"TreeChild\\\":[{\\\"GroupId\\\":\\\"测试A\\\",\\\"ParentId\\\":\\\"1300448058_masternode\\\",\\\"GroupName\\\":\\\"测试A\\\",\\\"Cidr\\\":\\\"cidrmaster\\\",\\\"Path\\\":\\\"master\\\",\\\"InsNum\\\":3,\\\"TreeChild\\\":[{\\\"GroupId\\\":\\\"测试A%cfw%测试B\\\",\\\"ParentId\\\":\\\"1300448058_masternode\\\",\\\"GroupName\\\":\\\"测试B\\\",\\\"Cidr\\\":\\\"cidrmaster\\\",\\\"Path\\\":\\\"测试B\\\",\\\"InsNum\\\":3,\\\"TreeChild\\\":[]}]}]}]\",\n \"RequestId\": \"3bd058eb-d48b-4f41-b1ba-bc5b0bf67eb7\"\n }\n}",
|
490
488
|
"title": "资产中心资产树信息"
|
491
489
|
}
|
492
490
|
],
|
493
491
|
"DescribeResourceGroupNew": [
|
494
492
|
{
|
495
|
-
"document": "",
|
496
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeResourceGroupNew\n<公共请求参数>\n\n{\n \"
|
497
|
-
"output": "{\n \"Response\": {\n \"Data\": \"[{\\\"GroupId\\\":\\\"cfwrg-
|
498
|
-
"title": "
|
493
|
+
"document": "资产中心资产组数数据信息查询",
|
494
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeResourceGroupNew\n<公共请求参数>\n\n{\n \"GroupId\": \"cfwrg-****node\",\n \"QueryType\": \"resource\",\n \"ShowType\": \"all\"\n}",
|
495
|
+
"output": "{\n \"Response\": {\n \"Data\": \"[{\\\"GroupId\\\":\\\"cfwrg-130044******node\\\",\\\"ParentId\\\":\\\"0\\\",\\\"GroupName\\\":\\\"全部资产\\\",\\\"Cidr\\\":\\\"mastercidr\\\",\\\"Path\\\":\\\"/全部资产/\\\",\\\"InsNum\\\":52,\\\"TreeChild\\\":[{\\\"GroupId\\\":\\\"cfwrg-17***********349477\\\",\\\"ParentId\\\":\\\"cfwrg-1300448058masternode\\\",\\\"GroupName\\\":\\\"clay\\\",\\\"Cidr\\\":\\\"mastercidr\\\",\\\"Path\\\":\\\"/全部资产/clay/\\\",\\\"InsNum\\\":1,\\\"TreeChild\\\":[]}]}]\",\n \"RequestId\": \"60e4d0ea-f89a-4cfa-b132-64449c7e894a\",\n \"ReturnCode\": 0,\n \"ReturnMsg\": \"success\",\n \"UnResourceNum\": 5\n }\n}",
|
496
|
+
"title": "资产中心资产组数数据信息查询"
|
499
497
|
}
|
500
498
|
],
|
501
499
|
"DescribeRuleOverview": [
|
@@ -509,47 +507,47 @@
|
|
509
507
|
"DescribeSecurityGroupList": [
|
510
508
|
{
|
511
509
|
"document": "",
|
512
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSecurityGroupList\n<公共请求参数>\n\n{\n \"SearchValue\": \"\",\n \"Direction\": 1,\n \"Limit\": 20,\n \"Offset\": 0,\n \"Filter\": 0,\n \"Status\": \"\",\n \"Area\": \"ap-guangzhou\"\n}",
|
513
|
-
"output": "{\n \"Response\": {\n \"Total\": 0,\n \"AllTotal\": 0,\n \"Enable\": 1,\n \"Data\": [\n {\n \"
|
510
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSecurityGroupList\n<公共请求参数>\n\n{\n \"SearchValue\": \"{\\\"common\\\":\\\"模糊检索\\\"}\",\n \"Direction\": 1,\n \"Limit\": 20,\n \"Offset\": 0,\n \"Filter\": 0,\n \"Status\": \"0\",\n \"Area\": \"ap-guangzhou\"\n}",
|
511
|
+
"output": "{\n \"Response\": {\n \"Total\": 0,\n \"AllTotal\": 0,\n \"Enable\": 1,\n \"Data\": [\n {\n \"OrderIndex\": 1,\n \"SourceId\": \"ipm-dyodhpby\",\n \"SourceType\": 7,\n \"TargetId\": \"subnet-fmo10koi\",\n \"TargetType\": 2,\n \"Protocol\": \"ANY\",\n \"Port\": \"-1/-1\",\n \"Strategy\": 2,\n \"Detail\": \"andy的规则\",\n \"BothWay\": 0,\n \"Id\": 1,\n \"Status\": 1,\n \"IsNew\": 1,\n \"VpcId\": \"vpc-8xuf8kf5\",\n \"SubnetId\": \"subnet-fmo10koi\",\n \"InstanceName\": \"InstanceName\",\n \"PublicIp\": \"1.1.1.1\",\n \"PrivateIp\": \"9.0.0.1\",\n \"Cidr\": \"9.0.0.1/32\",\n \"ServiceTemplateId\": \"ppmg-jz17vpis\",\n \"Direction\": 0,\n \"ProtocolPortType\": 1,\n \"Uuid\": \"cfw_sg_appid_0.0.0.0/0_17295140975391\",\n \"Region\": \"ap-guangzhou\",\n \"AssetGroupNameIn\": \"/全部资产/\",\n \"AssetGroupNameOut\": \"/全部资产/\",\n \"ParameterName\": \"自动化勿删IP组模板\",\n \"ProtocolPortName\": \"端口协议类型参数模板名称\",\n \"BothWayInfo\": [\n {\n \"OrderIndex\": 1,\n \"SourceId\": \"1.1.1.1\",\n \"SourceType\": 7,\n \"TargetId\": \"1.1.1.1\",\n \"TargetType\": 2,\n \"Protocol\": \"ANY\",\n \"Port\": \"-1/-1\",\n \"Strategy\": 2,\n \"Detail\": \"andy的规则\",\n \"Status\": 1,\n \"IsNew\": 1,\n \"BothWay\": 0,\n \"VpcId\": \"vpc-iedpwx01d\",\n \"SubnetId\": \"subnet-ed2witec\",\n \"InstanceName\": \"andy的cvm\",\n \"PublicIp\": \"1.1.1.1\",\n \"PrivateIp\": \"1.1.1.1\",\n \"Cidr\": \"10.72.1.0/24\",\n \"ServiceTemplateId\": \"pp-peodxd0e\",\n \"Direction\": 1,\n \"Region\": \"ap-guangzhou\",\n \"ProtocolPortType\": 1\n }\n ]\n }\n ],\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
514
512
|
"title": "查询安全组规则列表"
|
515
513
|
}
|
516
514
|
],
|
517
515
|
"DescribeSourceAsset": [
|
518
516
|
{
|
519
|
-
"document": "",
|
520
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSourceAsset\n<公共请求参数>\n\n{\n \"
|
521
|
-
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"AppId\": \"\",\n \"Region\": \"ap-
|
522
|
-
"title": "
|
517
|
+
"document": "DescribeSourceAsset-查询全部资产信息",
|
518
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSourceAsset\n<公共请求参数>\n\n{\n \"ChooseType\": \"0\",\n \"FuzzySearch\": \"ins\",\n \"InsType\": \"1\",\n \"Limit\": 10,\n \"Offset\": 0,\n \"Zone\": \"ap-chengdu\"\n}",
|
519
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"AppId\": \"1300448055\",\n \"Region\": \"ap-chengdu\",\n \"RegionKey\": \"AP-CHENGDU\",\n \"VpcId\": \"vpc-n7k5rwjg\",\n \"SubnetId\": \"subnet-oq7vudkb\",\n \"InstanceId\": \"eni-2npbqunq\",\n \"InstanceName\": \"eth1\",\n \"InsType\": 5,\n \"PublicIp\": \"148.70.225.68\",\n \"PrivateIp\": \"10.27.0.20,10.27.0.21,10.27.0.22,10.27.0.23,10.27.0.24,10.27.0.25,10.27.0.26,10.27.0.27,10.27.0.28,10.27.0.8\",\n \"PortNum\": \"1\",\n \"LeakNum\": \"1\",\n \"VPCName\": \"vpc1\",\n \"InsSource\": \"1\",\n \"ResourcePath\": [\n \"/全部资产/测试环境/\",\n \"/全部资产/测试环境/DMZ隔离区/\"\n ],\n \"Server\": [\n \"dns\"\n ]\n }\n ],\n \"RequestId\": \"c6d441d3-1871-4913-ac41-b552324fa895\",\n \"Total\": 53,\n \"ZoneList\": [\n {\n \"Zone\": \"ap-guangzhou\",\n \"ZoneEng\": \"广州\"\n },\n {\n \"Zone\": \"ap-beijing\",\n \"ZoneEng\": \"北京\"\n },\n {\n \"Zone\": \"ap-singapore\",\n \"ZoneEng\": \"新加坡\"\n },\n {\n \"Zone\": \"ap-chengdu\",\n \"ZoneEng\": \"成都\"\n },\n {\n \"Zone\": \"ap-shanghai\",\n \"ZoneEng\": \"上海\"\n },\n {\n \"Zone\": \"ap-nanjing\",\n \"ZoneEng\": \"南京\"\n },\n {\n \"Zone\": \"ap-hongkong\",\n \"ZoneEng\": \"中国香港\"\n },\n {\n \"Zone\": \"ap-wuhan-ec\",\n \"ZoneEng\": \"武汉EC\"\n },\n {\n \"Zone\": \"ap-chongqing\",\n \"ZoneEng\": \"重庆\"\n }\n ]\n }\n}",
|
520
|
+
"title": "DescribeSourceAsset-查询全部资产信息"
|
523
521
|
}
|
524
522
|
],
|
525
523
|
"DescribeSwitchLists": [
|
526
524
|
{
|
527
|
-
"document": "",
|
528
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSwitchLists\n<公共请求参数>\n\n{\n \"
|
529
|
-
"output": "{\n \"Response\": {\n \"
|
530
|
-
"title": "
|
525
|
+
"document": "开关列表枚举",
|
526
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSwitchLists\n<公共请求参数>\n\n{\n \"Status\": 0,\n \"Type\": \"CVM\",\n \"Area\": \"成都\",\n \"SearchValue\": \"{\\\"common\\\":\\\"1.14.67.183\\\"}\",\n \"Limit\": 1,\n \"Offset\": 0,\n \"Order\": \"asc\",\n \"By\": \"PortTimes\"\n}",
|
527
|
+
"output": "{\n \"Response\": {\n \"AreaLists\": [\n \"上海\",\n \"重庆\",\n \"深圳金融\",\n \"成都\",\n \"广州\",\n \"北京\"\n ],\n \"Data\": [\n {\n \"Area\": \"成都\",\n \"AssetType\": \"CVM\",\n \"Id\": 6414090,\n \"InstanceId\": \"ins-fdysvd0j\",\n \"InstanceName\": \"nta-服务端性能\",\n \"IntranetIp\": \"10.26.26.11,10.26.26.15,10.26.26.30,10.26.26.31,10.26.26.32,10.26.26.33,10.26.26.34,10.26.26.35,10.26.26.36,10.26.26.37\",\n \"LastTime\": \"2024-03-08 14:56:54\",\n \"PortTimes\": 0,\n \"PublicIp\": \"1.14.67.183\",\n \"PublicIpType\": 2,\n \"ScanMode\": \"light\",\n \"ScanStatus\": 0,\n \"Switch\": 0\n }\n ],\n \"OffNum\": 30,\n \"OnNum\": 1,\n \"RequestId\": \"acdf46bf-c640-4946-9740-1fde401b9b60\",\n \"Total\": 1\n }\n}",
|
528
|
+
"title": "开关列表枚举"
|
531
529
|
}
|
532
530
|
],
|
533
531
|
"DescribeTLogInfo": [
|
534
532
|
{
|
535
|
-
"document": "",
|
536
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTLogInfo\n<公共请求参数>\n\n{\n \"EndTime\": \"
|
537
|
-
"output": "{\n \"Response\": {\n \"Data\": {\n \"
|
533
|
+
"document": "DescribeTLogInfo告警中心概况查询",
|
534
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTLogInfo\n<公共请求参数>\n\n{\n \"EndTime\": \"2024-10-31 15:06:18\",\n \"QueryType\": \"1\",\n \"SearchValue\": \"{\\\"instance_id\\\":\\\"ins-id\\\"}\",\n \"StartTime\": \"2024-10-01 15:06:18\"\n}",
|
535
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"BanNum\": 0,\n \"BruteForceNum\": 0,\n \"HandleNum\": 0,\n \"NetworkNum\": 90,\n \"OutNum\": 6,\n \"VulNum\": 5751\n },\n \"RequestId\": \"da5ee2e0-935e-4b82-8a57-610a6255d5a9\"\n }\n}",
|
538
536
|
"title": "DescribeTLogInfo告警中心概况查询"
|
539
537
|
}
|
540
538
|
],
|
541
539
|
"DescribeTLogIpList": [
|
542
540
|
{
|
543
|
-
"document": "",
|
544
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTLogIpList\n<公共请求参数>\n\n{\n \"
|
545
|
-
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"
|
541
|
+
"document": "DescribeTLogIpList告警中心IP柱形图",
|
542
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTLogIpList\n<公共请求参数>\n\n{\n \"EndTime\": \"2024-10-31 15:06:18\",\n \"QueryType\": \"1\",\n \"SearchValue\": \"{\\\"instance_id\\\":\\\"ins-id\\\"}\",\n \"StartTime\": \"2024-10-01 15:06:18\",\n \"Top\": 10\n}",
|
543
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Address\": \"广东省深圳市\",\n \"InsID\": \"ins-05b5fbe\",\n \"InsName\": \"内部服务\",\n \"Ip\": \"2001:0db8:3c4d:0015:0000:0000:1a2f:aaaa\",\n \"Num\": 1000,\n \"Port\": \"80\"\n },\n {\n \"Address\": \"广东省深圳市\",\n \"InsID\": \"ins-05b5fbe\",\n \"InsName\": \"内部服务\",\n \"Ip\": \"129.211.163.253\",\n \"Num\": 703,\n \"Port\": \"80\"\n },\n {\n \"Address\": \"广东省深圳市\",\n \"InsID\": \"ins-05b5fbe\",\n \"InsName\": \"内部服务\",\n \"Ip\": \"129.211.166.142\",\n \"Num\": 683,\n \"Port\": \"80\"\n },\n {\n \"Address\": \"广东省深圳市\",\n \"InsID\": \"ins-05b5fbe\",\n \"InsName\": \"内部服务\",\n \"Ip\": \"129.211.166.123\",\n \"Num\": 660,\n \"Port\": \"80\"\n },\n {\n \"Address\": \"广东省深圳市\",\n \"InsID\": \"ins-05b5fbe\",\n \"InsName\": \"内部服务\",\n \"Ip\": \"129.211.167.200\",\n \"Num\": 466,\n \"Port\": \"80\"\n },\n {\n \"Address\": \"广东省深圳市\",\n \"InsID\": \"ins-05b5fbe\",\n \"InsName\": \"内部服务\",\n \"Ip\": \"129.211.167.166\",\n \"Num\": 427,\n \"Port\": \"80\"\n },\n {\n \"Address\": \"广东省深圳市\",\n \"InsID\": \"ins-05b5fbe\",\n \"InsName\": \"内部服务\",\n \"Ip\": \"129.211.162.87\",\n \"Num\": 424,\n \"Port\": \"80\"\n },\n {\n \"Address\": \"广东省深圳市\",\n \"InsID\": \"ins-05b5fbe\",\n \"InsName\": \"内部服务\",\n \"Ip\": \"129.211.162.158\",\n \"Num\": 366,\n \"Port\": \"80\"\n },\n {\n \"Address\": \"广东省深圳市\",\n \"InsID\": \"ins-05b5fbe\",\n \"InsName\": \"内部服务\",\n \"Ip\": \"129.211.166.134\",\n \"Num\": 366,\n \"Port\": \"80\"\n },\n {\n \"Address\": \"广东省深圳市\",\n \"InsID\": \"ins-05b5fbe\",\n \"InsName\": \"内部服务\",\n \"Ip\": \"44.202.62.73\",\n \"Num\": 322,\n \"Port\": \"80\"\n }\n ],\n \"RequestId\": \"ca4f0361-bbfd-4935-bf0b-16cf161c2427\"\n }\n}",
|
546
544
|
"title": "DescribeTLogIpList告警中心IP柱形图"
|
547
545
|
}
|
548
546
|
],
|
549
547
|
"DescribeTableStatus": [
|
550
548
|
{
|
551
549
|
"document": "",
|
552
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTableStatus\n<公共请求参数>\n\n{\n \"Status\":
|
550
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTableStatus\n<公共请求参数>\n\n{\n \"Status\": 1,\n \"Direction\": 0,\n \"EdgeId\": \"edge-ppt3pi01\",\n \"Area\": \"ap-guangzhou\"\n}",
|
553
551
|
"output": "{\n \"Response\": {\n \"Status\": 0,\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
554
552
|
"title": "查询规则表状态"
|
555
553
|
}
|
@@ -557,8 +555,8 @@
|
|
557
555
|
"DescribeUnHandleEventTabList": [
|
558
556
|
{
|
559
557
|
"document": "",
|
560
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUnHandleEventTabList \n<公共请求参数>\n\n{\n \"EndTime\": \"2021-05-206 23:59:59\",\n \"StartTime\": \"2021-05-20 00:00:00\",\n \"AssetID\": \"ins-
|
561
|
-
"output": "{\n \"Response\": {\n \"Data\": {\n \"EventTableListStruct\": [\n {\n \"EventName\": \"主机失陷\",\n \"Total\": 3\n },\n {\n \"EventName\": \"安全基线(出)\",\n \"Total\": 2635\n }\n ],\n \"BaseLineUser\": 1,\n \"BaseLineInSwitch\": 1,\n \"BaseLineOutSwitch\": 1\n },\n \"RequestId\": \"
|
558
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUnHandleEventTabList \n<公共请求参数>\n\n{\n \"EndTime\": \"2021-05-206 23:59:59\",\n \"StartTime\": \"2021-05-20 00:00:00\",\n \"AssetID\": \"ins-0752de63\"\n}",
|
559
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"EventTableListStruct\": [\n {\n \"EventName\": \"主机失陷\",\n \"Total\": 3\n },\n {\n \"EventName\": \"安全基线(出)\",\n \"Total\": 2635\n }\n ],\n \"BaseLineUser\": 1,\n \"BaseLineInSwitch\": 1,\n \"BaseLineOutSwitch\": 1\n },\n \"RequestId\": \"0752de63-570c-4c2e-bbd2-78574e22a1ae\",\n \"ReturnCode\": 0,\n \"ReturnMsg\": \"sccuess\"\n }\n}",
|
562
560
|
"title": "DescribeUnHandleEventTabList"
|
563
561
|
}
|
564
562
|
],
|
@@ -566,13 +564,13 @@
|
|
566
564
|
{
|
567
565
|
"document": "查询内网间访问控制列表,其中Filters中 IpVersion为0表示查询ipv4的规则列表",
|
568
566
|
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeVpcAcRule\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"IpVersion\",\n \"Values\": [\n \"0\"\n ],\n \"OperatorType\": 1\n }\n ],\n \"Limit\": 10,\n \"Offset\": 0\n}",
|
569
|
-
"output": "{\n \"Response\": {\n \"Total\": 1,\n \"Data\": [\n {\n \"Uuid\": 221579,\n \"InternalUuid\": 1729666998976364,\n \"OrderIndex\": 1,\n \"SourceContent\": \"mb_1256532032_1666263807415\",\n \"SourceType\": \"template\",\n \"DestContent\": \"192.168.1.2\",\n \"DestType\": \"net\",\n \"Port\": \"-1/-1\",\n \"Protocol\": \"TCP\",\n \"RuleAction\": \"accept\",\n \"Description\": \"
|
567
|
+
"output": "{\n \"Response\": {\n \"Total\": 1,\n \"Data\": [\n {\n \"Uuid\": 221579,\n \"InternalUuid\": 1729666998976364,\n \"OrderIndex\": 1,\n \"SourceContent\": \"mb_1256532032_1666263807415\",\n \"SourceType\": \"template\",\n \"DestContent\": \"192.168.1.2\",\n \"DestType\": \"net\",\n \"Port\": \"-1/-1\",\n \"Protocol\": \"TCP\",\n \"RuleAction\": \"accept\",\n \"Description\": \"用于测试的规则\",\n \"Enable\": \"true\",\n \"Deleted\": 0,\n \"EdgeId\": \"ALL\",\n \"EdgeName\": \"edge名称\",\n \"DetectedTimes\": 0,\n \"FwGroupId\": \"ALL\",\n \"FwGroupName\": \"互联分组\",\n \"BetaList\": [\n {\n \"TaskId\": \"9001\",\n \"TaskName\": \"autotest\",\n \"LastTime\": \"1999-01-01 00:00:01\"\n }\n ],\n \"ParamTemplateId\": \"pp-ie03er\",\n \"ParamTemplateName\": \"常规端口模版\",\n \"TargetName\": \"模版规则\",\n \"SourceName\": \"模版规则\",\n \"IpVersion\": 0\n }\n ],\n \"RequestId\": \"9afc19d7-0036-4f3d-af1a-80088236f4ed\"\n }\n}",
|
570
568
|
"title": "查询内网间访问控制列表"
|
571
569
|
},
|
572
570
|
{
|
573
571
|
"document": "查询内网间访问控制列表,其中Filters中 IpVersion为0表示查询ipv4的规则列表,且基于源ip过滤",
|
574
572
|
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeVpcAcRule\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"SrcIP\",\n \"Values\": [\n \"192.168.1.10\"\n ],\n \"OperatorType\": 9\n },\n {\n \"Name\": \"IpVersion\",\n \"Values\": [\n \"0\"\n ],\n \"OperatorType\": 1\n }\n ],\n \"Limit\": 10,\n \"Offset\": 0\n}",
|
575
|
-
"output": "{\n \"Response\": {\n \"Total\": 1,\n \"Data\": [\n {\n \"Uuid\": 221579,\n \"InternalUuid\": 1729666998976364,\n \"OrderIndex\": 1,\n \"SourceContent\": \"mb_1256532032_1666263807415\",\n \"SourceType\": \"template\",\n \"DestContent\": \"192.168.1.2\",\n \"DestType\": \"net\",\n \"Port\": \"-1/-1\",\n \"Protocol\": \"TCP\",\n \"RuleAction\": \"accept\",\n \"Description\": \"
|
573
|
+
"output": "{\n \"Response\": {\n \"Total\": 1,\n \"Data\": [\n {\n \"Uuid\": 221579,\n \"InternalUuid\": 1729666998976364,\n \"OrderIndex\": 1,\n \"SourceContent\": \"mb_1256532032_1666263807415\",\n \"SourceType\": \"template\",\n \"DestContent\": \"192.168.1.2\",\n \"DestType\": \"net\",\n \"Port\": \"-1/-1\",\n \"Protocol\": \"TCP\",\n \"RuleAction\": \"accept\",\n \"Description\": \"用于测试的规则\",\n \"Enable\": \"true\",\n \"Deleted\": 0,\n \"EdgeId\": \"ALL\",\n \"EdgeName\": \"edge名称\",\n \"DetectedTimes\": 0,\n \"FwGroupId\": \"ALL\",\n \"FwGroupName\": \"互联分组\",\n \"BetaList\": [\n {\n \"TaskId\": \"9001\",\n \"TaskName\": \"autotest\",\n \"LastTime\": \"1999-01-01 00:00:01\"\n }\n ],\n \"ParamTemplateId\": \"pp-ie03er\",\n \"ParamTemplateName\": \"常规端口模版\",\n \"TargetName\": \"模版规则\",\n \"SourceName\": \"模版规则\",\n \"IpVersion\": 0\n }\n ],\n \"RequestId\": \"9afc19d7-0036-4f3d-af1a-80088236f4ed\"\n }\n}",
|
576
574
|
"title": "查询内网间访问控制列表示例2"
|
577
575
|
}
|
578
576
|
],
|
@@ -580,7 +578,7 @@
|
|
580
578
|
{
|
581
579
|
"document": "VPC间防火墙开关列表",
|
582
580
|
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeVpcFwGroupSwitch\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"SwitchId\",\n \"Values\": [\n \"cfws-18def16a8b\"\n ],\n \"OperatorType\": 9\n }\n ],\n \"Limit\": 10,\n \"Offset\": 1,\n \"StartTime\": \"2023-03-09 20:40:19\",\n \"EndTime\": \"2023-03-09 20:40:19\",\n \"Order\": \"desc\",\n \"By\": \"SwitchId\"\n}",
|
583
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"8894118f-9353-4579-8294-0582de7e3495\",\n \"SwitchList\": [\n {\n \"SwitchId\": \"cfwalls-1448c486f4\",\n \"SwitchName\": \"
|
581
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"8894118f-9353-4579-8294-0582de7e3495\",\n \"SwitchList\": [\n {\n \"SwitchId\": \"cfwalls-1448c486f4\",\n \"SwitchName\": \"云联网测试\",\n \"SwitchMode\": 3,\n \"ConnectType\": 0,\n \"ConnectId\": \"ccn-wxecrvtb\",\n \"ConnectName\": \"云联网1\",\n \"SrcInstancesInfo\": [\n {\n \"InstanceId\": \"vpc-dw314am3\",\n \"InstanceName\": \"冲突sdwan\",\n \"InstanceCidr\": \"10.24.0.0/16\",\n \"Region\": \"ap-nanjing\"\n }\n ],\n \"DstInstancesInfo\": [\n {\n \"InstanceId\": \"vpc-dw314am3\",\n \"InstanceName\": \"冲突sdwan\",\n \"InstanceCidr\": \"10.24.0.0/16\",\n \"Region\": \"ap-nanjing\"\n }\n ],\n \"FwGroupId\": \"cfwg-03508673\",\n \"FwGroupName\": \"生产防火墙\",\n \"FwInsLst\": [\n {\n \"FwInsId\": \"cfwew-63a110d9\",\n \"FwInsName\": \"云联网测试-南京\",\n \"FwInsRegion\": \"ap-nanjing\"\n }\n ],\n \"FwInsRegion\": [\n \"ap-nanjing\"\n ],\n \"Enable\": 1,\n \"Status\": 3,\n \"BypassStatus\": 1,\n \"AttachWithEdge\": 0,\n \"CrossEdgeStatus\": 0,\n \"IpsAction\": 0,\n \"IpVersion\": 0\n }\n ],\n \"Total\": 1\n }\n}",
|
584
582
|
"title": "VPC间防火墙开关列表"
|
585
583
|
}
|
586
584
|
],
|
@@ -601,15 +599,15 @@
|
|
601
599
|
"ModifyAcRule": [
|
602
600
|
{
|
603
601
|
"document": "",
|
604
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAcRule\n<公共请求参数>\n\n{\n \"Data\": [\n {\n \"OrderIndex\": 4,\n \"Id\": 36064,\n \"SourceIp\": \"0.0.0.0/0\",\n \"TargetIp\": \"0.0.0.0/0\",\n \"Protocol\": \"TCP\",\n \"Port\": \"-1/-1\",\n \"Strategy\": \"0\",\n \"Detail\": \"333\",\n \"IsRegion\": 0,\n \"Country\": 0,\n \"City\": 0,\n \"CloudCode\": \"\",\n \"SourceType\": 1,\n \"TargetType\": 1,\n \"Direction\": 1,\n \"CityName\": \"\",\n \"CountryName\": \"\"\n }\n ],\n \"EdgeId\": \"\",\n \"Enable\": 1,\n \"Area\": \"\"\n}",
|
605
|
-
"output": "{\n \"Response\": {\n \"Status\": 0,\n \"Info\": \"\",\n \"RequestId\": \"5cdfff8d-bd3b-4411-91be-2117d4205f0f\"\n }\n}",
|
602
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAcRule\n<公共请求参数>\n\n{\n \"Data\": [\n {\n \"OrderIndex\": 4,\n \"Id\": 36064,\n \"SourceIp\": \"0.0.0.0/0\",\n \"TargetIp\": \"0.0.0.0/0\",\n \"Protocol\": \"TCP\",\n \"Port\": \"-1/-1\",\n \"Strategy\": \"0\",\n \"Detail\": \"333\",\n \"IsRegion\": 0,\n \"Country\": 0,\n \"City\": 0,\n \"CloudCode\": \"tencent\",\n \"SourceType\": 1,\n \"TargetType\": 1,\n \"Direction\": 1,\n \"CityName\": \"chongqing\",\n \"CountryName\": \"cn\"\n }\n ],\n \"EdgeId\": \"edge-ppt3pi01\",\n \"Enable\": 1,\n \"Area\": \"ap-guangzhou\"\n}",
|
603
|
+
"output": "{\n \"Response\": {\n \"Status\": 0,\n \"Info\": \"success\",\n \"RequestId\": \"5cdfff8d-bd3b-4411-91be-2117d4205f0f\"\n }\n}",
|
606
604
|
"title": "修改规则"
|
607
605
|
}
|
608
606
|
],
|
609
607
|
"ModifyAclRule": [
|
610
608
|
{
|
611
609
|
"document": "修改互联网边界访问控制规则",
|
612
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAclRule\n<公共请求参数>\n\n{\n \"Rules\": [\n {\n \"SourceContent\": \"0.0.0.0/0\",\n \"SourceType\": \"net\",\n \"Description\": \"
|
610
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAclRule\n<公共请求参数>\n\n{\n \"Rules\": [\n {\n \"SourceContent\": \"0.0.0.0/0\",\n \"SourceType\": \"net\",\n \"Description\": \"pro\",\n \"TargetContent\": \"www.qq.com\",\n \"TargetType\": \"domain\",\n \"Protocol\": \"HTTPS\",\n \"RuleAction\": \"accept\",\n \"Port\": \"-1/-1\",\n \"Direction\": 0,\n \"OrderIndex\": 1,\n \"Scope\": \"serial\",\n \"RuleSource\": 0,\n \"Uuid\": 148195,\n \"Enable\": \"true\"\n }\n ]\n}",
|
613
611
|
"output": "{\n \"Response\": {\n \"RuleUuid\": [\n 148195\n ],\n \"RequestId\": \"3cfe92c5-da49-411e-9254-559a295471e9\"\n }\n}",
|
614
612
|
"title": "修改互联网边界访问控制规则"
|
615
613
|
}
|
@@ -617,7 +615,7 @@
|
|
617
615
|
"ModifyAddressTemplate": [
|
618
616
|
{
|
619
617
|
"document": "",
|
620
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAddressTemplate\n<公共请求参数>\n\n{\n \"Name\": \"
|
618
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAddressTemplate\n<公共请求参数>\n\n{\n \"Name\": \"放通ip\",\n \"Detail\": \"放通ip\",\n \"IpString\": \"1.1.1.1\",\n \"Type\": 1,\n \"ProtocolType\": \"4\",\n \"Uuid\": \"mb_appid_1708504391199\"\n}",
|
621
619
|
"output": "{\n \"Response\": {\n \"Status\": 0,\n \"Uuid\": \"mb_appid_1708504391199\",\n \"RequestId\": \"RequestId\"\n }\n}",
|
622
620
|
"title": "修改地址模板"
|
623
621
|
}
|
@@ -625,7 +623,7 @@
|
|
625
623
|
"ModifyAllPublicIPSwitchStatus": [
|
626
624
|
{
|
627
625
|
"document": "",
|
628
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAllPublicIPSwitchStatus\n<公共请求参数>\n\n{\n \"Status\": 0,\n \"FireWallPublicIPs\": [\n \"
|
626
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAllPublicIPSwitchStatus\n<公共请求参数>\n\n{\n \"Status\": 0,\n \"FireWallPublicIPs\": [\n \"121.132.0.1\"\n ]\n}",
|
629
627
|
"output": "{\n \"Response\": {\n \"ReturnCode\": 0,\n \"ReturnMsg\": \"success\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
630
628
|
"title": "互联网边界防火墙一键开关"
|
631
629
|
}
|
@@ -633,7 +631,7 @@
|
|
633
631
|
"ModifyAllRuleStatus": [
|
634
632
|
{
|
635
633
|
"document": "",
|
636
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAllRuleStatus\n<公共请求参数>\n\n{\n \"EdgeId\": \"\",\n \"Status\": 1,\n \"Direction\": 1,\n \"Area\": \"\"\n}",
|
634
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAllRuleStatus\n<公共请求参数>\n\n{\n \"EdgeId\": \"edge-ppt3pi01\",\n \"Status\": 1,\n \"Direction\": 1,\n \"Area\": \"ap-guangzhou\"\n}",
|
637
635
|
"output": "{\n \"Response\": {\n \"Status\": 0,\n \"RequestId\": \"b21d7f7c-3191-41a2-bd13-9a5f6d86ab44\"\n }\n}",
|
638
636
|
"title": "启用停用全部规则"
|
639
637
|
}
|
@@ -665,7 +663,7 @@
|
|
665
663
|
"ModifyBlockIgnoreList": [
|
666
664
|
{
|
667
665
|
"document": "支持对封禁列表、放通列表如下操作: 批量增加封禁IP、放通IP/域名 批量删除封禁IP、放通IP/域名 批量修改封禁IP、放通IP/域名生效事件",
|
668
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyBlockIgnoreList\n<公共请求参数>\n\n{\n \"IOC\": [\n {\n \"IP\": \"192.168.1.1\",\n \"Direction\": 1,\n \"Domain\": \"\"\n }\n ],\n \"RuleType\": 1,\n \"IocAction\": \"add\",\n \"StartTime\": \"2021-04-16 18:01:09\",\n \"EndTime\": \"3000-01-01 00:00:00\"\n}",
|
666
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyBlockIgnoreList\n<公共请求参数>\n\n{\n \"IOC\": [\n {\n \"IP\": \"192.168.1.1\",\n \"Direction\": 1,\n \"Domain\": \"www.domain.com\"\n }\n ],\n \"RuleType\": 1,\n \"IocAction\": \"add\",\n \"StartTime\": \"2021-04-16 18:01:09\",\n \"EndTime\": \"3000-01-01 00:00:00\"\n}",
|
669
667
|
"output": "{\n \"Response\": {\n \"ReturnCode\": 0,\n \"ReturnMsg\": \"success\",\n \"RequestId\": \"cd0e1fdf-157d-438c-9bc8-75925e5d4e20\"\n }\n}",
|
670
668
|
"title": "入侵防御-封禁列表/放通列表-增删改接口"
|
671
669
|
}
|
@@ -673,40 +671,40 @@
|
|
673
671
|
"ModifyBlockIgnoreRule": [
|
674
672
|
{
|
675
673
|
"document": "空值返回",
|
676
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyBlockIgnoreRule\n<公共请求参数>\n\n{\n \"Rule\": {\n \"IP\": \"1.1.1.1\",\n \"Domain\": \"\",\n \"Direction\": 0,\n \"EndTime\": \"2025-01-01 00:00:00\",\n \"Comment\": \"阻断访问\",\n \"StartTime\": \"2024-01-01 00:00:00\"\n },\n \"RuleType\": 0\n}",
|
677
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"\"\n }\n}",
|
674
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyBlockIgnoreRule\n<公共请求参数>\n\n{\n \"Rule\": {\n \"IP\": \"1.1.1.1\",\n \"Domain\": \"www.domain.com\",\n \"Direction\": 0,\n \"EndTime\": \"2025-01-01 00:00:00\",\n \"Comment\": \"阻断访问\",\n \"StartTime\": \"2024-01-01 00:00:00\"\n },\n \"RuleType\": 0\n}",
|
675
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"3c442984-c832-43d0-b687-664845ee31b0\"\n }\n}",
|
678
676
|
"title": "空值返回"
|
679
677
|
}
|
680
678
|
],
|
681
679
|
"ModifyBlockIgnoreRuleNew": [
|
682
680
|
{
|
683
|
-
"document": "
|
684
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyBlockIgnoreRuleNew\n<公共请求参数>\n\n{\n \"Rule\": {\n \"
|
685
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
686
|
-
"title": "
|
681
|
+
"document": "编辑单条入侵防御封禁列表、放通列表规则(新)",
|
682
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyBlockIgnoreRuleNew\n<公共请求参数>\n\n{\n \"Rule\": {\n \"Comment\": \"放通IP\",\n \"DirectionList\": \"1\",\n \"EndTime\": \"2024-11-02 18:44:21\",\n \"Ioc\": \"80.94.95.81\"\n },\n \"RuleType\": 1\n}",
|
683
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"scc.alert.aiDisposal-GeMvNInoyVWx\"\n }\n}",
|
684
|
+
"title": "编辑单条入侵防御封禁列表、放通列表规则(新)"
|
687
685
|
}
|
688
686
|
],
|
689
687
|
"ModifyBlockTop": [
|
690
688
|
{
|
691
|
-
"document": "",
|
692
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyBlockTop\n<公共请求参数>\n\n{\n \"OpeType\": \"
|
693
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
694
|
-
"title": "取消置顶接口"
|
689
|
+
"document": "ModifyBlockTop取消置顶接口",
|
690
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyBlockTop\n<公共请求参数>\n\n{\n \"OpeType\": \"2\",\n \"UniqueId\": \"dsahjd********\"\n}",
|
691
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"3a822d02-e5f0-4a87-9b77-f3da6912fea1\"\n }\n}",
|
692
|
+
"title": "ModifyBlockTop取消置顶接口"
|
695
693
|
}
|
696
694
|
],
|
697
695
|
"ModifyEWRuleStatus": [
|
698
696
|
{
|
699
697
|
"document": "启用停用VPC间规则或Nat边界规则",
|
700
698
|
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyEWRuleStatus\n<公共请求参数>\n\n{\n \"RuleSequence\": 5,\n \"Direction\": 1,\n \"Status\": 1,\n \"RuleType\": \"vpc\",\n \"EdgeId\": \"EdgeId\"\n}",
|
701
|
-
"output": "{\n \"Response\": {\n \"ReturnMsg\": \"
|
699
|
+
"output": "{\n \"Response\": {\n \"ReturnMsg\": \"success\",\n \"ReturnCode\": 0,\n \"RequestId\": \"9a86c4e3-b926-4244-919b-aba9a7e82686\"\n }\n}",
|
702
700
|
"title": "启用停用VPC间规则或Nat边界规则"
|
703
701
|
}
|
704
702
|
],
|
705
703
|
"ModifyEdgeIpSwitch": [
|
706
704
|
{
|
707
705
|
"document": "修改边界防火墙开关(旁路、串行)",
|
708
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyEdgeIpSwitch\n<公共请求参数>\n\n{\n \"Enable\": 1,\n \"EdgeIpSwitchLst\": [\n {\n \"PublicIp\": \"1.1.1.1\",\n \"SubnetId\": \"subnet-11111111\",\n \"EndpointIp\": \"\",\n \"SwitchMode\":
|
709
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
706
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyEdgeIpSwitch\n<公共请求参数>\n\n{\n \"Enable\": 1,\n \"EdgeIpSwitchLst\": [\n {\n \"PublicIp\": \"1.1.1.1\",\n \"SubnetId\": \"subnet-11111111\",\n \"EndpointIp\": \"1.1.1.2\",\n \"SwitchMode\": 1\n }\n ]\n}",
|
707
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"QZWXECRVTBYN\"\n }\n}",
|
710
708
|
"title": "修改边界防火墙开关(旁路、串行)"
|
711
709
|
}
|
712
710
|
],
|
@@ -721,7 +719,7 @@
|
|
721
719
|
"ModifyEnterpriseSecurityGroupRule": [
|
722
720
|
{
|
723
721
|
"document": "编辑新企业安全组规则",
|
724
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyEnterpriseSecurityGroupRule\n<公共请求参数>\n\n{\n \"RuleUuid\": 1,\n \"Data\": {\n \"OrderIndex\": \"1\",\n \"Protocol\": \"TCP\",\n \"SourceType\": \"net\",\n \"SourceContent\": \"192.168.0.2\",\n \"DestType\": \"net\",\n \"ServiceTemplateId\": \"\",\n \"DestContent\": \"192.168.0.3\",\n \"RuleAction\": \"accept\",\n \"Port\": \"80\",\n \"Description\": \"放行规则\"\n },\n \"ModifyType\": 0\n}",
|
722
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyEnterpriseSecurityGroupRule\n<公共请求参数>\n\n{\n \"RuleUuid\": 1,\n \"Data\": {\n \"OrderIndex\": \"1\",\n \"Protocol\": \"TCP\",\n \"SourceType\": \"net\",\n \"SourceContent\": \"192.168.0.2\",\n \"DestType\": \"net\",\n \"ServiceTemplateId\": \"ppm-1ak9u5\",\n \"DestContent\": \"192.168.0.3\",\n \"RuleAction\": \"accept\",\n \"Port\": \"80\",\n \"Description\": \"放行规则\"\n },\n \"ModifyType\": 0\n}",
|
725
723
|
"output": "{\n \"Response\": {\n \"RequestId\": \"8f563b4d-8151-4db0-a822-9bde279d2079\",\n \"Status\": 0,\n \"NewRuleUuid\": 3\n }\n}",
|
726
724
|
"title": "编辑新企业安全组规则"
|
727
725
|
}
|
@@ -729,7 +727,7 @@
|
|
729
727
|
"ModifyFwGroupSwitch": [
|
730
728
|
{
|
731
729
|
"document": "修改防火墙组开关状态",
|
732
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyFwGroupSwitch\n<公共请求参数>\n\n{\n \"Enable\": 0,\n \"SwitchList\": [\n {\n \"SwitchMode\": 1,\n \"SwitchId\": \"cfws-
|
730
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyFwGroupSwitch\n<公共请求参数>\n\n{\n \"Enable\": 0,\n \"SwitchList\": [\n {\n \"SwitchMode\": 1,\n \"SwitchId\": \"cfws-wxecrvtb\"\n }\n ],\n \"AllSwitch\": 0\n}",
|
733
731
|
"output": "{\n \"Response\": {\n \"RequestId\": \"0752de63-570c-4c2e-bbd2-78574e22a1ae\"\n }\n}",
|
734
732
|
"title": "修改防火墙组开关状态"
|
735
733
|
}
|
@@ -737,7 +735,7 @@
|
|
737
735
|
"ModifyNatAcRule": [
|
738
736
|
{
|
739
737
|
"document": "修改NAT访问控制规则",
|
740
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyNatAcRule\n<公共请求参数>\n\n{\n \"Rules\": [\n {\n \"SourceContent\": \"0.0.0.0/0\",\n \"SourceType\": \"net\",\n \"TargetContent\": \"www.qq.com\",\n \"TargetType\": \"domain\",\n \"Protocol\": \"HTTP\",\n \"RuleAction\": \"accept\",\n \"Port\": \"-1/-1\",\n \"Direction\": 0,\n \"OrderIndex\": 1,\n \"Uuid\": 242218,\n \"Enable\": \"true\",\n \"Description\": \"
|
738
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyNatAcRule\n<公共请求参数>\n\n{\n \"Rules\": [\n {\n \"SourceContent\": \"0.0.0.0/0\",\n \"SourceType\": \"net\",\n \"TargetContent\": \"www.qq.com\",\n \"TargetType\": \"domain\",\n \"Protocol\": \"HTTP\",\n \"RuleAction\": \"accept\",\n \"Port\": \"-1/-1\",\n \"Direction\": 0,\n \"OrderIndex\": 1,\n \"Uuid\": 242218,\n \"Enable\": \"true\",\n \"Description\": \"pro-env\",\n \"Scope\": \"ap-shanghai\"\n }\n ]\n}",
|
741
739
|
"output": "{\n \"Response\": {\n \"RuleUuid\": [\n 242218\n ],\n \"RequestId\": \"fe7ca910-fcc9-4b58-b2a9-49a0d3ccd04c\"\n }\n}",
|
742
740
|
"title": "修改NAT访问控制规则"
|
743
741
|
}
|
@@ -781,7 +779,7 @@
|
|
781
779
|
"ModifyNatInstance": [
|
782
780
|
{
|
783
781
|
"document": "请求示例",
|
784
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyNatInstance\n<公共请求参数>\n\n{\n \"InstanceName\": \"
|
782
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyNatInstance\n<公共请求参数>\n\n{\n \"InstanceName\": \"NAT防火墙\",\n \"NatInstanceId\": \"cfwnat-f0f1c7c0\"\n}",
|
785
783
|
"output": "{\n \"Response\": {\n \"NatInstanceId\": \"cfwnat-f0f1c7c0\",\n \"RequestId\": \"2cc7814e-fb74-479b-8995-41eb3b712930\",\n \"Status\": 0\n }\n}",
|
786
784
|
"title": "请求示例"
|
787
785
|
}
|
@@ -789,15 +787,15 @@
|
|
789
787
|
"ModifyNatSequenceRules": [
|
790
788
|
{
|
791
789
|
"document": "NAT防火墙规则快速排序",
|
792
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyNatSequenceRules\n<公共请求参数>\n\n{\n \"RuleChangeItems\": [\n {\n \"OrderIndex\":
|
793
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
790
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyNatSequenceRules\n<公共请求参数>\n\n{\n \"RuleChangeItems\": [\n {\n \"OrderIndex\": 1,\n \"NewOrderIndex\": 2\n },\n {\n \"OrderIndex\": 2,\n \"NewOrderIndex\": 1\n }\n ],\n \"Direction\": 1\n}",
|
791
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"985187d2-9a80-4ee7-b519-ad48e75f6588\"\n }\n}",
|
794
792
|
"title": "NAT防火墙规则快速排序"
|
795
793
|
}
|
796
794
|
],
|
797
795
|
"ModifyResourceGroup": [
|
798
796
|
{
|
799
797
|
"document": "",
|
800
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyResourceGroup\n<公共请求参数>\n\n{\n \"ParentId\": \"cfwrg-
|
798
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyResourceGroup\n<公共请求参数>\n\n{\n \"ParentId\": \"cfwrg-masternode\",\n \"GroupName\": \"资产分组\",\n \"GroupId\": \"cfwrg-8c8********569270\"\n}",
|
801
799
|
"output": "{\n \"Response\": {\n \"RequestId\": \"8be5cf7c-c43b-4025-9f0a-e4b5936c99ea\"\n }\n}",
|
802
800
|
"title": "资产中心资产组信息修改"
|
803
801
|
}
|
@@ -814,15 +812,15 @@
|
|
814
812
|
{
|
815
813
|
"document": "启用停用单条企业安全组规则",
|
816
814
|
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySecurityGroupItemRuleStatus\n<公共请求参数>\n\n{\n \"RuleSequence\": 5,\n \"Direction\": 1,\n \"Status\": 1\n}",
|
817
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"\",\n \"Status\": 0\n }\n}",
|
815
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"3b630f97-fcd6-43fa-b141-4f0be018bdb2\",\n \"Status\": 0\n }\n}",
|
818
816
|
"title": "启用停用单条企业安全组规则"
|
819
817
|
}
|
820
818
|
],
|
821
819
|
"ModifySecurityGroupRule": [
|
822
820
|
{
|
823
821
|
"document": "编辑单条安全组规则",
|
824
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySecurityGroupRule\n<公共请求参数>\n\n{\n \"
|
825
|
-
"output": "{\n \"Response\": {\n \"
|
822
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySecurityGroupRule\n<公共请求参数>\n\n{\n \"Data\": [\n {\n \"BothWay\": 0,\n \"Detail\": \"ignore 88.88.88.88\",\n \"OrderIndex\": 1,\n \"Port\": \"-1/-1\",\n \"Protocol\": \"ANY\",\n \"SourceId\": \"88.88.88.88\",\n \"SourceType\": 0,\n \"Strategy\": 2,\n \"TargetId\": \"0.0.0.0/0\",\n \"TargetType\": 9\n }\n ],\n \"Direction\": 1,\n \"Enable\": 1,\n \"SgRuleOriginSequence\": 1\n}",
|
823
|
+
"output": "{\n \"Response\": {\n \"NewRuleId\": 51733,\n \"RequestId\": \"c2baae07-ec29-445c-992f-a30ff49b64ba\",\n \"Status\": 0\n }\n}",
|
826
824
|
"title": "编辑单条安全组规则"
|
827
825
|
}
|
828
826
|
],
|
@@ -836,7 +834,7 @@
|
|
836
834
|
],
|
837
835
|
"ModifySequenceAclRules": [
|
838
836
|
{
|
839
|
-
"document": "
|
837
|
+
"document": "互联网边界规则快速排序,Direction字段表示为出向或入向规则",
|
840
838
|
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySequenceAclRules\n<公共请求参数>\n\n{\n \"RuleChangeItems\": [\n {\n \"OrderIndex\": 2,\n \"NewOrderIndex\": 1\n },\n {\n \"OrderIndex\": 1,\n \"NewOrderIndex\": 2\n }\n ],\n \"Direction\": 0\n}",
|
841
839
|
"output": "{\n \"Response\": {\n \"RequestId\": \"b02e2d2c-ce3c-425a-bcc1-cfc6b454162c\"\n }\n}",
|
842
840
|
"title": "互联网边界规则快速排序"
|
@@ -844,8 +842,8 @@
|
|
844
842
|
],
|
845
843
|
"ModifySequenceRules": [
|
846
844
|
{
|
847
|
-
"document": "",
|
848
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySequenceRules\n<公共请求参数>\n\n{\n \"Data\": [\n {\n \"Id\": 36114,\n \"OrderIndex\": 8,\n \"NewOrderIndex\": 7\n },\n {\n \"Id\": 36068,\n \"OrderIndex\": 7,\n \"NewOrderIndex\": 8\n }\n ],\n \"EdgeId\": \"\",\n \"Direction\": 1,\n \"Area\": \"\"\n}",
|
845
|
+
"document": "修改规则执行顺序",
|
846
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySequenceRules\n<公共请求参数>\n\n{\n \"Data\": [\n {\n \"Id\": 36114,\n \"OrderIndex\": 8,\n \"NewOrderIndex\": 7\n },\n {\n \"Id\": 36068,\n \"OrderIndex\": 7,\n \"NewOrderIndex\": 8\n }\n ],\n \"EdgeId\": \"edge-ppt3pi01\",\n \"Direction\": 1,\n \"Area\": \"ap-guangzhou\"\n}",
|
849
847
|
"output": "{\n \"Response\": {\n \"Status\": 0,\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
850
848
|
"title": "修改规则执行顺序"
|
851
849
|
}
|
@@ -861,7 +859,7 @@
|
|
861
859
|
"ModifyTableStatus": [
|
862
860
|
{
|
863
861
|
"document": "",
|
864
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyTableStatus\n<公共请求参数>\n\n{\n \"EdgeId\": \"\",\n \"Area\": \"\",\n \"Status\": 2,\n \"Direction\": 1\n}",
|
862
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyTableStatus\n<公共请求参数>\n\n{\n \"EdgeId\": \"edge-ppt3pi01\",\n \"Area\": \"ap-guangzhou\",\n \"Status\": 2,\n \"Direction\": 1\n}",
|
865
863
|
"output": "{\n \"Response\": {\n \"Status\": 0,\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
866
864
|
"title": "修改规则表状态"
|
867
865
|
}
|
@@ -870,14 +868,14 @@
|
|
870
868
|
{
|
871
869
|
"document": "修改内网间访问控制规则",
|
872
870
|
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyVpcAcRule\n<公共请求参数>\n\n{\n \"Rules\": [\n {\n \"OrderIndex\": \"1\",\n \"Description\": \"api test3\",\n \"SourceType\": \"net\",\n \"SourceContent\": \"0.0.0.0/0\",\n \"DestType\": \"net\",\n \"DestContent\": \"192.168.5.0/24\",\n \"Enable\": \"true\",\n \"RuleAction\": \"drop\",\n \"Uuid\": 0,\n \"Port\": \"-1/-1\",\n \"Protocol\": \"ANY\",\n \"EdgeId\": \"All\"\n }\n ]\n}",
|
873
|
-
"output": "{\n \"Response\": {\n \"RuleUuids\": [\n 8888
|
871
|
+
"output": "{\n \"Response\": {\n \"RuleUuids\": [\n 8888\n ],\n \"RequestId\": \"9a86c4e3-b926-4244-919b-aba9a7e82686\"\n }\n}",
|
874
872
|
"title": "修改内网间访问控制规则"
|
875
873
|
}
|
876
874
|
],
|
877
875
|
"ModifyVpcFwGroup": [
|
878
876
|
{
|
879
877
|
"document": "编辑VPC间防火墙(防火墙组)",
|
880
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyVpcFwGroup\n<公共请求参数>\n\n{\n \"FwGroupId\": \"cfwg-4e14ec17\",\n \"Name\": \"防火墙(组)第三个实例\",\n \"VpcFwInstances\": [\n {\n \"FwInsId\": \"cfwew-ace94947\",\n \"Name\": \"防火墙(组)
|
878
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyVpcFwGroup\n<公共请求参数>\n\n{\n \"FwGroupId\": \"cfwg-4e14ec17\",\n \"Name\": \"防火墙(组)第三个实例\",\n \"VpcFwInstances\": [\n {\n \"FwInsId\": \"cfwew-ace94947\",\n \"Name\": \"防火墙(组)第三个实例\",\n \"VpcIds\": [\n \"vpc-39sc6ru5\"\n ],\n \"FwDeploy\": {\n \"DeployRegion\": \"ap-guangzhou\",\n \"Width\": 1024,\n \"CrossAZone\": 1,\n \"Zone\": \"ap-guangzhou-1\",\n \"ZoneBak\": \"ap-guangzhou-2\",\n \"CdcId\": \"cluster-0752de63\"\n }\n }\n ],\n \"FwCidrInfo\": {\n \"FwCidrType\": \"Custom\",\n \"FwCidrLst\": [\n {\n \"VpcId\": \"vpc-39sc6ru5\",\n \"FwCidr\": \"192.168.1.0/24\"\n }\n ],\n \"ComFwCidr\": \"192.168.2.0/24\"\n }\n}",
|
881
879
|
"output": "{\n \"Response\": {\n \"RequestId\": \"570c7dee-1fb5-450e-b5c1-178ac7fe93e8\"\n }\n}",
|
882
880
|
"title": "编辑VPC间防火墙(防火墙组)"
|
883
881
|
}
|
@@ -885,7 +883,7 @@
|
|
885
883
|
"ModifyVpcFwSequenceRules": [
|
886
884
|
{
|
887
885
|
"document": "vpc间规则快速排序示例",
|
888
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyVpcFwSequenceRules\n<公共请求参数>\n\n{\n \"RuleChangeItems\": [\n {\n \"OrderIndex\":
|
886
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyVpcFwSequenceRules\n<公共请求参数>\n\n{\n \"RuleChangeItems\": [\n {\n \"OrderIndex\": 2,\n \"NewOrderIndex\": 1\n },\n {\n \"OrderIndex\": 1,\n \"NewOrderIndex\": 2\n }\n ]\n}",
|
889
887
|
"output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
890
888
|
"title": "vpc间规则快速排序"
|
891
889
|
}
|
@@ -933,7 +931,7 @@
|
|
933
931
|
"SetNatFwDnatRule": [
|
934
932
|
{
|
935
933
|
"document": "",
|
936
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SetNatFwDnatRule\n<公共请求参数>\n\n{\n \"Mode\": 1,\n \"CfwInstance\": \"cfwnat-d2afc817\",\n \"OperationType\": \"add\",\n \"AddOrDelDnatRules\": [\n {\n \"IpProtocol\": \"TCP\",\n \"PublicIpAddress\": \"119.45.163.54\",\n \"PublicPort\": 80,\n \"PrivateIpAddress\": \"10.206.22.4\",\n \"PrivatePort\": 80,\n \"Description\": \"
|
934
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SetNatFwDnatRule\n<公共请求参数>\n\n{\n \"Mode\": 1,\n \"CfwInstance\": \"cfwnat-d2afc817\",\n \"OperationType\": \"add\",\n \"AddOrDelDnatRules\": [\n {\n \"IpProtocol\": \"TCP\",\n \"PublicIpAddress\": \"119.45.163.54\",\n \"PublicPort\": 80,\n \"PrivateIpAddress\": \"10.206.22.4\",\n \"PrivatePort\": 80,\n \"Description\": \"自定义描述\"\n }\n ]\n}",
|
937
935
|
"output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
938
936
|
"title": "配置防火墙Dnat规则"
|
939
937
|
}
|