tencentcloud-sdk-cfw 3.0.931 → 3.0.933
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190904/client.rb +5 -30
- data/lib/v20190904/models.rb +105 -202
- 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: 89a449745feb624d993a58364626133538eb165f
|
4
|
+
data.tar.gz: 6d90b74733a3d2ccc15438135c6bc86d65f40fad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e97035ff8a6b50a3c8c284432a85302a64595ff580acea018e9d8536a023f3471a072708c42eee85333a1aca18c8c68f072f9b083f53999648955d0497126a1
|
7
|
+
data.tar.gz: fc81891880a1ad3fe9b5304c8f1fa2f389f4050ef18ab334e33d533a0e5f67395cd2f791f4a6eeb4382ec8e0cb0afd350aca5acda6d314d77639113692af7a46
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.933
|
data/lib/v20190904/client.rb
CHANGED
@@ -101,7 +101,7 @@ module TencentCloud
|
|
101
101
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
102
|
end
|
103
103
|
|
104
|
-
# 添加nat访问控制规则
|
104
|
+
# 添加nat访问控制规则
|
105
105
|
|
106
106
|
# @param request: Request instance for AddNatAcRule.
|
107
107
|
# @type request: :class:`Tencentcloud::cfw::V20190904::AddNatAcRuleRequest`
|
@@ -1397,32 +1397,6 @@ module TencentCloud
|
|
1397
1397
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1398
1398
|
end
|
1399
1399
|
|
1400
|
-
# 旧接口,不再维护
|
1401
|
-
|
1402
|
-
# 查询NAT边界防火墙开关列表
|
1403
|
-
|
1404
|
-
# @param request: Request instance for DescribeNatSwitchList.
|
1405
|
-
# @type request: :class:`Tencentcloud::cfw::V20190904::DescribeNatSwitchListRequest`
|
1406
|
-
# @rtype: :class:`Tencentcloud::cfw::V20190904::DescribeNatSwitchListResponse`
|
1407
|
-
def DescribeNatSwitchList(request)
|
1408
|
-
body = send_request('DescribeNatSwitchList', request.serialize)
|
1409
|
-
response = JSON.parse(body)
|
1410
|
-
if response['Response'].key?('Error') == false
|
1411
|
-
model = DescribeNatSwitchListResponse.new
|
1412
|
-
model.deserialize(response['Response'])
|
1413
|
-
model
|
1414
|
-
else
|
1415
|
-
code = response['Response']['Error']['Code']
|
1416
|
-
message = response['Response']['Error']['Message']
|
1417
|
-
reqid = response['Response']['RequestId']
|
1418
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1419
|
-
end
|
1420
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1421
|
-
raise e
|
1422
|
-
rescue StandardError => e
|
1423
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1424
|
-
end
|
1425
|
-
|
1426
1400
|
# DescribeResourceGroup资产中心资产树信息
|
1427
1401
|
|
1428
1402
|
# @param request: Request instance for DescribeResourceGroup.
|
@@ -1447,7 +1421,7 @@ module TencentCloud
|
|
1447
1421
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1448
1422
|
end
|
1449
1423
|
|
1450
|
-
#
|
1424
|
+
# 资产中心资产组数数据信息查询
|
1451
1425
|
|
1452
1426
|
# @param request: Request instance for DescribeResourceGroupNew.
|
1453
1427
|
# @type request: :class:`Tencentcloud::cfw::V20190904::DescribeResourceGroupNewRequest`
|
@@ -1569,7 +1543,7 @@ module TencentCloud
|
|
1569
1543
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1570
1544
|
end
|
1571
1545
|
|
1572
|
-
# DescribeTLogInfo
|
1546
|
+
# DescribeTLogInfo告警中心概况查询
|
1573
1547
|
|
1574
1548
|
# @param request: Request instance for DescribeTLogInfo.
|
1575
1549
|
# @type request: :class:`Tencentcloud::cfw::V20190904::DescribeTLogInfoRequest`
|
@@ -1857,6 +1831,8 @@ module TencentCloud
|
|
1857
1831
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1858
1832
|
end
|
1859
1833
|
|
1834
|
+
# 该接口已不再使用
|
1835
|
+
|
1860
1836
|
# VPC防火墙一键开关
|
1861
1837
|
|
1862
1838
|
# @param request: Request instance for ModifyAllVPCSwitchStatus.
|
@@ -2295,7 +2271,6 @@ module TencentCloud
|
|
2295
2271
|
|
2296
2272
|
# ModifyResourceGroup-资产中心资产组信息修改
|
2297
2273
|
|
2298
|
-
|
2299
2274
|
# @param request: Request instance for ModifyResourceGroup.
|
2300
2275
|
# @type request: :class:`Tencentcloud::cfw::V20190904::ModifyResourceGroupRequest`
|
2301
2276
|
# @rtype: :class:`Tencentcloud::cfw::V20190904::ModifyResourceGroupResponse`
|
data/lib/v20190904/models.rb
CHANGED
@@ -46,10 +46,54 @@ module TencentCloud
|
|
46
46
|
# @param LogId: 告警规则id
|
47
47
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
48
48
|
# @type LogId: String
|
49
|
+
# @param Status: 规则开关状态 1打开 0关闭
|
50
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
51
|
+
# @type Status: Integer
|
52
|
+
# @param SrcType: 规则源类型
|
53
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
54
|
+
# @type SrcType: Integer
|
55
|
+
# @param DstType: 规则目的类型
|
56
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
57
|
+
# @type DstType: Integer
|
58
|
+
# @param Uuid: 规则唯一ID
|
59
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
60
|
+
# @type Uuid: String
|
61
|
+
# @param Invalid: 规则有效性
|
62
|
+
# 1 有效
|
63
|
+
# 0 无效
|
64
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
65
|
+
# @type Invalid: Integer
|
66
|
+
# @param IsRegion: 是否地域规则
|
67
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
68
|
+
# @type IsRegion: Integer
|
69
|
+
# @param CloudCode: 云厂商代码
|
70
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
71
|
+
# @type CloudCode: String
|
72
|
+
# @param AutoTask: 自动化助手信息
|
73
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
74
|
+
# @type AutoTask: String
|
75
|
+
# @param InstanceName: 实例名称
|
76
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
77
|
+
# @type InstanceName: String
|
78
|
+
# @param RegionCode: 地域码信息
|
79
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
80
|
+
# @type RegionCode: String
|
81
|
+
# @param Country: 国家代码
|
82
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
83
|
+
# @type Country: Integer
|
84
|
+
# @param City: 城市代码
|
85
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
86
|
+
# @type City: Integer
|
87
|
+
# @param RegName1: 国家名称
|
88
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
89
|
+
# @type RegName1: String
|
90
|
+
# @param RegName2: 城市名称
|
91
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
92
|
+
# @type RegName2: String
|
49
93
|
|
50
|
-
attr_accessor :Id, :SourceIp, :TargetIp, :Protocol, :Port, :Strategy, :Detail, :Count, :OrderIndex, :LogId
|
94
|
+
attr_accessor :Id, :SourceIp, :TargetIp, :Protocol, :Port, :Strategy, :Detail, :Count, :OrderIndex, :LogId, :Status, :SrcType, :DstType, :Uuid, :Invalid, :IsRegion, :CloudCode, :AutoTask, :InstanceName, :RegionCode, :Country, :City, :RegName1, :RegName2
|
51
95
|
|
52
|
-
def initialize(id=nil, sourceip=nil, targetip=nil, protocol=nil, port=nil, strategy=nil, detail=nil, count=nil, orderindex=nil, logid=nil)
|
96
|
+
def initialize(id=nil, sourceip=nil, targetip=nil, protocol=nil, port=nil, strategy=nil, detail=nil, count=nil, orderindex=nil, logid=nil, status=nil, srctype=nil, dsttype=nil, uuid=nil, invalid=nil, isregion=nil, cloudcode=nil, autotask=nil, instancename=nil, regioncode=nil, country=nil, city=nil, regname1=nil, regname2=nil)
|
53
97
|
@Id = id
|
54
98
|
@SourceIp = sourceip
|
55
99
|
@TargetIp = targetip
|
@@ -60,6 +104,20 @@ module TencentCloud
|
|
60
104
|
@Count = count
|
61
105
|
@OrderIndex = orderindex
|
62
106
|
@LogId = logid
|
107
|
+
@Status = status
|
108
|
+
@SrcType = srctype
|
109
|
+
@DstType = dsttype
|
110
|
+
@Uuid = uuid
|
111
|
+
@Invalid = invalid
|
112
|
+
@IsRegion = isregion
|
113
|
+
@CloudCode = cloudcode
|
114
|
+
@AutoTask = autotask
|
115
|
+
@InstanceName = instancename
|
116
|
+
@RegionCode = regioncode
|
117
|
+
@Country = country
|
118
|
+
@City = city
|
119
|
+
@RegName1 = regname1
|
120
|
+
@RegName2 = regname2
|
63
121
|
end
|
64
122
|
|
65
123
|
def deserialize(params)
|
@@ -73,6 +131,20 @@ module TencentCloud
|
|
73
131
|
@Count = params['Count']
|
74
132
|
@OrderIndex = params['OrderIndex']
|
75
133
|
@LogId = params['LogId']
|
134
|
+
@Status = params['Status']
|
135
|
+
@SrcType = params['SrcType']
|
136
|
+
@DstType = params['DstType']
|
137
|
+
@Uuid = params['Uuid']
|
138
|
+
@Invalid = params['Invalid']
|
139
|
+
@IsRegion = params['IsRegion']
|
140
|
+
@CloudCode = params['CloudCode']
|
141
|
+
@AutoTask = params['AutoTask']
|
142
|
+
@InstanceName = params['InstanceName']
|
143
|
+
@RegionCode = params['RegionCode']
|
144
|
+
@Country = params['Country']
|
145
|
+
@City = params['City']
|
146
|
+
@RegName1 = params['RegName1']
|
147
|
+
@RegName2 = params['RegName2']
|
76
148
|
end
|
77
149
|
end
|
78
150
|
|
@@ -915,15 +987,18 @@ module TencentCloud
|
|
915
987
|
# @type Type: Integer
|
916
988
|
# @param ProtocolType: 协议端口模板,协议类型,4:4层协议,7:7层协议,Type=6时必填
|
917
989
|
# @type ProtocolType: String
|
990
|
+
# @param IpVersion: IP版本,0 IPV4;1 IPV6
|
991
|
+
# @type IpVersion: Integer
|
918
992
|
|
919
|
-
attr_accessor :Name, :Detail, :IpString, :Type, :ProtocolType
|
993
|
+
attr_accessor :Name, :Detail, :IpString, :Type, :ProtocolType, :IpVersion
|
920
994
|
|
921
|
-
def initialize(name=nil, detail=nil, ipstring=nil, type=nil, protocoltype=nil)
|
995
|
+
def initialize(name=nil, detail=nil, ipstring=nil, type=nil, protocoltype=nil, ipversion=nil)
|
922
996
|
@Name = name
|
923
997
|
@Detail = detail
|
924
998
|
@IpString = ipstring
|
925
999
|
@Type = type
|
926
1000
|
@ProtocolType = protocoltype
|
1001
|
+
@IpVersion = ipversion
|
927
1002
|
end
|
928
1003
|
|
929
1004
|
def deserialize(params)
|
@@ -932,6 +1007,7 @@ module TencentCloud
|
|
932
1007
|
@IpString = params['IpString']
|
933
1008
|
@Type = params['Type']
|
934
1009
|
@ProtocolType = params['ProtocolType']
|
1010
|
+
@IpVersion = params['IpVersion']
|
935
1011
|
end
|
936
1012
|
end
|
937
1013
|
|
@@ -3308,13 +3384,16 @@ module TencentCloud
|
|
3308
3384
|
class DescribeBlockStaticListResponse < TencentCloud::Common::AbstractModel
|
3309
3385
|
# @param Data: 无
|
3310
3386
|
# @type Data: Array
|
3387
|
+
# @param Status: 异步查询状态,1查询执行中,0查询已结束
|
3388
|
+
# @type Status: Integer
|
3311
3389
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3312
3390
|
# @type RequestId: String
|
3313
3391
|
|
3314
|
-
attr_accessor :Data, :RequestId
|
3392
|
+
attr_accessor :Data, :Status, :RequestId
|
3315
3393
|
|
3316
|
-
def initialize(data=nil, requestid=nil)
|
3394
|
+
def initialize(data=nil, status=nil, requestid=nil)
|
3317
3395
|
@Data = data
|
3396
|
+
@Status = status
|
3318
3397
|
@RequestId = requestid
|
3319
3398
|
end
|
3320
3399
|
|
@@ -3327,6 +3406,7 @@ module TencentCloud
|
|
3327
3406
|
@Data << staticinfo_tmp
|
3328
3407
|
end
|
3329
3408
|
end
|
3409
|
+
@Status = params['Status']
|
3330
3410
|
@RequestId = params['RequestId']
|
3331
3411
|
end
|
3332
3412
|
end
|
@@ -4553,81 +4633,6 @@ module TencentCloud
|
|
4553
4633
|
end
|
4554
4634
|
end
|
4555
4635
|
|
4556
|
-
# DescribeNatSwitchList请求参数结构体
|
4557
|
-
class DescribeNatSwitchListRequest < TencentCloud::Common::AbstractModel
|
4558
|
-
# @param Offset: 偏移量,分页用
|
4559
|
-
# @type Offset: Integer
|
4560
|
-
# @param Limit: 条数,分页用
|
4561
|
-
# @type Limit: Integer
|
4562
|
-
# @param SearchValue: 搜索值
|
4563
|
-
# @type SearchValue: String
|
4564
|
-
# @param Status: 开关,1打开,0关闭
|
4565
|
-
# @type Status: Integer
|
4566
|
-
# @param VpcId: 筛选NAT防火墙子网开关所属VPC
|
4567
|
-
# @type VpcId: String
|
4568
|
-
# @param NatId: 筛选NAT防火墙子网开关所属NAT网关
|
4569
|
-
# @type NatId: String
|
4570
|
-
# @param NatInsId: 筛选NAT防火墙子网开关所属NAT防火墙实例
|
4571
|
-
# @type NatInsId: String
|
4572
|
-
# @param Area: 筛选NAT防火墙子网开关所属地域
|
4573
|
-
# @type Area: String
|
4574
|
-
|
4575
|
-
attr_accessor :Offset, :Limit, :SearchValue, :Status, :VpcId, :NatId, :NatInsId, :Area
|
4576
|
-
|
4577
|
-
def initialize(offset=nil, limit=nil, searchvalue=nil, status=nil, vpcid=nil, natid=nil, natinsid=nil, area=nil)
|
4578
|
-
@Offset = offset
|
4579
|
-
@Limit = limit
|
4580
|
-
@SearchValue = searchvalue
|
4581
|
-
@Status = status
|
4582
|
-
@VpcId = vpcid
|
4583
|
-
@NatId = natid
|
4584
|
-
@NatInsId = natinsid
|
4585
|
-
@Area = area
|
4586
|
-
end
|
4587
|
-
|
4588
|
-
def deserialize(params)
|
4589
|
-
@Offset = params['Offset']
|
4590
|
-
@Limit = params['Limit']
|
4591
|
-
@SearchValue = params['SearchValue']
|
4592
|
-
@Status = params['Status']
|
4593
|
-
@VpcId = params['VpcId']
|
4594
|
-
@NatId = params['NatId']
|
4595
|
-
@NatInsId = params['NatInsId']
|
4596
|
-
@Area = params['Area']
|
4597
|
-
end
|
4598
|
-
end
|
4599
|
-
|
4600
|
-
# DescribeNatSwitchList返回参数结构体
|
4601
|
-
class DescribeNatSwitchListResponse < TencentCloud::Common::AbstractModel
|
4602
|
-
# @param Total: 总数
|
4603
|
-
# @type Total: Integer
|
4604
|
-
# @param Data: NAT边界防火墙开关列表数据
|
4605
|
-
# @type Data: Array
|
4606
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4607
|
-
# @type RequestId: String
|
4608
|
-
|
4609
|
-
attr_accessor :Total, :Data, :RequestId
|
4610
|
-
|
4611
|
-
def initialize(total=nil, data=nil, requestid=nil)
|
4612
|
-
@Total = total
|
4613
|
-
@Data = data
|
4614
|
-
@RequestId = requestid
|
4615
|
-
end
|
4616
|
-
|
4617
|
-
def deserialize(params)
|
4618
|
-
@Total = params['Total']
|
4619
|
-
unless params['Data'].nil?
|
4620
|
-
@Data = []
|
4621
|
-
params['Data'].each do |i|
|
4622
|
-
natswitchlistdata_tmp = NatSwitchListData.new
|
4623
|
-
natswitchlistdata_tmp.deserialize(i)
|
4624
|
-
@Data << natswitchlistdata_tmp
|
4625
|
-
end
|
4626
|
-
end
|
4627
|
-
@RequestId = params['RequestId']
|
4628
|
-
end
|
4629
|
-
end
|
4630
|
-
|
4631
4636
|
# DescribeResourceGroupNew请求参数结构体
|
4632
4637
|
class DescribeResourceGroupNewRequest < TencentCloud::Common::AbstractModel
|
4633
4638
|
# @param QueryType: 查询类型 网络结构-vpc,业务识别-resource ,资源标签-tag
|
@@ -7514,11 +7519,11 @@ module TencentCloud
|
|
7514
7519
|
|
7515
7520
|
# ModifyResourceGroup请求参数结构体
|
7516
7521
|
class ModifyResourceGroupRequest < TencentCloud::Common::AbstractModel
|
7517
|
-
# @param GroupId:
|
7522
|
+
# @param GroupId: 资产组id
|
7518
7523
|
# @type GroupId: String
|
7519
7524
|
# @param GroupName: 组名称
|
7520
7525
|
# @type GroupName: String
|
7521
|
-
# @param ParentId:
|
7526
|
+
# @param ParentId: 上级组资产组id
|
7522
7527
|
# @type ParentId: String
|
7523
7528
|
|
7524
7529
|
attr_accessor :GroupId, :GroupName, :ParentId
|
@@ -8288,117 +8293,6 @@ module TencentCloud
|
|
8288
8293
|
end
|
8289
8294
|
end
|
8290
8295
|
|
8291
|
-
# NAT防火墙开关列表数据
|
8292
|
-
class NatSwitchListData < TencentCloud::Common::AbstractModel
|
8293
|
-
# @param Id: 列表ID
|
8294
|
-
# @type Id: Integer
|
8295
|
-
# @param SubnetId: 子网ID
|
8296
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8297
|
-
# @type SubnetId: String
|
8298
|
-
# @param SubnetName: 子网名称
|
8299
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8300
|
-
# @type SubnetName: String
|
8301
|
-
# @param SubnetCidr: IPv4 CIDR
|
8302
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8303
|
-
# @type SubnetCidr: String
|
8304
|
-
# @param RouteId: 关联路由ID
|
8305
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8306
|
-
# @type RouteId: String
|
8307
|
-
# @param RouteName: 关联路由名称
|
8308
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8309
|
-
# @type RouteName: String
|
8310
|
-
# @param CvmNum: 云服务器个数
|
8311
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8312
|
-
# @type CvmNum: Integer
|
8313
|
-
# @param VpcId: 所属VPC ID
|
8314
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8315
|
-
# @type VpcId: String
|
8316
|
-
# @param VpcName: 所属VPC名称
|
8317
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8318
|
-
# @type VpcName: String
|
8319
|
-
# @param Enable: 是否生效
|
8320
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8321
|
-
# @type Enable: Integer
|
8322
|
-
# @param Status: 开关状态
|
8323
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8324
|
-
# @type Status: Integer
|
8325
|
-
# @param NatId: NAT网关ID
|
8326
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8327
|
-
# @type NatId: String
|
8328
|
-
# @param NatName: NAT网关名称
|
8329
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8330
|
-
# @type NatName: String
|
8331
|
-
# @param NatInsId: NAT防火墙实例ID
|
8332
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8333
|
-
# @type NatInsId: String
|
8334
|
-
# @param NatInsName: NAT防火墙实例名称
|
8335
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8336
|
-
# @type NatInsName: String
|
8337
|
-
# @param Region: 地域
|
8338
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8339
|
-
# @type Region: String
|
8340
|
-
# @param Abnormal: 开关是否异常,0:正常,1:异常
|
8341
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8342
|
-
# @type Abnormal: Integer
|
8343
|
-
# @param ORTableId: nat防火墙出口路由表id
|
8344
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8345
|
-
# @type ORTableId: String
|
8346
|
-
# @param ORTableName: nat防火墙出口路由表名称
|
8347
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8348
|
-
# @type ORTableName: String
|
8349
|
-
# @param Ohavips: 出口Snat Ip列表
|
8350
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8351
|
-
# @type Ohavips: Array
|
8352
|
-
|
8353
|
-
attr_accessor :Id, :SubnetId, :SubnetName, :SubnetCidr, :RouteId, :RouteName, :CvmNum, :VpcId, :VpcName, :Enable, :Status, :NatId, :NatName, :NatInsId, :NatInsName, :Region, :Abnormal, :ORTableId, :ORTableName, :Ohavips
|
8354
|
-
|
8355
|
-
def initialize(id=nil, subnetid=nil, subnetname=nil, subnetcidr=nil, routeid=nil, routename=nil, cvmnum=nil, vpcid=nil, vpcname=nil, enable=nil, status=nil, natid=nil, natname=nil, natinsid=nil, natinsname=nil, region=nil, abnormal=nil, ortableid=nil, ortablename=nil, ohavips=nil)
|
8356
|
-
@Id = id
|
8357
|
-
@SubnetId = subnetid
|
8358
|
-
@SubnetName = subnetname
|
8359
|
-
@SubnetCidr = subnetcidr
|
8360
|
-
@RouteId = routeid
|
8361
|
-
@RouteName = routename
|
8362
|
-
@CvmNum = cvmnum
|
8363
|
-
@VpcId = vpcid
|
8364
|
-
@VpcName = vpcname
|
8365
|
-
@Enable = enable
|
8366
|
-
@Status = status
|
8367
|
-
@NatId = natid
|
8368
|
-
@NatName = natname
|
8369
|
-
@NatInsId = natinsid
|
8370
|
-
@NatInsName = natinsname
|
8371
|
-
@Region = region
|
8372
|
-
@Abnormal = abnormal
|
8373
|
-
@ORTableId = ortableid
|
8374
|
-
@ORTableName = ortablename
|
8375
|
-
@Ohavips = ohavips
|
8376
|
-
end
|
8377
|
-
|
8378
|
-
def deserialize(params)
|
8379
|
-
@Id = params['Id']
|
8380
|
-
@SubnetId = params['SubnetId']
|
8381
|
-
@SubnetName = params['SubnetName']
|
8382
|
-
@SubnetCidr = params['SubnetCidr']
|
8383
|
-
@RouteId = params['RouteId']
|
8384
|
-
@RouteName = params['RouteName']
|
8385
|
-
@CvmNum = params['CvmNum']
|
8386
|
-
@VpcId = params['VpcId']
|
8387
|
-
@VpcName = params['VpcName']
|
8388
|
-
@Enable = params['Enable']
|
8389
|
-
@Status = params['Status']
|
8390
|
-
@NatId = params['NatId']
|
8391
|
-
@NatName = params['NatName']
|
8392
|
-
@NatInsId = params['NatInsId']
|
8393
|
-
@NatInsName = params['NatInsName']
|
8394
|
-
@Region = params['Region']
|
8395
|
-
@Abnormal = params['Abnormal']
|
8396
|
-
@ORTableId = params['ORTableId']
|
8397
|
-
@ORTableName = params['ORTableName']
|
8398
|
-
@Ohavips = params['Ohavips']
|
8399
|
-
end
|
8400
|
-
end
|
8401
|
-
|
8402
8296
|
# 网络实例信息
|
8403
8297
|
class NetInstancesInfo < TencentCloud::Common::AbstractModel
|
8404
8298
|
# @param InstanceId: 网络实例ID
|
@@ -8665,17 +8559,21 @@ module TencentCloud
|
|
8665
8559
|
# @type OrderIndex: Integer
|
8666
8560
|
# @param NewOrderIndex: 新的sequence 值
|
8667
8561
|
# @type NewOrderIndex: Integer
|
8562
|
+
# @param IpVersion: Ip版本,0:IPv4,1:IPv6,默认为IPv4
|
8563
|
+
# @type IpVersion: Integer
|
8668
8564
|
|
8669
|
-
attr_accessor :OrderIndex, :NewOrderIndex
|
8565
|
+
attr_accessor :OrderIndex, :NewOrderIndex, :IpVersion
|
8670
8566
|
|
8671
|
-
def initialize(orderindex=nil, neworderindex=nil)
|
8567
|
+
def initialize(orderindex=nil, neworderindex=nil, ipversion=nil)
|
8672
8568
|
@OrderIndex = orderindex
|
8673
8569
|
@NewOrderIndex = neworderindex
|
8570
|
+
@IpVersion = ipversion
|
8674
8571
|
end
|
8675
8572
|
|
8676
8573
|
def deserialize(params)
|
8677
8574
|
@OrderIndex = params['OrderIndex']
|
8678
8575
|
@NewOrderIndex = params['NewOrderIndex']
|
8576
|
+
@IpVersion = params['IpVersion']
|
8679
8577
|
end
|
8680
8578
|
end
|
8681
8579
|
|
@@ -10274,12 +10172,12 @@ module TencentCloud
|
|
10274
10172
|
# @type Description: String
|
10275
10173
|
# @param OrderIndex: 规则顺序,-1表示最低,1表示最高
|
10276
10174
|
# @type OrderIndex: Integer
|
10277
|
-
# @param Uuid: 规则对应的唯一id
|
10278
|
-
# @type Uuid: Integer
|
10279
10175
|
# @param Enable: 规则状态,true表示启用,false表示禁用
|
10280
10176
|
# @type Enable: String
|
10281
10177
|
# @param EdgeId: 规则生效的范围,是在哪对vpc之间还是针对所有vpc间生效
|
10282
10178
|
# @type EdgeId: String
|
10179
|
+
# @param Uuid: 规则对应的唯一id,添加规则时忽略该字段,修改该规则时需要填写Uuid;查询返回时会返回该参数
|
10180
|
+
# @type Uuid: Integer
|
10283
10181
|
# @param DetectedTimes: 规则的命中次数,增删改查规则时无需传入此参数,主要用于返回查询结果数据
|
10284
10182
|
# @type DetectedTimes: Integer
|
10285
10183
|
# @param EdgeName: EdgeId对应的这对VPC间防火墙的描述
|
@@ -10309,10 +10207,13 @@ module TencentCloud
|
|
10309
10207
|
# @param SourceName: 访问源名称
|
10310
10208
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10311
10209
|
# @type SourceName: String
|
10210
|
+
# @param IpVersion: Ip版本,0:IPv4,1:IPv6,默认为IPv4
|
10211
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10212
|
+
# @type IpVersion: Integer
|
10312
10213
|
|
10313
|
-
attr_accessor :SourceContent, :SourceType, :DestContent, :DestType, :Protocol, :RuleAction, :Port, :Description, :OrderIndex, :
|
10214
|
+
attr_accessor :SourceContent, :SourceType, :DestContent, :DestType, :Protocol, :RuleAction, :Port, :Description, :OrderIndex, :Enable, :EdgeId, :Uuid, :DetectedTimes, :EdgeName, :InternalUuid, :Deleted, :FwGroupId, :FwGroupName, :BetaList, :ParamTemplateId, :ParamTemplateName, :TargetName, :SourceName, :IpVersion
|
10314
10215
|
|
10315
|
-
def initialize(sourcecontent=nil, sourcetype=nil, destcontent=nil, desttype=nil, protocol=nil, ruleaction=nil, port=nil, description=nil, orderindex=nil,
|
10216
|
+
def initialize(sourcecontent=nil, sourcetype=nil, destcontent=nil, desttype=nil, protocol=nil, ruleaction=nil, port=nil, description=nil, orderindex=nil, enable=nil, edgeid=nil, uuid=nil, detectedtimes=nil, edgename=nil, internaluuid=nil, deleted=nil, fwgroupid=nil, fwgroupname=nil, betalist=nil, paramtemplateid=nil, paramtemplatename=nil, targetname=nil, sourcename=nil, ipversion=nil)
|
10316
10217
|
@SourceContent = sourcecontent
|
10317
10218
|
@SourceType = sourcetype
|
10318
10219
|
@DestContent = destcontent
|
@@ -10322,9 +10223,9 @@ module TencentCloud
|
|
10322
10223
|
@Port = port
|
10323
10224
|
@Description = description
|
10324
10225
|
@OrderIndex = orderindex
|
10325
|
-
@Uuid = uuid
|
10326
10226
|
@Enable = enable
|
10327
10227
|
@EdgeId = edgeid
|
10228
|
+
@Uuid = uuid
|
10328
10229
|
@DetectedTimes = detectedtimes
|
10329
10230
|
@EdgeName = edgename
|
10330
10231
|
@InternalUuid = internaluuid
|
@@ -10336,6 +10237,7 @@ module TencentCloud
|
|
10336
10237
|
@ParamTemplateName = paramtemplatename
|
10337
10238
|
@TargetName = targetname
|
10338
10239
|
@SourceName = sourcename
|
10240
|
+
@IpVersion = ipversion
|
10339
10241
|
end
|
10340
10242
|
|
10341
10243
|
def deserialize(params)
|
@@ -10348,9 +10250,9 @@ module TencentCloud
|
|
10348
10250
|
@Port = params['Port']
|
10349
10251
|
@Description = params['Description']
|
10350
10252
|
@OrderIndex = params['OrderIndex']
|
10351
|
-
@Uuid = params['Uuid']
|
10352
10253
|
@Enable = params['Enable']
|
10353
10254
|
@EdgeId = params['EdgeId']
|
10255
|
+
@Uuid = params['Uuid']
|
10354
10256
|
@DetectedTimes = params['DetectedTimes']
|
10355
10257
|
@EdgeName = params['EdgeName']
|
10356
10258
|
@InternalUuid = params['InternalUuid']
|
@@ -10369,6 +10271,7 @@ module TencentCloud
|
|
10369
10271
|
@ParamTemplateName = params['ParamTemplateName']
|
10370
10272
|
@TargetName = params['TargetName']
|
10371
10273
|
@SourceName = params['SourceName']
|
10274
|
+
@IpVersion = params['IpVersion']
|
10372
10275
|
end
|
10373
10276
|
end
|
10374
10277
|
|
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.933
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|