tencentcloud-sdk-cfw 3.0.485 → 3.0.486

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190904/models.rb +78 -6
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d9b30b846fa002618a540b7acf37db82dc8b7176
4
- data.tar.gz: 2f79d6db75032818a64f0b054fa812c504a85796
3
+ metadata.gz: 456dc8a76283d5cba0fbe0ee6f1e6e5e3b6e65ee
4
+ data.tar.gz: 860e02f6d8758cdf1fda09d7209bd5c576a5e5c3
5
5
  SHA512:
6
- metadata.gz: e2bdc3aec83c1b6851ac23b771f8a8ab11ab14d2d82f5c1aea4f2649be7c7b18d91b9b733287deb350ccd79cef5ec2db0706fc4dd931ecd81135f3c75c26f927
7
- data.tar.gz: 493f195e8e58a77640341e20fe71af9cc3ffcf31512e9e21629122310dae538034056c7c5972271ab2b1b0fb2ec8aa6b7e3a2baeb40ac409e346844219624e1f
6
+ metadata.gz: 452073ed166841e525504f5a471e568cd3c96adef20a506fe6d61265f8d14e75d463c4ab1d9048af6a05b4db0f13dc74cdaee373d6f500b2da9df227ad1aa0e8
7
+ data.tar.gz: ccecef0bf1421e84d937188fefa5d8ac7a70aef7cf0608fece8216992dc20da4c097e8cc3a261edd9f7a52919953d9b3d2a1046a4743a8301a94cccec3068f37
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.485
1
+ 3.0.486
@@ -557,10 +557,12 @@ module TencentCloud
557
557
  # @type ZoneBak: String
558
558
  # @param CrossAZone: 异地灾备 1:使用异地灾备;0:不使用异地灾备;为空则默认不使用异地灾备
559
559
  # @type CrossAZone: Integer
560
+ # @param FwCidrInfo: 指定防火墙使用网段信息
561
+ # @type FwCidrInfo: :class:`Tencentcloud::Cfw.v20190904.models.FwCidrInfo`
560
562
 
561
- attr_accessor :Name, :Width, :Mode, :NewModeItems, :NatGwList, :Zone, :ZoneBak, :CrossAZone
563
+ attr_accessor :Name, :Width, :Mode, :NewModeItems, :NatGwList, :Zone, :ZoneBak, :CrossAZone, :FwCidrInfo
562
564
 
563
- def initialize(name=nil, width=nil, mode=nil, newmodeitems=nil, natgwlist=nil, zone=nil, zonebak=nil, crossazone=nil)
565
+ def initialize(name=nil, width=nil, mode=nil, newmodeitems=nil, natgwlist=nil, zone=nil, zonebak=nil, crossazone=nil, fwcidrinfo=nil)
564
566
  @Name = name
565
567
  @Width = width
566
568
  @Mode = mode
@@ -569,6 +571,7 @@ module TencentCloud
569
571
  @Zone = zone
570
572
  @ZoneBak = zonebak
571
573
  @CrossAZone = crossazone
574
+ @FwCidrInfo = fwcidrinfo
572
575
  end
573
576
 
574
577
  def deserialize(params)
@@ -583,6 +586,10 @@ module TencentCloud
583
586
  @Zone = params['Zone']
584
587
  @ZoneBak = params['ZoneBak']
585
588
  @CrossAZone = params['CrossAZone']
589
+ unless params['FwCidrInfo'].nil?
590
+ @FwCidrInfo = FwCidrInfo.new
591
+ @FwCidrInfo.deserialize(params['FwCidrInfo'])
592
+ end
586
593
  end
587
594
  end
588
595
 
@@ -628,10 +635,12 @@ module TencentCloud
628
635
  # @type IsCreateDomain: Integer
629
636
  # @param Domain: 如果要创建域名则必填
630
637
  # @type Domain: String
638
+ # @param FwCidrInfo: 指定防火墙使用网段信息
639
+ # @type FwCidrInfo: :class:`Tencentcloud::Cfw.v20190904.models.FwCidrInfo`
631
640
 
632
- attr_accessor :Name, :Width, :Mode, :NewModeItems, :NatGwList, :Zone, :ZoneBak, :CrossAZone, :IsCreateDomain, :Domain
641
+ attr_accessor :Name, :Width, :Mode, :NewModeItems, :NatGwList, :Zone, :ZoneBak, :CrossAZone, :IsCreateDomain, :Domain, :FwCidrInfo
633
642
 
634
- def initialize(name=nil, width=nil, mode=nil, newmodeitems=nil, natgwlist=nil, zone=nil, zonebak=nil, crossazone=nil, iscreatedomain=nil, domain=nil)
643
+ def initialize(name=nil, width=nil, mode=nil, newmodeitems=nil, natgwlist=nil, zone=nil, zonebak=nil, crossazone=nil, iscreatedomain=nil, domain=nil, fwcidrinfo=nil)
635
644
  @Name = name
636
645
  @Width = width
637
646
  @Mode = mode
@@ -642,6 +651,7 @@ module TencentCloud
642
651
  @CrossAZone = crossazone
643
652
  @IsCreateDomain = iscreatedomain
644
653
  @Domain = domain
654
+ @FwCidrInfo = fwcidrinfo
645
655
  end
646
656
 
647
657
  def deserialize(params)
@@ -658,6 +668,10 @@ module TencentCloud
658
668
  @CrossAZone = params['CrossAZone']
659
669
  @IsCreateDomain = params['IsCreateDomain']
660
670
  @Domain = params['Domain']
671
+ unless params['FwCidrInfo'].nil?
672
+ @FwCidrInfo = FwCidrInfo.new
673
+ @FwCidrInfo.deserialize(params['FwCidrInfo'])
674
+ end
661
675
  end
662
676
  end
663
677
 
@@ -2580,6 +2594,57 @@ module TencentCloud
2580
2594
  end
2581
2595
  end
2582
2596
 
2597
+ # 防火墙网段信息
2598
+ class FwCidrInfo < TencentCloud::Common::AbstractModel
2599
+ # @param FwCidrType: 防火墙使用的网段类型,值VpcSelf/Assis/Custom分别代表自有网段优先/扩展网段优先/自定义
2600
+ # @type FwCidrType: String
2601
+ # @param FwCidrLst: 为每个vpc指定防火墙的网段
2602
+ # @type FwCidrLst: Array
2603
+ # @param ComFwCidr: 其他防火墙占用网段,一般是防火墙需要独占vpc时指定的网段
2604
+ # @type ComFwCidr: String
2605
+
2606
+ attr_accessor :FwCidrType, :FwCidrLst, :ComFwCidr
2607
+
2608
+ def initialize(fwcidrtype=nil, fwcidrlst=nil, comfwcidr=nil)
2609
+ @FwCidrType = fwcidrtype
2610
+ @FwCidrLst = fwcidrlst
2611
+ @ComFwCidr = comfwcidr
2612
+ end
2613
+
2614
+ def deserialize(params)
2615
+ @FwCidrType = params['FwCidrType']
2616
+ unless params['FwCidrLst'].nil?
2617
+ @FwCidrLst = []
2618
+ params['FwCidrLst'].each do |i|
2619
+ fwvpccidr_tmp = FwVpcCidr.new
2620
+ fwvpccidr_tmp.deserialize(i)
2621
+ @FwCidrLst << fwvpccidr_tmp
2622
+ end
2623
+ end
2624
+ @ComFwCidr = params['ComFwCidr']
2625
+ end
2626
+ end
2627
+
2628
+ # vpc的防火墙网段
2629
+ class FwVpcCidr < TencentCloud::Common::AbstractModel
2630
+ # @param VpcId: vpc的id
2631
+ # @type VpcId: String
2632
+ # @param FwCidr: 防火墙网段,最少/24的网段
2633
+ # @type FwCidr: String
2634
+
2635
+ attr_accessor :VpcId, :FwCidr
2636
+
2637
+ def initialize(vpcid=nil, fwcidr=nil)
2638
+ @VpcId = vpcid
2639
+ @FwCidr = fwcidr
2640
+ end
2641
+
2642
+ def deserialize(params)
2643
+ @VpcId = params['VpcId']
2644
+ @FwCidr = params['FwCidr']
2645
+ end
2646
+ end
2647
+
2583
2648
  # ip防护状态
2584
2649
  class IPDefendStatus < TencentCloud::Common::AbstractModel
2585
2650
  # @param IP: ip地址
@@ -3098,14 +3163,17 @@ module TencentCloud
3098
3163
  # @type NatGwList: Array
3099
3164
  # @param VpcList: 新增模式重新接入的vpc列表,其中NatGwList和NatgwList只能传递一个。
3100
3165
  # @type VpcList: Array
3166
+ # @param FwCidrInfo: 指定防火墙使用网段信息
3167
+ # @type FwCidrInfo: :class:`Tencentcloud::Cfw.v20190904.models.FwCidrInfo`
3101
3168
 
3102
- attr_accessor :Mode, :CfwInstance, :NatGwList, :VpcList
3169
+ attr_accessor :Mode, :CfwInstance, :NatGwList, :VpcList, :FwCidrInfo
3103
3170
 
3104
- def initialize(mode=nil, cfwinstance=nil, natgwlist=nil, vpclist=nil)
3171
+ def initialize(mode=nil, cfwinstance=nil, natgwlist=nil, vpclist=nil, fwcidrinfo=nil)
3105
3172
  @Mode = mode
3106
3173
  @CfwInstance = cfwinstance
3107
3174
  @NatGwList = natgwlist
3108
3175
  @VpcList = vpclist
3176
+ @FwCidrInfo = fwcidrinfo
3109
3177
  end
3110
3178
 
3111
3179
  def deserialize(params)
@@ -3113,6 +3181,10 @@ module TencentCloud
3113
3181
  @CfwInstance = params['CfwInstance']
3114
3182
  @NatGwList = params['NatGwList']
3115
3183
  @VpcList = params['VpcList']
3184
+ unless params['FwCidrInfo'].nil?
3185
+ @FwCidrInfo = FwCidrInfo.new
3186
+ @FwCidrInfo.deserialize(params['FwCidrInfo'])
3187
+ end
3116
3188
  end
3117
3189
  end
3118
3190
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cfw
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.485
4
+ version: 3.0.486
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-03 00:00:00.000000000 Z
11
+ date: 2023-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common