tencentcloud-sdk-vpc 1.0.286 → 1.0.287

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20170312/models.rb +22 -6
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 19dc2c2366ed677e25bb7041975805c7bd3ab8ef
4
- data.tar.gz: 75774de455014d43e758319d9446f10e90c95f97
3
+ metadata.gz: b9ab8a8cf8b8dd2a631f82d5e01d4bce1a57a16c
4
+ data.tar.gz: fe9bfc5bc1cc79039e84811cc9fc399b244f6e70
5
5
  SHA512:
6
- metadata.gz: ba02397bd42790c3a994ecf3350b08f68226c04cdcc2d9dfc95b5904115e5e1a380d343d5f50b2acf67e1c741aa5b03797ebdfe4a595152d40a5afb80271bf12
7
- data.tar.gz: 83e183274cdd17f24c51f949385e30036396866c99c16faf86f37dec9e94057fcd25b3ccb3e11c448bf7a363214e74830b5f23d1572bab0114edcb2fde54a3d5
6
+ metadata.gz: 858bd96ab557133873ef87ab614a1fb5ca6a1709bafcbd72a60550d50fa027023e8faa50e9affa898c6a4551742431de7dad10b93430496eea37c4a70efbc296
7
+ data.tar.gz: e9aad49102acb9a1b8250da99bac768a07cc5993d29c0391261e068235b82a85e6d12b551432fa2a2c9f5882f5cb82b5f9e475d0962c307380cec61f27773913
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.286
1
+ 1.0.287
@@ -1057,16 +1057,19 @@ module TencentCloud
1057
1057
  # @type StockPublicIpAddressesBandwidthOut: Integer
1058
1058
  # @param PublicIpAddressesBandwidthOut: 需要申请公网IP带宽大小(单位Mbps),默认为当前用户类型所能使用的最大值。
1059
1059
  # @type PublicIpAddressesBandwidthOut: Integer
1060
+ # @param PublicIpFromSameZone: 公网IP是否强制与NAT网关来自同可用区,true表示需要与NAT网关同可用区;false表示可与NAT网关不是同一个可用区。此参数只有当参数Zone存在时才能生效。
1061
+ # @type PublicIpFromSameZone: Boolean
1060
1062
 
1061
- attr_accessor :NatGatewayId, :AddressCount, :PublicIpAddresses, :Zone, :StockPublicIpAddressesBandwidthOut, :PublicIpAddressesBandwidthOut
1063
+ attr_accessor :NatGatewayId, :AddressCount, :PublicIpAddresses, :Zone, :StockPublicIpAddressesBandwidthOut, :PublicIpAddressesBandwidthOut, :PublicIpFromSameZone
1062
1064
 
1063
- def initialize(natgatewayid=nil, addresscount=nil, publicipaddresses=nil, zone=nil, stockpublicipaddressesbandwidthout=nil, publicipaddressesbandwidthout=nil)
1065
+ def initialize(natgatewayid=nil, addresscount=nil, publicipaddresses=nil, zone=nil, stockpublicipaddressesbandwidthout=nil, publicipaddressesbandwidthout=nil, publicipfromsamezone=nil)
1064
1066
  @NatGatewayId = natgatewayid
1065
1067
  @AddressCount = addresscount
1066
1068
  @PublicIpAddresses = publicipaddresses
1067
1069
  @Zone = zone
1068
1070
  @StockPublicIpAddressesBandwidthOut = stockpublicipaddressesbandwidthout
1069
1071
  @PublicIpAddressesBandwidthOut = publicipaddressesbandwidthout
1072
+ @PublicIpFromSameZone = publicipfromsamezone
1070
1073
  end
1071
1074
 
1072
1075
  def deserialize(params)
@@ -1076,6 +1079,7 @@ module TencentCloud
1076
1079
  @Zone = params['Zone']
1077
1080
  @StockPublicIpAddressesBandwidthOut = params['StockPublicIpAddressesBandwidthOut']
1078
1081
  @PublicIpAddressesBandwidthOut = params['PublicIpAddressesBandwidthOut']
1082
+ @PublicIpFromSameZone = params['PublicIpFromSameZone']
1079
1083
  end
1080
1084
  end
1081
1085
 
@@ -3027,10 +3031,12 @@ module TencentCloud
3027
3031
  # @type StockPublicIpAddressesBandwidthOut: Integer
3028
3032
  # @param PublicIpAddressesBandwidthOut: 需要申请公网IP带宽大小(单位Mbps),默认为当前用户类型所能使用的最大值。
3029
3033
  # @type PublicIpAddressesBandwidthOut: Integer
3034
+ # @param PublicIpFromSameZone: 公网IP是否强制与NAT网关来自同可用区,true表示需要与NAT网关同可用区;false表示可与NAT网关不是同一个可用区。此参数只有当参数Zone存在时才能生效。
3035
+ # @type PublicIpFromSameZone: Boolean
3030
3036
 
3031
- attr_accessor :NatGatewayName, :VpcId, :InternetMaxBandwidthOut, :MaxConcurrentConnection, :AddressCount, :PublicIpAddresses, :Zone, :Tags, :SubnetId, :StockPublicIpAddressesBandwidthOut, :PublicIpAddressesBandwidthOut
3037
+ attr_accessor :NatGatewayName, :VpcId, :InternetMaxBandwidthOut, :MaxConcurrentConnection, :AddressCount, :PublicIpAddresses, :Zone, :Tags, :SubnetId, :StockPublicIpAddressesBandwidthOut, :PublicIpAddressesBandwidthOut, :PublicIpFromSameZone
3032
3038
 
3033
- def initialize(natgatewayname=nil, vpcid=nil, internetmaxbandwidthout=nil, maxconcurrentconnection=nil, addresscount=nil, publicipaddresses=nil, zone=nil, tags=nil, subnetid=nil, stockpublicipaddressesbandwidthout=nil, publicipaddressesbandwidthout=nil)
3039
+ 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)
3034
3040
  @NatGatewayName = natgatewayname
3035
3041
  @VpcId = vpcid
3036
3042
  @InternetMaxBandwidthOut = internetmaxbandwidthout
@@ -3042,6 +3048,7 @@ module TencentCloud
3042
3048
  @SubnetId = subnetid
3043
3049
  @StockPublicIpAddressesBandwidthOut = stockpublicipaddressesbandwidthout
3044
3050
  @PublicIpAddressesBandwidthOut = publicipaddressesbandwidthout
3051
+ @PublicIpFromSameZone = publicipfromsamezone
3045
3052
  end
3046
3053
 
3047
3054
  def deserialize(params)
@@ -3063,6 +3070,7 @@ module TencentCloud
3063
3070
  @SubnetId = params['SubnetId']
3064
3071
  @StockPublicIpAddressesBandwidthOut = params['StockPublicIpAddressesBandwidthOut']
3065
3072
  @PublicIpAddressesBandwidthOut = params['PublicIpAddressesBandwidthOut']
3073
+ @PublicIpFromSameZone = params['PublicIpFromSameZone']
3066
3074
  end
3067
3075
  end
3068
3076
 
@@ -12020,13 +12028,19 @@ module TencentCloud
12020
12028
  # @type InstanceChargeType: String
12021
12029
  # @param InstanceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。
12022
12030
  # @type InstanceChargePrepaid: :class:`Tencentcloud::Vpc.v20170312.models.InstanceChargePrepaid`
12031
+ # @param MaxConnection: SSL VPN连接数设置,可选规格:5, 10, 20, 50, 100;单位:个。
12032
+ # @type MaxConnection: Integer
12033
+ # @param Type: 查询的VPN类型,支持IPSEC和SSL两种类型,为SSL类型时,MaxConnection参数必传。
12034
+ # @type Type: String
12023
12035
 
12024
- attr_accessor :InternetMaxBandwidthOut, :InstanceChargeType, :InstanceChargePrepaid
12036
+ attr_accessor :InternetMaxBandwidthOut, :InstanceChargeType, :InstanceChargePrepaid, :MaxConnection, :Type
12025
12037
 
12026
- def initialize(internetmaxbandwidthout=nil, instancechargetype=nil, instancechargeprepaid=nil)
12038
+ def initialize(internetmaxbandwidthout=nil, instancechargetype=nil, instancechargeprepaid=nil, maxconnection=nil, type=nil)
12027
12039
  @InternetMaxBandwidthOut = internetmaxbandwidthout
12028
12040
  @InstanceChargeType = instancechargetype
12029
12041
  @InstanceChargePrepaid = instancechargeprepaid
12042
+ @MaxConnection = maxconnection
12043
+ @Type = type
12030
12044
  end
12031
12045
 
12032
12046
  def deserialize(params)
@@ -12036,6 +12050,8 @@ module TencentCloud
12036
12050
  @InstanceChargePrepaid = InstanceChargePrepaid.new
12037
12051
  @InstanceChargePrepaid.deserialize(params['InstanceChargePrepaid'])
12038
12052
  end
12053
+ @MaxConnection = params['MaxConnection']
12054
+ @Type = params['Type']
12039
12055
  end
12040
12056
  end
12041
12057
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-vpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.286
4
+ version: 1.0.287
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-28 00:00:00.000000000 Z
11
+ date: 2022-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common