tencentcloud-sdk-cfw 3.0.1194 → 3.0.1195

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: c2daf3f3d73588273b098ab8641aebb799b3c8c0
4
- data.tar.gz: ca84fe60897dfad428341dcf8f98abd9ea42fb50
3
+ metadata.gz: 781e6be073868a5372fb77d79269f2dcaacd2ca3
4
+ data.tar.gz: 4e2f033336e8beeb5baa0d0c5863d0384d336035
5
5
  SHA512:
6
- metadata.gz: 84798e8bcfe8fdaddd2a9f14706065dd3c8916664046fa7f921745641b8625a97a1ac13a21aa574e67e38dda199289208f204aa3bd441046431994a938a7ed85
7
- data.tar.gz: b5289d30fd97114366053166cc3c1c183d3a4e59481965fafd8a79a1741dd5056ce6cc4ff03e47c0adc52048781f64e0ebc032cb91b5339f127f918a5a0df17f
6
+ metadata.gz: 8fe02665fe45341161d4493071e535ebcb56f106575af15e97c99cb43dd3da0ef1b494628e838d621003ceefb7f5059318b40e3c860ed6097046a686a676b219
7
+ data.tar.gz: b50b904eb2be485a283852e2c29fc11c18e0cd75bf30c5d3801baed16b145d811824b40115132b5bc50a8220e57ba13f55b5280f237766be10aece55d010d866
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1194
1
+ 3.0.1195
@@ -895,6 +895,30 @@ module TencentCloud
895
895
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
896
896
  end
897
897
 
898
+ # 查询CCN中VPC防火墙接入策略配置时的规则数量限制
899
+
900
+ # @param request: Request instance for DescribeCcnVpcFwPolicyLimit.
901
+ # @type request: :class:`Tencentcloud::cfw::V20190904::DescribeCcnVpcFwPolicyLimitRequest`
902
+ # @rtype: :class:`Tencentcloud::cfw::V20190904::DescribeCcnVpcFwPolicyLimitResponse`
903
+ def DescribeCcnVpcFwPolicyLimit(request)
904
+ body = send_request('DescribeCcnVpcFwPolicyLimit', request.serialize)
905
+ response = JSON.parse(body)
906
+ if response['Response'].key?('Error') == false
907
+ model = DescribeCcnVpcFwPolicyLimitResponse.new
908
+ model.deserialize(response['Response'])
909
+ model
910
+ else
911
+ code = response['Response']['Error']['Code']
912
+ message = response['Response']['Error']['Message']
913
+ reqid = response['Response']['RequestId']
914
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
915
+ end
916
+ rescue TencentCloud::Common::TencentCloudSDKException => e
917
+ raise e
918
+ rescue StandardError => e
919
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
920
+ end
921
+
898
922
  # 查询CCN VPC防火墙开关配置
899
923
 
900
924
  # @param request: Request instance for DescribeCcnVpcFwSwitch.
@@ -967,6 +991,30 @@ module TencentCloud
967
991
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
968
992
  end
969
993
 
994
+ # 查询集群模式Vpc间防火墙开关
995
+
996
+ # @param request: Request instance for DescribeClusterVpcFwSwitchs.
997
+ # @type request: :class:`Tencentcloud::cfw::V20190904::DescribeClusterVpcFwSwitchsRequest`
998
+ # @rtype: :class:`Tencentcloud::cfw::V20190904::DescribeClusterVpcFwSwitchsResponse`
999
+ def DescribeClusterVpcFwSwitchs(request)
1000
+ body = send_request('DescribeClusterVpcFwSwitchs', request.serialize)
1001
+ response = JSON.parse(body)
1002
+ if response['Response'].key?('Error') == false
1003
+ model = DescribeClusterVpcFwSwitchsResponse.new
1004
+ model.deserialize(response['Response'])
1005
+ model
1006
+ else
1007
+ code = response['Response']['Error']['Code']
1008
+ message = response['Response']['Error']['Message']
1009
+ reqid = response['Response']['RequestId']
1010
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1011
+ end
1012
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1013
+ raise e
1014
+ rescue StandardError => e
1015
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1016
+ end
1017
+
970
1018
  # 获取入侵防御按钮列表
971
1019
 
972
1020
  # @param request: Request instance for DescribeDefenseSwitch.
@@ -446,6 +446,30 @@ module TencentCloud
446
446
  end
447
447
  end
448
448
 
449
+ # 关联实例信息
450
+ class AttachInsInfo < TencentCloud::Common::AbstractModel
451
+ # @param InsId: 实例对象可以是cvm类型:ins-ad21xuds1形式;路由表类型:rtb-da12daxd形式;vpc类型:vpc-1dxdad2d形式
452
+ # @type InsId: String
453
+ # @param InsName: 实例对象名称
454
+ # @type InsName: String
455
+ # @param Cidr: 实例的cidr
456
+ # @type Cidr: String
457
+
458
+ attr_accessor :InsId, :InsName, :Cidr
459
+
460
+ def initialize(insid=nil, insname=nil, cidr=nil)
461
+ @InsId = insid
462
+ @InsName = insname
463
+ @Cidr = cidr
464
+ end
465
+
466
+ def deserialize(params)
467
+ @InsId = params['InsId']
468
+ @InsName = params['InsName']
469
+ @Cidr = params['Cidr']
470
+ end
471
+ end
472
+
449
473
  # 封禁列表和放通列表结构体
450
474
  class BanAndAllowRule < TencentCloud::Common::AbstractModel
451
475
  # @param Comment: 规则评论
@@ -812,6 +836,111 @@ module TencentCloud
812
836
  end
813
837
  end
814
838
 
839
+ # 集群模式防火墙开关数据详情
840
+ class ClusterSwitchDetail < TencentCloud::Common::AbstractModel
841
+ # @param InsObj: 实例对象可以是ccnid类型:ccn-ad21xuds形式;nat网关类型:nat-da12daxd形式;ip类型:1.1.1.1形式等
842
+ # @type InsObj: String
843
+ # @param ObjName: 实例对象名称
844
+ # @type ObjName: String
845
+ # @param FwType: 防火墙类型,ew:vpc间防火墙;nat:nat防火墙;border:互联网边界防火墙
846
+ # @type FwType: String
847
+ # @param AssetType: 资产类型,ccn:ccn实例类型;nat:nat网关类型
848
+ # @type AssetType: String
849
+ # @param Region: 地域
850
+ # @type Region: String
851
+ # @param Status: 开关状态
852
+ # 0 : 关闭
853
+ # 1 : 开启
854
+ # 2 : 开启中
855
+ # 3 : 关闭中
856
+ # 4 : 异常
857
+ # @type Status: Integer
858
+ # @param SwitchMode: 开关接入模式,1:自动接入;2,手动接入,0:未选择
859
+ # @type SwitchMode: Integer
860
+ # @param NonCluster: 实例对象是否处于非集群接入场景(主备模式)
861
+ # @type NonCluster: Integer
862
+ # @param IpVersion: ip版本,0:ipv4;1:ipv6
863
+ # @type IpVersion: Integer
864
+ # @param AttachIns: 关联实例
865
+ # 注意:此字段可能返回 null,表示取不到有效值。
866
+ # @type AttachIns: Array
867
+ # @param Endpoints: 引流私有网络端点信息
868
+ # 注意:此字段可能返回 null,表示取不到有效值。
869
+ # @type Endpoints: Array
870
+ # @param Idpsaction: 入侵防护模式,0:观察;1:拦截;2:严格;3:关闭
871
+ # @type Idpsaction: Integer
872
+ # @param TransEnable: //透明模式开关,0:未开启,1:已开启
873
+ # @type TransEnable: Integer
874
+ # @param Enable: 开关状态 0关闭 1开启
875
+ # @type Enable: Integer
876
+ # @param RoutingMode: 路由模式:0:多路由表,1:策略路由
877
+ # @type RoutingMode: Integer
878
+ # @param IsPeer: 是否跨租户开关 1是 0不是
879
+ # @type IsPeer: Integer
880
+ # @param PeerAppid: 跨租户appid
881
+ # @type PeerAppid: String
882
+ # @param PeerStatus: 跨租户操作状态 1不允许操作 0可以
883
+ # @type PeerStatus: Integer
884
+
885
+ attr_accessor :InsObj, :ObjName, :FwType, :AssetType, :Region, :Status, :SwitchMode, :NonCluster, :IpVersion, :AttachIns, :Endpoints, :Idpsaction, :TransEnable, :Enable, :RoutingMode, :IsPeer, :PeerAppid, :PeerStatus
886
+
887
+ def initialize(insobj=nil, objname=nil, fwtype=nil, assettype=nil, region=nil, status=nil, switchmode=nil, noncluster=nil, ipversion=nil, attachins=nil, endpoints=nil, idpsaction=nil, transenable=nil, enable=nil, routingmode=nil, ispeer=nil, peerappid=nil, peerstatus=nil)
888
+ @InsObj = insobj
889
+ @ObjName = objname
890
+ @FwType = fwtype
891
+ @AssetType = assettype
892
+ @Region = region
893
+ @Status = status
894
+ @SwitchMode = switchmode
895
+ @NonCluster = noncluster
896
+ @IpVersion = ipversion
897
+ @AttachIns = attachins
898
+ @Endpoints = endpoints
899
+ @Idpsaction = idpsaction
900
+ @TransEnable = transenable
901
+ @Enable = enable
902
+ @RoutingMode = routingmode
903
+ @IsPeer = ispeer
904
+ @PeerAppid = peerappid
905
+ @PeerStatus = peerstatus
906
+ end
907
+
908
+ def deserialize(params)
909
+ @InsObj = params['InsObj']
910
+ @ObjName = params['ObjName']
911
+ @FwType = params['FwType']
912
+ @AssetType = params['AssetType']
913
+ @Region = params['Region']
914
+ @Status = params['Status']
915
+ @SwitchMode = params['SwitchMode']
916
+ @NonCluster = params['NonCluster']
917
+ @IpVersion = params['IpVersion']
918
+ unless params['AttachIns'].nil?
919
+ @AttachIns = []
920
+ params['AttachIns'].each do |i|
921
+ attachinsinfo_tmp = AttachInsInfo.new
922
+ attachinsinfo_tmp.deserialize(i)
923
+ @AttachIns << attachinsinfo_tmp
924
+ end
925
+ end
926
+ unless params['Endpoints'].nil?
927
+ @Endpoints = []
928
+ params['Endpoints'].each do |i|
929
+ endpointinfo_tmp = EndpointInfo.new
930
+ endpointinfo_tmp.deserialize(i)
931
+ @Endpoints << endpointinfo_tmp
932
+ end
933
+ end
934
+ @Idpsaction = params['Idpsaction']
935
+ @TransEnable = params['TransEnable']
936
+ @Enable = params['Enable']
937
+ @RoutingMode = params['RoutingMode']
938
+ @IsPeer = params['IsPeer']
939
+ @PeerAppid = params['PeerAppid']
940
+ @PeerStatus = params['PeerStatus']
941
+ end
942
+ end
943
+
815
944
  # 日志分析的列属性
816
945
  class Column < TencentCloud::Common::AbstractModel
817
946
  # @param Name: 列的名字
@@ -3333,6 +3462,45 @@ module TencentCloud
3333
3462
  end
3334
3463
  end
3335
3464
 
3465
+ # DescribeCcnVpcFwPolicyLimit请求参数结构体
3466
+ class DescribeCcnVpcFwPolicyLimitRequest < TencentCloud::Common::AbstractModel
3467
+
3468
+
3469
+ def initialize()
3470
+ end
3471
+
3472
+ def deserialize(params)
3473
+ end
3474
+ end
3475
+
3476
+ # DescribeCcnVpcFwPolicyLimit返回参数结构体
3477
+ class DescribeCcnVpcFwPolicyLimitResponse < TencentCloud::Common::AbstractModel
3478
+ # @param CcnPolicyInterconnectPairLenLimit: 支持的引流策略数量(最外层总条数)
3479
+ # @type CcnPolicyInterconnectPairLenLimit: Integer
3480
+ # @param CcnPolicyGroupLenLimit: 单条引流策略中单组的最大配置数量(内层单组总条数)
3481
+ # @type CcnPolicyGroupLenLimit: Integer
3482
+ # @param CcnPolicyCidrLenLimit: 接入的实例网段长度(网段数量)限制
3483
+ # @type CcnPolicyCidrLenLimit: Integer
3484
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3485
+ # @type RequestId: String
3486
+
3487
+ attr_accessor :CcnPolicyInterconnectPairLenLimit, :CcnPolicyGroupLenLimit, :CcnPolicyCidrLenLimit, :RequestId
3488
+
3489
+ def initialize(ccnpolicyinterconnectpairlenlimit=nil, ccnpolicygrouplenlimit=nil, ccnpolicycidrlenlimit=nil, requestid=nil)
3490
+ @CcnPolicyInterconnectPairLenLimit = ccnpolicyinterconnectpairlenlimit
3491
+ @CcnPolicyGroupLenLimit = ccnpolicygrouplenlimit
3492
+ @CcnPolicyCidrLenLimit = ccnpolicycidrlenlimit
3493
+ @RequestId = requestid
3494
+ end
3495
+
3496
+ def deserialize(params)
3497
+ @CcnPolicyInterconnectPairLenLimit = params['CcnPolicyInterconnectPairLenLimit']
3498
+ @CcnPolicyGroupLenLimit = params['CcnPolicyGroupLenLimit']
3499
+ @CcnPolicyCidrLenLimit = params['CcnPolicyCidrLenLimit']
3500
+ @RequestId = params['RequestId']
3501
+ end
3502
+ end
3503
+
3336
3504
  # DescribeCcnVpcFwSwitch请求参数结构体
3337
3505
  class DescribeCcnVpcFwSwitchRequest < TencentCloud::Common::AbstractModel
3338
3506
  # @param CcnId: 云联网ID
@@ -3471,6 +3639,89 @@ module TencentCloud
3471
3639
  end
3472
3640
  end
3473
3641
 
3642
+ # DescribeClusterVpcFwSwitchs请求参数结构体
3643
+ class DescribeClusterVpcFwSwitchsRequest < TencentCloud::Common::AbstractModel
3644
+ # @param Index: 需要查询的索引,特定场景使用,可不填
3645
+ # @type Index: String
3646
+ # @param Filters: 过滤条件组合
3647
+ # @type Filters: Array
3648
+ # @param Limit: 每页条数
3649
+ # @type Limit: Integer
3650
+ # @param Offset: 偏移值
3651
+ # @type Offset: Integer
3652
+ # @param StartTime: 检索的起始时间,可不传
3653
+ # @type StartTime: String
3654
+ # @param EndTime: 检索的截止时间,可不传
3655
+ # @type EndTime: String
3656
+ # @param Order: desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值
3657
+ # @type Order: String
3658
+ # @param By: 排序所用到的字段
3659
+ # @type By: String
3660
+
3661
+ attr_accessor :Index, :Filters, :Limit, :Offset, :StartTime, :EndTime, :Order, :By
3662
+
3663
+ def initialize(index=nil, filters=nil, limit=nil, offset=nil, starttime=nil, endtime=nil, order=nil, by=nil)
3664
+ @Index = index
3665
+ @Filters = filters
3666
+ @Limit = limit
3667
+ @Offset = offset
3668
+ @StartTime = starttime
3669
+ @EndTime = endtime
3670
+ @Order = order
3671
+ @By = by
3672
+ end
3673
+
3674
+ def deserialize(params)
3675
+ @Index = params['Index']
3676
+ unless params['Filters'].nil?
3677
+ @Filters = []
3678
+ params['Filters'].each do |i|
3679
+ commonfilter_tmp = CommonFilter.new
3680
+ commonfilter_tmp.deserialize(i)
3681
+ @Filters << commonfilter_tmp
3682
+ end
3683
+ end
3684
+ @Limit = params['Limit']
3685
+ @Offset = params['Offset']
3686
+ @StartTime = params['StartTime']
3687
+ @EndTime = params['EndTime']
3688
+ @Order = params['Order']
3689
+ @By = params['By']
3690
+ end
3691
+ end
3692
+
3693
+ # DescribeClusterVpcFwSwitchs返回参数结构体
3694
+ class DescribeClusterVpcFwSwitchsResponse < TencentCloud::Common::AbstractModel
3695
+ # @param Total: 总条数
3696
+ # @type Total: Integer
3697
+ # @param Data: 防火墙开关列表
3698
+ # 注意:此字段可能返回 null,表示取不到有效值。
3699
+ # @type Data: Array
3700
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3701
+ # @type RequestId: String
3702
+
3703
+ attr_accessor :Total, :Data, :RequestId
3704
+
3705
+ def initialize(total=nil, data=nil, requestid=nil)
3706
+ @Total = total
3707
+ @Data = data
3708
+ @RequestId = requestid
3709
+ end
3710
+
3711
+ def deserialize(params)
3712
+ @Total = params['Total']
3713
+ unless params['Data'].nil?
3714
+ @Data = []
3715
+ params['Data'].each do |i|
3716
+ clusterswitchdetail_tmp = ClusterSwitchDetail.new
3717
+ clusterswitchdetail_tmp.deserialize(i)
3718
+ @Data << clusterswitchdetail_tmp
3719
+ end
3720
+ end
3721
+ @RequestId = params['RequestId']
3722
+ end
3723
+ end
3724
+
3474
3725
  # DescribeDefenseSwitch请求参数结构体
3475
3726
  class DescribeDefenseSwitchRequest < TencentCloud::Common::AbstractModel
3476
3727
 
@@ -5809,6 +6060,34 @@ module TencentCloud
5809
6060
  end
5810
6061
  end
5811
6062
 
6063
+ # 私有连接端点信息
6064
+ class EndpointInfo < TencentCloud::Common::AbstractModel
6065
+ # @param EndpointId: 引流私有连接端点id
6066
+ # @type EndpointId: String
6067
+ # @param VpcId: 引流VpcId
6068
+ # @type VpcId: String
6069
+ # @param Region: 所属地域
6070
+ # @type Region: String
6071
+ # @param VpcCidr: 引流Vpc的Cidr
6072
+ # @type VpcCidr: String
6073
+
6074
+ attr_accessor :EndpointId, :VpcId, :Region, :VpcCidr
6075
+
6076
+ def initialize(endpointid=nil, vpcid=nil, region=nil, vpccidr=nil)
6077
+ @EndpointId = endpointid
6078
+ @VpcId = vpcid
6079
+ @Region = region
6080
+ @VpcCidr = vpccidr
6081
+ end
6082
+
6083
+ def deserialize(params)
6084
+ @EndpointId = params['EndpointId']
6085
+ @VpcId = params['VpcId']
6086
+ @Region = params['Region']
6087
+ @VpcCidr = params['VpcCidr']
6088
+ end
6089
+ end
6090
+
5812
6091
  # 企业安全组自动化任务信息
5813
6092
  class EnterpriseSecurityGroupRuleBetaInfo < TencentCloud::Common::AbstractModel
5814
6093
  # @param TaskId: 任务id
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.1194
4
+ version: 3.0.1195
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-12-31 00:00:00.000000000 Z
11
+ date: 2026-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common