tencentcloud-sdk-vpc 3.0.1138 → 3.0.1144
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170312/client.rb +0 -1
- data/lib/v20170312/models.rb +22 -18
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19208d46f4c90b39c048c69ceb8a3250275f998d
|
4
|
+
data.tar.gz: 07082d0cb3a586babed9ef99248f3cc35bfaffb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c28e86543cedbfc6df534f9211898e7f73723200c01dbd126718b070653a6f2bddbb409491fd934e41d6054e78afb21b7d34b7ca0e5c5d65c81b52366def4e9
|
7
|
+
data.tar.gz: 2e884d7f25d8b49a5a357b1d01c3921304b3eca503daadac2d6edb929bdb98e7fd43b5f9e70481c15a75c07d9ec3240b47075e19597f6351bc41c94dff616cbc
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1144
|
data/lib/v20170312/client.rb
CHANGED
@@ -371,7 +371,6 @@ module TencentCloud
|
|
371
371
|
# * 将 EIP 绑定到实例(CVM)上,其本质是将 EIP 绑定到实例上主网卡的主内网 IP 上。
|
372
372
|
# * 将 EIP 绑定到主网卡的主内网IP时,如主内网IP已绑定普通公网IP,必须先退还才能绑定EIP。
|
373
373
|
# * 将 EIP 绑定到指定网卡的内网 IP上(非主网卡的主内网IP),则必须先解绑该 EIP,才能再绑定新的。
|
374
|
-
# * 将 EIP 绑定到内网型CLB实例的功能处于内测阶段,如需使用,请提交[内测申请](https://cloud.tencent.com/apply/p/4kxj7picqci)。
|
375
374
|
# * 将 EIP 绑定到NAT网关,请使用接口[AssociateNatGatewayAddress](https://cloud.tencent.com/document/product/215/36722)。
|
376
375
|
# * EIP 如果欠费或被封堵,则不能被绑定。
|
377
376
|
# * 只有状态为 UNBIND 的 EIP 才能够被绑定。
|
data/lib/v20170312/models.rb
CHANGED
@@ -1324,7 +1324,7 @@ module TencentCloud
|
|
1324
1324
|
# @type NetworkInterfaceId: String
|
1325
1325
|
# @param PrivateIpAddress: 要绑定的内网 IP。如果指定了 `NetworkInterfaceId` 则也必须指定 `PrivateIpAddress` ,表示将 EIP 绑定到指定弹性网卡的指定内网 IP 上。同时要确保指定的 `PrivateIpAddress` 是指定的 `NetworkInterfaceId` 上的一个内网 IP。指定弹性网卡的内网 IP 可通过登录[控制台](https://console.cloud.tencent.com/vpc/eni)查询,也可通过[DescribeNetworkInterfaces](https://cloud.tencent.com/document/api/215/15817)接口返回值中的`privateIpAddress`获取。
|
1326
1326
|
# @type PrivateIpAddress: String
|
1327
|
-
# @param EipDirectConnection: 指定绑定时是否设置直通。弹性公网 IP 直通请参见 [EIP 直通](https://cloud.tencent.com/document/product/1199/41709)。取值:
|
1327
|
+
# @param EipDirectConnection: 指定绑定时是否设置直通。弹性公网 IP 直通请参见 [EIP 直通](https://cloud.tencent.com/document/product/1199/41709)。取值:true、false,默认值为 false。当绑定 CVM 实例、EKS 弹性集群时,可设定此参数为 true。此参数目前处于内测中,如需使用,请提交 [工单申请](https://console.cloud.tencent.com/workorder/category?level1_id=6&level2_id=163&source=0&data_title=%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1%20CLB&level3_id=1071&queue=96&scene_code=34639&step=2)。
|
1328
1328
|
# @type EipDirectConnection: Boolean
|
1329
1329
|
# @param InstanceRegion: 要绑定的实例所在地域。默认无需填写,仅限GAAP特殊场景需指定实例所在地域。
|
1330
1330
|
# @type InstanceRegion: String
|
@@ -4796,7 +4796,7 @@ module TencentCloud
|
|
4796
4796
|
# @type VpcId: String
|
4797
4797
|
# @param InternetMaxBandwidthOut: NAT网关最大外网出带宽(单位:Mbps),支持的参数值:20, 50, 100, 200, 500, 1000, 2000, 5000,默认: 100Mbps。 当以下NatProductVersion参数值为2即标准型时,此参数无需填写,默认为5000Mbps。
|
4798
4798
|
# @type InternetMaxBandwidthOut: Integer
|
4799
|
-
# @param MaxConcurrentConnection: NAT网关并发连接数上限,支持参数值:1000000、3000000、10000000,默认值为
|
4799
|
+
# @param MaxConcurrentConnection: NAT网关并发连接数上限,支持参数值:1000000、3000000、10000000,默认值为1000000。 当NatProductVersion参数值为2即标准型时,此参数无需填写,默认为2000000。
|
4800
4800
|
# @type MaxConcurrentConnection: Integer
|
4801
4801
|
# @param AddressCount: 新建弹性公网IP个数,系统会按您的要求创建对应数量的弹性公网IP,其中AddressCount和PublicAddresses两个参数至少填写一个。
|
4802
4802
|
# @type AddressCount: Integer
|
@@ -4816,13 +4816,15 @@ module TencentCloud
|
|
4816
4816
|
# @type PublicIpFromSameZone: Boolean
|
4817
4817
|
# @param NatProductVersion: NAT网关类型,1表示传统型NAT网关,2表示标准型NAT网关,默认值是1。
|
4818
4818
|
# @type NatProductVersion: Integer
|
4819
|
+
# @param DeletionProtectionEnabled: NAT实例是否开启删除保护
|
4820
|
+
# @type DeletionProtectionEnabled: Boolean
|
4819
4821
|
|
4820
|
-
attr_accessor :NatGatewayName, :VpcId, :InternetMaxBandwidthOut, :MaxConcurrentConnection, :AddressCount, :PublicIpAddresses, :Zone, :Tags, :SubnetId, :StockPublicIpAddressesBandwidthOut, :PublicIpAddressesBandwidthOut, :PublicIpFromSameZone, :NatProductVersion
|
4822
|
+
attr_accessor :NatGatewayName, :VpcId, :InternetMaxBandwidthOut, :MaxConcurrentConnection, :AddressCount, :PublicIpAddresses, :Zone, :Tags, :SubnetId, :StockPublicIpAddressesBandwidthOut, :PublicIpAddressesBandwidthOut, :PublicIpFromSameZone, :NatProductVersion, :DeletionProtectionEnabled
|
4821
4823
|
extend Gem::Deprecate
|
4822
4824
|
deprecate :SubnetId, :none, 2025, 9
|
4823
4825
|
deprecate :SubnetId=, :none, 2025, 9
|
4824
4826
|
|
4825
|
-
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)
|
4827
|
+
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, deletionprotectionenabled=nil)
|
4826
4828
|
@NatGatewayName = natgatewayname
|
4827
4829
|
@VpcId = vpcid
|
4828
4830
|
@InternetMaxBandwidthOut = internetmaxbandwidthout
|
@@ -4836,6 +4838,7 @@ module TencentCloud
|
|
4836
4838
|
@PublicIpAddressesBandwidthOut = publicipaddressesbandwidthout
|
4837
4839
|
@PublicIpFromSameZone = publicipfromsamezone
|
4838
4840
|
@NatProductVersion = natproductversion
|
4841
|
+
@DeletionProtectionEnabled = deletionprotectionenabled
|
4839
4842
|
end
|
4840
4843
|
|
4841
4844
|
def deserialize(params)
|
@@ -4859,6 +4862,7 @@ module TencentCloud
|
|
4859
4862
|
@PublicIpAddressesBandwidthOut = params['PublicIpAddressesBandwidthOut']
|
4860
4863
|
@PublicIpFromSameZone = params['PublicIpFromSameZone']
|
4861
4864
|
@NatProductVersion = params['NatProductVersion']
|
4865
|
+
@DeletionProtectionEnabled = params['DeletionProtectionEnabled']
|
4862
4866
|
end
|
4863
4867
|
end
|
4864
4868
|
|
@@ -5315,16 +5319,19 @@ module TencentCloud
|
|
5315
5319
|
# @type VpcType: Boolean
|
5316
5320
|
# @param CcnId: 云联网类型私网NAT网关需要绑定的云联网实例ID。
|
5317
5321
|
# @type CcnId: String
|
5322
|
+
# @param DeletionProtectionEnabled: 私网NAT实例是否开启删除保护
|
5323
|
+
# @type DeletionProtectionEnabled: Boolean
|
5318
5324
|
|
5319
|
-
attr_accessor :NatGatewayName, :VpcId, :CrossDomain, :Tags, :VpcType, :CcnId
|
5325
|
+
attr_accessor :NatGatewayName, :VpcId, :CrossDomain, :Tags, :VpcType, :CcnId, :DeletionProtectionEnabled
|
5320
5326
|
|
5321
|
-
def initialize(natgatewayname=nil, vpcid=nil, crossdomain=nil, tags=nil, vpctype=nil, ccnid=nil)
|
5327
|
+
def initialize(natgatewayname=nil, vpcid=nil, crossdomain=nil, tags=nil, vpctype=nil, ccnid=nil, deletionprotectionenabled=nil)
|
5322
5328
|
@NatGatewayName = natgatewayname
|
5323
5329
|
@VpcId = vpcid
|
5324
5330
|
@CrossDomain = crossdomain
|
5325
5331
|
@Tags = tags
|
5326
5332
|
@VpcType = vpctype
|
5327
5333
|
@CcnId = ccnid
|
5334
|
+
@DeletionProtectionEnabled = deletionprotectionenabled
|
5328
5335
|
end
|
5329
5336
|
|
5330
5337
|
def deserialize(params)
|
@@ -5341,6 +5348,7 @@ module TencentCloud
|
|
5341
5348
|
end
|
5342
5349
|
@VpcType = params['VpcType']
|
5343
5350
|
@CcnId = params['CcnId']
|
5351
|
+
@DeletionProtectionEnabled = params['DeletionProtectionEnabled']
|
5344
5352
|
end
|
5345
5353
|
end
|
5346
5354
|
|
@@ -12487,11 +12495,7 @@ module TencentCloud
|
|
12487
12495
|
class DescribeNatGatewaysRequest < TencentCloud::Common::AbstractModel
|
12488
12496
|
# @param NatGatewayIds: NAT网关统一 ID,形如:`nat-123xx454`。每次请求的实例上限为100。参数不支持同时指定NatGatewayIds和Filters。
|
12489
12497
|
# @type NatGatewayIds: Array
|
12490
|
-
# @param Filters: 过滤条件,参数不支持同时指定NatGatewayIds和Filters。每次请求的Filters的上限为10,Filter.Values的上限为5
|
12491
|
-
# <li>nat-gateway-id - String - (过滤条件)协议端口模板实例ID,形如:`nat-123xx454`。</li>
|
12492
|
-
# <li>vpc-id - String - (过滤条件)私有网络 唯一ID,形如:`vpc-123xx454`。</li>
|
12493
|
-
# <li>nat-gateway-name - String - (过滤条件)协议端口模板实例ID,形如:`test_nat`。</li>
|
12494
|
-
# <li>tag-key - String - (过滤条件)标签键,形如:`test-key`。</li>
|
12498
|
+
# @param Filters: 过滤条件,参数不支持同时指定NatGatewayIds和Filters。每次请求的Filters的上限为10,Filter.Values的上限为5。<li>nat-gateway-id - String - (过滤条件)NAT实例ID,形如:`nat-123xx454`。</li><li>vpc-id - String - (过滤条件)私有网络 唯一ID,形如:`vpc-123xx454`。</li><li>nat-gateway-name - String - (过滤条件)协议端口模板实例名称,形如:`test_nat`。</li><li>tag-key - String - (过滤条件)标签键,形如:`test-key`。</li><li>nat-status - String - (过滤条件)NAT实例当前状态,形如:`AVAILABLE`。</li>
|
12495
12499
|
# @type Filters: Array
|
12496
12500
|
# @param Offset: 偏移量,默认为0。
|
12497
12501
|
# @type Offset: Integer
|
@@ -12528,14 +12532,17 @@ module TencentCloud
|
|
12528
12532
|
# @type NatGatewaySet: Array
|
12529
12533
|
# @param TotalCount: 符合条件的NAT网关对象个数。
|
12530
12534
|
# @type TotalCount: Integer
|
12535
|
+
# @param VerboseLevel: 输出信息详细程度,DETAIL代表输出实例所有信息;COMPACT代表不输出NAT规则和自定义路由,输出实例基本信息、特性开关和EIP信息;SIMPLE代表仅输出实例基本信息和特性开关
|
12536
|
+
# @type VerboseLevel: String
|
12531
12537
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12532
12538
|
# @type RequestId: String
|
12533
12539
|
|
12534
|
-
attr_accessor :NatGatewaySet, :TotalCount, :RequestId
|
12540
|
+
attr_accessor :NatGatewaySet, :TotalCount, :VerboseLevel, :RequestId
|
12535
12541
|
|
12536
|
-
def initialize(natgatewayset=nil, totalcount=nil, requestid=nil)
|
12542
|
+
def initialize(natgatewayset=nil, totalcount=nil, verboselevel=nil, requestid=nil)
|
12537
12543
|
@NatGatewaySet = natgatewayset
|
12538
12544
|
@TotalCount = totalcount
|
12545
|
+
@VerboseLevel = verboselevel
|
12539
12546
|
@RequestId = requestid
|
12540
12547
|
end
|
12541
12548
|
|
@@ -12549,6 +12556,7 @@ module TencentCloud
|
|
12549
12556
|
end
|
12550
12557
|
end
|
12551
12558
|
@TotalCount = params['TotalCount']
|
12559
|
+
@VerboseLevel = params['VerboseLevel']
|
12552
12560
|
@RequestId = params['RequestId']
|
12553
12561
|
end
|
12554
12562
|
end
|
@@ -13335,11 +13343,7 @@ module TencentCloud
|
|
13335
13343
|
class DescribePrivateNatGatewaysRequest < TencentCloud::Common::AbstractModel
|
13336
13344
|
# @param NatGatewayIds: 私网网关唯一`ID`,形如:`intranat-0g3blj80`。
|
13337
13345
|
# @type NatGatewayIds: Array
|
13338
|
-
# @param Filters:
|
13339
|
-
# <li>NatGatewayId - String - 私网网关唯一`ID`,形如:`intranat-0g3blj80`。</li>
|
13340
|
-
# <li>NatGatewayName - String - 专线网关名称,默认模糊查询。</li>
|
13341
|
-
# <li>VpcId - String - 私网网关所在`VpcId`。</li>
|
13342
|
-
# <li>TagKey - Tag数组 - 私网网关标签键值对数组</li>
|
13346
|
+
# @param Filters: 过滤条件。<li>NatGatewayId - String - 私网网关唯一`ID`,形如:`intranat-0g3blj80`。</li><li>NatGatewayName - String - 专线网关名称,默认模糊查询。</li><li>VpcId - String - 私网网关所在`VpcId`。</li><li>TagKey - Tag数组 - 私网网关标签键值对数组</li><li>intranat-status - String - (过滤条件)NAT实例当前状态,形如:`AVAILABLE`。</li>
|
13343
13347
|
# @type Filters: Array
|
13344
13348
|
# @param Offset: 偏移量,默认为0。
|
13345
13349
|
# @type Offset: Integer
|
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: 3.0.
|
4
|
+
version: 3.0.1144
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-09-
|
11
|
+
date: 2025-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|