tencentcloud-sdk-vpc 3.0.470 → 3.0.472
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 +26 -0
- data/lib/v20170312/models.rb +39 -3
- 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: 138ba780ce33432982365d29e69e43fe30b80688
|
4
|
+
data.tar.gz: 7b43385a4a99e6d782da77790d0c73ade16f254f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8199a55fe78031a8c52d65d70128f51d0ceb68c9faa13124573188de5083601c329a519506856634846121cd91f7e088330bf3e7f1fcc4b70dc61355fbf8fc2b
|
7
|
+
data.tar.gz: 20621026db3e2f433a4d0f946751d07851decb50ee46aa5c2340f7690b8d1e37337e91cb4ecce0f6166b3b2d92181cddbb06801a7299c5d4c3a13b2af0580f66
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.472
|
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
|
@@ -11992,10 +11992,12 @@ module TencentCloud
|
|
11992
11992
|
# @type EndPointSet: Array
|
11993
11993
|
# @param CreateTime: 创建时间。
|
11994
11994
|
# @type CreateTime: String
|
11995
|
+
# @param ServiceType: 挂载的PAAS服务类型,CLB,CDB,CRS
|
11996
|
+
# @type ServiceType: String
|
11995
11997
|
|
11996
|
-
attr_accessor :EndPointServiceId, :VpcId, :ServiceOwner, :ServiceName, :ServiceVip, :ServiceInstanceId, :AutoAcceptFlag, :EndPointCount, :EndPointSet, :CreateTime
|
11998
|
+
attr_accessor :EndPointServiceId, :VpcId, :ServiceOwner, :ServiceName, :ServiceVip, :ServiceInstanceId, :AutoAcceptFlag, :EndPointCount, :EndPointSet, :CreateTime, :ServiceType
|
11997
11999
|
|
11998
|
-
def initialize(endpointserviceid=nil, vpcid=nil, serviceowner=nil, servicename=nil, servicevip=nil, serviceinstanceid=nil, autoacceptflag=nil, endpointcount=nil, endpointset=nil, createtime=nil)
|
12000
|
+
def initialize(endpointserviceid=nil, vpcid=nil, serviceowner=nil, servicename=nil, servicevip=nil, serviceinstanceid=nil, autoacceptflag=nil, endpointcount=nil, endpointset=nil, createtime=nil, servicetype=nil)
|
11999
12001
|
@EndPointServiceId = endpointserviceid
|
12000
12002
|
@VpcId = vpcid
|
12001
12003
|
@ServiceOwner = serviceowner
|
@@ -12006,6 +12008,7 @@ module TencentCloud
|
|
12006
12008
|
@EndPointCount = endpointcount
|
12007
12009
|
@EndPointSet = endpointset
|
12008
12010
|
@CreateTime = createtime
|
12011
|
+
@ServiceType = servicetype
|
12009
12012
|
end
|
12010
12013
|
|
12011
12014
|
def deserialize(params)
|
@@ -12026,6 +12029,7 @@ module TencentCloud
|
|
12026
12029
|
end
|
12027
12030
|
end
|
12028
12031
|
@CreateTime = params['CreateTime']
|
12032
|
+
@ServiceType = params['ServiceType']
|
12029
12033
|
end
|
12030
12034
|
end
|
12031
12035
|
|
@@ -17197,6 +17201,38 @@ module TencentCloud
|
|
17197
17201
|
end
|
17198
17202
|
end
|
17199
17203
|
|
17204
|
+
# ReturnNormalAddresses请求参数结构体
|
17205
|
+
class ReturnNormalAddressesRequest < TencentCloud::Common::AbstractModel
|
17206
|
+
# @param AddressIps: 1
|
17207
|
+
# @type AddressIps: Array
|
17208
|
+
|
17209
|
+
attr_accessor :AddressIps
|
17210
|
+
|
17211
|
+
def initialize(addressips=nil)
|
17212
|
+
@AddressIps = addressips
|
17213
|
+
end
|
17214
|
+
|
17215
|
+
def deserialize(params)
|
17216
|
+
@AddressIps = params['AddressIps']
|
17217
|
+
end
|
17218
|
+
end
|
17219
|
+
|
17220
|
+
# ReturnNormalAddresses返回参数结构体
|
17221
|
+
class ReturnNormalAddressesResponse < TencentCloud::Common::AbstractModel
|
17222
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
17223
|
+
# @type RequestId: String
|
17224
|
+
|
17225
|
+
attr_accessor :RequestId
|
17226
|
+
|
17227
|
+
def initialize(requestid=nil)
|
17228
|
+
@RequestId = requestid
|
17229
|
+
end
|
17230
|
+
|
17231
|
+
def deserialize(params)
|
17232
|
+
@RequestId = params['RequestId']
|
17233
|
+
end
|
17234
|
+
end
|
17235
|
+
|
17200
17236
|
# 路由策略对象
|
17201
17237
|
class Route < TencentCloud::Common::AbstractModel
|
17202
17238
|
# @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.472
|
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-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|