tencentcloud-sdk-tse 3.0.985 → 3.0.986
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/v20201207/client.rb +24 -0
- data/lib/v20201207/models.rb +62 -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: 36f060be2f9e837a369e162fbdf7763f065d70d9
|
4
|
+
data.tar.gz: a72ce1b7afd6a678a0c9455c1fae5974e7c8cbc8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67b8840e4dd2a8ab2f7c83936481d68a9cfcf9e9fea7a6c763ce803482d6fb4f413dddc660b9e86ec78f810067731d057d1f7df1281e257ec3d6d1f8dba358c3
|
7
|
+
data.tar.gz: 56a25c1a6298815f76bc3f6823f00638756448a854f3c7022ac4c2c73320094dffea609a573f8204914358b1504ae5fc0a88f6e076c5ee9c793db3f0da07d386
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.986
|
data/lib/v20201207/client.rb
CHANGED
@@ -1253,6 +1253,30 @@ module TencentCloud
|
|
1253
1253
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1254
1254
|
end
|
1255
1255
|
|
1256
|
+
# 根据公网IP查询云原生网关实例信息
|
1257
|
+
|
1258
|
+
# @param request: Request instance for DescribeCloudNativeAPIGatewayInfoByIp.
|
1259
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayInfoByIpRequest`
|
1260
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayInfoByIpResponse`
|
1261
|
+
def DescribeCloudNativeAPIGatewayInfoByIp(request)
|
1262
|
+
body = send_request('DescribeCloudNativeAPIGatewayInfoByIp', request.serialize)
|
1263
|
+
response = JSON.parse(body)
|
1264
|
+
if response['Response'].key?('Error') == false
|
1265
|
+
model = DescribeCloudNativeAPIGatewayInfoByIpResponse.new
|
1266
|
+
model.deserialize(response['Response'])
|
1267
|
+
model
|
1268
|
+
else
|
1269
|
+
code = response['Response']['Error']['Code']
|
1270
|
+
message = response['Response']['Error']['Message']
|
1271
|
+
reqid = response['Response']['RequestId']
|
1272
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1273
|
+
end
|
1274
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1275
|
+
raise e
|
1276
|
+
rescue StandardError => e
|
1277
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1278
|
+
end
|
1279
|
+
|
1256
1280
|
# 获取云原生网关节点列表
|
1257
1281
|
|
1258
1282
|
# @param request: Request instance for DescribeCloudNativeAPIGatewayNodes.
|
data/lib/v20201207/models.rb
CHANGED
@@ -4550,6 +4550,46 @@ module TencentCloud
|
|
4550
4550
|
end
|
4551
4551
|
end
|
4552
4552
|
|
4553
|
+
# DescribeCloudNativeAPIGatewayInfoByIp请求参数结构体
|
4554
|
+
class DescribeCloudNativeAPIGatewayInfoByIpRequest < TencentCloud::Common::AbstractModel
|
4555
|
+
# @param PublicNetworkIP: 云原生网关的公网ip
|
4556
|
+
# @type PublicNetworkIP: String
|
4557
|
+
|
4558
|
+
attr_accessor :PublicNetworkIP
|
4559
|
+
|
4560
|
+
def initialize(publicnetworkip=nil)
|
4561
|
+
@PublicNetworkIP = publicnetworkip
|
4562
|
+
end
|
4563
|
+
|
4564
|
+
def deserialize(params)
|
4565
|
+
@PublicNetworkIP = params['PublicNetworkIP']
|
4566
|
+
end
|
4567
|
+
end
|
4568
|
+
|
4569
|
+
# DescribeCloudNativeAPIGatewayInfoByIp返回参数结构体
|
4570
|
+
class DescribeCloudNativeAPIGatewayInfoByIpResponse < TencentCloud::Common::AbstractModel
|
4571
|
+
# @param Result: 出参
|
4572
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4573
|
+
# @type Result: :class:`Tencentcloud::Tse.v20201207.models.DescribeInstanceInfoByIpResult`
|
4574
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4575
|
+
# @type RequestId: String
|
4576
|
+
|
4577
|
+
attr_accessor :Result, :RequestId
|
4578
|
+
|
4579
|
+
def initialize(result=nil, requestid=nil)
|
4580
|
+
@Result = result
|
4581
|
+
@RequestId = requestid
|
4582
|
+
end
|
4583
|
+
|
4584
|
+
def deserialize(params)
|
4585
|
+
unless params['Result'].nil?
|
4586
|
+
@Result = DescribeInstanceInfoByIpResult.new
|
4587
|
+
@Result.deserialize(params['Result'])
|
4588
|
+
end
|
4589
|
+
@RequestId = params['RequestId']
|
4590
|
+
end
|
4591
|
+
end
|
4592
|
+
|
4553
4593
|
# DescribeCloudNativeAPIGatewayNodes请求参数结构体
|
4554
4594
|
class DescribeCloudNativeAPIGatewayNodesRequest < TencentCloud::Common::AbstractModel
|
4555
4595
|
# @param GatewayId: 云原生API网关实例ID。
|
@@ -6217,6 +6257,28 @@ module TencentCloud
|
|
6217
6257
|
end
|
6218
6258
|
end
|
6219
6259
|
|
6260
|
+
# 根据公网IP查询云原生网关实例信息出参
|
6261
|
+
class DescribeInstanceInfoByIpResult < TencentCloud::Common::AbstractModel
|
6262
|
+
# @param GatewayId: 实例id
|
6263
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6264
|
+
# @type GatewayId: String
|
6265
|
+
# @param GroupId: 分组id
|
6266
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6267
|
+
# @type GroupId: String
|
6268
|
+
|
6269
|
+
attr_accessor :GatewayId, :GroupId
|
6270
|
+
|
6271
|
+
def initialize(gatewayid=nil, groupid=nil)
|
6272
|
+
@GatewayId = gatewayid
|
6273
|
+
@GroupId = groupid
|
6274
|
+
end
|
6275
|
+
|
6276
|
+
def deserialize(params)
|
6277
|
+
@GatewayId = params['GatewayId']
|
6278
|
+
@GroupId = params['GroupId']
|
6279
|
+
end
|
6280
|
+
end
|
6281
|
+
|
6220
6282
|
# 实例地域信息描述
|
6221
6283
|
class DescribeInstanceRegionInfo < TencentCloud::Common::AbstractModel
|
6222
6284
|
# @param EngineRegion: 引擎部署地域信息
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tse
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.986
|
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-01-
|
11
|
+
date: 2025-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|