lib/v20170312/models.rb in tencentcloud-sdk-vpc-3.0.660 vs lib/v20170312/models.rb in tencentcloud-sdk-vpc-3.0.661
- old
+ new
@@ -3474,14 +3474,16 @@
# @type StockPublicIpAddressesBandwidthOut: Integer
# @param PublicIpAddressesBandwidthOut: 需要申请公网IP带宽大小(单位Mbps),默认为当前用户类型所能使用的最大值。
# @type PublicIpAddressesBandwidthOut: Integer
# @param PublicIpFromSameZone: 公网IP是否强制与NAT网关来自同可用区,true表示需要与NAT网关同可用区;false表示可与NAT网关不是同一个可用区。此参数只有当参数Zone存在时才能生效。
# @type PublicIpFromSameZone: Boolean
+ # @param NatProductVersion: NAT网关大版本号,1是传统型,2是标准型,默认是1
+ # @type NatProductVersion: Integer
- attr_accessor :NatGatewayName, :VpcId, :InternetMaxBandwidthOut, :MaxConcurrentConnection, :AddressCount, :PublicIpAddresses, :Zone, :Tags, :SubnetId, :StockPublicIpAddressesBandwidthOut, :PublicIpAddressesBandwidthOut, :PublicIpFromSameZone
+ attr_accessor :NatGatewayName, :VpcId, :InternetMaxBandwidthOut, :MaxConcurrentConnection, :AddressCount, :PublicIpAddresses, :Zone, :Tags, :SubnetId, :StockPublicIpAddressesBandwidthOut, :PublicIpAddressesBandwidthOut, :PublicIpFromSameZone, :NatProductVersion
- def initialize(natgatewayname=nil, vpcid=nil, internetmaxbandwidthout=nil, maxconcurrentconnection=nil, addresscount=nil, publicipaddresses=nil, zone=nil, tags=nil, subnetid=nil, stockpublicipaddressesbandwidthout=nil, publicipaddressesbandwidthout=nil, publicipfromsamezone=nil)
+ def initialize(natgatewayname=nil, vpcid=nil, internetmaxbandwidthout=nil, maxconcurrentconnection=nil, addresscount=nil, publicipaddresses=nil, zone=nil, tags=nil, subnetid=nil, stockpublicipaddressesbandwidthout=nil, publicipaddressesbandwidthout=nil, publicipfromsamezone=nil, natproductversion=nil)
@NatGatewayName = natgatewayname
@VpcId = vpcid
@InternetMaxBandwidthOut = internetmaxbandwidthout
@MaxConcurrentConnection = maxconcurrentconnection
@AddressCount = addresscount
@@ -3490,10 +3492,11 @@
@Tags = tags
@SubnetId = subnetid
@StockPublicIpAddressesBandwidthOut = stockpublicipaddressesbandwidthout
@PublicIpAddressesBandwidthOut = publicipaddressesbandwidthout
@PublicIpFromSameZone = publicipfromsamezone
+ @NatProductVersion = natproductversion
end
def deserialize(params)
@NatGatewayName = params['NatGatewayName']
@VpcId = params['VpcId']
@@ -3512,9 +3515,10 @@
end
@SubnetId = params['SubnetId']
@StockPublicIpAddressesBandwidthOut = params['StockPublicIpAddressesBandwidthOut']
@PublicIpAddressesBandwidthOut = params['PublicIpAddressesBandwidthOut']
@PublicIpFromSameZone = params['PublicIpFromSameZone']
+ @NatProductVersion = params['NatProductVersion']
end
end
# CreateNatGateway返回参数结构体
class CreateNatGatewayResponse < TencentCloud::Common::AbstractModel