tencentcloud-sdk-waf 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 597c83573596d5a4d385ee892d7e4fce3752f536
4
- data.tar.gz: 7e8ee31a15cad4ee34aee5af6dcdc917e09eab30
3
+ metadata.gz: 7f25cae3c2d2e122869d8f1d905d32dbd864f5d1
4
+ data.tar.gz: d6a6d73aafef578eb8edd935634d5a8b7f677572
5
5
  SHA512:
6
- metadata.gz: dc95f4694fc94ce8e21ea32d390f56d26726dc177856874b90df87bc9c1d9e53cbfd096e6036666c75183f4fb89a2705562d8e3b608ea619891df87b5b8b5345
7
- data.tar.gz: a35aa3eb2c5430db8678b5b2ef94de635bc93b670292cc42983357b37cea4bbf79f89fff2288c83748b7a784b11b0770691313e482298659f71f4629483c2734
6
+ metadata.gz: 24548f54a967dcad63186a426a697787d384a29709e433ba127981974bdfb35dd0c761ec60e1f4e3ab60f15cbed4d1ff0d8b5970c6fff9968daa0b8f65a55778
7
+ data.tar.gz: 27cd8b11b1d5e07c65c6aa028842e6dded6dd48fbc597420e3931f2b6a2af982a07c56d5f62e35d6120264caba461406e4057635a8ce6e97a36932833f0674b7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.363
1
+ 3.0.379
@@ -511,6 +511,30 @@ module TencentCloud
511
511
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
512
512
  end
513
513
 
514
+ # 在CDC场景下,负载均衡型WAF的添加、编辑域名配置的时候,需要展示CDC负载均衡型WAF(cdc-clb-waf)支持的地域列表,通过DescribeUserCdcClbWafRegions既可以获得当前对客户已经开放的地域列表
515
+
516
+ # @param request: Request instance for DescribeUserCdcClbWafRegions.
517
+ # @type request: :class:`Tencentcloud::waf::V20180125::DescribeUserCdcClbWafRegionsRequest`
518
+ # @rtype: :class:`Tencentcloud::waf::V20180125::DescribeUserCdcClbWafRegionsResponse`
519
+ def DescribeUserCdcClbWafRegions(request)
520
+ body = send_request('DescribeUserCdcClbWafRegions', request.serialize)
521
+ response = JSON.parse(body)
522
+ if response['Response'].key?('Error') == false
523
+ model = DescribeUserCdcClbWafRegionsResponse.new
524
+ model.deserialize(response['Response'])
525
+ model
526
+ else
527
+ code = response['Response']['Error']['Code']
528
+ message = response['Response']['Error']['Message']
529
+ reqid = response['Response']['RequestId']
530
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
531
+ end
532
+ rescue TencentCloud::Common::TencentCloudSDKException => e
533
+ raise e
534
+ rescue StandardError => e
535
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
536
+ end
537
+
514
538
  # 在负载均衡型WAF的添加、编辑域名配置的时候,需要展示负载均衡型WAF(clb-waf)支持的地域列表,通过DescribeUserClbWafRegions既可以获得当前对客户已经开放的地域列表
515
539
 
516
540
  # @param request: Request instance for DescribeUserClbWafRegions.
@@ -676,6 +676,55 @@ module TencentCloud
676
676
  end
677
677
  end
678
678
 
679
+ # CDC场景下负载均衡WAF的集群信息
680
+ class CdcCluster < TencentCloud::Common::AbstractModel
681
+ # @param Id: cdc的集群id
682
+ # @type Id: String
683
+ # @param Name: cdc的集群名称
684
+ # 注意:此字段可能返回 null,表示取不到有效值。
685
+ # @type Name: String
686
+
687
+ attr_accessor :Id, :Name
688
+
689
+ def initialize(id=nil, name=nil)
690
+ @Id = id
691
+ @Name = name
692
+ end
693
+
694
+ def deserialize(params)
695
+ @Id = params['Id']
696
+ @Name = params['Name']
697
+ end
698
+ end
699
+
700
+ # CDC场景下负载均衡WAF的地域信息
701
+ class CdcRegion < TencentCloud::Common::AbstractModel
702
+ # @param Region: 地域
703
+ # @type Region: String
704
+ # @param Clusters: 该地域对应的集群信息
705
+ # 注意:此字段可能返回 null,表示取不到有效值。
706
+ # @type Clusters: Array
707
+
708
+ attr_accessor :Region, :Clusters
709
+
710
+ def initialize(region=nil, clusters=nil)
711
+ @Region = region
712
+ @Clusters = clusters
713
+ end
714
+
715
+ def deserialize(params)
716
+ @Region = params['Region']
717
+ unless params['Clusters'].nil?
718
+ @Clusters = []
719
+ params['Clusters'].each do |i|
720
+ cdccluster_tmp = CdcCluster.new
721
+ cdccluster_tmp.deserialize(i)
722
+ @Clusters << cdccluster_tmp
723
+ end
724
+ end
725
+ end
726
+ end
727
+
679
728
  # CreateAccessExport请求参数结构体
680
729
  class CreateAccessExportRequest < TencentCloud::Common::AbstractModel
681
730
  # @param TopicId: 客户要查询的日志主题ID,每个客户都有对应的一个主题
@@ -1610,6 +1659,45 @@ module TencentCloud
1610
1659
  end
1611
1660
  end
1612
1661
 
1662
+ # DescribeUserCdcClbWafRegions请求参数结构体
1663
+ class DescribeUserCdcClbWafRegionsRequest < TencentCloud::Common::AbstractModel
1664
+
1665
+
1666
+ def initialize()
1667
+ end
1668
+
1669
+ def deserialize(params)
1670
+ end
1671
+ end
1672
+
1673
+ # DescribeUserCdcClbWafRegions返回参数结构体
1674
+ class DescribeUserCdcClbWafRegionsResponse < TencentCloud::Common::AbstractModel
1675
+ # @param Data: CdcRegion的类型描述
1676
+ # 注意:此字段可能返回 null,表示取不到有效值。
1677
+ # @type Data: Array
1678
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1679
+ # @type RequestId: String
1680
+
1681
+ attr_accessor :Data, :RequestId
1682
+
1683
+ def initialize(data=nil, requestid=nil)
1684
+ @Data = data
1685
+ @RequestId = requestid
1686
+ end
1687
+
1688
+ def deserialize(params)
1689
+ unless params['Data'].nil?
1690
+ @Data = []
1691
+ params['Data'].each do |i|
1692
+ cdcregion_tmp = CdcRegion.new
1693
+ cdcregion_tmp.deserialize(i)
1694
+ @Data << cdcregion_tmp
1695
+ end
1696
+ end
1697
+ @RequestId = params['RequestId']
1698
+ end
1699
+ end
1700
+
1613
1701
  # DescribeUserClbWafRegions请求参数结构体
1614
1702
  class DescribeUserClbWafRegionsRequest < TencentCloud::Common::AbstractModel
1615
1703
 
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-waf
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.363
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-07-25 00:00:00.000000000 Z
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
- - lib/tencentcloud-sdk-waf.rb
38
- - lib/v20180125/client.rb
39
36
  - lib/v20180125/models.rb
37
+ - lib/v20180125/client.rb
38
+ - lib/tencentcloud-sdk-waf.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.6.14
62
+ rubygems_version: 2.0.14
63
63
  signing_key:
64
64
  specification_version: 4
65
65
  summary: Tencent Cloud SDK for Ruby - WAF