tencentcloud-sdk-cfw 3.0.871 → 3.0.873

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cb60b375a5b270c320d2b02b4eb1c119591bd7cf
4
- data.tar.gz: 399954ff71ed5d0238d9dcdf3f26a33fb010c264
3
+ metadata.gz: 2cee1ba28e66e83573025c51586bbbfb167eda91
4
+ data.tar.gz: 9a570f73ab10be95ba75a71d7ab1d33e6a9ea8f3
5
5
  SHA512:
6
- metadata.gz: 4224ba1a7cb24fb8fe4e80a3d8b8c505e6d67153513a172ecdb3cdc0870c511a5c8fb80f9b14ad11febe41bd8e64f2a16797dfdebd4bc670ce6948597ea7f1f2
7
- data.tar.gz: 639b8eccf5e9bb33d90eaef1673a4a66819383dd2dd189c8098e130b7d472c18199bca54ec5291236e560beb6cfff14667a66f994912d83e73eea9c3ee2ca1c0
6
+ metadata.gz: 719d5d2f136f08f2fe29912e43204dbc92dd2a151de1a6b61cffe1bbef793d10e7849e12481a81335689624aab0c3ea6c6448fe3fbe5844370768b09414e358e
7
+ data.tar.gz: 2a93422fe5186d3af3489692dc9fa40bf849d4719424acd971e8af6ef584e61b076c077feac0441abfbe99b233f7ca3f7d2af10abd080b7f5ad427056b359fcd
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.871
1
+ 3.0.873
@@ -1231,6 +1231,30 @@ module TencentCloud
1231
1231
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1232
1232
  end
1233
1233
 
1234
+ # 查询Nat防火墙Dnat规则
1235
+
1236
+ # @param request: Request instance for DescribeNatFwDnatRule.
1237
+ # @type request: :class:`Tencentcloud::cfw::V20190904::DescribeNatFwDnatRuleRequest`
1238
+ # @rtype: :class:`Tencentcloud::cfw::V20190904::DescribeNatFwDnatRuleResponse`
1239
+ def DescribeNatFwDnatRule(request)
1240
+ body = send_request('DescribeNatFwDnatRule', request.serialize)
1241
+ response = JSON.parse(body)
1242
+ if response['Response'].key?('Error') == false
1243
+ model = DescribeNatFwDnatRuleResponse.new
1244
+ model.deserialize(response['Response'])
1245
+ model
1246
+ else
1247
+ code = response['Response']['Error']['Code']
1248
+ message = response['Response']['Error']['Message']
1249
+ reqid = response['Response']['RequestId']
1250
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1251
+ end
1252
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1253
+ raise e
1254
+ rescue StandardError => e
1255
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1256
+ end
1257
+
1234
1258
  # 获取当前用户接入nat防火墙的所有子网数及natfw实例个数
1235
1259
 
1236
1260
  # @param request: Request instance for DescribeNatFwInfoCount.
@@ -2608,6 +2608,68 @@ module TencentCloud
2608
2608
  end
2609
2609
  end
2610
2610
 
2611
+ # NAT防火墙Dnat规则列表
2612
+ class DescNatDnatRule < TencentCloud::Common::AbstractModel
2613
+ # @param Id: id
2614
+ # 注意:此字段可能返回 null,表示取不到有效值。
2615
+ # @type Id: Integer
2616
+ # @param IpProtocol: 网络协议,可选值:TCP、UDP。
2617
+ # 注意:此字段可能返回 null,表示取不到有效值。
2618
+ # @type IpProtocol: String
2619
+ # @param PublicIpAddress: 弹性IP。
2620
+ # 注意:此字段可能返回 null,表示取不到有效值。
2621
+ # @type PublicIpAddress: String
2622
+ # @param PublicPort: 公网端口。
2623
+ # 注意:此字段可能返回 null,表示取不到有效值。
2624
+ # @type PublicPort: Integer
2625
+ # @param PrivateIpAddress: 内网地址。
2626
+ # 注意:此字段可能返回 null,表示取不到有效值。
2627
+ # @type PrivateIpAddress: String
2628
+ # @param PrivatePort: 内网端口。
2629
+ # 注意:此字段可能返回 null,表示取不到有效值。
2630
+ # @type PrivatePort: Integer
2631
+ # @param Description: NAT防火墙转发规则描述。
2632
+ # 注意:此字段可能返回 null,表示取不到有效值。
2633
+ # @type Description: String
2634
+ # @param IsReferenced: 是否被关联引用,如被远程运维使用
2635
+ # 注意:此字段可能返回 null,表示取不到有效值。
2636
+ # @type IsReferenced: Integer
2637
+ # @param FwInsId: 所属防火墙实例id
2638
+ # 注意:此字段可能返回 null,表示取不到有效值。
2639
+ # @type FwInsId: String
2640
+ # @param NatGwId: 关联的nat网关Id
2641
+ # 注意:此字段可能返回 null,表示取不到有效值。
2642
+ # @type NatGwId: String
2643
+
2644
+ attr_accessor :Id, :IpProtocol, :PublicIpAddress, :PublicPort, :PrivateIpAddress, :PrivatePort, :Description, :IsReferenced, :FwInsId, :NatGwId
2645
+
2646
+ def initialize(id=nil, ipprotocol=nil, publicipaddress=nil, publicport=nil, privateipaddress=nil, privateport=nil, description=nil, isreferenced=nil, fwinsid=nil, natgwid=nil)
2647
+ @Id = id
2648
+ @IpProtocol = ipprotocol
2649
+ @PublicIpAddress = publicipaddress
2650
+ @PublicPort = publicport
2651
+ @PrivateIpAddress = privateipaddress
2652
+ @PrivatePort = privateport
2653
+ @Description = description
2654
+ @IsReferenced = isreferenced
2655
+ @FwInsId = fwinsid
2656
+ @NatGwId = natgwid
2657
+ end
2658
+
2659
+ def deserialize(params)
2660
+ @Id = params['Id']
2661
+ @IpProtocol = params['IpProtocol']
2662
+ @PublicIpAddress = params['PublicIpAddress']
2663
+ @PublicPort = params['PublicPort']
2664
+ @PrivateIpAddress = params['PrivateIpAddress']
2665
+ @PrivatePort = params['PrivatePort']
2666
+ @Description = params['Description']
2667
+ @IsReferenced = params['IsReferenced']
2668
+ @FwInsId = params['FwInsId']
2669
+ @NatGwId = params['NatGwId']
2670
+ end
2671
+ end
2672
+
2611
2673
  # DescribeAcLists请求参数结构体
2612
2674
  class DescribeAcListsRequest < TencentCloud::Common::AbstractModel
2613
2675
  # @param Protocol: 协议
@@ -2845,18 +2907,24 @@ module TencentCloud
2845
2907
  # @type DomainTemplateCount: Integer
2846
2908
  # @param PortTemplateCount: 协议端口模板数量
2847
2909
  # @type PortTemplateCount: Integer
2910
+ # @param UsedTemplateCount: 已使用的地址模版数
2911
+ # @type UsedTemplateCount: Integer
2912
+ # @param TemplateQuotaCount: 地址模版配额数量
2913
+ # @type TemplateQuotaCount: Integer
2848
2914
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2849
2915
  # @type RequestId: String
2850
2916
 
2851
- attr_accessor :Total, :Data, :NameList, :IpTemplateCount, :DomainTemplateCount, :PortTemplateCount, :RequestId
2917
+ attr_accessor :Total, :Data, :NameList, :IpTemplateCount, :DomainTemplateCount, :PortTemplateCount, :UsedTemplateCount, :TemplateQuotaCount, :RequestId
2852
2918
 
2853
- def initialize(total=nil, data=nil, namelist=nil, iptemplatecount=nil, domaintemplatecount=nil, porttemplatecount=nil, requestid=nil)
2919
+ def initialize(total=nil, data=nil, namelist=nil, iptemplatecount=nil, domaintemplatecount=nil, porttemplatecount=nil, usedtemplatecount=nil, templatequotacount=nil, requestid=nil)
2854
2920
  @Total = total
2855
2921
  @Data = data
2856
2922
  @NameList = namelist
2857
2923
  @IpTemplateCount = iptemplatecount
2858
2924
  @DomainTemplateCount = domaintemplatecount
2859
2925
  @PortTemplateCount = porttemplatecount
2926
+ @UsedTemplateCount = usedtemplatecount
2927
+ @TemplateQuotaCount = templatequotacount
2860
2928
  @RequestId = requestid
2861
2929
  end
2862
2930
 
@@ -2874,6 +2942,8 @@ module TencentCloud
2874
2942
  @IpTemplateCount = params['IpTemplateCount']
2875
2943
  @DomainTemplateCount = params['DomainTemplateCount']
2876
2944
  @PortTemplateCount = params['PortTemplateCount']
2945
+ @UsedTemplateCount = params['UsedTemplateCount']
2946
+ @TemplateQuotaCount = params['TemplateQuotaCount']
2877
2947
  @RequestId = params['RequestId']
2878
2948
  end
2879
2949
  end
@@ -3903,16 +3973,20 @@ module TencentCloud
3903
3973
  # @type ReturnCode: Integer
3904
3974
  # @param ReturnMsg: 返回信息 success 成功 其他 不成功
3905
3975
  # @type ReturnMsg: String
3976
+ # @param AppProtocolList: 七层协议,NTA日志有效
3977
+ # 注意:此字段可能返回 null,表示取不到有效值。
3978
+ # @type AppProtocolList: Array
3906
3979
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3907
3980
  # @type RequestId: String
3908
3981
 
3909
- attr_accessor :Data, :Total, :ReturnCode, :ReturnMsg, :RequestId
3982
+ attr_accessor :Data, :Total, :ReturnCode, :ReturnMsg, :AppProtocolList, :RequestId
3910
3983
 
3911
- def initialize(data=nil, total=nil, returncode=nil, returnmsg=nil, requestid=nil)
3984
+ def initialize(data=nil, total=nil, returncode=nil, returnmsg=nil, appprotocollist=nil, requestid=nil)
3912
3985
  @Data = data
3913
3986
  @Total = total
3914
3987
  @ReturnCode = returncode
3915
3988
  @ReturnMsg = returnmsg
3989
+ @AppProtocolList = appprotocollist
3916
3990
  @RequestId = requestid
3917
3991
  end
3918
3992
 
@@ -3921,6 +3995,7 @@ module TencentCloud
3921
3995
  @Total = params['Total']
3922
3996
  @ReturnCode = params['ReturnCode']
3923
3997
  @ReturnMsg = params['ReturnMsg']
3998
+ @AppProtocolList = params['AppProtocolList']
3924
3999
  @RequestId = params['RequestId']
3925
4000
  end
3926
4001
  end
@@ -4012,6 +4087,89 @@ module TencentCloud
4012
4087
  end
4013
4088
  end
4014
4089
 
4090
+ # DescribeNatFwDnatRule请求参数结构体
4091
+ class DescribeNatFwDnatRuleRequest < TencentCloud::Common::AbstractModel
4092
+ # @param Index: 需要查询的索引,特定场景使用,可不填
4093
+ # @type Index: String
4094
+ # @param Filters: 过滤条件组合
4095
+ # @type Filters: Array
4096
+ # @param Limit: 每页条数
4097
+ # @type Limit: Integer
4098
+ # @param Offset: 偏移值
4099
+ # @type Offset: Integer
4100
+ # @param StartTime: 检索的起始时间,可不传
4101
+ # @type StartTime: String
4102
+ # @param EndTime: 检索的截止时间,可不传
4103
+ # @type EndTime: String
4104
+ # @param Order: desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值
4105
+ # @type Order: String
4106
+ # @param By: 排序所用到的字段
4107
+ # @type By: String
4108
+
4109
+ attr_accessor :Index, :Filters, :Limit, :Offset, :StartTime, :EndTime, :Order, :By
4110
+
4111
+ def initialize(index=nil, filters=nil, limit=nil, offset=nil, starttime=nil, endtime=nil, order=nil, by=nil)
4112
+ @Index = index
4113
+ @Filters = filters
4114
+ @Limit = limit
4115
+ @Offset = offset
4116
+ @StartTime = starttime
4117
+ @EndTime = endtime
4118
+ @Order = order
4119
+ @By = by
4120
+ end
4121
+
4122
+ def deserialize(params)
4123
+ @Index = params['Index']
4124
+ unless params['Filters'].nil?
4125
+ @Filters = []
4126
+ params['Filters'].each do |i|
4127
+ commonfilter_tmp = CommonFilter.new
4128
+ commonfilter_tmp.deserialize(i)
4129
+ @Filters << commonfilter_tmp
4130
+ end
4131
+ end
4132
+ @Limit = params['Limit']
4133
+ @Offset = params['Offset']
4134
+ @StartTime = params['StartTime']
4135
+ @EndTime = params['EndTime']
4136
+ @Order = params['Order']
4137
+ @By = params['By']
4138
+ end
4139
+ end
4140
+
4141
+ # DescribeNatFwDnatRule返回参数结构体
4142
+ class DescribeNatFwDnatRuleResponse < TencentCloud::Common::AbstractModel
4143
+ # @param Data: Dnat规则列表
4144
+ # 注意:此字段可能返回 null,表示取不到有效值。
4145
+ # @type Data: Array
4146
+ # @param Total: 列表总数
4147
+ # @type Total: Integer
4148
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4149
+ # @type RequestId: String
4150
+
4151
+ attr_accessor :Data, :Total, :RequestId
4152
+
4153
+ def initialize(data=nil, total=nil, requestid=nil)
4154
+ @Data = data
4155
+ @Total = total
4156
+ @RequestId = requestid
4157
+ end
4158
+
4159
+ def deserialize(params)
4160
+ unless params['Data'].nil?
4161
+ @Data = []
4162
+ params['Data'].each do |i|
4163
+ descnatdnatrule_tmp = DescNatDnatRule.new
4164
+ descnatdnatrule_tmp.deserialize(i)
4165
+ @Data << descnatdnatrule_tmp
4166
+ end
4167
+ end
4168
+ @Total = params['Total']
4169
+ @RequestId = params['RequestId']
4170
+ end
4171
+ end
4172
+
4015
4173
  # DescribeNatFwInfoCount请求参数结构体
4016
4174
  class DescribeNatFwInfoCountRequest < TencentCloud::Common::AbstractModel
4017
4175
 
@@ -9371,10 +9529,16 @@ module TencentCloud
9371
9529
  # @param CrossUserMode: 跨租户模式 1管理员 2单边 0 非跨租户
9372
9530
  # 注意:此字段可能返回 null,表示取不到有效值。
9373
9531
  # @type CrossUserMode: String
9532
+ # @param NeedSwitchCcnOverlap: 云联网模式下,当前实例是否需要开启重叠路由开关,1:需要开启,0:不需要开启
9533
+ # 注意:此字段可能返回 null,表示取不到有效值。
9534
+ # @type NeedSwitchCcnOverlap: Integer
9535
+ # @param CcnId: 云联网模式下,实例关联的云联网id
9536
+ # 注意:此字段可能返回 null,表示取不到有效值。
9537
+ # @type CcnId: String
9374
9538
 
9375
- attr_accessor :FwGroupId, :FwGroupName, :FwSwitchNum, :RegionLst, :Mode, :SwitchMode, :FwInstanceLst, :Status, :FwVpcCidr, :CdcId, :CdcName, :CrossUserMode
9539
+ attr_accessor :FwGroupId, :FwGroupName, :FwSwitchNum, :RegionLst, :Mode, :SwitchMode, :FwInstanceLst, :Status, :FwVpcCidr, :CdcId, :CdcName, :CrossUserMode, :NeedSwitchCcnOverlap, :CcnId
9376
9540
 
9377
- def initialize(fwgroupid=nil, fwgroupname=nil, fwswitchnum=nil, regionlst=nil, mode=nil, switchmode=nil, fwinstancelst=nil, status=nil, fwvpccidr=nil, cdcid=nil, cdcname=nil, crossusermode=nil)
9541
+ def initialize(fwgroupid=nil, fwgroupname=nil, fwswitchnum=nil, regionlst=nil, mode=nil, switchmode=nil, fwinstancelst=nil, status=nil, fwvpccidr=nil, cdcid=nil, cdcname=nil, crossusermode=nil, needswitchccnoverlap=nil, ccnid=nil)
9378
9542
  @FwGroupId = fwgroupid
9379
9543
  @FwGroupName = fwgroupname
9380
9544
  @FwSwitchNum = fwswitchnum
@@ -9387,6 +9551,8 @@ module TencentCloud
9387
9551
  @CdcId = cdcid
9388
9552
  @CdcName = cdcname
9389
9553
  @CrossUserMode = crossusermode
9554
+ @NeedSwitchCcnOverlap = needswitchccnoverlap
9555
+ @CcnId = ccnid
9390
9556
  end
9391
9557
 
9392
9558
  def deserialize(params)
@@ -9409,6 +9575,8 @@ module TencentCloud
9409
9575
  @CdcId = params['CdcId']
9410
9576
  @CdcName = params['CdcName']
9411
9577
  @CrossUserMode = params['CrossUserMode']
9578
+ @NeedSwitchCcnOverlap = params['NeedSwitchCcnOverlap']
9579
+ @CcnId = params['CcnId']
9412
9580
  end
9413
9581
  end
9414
9582
 
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.871
4
+ version: 3.0.873
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-07-23 00:00:00.000000000 Z
11
+ date: 2024-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common