tencentcloud-sdk-cfw 3.0.1117 → 3.0.1173

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: bf8d2a46e912c71a362ee3d7590ee6b27add68b9
4
- data.tar.gz: c6e053de9a00f1d739b0919462b09d1dbab5fbd5
3
+ metadata.gz: 3d8d8b787df035822fc36edb58306273e9226f23
4
+ data.tar.gz: c5d37b3a6ccf870368886f2b8e860aa3642f0bea
5
5
  SHA512:
6
- metadata.gz: 53db70e80351da320bae6820e6ad598fc2bbc1ce00211bbde0ba6829deedd73c5cf0a87739894de5b71e45db1338ab11fa6b8312df0afa5577eaebe5fe4669e0
7
- data.tar.gz: aa587fb396ea1d32cd8079c634f651aec018af8c361be24d8969b1119363684c7e3b5547f38700a59856b7ef93a4f53542de37cdd5d94003938fc46776d55d7b
6
+ metadata.gz: 195908638b4b5918c1585602490738567bceb957b103d79ce07da6848f481bd8f5ca1baecc675026603a2e086e32463ed5d79ea242a6250f9394e935d1e3790a
7
+ data.tar.gz: 39b5bb8962707d02ed50bea2b91526f5598fed17f4a237e76b300f7ecf11fe5d4e2c34f2200a7757fbe0afec8d7de70164504f76a43b2447b93b933cb981eb0d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1117
1
+ 3.0.1173
@@ -1325,6 +1325,30 @@ module TencentCloud
1325
1325
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1326
1326
  end
1327
1327
 
1328
+ # 查询NAT边界防火墙开关列表
1329
+
1330
+ # @param request: Request instance for DescribeNatFwSwitch.
1331
+ # @type request: :class:`Tencentcloud::cfw::V20190904::DescribeNatFwSwitchRequest`
1332
+ # @rtype: :class:`Tencentcloud::cfw::V20190904::DescribeNatFwSwitchResponse`
1333
+ def DescribeNatFwSwitch(request)
1334
+ body = send_request('DescribeNatFwSwitch', request.serialize)
1335
+ response = JSON.parse(body)
1336
+ if response['Response'].key?('Error') == false
1337
+ model = DescribeNatFwSwitchResponse.new
1338
+ model.deserialize(response['Response'])
1339
+ model
1340
+ else
1341
+ code = response['Response']['Error']['Code']
1342
+ message = response['Response']['Error']['Message']
1343
+ reqid = response['Response']['RequestId']
1344
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1345
+ end
1346
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1347
+ raise e
1348
+ rescue StandardError => e
1349
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1350
+ end
1351
+
1328
1352
  # 展示当前natfw 实例对应的vpc dns开关
1329
1353
 
1330
1354
  # @param request: Request instance for DescribeNatFwVpcDnsLst.
@@ -756,6 +756,55 @@ module TencentCloud
756
756
  end
757
757
  end
758
758
 
759
+ # ID NAME 组合
760
+ class CommonIdName < TencentCloud::Common::AbstractModel
761
+ # @param Id: 资源ID
762
+ # 注意:此字段可能返回 null,表示取不到有效值。
763
+ # @type Id: String
764
+ # @param Name: 资源名字
765
+ # 注意:此字段可能返回 null,表示取不到有效值。
766
+ # @type Name: String
767
+
768
+ attr_accessor :Id, :Name
769
+
770
+ def initialize(id=nil, name=nil)
771
+ @Id = id
772
+ @Name = name
773
+ end
774
+
775
+ def deserialize(params)
776
+ @Id = params['Id']
777
+ @Name = params['Name']
778
+ end
779
+ end
780
+
781
+ # ID NAME STATUS 组合结构
782
+ class CommonIdNameStatus < TencentCloud::Common::AbstractModel
783
+ # @param Id: 资源id
784
+ # 注意:此字段可能返回 null,表示取不到有效值。
785
+ # @type Id: String
786
+ # @param Name: 资源name
787
+ # 注意:此字段可能返回 null,表示取不到有效值。
788
+ # @type Name: String
789
+ # @param Status: 状态
790
+ # 注意:此字段可能返回 null,表示取不到有效值。
791
+ # @type Status: Integer
792
+
793
+ attr_accessor :Id, :Name, :Status
794
+
795
+ def initialize(id=nil, name=nil, status=nil)
796
+ @Id = id
797
+ @Name = name
798
+ @Status = status
799
+ end
800
+
801
+ def deserialize(params)
802
+ @Id = params['Id']
803
+ @Name = params['Name']
804
+ @Status = params['Status']
805
+ end
806
+ end
807
+
759
808
  # CreateAcRules请求参数结构体
760
809
  class CreateAcRulesRequest < TencentCloud::Common::AbstractModel
761
810
  # @param Data: 创建规则数据
@@ -1183,7 +1232,7 @@ module TencentCloud
1183
1232
  # @type Rules: Array
1184
1233
  # @param RuleType: RuleType: 1黑名单 2外部IP 3域名 4情报 5资产 6自定义规则 7入侵防御规则
1185
1234
  # @type RuleType: Integer
1186
- # @param CoverDuplicate: 是否覆盖重复数据,1覆盖,非1不覆盖,跳过重复数据
1235
+ # @param CoverDuplicate: 删除白名单冲突地址并继续添加/删除封禁列表冲突地址并继续添加;表示是否覆盖重复数据,1为覆盖,非1不覆盖,跳过重复数据
1187
1236
  # @type CoverDuplicate: Integer
1188
1237
 
1189
1238
  attr_accessor :Rules, :RuleType, :CoverDuplicate
@@ -2343,10 +2392,14 @@ module TencentCloud
2343
2392
  # @type CountryKey: String
2344
2393
  # @param CityKey: 省份、城市简称
2345
2394
  # @type CityKey: String
2395
+ # @param CreateTime: 规则创建时间
2396
+ # @type CreateTime: String
2397
+ # @param UpdateTime: 规则最近更新时间
2398
+ # @type UpdateTime: String
2346
2399
 
2347
- attr_accessor :SourceContent, :TargetContent, :Protocol, :Port, :RuleAction, :Description, :Count, :OrderIndex, :SourceType, :TargetType, :Uuid, :Invalid, :IsRegion, :CountryCode, :CityCode, :CountryName, :CityName, :CloudCode, :IsCloud, :Enable, :Direction, :InstanceName, :InternalUuid, :Status, :BetaList, :Scope, :ScopeDesc, :InternetBorderUuid, :ParamTemplateName, :ParamTemplateId, :SourceName, :TargetName, :LastHitTime, :CountryKey, :CityKey
2400
+ attr_accessor :SourceContent, :TargetContent, :Protocol, :Port, :RuleAction, :Description, :Count, :OrderIndex, :SourceType, :TargetType, :Uuid, :Invalid, :IsRegion, :CountryCode, :CityCode, :CountryName, :CityName, :CloudCode, :IsCloud, :Enable, :Direction, :InstanceName, :InternalUuid, :Status, :BetaList, :Scope, :ScopeDesc, :InternetBorderUuid, :ParamTemplateName, :ParamTemplateId, :SourceName, :TargetName, :LastHitTime, :CountryKey, :CityKey, :CreateTime, :UpdateTime
2348
2401
 
2349
- def initialize(sourcecontent=nil, targetcontent=nil, protocol=nil, port=nil, ruleaction=nil, description=nil, count=nil, orderindex=nil, sourcetype=nil, targettype=nil, uuid=nil, invalid=nil, isregion=nil, countrycode=nil, citycode=nil, countryname=nil, cityname=nil, cloudcode=nil, iscloud=nil, enable=nil, direction=nil, instancename=nil, internaluuid=nil, status=nil, betalist=nil, scope=nil, scopedesc=nil, internetborderuuid=nil, paramtemplatename=nil, paramtemplateid=nil, sourcename=nil, targetname=nil, lasthittime=nil, countrykey=nil, citykey=nil)
2402
+ def initialize(sourcecontent=nil, targetcontent=nil, protocol=nil, port=nil, ruleaction=nil, description=nil, count=nil, orderindex=nil, sourcetype=nil, targettype=nil, uuid=nil, invalid=nil, isregion=nil, countrycode=nil, citycode=nil, countryname=nil, cityname=nil, cloudcode=nil, iscloud=nil, enable=nil, direction=nil, instancename=nil, internaluuid=nil, status=nil, betalist=nil, scope=nil, scopedesc=nil, internetborderuuid=nil, paramtemplatename=nil, paramtemplateid=nil, sourcename=nil, targetname=nil, lasthittime=nil, countrykey=nil, citykey=nil, createtime=nil, updatetime=nil)
2350
2403
  @SourceContent = sourcecontent
2351
2404
  @TargetContent = targetcontent
2352
2405
  @Protocol = protocol
@@ -2382,6 +2435,8 @@ module TencentCloud
2382
2435
  @LastHitTime = lasthittime
2383
2436
  @CountryKey = countrykey
2384
2437
  @CityKey = citykey
2438
+ @CreateTime = createtime
2439
+ @UpdateTime = updatetime
2385
2440
  end
2386
2441
 
2387
2442
  def deserialize(params)
@@ -2427,6 +2482,8 @@ module TencentCloud
2427
2482
  @LastHitTime = params['LastHitTime']
2428
2483
  @CountryKey = params['CountryKey']
2429
2484
  @CityKey = params['CityKey']
2485
+ @CreateTime = params['CreateTime']
2486
+ @UpdateTime = params['UpdateTime']
2430
2487
  end
2431
2488
  end
2432
2489
 
@@ -3826,12 +3883,18 @@ module TencentCloud
3826
3883
  # @type TimeHistogramShow: :class:`Tencentcloud::Cfw.v20190904.models.StorageHistogramShow`
3827
3884
  # @param ArrearsStopWriting: 后付费模式存储状态,0正常,1欠费停止写入
3828
3885
  # @type ArrearsStopWriting: Integer
3886
+ # @param NDRNetFlowSize: NDR流量日志存储量,单位B
3887
+ # @type NDRNetFlowSize: Integer
3888
+ # @param NDRRiskSize: NDR风险日志存储量,单位B
3889
+ # @type NDRRiskSize: Integer
3890
+ # @param NDRStorageDay: NDR日志存储天数
3891
+ # @type NDRStorageDay: Integer
3829
3892
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3830
3893
  # @type RequestId: String
3831
3894
 
3832
- attr_accessor :ReturnCode, :ReturnMsg, :UsedSize, :TotalSize, :StorageDay, :AclSize, :IdsSize, :NetFlowSize, :OperateSize, :LeftSize, :PayMode, :TimeHistogram, :TimeHistogramShow, :ArrearsStopWriting, :RequestId
3895
+ attr_accessor :ReturnCode, :ReturnMsg, :UsedSize, :TotalSize, :StorageDay, :AclSize, :IdsSize, :NetFlowSize, :OperateSize, :LeftSize, :PayMode, :TimeHistogram, :TimeHistogramShow, :ArrearsStopWriting, :NDRNetFlowSize, :NDRRiskSize, :NDRStorageDay, :RequestId
3833
3896
 
3834
- def initialize(returncode=nil, returnmsg=nil, usedsize=nil, totalsize=nil, storageday=nil, aclsize=nil, idssize=nil, netflowsize=nil, operatesize=nil, leftsize=nil, paymode=nil, timehistogram=nil, timehistogramshow=nil, arrearsstopwriting=nil, requestid=nil)
3897
+ def initialize(returncode=nil, returnmsg=nil, usedsize=nil, totalsize=nil, storageday=nil, aclsize=nil, idssize=nil, netflowsize=nil, operatesize=nil, leftsize=nil, paymode=nil, timehistogram=nil, timehistogramshow=nil, arrearsstopwriting=nil, ndrnetflowsize=nil, ndrrisksize=nil, ndrstorageday=nil, requestid=nil)
3835
3898
  @ReturnCode = returncode
3836
3899
  @ReturnMsg = returnmsg
3837
3900
  @UsedSize = usedsize
@@ -3846,6 +3909,9 @@ module TencentCloud
3846
3909
  @TimeHistogram = timehistogram
3847
3910
  @TimeHistogramShow = timehistogramshow
3848
3911
  @ArrearsStopWriting = arrearsstopwriting
3912
+ @NDRNetFlowSize = ndrnetflowsize
3913
+ @NDRRiskSize = ndrrisksize
3914
+ @NDRStorageDay = ndrstorageday
3849
3915
  @RequestId = requestid
3850
3916
  end
3851
3917
 
@@ -3874,6 +3940,9 @@ module TencentCloud
3874
3940
  @TimeHistogramShow.deserialize(params['TimeHistogramShow'])
3875
3941
  end
3876
3942
  @ArrearsStopWriting = params['ArrearsStopWriting']
3943
+ @NDRNetFlowSize = params['NDRNetFlowSize']
3944
+ @NDRRiskSize = params['NDRRiskSize']
3945
+ @NDRStorageDay = params['NDRStorageDay']
3877
3946
  @RequestId = params['RequestId']
3878
3947
  end
3879
3948
  end
@@ -4310,6 +4379,136 @@ module TencentCloud
4310
4379
  end
4311
4380
  end
4312
4381
 
4382
+ # DescribeNatFwSwitch请求参数结构体
4383
+ class DescribeNatFwSwitchRequest < TencentCloud::Common::AbstractModel
4384
+ # @param Offset: 偏移量,分页用
4385
+ # @type Offset: Integer
4386
+ # @param Limit: 条数,分页用
4387
+ # @type Limit: Integer
4388
+ # @param Filters: 过滤条件组合
4389
+ # @type Filters: Array
4390
+ # @param Order: desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值
4391
+ # @type Order: String
4392
+ # @param By: 排序所用到的字段
4393
+ # @type By: String
4394
+
4395
+ attr_accessor :Offset, :Limit, :Filters, :Order, :By
4396
+
4397
+ def initialize(offset=nil, limit=nil, filters=nil, order=nil, by=nil)
4398
+ @Offset = offset
4399
+ @Limit = limit
4400
+ @Filters = filters
4401
+ @Order = order
4402
+ @By = by
4403
+ end
4404
+
4405
+ def deserialize(params)
4406
+ @Offset = params['Offset']
4407
+ @Limit = params['Limit']
4408
+ unless params['Filters'].nil?
4409
+ @Filters = []
4410
+ params['Filters'].each do |i|
4411
+ commonfilter_tmp = CommonFilter.new
4412
+ commonfilter_tmp.deserialize(i)
4413
+ @Filters << commonfilter_tmp
4414
+ end
4415
+ end
4416
+ @Order = params['Order']
4417
+ @By = params['By']
4418
+ end
4419
+ end
4420
+
4421
+ # DescribeNatFwSwitch返回参数结构体
4422
+ class DescribeNatFwSwitchResponse < TencentCloud::Common::AbstractModel
4423
+ # @param Total: 总数
4424
+ # 注意:此字段可能返回 null,表示取不到有效值。
4425
+ # @type Total: Integer
4426
+ # @param Data: NAT边界防火墙开关列表数据
4427
+ # 注意:此字段可能返回 null,表示取不到有效值。
4428
+ # @type Data: Array
4429
+ # @param VpcList: 开关相关VPC列表
4430
+ # 注意:此字段可能返回 null,表示取不到有效值。
4431
+ # @type VpcList: Array
4432
+ # @param NatList: 开关相关NAT列表
4433
+ # 注意:此字段可能返回 null,表示取不到有效值。
4434
+ # @type NatList: Array
4435
+ # @param RouteList: 开关相关ROUTE列表
4436
+ # 注意:此字段可能返回 null,表示取不到有效值。
4437
+ # @type RouteList: Array
4438
+ # @param OnNum: 开启开关个数
4439
+ # 注意:此字段可能返回 null,表示取不到有效值。
4440
+ # @type OnNum: Integer
4441
+ # @param OffNum: 关闭开关个数
4442
+ # 注意:此字段可能返回 null,表示取不到有效值。
4443
+ # @type OffNum: Integer
4444
+ # @param FailData: 失败开关状态
4445
+ # 注意:此字段可能返回 null,表示取不到有效值。
4446
+ # @type FailData: Array
4447
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4448
+ # @type RequestId: String
4449
+
4450
+ attr_accessor :Total, :Data, :VpcList, :NatList, :RouteList, :OnNum, :OffNum, :FailData, :RequestId
4451
+
4452
+ def initialize(total=nil, data=nil, vpclist=nil, natlist=nil, routelist=nil, onnum=nil, offnum=nil, faildata=nil, requestid=nil)
4453
+ @Total = total
4454
+ @Data = data
4455
+ @VpcList = vpclist
4456
+ @NatList = natlist
4457
+ @RouteList = routelist
4458
+ @OnNum = onnum
4459
+ @OffNum = offnum
4460
+ @FailData = faildata
4461
+ @RequestId = requestid
4462
+ end
4463
+
4464
+ def deserialize(params)
4465
+ @Total = params['Total']
4466
+ unless params['Data'].nil?
4467
+ @Data = []
4468
+ params['Data'].each do |i|
4469
+ natswitchlistdata_tmp = NatSwitchListData.new
4470
+ natswitchlistdata_tmp.deserialize(i)
4471
+ @Data << natswitchlistdata_tmp
4472
+ end
4473
+ end
4474
+ unless params['VpcList'].nil?
4475
+ @VpcList = []
4476
+ params['VpcList'].each do |i|
4477
+ commonidname_tmp = CommonIdName.new
4478
+ commonidname_tmp.deserialize(i)
4479
+ @VpcList << commonidname_tmp
4480
+ end
4481
+ end
4482
+ unless params['NatList'].nil?
4483
+ @NatList = []
4484
+ params['NatList'].each do |i|
4485
+ commonidname_tmp = CommonIdName.new
4486
+ commonidname_tmp.deserialize(i)
4487
+ @NatList << commonidname_tmp
4488
+ end
4489
+ end
4490
+ unless params['RouteList'].nil?
4491
+ @RouteList = []
4492
+ params['RouteList'].each do |i|
4493
+ commonidname_tmp = CommonIdName.new
4494
+ commonidname_tmp.deserialize(i)
4495
+ @RouteList << commonidname_tmp
4496
+ end
4497
+ end
4498
+ @OnNum = params['OnNum']
4499
+ @OffNum = params['OffNum']
4500
+ unless params['FailData'].nil?
4501
+ @FailData = []
4502
+ params['FailData'].each do |i|
4503
+ commonidnamestatus_tmp = CommonIdNameStatus.new
4504
+ commonidnamestatus_tmp.deserialize(i)
4505
+ @FailData << commonidnamestatus_tmp
4506
+ end
4507
+ end
4508
+ @RequestId = params['RequestId']
4509
+ end
4510
+ end
4511
+
4313
4512
  # DescribeNatFwVpcDnsLst请求参数结构体
4314
4513
  class DescribeNatFwVpcDnsLstRequest < TencentCloud::Common::AbstractModel
4315
4514
  # @param NatFwInsId: natfw 防火墙实例id
@@ -5438,10 +5637,14 @@ module TencentCloud
5438
5637
  # @type Id: Integer
5439
5638
  # @param DnsParseCount: 域名解析的IP统计
5440
5639
  # @type DnsParseCount: :class:`Tencentcloud::Cfw.v20190904.models.SgDnsParseCount`
5640
+ # @param CreateTime: 规则创建时间
5641
+ # @type CreateTime: String
5642
+ # @param UpdateTime: 规则最近更新时间
5643
+ # @type UpdateTime: String
5441
5644
 
5442
- attr_accessor :OrderIndex, :RuleUuid, :Uuid, :SourceId, :SourceType, :TargetId, :TargetType, :Protocol, :Port, :Strategy, :Status, :Detail, :AclTags, :IsNew, :Region, :IsDelay, :ServiceTemplateId, :SouInstanceName, :SouPublicIp, :SouPrivateIp, :SouCidr, :SouParameterName, :InstanceName, :PublicIp, :PrivateIp, :Cidr, :ParameterName, :ProtocolPortName, :BetaList, :Id, :DnsParseCount
5645
+ attr_accessor :OrderIndex, :RuleUuid, :Uuid, :SourceId, :SourceType, :TargetId, :TargetType, :Protocol, :Port, :Strategy, :Status, :Detail, :AclTags, :IsNew, :Region, :IsDelay, :ServiceTemplateId, :SouInstanceName, :SouPublicIp, :SouPrivateIp, :SouCidr, :SouParameterName, :InstanceName, :PublicIp, :PrivateIp, :Cidr, :ParameterName, :ProtocolPortName, :BetaList, :Id, :DnsParseCount, :CreateTime, :UpdateTime
5443
5646
 
5444
- def initialize(orderindex=nil, ruleuuid=nil, uuid=nil, sourceid=nil, sourcetype=nil, targetid=nil, targettype=nil, protocol=nil, port=nil, strategy=nil, status=nil, detail=nil, acltags=nil, isnew=nil, region=nil, isdelay=nil, servicetemplateid=nil, souinstancename=nil, soupublicip=nil, souprivateip=nil, soucidr=nil, souparametername=nil, instancename=nil, publicip=nil, privateip=nil, cidr=nil, parametername=nil, protocolportname=nil, betalist=nil, id=nil, dnsparsecount=nil)
5647
+ def initialize(orderindex=nil, ruleuuid=nil, uuid=nil, sourceid=nil, sourcetype=nil, targetid=nil, targettype=nil, protocol=nil, port=nil, strategy=nil, status=nil, detail=nil, acltags=nil, isnew=nil, region=nil, isdelay=nil, servicetemplateid=nil, souinstancename=nil, soupublicip=nil, souprivateip=nil, soucidr=nil, souparametername=nil, instancename=nil, publicip=nil, privateip=nil, cidr=nil, parametername=nil, protocolportname=nil, betalist=nil, id=nil, dnsparsecount=nil, createtime=nil, updatetime=nil)
5445
5648
  @OrderIndex = orderindex
5446
5649
  @RuleUuid = ruleuuid
5447
5650
  @Uuid = uuid
@@ -5473,6 +5676,8 @@ module TencentCloud
5473
5676
  @BetaList = betalist
5474
5677
  @Id = id
5475
5678
  @DnsParseCount = dnsparsecount
5679
+ @CreateTime = createtime
5680
+ @UpdateTime = updatetime
5476
5681
  end
5477
5682
 
5478
5683
  def deserialize(params)
@@ -5517,6 +5722,8 @@ module TencentCloud
5517
5722
  @DnsParseCount = SgDnsParseCount.new
5518
5723
  @DnsParseCount.deserialize(params['DnsParseCount'])
5519
5724
  end
5725
+ @CreateTime = params['CreateTime']
5726
+ @UpdateTime = params['UpdateTime']
5520
5727
  end
5521
5728
  end
5522
5729
 
@@ -7967,6 +8174,117 @@ module TencentCloud
7967
8174
  end
7968
8175
  end
7969
8176
 
8177
+ # NAT防火墙开关列表数据
8178
+ class NatSwitchListData < TencentCloud::Common::AbstractModel
8179
+ # @param Id: 列表ID
8180
+ # @type Id: Integer
8181
+ # @param SubnetId: 子网ID
8182
+ # 注意:此字段可能返回 null,表示取不到有效值。
8183
+ # @type SubnetId: String
8184
+ # @param SubnetName: 子网名称
8185
+ # 注意:此字段可能返回 null,表示取不到有效值。
8186
+ # @type SubnetName: String
8187
+ # @param SubnetCidr: IPv4 CIDR
8188
+ # 注意:此字段可能返回 null,表示取不到有效值。
8189
+ # @type SubnetCidr: String
8190
+ # @param RouteId: 关联路由ID
8191
+ # 注意:此字段可能返回 null,表示取不到有效值。
8192
+ # @type RouteId: String
8193
+ # @param RouteName: 关联路由名称
8194
+ # 注意:此字段可能返回 null,表示取不到有效值。
8195
+ # @type RouteName: String
8196
+ # @param CvmNum: 云服务器个数
8197
+ # 注意:此字段可能返回 null,表示取不到有效值。
8198
+ # @type CvmNum: Integer
8199
+ # @param VpcId: 所属VPC ID
8200
+ # 注意:此字段可能返回 null,表示取不到有效值。
8201
+ # @type VpcId: String
8202
+ # @param VpcName: 所属VPC名称
8203
+ # 注意:此字段可能返回 null,表示取不到有效值。
8204
+ # @type VpcName: String
8205
+ # @param Enable: 是否生效
8206
+ # 注意:此字段可能返回 null,表示取不到有效值。
8207
+ # @type Enable: Integer
8208
+ # @param Status: 开关状态
8209
+ # 注意:此字段可能返回 null,表示取不到有效值。
8210
+ # @type Status: Integer
8211
+ # @param NatId: NAT网关ID
8212
+ # 注意:此字段可能返回 null,表示取不到有效值。
8213
+ # @type NatId: String
8214
+ # @param NatName: NAT网关名称
8215
+ # 注意:此字段可能返回 null,表示取不到有效值。
8216
+ # @type NatName: String
8217
+ # @param NatInsId: NAT防火墙实例ID
8218
+ # 注意:此字段可能返回 null,表示取不到有效值。
8219
+ # @type NatInsId: String
8220
+ # @param NatInsName: NAT防火墙实例名称
8221
+ # 注意:此字段可能返回 null,表示取不到有效值。
8222
+ # @type NatInsName: String
8223
+ # @param Region: 地域
8224
+ # 注意:此字段可能返回 null,表示取不到有效值。
8225
+ # @type Region: String
8226
+ # @param Abnormal: 开关是否异常,0:正常,1:异常
8227
+ # 注意:此字段可能返回 null,表示取不到有效值。
8228
+ # @type Abnormal: Integer
8229
+ # @param ORTableId: nat防火墙出口路由表id
8230
+ # 注意:此字段可能返回 null,表示取不到有效值。
8231
+ # @type ORTableId: String
8232
+ # @param ORTableName: nat防火墙出口路由表名称
8233
+ # 注意:此字段可能返回 null,表示取不到有效值。
8234
+ # @type ORTableName: String
8235
+ # @param Ohavips: 出口Snat Ip列表
8236
+ # 注意:此字段可能返回 null,表示取不到有效值。
8237
+ # @type Ohavips: Array
8238
+
8239
+ attr_accessor :Id, :SubnetId, :SubnetName, :SubnetCidr, :RouteId, :RouteName, :CvmNum, :VpcId, :VpcName, :Enable, :Status, :NatId, :NatName, :NatInsId, :NatInsName, :Region, :Abnormal, :ORTableId, :ORTableName, :Ohavips
8240
+
8241
+ 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)
8242
+ @Id = id
8243
+ @SubnetId = subnetid
8244
+ @SubnetName = subnetname
8245
+ @SubnetCidr = subnetcidr
8246
+ @RouteId = routeid
8247
+ @RouteName = routename
8248
+ @CvmNum = cvmnum
8249
+ @VpcId = vpcid
8250
+ @VpcName = vpcname
8251
+ @Enable = enable
8252
+ @Status = status
8253
+ @NatId = natid
8254
+ @NatName = natname
8255
+ @NatInsId = natinsid
8256
+ @NatInsName = natinsname
8257
+ @Region = region
8258
+ @Abnormal = abnormal
8259
+ @ORTableId = ortableid
8260
+ @ORTableName = ortablename
8261
+ @Ohavips = ohavips
8262
+ end
8263
+
8264
+ def deserialize(params)
8265
+ @Id = params['Id']
8266
+ @SubnetId = params['SubnetId']
8267
+ @SubnetName = params['SubnetName']
8268
+ @SubnetCidr = params['SubnetCidr']
8269
+ @RouteId = params['RouteId']
8270
+ @RouteName = params['RouteName']
8271
+ @CvmNum = params['CvmNum']
8272
+ @VpcId = params['VpcId']
8273
+ @VpcName = params['VpcName']
8274
+ @Enable = params['Enable']
8275
+ @Status = params['Status']
8276
+ @NatId = params['NatId']
8277
+ @NatName = params['NatName']
8278
+ @NatInsId = params['NatInsId']
8279
+ @NatInsName = params['NatInsName']
8280
+ @Region = params['Region']
8281
+ @Abnormal = params['Abnormal']
8282
+ @ORTableId = params['ORTableId']
8283
+ @ORTableName = params['ORTableName']
8284
+ @Ohavips = params['Ohavips']
8285
+ end
8286
+ end
8287
+
7970
8288
  # 网络实例信息
7971
8289
  class NetInstancesInfo < TencentCloud::Common::AbstractModel
7972
8290
  # @param InstanceId: 网络实例ID
@@ -9330,15 +9648,21 @@ module TencentCloud
9330
9648
  # @param Time: 统计时间
9331
9649
  # 注意:此字段可能返回 null,表示取不到有效值。
9332
9650
  # @type Time: String
9651
+ # @param NDRNetflowSize: NDR流量日志存储量,单位B
9652
+ # @type NDRNetflowSize: Integer
9653
+ # @param NDRRiskSize: NDR风险日志存储量,单位B
9654
+ # @type NDRRiskSize: Integer
9333
9655
 
9334
- attr_accessor :AclSize, :IdsSize, :NetFlowSize, :OperateSize, :Time
9656
+ attr_accessor :AclSize, :IdsSize, :NetFlowSize, :OperateSize, :Time, :NDRNetflowSize, :NDRRiskSize
9335
9657
 
9336
- def initialize(aclsize=nil, idssize=nil, netflowsize=nil, operatesize=nil, time=nil)
9658
+ def initialize(aclsize=nil, idssize=nil, netflowsize=nil, operatesize=nil, time=nil, ndrnetflowsize=nil, ndrrisksize=nil)
9337
9659
  @AclSize = aclsize
9338
9660
  @IdsSize = idssize
9339
9661
  @NetFlowSize = netflowsize
9340
9662
  @OperateSize = operatesize
9341
9663
  @Time = time
9664
+ @NDRNetflowSize = ndrnetflowsize
9665
+ @NDRRiskSize = ndrrisksize
9342
9666
  end
9343
9667
 
9344
9668
  def deserialize(params)
@@ -9347,6 +9671,8 @@ module TencentCloud
9347
9671
  @NetFlowSize = params['NetFlowSize']
9348
9672
  @OperateSize = params['OperateSize']
9349
9673
  @Time = params['Time']
9674
+ @NDRNetflowSize = params['NDRNetflowSize']
9675
+ @NDRRiskSize = params['NDRRiskSize']
9350
9676
  end
9351
9677
  end
9352
9678
 
@@ -10138,10 +10464,14 @@ module TencentCloud
10138
10464
  # @type IpVersion: Integer
10139
10465
  # @param Invalid: 是否是无效规则,0 表示有效规则,1 表示无效规则,出参场景返回使用
10140
10466
  # @type Invalid: Integer
10467
+ # @param CreateTime: 规则创建时间
10468
+ # @type CreateTime: String
10469
+ # @param UpdateTime: 规则最近更新时间
10470
+ # @type UpdateTime: String
10141
10471
 
10142
- 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, :Invalid
10472
+ 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, :Invalid, :CreateTime, :UpdateTime
10143
10473
 
10144
- 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, invalid=nil)
10474
+ 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, invalid=nil, createtime=nil, updatetime=nil)
10145
10475
  @SourceContent = sourcecontent
10146
10476
  @SourceType = sourcetype
10147
10477
  @DestContent = destcontent
@@ -10167,6 +10497,8 @@ module TencentCloud
10167
10497
  @SourceName = sourcename
10168
10498
  @IpVersion = ipversion
10169
10499
  @Invalid = invalid
10500
+ @CreateTime = createtime
10501
+ @UpdateTime = updatetime
10170
10502
  end
10171
10503
 
10172
10504
  def deserialize(params)
@@ -10202,6 +10534,8 @@ module TencentCloud
10202
10534
  @SourceName = params['SourceName']
10203
10535
  @IpVersion = params['IpVersion']
10204
10536
  @Invalid = params['Invalid']
10537
+ @CreateTime = params['CreateTime']
10538
+ @UpdateTime = params['UpdateTime']
10205
10539
  end
10206
10540
  end
10207
10541
 
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.1117
4
+ version: 3.0.1173
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-08-05 00:00:00.000000000 Z
11
+ date: 2025-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common