lib/v20170312/models.rb in tencentcloud-sdk-vpc-1.0.281 vs lib/v20170312/models.rb in tencentcloud-sdk-vpc-1.0.282

- old
+ new

@@ -1051,25 +1051,33 @@ # @type AddressCount: Integer # @param PublicIpAddresses: 绑定NAT网关的弹性IP数组,其中AddressCount和PublicAddresses至少传递一个。 # @type PublicIpAddresses: Array # @param Zone: 弹性IP可用区,自动分配弹性IP时传递。 # @type Zone: String + # @param StockPublicIpAddressesBandwidthOut: 绑定NAT网关的弹性IP带宽大小(单位Mbps),默认为当前用户类型所能使用的最大值。 + # @type StockPublicIpAddressesBandwidthOut: Integer + # @param PublicIpAddressesBandwidthOut: 需要申请公网IP带宽大小(单位Mbps),默认为当前用户类型所能使用的最大值。 + # @type PublicIpAddressesBandwidthOut: Integer - attr_accessor :NatGatewayId, :AddressCount, :PublicIpAddresses, :Zone + attr_accessor :NatGatewayId, :AddressCount, :PublicIpAddresses, :Zone, :StockPublicIpAddressesBandwidthOut, :PublicIpAddressesBandwidthOut - def initialize(natgatewayid=nil, addresscount=nil, publicipaddresses=nil, zone=nil) + def initialize(natgatewayid=nil, addresscount=nil, publicipaddresses=nil, zone=nil, stockpublicipaddressesbandwidthout=nil, publicipaddressesbandwidthout=nil) @NatGatewayId = natgatewayid @AddressCount = addresscount @PublicIpAddresses = publicipaddresses @Zone = zone + @StockPublicIpAddressesBandwidthOut = stockpublicipaddressesbandwidthout + @PublicIpAddressesBandwidthOut = publicipaddressesbandwidthout end def deserialize(params) @NatGatewayId = params['NatGatewayId'] @AddressCount = params['AddressCount'] @PublicIpAddresses = params['PublicIpAddresses'] @Zone = params['Zone'] + @StockPublicIpAddressesBandwidthOut = params['StockPublicIpAddressesBandwidthOut'] + @PublicIpAddressesBandwidthOut = params['PublicIpAddressesBandwidthOut'] end end # AssociateNatGatewayAddress返回参数结构体 class AssociateNatGatewayAddressResponse < TencentCloud::Common::AbstractModel @@ -3013,23 +3021,29 @@ # @type Zone: String # @param Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}] # @type Tags: Array # @param SubnetId: NAT网关所属子网 # @type SubnetId: String + # @param StockPublicIpAddressesBandwidthOut: 绑定NAT网关的弹性IP带宽大小(单位Mbps),默认为当前用户类型所能使用的最大值。 + # @type StockPublicIpAddressesBandwidthOut: Integer + # @param PublicIpAddressesBandwidthOut: 需要申请公网IP带宽大小(单位Mbps),默认为当前用户类型所能使用的最大值。 + # @type PublicIpAddressesBandwidthOut: Integer - attr_accessor :NatGatewayName, :VpcId, :InternetMaxBandwidthOut, :MaxConcurrentConnection, :AddressCount, :PublicIpAddresses, :Zone, :Tags, :SubnetId + attr_accessor :NatGatewayName, :VpcId, :InternetMaxBandwidthOut, :MaxConcurrentConnection, :AddressCount, :PublicIpAddresses, :Zone, :Tags, :SubnetId, :StockPublicIpAddressesBandwidthOut, :PublicIpAddressesBandwidthOut - def initialize(natgatewayname=nil, vpcid=nil, internetmaxbandwidthout=nil, maxconcurrentconnection=nil, addresscount=nil, publicipaddresses=nil, zone=nil, tags=nil, subnetid=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) @NatGatewayName = natgatewayname @VpcId = vpcid @InternetMaxBandwidthOut = internetmaxbandwidthout @MaxConcurrentConnection = maxconcurrentconnection @AddressCount = addresscount @PublicIpAddresses = publicipaddresses @Zone = zone @Tags = tags @SubnetId = subnetid + @StockPublicIpAddressesBandwidthOut = stockpublicipaddressesbandwidthout + @PublicIpAddressesBandwidthOut = publicipaddressesbandwidthout end def deserialize(params) @NatGatewayName = params['NatGatewayName'] @VpcId = params['VpcId'] @@ -3045,9 +3059,11 @@ tag_tmp.deserialize(i) @Tags << tag_tmp end end @SubnetId = params['SubnetId'] + @StockPublicIpAddressesBandwidthOut = params['StockPublicIpAddressesBandwidthOut'] + @PublicIpAddressesBandwidthOut = params['PublicIpAddressesBandwidthOut'] end end # CreateNatGateway返回参数结构体 class CreateNatGatewayResponse < TencentCloud::Common::AbstractModel