tencentcloud-sdk-tse 3.0.382 → 3.0.384
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 +107 -4
- 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: dd9dd214bef00daa9309a09f946195de364e5f71
|
4
|
+
data.tar.gz: e0ad0e3e708db7bb3d2050f3ee1585a15069e08c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d6c8478d9f27920c83baaa87723b544db65a139a32157752901cfd48796b0d0f607d4d54d3b96c1b89bbf9d188a6784b26ec12cf9735e8dd930732e3d6025b3
|
7
|
+
data.tar.gz: 252cd55ac260c445c4c0820ab1b8f48365fcebc8bf70a61b0eeffe324015663ee771095c10ffdd1c7c42f2108e662e0508d43bb3655ab98ba684a4e3304bc7b4
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.384
|
data/lib/v20201207/client.rb
CHANGED
@@ -77,6 +77,30 @@ module TencentCloud
|
|
77
77
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
78
|
end
|
79
79
|
|
80
|
+
# 获取云原生网关节点列表
|
81
|
+
|
82
|
+
# @param request: Request instance for DescribeCloudNativeAPIGatewayNodes.
|
83
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayNodesRequest`
|
84
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayNodesResponse`
|
85
|
+
def DescribeCloudNativeAPIGatewayNodes(request)
|
86
|
+
body = send_request('DescribeCloudNativeAPIGatewayNodes', request.serialize)
|
87
|
+
response = JSON.parse(body)
|
88
|
+
if response['Response'].key?('Error') == false
|
89
|
+
model = DescribeCloudNativeAPIGatewayNodesResponse.new
|
90
|
+
model.deserialize(response['Response'])
|
91
|
+
model
|
92
|
+
else
|
93
|
+
code = response['Response']['Error']['Code']
|
94
|
+
message = response['Response']['Error']['Message']
|
95
|
+
reqid = response['Response']['RequestId']
|
96
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
97
|
+
end
|
98
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
99
|
+
raise e
|
100
|
+
rescue StandardError => e
|
101
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
|
+
end
|
103
|
+
|
80
104
|
# 查询Nacos类型引擎实例副本信息
|
81
105
|
|
82
106
|
# @param request: Request instance for DescribeNacosReplicas.
|
data/lib/v20201207/models.rb
CHANGED
@@ -79,6 +79,26 @@ module TencentCloud
|
|
79
79
|
end
|
80
80
|
end
|
81
81
|
|
82
|
+
# 云原生API网关节点信息。
|
83
|
+
class CloudNativeAPIGatewayNode < TencentCloud::Common::AbstractModel
|
84
|
+
# @param NodeId: 云原生网关节点 id
|
85
|
+
# @type NodeId: String
|
86
|
+
# @param NodeIp: 节点 ip
|
87
|
+
# @type NodeIp: String
|
88
|
+
|
89
|
+
attr_accessor :NodeId, :NodeIp
|
90
|
+
|
91
|
+
def initialize(nodeid=nil, nodeip=nil)
|
92
|
+
@NodeId = nodeid
|
93
|
+
@NodeIp = nodeip
|
94
|
+
end
|
95
|
+
|
96
|
+
def deserialize(params)
|
97
|
+
@NodeId = params['NodeId']
|
98
|
+
@NodeIp = params['NodeIp']
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
82
102
|
# CreateEngine请求参数结构体
|
83
103
|
class CreateEngineRequest < TencentCloud::Common::AbstractModel
|
84
104
|
# @param EngineType: 引擎类型。参考值:
|
@@ -271,6 +291,80 @@ module TencentCloud
|
|
271
291
|
end
|
272
292
|
end
|
273
293
|
|
294
|
+
# DescribeCloudNativeAPIGatewayNodes请求参数结构体
|
295
|
+
class DescribeCloudNativeAPIGatewayNodesRequest < TencentCloud::Common::AbstractModel
|
296
|
+
# @param GatewayId: 云原生API网关实例ID。
|
297
|
+
# @type GatewayId: String
|
298
|
+
# @param Offset: 翻页从第几个开始获取
|
299
|
+
# @type Offset: Integer
|
300
|
+
# @param Limit: 翻页获取多少个
|
301
|
+
# @type Limit: Integer
|
302
|
+
|
303
|
+
attr_accessor :GatewayId, :Offset, :Limit
|
304
|
+
|
305
|
+
def initialize(gatewayid=nil, offset=nil, limit=nil)
|
306
|
+
@GatewayId = gatewayid
|
307
|
+
@Offset = offset
|
308
|
+
@Limit = limit
|
309
|
+
end
|
310
|
+
|
311
|
+
def deserialize(params)
|
312
|
+
@GatewayId = params['GatewayId']
|
313
|
+
@Offset = params['Offset']
|
314
|
+
@Limit = params['Limit']
|
315
|
+
end
|
316
|
+
end
|
317
|
+
|
318
|
+
# DescribeCloudNativeAPIGatewayNodes返回参数结构体
|
319
|
+
class DescribeCloudNativeAPIGatewayNodesResponse < TencentCloud::Common::AbstractModel
|
320
|
+
# @param Result: 获取云原生网关节点列表结果。
|
321
|
+
# @type Result: :class:`Tencentcloud::Tse.v20201207.models.DescribeCloudNativeAPIGatewayNodesResult`
|
322
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
323
|
+
# @type RequestId: String
|
324
|
+
|
325
|
+
attr_accessor :Result, :RequestId
|
326
|
+
|
327
|
+
def initialize(result=nil, requestid=nil)
|
328
|
+
@Result = result
|
329
|
+
@RequestId = requestid
|
330
|
+
end
|
331
|
+
|
332
|
+
def deserialize(params)
|
333
|
+
unless params['Result'].nil?
|
334
|
+
@Result = DescribeCloudNativeAPIGatewayNodesResult.new
|
335
|
+
@Result.deserialize(params['Result'])
|
336
|
+
end
|
337
|
+
@RequestId = params['RequestId']
|
338
|
+
end
|
339
|
+
end
|
340
|
+
|
341
|
+
# 获取网关节点信息
|
342
|
+
class DescribeCloudNativeAPIGatewayNodesResult < TencentCloud::Common::AbstractModel
|
343
|
+
# @param TotalCount: 获取云原生API网关节点列表响应结果。
|
344
|
+
# @type TotalCount: Integer
|
345
|
+
# @param NodeList: 云原生API网关节点列表。
|
346
|
+
# @type NodeList: Array
|
347
|
+
|
348
|
+
attr_accessor :TotalCount, :NodeList
|
349
|
+
|
350
|
+
def initialize(totalcount=nil, nodelist=nil)
|
351
|
+
@TotalCount = totalcount
|
352
|
+
@NodeList = nodelist
|
353
|
+
end
|
354
|
+
|
355
|
+
def deserialize(params)
|
356
|
+
@TotalCount = params['TotalCount']
|
357
|
+
unless params['NodeList'].nil?
|
358
|
+
@NodeList = []
|
359
|
+
params['NodeList'].each do |i|
|
360
|
+
cloudnativeapigatewaynode_tmp = CloudNativeAPIGatewayNode.new
|
361
|
+
cloudnativeapigatewaynode_tmp.deserialize(i)
|
362
|
+
@NodeList << cloudnativeapigatewaynode_tmp
|
363
|
+
end
|
364
|
+
end
|
365
|
+
end
|
366
|
+
end
|
367
|
+
|
274
368
|
# DescribeNacosReplicas请求参数结构体
|
275
369
|
class DescribeNacosReplicasRequest < TencentCloud::Common::AbstractModel
|
276
370
|
# @param InstanceId: 引擎实例ID
|
@@ -392,14 +486,17 @@ module TencentCloud
|
|
392
486
|
# @type SubnetId: String
|
393
487
|
# @param Workload: 引擎其他组件名称(pushgateway)
|
394
488
|
# @type Workload: String
|
489
|
+
# @param EngineRegion: 部署地域
|
490
|
+
# @type EngineRegion: String
|
395
491
|
|
396
|
-
attr_accessor :InstanceId, :VpcId, :SubnetId, :Workload
|
492
|
+
attr_accessor :InstanceId, :VpcId, :SubnetId, :Workload, :EngineRegion
|
397
493
|
|
398
|
-
def initialize(instanceid=nil, vpcid=nil, subnetid=nil, workload=nil)
|
494
|
+
def initialize(instanceid=nil, vpcid=nil, subnetid=nil, workload=nil, engineregion=nil)
|
399
495
|
@InstanceId = instanceid
|
400
496
|
@VpcId = vpcid
|
401
497
|
@SubnetId = subnetid
|
402
498
|
@Workload = workload
|
499
|
+
@EngineRegion = engineregion
|
403
500
|
end
|
404
501
|
|
405
502
|
def deserialize(params)
|
@@ -407,6 +504,7 @@ module TencentCloud
|
|
407
504
|
@VpcId = params['VpcId']
|
408
505
|
@SubnetId = params['SubnetId']
|
409
506
|
@Workload = params['Workload']
|
507
|
+
@EngineRegion = params['EngineRegion']
|
410
508
|
end
|
411
509
|
end
|
412
510
|
|
@@ -1170,16 +1268,20 @@ module TencentCloud
|
|
1170
1268
|
# @param ZoneId: 可用区ID
|
1171
1269
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1172
1270
|
# @type ZoneId: String
|
1271
|
+
# @param AliasName: 别名
|
1272
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1273
|
+
# @type AliasName: String
|
1173
1274
|
|
1174
|
-
attr_accessor :Name, :Role, :Status, :SubnetId, :Zone, :ZoneId
|
1275
|
+
attr_accessor :Name, :Role, :Status, :SubnetId, :Zone, :ZoneId, :AliasName
|
1175
1276
|
|
1176
|
-
def initialize(name=nil, role=nil, status=nil, subnetid=nil, zone=nil, zoneid=nil)
|
1277
|
+
def initialize(name=nil, role=nil, status=nil, subnetid=nil, zone=nil, zoneid=nil, aliasname=nil)
|
1177
1278
|
@Name = name
|
1178
1279
|
@Role = role
|
1179
1280
|
@Status = status
|
1180
1281
|
@SubnetId = subnetid
|
1181
1282
|
@Zone = zone
|
1182
1283
|
@ZoneId = zoneid
|
1284
|
+
@AliasName = aliasname
|
1183
1285
|
end
|
1184
1286
|
|
1185
1287
|
def deserialize(params)
|
@@ -1189,6 +1291,7 @@ module TencentCloud
|
|
1189
1291
|
@SubnetId = params['SubnetId']
|
1190
1292
|
@Zone = params['Zone']
|
1191
1293
|
@ZoneId = params['ZoneId']
|
1294
|
+
@AliasName = params['AliasName']
|
1192
1295
|
end
|
1193
1296
|
end
|
1194
1297
|
|
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.384
|
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-08-
|
11
|
+
date: 2022-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|