tencentcloud-sdk-waf 3.0.1140 → 3.0.1146
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180125/client.rb +73 -1
- data/lib/v20180125/models.rb +639 -65
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f7acde5991f377f9bb152c4dd40d22a392ff6a0
|
4
|
+
data.tar.gz: e70bdafcf44f9fbb70fd0eabc77c38f2bafb78de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d43765e5e426a0cb438b3be8beb3a15ae76b87ddfcab165ef347acc2f4daccea536ccb989012dca76e9e83f0bce7bfcb0c73818f607a8eac3ef25f80da65ddb0
|
7
|
+
data.tar.gz: c167656ded34d4851c89774cb39047ee8a0f494eb147664129129ac385688072d353964a96ec53761c618f00ac0789b024b6edd23008daecd40cfbb99b6b64c9
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1146
|
data/lib/v20180125/client.rb
CHANGED
@@ -293,6 +293,30 @@ module TencentCloud
|
|
293
293
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
294
|
end
|
295
295
|
|
296
|
+
# 批量IP黑白名单新增接口
|
297
|
+
|
298
|
+
# @param request: Request instance for CreateBatchIpAccessControl.
|
299
|
+
# @type request: :class:`Tencentcloud::waf::V20180125::CreateBatchIpAccessControlRequest`
|
300
|
+
# @rtype: :class:`Tencentcloud::waf::V20180125::CreateBatchIpAccessControlResponse`
|
301
|
+
def CreateBatchIpAccessControl(request)
|
302
|
+
body = send_request('CreateBatchIpAccessControl', request.serialize)
|
303
|
+
response = JSON.parse(body)
|
304
|
+
if response['Response'].key?('Error') == false
|
305
|
+
model = CreateBatchIpAccessControlResponse.new
|
306
|
+
model.deserialize(response['Response'])
|
307
|
+
model
|
308
|
+
else
|
309
|
+
code = response['Response']['Error']['Code']
|
310
|
+
message = response['Response']['Error']['Message']
|
311
|
+
reqid = response['Response']['RequestId']
|
312
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
313
|
+
end
|
314
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
315
|
+
raise e
|
316
|
+
rescue StandardError => e
|
317
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
318
|
+
end
|
319
|
+
|
296
320
|
# 计费资源购买、续费下单接口
|
297
321
|
|
298
322
|
# @param request: Request instance for CreateDeals.
|
@@ -581,6 +605,30 @@ module TencentCloud
|
|
581
605
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
582
606
|
end
|
583
607
|
|
608
|
+
# 批量黑白名单删除接口
|
609
|
+
|
610
|
+
# @param request: Request instance for DeleteBatchIpAccessControl.
|
611
|
+
# @type request: :class:`Tencentcloud::waf::V20180125::DeleteBatchIpAccessControlRequest`
|
612
|
+
# @rtype: :class:`Tencentcloud::waf::V20180125::DeleteBatchIpAccessControlResponse`
|
613
|
+
def DeleteBatchIpAccessControl(request)
|
614
|
+
body = send_request('DeleteBatchIpAccessControl', request.serialize)
|
615
|
+
response = JSON.parse(body)
|
616
|
+
if response['Response'].key?('Error') == false
|
617
|
+
model = DeleteBatchIpAccessControlResponse.new
|
618
|
+
model.deserialize(response['Response'])
|
619
|
+
model
|
620
|
+
else
|
621
|
+
code = response['Response']['Error']['Code']
|
622
|
+
message = response['Response']['Error']['Message']
|
623
|
+
reqid = response['Response']['RequestId']
|
624
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
625
|
+
end
|
626
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
627
|
+
raise e
|
628
|
+
rescue StandardError => e
|
629
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
630
|
+
end
|
631
|
+
|
584
632
|
# 场景化后删除Bot的UCB自定义规则
|
585
633
|
|
586
634
|
# @param request: Request instance for DeleteBotSceneUCBRule.
|
@@ -3151,6 +3199,30 @@ module TencentCloud
|
|
3151
3199
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3152
3200
|
end
|
3153
3201
|
|
3202
|
+
# 批量IP黑白名单新增接口
|
3203
|
+
|
3204
|
+
# @param request: Request instance for ModifyBatchIpAccessControl.
|
3205
|
+
# @type request: :class:`Tencentcloud::waf::V20180125::ModifyBatchIpAccessControlRequest`
|
3206
|
+
# @rtype: :class:`Tencentcloud::waf::V20180125::ModifyBatchIpAccessControlResponse`
|
3207
|
+
def ModifyBatchIpAccessControl(request)
|
3208
|
+
body = send_request('ModifyBatchIpAccessControl', request.serialize)
|
3209
|
+
response = JSON.parse(body)
|
3210
|
+
if response['Response'].key?('Error') == false
|
3211
|
+
model = ModifyBatchIpAccessControlResponse.new
|
3212
|
+
model.deserialize(response['Response'])
|
3213
|
+
model
|
3214
|
+
else
|
3215
|
+
code = response['Response']['Error']['Code']
|
3216
|
+
message = response['Response']['Error']['Message']
|
3217
|
+
reqid = response['Response']['RequestId']
|
3218
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3219
|
+
end
|
3220
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3221
|
+
raise e
|
3222
|
+
rescue StandardError => e
|
3223
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3224
|
+
end
|
3225
|
+
|
3154
3226
|
# bot子场景开关
|
3155
3227
|
|
3156
3228
|
# @param request: Request instance for ModifyBotSceneStatus.
|
@@ -3367,7 +3439,7 @@ module TencentCloud
|
|
3367
3439
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3368
3440
|
end
|
3369
3441
|
|
3370
|
-
#
|
3442
|
+
# 修改域名规则白名单
|
3371
3443
|
|
3372
3444
|
# @param request: Request instance for ModifyDomainWhiteRule.
|
3373
3445
|
# @type request: :class:`Tencentcloud::waf::V20180125::ModifyDomainWhiteRuleRequest`
|