tencentcloud-sdk-antiddos 1.0.362 → 3.0.371

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: 2376eac02598f6df540119641b3cff849ef9e566
4
- data.tar.gz: 002c1439706e43938962e48595e27984edb099ad
3
+ metadata.gz: f937df53a1481230c98fc374181e203762d3d38e
4
+ data.tar.gz: b2235098b67d64b005b0cf3d17a2ba30cd957192
5
5
  SHA512:
6
- metadata.gz: 9653452388f4f5a300839919fb51800fa689683968c37aea8855cc7a4cafe24d6d46411bde0af0f4cea2dfa5d3c74275a2fe75d16708bd1b299a333827ec576a
7
- data.tar.gz: 06bc6e46f713c4be2b5240446a5c1dfc58ced210567c58ac6a9e59cb8349a62a10ca10651c4267f9fd5ff4a6e5d8331971f4f06e88f21c810f2ff08db80ad7b1
6
+ metadata.gz: 3d2eec0cedd4657fa1e6eb4f81a6bac758225c6318b7faa372c77bcfdfd3cc2f62707b075084a8a778da105b486a4ec3e4806f7fbf92ed74d50ef773327f8cc5
7
+ data.tar.gz: da76516dea2995f09305afd9e32d99680befc1cc80c71c82fb722a3f5f262a69683d982e4f5da0777893d51c67932521226e60e356845a37ca4e8bd74ad7bb76
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.362
1
+ 3.0.371
@@ -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.362
4
+ version: 3.0.371
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-24 00:00:00.000000000 Z
11
+ date: 2022-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common