tencentcloud-sdk-vpc 3.0.559 → 3.0.560
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 +24 -0
- data/lib/v20170312/models.rb +40 -0
- 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: 1a05401696485caad8df048e43304225f5860449
|
4
|
+
data.tar.gz: e0d45f53625aeaeeeace4193b9d3c8fa6644216d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef883bcfbcd2c3a6ebb4dd077bb4f996db1ec092084ec00971ece1cbe1cea538a1ee443ef7900f8e81a08e93d69805ceec69133545443b8710bd66f7cdd95248
|
7
|
+
data.tar.gz: df8d34895a4026f210e27ae99fd4f23eb4ef59a0d07e06332308d7e11408bf5c8056aa9cab7854fe8be6a63f28c10b2fbffa751ea07ad3a41c341b048a99ab43
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.560
|
data/lib/v20170312/client.rb
CHANGED
@@ -5343,6 +5343,30 @@ module TencentCloud
|
|
5343
5343
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
5344
5344
|
end
|
5345
5345
|
|
5346
|
+
# 本接口(GenerateVpnConnectionDefaultHealthCheckIp)用于获取一对VPN通道健康检查地址。
|
5347
|
+
|
5348
|
+
# @param request: Request instance for GenerateVpnConnectionDefaultHealthCheckIp.
|
5349
|
+
# @type request: :class:`Tencentcloud::vpc::V20170312::GenerateVpnConnectionDefaultHealthCheckIpRequest`
|
5350
|
+
# @rtype: :class:`Tencentcloud::vpc::V20170312::GenerateVpnConnectionDefaultHealthCheckIpResponse`
|
5351
|
+
def GenerateVpnConnectionDefaultHealthCheckIp(request)
|
5352
|
+
body = send_request('GenerateVpnConnectionDefaultHealthCheckIp', request.serialize)
|
5353
|
+
response = JSON.parse(body)
|
5354
|
+
if response['Response'].key?('Error') == false
|
5355
|
+
model = GenerateVpnConnectionDefaultHealthCheckIpResponse.new
|
5356
|
+
model.deserialize(response['Response'])
|
5357
|
+
model
|
5358
|
+
else
|
5359
|
+
code = response['Response']['Error']['Code']
|
5360
|
+
message = response['Response']['Error']['Message']
|
5361
|
+
reqid = response['Response']['RequestId']
|
5362
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
5363
|
+
end
|
5364
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
5365
|
+
raise e
|
5366
|
+
rescue StandardError => e
|
5367
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
5368
|
+
end
|
5369
|
+
|
5346
5370
|
# 本接口(GetCcnRegionBandwidthLimits)用于查询云联网相关地域带宽信息,其中预付费模式的云联网仅支持地域间限速,后付费模式的云联网支持地域间限速和地域出口限速。
|
5347
5371
|
|
5348
5372
|
# @param request: Request instance for GetCcnRegionBandwidthLimits.
|
data/lib/v20170312/models.rb
CHANGED
@@ -13222,6 +13222,46 @@ module TencentCloud
|
|
13222
13222
|
end
|
13223
13223
|
end
|
13224
13224
|
|
13225
|
+
# GenerateVpnConnectionDefaultHealthCheckIp请求参数结构体
|
13226
|
+
class GenerateVpnConnectionDefaultHealthCheckIpRequest < TencentCloud::Common::AbstractModel
|
13227
|
+
# @param VpnGatewayId: VPN网关id, 例如:vpngw-1w9tue3d
|
13228
|
+
# @type VpnGatewayId: String
|
13229
|
+
|
13230
|
+
attr_accessor :VpnGatewayId
|
13231
|
+
|
13232
|
+
def initialize(vpngatewayid=nil)
|
13233
|
+
@VpnGatewayId = vpngatewayid
|
13234
|
+
end
|
13235
|
+
|
13236
|
+
def deserialize(params)
|
13237
|
+
@VpnGatewayId = params['VpnGatewayId']
|
13238
|
+
end
|
13239
|
+
end
|
13240
|
+
|
13241
|
+
# GenerateVpnConnectionDefaultHealthCheckIp返回参数结构体
|
13242
|
+
class GenerateVpnConnectionDefaultHealthCheckIpResponse < TencentCloud::Common::AbstractModel
|
13243
|
+
# @param HealthCheckLocalIp: VPN通道健康检查本端ip
|
13244
|
+
# @type HealthCheckLocalIp: String
|
13245
|
+
# @param HealthCheckRemoteIp: VPN通道健康检查对端ip
|
13246
|
+
# @type HealthCheckRemoteIp: String
|
13247
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
13248
|
+
# @type RequestId: String
|
13249
|
+
|
13250
|
+
attr_accessor :HealthCheckLocalIp, :HealthCheckRemoteIp, :RequestId
|
13251
|
+
|
13252
|
+
def initialize(healthchecklocalip=nil, healthcheckremoteip=nil, requestid=nil)
|
13253
|
+
@HealthCheckLocalIp = healthchecklocalip
|
13254
|
+
@HealthCheckRemoteIp = healthcheckremoteip
|
13255
|
+
@RequestId = requestid
|
13256
|
+
end
|
13257
|
+
|
13258
|
+
def deserialize(params)
|
13259
|
+
@HealthCheckLocalIp = params['HealthCheckLocalIp']
|
13260
|
+
@HealthCheckRemoteIp = params['HealthCheckRemoteIp']
|
13261
|
+
@RequestId = params['RequestId']
|
13262
|
+
end
|
13263
|
+
end
|
13264
|
+
|
13225
13265
|
# GetCcnRegionBandwidthLimits请求参数结构体
|
13226
13266
|
class GetCcnRegionBandwidthLimitsRequest < TencentCloud::Common::AbstractModel
|
13227
13267
|
# @param CcnId: CCN实例ID。形如:ccn-f49l6u0z。
|
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.560
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|