tccli 3.0.1240.1__py2.py3-none-any.whl → 3.0.1242.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/services/apm/v20210622/api.json +276 -279
- tccli/services/apm/v20210622/examples.json +30 -30
- tccli/services/autoscaling/v20180419/api.json +12 -1
- tccli/services/batch/v20170312/api.json +11 -11
- tccli/services/bh/v20230418/api.json +9 -0
- tccli/services/bh/v20230418/examples.json +2 -2
- tccli/services/billing/v20180709/api.json +20 -0
- tccli/services/cam/v20190116/api.json +1 -1
- tccli/services/car/v20220110/api.json +1 -1
- tccli/services/car/v20220110/examples.json +3 -3
- tccli/services/cdb/v20170320/api.json +582 -579
- tccli/services/cdb/v20170320/examples.json +9 -9
- tccli/services/cdwdoris/v20211228/api.json +40 -0
- tccli/services/cfg/v20210820/api.json +11 -0
- tccli/services/cfs/v20190719/api.json +20 -20
- tccli/services/cfs/v20190719/examples.json +5 -5
- tccli/services/chdfs/v20201112/api.json +10 -10
- tccli/services/chdfs/v20201112/examples.json +1 -1
- tccli/services/ckafka/v20190819/api.json +27 -0
- tccli/services/clb/v20180317/api.json +84 -64
- tccli/services/cls/cls_client.py +220 -8
- tccli/services/cls/v20201016/api.json +418 -40
- tccli/services/cls/v20201016/examples.json +89 -45
- tccli/services/cmq/v20190304/api.json +77 -77
- tccli/services/cvm/cvm_client.py +60 -325
- tccli/services/cvm/v20170312/api.json +618 -1401
- tccli/services/cvm/v20170312/examples.json +8 -48
- tccli/services/cwp/cwp_client.py +0 -53
- tccli/services/cwp/v20180228/api.json +3 -37
- tccli/services/cwp/v20180228/examples.json +2 -10
- tccli/services/cynosdb/v20190107/api.json +470 -476
- tccli/services/cynosdb/v20190107/examples.json +23 -23
- tccli/services/dbbrain/v20191016/api.json +16 -4
- tccli/services/dbbrain/v20191016/examples.json +5 -5
- tccli/services/dbbrain/v20210527/api.json +45 -45
- tccli/services/dbbrain/v20210527/examples.json +8 -8
- tccli/services/dnspod/v20210323/api.json +173 -119
- tccli/services/dnspod/v20210323/examples.json +18 -18
- tccli/services/dts/v20180330/api.json +30 -30
- tccli/services/dts/v20180330/examples.json +4 -4
- tccli/services/dts/v20211206/api.json +19 -9
- tccli/services/dts/v20211206/examples.json +5 -5
- tccli/services/ecm/v20190719/api.json +55 -48
- tccli/services/ecm/v20190719/examples.json +7 -7
- tccli/services/emr/emr_client.py +493 -16
- tccli/services/emr/v20190103/api.json +1323 -246
- tccli/services/emr/v20190103/examples.json +72 -0
- tccli/services/ess/v20201111/api.json +29 -11
- tccli/services/ess/v20201111/examples.json +6 -0
- tccli/services/essbasic/v20210526/api.json +89 -2
- tccli/services/essbasic/v20210526/examples.json +12 -0
- tccli/services/faceid/v20180301/api.json +3 -3
- tccli/services/gaap/v20180529/api.json +194 -196
- tccli/services/gaap/v20180529/examples.json +31 -37
- tccli/services/goosefs/v20220519/api.json +17 -17
- tccli/services/goosefs/v20220519/examples.json +4 -4
- tccli/services/gs/v20191118/api.json +3 -3
- tccli/services/gs/v20191118/examples.json +3 -3
- tccli/services/iai/iai_client.py +53 -0
- tccli/services/iai/v20200303/api.json +80 -0
- tccli/services/iai/v20200303/examples.json +14 -0
- tccli/services/iotexplorer/v20190423/api.json +10 -0
- tccli/services/iotvideoindustry/v20201201/api.json +84 -84
- tccli/services/iotvideoindustry/v20201201/examples.json +29 -29
- tccli/services/keewidb/v20220308/api.json +188 -190
- tccli/services/live/v20180801/api.json +324 -223
- tccli/services/live/v20180801/examples.json +79 -79
- tccli/services/mna/v20210119/api.json +52 -49
- tccli/services/mna/v20210119/examples.json +49 -49
- tccli/services/mps/v20190612/api.json +49 -0
- tccli/services/oceanus/v20190422/api.json +407 -39
- tccli/services/oceanus/v20190422/examples.json +1 -1
- tccli/services/ocr/ocr_client.py +110 -4
- tccli/services/ocr/v20181119/api.json +410 -6
- tccli/services/ocr/v20181119/examples.json +18 -2
- tccli/services/pts/v20210728/api.json +1 -1
- tccli/services/pts/v20210728/examples.json +1 -1
- tccli/services/sqlserver/v20180328/api.json +273 -144
- tccli/services/sqlserver/v20180328/examples.json +2 -2
- tccli/services/ssl/v20191205/api.json +829 -829
- tccli/services/ssl/v20191205/examples.json +14 -14
- tccli/services/tbaas/v20180416/api.json +127 -88
- tccli/services/tbaas/v20180416/examples.json +9 -9
- tccli/services/tcb/v20180608/api.json +229 -189
- tccli/services/tcb/v20180608/examples.json +23 -23
- tccli/services/tcm/v20210413/api.json +6 -6
- tccli/services/tcm/v20210413/examples.json +3 -3
- tccli/services/tcr/v20190924/api.json +25 -20
- tccli/services/tcr/v20190924/examples.json +4 -4
- tccli/services/tdmq/tdmq_client.py +167 -8
- tccli/services/tdmq/v20200217/api.json +325 -0
- tccli/services/tdmq/v20200217/examples.json +24 -0
- tccli/services/tem/v20210701/api.json +439 -280
- tccli/services/tem/v20210701/examples.json +39 -39
- tccli/services/teo/v20220901/api.json +2 -2
- tccli/services/teo/v20220901/examples.json +3 -3
- tccli/services/thpc/v20211109/api.json +46 -58
- tccli/services/thpc/v20211109/examples.json +2 -2
- tccli/services/thpc/v20220401/api.json +168 -181
- tccli/services/thpc/v20220401/examples.json +1 -1
- tccli/services/thpc/v20230321/api.json +99 -102
- tccli/services/thpc/v20230321/examples.json +3 -3
- tccli/services/tke/v20180525/api.json +50 -39
- tccli/services/tke/v20180525/examples.json +51 -21
- tccli/services/tke/v20220501/api.json +146 -97
- tccli/services/tke/v20220501/examples.json +15 -21
- tccli/services/trocket/trocket_client.py +53 -0
- tccli/services/trocket/v20230308/api.json +219 -0
- tccli/services/trocket/v20230308/examples.json +8 -0
- tccli/services/trro/v20220325/api.json +27 -27
- tccli/services/trro/v20220325/examples.json +1 -1
- tccli/services/trtc/v20190722/api.json +31 -20
- tccli/services/trtc/v20190722/examples.json +11 -11
- tccli/services/tse/v20201207/api.json +187 -122
- tccli/services/tse/v20201207/examples.json +36 -36
- tccli/services/tsf/v20180326/api.json +448 -434
- tccli/services/tsf/v20180326/examples.json +122 -122
- tccli/services/tts/v20190823/api.json +1 -1
- tccli/services/vpc/v20170312/api.json +582 -291
- tccli/services/vpc/v20170312/examples.json +75 -27
- tccli/services/vpc/vpc_client.py +159 -0
- tccli/services/waf/v20180125/api.json +305 -6
- tccli/services/waf/v20180125/examples.json +25 -1
- tccli/services/waf/waf_client.py +163 -4
- {tccli-3.0.1240.1.dist-info → tccli-3.0.1242.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1240.1.dist-info → tccli-3.0.1242.1.dist-info}/RECORD +130 -130
- {tccli-3.0.1240.1.dist-info → tccli-3.0.1242.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1240.1.dist-info → tccli-3.0.1242.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1240.1.dist-info → tccli-3.0.1242.1.dist-info}/license_files/LICENSE +0 -0
@@ -70,6 +70,13 @@
|
|
70
70
|
"output": "CreateAccessExportResponse",
|
71
71
|
"status": "online"
|
72
72
|
},
|
73
|
+
"CreateAreaBanRule": {
|
74
|
+
"document": "添加(编辑)地域封禁中的地域信息",
|
75
|
+
"input": "CreateAreaBanRuleRequest",
|
76
|
+
"name": "添加地域封禁规则",
|
77
|
+
"output": "CreateAreaBanRuleResponse",
|
78
|
+
"status": "online"
|
79
|
+
},
|
73
80
|
"CreateDeals": {
|
74
81
|
"document": "计费资源购买、续费下单接口",
|
75
82
|
"input": "CreateDealsRequest",
|
@@ -252,6 +259,13 @@
|
|
252
259
|
"output": "DescribeAreaBanAreasResponse",
|
253
260
|
"status": "online"
|
254
261
|
},
|
262
|
+
"DescribeAreaBanRule": {
|
263
|
+
"document": "获取地域封禁规则配置",
|
264
|
+
"input": "DescribeAreaBanRuleRequest",
|
265
|
+
"name": "获取地域封禁规则",
|
266
|
+
"output": "DescribeAreaBanRuleResponse",
|
267
|
+
"status": "online"
|
268
|
+
},
|
255
269
|
"DescribeAreaBanSupportAreas": {
|
256
270
|
"document": "获取WAF地域封禁支持的地域列表",
|
257
271
|
"input": "DescribeAreaBanSupportAreasRequest",
|
@@ -610,11 +624,11 @@
|
|
610
624
|
"status": "online"
|
611
625
|
},
|
612
626
|
"DescribeWafAutoDenyStatus": {
|
613
|
-
"document": "描述WAF自动封禁模块详情",
|
627
|
+
"document": "废弃接口\n\n描述WAF自动封禁模块详情",
|
614
628
|
"input": "DescribeWafAutoDenyStatusRequest",
|
615
629
|
"name": "描述WAF自动封禁模块详情",
|
616
630
|
"output": "DescribeWafAutoDenyStatusResponse",
|
617
|
-
"status": "
|
631
|
+
"status": "deprecated"
|
618
632
|
},
|
619
633
|
"DescribeWafThreatenIntelligence": {
|
620
634
|
"document": "描述WAF威胁情报封禁模块配置详情",
|
@@ -728,6 +742,13 @@
|
|
728
742
|
"output": "ModifyAreaBanAreasResponse",
|
729
743
|
"status": "online"
|
730
744
|
},
|
745
|
+
"ModifyAreaBanRule": {
|
746
|
+
"document": "添加(编辑)地域封禁中的地域信息",
|
747
|
+
"input": "ModifyAreaBanRuleRequest",
|
748
|
+
"name": "编辑地域封禁规则",
|
749
|
+
"output": "ModifyAreaBanRuleResponse",
|
750
|
+
"status": "online"
|
751
|
+
},
|
731
752
|
"ModifyAreaBanStatus": {
|
732
753
|
"document": "修改防护域名的地域封禁状态",
|
733
754
|
"input": "ModifyAreaBanStatusRequest",
|
@@ -890,9 +911,9 @@
|
|
890
911
|
"status": "online"
|
891
912
|
},
|
892
913
|
"ModifyProtectionStatus": {
|
893
|
-
"document": "
|
914
|
+
"document": "开启、关闭WAF开关",
|
894
915
|
"input": "ModifyProtectionStatusRequest",
|
895
|
-
"name": "
|
916
|
+
"name": "开启、关闭WAF开关",
|
896
917
|
"output": "ModifyProtectionStatusResponse",
|
897
918
|
"status": "online"
|
898
919
|
},
|
@@ -3010,6 +3031,121 @@
|
|
3010
3031
|
],
|
3011
3032
|
"usage": "in"
|
3012
3033
|
},
|
3034
|
+
"Area": {
|
3035
|
+
"document": "地域信息",
|
3036
|
+
"members": [
|
3037
|
+
{
|
3038
|
+
"disabled": false,
|
3039
|
+
"document": "国家,除了标准的国家外还支持国内、国外这两个特殊的标识",
|
3040
|
+
"example": "中国",
|
3041
|
+
"member": "string",
|
3042
|
+
"name": "Country",
|
3043
|
+
"output_required": false,
|
3044
|
+
"required": true,
|
3045
|
+
"type": "string",
|
3046
|
+
"value_allowed_null": false
|
3047
|
+
},
|
3048
|
+
{
|
3049
|
+
"disabled": false,
|
3050
|
+
"document": "省份",
|
3051
|
+
"example": "广州",
|
3052
|
+
"member": "string",
|
3053
|
+
"name": "Region",
|
3054
|
+
"output_required": false,
|
3055
|
+
"required": false,
|
3056
|
+
"type": "string",
|
3057
|
+
"value_allowed_null": false
|
3058
|
+
},
|
3059
|
+
{
|
3060
|
+
"disabled": false,
|
3061
|
+
"document": "城市",
|
3062
|
+
"example": "深圳",
|
3063
|
+
"member": "string",
|
3064
|
+
"name": "City",
|
3065
|
+
"output_required": false,
|
3066
|
+
"required": false,
|
3067
|
+
"type": "string",
|
3068
|
+
"value_allowed_null": false
|
3069
|
+
}
|
3070
|
+
],
|
3071
|
+
"usage": "both"
|
3072
|
+
},
|
3073
|
+
"AreaBanRule": {
|
3074
|
+
"document": "地域封禁规则详情",
|
3075
|
+
"members": [
|
3076
|
+
{
|
3077
|
+
"disabled": false,
|
3078
|
+
"document": "状态 0:未开启地域封禁、1:开启地域封禁",
|
3079
|
+
"example": "0",
|
3080
|
+
"member": "int64",
|
3081
|
+
"name": "Status",
|
3082
|
+
"output_required": true,
|
3083
|
+
"type": "int",
|
3084
|
+
"value_allowed_null": false
|
3085
|
+
},
|
3086
|
+
{
|
3087
|
+
"disabled": false,
|
3088
|
+
"document": "数据来源 custom:自定义(默认)、batch:批量防护",
|
3089
|
+
"example": "custom",
|
3090
|
+
"member": "string",
|
3091
|
+
"name": "Source",
|
3092
|
+
"output_required": false,
|
3093
|
+
"type": "string",
|
3094
|
+
"value_allowed_null": false
|
3095
|
+
},
|
3096
|
+
{
|
3097
|
+
"disabled": false,
|
3098
|
+
"document": "配置的地域列表",
|
3099
|
+
"example": "[{\"Country\":\"中国\",\"Region\":\"广东\",\"City\":\"深圳\"}]",
|
3100
|
+
"member": "Area",
|
3101
|
+
"name": "Areas",
|
3102
|
+
"output_required": true,
|
3103
|
+
"type": "list",
|
3104
|
+
"value_allowed_null": false
|
3105
|
+
},
|
3106
|
+
{
|
3107
|
+
"disabled": false,
|
3108
|
+
"document": "规则执行的方式,TimedJob为定时执行,CronJob为周期执行",
|
3109
|
+
"example": "TimedJob",
|
3110
|
+
"member": "string",
|
3111
|
+
"name": "JobType",
|
3112
|
+
"output_required": true,
|
3113
|
+
"type": "string",
|
3114
|
+
"value_allowed_null": false
|
3115
|
+
},
|
3116
|
+
{
|
3117
|
+
"disabled": false,
|
3118
|
+
"document": "定时任务配置",
|
3119
|
+
"example": "{ \"Timed\": [ { \"StartDateTime\": 1711618518, \"EndDateTime\": 1711918518 } ], \"Cron\": [ { \"Day\": 12, \"WDay\": 2, \"StartTime\": \"12:11\", \"EndTime\": \"21:00\" } ], \"TimeTZone\": \"UTC+8\" }",
|
3120
|
+
"member": "JobDateTime",
|
3121
|
+
"name": "JobDateTime",
|
3122
|
+
"output_required": true,
|
3123
|
+
"type": "object",
|
3124
|
+
"value_allowed_null": false
|
3125
|
+
},
|
3126
|
+
{
|
3127
|
+
"disabled": false,
|
3128
|
+
"document": "如果是周期任务类型,那么表示周期的类型,支持 Week:按周、Month:按月",
|
3129
|
+
"example": "Week",
|
3130
|
+
"member": "string",
|
3131
|
+
"name": "CronType",
|
3132
|
+
"output_required": false,
|
3133
|
+
"type": "string",
|
3134
|
+
"value_allowed_null": false
|
3135
|
+
},
|
3136
|
+
{
|
3137
|
+
"disabled": false,
|
3138
|
+
"document": "地域信息的语言,支持cn、en,默认为中文cn",
|
3139
|
+
"example": "cn",
|
3140
|
+
"member": "string",
|
3141
|
+
"name": "Lang",
|
3142
|
+
"output_required": false,
|
3143
|
+
"type": "string",
|
3144
|
+
"value_allowed_null": false
|
3145
|
+
}
|
3146
|
+
],
|
3147
|
+
"usage": "out"
|
3148
|
+
},
|
3013
3149
|
"AttackLogInfo": {
|
3014
3150
|
"document": "攻击日志详情",
|
3015
3151
|
"members": [
|
@@ -4739,6 +4875,69 @@
|
|
4739
4875
|
],
|
4740
4876
|
"type": "object"
|
4741
4877
|
},
|
4878
|
+
"CreateAreaBanRuleRequest": {
|
4879
|
+
"document": "CreateAreaBanRule请求参数结构体",
|
4880
|
+
"members": [
|
4881
|
+
{
|
4882
|
+
"disabled": false,
|
4883
|
+
"document": "需要修改的域名",
|
4884
|
+
"example": "test.com",
|
4885
|
+
"member": "string",
|
4886
|
+
"name": "Domain",
|
4887
|
+
"required": true,
|
4888
|
+
"type": "string"
|
4889
|
+
},
|
4890
|
+
{
|
4891
|
+
"disabled": false,
|
4892
|
+
"document": "需要新增的封禁地域",
|
4893
|
+
"example": "[{\"Country\":\"中国\",\"Region\":\"广东\",\"City\":\"深圳\"}]",
|
4894
|
+
"member": "Area",
|
4895
|
+
"name": "Areas",
|
4896
|
+
"required": true,
|
4897
|
+
"type": "list"
|
4898
|
+
},
|
4899
|
+
{
|
4900
|
+
"disabled": false,
|
4901
|
+
"document": "规则执行的方式,TimedJob为定时执行,CronJob为周期执行",
|
4902
|
+
"example": "TimedJob",
|
4903
|
+
"member": "string",
|
4904
|
+
"name": "JobType",
|
4905
|
+
"required": true,
|
4906
|
+
"type": "string"
|
4907
|
+
},
|
4908
|
+
{
|
4909
|
+
"disabled": false,
|
4910
|
+
"document": "定时任务配置",
|
4911
|
+
"example": "{ \"Timed\": [ { \"StartDateTime\": 1711618518, \"EndDateTime\": 1711918518 } ], \"Cron\": [ { \"Day\": 12, \"WDay\": 2, \"StartTime\": \"12:11\", \"EndTime\": \"21:00\" } ], \"TimeTZone\": \"UTC+8\" }",
|
4912
|
+
"member": "JobDateTime",
|
4913
|
+
"name": "JobDateTime",
|
4914
|
+
"required": true,
|
4915
|
+
"type": "object"
|
4916
|
+
},
|
4917
|
+
{
|
4918
|
+
"disabled": false,
|
4919
|
+
"document": "地域信息的语言,支持cn、en,默认为中文cn",
|
4920
|
+
"example": "cn",
|
4921
|
+
"member": "string",
|
4922
|
+
"name": "Lang",
|
4923
|
+
"required": true,
|
4924
|
+
"type": "string"
|
4925
|
+
}
|
4926
|
+
],
|
4927
|
+
"type": "object"
|
4928
|
+
},
|
4929
|
+
"CreateAreaBanRuleResponse": {
|
4930
|
+
"document": "CreateAreaBanRule返回参数结构体",
|
4931
|
+
"members": [
|
4932
|
+
{
|
4933
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4934
|
+
"member": "string",
|
4935
|
+
"name": "RequestId",
|
4936
|
+
"type": "string"
|
4937
|
+
}
|
4938
|
+
],
|
4939
|
+
"type": "object"
|
4940
|
+
},
|
4742
4941
|
"CreateDealsGoods": {
|
4743
4942
|
"document": "计费下单接口出入参Goods",
|
4744
4943
|
"members": [
|
@@ -6293,7 +6492,7 @@
|
|
6293
6492
|
},
|
6294
6493
|
{
|
6295
6494
|
"disabled": false,
|
6296
|
-
"document": "目前支持根据
|
6495
|
+
"document": "目前支持根据create_time、modify_time、id排序",
|
6297
6496
|
"example": "\"ts\"",
|
6298
6497
|
"member": "string",
|
6299
6498
|
"name": "By",
|
@@ -6946,6 +7145,43 @@
|
|
6946
7145
|
],
|
6947
7146
|
"usage": "out"
|
6948
7147
|
},
|
7148
|
+
"DescribeAreaBanRuleRequest": {
|
7149
|
+
"document": "DescribeAreaBanRule请求参数结构体",
|
7150
|
+
"members": [
|
7151
|
+
{
|
7152
|
+
"disabled": false,
|
7153
|
+
"document": "需要查询的域名",
|
7154
|
+
"example": "www.testwaf.com",
|
7155
|
+
"member": "string",
|
7156
|
+
"name": "Domain",
|
7157
|
+
"required": true,
|
7158
|
+
"type": "string"
|
7159
|
+
}
|
7160
|
+
],
|
7161
|
+
"type": "object"
|
7162
|
+
},
|
7163
|
+
"DescribeAreaBanRuleResponse": {
|
7164
|
+
"document": "DescribeAreaBanRule返回参数结构体",
|
7165
|
+
"members": [
|
7166
|
+
{
|
7167
|
+
"disabled": false,
|
7168
|
+
"document": "规则内容",
|
7169
|
+
"example": "{ \"Status\": 1, \"Source\": \"custom\", \"Areas\": [ { \"Country\": \"中国\", \"Region\": \"广东\", \"City\": \"深圳\" } ], \"JobType\": \"Timed\", \"JobDateTime\": { \"Timed\": [ { \"StartDateTime\": 1711618518, \"EndDateTime\": 1711919518 } ], \"Cron\": [ ], \"TimeTZone\": \"UTC+8\" }, \"Lang\": \"cn\" }",
|
7170
|
+
"member": "AreaBanRule",
|
7171
|
+
"name": "Data",
|
7172
|
+
"output_required": true,
|
7173
|
+
"type": "object",
|
7174
|
+
"value_allowed_null": false
|
7175
|
+
},
|
7176
|
+
{
|
7177
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
7178
|
+
"member": "string",
|
7179
|
+
"name": "RequestId",
|
7180
|
+
"type": "string"
|
7181
|
+
}
|
7182
|
+
],
|
7183
|
+
"type": "object"
|
7184
|
+
},
|
6949
7185
|
"DescribeAreaBanSupportAreasRequest": {
|
6950
7186
|
"document": "DescribeAreaBanSupportAreas请求参数结构体",
|
6951
7187
|
"members": [],
|
@@ -15970,6 +16206,69 @@
|
|
15970
16206
|
],
|
15971
16207
|
"type": "object"
|
15972
16208
|
},
|
16209
|
+
"ModifyAreaBanRuleRequest": {
|
16210
|
+
"document": "ModifyAreaBanRule请求参数结构体",
|
16211
|
+
"members": [
|
16212
|
+
{
|
16213
|
+
"disabled": false,
|
16214
|
+
"document": "需要修改的域名",
|
16215
|
+
"example": "www.qcloudwaf.com",
|
16216
|
+
"member": "string",
|
16217
|
+
"name": "Domain",
|
16218
|
+
"required": true,
|
16219
|
+
"type": "string"
|
16220
|
+
},
|
16221
|
+
{
|
16222
|
+
"disabled": false,
|
16223
|
+
"document": "需要新增的封禁地域",
|
16224
|
+
"example": "[{\"Country\":\"中国\",\"Region\":\"广东\",\"City\":\"深圳\"}]",
|
16225
|
+
"member": "Area",
|
16226
|
+
"name": "Areas",
|
16227
|
+
"required": true,
|
16228
|
+
"type": "list"
|
16229
|
+
},
|
16230
|
+
{
|
16231
|
+
"disabled": false,
|
16232
|
+
"document": "规则执行的方式,TimedJob为定时执行,CronJob为周期执行",
|
16233
|
+
"example": "TimedJob",
|
16234
|
+
"member": "string",
|
16235
|
+
"name": "JobType",
|
16236
|
+
"required": true,
|
16237
|
+
"type": "string"
|
16238
|
+
},
|
16239
|
+
{
|
16240
|
+
"disabled": false,
|
16241
|
+
"document": "定时任务配置",
|
16242
|
+
"example": "{ \"Timed\": [ { \"StartDateTime\": 1711618518, \"EndDateTime\": 1711918518 } ], \"Cron\": [ { \"Day\": 12, \"WDay\": 2, \"StartTime\": \"12:11\", \"EndTime\": \"21:00\" } ], \"TimeTZone\": \"UTC+8\" }",
|
16243
|
+
"member": "JobDateTime",
|
16244
|
+
"name": "JobDateTime",
|
16245
|
+
"required": true,
|
16246
|
+
"type": "object"
|
16247
|
+
},
|
16248
|
+
{
|
16249
|
+
"disabled": false,
|
16250
|
+
"document": "地域信息的语言,支持cn、en,默认为中文cn",
|
16251
|
+
"example": "cn",
|
16252
|
+
"member": "string",
|
16253
|
+
"name": "Lang",
|
16254
|
+
"required": false,
|
16255
|
+
"type": "string"
|
16256
|
+
}
|
16257
|
+
],
|
16258
|
+
"type": "object"
|
16259
|
+
},
|
16260
|
+
"ModifyAreaBanRuleResponse": {
|
16261
|
+
"document": "ModifyAreaBanRule返回参数结构体",
|
16262
|
+
"members": [
|
16263
|
+
{
|
16264
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
16265
|
+
"member": "string",
|
16266
|
+
"name": "RequestId",
|
16267
|
+
"type": "string"
|
16268
|
+
}
|
16269
|
+
],
|
16270
|
+
"type": "object"
|
16271
|
+
},
|
15973
16272
|
"ModifyAreaBanStatusRequest": {
|
15974
16273
|
"document": "ModifyAreaBanStatus请求参数结构体",
|
15975
16274
|
"members": [
|
@@ -17595,7 +17894,7 @@
|
|
17595
17894
|
},
|
17596
17895
|
{
|
17597
17896
|
"disabled": false,
|
17598
|
-
"document": "
|
17897
|
+
"document": "1:开启WAF开关,0:关闭WAF开关",
|
17599
17898
|
"example": "0",
|
17600
17899
|
"member": "uint64",
|
17601
17900
|
"name": "Status",
|
@@ -86,6 +86,14 @@
|
|
86
86
|
"title": "创建访问日志导出"
|
87
87
|
}
|
88
88
|
],
|
89
|
+
"CreateAreaBanRule": [
|
90
|
+
{
|
91
|
+
"document": "",
|
92
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateBatchAreaBanRule\n<公共请求参数>\n\n{\n \"Domain\": \"www.testwaf.com\",\n \"Areas\": [\n {\n \"Country\": \"中国\",\n \"Region\": \"广东\",\n \"City\": \"深圳\"\n }\n ],\n \"JobType\": \"CronJob\",\n \"JobDateTime\": {\n \"Timed\": [\n {\n \"StartDateTime\": 1711618518,\n \"EndDateTime\": 1711918518\n }\n ],\n \"Cron\": [\n {\n \"Days\": [],\n \"WDays\": [\n 2\n ],\n \"StartTime\": \"12:11\",\n \"EndTime\": \"21:00\"\n }\n ],\n \"TimeTZone\": \"UTC+8\"\n },\n \"Lang\": \"cn\"\n}",
|
93
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"9b02bf9e-c89c-42c3-9ae1-685f968fa02d\"\n }\n}",
|
94
|
+
"title": "添加地域封禁规则"
|
95
|
+
}
|
96
|
+
],
|
89
97
|
"CreateDeals": [
|
90
98
|
{
|
91
99
|
"document": "",
|
@@ -300,6 +308,14 @@
|
|
300
308
|
"title": "未设置封禁区域的场景"
|
301
309
|
}
|
302
310
|
],
|
311
|
+
"DescribeAreaBanRule": [
|
312
|
+
{
|
313
|
+
"document": "",
|
314
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSupportAreas\n<公共请求参数>\n\n{\n \"Domain\": \"www.testwaf.com\"\n}",
|
315
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"Status\": 1,\n \"Source\": \"custom\",\n \"Areas\": [\n {\n \"Country\": \"中国\",\n \"Region\": \"广东\",\n \"City\": \"深圳\"\n }\n ],\n \"JobType\": \"Timed\",\n \"JobDateTime\": {\n \"Timed\": [\n {\n \"StartDateTime\": 1711618518,\n \"EndDateTime\": 1711919518\n }\n ],\n \"Cron\": [],\n \"TimeTZone\": \"UTC+8\"\n },\n \"Lang\": \"cn\"\n },\n \"RequestId\": \"9b02bf9e-c89c-42c3-9ae1-685f968fa02d\"\n }\n}",
|
316
|
+
"title": "获取地域封禁规则"
|
317
|
+
}
|
318
|
+
],
|
303
319
|
"DescribeAreaBanSupportAreas": [
|
304
320
|
{
|
305
321
|
"document": "",
|
@@ -856,6 +872,14 @@
|
|
856
872
|
"title": "ModifyAreaBanAreas"
|
857
873
|
}
|
858
874
|
],
|
875
|
+
"ModifyAreaBanRule": [
|
876
|
+
{
|
877
|
+
"document": "",
|
878
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAreaBanRule\n<公共请求参数>\n\n{\n \"Domain\": \"www.testwaf.com\",\n \"Areas\": [\n {\n \"Country\": \"中国\",\n \"Region\": \"广东\",\n \"City\": \"深圳\"\n }\n ],\n \"JobType\": \"CronJob\",\n \"JobDateTime\": {\n \"Timed\": [\n {\n \"StartDateTime\": 1711618518,\n \"EndDateTime\": 1711918518\n }\n ],\n \"Cron\": [\n {\n \"Days\": [],\n \"WDays\": [\n 2\n ],\n \"StartTime\": \"12:11\",\n \"EndTime\": \"21:00\"\n }\n ],\n \"TimeTZone\": \"UTC+8\"\n }\n}",
|
879
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"9b02bf9e-c89c-42c3-9ae1-685f968fa02d\"\n }\n}",
|
880
|
+
"title": "编辑地域封禁规则"
|
881
|
+
}
|
882
|
+
],
|
859
883
|
"ModifyAreaBanStatus": [
|
860
884
|
{
|
861
885
|
"document": "",
|
@@ -1057,7 +1081,7 @@
|
|
1057
1081
|
"document": "",
|
1058
1082
|
"input": "https://waf.tencentcloudapi.com/?Action=ModifyProtectionStatus\r\n&Domain=www.test.com\r\n&Status=0\r\n&<公共请求参数>",
|
1059
1083
|
"output": "{\n \"Response\": {\n \"RequestId\": \"d680b87a-8c4a-4840-af18-3acb5c9f0e54\"\n }\n}",
|
1060
|
-
"title": "
|
1084
|
+
"title": "关闭WAF开关"
|
1061
1085
|
}
|
1062
1086
|
],
|
1063
1087
|
"ModifySpartaProtection": [
|