tencentcloud-sdk-vpc 3.0.470 → 3.0.471
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170312/client.rb +26 -0
- data/lib/v20170312/models.rb +33 -1
- 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: 3ceb16f6050a478afeb58fbe8460ba1f25eddb86
|
4
|
+
data.tar.gz: f1dc60242a7c6e97e4565b9dd7267f0501558db2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0107a8b5e43a37c9ef7feb7bb542883d4c50458f11625f5634ba9cfb328a05b2ea4253ac4ce6132f307a80b344f04627dee2cb90ef70547a74811e32818fa5ce
|
7
|
+
data.tar.gz: 256dafa4395abfbcda70802821d5bcef32278ba8139ec1aae013828d73b4e48434c949732bf7a425a9e87c04602f811a088a18cabf7c2914304d5da5daeecb88
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.471
|
data/lib/v20170312/client.rb
CHANGED
@@ -316,6 +316,7 @@ module TencentCloud
|
|
316
316
|
# * 将 EIP 绑定到实例(CVM)上,其本质是将 EIP 绑定到实例上主网卡的主内网 IP 上。
|
317
317
|
# * 将 EIP 绑定到主网卡的主内网IP上,绑定过程会把其上绑定的普通公网 IP 自动解绑并释放。
|
318
318
|
# * 将 EIP 绑定到指定网卡的内网 IP上(非主网卡的主内网IP),则必须先解绑该 EIP,才能再绑定新的。
|
319
|
+
# * 将EIP绑定到绑定内网型CLB实例的功能处于内测阶段,如需使用,请提交内测申请。
|
319
320
|
# * 将 EIP 绑定到NAT网关,请使用接口[AssociateNatGatewayAddress](https://cloud.tencent.com/document/product/215/36722)
|
320
321
|
# * EIP 如果欠费或被封堵,则不能被绑定。
|
321
322
|
# * 只有状态为 UNBIND 的 EIP 才能够被绑定。
|
@@ -6892,6 +6893,31 @@ module TencentCloud
|
|
6892
6893
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
6893
6894
|
end
|
6894
6895
|
|
6896
|
+
# 本接口(ReturnNormalAddresses)用于解绑并释放普通公网IP。
|
6897
|
+
# 为完善公网IP的访问管理功能,此接口于2022年12月15日升级优化鉴权功能,升级后子用户调用此接口需向主账号申请CAM策略授权,否则可能调用失败。您可以提前为子账号配置操作授权,详情见 授权指南(https://cloud.tencent.com/document/product/598/34545)。
|
6898
|
+
|
6899
|
+
# @param request: Request instance for ReturnNormalAddresses.
|
6900
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::ReturnNormalAddressesRequest`
|
6901
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::ReturnNormalAddressesResponse`
|
6902
|
+
def ReturnNormalAddresses(request)
|
6903
|
+
body = send_request('ReturnNormalAddresses', request.serialize)
|
6904
|
+
response = JSON.parse(body)
|
6905
|
+
if response['Response'].key?('Error') == false
|
6906
|
+
model = ReturnNormalAddressesResponse.new
|
6907
|
+
model.deserialize(response['Response'])
|
6908
|
+
model
|
6909
|
+
else
|
6910
|
+
code = response['Response']['Error']['Code']
|
6911
|
+
message = response['Response']['Error']['Message']
|
6912
|
+
reqid = response['Response']['RequestId']
|
6913
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
6914
|
+
end
|
6915
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
6916
|
+
raise e
|
6917
|
+
rescue StandardError => e
|
6918
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
6919
|
+
end
|
6920
|
+
|
6895
6921
|
# 本接口(SetCcnRegionBandwidthLimits)用于设置云联网(CCN)各地域出带宽上限,或者地域间带宽上限。
|
6896
6922
|
|
6897
6923
|
# @param request: Request instance for SetCcnRegionBandwidthLimits.
|
data/lib/v20170312/models.rb
CHANGED
@@ -991,7 +991,7 @@ module TencentCloud
|
|
991
991
|
class AssociateAddressRequest < TencentCloud::Common::AbstractModel
|
992
992
|
# @param AddressId: 标识 EIP 的唯一 ID。EIP 唯一 ID 形如:`eip-11112222`。
|
993
993
|
# @type AddressId: String
|
994
|
-
# @param InstanceId: 要绑定的实例 ID。实例 ID 形如:`ins-11112222`。可通过登录[控制台](https://console.cloud.tencent.com/cvm)查询,也可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
994
|
+
# @param InstanceId: 要绑定的实例 ID。实例 ID 形如:`ins-11112222`、`lb-11112222`。可通过登录[控制台](https://console.cloud.tencent.com/cvm)查询,也可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
995
995
|
# @type InstanceId: String
|
996
996
|
# @param NetworkInterfaceId: 要绑定的弹性网卡 ID。 弹性网卡 ID 形如:`eni-11112222`。`NetworkInterfaceId` 与 `InstanceId` 不可同时指定。弹性网卡 ID 可通过登录[控制台](https://console.cloud.tencent.com/vpc/eni)查询,也可通过[DescribeNetworkInterfaces](https://cloud.tencent.com/document/api/215/15817)接口返回值中的`networkInterfaceId`获取。
|
997
997
|
# @type NetworkInterfaceId: String
|
@@ -17197,6 +17197,38 @@ module TencentCloud
|
|
17197
17197
|
end
|
17198
17198
|
end
|
17199
17199
|
|
17200
|
+
# ReturnNormalAddresses请求参数结构体
|
17201
|
+
class ReturnNormalAddressesRequest < TencentCloud::Common::AbstractModel
|
17202
|
+
# @param AddressIps: 1
|
17203
|
+
# @type AddressIps: Array
|
17204
|
+
|
17205
|
+
attr_accessor :AddressIps
|
17206
|
+
|
17207
|
+
def initialize(addressips=nil)
|
17208
|
+
@AddressIps = addressips
|
17209
|
+
end
|
17210
|
+
|
17211
|
+
def deserialize(params)
|
17212
|
+
@AddressIps = params['AddressIps']
|
17213
|
+
end
|
17214
|
+
end
|
17215
|
+
|
17216
|
+
# ReturnNormalAddresses返回参数结构体
|
17217
|
+
class ReturnNormalAddressesResponse < TencentCloud::Common::AbstractModel
|
17218
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
17219
|
+
# @type RequestId: String
|
17220
|
+
|
17221
|
+
attr_accessor :RequestId
|
17222
|
+
|
17223
|
+
def initialize(requestid=nil)
|
17224
|
+
@RequestId = requestid
|
17225
|
+
end
|
17226
|
+
|
17227
|
+
def deserialize(params)
|
17228
|
+
@RequestId = params['RequestId']
|
17229
|
+
end
|
17230
|
+
end
|
17231
|
+
|
17200
17232
|
# 路由策略对象
|
17201
17233
|
class Route < TencentCloud::Common::AbstractModel
|
17202
17234
|
# @param DestinationCidrBlock: 目的网段,取值不能在私有网络网段内,例如:112.20.51.0/24。
|
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.471
|
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-12-
|
11
|
+
date: 2022-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|