tencentcloud-sdk-vpc 3.0.854 → 3.0.855

Sign up to get free protection for your applications and to get access to all the features.
@@ -3997,6 +3997,233 @@ module TencentCloud
3997
3997
  end
3998
3998
  end
3999
3999
 
4000
+ # CreatePrivateNatGatewayDestinationIpPortTranslationNatRule请求参数结构体
4001
+ class CreatePrivateNatGatewayDestinationIpPortTranslationNatRuleRequest < TencentCloud::Common::AbstractModel
4002
+ # @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
4003
+ # @type NatGatewayId: String
4004
+ # @param LocalDestinationIpPortTranslationNatRules: 目的端口转换规则列表。
4005
+ # @type LocalDestinationIpPortTranslationNatRules: Array
4006
+
4007
+ attr_accessor :NatGatewayId, :LocalDestinationIpPortTranslationNatRules
4008
+
4009
+ def initialize(natgatewayid=nil, localdestinationipporttranslationnatrules=nil)
4010
+ @NatGatewayId = natgatewayid
4011
+ @LocalDestinationIpPortTranslationNatRules = localdestinationipporttranslationnatrules
4012
+ end
4013
+
4014
+ def deserialize(params)
4015
+ @NatGatewayId = params['NatGatewayId']
4016
+ unless params['LocalDestinationIpPortTranslationNatRules'].nil?
4017
+ @LocalDestinationIpPortTranslationNatRules = []
4018
+ params['LocalDestinationIpPortTranslationNatRules'].each do |i|
4019
+ localdestinationipporttranslationnatrule_tmp = LocalDestinationIpPortTranslationNatRule.new
4020
+ localdestinationipporttranslationnatrule_tmp.deserialize(i)
4021
+ @LocalDestinationIpPortTranslationNatRules << localdestinationipporttranslationnatrule_tmp
4022
+ end
4023
+ end
4024
+ end
4025
+ end
4026
+
4027
+ # CreatePrivateNatGatewayDestinationIpPortTranslationNatRule返回参数结构体
4028
+ class CreatePrivateNatGatewayDestinationIpPortTranslationNatRuleResponse < TencentCloud::Common::AbstractModel
4029
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4030
+ # @type RequestId: String
4031
+
4032
+ attr_accessor :RequestId
4033
+
4034
+ def initialize(requestid=nil)
4035
+ @RequestId = requestid
4036
+ end
4037
+
4038
+ def deserialize(params)
4039
+ @RequestId = params['RequestId']
4040
+ end
4041
+ end
4042
+
4043
+ # CreatePrivateNatGateway请求参数结构体
4044
+ class CreatePrivateNatGatewayRequest < TencentCloud::Common::AbstractModel
4045
+ # @param NatGatewayName: 私网网关名称
4046
+ # @type NatGatewayName: String
4047
+ # @param VpcId: 私有网络实例ID。当创建VPC类型私网NAT网关或者专线网关类型私网NAT网关时,此参数必填。
4048
+ # @type VpcId: String
4049
+ # @param CrossDomain: 跨域参数。仅当取值为True时,才会支持跨域绑定VPC。
4050
+ # @type CrossDomain: Boolean
4051
+ # @param Tags: 实例标签
4052
+ # @type Tags: Array
4053
+ # @param VpcType: VPC类型私网NAT网关。仅当取值为True时,才会创建VPC类型私网NAT网关。
4054
+ # @type VpcType: Boolean
4055
+ # @param CcnId: 云联网类型私网NAT网关需要绑定的云联网实例ID。
4056
+ # @type CcnId: String
4057
+
4058
+ attr_accessor :NatGatewayName, :VpcId, :CrossDomain, :Tags, :VpcType, :CcnId
4059
+
4060
+ def initialize(natgatewayname=nil, vpcid=nil, crossdomain=nil, tags=nil, vpctype=nil, ccnid=nil)
4061
+ @NatGatewayName = natgatewayname
4062
+ @VpcId = vpcid
4063
+ @CrossDomain = crossdomain
4064
+ @Tags = tags
4065
+ @VpcType = vpctype
4066
+ @CcnId = ccnid
4067
+ end
4068
+
4069
+ def deserialize(params)
4070
+ @NatGatewayName = params['NatGatewayName']
4071
+ @VpcId = params['VpcId']
4072
+ @CrossDomain = params['CrossDomain']
4073
+ unless params['Tags'].nil?
4074
+ @Tags = []
4075
+ params['Tags'].each do |i|
4076
+ tag_tmp = Tag.new
4077
+ tag_tmp.deserialize(i)
4078
+ @Tags << tag_tmp
4079
+ end
4080
+ end
4081
+ @VpcType = params['VpcType']
4082
+ @CcnId = params['CcnId']
4083
+ end
4084
+ end
4085
+
4086
+ # CreatePrivateNatGateway返回参数结构体
4087
+ class CreatePrivateNatGatewayResponse < TencentCloud::Common::AbstractModel
4088
+ # @param PrivateNatGatewaySet: 私网网关对象。
4089
+ # @type PrivateNatGatewaySet: Array
4090
+ # @param TotalCount: 创建实例个数
4091
+ # @type TotalCount: Integer
4092
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4093
+ # @type RequestId: String
4094
+
4095
+ attr_accessor :PrivateNatGatewaySet, :TotalCount, :RequestId
4096
+
4097
+ def initialize(privatenatgatewayset=nil, totalcount=nil, requestid=nil)
4098
+ @PrivateNatGatewaySet = privatenatgatewayset
4099
+ @TotalCount = totalcount
4100
+ @RequestId = requestid
4101
+ end
4102
+
4103
+ def deserialize(params)
4104
+ unless params['PrivateNatGatewaySet'].nil?
4105
+ @PrivateNatGatewaySet = []
4106
+ params['PrivateNatGatewaySet'].each do |i|
4107
+ privatenatgateway_tmp = PrivateNatGateway.new
4108
+ privatenatgateway_tmp.deserialize(i)
4109
+ @PrivateNatGatewaySet << privatenatgateway_tmp
4110
+ end
4111
+ end
4112
+ @TotalCount = params['TotalCount']
4113
+ @RequestId = params['RequestId']
4114
+ end
4115
+ end
4116
+
4117
+ # CreatePrivateNatGatewayTranslationAclRule请求参数结构体
4118
+ class CreatePrivateNatGatewayTranslationAclRuleRequest < TencentCloud::Common::AbstractModel
4119
+ # @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
4120
+ # @type NatGatewayId: String
4121
+ # @param TranslationDirection: 转换规则目标,可选值"LOCAL"。
4122
+ # @type TranslationDirection: String
4123
+ # @param TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
4124
+ # @type TranslationType: String
4125
+ # @param TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池。
4126
+ # @type TranslationIp: String
4127
+ # @param TranslationAclRules: 访问控制列表。
4128
+ # @type TranslationAclRules: Array
4129
+ # @param OriginalIp: 源`IP`,当转换规则类型为三层时有效。
4130
+ # @type OriginalIp: String
4131
+
4132
+ attr_accessor :NatGatewayId, :TranslationDirection, :TranslationType, :TranslationIp, :TranslationAclRules, :OriginalIp
4133
+
4134
+ def initialize(natgatewayid=nil, translationdirection=nil, translationtype=nil, translationip=nil, translationaclrules=nil, originalip=nil)
4135
+ @NatGatewayId = natgatewayid
4136
+ @TranslationDirection = translationdirection
4137
+ @TranslationType = translationtype
4138
+ @TranslationIp = translationip
4139
+ @TranslationAclRules = translationaclrules
4140
+ @OriginalIp = originalip
4141
+ end
4142
+
4143
+ def deserialize(params)
4144
+ @NatGatewayId = params['NatGatewayId']
4145
+ @TranslationDirection = params['TranslationDirection']
4146
+ @TranslationType = params['TranslationType']
4147
+ @TranslationIp = params['TranslationIp']
4148
+ unless params['TranslationAclRules'].nil?
4149
+ @TranslationAclRules = []
4150
+ params['TranslationAclRules'].each do |i|
4151
+ translationaclrule_tmp = TranslationAclRule.new
4152
+ translationaclrule_tmp.deserialize(i)
4153
+ @TranslationAclRules << translationaclrule_tmp
4154
+ end
4155
+ end
4156
+ @OriginalIp = params['OriginalIp']
4157
+ end
4158
+ end
4159
+
4160
+ # CreatePrivateNatGatewayTranslationAclRule返回参数结构体
4161
+ class CreatePrivateNatGatewayTranslationAclRuleResponse < TencentCloud::Common::AbstractModel
4162
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4163
+ # @type RequestId: String
4164
+
4165
+ attr_accessor :RequestId
4166
+
4167
+ def initialize(requestid=nil)
4168
+ @RequestId = requestid
4169
+ end
4170
+
4171
+ def deserialize(params)
4172
+ @RequestId = params['RequestId']
4173
+ end
4174
+ end
4175
+
4176
+ # CreatePrivateNatGatewayTranslationNatRule请求参数结构体
4177
+ class CreatePrivateNatGatewayTranslationNatRuleRequest < TencentCloud::Common::AbstractModel
4178
+ # @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
4179
+ # @type NatGatewayId: String
4180
+ # @param TranslationNatRules: 转换规则对象数组。
4181
+ # @type TranslationNatRules: Array
4182
+ # @param CrossDomain: 跨域参数,当VPC为跨域时填写为True。
4183
+ # @type CrossDomain: Boolean
4184
+
4185
+ attr_accessor :NatGatewayId, :TranslationNatRules, :CrossDomain
4186
+
4187
+ def initialize(natgatewayid=nil, translationnatrules=nil, crossdomain=nil)
4188
+ @NatGatewayId = natgatewayid
4189
+ @TranslationNatRules = translationnatrules
4190
+ @CrossDomain = crossdomain
4191
+ end
4192
+
4193
+ def deserialize(params)
4194
+ @NatGatewayId = params['NatGatewayId']
4195
+ unless params['TranslationNatRules'].nil?
4196
+ @TranslationNatRules = []
4197
+ params['TranslationNatRules'].each do |i|
4198
+ translationnatruleinput_tmp = TranslationNatRuleInput.new
4199
+ translationnatruleinput_tmp.deserialize(i)
4200
+ @TranslationNatRules << translationnatruleinput_tmp
4201
+ end
4202
+ end
4203
+ @CrossDomain = params['CrossDomain']
4204
+ end
4205
+ end
4206
+
4207
+ # CreatePrivateNatGatewayTranslationNatRule返回参数结构体
4208
+ class CreatePrivateNatGatewayTranslationNatRuleResponse < TencentCloud::Common::AbstractModel
4209
+ # @param NatGatewayId: 私网网关唯一`ID`。
4210
+ # @type NatGatewayId: String
4211
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4212
+ # @type RequestId: String
4213
+
4214
+ attr_accessor :NatGatewayId, :RequestId
4215
+
4216
+ def initialize(natgatewayid=nil, requestid=nil)
4217
+ @NatGatewayId = natgatewayid
4218
+ @RequestId = requestid
4219
+ end
4220
+
4221
+ def deserialize(params)
4222
+ @NatGatewayId = params['NatGatewayId']
4223
+ @RequestId = params['RequestId']
4224
+ end
4225
+ end
4226
+
4000
4227
  # CreateRouteTable请求参数结构体
4001
4228
  class CreateRouteTableRequest < TencentCloud::Common::AbstractModel
4002
4229
  # @param VpcId: 待操作的VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。
@@ -6315,6 +6542,184 @@ module TencentCloud
6315
6542
  end
6316
6543
  end
6317
6544
 
6545
+ # DeletePrivateNatGatewayDestinationIpPortTranslationNatRule请求参数结构体
6546
+ class DeletePrivateNatGatewayDestinationIpPortTranslationNatRuleRequest < TencentCloud::Common::AbstractModel
6547
+ # @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
6548
+ # @type NatGatewayId: String
6549
+ # @param LocalDestinationIpPortTranslationNatRules: 目的端口转换规则数组。
6550
+ # @type LocalDestinationIpPortTranslationNatRules: Array
6551
+
6552
+ attr_accessor :NatGatewayId, :LocalDestinationIpPortTranslationNatRules
6553
+
6554
+ def initialize(natgatewayid=nil, localdestinationipporttranslationnatrules=nil)
6555
+ @NatGatewayId = natgatewayid
6556
+ @LocalDestinationIpPortTranslationNatRules = localdestinationipporttranslationnatrules
6557
+ end
6558
+
6559
+ def deserialize(params)
6560
+ @NatGatewayId = params['NatGatewayId']
6561
+ unless params['LocalDestinationIpPortTranslationNatRules'].nil?
6562
+ @LocalDestinationIpPortTranslationNatRules = []
6563
+ params['LocalDestinationIpPortTranslationNatRules'].each do |i|
6564
+ localdestinationipporttranslationnatrule_tmp = LocalDestinationIpPortTranslationNatRule.new
6565
+ localdestinationipporttranslationnatrule_tmp.deserialize(i)
6566
+ @LocalDestinationIpPortTranslationNatRules << localdestinationipporttranslationnatrule_tmp
6567
+ end
6568
+ end
6569
+ end
6570
+ end
6571
+
6572
+ # DeletePrivateNatGatewayDestinationIpPortTranslationNatRule返回参数结构体
6573
+ class DeletePrivateNatGatewayDestinationIpPortTranslationNatRuleResponse < TencentCloud::Common::AbstractModel
6574
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6575
+ # @type RequestId: String
6576
+
6577
+ attr_accessor :RequestId
6578
+
6579
+ def initialize(requestid=nil)
6580
+ @RequestId = requestid
6581
+ end
6582
+
6583
+ def deserialize(params)
6584
+ @RequestId = params['RequestId']
6585
+ end
6586
+ end
6587
+
6588
+ # DeletePrivateNatGateway请求参数结构体
6589
+ class DeletePrivateNatGatewayRequest < TencentCloud::Common::AbstractModel
6590
+ # @param NatGatewayId: 私网网关唯一`ID`,形如"intranat-xxxxxxxx"。
6591
+ # @type NatGatewayId: String
6592
+
6593
+ attr_accessor :NatGatewayId
6594
+
6595
+ def initialize(natgatewayid=nil)
6596
+ @NatGatewayId = natgatewayid
6597
+ end
6598
+
6599
+ def deserialize(params)
6600
+ @NatGatewayId = params['NatGatewayId']
6601
+ end
6602
+ end
6603
+
6604
+ # DeletePrivateNatGateway返回参数结构体
6605
+ class DeletePrivateNatGatewayResponse < TencentCloud::Common::AbstractModel
6606
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6607
+ # @type RequestId: String
6608
+
6609
+ attr_accessor :RequestId
6610
+
6611
+ def initialize(requestid=nil)
6612
+ @RequestId = requestid
6613
+ end
6614
+
6615
+ def deserialize(params)
6616
+ @RequestId = params['RequestId']
6617
+ end
6618
+ end
6619
+
6620
+ # DeletePrivateNatGatewayTranslationAclRule请求参数结构体
6621
+ class DeletePrivateNatGatewayTranslationAclRuleRequest < TencentCloud::Common::AbstractModel
6622
+ # @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
6623
+ # @type NatGatewayId: String
6624
+ # @param TranslationDirection: 转换规则目标,可选值"LOCAL"。
6625
+ # @type TranslationDirection: String
6626
+ # @param TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
6627
+ # @type TranslationType: String
6628
+ # @param TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池
6629
+ # @type TranslationIp: String
6630
+ # @param AclRuleIds: 访问控制规则对应`ID`
6631
+ # @type AclRuleIds: Array
6632
+ # @param OriginalIp: 源`IP`,当转换规则类型为三层时有效
6633
+ # @type OriginalIp: String
6634
+
6635
+ attr_accessor :NatGatewayId, :TranslationDirection, :TranslationType, :TranslationIp, :AclRuleIds, :OriginalIp
6636
+
6637
+ def initialize(natgatewayid=nil, translationdirection=nil, translationtype=nil, translationip=nil, aclruleids=nil, originalip=nil)
6638
+ @NatGatewayId = natgatewayid
6639
+ @TranslationDirection = translationdirection
6640
+ @TranslationType = translationtype
6641
+ @TranslationIp = translationip
6642
+ @AclRuleIds = aclruleids
6643
+ @OriginalIp = originalip
6644
+ end
6645
+
6646
+ def deserialize(params)
6647
+ @NatGatewayId = params['NatGatewayId']
6648
+ @TranslationDirection = params['TranslationDirection']
6649
+ @TranslationType = params['TranslationType']
6650
+ @TranslationIp = params['TranslationIp']
6651
+ @AclRuleIds = params['AclRuleIds']
6652
+ @OriginalIp = params['OriginalIp']
6653
+ end
6654
+ end
6655
+
6656
+ # DeletePrivateNatGatewayTranslationAclRule返回参数结构体
6657
+ class DeletePrivateNatGatewayTranslationAclRuleResponse < TencentCloud::Common::AbstractModel
6658
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6659
+ # @type RequestId: String
6660
+
6661
+ attr_accessor :RequestId
6662
+
6663
+ def initialize(requestid=nil)
6664
+ @RequestId = requestid
6665
+ end
6666
+
6667
+ def deserialize(params)
6668
+ @RequestId = params['RequestId']
6669
+ end
6670
+ end
6671
+
6672
+ # DeletePrivateNatGatewayTranslationNatRule请求参数结构体
6673
+ class DeletePrivateNatGatewayTranslationNatRuleRequest < TencentCloud::Common::AbstractModel
6674
+ # @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
6675
+ # @type NatGatewayId: String
6676
+ # @param TranslationNatRules: 转换规则对象数组。
6677
+ # @type TranslationNatRules: Array
6678
+ # @param CrossDomain: 跨域参数,当VPC为跨域时填写为True。
6679
+ # @type CrossDomain: Boolean
6680
+
6681
+ attr_accessor :NatGatewayId, :TranslationNatRules, :CrossDomain
6682
+
6683
+ def initialize(natgatewayid=nil, translationnatrules=nil, crossdomain=nil)
6684
+ @NatGatewayId = natgatewayid
6685
+ @TranslationNatRules = translationnatrules
6686
+ @CrossDomain = crossdomain
6687
+ end
6688
+
6689
+ def deserialize(params)
6690
+ @NatGatewayId = params['NatGatewayId']
6691
+ unless params['TranslationNatRules'].nil?
6692
+ @TranslationNatRules = []
6693
+ params['TranslationNatRules'].each do |i|
6694
+ translationnatrule_tmp = TranslationNatRule.new
6695
+ translationnatrule_tmp.deserialize(i)
6696
+ @TranslationNatRules << translationnatrule_tmp
6697
+ end
6698
+ end
6699
+ @CrossDomain = params['CrossDomain']
6700
+ end
6701
+ end
6702
+
6703
+ # DeletePrivateNatGatewayTranslationNatRule返回参数结构体
6704
+ class DeletePrivateNatGatewayTranslationNatRuleResponse < TencentCloud::Common::AbstractModel
6705
+ # @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
6706
+ # @type NatGatewayId: String
6707
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6708
+ # @type RequestId: String
6709
+
6710
+ attr_accessor :NatGatewayId, :RequestId
6711
+
6712
+ def initialize(natgatewayid=nil, requestid=nil)
6713
+ @NatGatewayId = natgatewayid
6714
+ @RequestId = requestid
6715
+ end
6716
+
6717
+ def deserialize(params)
6718
+ @NatGatewayId = params['NatGatewayId']
6719
+ @RequestId = params['RequestId']
6720
+ end
6721
+ end
6722
+
6318
6723
  # DeleteRouteTable请求参数结构体
6319
6724
  class DeleteRouteTableRequest < TencentCloud::Common::AbstractModel
6320
6725
  # @param RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
@@ -9948,6 +10353,396 @@ module TencentCloud
9948
10353
  end
9949
10354
  end
9950
10355
 
10356
+ # DescribePrivateNatGatewayDestinationIpPortTranslationNatRules请求参数结构体
10357
+ class DescribePrivateNatGatewayDestinationIpPortTranslationNatRulesRequest < TencentCloud::Common::AbstractModel
10358
+ # @param NatGatewayId: 私网网关唯一`ID`,形如"intranat-xxxxxxxx)
10359
+ # @type NatGatewayId: String
10360
+ # @param Filters: 过滤条件,Name可选值"OriginalIp", "TranslationIp", "OriginalPort","TranslationPort", "Protocol", "Description"
10361
+ # @type Filters: Array
10362
+ # @param Offset: 偏移量,默认值为0。
10363
+ # @type Offset: Integer
10364
+ # @param Limit: 返回数目,默认值为20。
10365
+ # @type Limit: Integer
10366
+
10367
+ attr_accessor :NatGatewayId, :Filters, :Offset, :Limit
10368
+
10369
+ def initialize(natgatewayid=nil, filters=nil, offset=nil, limit=nil)
10370
+ @NatGatewayId = natgatewayid
10371
+ @Filters = filters
10372
+ @Offset = offset
10373
+ @Limit = limit
10374
+ end
10375
+
10376
+ def deserialize(params)
10377
+ @NatGatewayId = params['NatGatewayId']
10378
+ unless params['Filters'].nil?
10379
+ @Filters = []
10380
+ params['Filters'].each do |i|
10381
+ filter_tmp = Filter.new
10382
+ filter_tmp.deserialize(i)
10383
+ @Filters << filter_tmp
10384
+ end
10385
+ end
10386
+ @Offset = params['Offset']
10387
+ @Limit = params['Limit']
10388
+ end
10389
+ end
10390
+
10391
+ # DescribePrivateNatGatewayDestinationIpPortTranslationNatRules返回参数结构体
10392
+ class DescribePrivateNatGatewayDestinationIpPortTranslationNatRulesResponse < TencentCloud::Common::AbstractModel
10393
+ # @param TotalCount: 总规则数目。
10394
+ # @type TotalCount: Integer
10395
+ # @param LocalDestinationIpPortTranslationNatRuleSet: 目的端口转换规则数组。
10396
+ # @type LocalDestinationIpPortTranslationNatRuleSet: Array
10397
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10398
+ # @type RequestId: String
10399
+
10400
+ attr_accessor :TotalCount, :LocalDestinationIpPortTranslationNatRuleSet, :RequestId
10401
+
10402
+ def initialize(totalcount=nil, localdestinationipporttranslationnatruleset=nil, requestid=nil)
10403
+ @TotalCount = totalcount
10404
+ @LocalDestinationIpPortTranslationNatRuleSet = localdestinationipporttranslationnatruleset
10405
+ @RequestId = requestid
10406
+ end
10407
+
10408
+ def deserialize(params)
10409
+ @TotalCount = params['TotalCount']
10410
+ unless params['LocalDestinationIpPortTranslationNatRuleSet'].nil?
10411
+ @LocalDestinationIpPortTranslationNatRuleSet = []
10412
+ params['LocalDestinationIpPortTranslationNatRuleSet'].each do |i|
10413
+ privatenatdestinationipporttranslationnatrule_tmp = PrivateNatDestinationIpPortTranslationNatRule.new
10414
+ privatenatdestinationipporttranslationnatrule_tmp.deserialize(i)
10415
+ @LocalDestinationIpPortTranslationNatRuleSet << privatenatdestinationipporttranslationnatrule_tmp
10416
+ end
10417
+ end
10418
+ @RequestId = params['RequestId']
10419
+ end
10420
+ end
10421
+
10422
+ # DescribePrivateNatGatewayLimits请求参数结构体
10423
+ class DescribePrivateNatGatewayLimitsRequest < TencentCloud::Common::AbstractModel
10424
+ # @param Filters: 查询VPC下可创建的私网网关配额数量,可选值:
10425
+ # <li>VpcId - String - 所在VpcId</li>
10426
+ # @type Filters: Array
10427
+ # @param Offset: 偏移量,默认值为0。
10428
+ # @type Offset: Integer
10429
+ # @param Limit: 返回数目,默认值为20。
10430
+ # @type Limit: Integer
10431
+
10432
+ attr_accessor :Filters, :Offset, :Limit
10433
+
10434
+ def initialize(filters=nil, offset=nil, limit=nil)
10435
+ @Filters = filters
10436
+ @Offset = offset
10437
+ @Limit = limit
10438
+ end
10439
+
10440
+ def deserialize(params)
10441
+ unless params['Filters'].nil?
10442
+ @Filters = []
10443
+ params['Filters'].each do |i|
10444
+ filter_tmp = Filter.new
10445
+ filter_tmp.deserialize(i)
10446
+ @Filters << filter_tmp
10447
+ end
10448
+ end
10449
+ @Offset = params['Offset']
10450
+ @Limit = params['Limit']
10451
+ end
10452
+ end
10453
+
10454
+ # DescribePrivateNatGatewayLimits返回参数结构体
10455
+ class DescribePrivateNatGatewayLimitsResponse < TencentCloud::Common::AbstractModel
10456
+ # @param TotalCount: 查询返回结果个数。
10457
+ # @type TotalCount: Integer
10458
+ # @param PrivateNatGatewayLimitSet: 私网网关配额。
10459
+ # @type PrivateNatGatewayLimitSet: Array
10460
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10461
+ # @type RequestId: String
10462
+
10463
+ attr_accessor :TotalCount, :PrivateNatGatewayLimitSet, :RequestId
10464
+
10465
+ def initialize(totalcount=nil, privatenatgatewaylimitset=nil, requestid=nil)
10466
+ @TotalCount = totalcount
10467
+ @PrivateNatGatewayLimitSet = privatenatgatewaylimitset
10468
+ @RequestId = requestid
10469
+ end
10470
+
10471
+ def deserialize(params)
10472
+ @TotalCount = params['TotalCount']
10473
+ unless params['PrivateNatGatewayLimitSet'].nil?
10474
+ @PrivateNatGatewayLimitSet = []
10475
+ params['PrivateNatGatewayLimitSet'].each do |i|
10476
+ privatenatgatewaylimit_tmp = PrivateNatGatewayLimit.new
10477
+ privatenatgatewaylimit_tmp.deserialize(i)
10478
+ @PrivateNatGatewayLimitSet << privatenatgatewaylimit_tmp
10479
+ end
10480
+ end
10481
+ @RequestId = params['RequestId']
10482
+ end
10483
+ end
10484
+
10485
+ # DescribePrivateNatGatewayRegions请求参数结构体
10486
+ class DescribePrivateNatGatewayRegionsRequest < TencentCloud::Common::AbstractModel
10487
+
10488
+
10489
+ def initialize()
10490
+ end
10491
+
10492
+ def deserialize(params)
10493
+ end
10494
+ end
10495
+
10496
+ # DescribePrivateNatGatewayRegions返回参数结构体
10497
+ class DescribePrivateNatGatewayRegionsResponse < TencentCloud::Common::AbstractModel
10498
+ # @param RegionSet: 地域对象
10499
+ # @type RegionSet: Array
10500
+ # @param TotalCount: 返回可支持地域总数
10501
+ # @type TotalCount: Integer
10502
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10503
+ # @type RequestId: String
10504
+
10505
+ attr_accessor :RegionSet, :TotalCount, :RequestId
10506
+
10507
+ def initialize(regionset=nil, totalcount=nil, requestid=nil)
10508
+ @RegionSet = regionset
10509
+ @TotalCount = totalcount
10510
+ @RequestId = requestid
10511
+ end
10512
+
10513
+ def deserialize(params)
10514
+ unless params['RegionSet'].nil?
10515
+ @RegionSet = []
10516
+ params['RegionSet'].each do |i|
10517
+ natregioninfowitharea_tmp = NatRegionInfoWithArea.new
10518
+ natregioninfowitharea_tmp.deserialize(i)
10519
+ @RegionSet << natregioninfowitharea_tmp
10520
+ end
10521
+ end
10522
+ @TotalCount = params['TotalCount']
10523
+ @RequestId = params['RequestId']
10524
+ end
10525
+ end
10526
+
10527
+ # DescribePrivateNatGatewayTranslationAclRules请求参数结构体
10528
+ class DescribePrivateNatGatewayTranslationAclRulesRequest < TencentCloud::Common::AbstractModel
10529
+ # @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
10530
+ # @type NatGatewayId: String
10531
+ # @param TranslationDirection: 转换规则目标,可选值"LOCAL"。
10532
+ # @type TranslationDirection: String
10533
+ # @param TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
10534
+ # @type TranslationType: String
10535
+ # @param TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池。
10536
+ # @type TranslationIp: String
10537
+ # @param OriginalIp: 源`IP`,当转换规则类型为三层时有效。
10538
+ # @type OriginalIp: String
10539
+ # @param Offset: 偏移量。默认值为0。
10540
+ # @type Offset: Integer
10541
+ # @param Limit: 返回数目,默认值为20。
10542
+ # @type Limit: Integer
10543
+
10544
+ attr_accessor :NatGatewayId, :TranslationDirection, :TranslationType, :TranslationIp, :OriginalIp, :Offset, :Limit
10545
+
10546
+ def initialize(natgatewayid=nil, translationdirection=nil, translationtype=nil, translationip=nil, originalip=nil, offset=nil, limit=nil)
10547
+ @NatGatewayId = natgatewayid
10548
+ @TranslationDirection = translationdirection
10549
+ @TranslationType = translationtype
10550
+ @TranslationIp = translationip
10551
+ @OriginalIp = originalip
10552
+ @Offset = offset
10553
+ @Limit = limit
10554
+ end
10555
+
10556
+ def deserialize(params)
10557
+ @NatGatewayId = params['NatGatewayId']
10558
+ @TranslationDirection = params['TranslationDirection']
10559
+ @TranslationType = params['TranslationType']
10560
+ @TranslationIp = params['TranslationIp']
10561
+ @OriginalIp = params['OriginalIp']
10562
+ @Offset = params['Offset']
10563
+ @Limit = params['Limit']
10564
+ end
10565
+ end
10566
+
10567
+ # DescribePrivateNatGatewayTranslationAclRules返回参数结构体
10568
+ class DescribePrivateNatGatewayTranslationAclRulesResponse < TencentCloud::Common::AbstractModel
10569
+ # @param TotalCount: 返回个数。
10570
+ # @type TotalCount: Integer
10571
+ # @param TranslationAclRuleSet: 访问控制规则列表。
10572
+ # @type TranslationAclRuleSet: Array
10573
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10574
+ # @type RequestId: String
10575
+
10576
+ attr_accessor :TotalCount, :TranslationAclRuleSet, :RequestId
10577
+
10578
+ def initialize(totalcount=nil, translationaclruleset=nil, requestid=nil)
10579
+ @TotalCount = totalcount
10580
+ @TranslationAclRuleSet = translationaclruleset
10581
+ @RequestId = requestid
10582
+ end
10583
+
10584
+ def deserialize(params)
10585
+ @TotalCount = params['TotalCount']
10586
+ unless params['TranslationAclRuleSet'].nil?
10587
+ @TranslationAclRuleSet = []
10588
+ params['TranslationAclRuleSet'].each do |i|
10589
+ translationaclrule_tmp = TranslationAclRule.new
10590
+ translationaclrule_tmp.deserialize(i)
10591
+ @TranslationAclRuleSet << translationaclrule_tmp
10592
+ end
10593
+ end
10594
+ @RequestId = params['RequestId']
10595
+ end
10596
+ end
10597
+
10598
+ # DescribePrivateNatGatewayTranslationNatRules请求参数结构体
10599
+ class DescribePrivateNatGatewayTranslationNatRulesRequest < TencentCloud::Common::AbstractModel
10600
+ # @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
10601
+ # @type NatGatewayId: String
10602
+ # @param Filters: 过滤条件。
10603
+ # <li>OriginalIp - String - 转换规则源`IP`。</li>
10604
+ # <li>TranslationIp - String - 转换`IP`。</li>
10605
+ # <li>VpcId - String - 私网网关所在`VpcId`。</li>
10606
+ # <li>Description - String - 转换规则描述</li>
10607
+ # @type Filters: Array
10608
+ # @param Offset: 偏移量。默认值为0。
10609
+ # @type Offset: Integer
10610
+ # @param Limit: 返回数量。默认值为20。
10611
+ # @type Limit: Integer
10612
+
10613
+ attr_accessor :NatGatewayId, :Filters, :Offset, :Limit
10614
+
10615
+ def initialize(natgatewayid=nil, filters=nil, offset=nil, limit=nil)
10616
+ @NatGatewayId = natgatewayid
10617
+ @Filters = filters
10618
+ @Offset = offset
10619
+ @Limit = limit
10620
+ end
10621
+
10622
+ def deserialize(params)
10623
+ @NatGatewayId = params['NatGatewayId']
10624
+ unless params['Filters'].nil?
10625
+ @Filters = []
10626
+ params['Filters'].each do |i|
10627
+ filter_tmp = Filter.new
10628
+ filter_tmp.deserialize(i)
10629
+ @Filters << filter_tmp
10630
+ end
10631
+ end
10632
+ @Offset = params['Offset']
10633
+ @Limit = params['Limit']
10634
+ end
10635
+ end
10636
+
10637
+ # DescribePrivateNatGatewayTranslationNatRules返回参数结构体
10638
+ class DescribePrivateNatGatewayTranslationNatRulesResponse < TencentCloud::Common::AbstractModel
10639
+ # @param TotalCount: 对象数目。
10640
+ # @type TotalCount: Integer
10641
+ # @param TranslationNatRuleSet: 转换规则详情数组。
10642
+ # @type TranslationNatRuleSet: Array
10643
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10644
+ # @type RequestId: String
10645
+
10646
+ attr_accessor :TotalCount, :TranslationNatRuleSet, :RequestId
10647
+
10648
+ def initialize(totalcount=nil, translationnatruleset=nil, requestid=nil)
10649
+ @TotalCount = totalcount
10650
+ @TranslationNatRuleSet = translationnatruleset
10651
+ @RequestId = requestid
10652
+ end
10653
+
10654
+ def deserialize(params)
10655
+ @TotalCount = params['TotalCount']
10656
+ unless params['TranslationNatRuleSet'].nil?
10657
+ @TranslationNatRuleSet = []
10658
+ params['TranslationNatRuleSet'].each do |i|
10659
+ translationnatrule_tmp = TranslationNatRule.new
10660
+ translationnatrule_tmp.deserialize(i)
10661
+ @TranslationNatRuleSet << translationnatrule_tmp
10662
+ end
10663
+ end
10664
+ @RequestId = params['RequestId']
10665
+ end
10666
+ end
10667
+
10668
+ # DescribePrivateNatGateways请求参数结构体
10669
+ class DescribePrivateNatGatewaysRequest < TencentCloud::Common::AbstractModel
10670
+ # @param NatGatewayIds: 私网网关唯一`ID`,形如:`intranat-0g3blj80`。
10671
+ # @type NatGatewayIds: Array
10672
+ # @param Filters: 过滤条件。
10673
+ # <li>NatGatewayId - String - 私网网关唯一`ID`,形如:`intranat-0g3blj80`。</li>
10674
+ # <li>NatGatewayName - String - 专线网关名称,默认模糊查询。</li>
10675
+ # <li>VpcId - String - 私网网关所在`VpcId`。</li>
10676
+ # <li>TagKey - Tag数组 - 私网网关标签键值对数组</li>
10677
+ # @type Filters: Array
10678
+ # @param Offset: 偏移量,默认为0。
10679
+ # @type Offset: Integer
10680
+ # @param Limit: 返回数量,默认为20。
10681
+ # @type Limit: Integer
10682
+ # @param OrderField: 排序字段。可选值:"NatGatewayId"、"NatGatewayName"、"CreatedTime"
10683
+ # @type OrderField: String
10684
+ # @param OrderDirection: 排序方式。可选值:"ASC"、"DESC"。
10685
+ # @type OrderDirection: String
10686
+
10687
+ attr_accessor :NatGatewayIds, :Filters, :Offset, :Limit, :OrderField, :OrderDirection
10688
+
10689
+ def initialize(natgatewayids=nil, filters=nil, offset=nil, limit=nil, orderfield=nil, orderdirection=nil)
10690
+ @NatGatewayIds = natgatewayids
10691
+ @Filters = filters
10692
+ @Offset = offset
10693
+ @Limit = limit
10694
+ @OrderField = orderfield
10695
+ @OrderDirection = orderdirection
10696
+ end
10697
+
10698
+ def deserialize(params)
10699
+ @NatGatewayIds = params['NatGatewayIds']
10700
+ unless params['Filters'].nil?
10701
+ @Filters = []
10702
+ params['Filters'].each do |i|
10703
+ filter_tmp = Filter.new
10704
+ filter_tmp.deserialize(i)
10705
+ @Filters << filter_tmp
10706
+ end
10707
+ end
10708
+ @Offset = params['Offset']
10709
+ @Limit = params['Limit']
10710
+ @OrderField = params['OrderField']
10711
+ @OrderDirection = params['OrderDirection']
10712
+ end
10713
+ end
10714
+
10715
+ # DescribePrivateNatGateways返回参数结构体
10716
+ class DescribePrivateNatGatewaysResponse < TencentCloud::Common::AbstractModel
10717
+ # @param TotalCount: 符合条件的对象数。
10718
+ # @type TotalCount: Integer
10719
+ # @param PrivateNatGatewaySet: 私网网关对象数组。
10720
+ # @type PrivateNatGatewaySet: Array
10721
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10722
+ # @type RequestId: String
10723
+
10724
+ attr_accessor :TotalCount, :PrivateNatGatewaySet, :RequestId
10725
+
10726
+ def initialize(totalcount=nil, privatenatgatewayset=nil, requestid=nil)
10727
+ @TotalCount = totalcount
10728
+ @PrivateNatGatewaySet = privatenatgatewayset
10729
+ @RequestId = requestid
10730
+ end
10731
+
10732
+ def deserialize(params)
10733
+ @TotalCount = params['TotalCount']
10734
+ unless params['PrivateNatGatewaySet'].nil?
10735
+ @PrivateNatGatewaySet = []
10736
+ params['PrivateNatGatewaySet'].each do |i|
10737
+ privatenatgateway_tmp = PrivateNatGateway.new
10738
+ privatenatgateway_tmp.deserialize(i)
10739
+ @PrivateNatGatewaySet << privatenatgateway_tmp
10740
+ end
10741
+ end
10742
+ @RequestId = params['RequestId']
10743
+ end
10744
+ end
10745
+
9951
10746
  # DescribeProductQuota请求参数结构体
9952
10747
  class DescribeProductQuotaRequest < TencentCloud::Common::AbstractModel
9953
10748
  # @param Product: 查询的网络产品名称,可查询的产品有:vpc、ccn、vpn、dc、dfw、clb、eip。
@@ -12440,6 +13235,62 @@ module TencentCloud
12440
13235
  end
12441
13236
  end
12442
13237
 
13238
+ # 本端目的IP端口转换复杂结构
13239
+ class DestinationIpPortTranslationNatRuleDiff < TencentCloud::Common::AbstractModel
13240
+ # @param Protocol: 协议
13241
+ # @type Protocol: String
13242
+ # @param OriginalPort: 源端口
13243
+ # @type OriginalPort: Integer
13244
+ # @param OriginalIp: 源IP
13245
+ # @type OriginalIp: String
13246
+ # @param TranslationPort: 目的端口
13247
+ # @type TranslationPort: Integer
13248
+ # @param TranslationIp: 目的IP
13249
+ # @type TranslationIp: String
13250
+ # @param OldProtocol: 旧协议。
13251
+ # @type OldProtocol: String
13252
+ # @param OldOriginalPort: 旧源端口
13253
+ # @type OldOriginalPort: Integer
13254
+ # @param OldOriginalIp: 旧源IP
13255
+ # @type OldOriginalIp: String
13256
+ # @param OldTranslationPort: 旧目的端口
13257
+ # @type OldTranslationPort: Integer
13258
+ # @param OldTranslationIp: 旧目的IP
13259
+ # @type OldTranslationIp: String
13260
+ # @param Description: 描述
13261
+ # @type Description: String
13262
+
13263
+ attr_accessor :Protocol, :OriginalPort, :OriginalIp, :TranslationPort, :TranslationIp, :OldProtocol, :OldOriginalPort, :OldOriginalIp, :OldTranslationPort, :OldTranslationIp, :Description
13264
+
13265
+ def initialize(protocol=nil, originalport=nil, originalip=nil, translationport=nil, translationip=nil, oldprotocol=nil, oldoriginalport=nil, oldoriginalip=nil, oldtranslationport=nil, oldtranslationip=nil, description=nil)
13266
+ @Protocol = protocol
13267
+ @OriginalPort = originalport
13268
+ @OriginalIp = originalip
13269
+ @TranslationPort = translationport
13270
+ @TranslationIp = translationip
13271
+ @OldProtocol = oldprotocol
13272
+ @OldOriginalPort = oldoriginalport
13273
+ @OldOriginalIp = oldoriginalip
13274
+ @OldTranslationPort = oldtranslationport
13275
+ @OldTranslationIp = oldtranslationip
13276
+ @Description = description
13277
+ end
13278
+
13279
+ def deserialize(params)
13280
+ @Protocol = params['Protocol']
13281
+ @OriginalPort = params['OriginalPort']
13282
+ @OriginalIp = params['OriginalIp']
13283
+ @TranslationPort = params['TranslationPort']
13284
+ @TranslationIp = params['TranslationIp']
13285
+ @OldProtocol = params['OldProtocol']
13286
+ @OldOriginalPort = params['OldOriginalPort']
13287
+ @OldOriginalIp = params['OldOriginalIp']
13288
+ @OldTranslationPort = params['OldTranslationPort']
13289
+ @OldTranslationIp = params['OldTranslationIp']
13290
+ @Description = params['Description']
13291
+ end
13292
+ end
13293
+
12443
13294
  # DetachCcnInstances请求参数结构体
12444
13295
  class DetachCcnInstancesRequest < TencentCloud::Common::AbstractModel
12445
13296
  # @param CcnId: CCN实例ID。形如:ccn-f49l6u0z。
@@ -14955,10 +15806,46 @@ module TencentCloud
14955
15806
  end
14956
15807
 
14957
15808
  def deserialize(params)
14958
- @UnitPrice = params['UnitPrice']
14959
- @ChargeUnit = params['ChargeUnit']
14960
- @OriginalPrice = params['OriginalPrice']
14961
- @DiscountPrice = params['DiscountPrice']
15809
+ @UnitPrice = params['UnitPrice']
15810
+ @ChargeUnit = params['ChargeUnit']
15811
+ @OriginalPrice = params['OriginalPrice']
15812
+ @DiscountPrice = params['DiscountPrice']
15813
+ end
15814
+ end
15815
+
15816
+ # 本端目的IP端口转换复杂结构
15817
+ class LocalDestinationIpPortTranslationNatRule < TencentCloud::Common::AbstractModel
15818
+ # @param Protocol: 协议
15819
+ # @type Protocol: String
15820
+ # @param OriginalPort: 源端口
15821
+ # @type OriginalPort: Integer
15822
+ # @param OriginalIp: 源IP
15823
+ # @type OriginalIp: String
15824
+ # @param TranslationPort: 目的端口
15825
+ # @type TranslationPort: Integer
15826
+ # @param TranslationIp: 目的IP
15827
+ # @type TranslationIp: String
15828
+ # @param Description: 描述
15829
+ # @type Description: String
15830
+
15831
+ attr_accessor :Protocol, :OriginalPort, :OriginalIp, :TranslationPort, :TranslationIp, :Description
15832
+
15833
+ def initialize(protocol=nil, originalport=nil, originalip=nil, translationport=nil, translationip=nil, description=nil)
15834
+ @Protocol = protocol
15835
+ @OriginalPort = originalport
15836
+ @OriginalIp = originalip
15837
+ @TranslationPort = translationport
15838
+ @TranslationIp = translationip
15839
+ @Description = description
15840
+ end
15841
+
15842
+ def deserialize(params)
15843
+ @Protocol = params['Protocol']
15844
+ @OriginalPort = params['OriginalPort']
15845
+ @OriginalIp = params['OriginalIp']
15846
+ @TranslationPort = params['TranslationPort']
15847
+ @TranslationIp = params['TranslationIp']
15848
+ @Description = params['Description']
14962
15849
  end
14963
15850
  end
14964
15851
 
@@ -16527,6 +17414,191 @@ module TencentCloud
16527
17414
  end
16528
17415
  end
16529
17416
 
17417
+ # ModifyPrivateNatGatewayAttribute请求参数结构体
17418
+ class ModifyPrivateNatGatewayAttributeRequest < TencentCloud::Common::AbstractModel
17419
+ # @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
17420
+ # @type NatGatewayId: String
17421
+ # @param NatGatewayName: 私网网关名称,可任意命名,但不得超过60个字符。
17422
+ # @type NatGatewayName: String
17423
+
17424
+ attr_accessor :NatGatewayId, :NatGatewayName
17425
+
17426
+ def initialize(natgatewayid=nil, natgatewayname=nil)
17427
+ @NatGatewayId = natgatewayid
17428
+ @NatGatewayName = natgatewayname
17429
+ end
17430
+
17431
+ def deserialize(params)
17432
+ @NatGatewayId = params['NatGatewayId']
17433
+ @NatGatewayName = params['NatGatewayName']
17434
+ end
17435
+ end
17436
+
17437
+ # ModifyPrivateNatGatewayAttribute返回参数结构体
17438
+ class ModifyPrivateNatGatewayAttributeResponse < TencentCloud::Common::AbstractModel
17439
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
17440
+ # @type RequestId: String
17441
+
17442
+ attr_accessor :RequestId
17443
+
17444
+ def initialize(requestid=nil)
17445
+ @RequestId = requestid
17446
+ end
17447
+
17448
+ def deserialize(params)
17449
+ @RequestId = params['RequestId']
17450
+ end
17451
+ end
17452
+
17453
+ # ModifyPrivateNatGatewayDestinationIpPortTranslationNatRule请求参数结构体
17454
+ class ModifyPrivateNatGatewayDestinationIpPortTranslationNatRuleRequest < TencentCloud::Common::AbstractModel
17455
+ # @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
17456
+ # @type NatGatewayId: String
17457
+ # @param LocalDestinationIpPortTranslationNatRules: 目的端口转换规则列表。
17458
+ # @type LocalDestinationIpPortTranslationNatRules: Array
17459
+
17460
+ attr_accessor :NatGatewayId, :LocalDestinationIpPortTranslationNatRules
17461
+
17462
+ def initialize(natgatewayid=nil, localdestinationipporttranslationnatrules=nil)
17463
+ @NatGatewayId = natgatewayid
17464
+ @LocalDestinationIpPortTranslationNatRules = localdestinationipporttranslationnatrules
17465
+ end
17466
+
17467
+ def deserialize(params)
17468
+ @NatGatewayId = params['NatGatewayId']
17469
+ unless params['LocalDestinationIpPortTranslationNatRules'].nil?
17470
+ @LocalDestinationIpPortTranslationNatRules = []
17471
+ params['LocalDestinationIpPortTranslationNatRules'].each do |i|
17472
+ destinationipporttranslationnatrulediff_tmp = DestinationIpPortTranslationNatRuleDiff.new
17473
+ destinationipporttranslationnatrulediff_tmp.deserialize(i)
17474
+ @LocalDestinationIpPortTranslationNatRules << destinationipporttranslationnatrulediff_tmp
17475
+ end
17476
+ end
17477
+ end
17478
+ end
17479
+
17480
+ # ModifyPrivateNatGatewayDestinationIpPortTranslationNatRule返回参数结构体
17481
+ class ModifyPrivateNatGatewayDestinationIpPortTranslationNatRuleResponse < TencentCloud::Common::AbstractModel
17482
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
17483
+ # @type RequestId: String
17484
+
17485
+ attr_accessor :RequestId
17486
+
17487
+ def initialize(requestid=nil)
17488
+ @RequestId = requestid
17489
+ end
17490
+
17491
+ def deserialize(params)
17492
+ @RequestId = params['RequestId']
17493
+ end
17494
+ end
17495
+
17496
+ # ModifyPrivateNatGatewayTranslationAclRule请求参数结构体
17497
+ class ModifyPrivateNatGatewayTranslationAclRuleRequest < TencentCloud::Common::AbstractModel
17498
+ # @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
17499
+ # @type NatGatewayId: String
17500
+ # @param TranslationDirection: 转换规则目标,可选值"LOCAL"。
17501
+ # @type TranslationDirection: String
17502
+ # @param TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
17503
+ # @type TranslationType: String
17504
+ # @param TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池
17505
+ # @type TranslationIp: String
17506
+ # @param TranslationAclRules: 访问控制列表,需要附带AclRuleId参数。
17507
+ # @type TranslationAclRules: Array
17508
+ # @param OriginalIp: 源`IP`,当转换规则类型为三层时有效
17509
+ # @type OriginalIp: String
17510
+
17511
+ attr_accessor :NatGatewayId, :TranslationDirection, :TranslationType, :TranslationIp, :TranslationAclRules, :OriginalIp
17512
+
17513
+ def initialize(natgatewayid=nil, translationdirection=nil, translationtype=nil, translationip=nil, translationaclrules=nil, originalip=nil)
17514
+ @NatGatewayId = natgatewayid
17515
+ @TranslationDirection = translationdirection
17516
+ @TranslationType = translationtype
17517
+ @TranslationIp = translationip
17518
+ @TranslationAclRules = translationaclrules
17519
+ @OriginalIp = originalip
17520
+ end
17521
+
17522
+ def deserialize(params)
17523
+ @NatGatewayId = params['NatGatewayId']
17524
+ @TranslationDirection = params['TranslationDirection']
17525
+ @TranslationType = params['TranslationType']
17526
+ @TranslationIp = params['TranslationIp']
17527
+ unless params['TranslationAclRules'].nil?
17528
+ @TranslationAclRules = []
17529
+ params['TranslationAclRules'].each do |i|
17530
+ translationaclrule_tmp = TranslationAclRule.new
17531
+ translationaclrule_tmp.deserialize(i)
17532
+ @TranslationAclRules << translationaclrule_tmp
17533
+ end
17534
+ end
17535
+ @OriginalIp = params['OriginalIp']
17536
+ end
17537
+ end
17538
+
17539
+ # ModifyPrivateNatGatewayTranslationAclRule返回参数结构体
17540
+ class ModifyPrivateNatGatewayTranslationAclRuleResponse < TencentCloud::Common::AbstractModel
17541
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
17542
+ # @type RequestId: String
17543
+
17544
+ attr_accessor :RequestId
17545
+
17546
+ def initialize(requestid=nil)
17547
+ @RequestId = requestid
17548
+ end
17549
+
17550
+ def deserialize(params)
17551
+ @RequestId = params['RequestId']
17552
+ end
17553
+ end
17554
+
17555
+ # ModifyPrivateNatGatewayTranslationNatRule请求参数结构体
17556
+ class ModifyPrivateNatGatewayTranslationNatRuleRequest < TencentCloud::Common::AbstractModel
17557
+ # @param NatGatewayId: 私网网关唯一`ID`,形如:`intranat-xxxxxxxx`。
17558
+ # @type NatGatewayId: String
17559
+ # @param TranslationNatRules: 转换规则对象数组。仅支持修改单个转换规则
17560
+ # @type TranslationNatRules: Array
17561
+ # @param CrossDomain: 跨域参数,当VPC为跨域时填写为True。
17562
+ # @type CrossDomain: Boolean
17563
+
17564
+ attr_accessor :NatGatewayId, :TranslationNatRules, :CrossDomain
17565
+
17566
+ def initialize(natgatewayid=nil, translationnatrules=nil, crossdomain=nil)
17567
+ @NatGatewayId = natgatewayid
17568
+ @TranslationNatRules = translationnatrules
17569
+ @CrossDomain = crossdomain
17570
+ end
17571
+
17572
+ def deserialize(params)
17573
+ @NatGatewayId = params['NatGatewayId']
17574
+ unless params['TranslationNatRules'].nil?
17575
+ @TranslationNatRules = []
17576
+ params['TranslationNatRules'].each do |i|
17577
+ translationnatrulediff_tmp = TranslationNatRuleDiff.new
17578
+ translationnatrulediff_tmp.deserialize(i)
17579
+ @TranslationNatRules << translationnatrulediff_tmp
17580
+ end
17581
+ end
17582
+ @CrossDomain = params['CrossDomain']
17583
+ end
17584
+ end
17585
+
17586
+ # ModifyPrivateNatGatewayTranslationNatRule返回参数结构体
17587
+ class ModifyPrivateNatGatewayTranslationNatRuleResponse < TencentCloud::Common::AbstractModel
17588
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
17589
+ # @type RequestId: String
17590
+
17591
+ attr_accessor :RequestId
17592
+
17593
+ def initialize(requestid=nil)
17594
+ @RequestId = requestid
17595
+ end
17596
+
17597
+ def deserialize(params)
17598
+ @RequestId = params['RequestId']
17599
+ end
17600
+ end
17601
+
16530
17602
  # ModifyRouteTableAttribute请求参数结构体
16531
17603
  class ModifyRouteTableAttributeRequest < TencentCloud::Common::AbstractModel
16532
17604
  # @param RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
@@ -17661,6 +18733,17 @@ module TencentCloud
17661
18733
  end
17662
18734
  end
17663
18735
 
18736
+ # NAT地域地区对象
18737
+ class NatRegionInfoWithArea < TencentCloud::Common::AbstractModel
18738
+
18739
+
18740
+ def initialize()
18741
+ end
18742
+
18743
+ def deserialize(params)
18744
+ end
18745
+ end
18746
+
17664
18747
  # 网络探测对象。
17665
18748
  class NetDetect < TencentCloud::Common::AbstractModel
17666
18749
  # @param VpcId: `VPC`实例`ID`。形如:`vpc-12345678`
@@ -18422,6 +19505,123 @@ module TencentCloud
18422
19505
  end
18423
19506
  end
18424
19507
 
19508
+ # 本端目的IP端口转换复杂结构
19509
+ class PrivateNatDestinationIpPortTranslationNatRule < TencentCloud::Common::AbstractModel
19510
+ # @param Protocol: 协议
19511
+ # @type Protocol: String
19512
+ # @param OriginalPort: 原端口
19513
+ # @type OriginalPort: Integer
19514
+ # @param OriginalIp: 原IP
19515
+ # @type OriginalIp: String
19516
+ # @param TranslationPort: 映射端口
19517
+ # @type TranslationPort: Integer
19518
+ # @param TranslationIp: 映射IP
19519
+ # @type TranslationIp: String
19520
+ # @param Description: 描述
19521
+ # @type Description: String
19522
+ # @param CreateTime: 创建时间。
19523
+ # @type CreateTime: String
19524
+ # @param UpdateTime: 更新时间。
19525
+ # @type UpdateTime: String
19526
+
19527
+ attr_accessor :Protocol, :OriginalPort, :OriginalIp, :TranslationPort, :TranslationIp, :Description, :CreateTime, :UpdateTime
19528
+
19529
+ def initialize(protocol=nil, originalport=nil, originalip=nil, translationport=nil, translationip=nil, description=nil, createtime=nil, updatetime=nil)
19530
+ @Protocol = protocol
19531
+ @OriginalPort = originalport
19532
+ @OriginalIp = originalip
19533
+ @TranslationPort = translationport
19534
+ @TranslationIp = translationip
19535
+ @Description = description
19536
+ @CreateTime = createtime
19537
+ @UpdateTime = updatetime
19538
+ end
19539
+
19540
+ def deserialize(params)
19541
+ @Protocol = params['Protocol']
19542
+ @OriginalPort = params['OriginalPort']
19543
+ @OriginalIp = params['OriginalIp']
19544
+ @TranslationPort = params['TranslationPort']
19545
+ @TranslationIp = params['TranslationIp']
19546
+ @Description = params['Description']
19547
+ @CreateTime = params['CreateTime']
19548
+ @UpdateTime = params['UpdateTime']
19549
+ end
19550
+ end
19551
+
19552
+ # 私网网关对象
19553
+ class PrivateNatGateway < TencentCloud::Common::AbstractModel
19554
+ # @param NatGatewayId: 私网网关`ID`。
19555
+ # @type NatGatewayId: String
19556
+ # @param NatGatewayName: 私网网关名称。
19557
+ # @type NatGatewayName: String
19558
+ # @param VpcId: 私网网关关联`VPC`实例`ID`。
19559
+ # 注意:此字段可能返回 null,表示取不到有效值。
19560
+ # @type VpcId: String
19561
+ # @param Status: 私网网关当前状态。
19562
+ # @type Status: String
19563
+ # @param CrossDomain: 私网网关跨域标志。
19564
+ # @type CrossDomain: Boolean
19565
+ # @param CreatedTime: 创建时间
19566
+ # @type CreatedTime: String
19567
+ # @param TagSet: 标签键值对。
19568
+ # 注意:此字段可能返回 null,表示取不到有效值。
19569
+ # @type TagSet: Array
19570
+
19571
+ attr_accessor :NatGatewayId, :NatGatewayName, :VpcId, :Status, :CrossDomain, :CreatedTime, :TagSet
19572
+
19573
+ def initialize(natgatewayid=nil, natgatewayname=nil, vpcid=nil, status=nil, crossdomain=nil, createdtime=nil, tagset=nil)
19574
+ @NatGatewayId = natgatewayid
19575
+ @NatGatewayName = natgatewayname
19576
+ @VpcId = vpcid
19577
+ @Status = status
19578
+ @CrossDomain = crossdomain
19579
+ @CreatedTime = createdtime
19580
+ @TagSet = tagset
19581
+ end
19582
+
19583
+ def deserialize(params)
19584
+ @NatGatewayId = params['NatGatewayId']
19585
+ @NatGatewayName = params['NatGatewayName']
19586
+ @VpcId = params['VpcId']
19587
+ @Status = params['Status']
19588
+ @CrossDomain = params['CrossDomain']
19589
+ @CreatedTime = params['CreatedTime']
19590
+ unless params['TagSet'].nil?
19591
+ @TagSet = []
19592
+ params['TagSet'].each do |i|
19593
+ tag_tmp = Tag.new
19594
+ tag_tmp.deserialize(i)
19595
+ @TagSet << tag_tmp
19596
+ end
19597
+ end
19598
+ end
19599
+ end
19600
+
19601
+ # 可创建的私网网关配额数量
19602
+ class PrivateNatGatewayLimit < TencentCloud::Common::AbstractModel
19603
+ # @param UniqVpcId: 私有网络唯一`ID`。
19604
+ # @type UniqVpcId: String
19605
+ # @param TotalLimit: Vpc下总计可创建私网网关数量。
19606
+ # @type TotalLimit: Integer
19607
+ # @param Available: 可创建私网网关数量。
19608
+ # @type Available: Integer
19609
+
19610
+ attr_accessor :UniqVpcId, :TotalLimit, :Available
19611
+
19612
+ def initialize(uniqvpcid=nil, totallimit=nil, available=nil)
19613
+ @UniqVpcId = uniqvpcid
19614
+ @TotalLimit = totallimit
19615
+ @Available = available
19616
+ end
19617
+
19618
+ def deserialize(params)
19619
+ @UniqVpcId = params['UniqVpcId']
19620
+ @TotalLimit = params['TotalLimit']
19621
+ @Available = params['Available']
19622
+ end
19623
+ end
19624
+
18425
19625
  # 描述网络中心每个产品的配额信息
18426
19626
  class ProductQuota < TencentCloud::Common::AbstractModel
18427
19627
  # @param QuotaId: 产品配额ID
@@ -20984,6 +22184,160 @@ module TencentCloud
20984
22184
  end
20985
22185
  end
20986
22186
 
22187
+ # 私网网关转发规则匹配ACL
22188
+ class TranslationAclRule < TencentCloud::Common::AbstractModel
22189
+ # @param Protocol: ACL协议类型,可选值:"ALL","TCP","UDP"
22190
+ # @type Protocol: String
22191
+ # @param SourcePort: 源端口。
22192
+ # @type SourcePort: String
22193
+ # @param SourceCidr: 源地址。支持`ip`或`cidr`格式"xxx.xxx.xxx.000/xx"
22194
+ # @type SourceCidr: String
22195
+ # @param DestinationPort: 目的端口。
22196
+ # @type DestinationPort: String
22197
+ # @param DestinationCidr: 目的地址。
22198
+ # @type DestinationCidr: String
22199
+ # @param AclRuleId: ACL规则`ID`。
22200
+ # @type AclRuleId: Integer
22201
+ # @param Action: 是否匹配。
22202
+ # @type Action: Integer
22203
+
22204
+ attr_accessor :Protocol, :SourcePort, :SourceCidr, :DestinationPort, :DestinationCidr, :AclRuleId, :Action
22205
+
22206
+ def initialize(protocol=nil, sourceport=nil, sourcecidr=nil, destinationport=nil, destinationcidr=nil, aclruleid=nil, action=nil)
22207
+ @Protocol = protocol
22208
+ @SourcePort = sourceport
22209
+ @SourceCidr = sourcecidr
22210
+ @DestinationPort = destinationport
22211
+ @DestinationCidr = destinationcidr
22212
+ @AclRuleId = aclruleid
22213
+ @Action = action
22214
+ end
22215
+
22216
+ def deserialize(params)
22217
+ @Protocol = params['Protocol']
22218
+ @SourcePort = params['SourcePort']
22219
+ @SourceCidr = params['SourceCidr']
22220
+ @DestinationPort = params['DestinationPort']
22221
+ @DestinationCidr = params['DestinationCidr']
22222
+ @AclRuleId = params['AclRuleId']
22223
+ @Action = params['Action']
22224
+ end
22225
+ end
22226
+
22227
+ # 私网网关Snat转发规则
22228
+ class TranslationNatRule < TencentCloud::Common::AbstractModel
22229
+ # @param TranslationDirection: 转换规则目标,可选值"LOCAL","PEER"。
22230
+ # @type TranslationDirection: String
22231
+ # @param TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
22232
+ # @type TranslationType: String
22233
+ # @param TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池。
22234
+ # @type TranslationIp: String
22235
+ # @param Description: 转换规则描述。
22236
+ # 注意:此字段可能返回 null,表示取不到有效值。
22237
+ # @type Description: String
22238
+ # @param OriginalIp: 源`IP`,当转换规则类型为三层时有效。
22239
+ # 注意:此字段可能返回 null,表示取不到有效值。
22240
+ # @type OriginalIp: String
22241
+ # @param CreateTime: 创建时间。
22242
+ # @type CreateTime: String
22243
+ # @param UpdateTime: 更新时间。
22244
+ # @type UpdateTime: String
22245
+
22246
+ attr_accessor :TranslationDirection, :TranslationType, :TranslationIp, :Description, :OriginalIp, :CreateTime, :UpdateTime
22247
+
22248
+ def initialize(translationdirection=nil, translationtype=nil, translationip=nil, description=nil, originalip=nil, createtime=nil, updatetime=nil)
22249
+ @TranslationDirection = translationdirection
22250
+ @TranslationType = translationtype
22251
+ @TranslationIp = translationip
22252
+ @Description = description
22253
+ @OriginalIp = originalip
22254
+ @CreateTime = createtime
22255
+ @UpdateTime = updatetime
22256
+ end
22257
+
22258
+ def deserialize(params)
22259
+ @TranslationDirection = params['TranslationDirection']
22260
+ @TranslationType = params['TranslationType']
22261
+ @TranslationIp = params['TranslationIp']
22262
+ @Description = params['Description']
22263
+ @OriginalIp = params['OriginalIp']
22264
+ @CreateTime = params['CreateTime']
22265
+ @UpdateTime = params['UpdateTime']
22266
+ end
22267
+ end
22268
+
22269
+ # 私网网关Snat转发规则修改
22270
+ class TranslationNatRuleDiff < TencentCloud::Common::AbstractModel
22271
+ # @param TranslationDirection: 转发规则目标,可选值"LOCAL","PEER"。
22272
+ # @type TranslationDirection: String
22273
+ # @param TranslationType: 转发规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
22274
+ # @type TranslationType: String
22275
+ # @param TranslationIp: 转发规则映射`IP`,当转发规则类型为四层时为`IP`池
22276
+ # @type TranslationIp: String
22277
+ # @param Description: 转发规则描述。
22278
+ # @type Description: String
22279
+ # @param OldTranslationIp: 旧转发规则映射`IP`,当转发规则类型为四层时为`IP`池
22280
+ # @type OldTranslationIp: String
22281
+ # @param OriginalIp: 新转发规则源`IP`,当转发规则类型为三层时有效
22282
+ # @type OriginalIp: String
22283
+ # @param OldOriginalIp: 旧转发规则源`IP`,当转发规则类型为三层时有效
22284
+ # @type OldOriginalIp: String
22285
+
22286
+ attr_accessor :TranslationDirection, :TranslationType, :TranslationIp, :Description, :OldTranslationIp, :OriginalIp, :OldOriginalIp
22287
+
22288
+ def initialize(translationdirection=nil, translationtype=nil, translationip=nil, description=nil, oldtranslationip=nil, originalip=nil, oldoriginalip=nil)
22289
+ @TranslationDirection = translationdirection
22290
+ @TranslationType = translationtype
22291
+ @TranslationIp = translationip
22292
+ @Description = description
22293
+ @OldTranslationIp = oldtranslationip
22294
+ @OriginalIp = originalip
22295
+ @OldOriginalIp = oldoriginalip
22296
+ end
22297
+
22298
+ def deserialize(params)
22299
+ @TranslationDirection = params['TranslationDirection']
22300
+ @TranslationType = params['TranslationType']
22301
+ @TranslationIp = params['TranslationIp']
22302
+ @Description = params['Description']
22303
+ @OldTranslationIp = params['OldTranslationIp']
22304
+ @OriginalIp = params['OriginalIp']
22305
+ @OldOriginalIp = params['OldOriginalIp']
22306
+ end
22307
+ end
22308
+
22309
+ # 私网网关Snat转发规则入参
22310
+ class TranslationNatRuleInput < TencentCloud::Common::AbstractModel
22311
+ # @param TranslationDirection: 转换规则目标,可选值"LOCAL","PEER"。
22312
+ # @type TranslationDirection: String
22313
+ # @param TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。
22314
+ # @type TranslationType: String
22315
+ # @param TranslationIp: 转换`IP`,当转换规则类型为四层时为`IP`池。
22316
+ # @type TranslationIp: String
22317
+ # @param Description: 转换规则描述。
22318
+ # @type Description: String
22319
+ # @param OriginalIp: 源`IP`,当转换规则类型为三层时有效。
22320
+ # @type OriginalIp: String
22321
+
22322
+ attr_accessor :TranslationDirection, :TranslationType, :TranslationIp, :Description, :OriginalIp
22323
+
22324
+ def initialize(translationdirection=nil, translationtype=nil, translationip=nil, description=nil, originalip=nil)
22325
+ @TranslationDirection = translationdirection
22326
+ @TranslationType = translationtype
22327
+ @TranslationIp = translationip
22328
+ @Description = description
22329
+ @OriginalIp = originalip
22330
+ end
22331
+
22332
+ def deserialize(params)
22333
+ @TranslationDirection = params['TranslationDirection']
22334
+ @TranslationType = params['TranslationType']
22335
+ @TranslationIp = params['TranslationIp']
22336
+ @Description = params['Description']
22337
+ @OriginalIp = params['OriginalIp']
22338
+ end
22339
+ end
22340
+
20987
22341
  # UnassignIpv6Addresses请求参数结构体
20988
22342
  class UnassignIpv6AddressesRequest < TencentCloud::Common::AbstractModel
20989
22343
  # @param NetworkInterfaceId: 弹性网卡实例`ID`,形如:`eni-m6dyj72l`。