tencentcloud-sdk-cfw 3.0.1194 → 3.0.1199
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190904/client.rb +48 -0
- data/lib/v20190904/models.rb +290 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 333b0ef0726ab89c6c3922be56c4f6546d0f7fe0
|
|
4
|
+
data.tar.gz: c3e070699c56c95bc77df1cb75536e8e6bb8c5e5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0ac77b34b59ad1c27a792d8dc35e5c69dddbb010f291f38b3449f43fc1742a0a256d7f2d1e80c1cf54e409dc1843aaa1f2711256c17b2ba0034a7f1ebde5a0ca
|
|
7
|
+
data.tar.gz: 86e88a8dc31fd241d51b18ed89cc856931251b5390f66b9f283eccb9e616efcef17e2b4acc140635a6e03b64fcc723897ac4f24283255b332586eeda92fa0f07
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1199
|
data/lib/v20190904/client.rb
CHANGED
|
@@ -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.
|
data/lib/v20190904/models.rb
CHANGED
|
@@ -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
|
|
|
@@ -5692,12 +5943,13 @@ module TencentCloud
|
|
|
5692
5943
|
# @param IsSerialRegion: 0: 该地域暂未支持串行
|
|
5693
5944
|
# 1: 该用户未在该地域配置串行带宽
|
|
5694
5945
|
# 2: 该用户已在该地域配置串行带宽,可以开启串行开关
|
|
5946
|
+
# 3. 该地域可以支持串行,但是未部署公共集群
|
|
5695
5947
|
# @type IsSerialRegion: Integer
|
|
5696
5948
|
# @param IsPublicClb: 0: 不是公网CLB 可以开启串行开关
|
|
5697
5949
|
# 1: 是公网CLB 不可以开启串行开关
|
|
5698
5950
|
# @type IsPublicClb: Integer
|
|
5699
5951
|
# @param EndpointBindEipNum: 0: 开启开关时提示要创建私有连接。
|
|
5700
|
-
# 1:
|
|
5952
|
+
# 1: 关闭该开关时提示删除私有连接。
|
|
5701
5953
|
# 如果大于 1: 关闭开关 、开启开关不需提示创建删除私有连接。
|
|
5702
5954
|
# @type EndpointBindEipNum: Integer
|
|
5703
5955
|
# @param ScanMode: 扫描深度
|
|
@@ -5725,10 +5977,15 @@ module TencentCloud
|
|
|
5725
5977
|
# @type Domain: String
|
|
5726
5978
|
# @param OverUsedStatus: IP超量状态
|
|
5727
5979
|
# @type OverUsedStatus: Integer
|
|
5980
|
+
# @param SwitchSupportType: 0 都不支持
|
|
5981
|
+
# 1 支持旁路
|
|
5982
|
+
# 2 支持串行
|
|
5983
|
+
# 3 旁路串行都支持
|
|
5984
|
+
# @type SwitchSupportType: Integer
|
|
5728
5985
|
|
|
5729
|
-
attr_accessor :PublicIp, :PublicIpType, :InstanceId, :InstanceName, :IntranetIp, :AssetType, :Region, :PortRiskCount, :LastScanTime, :IsRegionEip, :VpcId, :IsSerialRegion, :IsPublicClb, :EndpointBindEipNum, :ScanMode, :ScanStatus, :Status, :EndpointId, :EndpointIp, :SwitchMode, :SwitchWeight, :Domain, :OverUsedStatus
|
|
5986
|
+
attr_accessor :PublicIp, :PublicIpType, :InstanceId, :InstanceName, :IntranetIp, :AssetType, :Region, :PortRiskCount, :LastScanTime, :IsRegionEip, :VpcId, :IsSerialRegion, :IsPublicClb, :EndpointBindEipNum, :ScanMode, :ScanStatus, :Status, :EndpointId, :EndpointIp, :SwitchMode, :SwitchWeight, :Domain, :OverUsedStatus, :SwitchSupportType
|
|
5730
5987
|
|
|
5731
|
-
def initialize(publicip=nil, publiciptype=nil, instanceid=nil, instancename=nil, intranetip=nil, assettype=nil, region=nil, portriskcount=nil, lastscantime=nil, isregioneip=nil, vpcid=nil, isserialregion=nil, ispublicclb=nil, endpointbindeipnum=nil, scanmode=nil, scanstatus=nil, status=nil, endpointid=nil, endpointip=nil, switchmode=nil, switchweight=nil, domain=nil, overusedstatus=nil)
|
|
5988
|
+
def initialize(publicip=nil, publiciptype=nil, instanceid=nil, instancename=nil, intranetip=nil, assettype=nil, region=nil, portriskcount=nil, lastscantime=nil, isregioneip=nil, vpcid=nil, isserialregion=nil, ispublicclb=nil, endpointbindeipnum=nil, scanmode=nil, scanstatus=nil, status=nil, endpointid=nil, endpointip=nil, switchmode=nil, switchweight=nil, domain=nil, overusedstatus=nil, switchsupporttype=nil)
|
|
5732
5989
|
@PublicIp = publicip
|
|
5733
5990
|
@PublicIpType = publiciptype
|
|
5734
5991
|
@InstanceId = instanceid
|
|
@@ -5752,6 +6009,7 @@ module TencentCloud
|
|
|
5752
6009
|
@SwitchWeight = switchweight
|
|
5753
6010
|
@Domain = domain
|
|
5754
6011
|
@OverUsedStatus = overusedstatus
|
|
6012
|
+
@SwitchSupportType = switchsupporttype
|
|
5755
6013
|
end
|
|
5756
6014
|
|
|
5757
6015
|
def deserialize(params)
|
|
@@ -5778,6 +6036,7 @@ module TencentCloud
|
|
|
5778
6036
|
@SwitchWeight = params['SwitchWeight']
|
|
5779
6037
|
@Domain = params['Domain']
|
|
5780
6038
|
@OverUsedStatus = params['OverUsedStatus']
|
|
6039
|
+
@SwitchSupportType = params['SwitchSupportType']
|
|
5781
6040
|
end
|
|
5782
6041
|
end
|
|
5783
6042
|
|
|
@@ -5809,6 +6068,34 @@ module TencentCloud
|
|
|
5809
6068
|
end
|
|
5810
6069
|
end
|
|
5811
6070
|
|
|
6071
|
+
# 私有连接端点信息
|
|
6072
|
+
class EndpointInfo < TencentCloud::Common::AbstractModel
|
|
6073
|
+
# @param EndpointId: 引流私有连接端点id
|
|
6074
|
+
# @type EndpointId: String
|
|
6075
|
+
# @param VpcId: 引流VpcId
|
|
6076
|
+
# @type VpcId: String
|
|
6077
|
+
# @param Region: 所属地域
|
|
6078
|
+
# @type Region: String
|
|
6079
|
+
# @param VpcCidr: 引流Vpc的Cidr
|
|
6080
|
+
# @type VpcCidr: String
|
|
6081
|
+
|
|
6082
|
+
attr_accessor :EndpointId, :VpcId, :Region, :VpcCidr
|
|
6083
|
+
|
|
6084
|
+
def initialize(endpointid=nil, vpcid=nil, region=nil, vpccidr=nil)
|
|
6085
|
+
@EndpointId = endpointid
|
|
6086
|
+
@VpcId = vpcid
|
|
6087
|
+
@Region = region
|
|
6088
|
+
@VpcCidr = vpccidr
|
|
6089
|
+
end
|
|
6090
|
+
|
|
6091
|
+
def deserialize(params)
|
|
6092
|
+
@EndpointId = params['EndpointId']
|
|
6093
|
+
@VpcId = params['VpcId']
|
|
6094
|
+
@Region = params['Region']
|
|
6095
|
+
@VpcCidr = params['VpcCidr']
|
|
6096
|
+
end
|
|
6097
|
+
end
|
|
6098
|
+
|
|
5812
6099
|
# 企业安全组自动化任务信息
|
|
5813
6100
|
class EnterpriseSecurityGroupRuleBetaInfo < TencentCloud::Common::AbstractModel
|
|
5814
6101
|
# @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.
|
|
4
|
+
version: 3.0.1199
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-01-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|