tencentcloud-sdk-antiddos 1.0.363 → 3.0.379
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/models.rb +42 -8
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1006473c506b4a227fc112f773929bed3678800
|
4
|
+
data.tar.gz: 2e8a3cbc63158d4bcaf7edb905f77562b8ace3ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3f90db607568a0d15e06914e921c3ac1eb3f998b576d9a7ed5796a85f23ee67d470900dc77badbb004c358dc836c838e76b7ac02748856746895ea75f747c06
|
7
|
+
data.tar.gz: 3b2b36a02649073612a5717cd01167eab227e614ce765e4b2789cb5c0887e5a772a9fd850b3defb0f513172ff701b40903bb1e5ae716d5e21323e54a2c607e19
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.0.379
|
data/lib/v20200309/models.rb
CHANGED
@@ -282,10 +282,13 @@ module TencentCloud
|
|
282
282
|
# 注意:当资产实例不是全力防护套餐包的实例时,此字段为null
|
283
283
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
284
284
|
# @type AnycastOutPackRelation: :class:`Tencentcloud::Antiddos.v20200309.models.AnycastOutPackRelation`
|
285
|
+
# @param InstanceVersion: 资源实例版本
|
286
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
287
|
+
# @type InstanceVersion: Integer
|
285
288
|
|
286
|
-
attr_accessor :InstanceDetail, :SpecificationLimit, :Usage, :Region, :Status, :ExpiredTime, :CreatedTime, :Name, :PackInfo, :StaticPackRelation, :ZoneId, :Tgw, :EipAddressStatus, :EipFlag, :EipAddressPackRelation, :EipAddressInfo, :Domain, :DamDDoSStatus, :V6Flag, :BGPIPChannelFlag, :TagInfoList, :AnycastOutPackRelation
|
289
|
+
attr_accessor :InstanceDetail, :SpecificationLimit, :Usage, :Region, :Status, :ExpiredTime, :CreatedTime, :Name, :PackInfo, :StaticPackRelation, :ZoneId, :Tgw, :EipAddressStatus, :EipFlag, :EipAddressPackRelation, :EipAddressInfo, :Domain, :DamDDoSStatus, :V6Flag, :BGPIPChannelFlag, :TagInfoList, :AnycastOutPackRelation, :InstanceVersion
|
287
290
|
|
288
|
-
def initialize(instancedetail=nil, specificationlimit=nil, usage=nil, region=nil, status=nil, expiredtime=nil, createdtime=nil, name=nil, packinfo=nil, staticpackrelation=nil, zoneid=nil, tgw=nil, eipaddressstatus=nil, eipflag=nil, eipaddresspackrelation=nil, eipaddressinfo=nil, domain=nil, damddosstatus=nil, v6flag=nil, bgpipchannelflag=nil, taginfolist=nil, anycastoutpackrelation=nil)
|
291
|
+
def initialize(instancedetail=nil, specificationlimit=nil, usage=nil, region=nil, status=nil, expiredtime=nil, createdtime=nil, name=nil, packinfo=nil, staticpackrelation=nil, zoneid=nil, tgw=nil, eipaddressstatus=nil, eipflag=nil, eipaddresspackrelation=nil, eipaddressinfo=nil, domain=nil, damddosstatus=nil, v6flag=nil, bgpipchannelflag=nil, taginfolist=nil, anycastoutpackrelation=nil, instanceversion=nil)
|
289
292
|
@InstanceDetail = instancedetail
|
290
293
|
@SpecificationLimit = specificationlimit
|
291
294
|
@Usage = usage
|
@@ -308,6 +311,7 @@ module TencentCloud
|
|
308
311
|
@BGPIPChannelFlag = bgpipchannelflag
|
309
312
|
@TagInfoList = taginfolist
|
310
313
|
@AnycastOutPackRelation = anycastoutpackrelation
|
314
|
+
@InstanceVersion = instanceversion
|
311
315
|
end
|
312
316
|
|
313
317
|
def deserialize(params)
|
@@ -367,6 +371,7 @@ module TencentCloud
|
|
367
371
|
@AnycastOutPackRelation = AnycastOutPackRelation.new
|
368
372
|
@AnycastOutPackRelation.deserialize(params['AnycastOutPackRelation'])
|
369
373
|
end
|
374
|
+
@InstanceVersion = params['InstanceVersion']
|
370
375
|
end
|
371
376
|
end
|
372
377
|
|
@@ -5663,19 +5668,24 @@ module TencentCloud
|
|
5663
5668
|
# @param Port: 8000
|
5664
5669
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5665
5670
|
# @type Port: Integer
|
5671
|
+
# @param Backup: 备份源站,1: 备份源站,0: 普通源站
|
5672
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5673
|
+
# @type Backup: Integer
|
5666
5674
|
|
5667
|
-
attr_accessor :Source, :Weight, :Port
|
5675
|
+
attr_accessor :Source, :Weight, :Port, :Backup
|
5668
5676
|
|
5669
|
-
def initialize(source=nil, weight=nil, port=nil)
|
5677
|
+
def initialize(source=nil, weight=nil, port=nil, backup=nil)
|
5670
5678
|
@Source = source
|
5671
5679
|
@Weight = weight
|
5672
5680
|
@Port = port
|
5681
|
+
@Backup = backup
|
5673
5682
|
end
|
5674
5683
|
|
5675
5684
|
def deserialize(params)
|
5676
5685
|
@Source = params['Source']
|
5677
5686
|
@Weight = params['Weight']
|
5678
5687
|
@Port = params['Port']
|
5688
|
+
@Backup = params['Backup']
|
5679
5689
|
end
|
5680
5690
|
end
|
5681
5691
|
|
@@ -5808,10 +5818,22 @@ module TencentCloud
|
|
5808
5818
|
# @type Method: String
|
5809
5819
|
# @param StatusCode: 健康检查判定正常状态码,1xx =1, 2xx=2, 3xx=4, 4xx=8,5xx=16,多个状态码值加和
|
5810
5820
|
# @type StatusCode: Integer
|
5811
|
-
|
5812
|
-
|
5813
|
-
|
5814
|
-
|
5821
|
+
# @param ProtocolFlag: 是否同时下发http和https规则健康检查配置
|
5822
|
+
# @type ProtocolFlag: Integer
|
5823
|
+
# @param PassiveEnable: 被动探测开关,=1表示开启;=0表示关闭
|
5824
|
+
# @type PassiveEnable: Integer
|
5825
|
+
# @param BlockInter: 被动探测不健康屏蔽时间
|
5826
|
+
# @type BlockInter: Integer
|
5827
|
+
# @param FailedCountInter: 被动探测不健康统计间隔
|
5828
|
+
# @type FailedCountInter: Integer
|
5829
|
+
# @param FailedThreshold: 被动探测不健康阈值
|
5830
|
+
# @type FailedThreshold: Integer
|
5831
|
+
# @param PassiveStatusCode: 被动探测判定正常状态码,1xx =1, 2xx=2, 3xx=4, 4xx=8,5xx=16,多个状态码值加和
|
5832
|
+
# @type PassiveStatusCode: Integer
|
5833
|
+
|
5834
|
+
attr_accessor :Status, :Enable, :RuleId, :Url, :Interval, :AliveNum, :KickNum, :Method, :StatusCode, :ProtocolFlag, :PassiveEnable, :BlockInter, :FailedCountInter, :FailedThreshold, :PassiveStatusCode
|
5835
|
+
|
5836
|
+
def initialize(status=nil, enable=nil, ruleid=nil, url=nil, interval=nil, alivenum=nil, kicknum=nil, method=nil, statuscode=nil, protocolflag=nil, passiveenable=nil, blockinter=nil, failedcountinter=nil, failedthreshold=nil, passivestatuscode=nil)
|
5815
5837
|
@Status = status
|
5816
5838
|
@Enable = enable
|
5817
5839
|
@RuleId = ruleid
|
@@ -5821,6 +5843,12 @@ module TencentCloud
|
|
5821
5843
|
@KickNum = kicknum
|
5822
5844
|
@Method = method
|
5823
5845
|
@StatusCode = statuscode
|
5846
|
+
@ProtocolFlag = protocolflag
|
5847
|
+
@PassiveEnable = passiveenable
|
5848
|
+
@BlockInter = blockinter
|
5849
|
+
@FailedCountInter = failedcountinter
|
5850
|
+
@FailedThreshold = failedthreshold
|
5851
|
+
@PassiveStatusCode = passivestatuscode
|
5824
5852
|
end
|
5825
5853
|
|
5826
5854
|
def deserialize(params)
|
@@ -5833,6 +5861,12 @@ module TencentCloud
|
|
5833
5861
|
@KickNum = params['KickNum']
|
5834
5862
|
@Method = params['Method']
|
5835
5863
|
@StatusCode = params['StatusCode']
|
5864
|
+
@ProtocolFlag = params['ProtocolFlag']
|
5865
|
+
@PassiveEnable = params['PassiveEnable']
|
5866
|
+
@BlockInter = params['BlockInter']
|
5867
|
+
@FailedCountInter = params['FailedCountInter']
|
5868
|
+
@FailedThreshold = params['FailedThreshold']
|
5869
|
+
@PassiveStatusCode = params['PassiveStatusCode']
|
5836
5870
|
end
|
5837
5871
|
end
|
5838
5872
|
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-antiddos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.379
|
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-
|
11
|
+
date: 2022-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.0'
|
27
27
|
description: Tencent Cloud Ruby SDK is the official software development kit, which
|
@@ -33,10 +33,10 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/VERSION
|
37
36
|
- lib/tencentcloud-sdk-antiddos.rb
|
38
|
-
- lib/v20200309/client.rb
|
39
37
|
- lib/v20200309/models.rb
|
38
|
+
- lib/v20200309/client.rb
|
39
|
+
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|
42
42
|
- Apache-2.0
|
@@ -49,17 +49,17 @@ require_paths:
|
|
49
49
|
- lib
|
50
50
|
required_ruby_version: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- -
|
57
|
+
- - '>='
|
58
58
|
- !ruby/object:Gem::Version
|
59
59
|
version: '0'
|
60
60
|
requirements: []
|
61
61
|
rubyforge_project:
|
62
|
-
rubygems_version: 2.
|
62
|
+
rubygems_version: 2.0.14
|
63
63
|
signing_key:
|
64
64
|
specification_version: 4
|
65
65
|
summary: Tencent Cloud SDK for Ruby - ANTIDDOS
|