tencentcloud-sdk-antiddos 3.0.404 → 3.0.407
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/v20200309/client.rb +0 -24
- data/lib/v20200309/models.rb +6 -52
- 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: a1d24016fe9335fcc13d24b62b5d79a6e87b9576
|
4
|
+
data.tar.gz: 21f275ddc6c6da7fe41d49e25140041f1804d4ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97f3ffb3ce12336a3dc3a154b9e00b37b7b57d2be1c74613b971d1f779d3a43595929e9453adb358adbd21333b558cc894de655c2f2e7311a4b1087f00805afe
|
7
|
+
data.tar.gz: 993b25ef07e4d2a4a1eced7c5e92c6592f9391d90d66d30cdd5f54effab041d89688b25dfee2cbc8ce2ff176a8120ace59ab688532b9ca564cd364b979a5bf14
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.407
|
data/lib/v20200309/client.rb
CHANGED
@@ -2117,30 +2117,6 @@ module TencentCloud
|
|
2117
2117
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2118
2118
|
end
|
2119
2119
|
|
2120
|
-
# 修改边界防护L7转发规则
|
2121
|
-
|
2122
|
-
# @param request: Request instance for ModifyL7RulesEdge.
|
2123
|
-
# @type request: :class:`Tencentcloud::antiddos::V20200309::ModifyL7RulesEdgeRequest`
|
2124
|
-
# @rtype: :class:`Tencentcloud::antiddos::V20200309::ModifyL7RulesEdgeResponse`
|
2125
|
-
def ModifyL7RulesEdge(request)
|
2126
|
-
body = send_request('ModifyL7RulesEdge', request.serialize)
|
2127
|
-
response = JSON.parse(body)
|
2128
|
-
if response['Response'].key?('Error') == false
|
2129
|
-
model = ModifyL7RulesEdgeResponse.new
|
2130
|
-
model.deserialize(response['Response'])
|
2131
|
-
model
|
2132
|
-
else
|
2133
|
-
code = response['Response']['Error']['Code']
|
2134
|
-
message = response['Response']['Error']['Message']
|
2135
|
-
reqid = response['Response']['RequestId']
|
2136
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2137
|
-
end
|
2138
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2139
|
-
raise e
|
2140
|
-
rescue StandardError => e
|
2141
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2142
|
-
end
|
2143
|
-
|
2144
2120
|
# 修改7层转发规则
|
2145
2121
|
|
2146
2122
|
# @param request: Request instance for ModifyNewDomainRules.
|
data/lib/v20200309/models.rb
CHANGED
@@ -492,10 +492,12 @@ module TencentCloud
|
|
492
492
|
# @type TagInfoList: Array
|
493
493
|
# @param IpCountNewFlag: 新版本1ip高防包
|
494
494
|
# @type IpCountNewFlag: Integer
|
495
|
+
# @param VitalityVersion: 攻击封堵套餐标记
|
496
|
+
# @type VitalityVersion: Integer
|
495
497
|
|
496
|
-
attr_accessor :InstanceDetail, :SpecificationLimit, :Usage, :Region, :Status, :CreatedTime, :ExpiredTime, :Name, :PackInfo, :EipProductInfos, :BoundStatus, :DDoSLevel, :CCEnable, :TagInfoList, :IpCountNewFlag
|
498
|
+
attr_accessor :InstanceDetail, :SpecificationLimit, :Usage, :Region, :Status, :CreatedTime, :ExpiredTime, :Name, :PackInfo, :EipProductInfos, :BoundStatus, :DDoSLevel, :CCEnable, :TagInfoList, :IpCountNewFlag, :VitalityVersion
|
497
499
|
|
498
|
-
def initialize(instancedetail=nil, specificationlimit=nil, usage=nil, region=nil, status=nil, createdtime=nil, expiredtime=nil, name=nil, packinfo=nil, eipproductinfos=nil, boundstatus=nil, ddoslevel=nil, ccenable=nil, taginfolist=nil, ipcountnewflag=nil)
|
500
|
+
def initialize(instancedetail=nil, specificationlimit=nil, usage=nil, region=nil, status=nil, createdtime=nil, expiredtime=nil, name=nil, packinfo=nil, eipproductinfos=nil, boundstatus=nil, ddoslevel=nil, ccenable=nil, taginfolist=nil, ipcountnewflag=nil, vitalityversion=nil)
|
499
501
|
@InstanceDetail = instancedetail
|
500
502
|
@SpecificationLimit = specificationlimit
|
501
503
|
@Usage = usage
|
@@ -511,6 +513,7 @@ module TencentCloud
|
|
511
513
|
@CCEnable = ccenable
|
512
514
|
@TagInfoList = taginfolist
|
513
515
|
@IpCountNewFlag = ipcountnewflag
|
516
|
+
@VitalityVersion = vitalityversion
|
514
517
|
end
|
515
518
|
|
516
519
|
def deserialize(params)
|
@@ -558,6 +561,7 @@ module TencentCloud
|
|
558
561
|
end
|
559
562
|
end
|
560
563
|
@IpCountNewFlag = params['IpCountNewFlag']
|
564
|
+
@VitalityVersion = params['VitalityVersion']
|
561
565
|
end
|
562
566
|
end
|
563
567
|
|
@@ -6606,56 +6610,6 @@ module TencentCloud
|
|
6606
6610
|
end
|
6607
6611
|
end
|
6608
6612
|
|
6609
|
-
# ModifyL7RulesEdge请求参数结构体
|
6610
|
-
class ModifyL7RulesEdgeRequest < TencentCloud::Common::AbstractModel
|
6611
|
-
# @param Business: 大禹子产品代号(edge表示边界防护产品)
|
6612
|
-
# @type Business: String
|
6613
|
-
# @param Id: 资源ID
|
6614
|
-
# @type Id: String
|
6615
|
-
# @param Rule: 规则
|
6616
|
-
# @type Rule: :class:`Tencentcloud::Antiddos.v20200309.models.L7RuleEntry`
|
6617
|
-
|
6618
|
-
attr_accessor :Business, :Id, :Rule
|
6619
|
-
|
6620
|
-
def initialize(business=nil, id=nil, rule=nil)
|
6621
|
-
@Business = business
|
6622
|
-
@Id = id
|
6623
|
-
@Rule = rule
|
6624
|
-
end
|
6625
|
-
|
6626
|
-
def deserialize(params)
|
6627
|
-
@Business = params['Business']
|
6628
|
-
@Id = params['Id']
|
6629
|
-
unless params['Rule'].nil?
|
6630
|
-
@Rule = L7RuleEntry.new
|
6631
|
-
@Rule.deserialize(params['Rule'])
|
6632
|
-
end
|
6633
|
-
end
|
6634
|
-
end
|
6635
|
-
|
6636
|
-
# ModifyL7RulesEdge返回参数结构体
|
6637
|
-
class ModifyL7RulesEdgeResponse < TencentCloud::Common::AbstractModel
|
6638
|
-
# @param Success: 成功码
|
6639
|
-
# @type Success: :class:`Tencentcloud::Antiddos.v20200309.models.SuccessCode`
|
6640
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6641
|
-
# @type RequestId: String
|
6642
|
-
|
6643
|
-
attr_accessor :Success, :RequestId
|
6644
|
-
|
6645
|
-
def initialize(success=nil, requestid=nil)
|
6646
|
-
@Success = success
|
6647
|
-
@RequestId = requestid
|
6648
|
-
end
|
6649
|
-
|
6650
|
-
def deserialize(params)
|
6651
|
-
unless params['Success'].nil?
|
6652
|
-
@Success = SuccessCode.new
|
6653
|
-
@Success.deserialize(params['Success'])
|
6654
|
-
end
|
6655
|
-
@RequestId = params['RequestId']
|
6656
|
-
end
|
6657
|
-
end
|
6658
|
-
|
6659
6613
|
# ModifyNewDomainRules请求参数结构体
|
6660
6614
|
class ModifyNewDomainRulesRequest < TencentCloud::Common::AbstractModel
|
6661
6615
|
# @param Business: 大禹子产品代号(bgpip表示高防IP)
|
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: 3.0.
|
4
|
+
version: 3.0.407
|
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-09-
|
11
|
+
date: 2022-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|