tencentcloud-sdk-antiddos 1.0.363 → 1.0.364

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20200309/models.rb +42 -8
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df7f2bec4f86d5af69b85e9eca17048fd6330702
4
- data.tar.gz: 28c02099cb4fed40b290bdf6a98d330714311837
3
+ metadata.gz: 82ee1a435049c8efb55ff13bf30fc420d53c88c4
4
+ data.tar.gz: fdc04be7ffa92e64caccfde5baa842d4f44cdbff
5
5
  SHA512:
6
- metadata.gz: 9f3a4cf59fb1f1e1cb275c7d095e3f4305792427c455309d076c0d401cd1d129b8e15a1a2727e57c5bc9ea68ec06cc9199936613b357344982451ce74e71cee0
7
- data.tar.gz: 13505e297460f0044ff696d2015f17df17dbd6062373f41e7b228d8aa541f9c9367803c0949673ec0ac637f6d354005963faa4ec67631d695f94f16e28ccc830
6
+ metadata.gz: e30683265aa47c9b771d9f1ed6c7a0bf185d1d275b59c6fddabdac87b714accc86d08398a74b25e54055d7684c99d31868d1aa0eb55b91de0e3266bdfd6c19d4
7
+ data.tar.gz: 009e6c4d9847b9c5513b00c3793141437a54006ec1197a7e9288b1f880c9dbedfd6e52c60750b4543fe8fa015cb02533d14cb9f7e9dcf50ee87229ace36ba07b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.363
1
+ 1.0.364
@@ -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
- attr_accessor :Status, :Enable, :RuleId, :Url, :Interval, :AliveNum, :KickNum, :Method, :StatusCode
5813
-
5814
- def initialize(status=nil, enable=nil, ruleid=nil, url=nil, interval=nil, alivenum=nil, kicknum=nil, method=nil, statuscode=nil)
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,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.363
4
+ version: 1.0.364
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-07-25 00:00:00.000000000 Z
11
+ date: 2022-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common