tencentcloud-sdk-antiddos 1.0.306 → 1.0.309
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200309/models.rb +53 -7
- 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: 1454eb9c10d77baa4ebada5eec32fb0515b0162d
|
4
|
+
data.tar.gz: bd8949cdbf1a0a3fac097fde3411a8fffdb35fc2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 876407a248ad4dcbccc0f8d01c1c95163fbc04849971d3e537950399cb34af630330152e48b168659e77d86660a179267c19c563089eb7d952bcf3962f3590d3
|
7
|
+
data.tar.gz: c321a327b2d9d7a890dc00b93d3b7bbc78c70b83bec578abd1fc03152f3902b0a7fe8bdeb0e30ae8864e1f20110bb9433485ee3da87309002fd4992cf317186f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.309
|
data/lib/v20200309/models.rb
CHANGED
@@ -5457,17 +5457,20 @@ module TencentCloud
|
|
5457
5457
|
# @type Protocol: String
|
5458
5458
|
# @param RealServers: 源站列表
|
5459
5459
|
# @type RealServers: Array
|
5460
|
-
# @param InstanceDetails:
|
5460
|
+
# @param InstanceDetails: 资源实例
|
5461
5461
|
# @type InstanceDetails: Array
|
5462
|
+
# @param InstanceDetailRule: 规则所属的资源实例
|
5463
|
+
# @type InstanceDetailRule: Array
|
5462
5464
|
|
5463
|
-
attr_accessor :BackendPort, :FrontendPort, :Protocol, :RealServers, :InstanceDetails
|
5465
|
+
attr_accessor :BackendPort, :FrontendPort, :Protocol, :RealServers, :InstanceDetails, :InstanceDetailRule
|
5464
5466
|
|
5465
|
-
def initialize(backendport=nil, frontendport=nil, protocol=nil, realservers=nil, instancedetails=nil)
|
5467
|
+
def initialize(backendport=nil, frontendport=nil, protocol=nil, realservers=nil, instancedetails=nil, instancedetailrule=nil)
|
5466
5468
|
@BackendPort = backendport
|
5467
5469
|
@FrontendPort = frontendport
|
5468
5470
|
@Protocol = protocol
|
5469
5471
|
@RealServers = realservers
|
5470
5472
|
@InstanceDetails = instancedetails
|
5473
|
+
@InstanceDetailRule = instancedetailrule
|
5471
5474
|
end
|
5472
5475
|
|
5473
5476
|
def deserialize(params)
|
@@ -5490,6 +5493,14 @@ module TencentCloud
|
|
5490
5493
|
@InstanceDetails << instancerelation_tmp
|
5491
5494
|
end
|
5492
5495
|
end
|
5496
|
+
unless params['InstanceDetailRule'].nil?
|
5497
|
+
@InstanceDetailRule = []
|
5498
|
+
params['InstanceDetailRule'].each do |i|
|
5499
|
+
ruleinstancerelation_tmp = RuleInstanceRelation.new
|
5500
|
+
ruleinstancerelation_tmp.deserialize(i)
|
5501
|
+
@InstanceDetailRule << ruleinstancerelation_tmp
|
5502
|
+
end
|
5503
|
+
end
|
5493
5504
|
end
|
5494
5505
|
end
|
5495
5506
|
|
@@ -5501,16 +5512,19 @@ module TencentCloud
|
|
5501
5512
|
# @type ProxyTypeList: Array
|
5502
5513
|
# @param RealServers: 源站列表
|
5503
5514
|
# @type RealServers: Array
|
5504
|
-
# @param InstanceDetails:
|
5515
|
+
# @param InstanceDetails: 资源实例
|
5505
5516
|
# @type InstanceDetails: Array
|
5517
|
+
# @param InstanceDetailRule: 规则所属的资源实例
|
5518
|
+
# @type InstanceDetailRule: Array
|
5506
5519
|
|
5507
|
-
attr_accessor :Domain, :ProxyTypeList, :RealServers, :InstanceDetails
|
5520
|
+
attr_accessor :Domain, :ProxyTypeList, :RealServers, :InstanceDetails, :InstanceDetailRule
|
5508
5521
|
|
5509
|
-
def initialize(domain=nil, proxytypelist=nil, realservers=nil, instancedetails=nil)
|
5522
|
+
def initialize(domain=nil, proxytypelist=nil, realservers=nil, instancedetails=nil, instancedetailrule=nil)
|
5510
5523
|
@Domain = domain
|
5511
5524
|
@ProxyTypeList = proxytypelist
|
5512
5525
|
@RealServers = realservers
|
5513
5526
|
@InstanceDetails = instancedetails
|
5527
|
+
@InstanceDetailRule = instancedetailrule
|
5514
5528
|
end
|
5515
5529
|
|
5516
5530
|
def deserialize(params)
|
@@ -5539,6 +5553,14 @@ module TencentCloud
|
|
5539
5553
|
@InstanceDetails << instancerelation_tmp
|
5540
5554
|
end
|
5541
5555
|
end
|
5556
|
+
unless params['InstanceDetailRule'].nil?
|
5557
|
+
@InstanceDetailRule = []
|
5558
|
+
params['InstanceDetailRule'].each do |i|
|
5559
|
+
ruleinstancerelation_tmp = RuleInstanceRelation.new
|
5560
|
+
ruleinstancerelation_tmp.deserialize(i)
|
5561
|
+
@InstanceDetailRule << ruleinstancerelation_tmp
|
5562
|
+
end
|
5563
|
+
end
|
5542
5564
|
end
|
5543
5565
|
end
|
5544
5566
|
|
@@ -5624,7 +5646,7 @@ module TencentCloud
|
|
5624
5646
|
# @type InstanceId: String
|
5625
5647
|
# @param PolicyId: 策略Id
|
5626
5648
|
# @type PolicyId: String
|
5627
|
-
# @param PolicyAction:
|
5649
|
+
# @param PolicyAction: 策略方式。可取值:alg、drop。alg指返回验证码方式验证,drop表示该访问丢弃。
|
5628
5650
|
# @type PolicyAction: String
|
5629
5651
|
# @param PolicyList: 策略记录
|
5630
5652
|
# @type PolicyList: Array
|
@@ -6782,6 +6804,30 @@ module TencentCloud
|
|
6782
6804
|
end
|
6783
6805
|
end
|
6784
6806
|
|
6807
|
+
# 四七层规则的
|
6808
|
+
class RuleInstanceRelation < TencentCloud::Common::AbstractModel
|
6809
|
+
# @param EipList: 资源实例的IP
|
6810
|
+
# @type EipList: Array
|
6811
|
+
# @param InstanceId: 资源实例的ID
|
6812
|
+
# @type InstanceId: String
|
6813
|
+
# @param Cname: 资源实例的Cname
|
6814
|
+
# @type Cname: String
|
6815
|
+
|
6816
|
+
attr_accessor :EipList, :InstanceId, :Cname
|
6817
|
+
|
6818
|
+
def initialize(eiplist=nil, instanceid=nil, cname=nil)
|
6819
|
+
@EipList = eiplist
|
6820
|
+
@InstanceId = instanceid
|
6821
|
+
@Cname = cname
|
6822
|
+
end
|
6823
|
+
|
6824
|
+
def deserialize(params)
|
6825
|
+
@EipList = params['EipList']
|
6826
|
+
@InstanceId = params['InstanceId']
|
6827
|
+
@Cname = params['Cname']
|
6828
|
+
end
|
6829
|
+
end
|
6830
|
+
|
6785
6831
|
# 调度域名信息
|
6786
6832
|
class SchedulingDomainInfo < TencentCloud::Common::AbstractModel
|
6787
6833
|
# @param Domain: 调度域名
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-antiddos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.309
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|