tencentcloud-sdk-tse 1.0.342 → 1.0.343

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 684da7adf122c70dbef90a61c5051fde951f7ee3
4
- data.tar.gz: 903cca8589a335c032b05efd66fd2e14cb55632a
3
+ metadata.gz: 9b05e8866a540802cbd0cc53069078028651da84
4
+ data.tar.gz: eb77d66382e60c1b25f24ffb74b8175ab6a5ae26
5
5
  SHA512:
6
- metadata.gz: 9d2c206a1527da494ff526de09149c2003fd0e4587d25304e31fe4d3982b57fa04f9c84934003c65df19dfecc22663433b0ba45ea626edd67597156080f6ac43
7
- data.tar.gz: cbb8c3e1bb7a4a93b9daeabb4a9545f8e1389d8f8ce9c90fee208dfe962abb03c1bc8991eeb1a464c903de9de0d3d87cbf2a0a064044fb01f22fafbf046ffd90
6
+ metadata.gz: a1f42eb7358ffb2272d751618952d9fd205b2915bfd8a49dd72492b6bd6686ffaaeba86f5031adb4b4bae328a3ceabbcf054f9a27698ce59b5eb5b5ec1e424cf
7
+ data.tar.gz: b92bf9b216af261d017de2038e0a0001e2b01cf53e9317a7150182cdbf286c63de643abc1c39e27fd202bd574a04402d3c48d4f53f26bb6dda1ca18a00d921f5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.342
1
+ 1.0.343
@@ -77,6 +77,54 @@ module TencentCloud
77
77
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
78
  end
79
79
 
80
+ # 查询Nacos类型引擎实例副本信息
81
+
82
+ # @param request: Request instance for DescribeNacosReplicas.
83
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeNacosReplicasRequest`
84
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeNacosReplicasResponse`
85
+ def DescribeNacosReplicas(request)
86
+ body = send_request('DescribeNacosReplicas', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = DescribeNacosReplicasResponse.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
+
104
+ # 查询nacos服务接口列表
105
+
106
+ # @param request: Request instance for DescribeNacosServerInterfaces.
107
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeNacosServerInterfacesRequest`
108
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeNacosServerInterfacesResponse`
109
+ def DescribeNacosServerInterfaces(request)
110
+ body = send_request('DescribeNacosServerInterfaces', request.serialize)
111
+ response = JSON.parse(body)
112
+ if response['Response'].key?('Error') == false
113
+ model = DescribeNacosServerInterfacesResponse.new
114
+ model.deserialize(response['Response'])
115
+ model
116
+ else
117
+ code = response['Response']['Error']['Code']
118
+ message = response['Response']['Error']['Message']
119
+ reqid = response['Response']['RequestId']
120
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
121
+ end
122
+ rescue TencentCloud::Common::TencentCloudSDKException => e
123
+ raise e
124
+ rescue StandardError => e
125
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
+ end
127
+
80
128
  # 查询引擎实例访问地址
81
129
 
82
130
  # @param request: Request instance for DescribeSREInstanceAccessAddress.
@@ -125,6 +173,54 @@ module TencentCloud
125
173
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
174
  end
127
175
 
176
+ # 查询Zookeeper类型注册引擎实例副本信息
177
+
178
+ # @param request: Request instance for DescribeZookeeperReplicas.
179
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeZookeeperReplicasRequest`
180
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeZookeeperReplicasResponse`
181
+ def DescribeZookeeperReplicas(request)
182
+ body = send_request('DescribeZookeeperReplicas', request.serialize)
183
+ response = JSON.parse(body)
184
+ if response['Response'].key?('Error') == false
185
+ model = DescribeZookeeperReplicasResponse.new
186
+ model.deserialize(response['Response'])
187
+ model
188
+ else
189
+ code = response['Response']['Error']['Code']
190
+ message = response['Response']['Error']['Message']
191
+ reqid = response['Response']['RequestId']
192
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
193
+ end
194
+ rescue TencentCloud::Common::TencentCloudSDKException => e
195
+ raise e
196
+ rescue StandardError => e
197
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
+ end
199
+
200
+ # 查询zookeeper服务接口列表
201
+
202
+ # @param request: Request instance for DescribeZookeeperServerInterfaces.
203
+ # @type request: :class:`Tencentcloud::tse::V20201207::DescribeZookeeperServerInterfacesRequest`
204
+ # @rtype: :class:`Tencentcloud::tse::V20201207::DescribeZookeeperServerInterfacesResponse`
205
+ def DescribeZookeeperServerInterfaces(request)
206
+ body = send_request('DescribeZookeeperServerInterfaces', request.serialize)
207
+ response = JSON.parse(body)
208
+ if response['Response'].key?('Error') == false
209
+ model = DescribeZookeeperServerInterfacesResponse.new
210
+ model.deserialize(response['Response'])
211
+ model
212
+ else
213
+ code = response['Response']['Error']['Code']
214
+ message = response['Response']['Error']['Message']
215
+ reqid = response['Response']['RequestId']
216
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
217
+ end
218
+ rescue TencentCloud::Common::TencentCloudSDKException => e
219
+ raise e
220
+ rescue StandardError => e
221
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
+ end
223
+
128
224
 
129
225
  end
130
226
  end
@@ -271,6 +271,117 @@ module TencentCloud
271
271
  end
272
272
  end
273
273
 
274
+ # DescribeNacosReplicas请求参数结构体
275
+ class DescribeNacosReplicasRequest < TencentCloud::Common::AbstractModel
276
+ # @param InstanceId: 引擎实例ID
277
+ # @type InstanceId: String
278
+ # @param Limit: 副本列表Limit
279
+ # @type Limit: Integer
280
+ # @param Offset: 副本列表Offset
281
+ # @type Offset: Integer
282
+
283
+ attr_accessor :InstanceId, :Limit, :Offset
284
+
285
+ def initialize(instanceid=nil, limit=nil, offset=nil)
286
+ @InstanceId = instanceid
287
+ @Limit = limit
288
+ @Offset = offset
289
+ end
290
+
291
+ def deserialize(params)
292
+ @InstanceId = params['InstanceId']
293
+ @Limit = params['Limit']
294
+ @Offset = params['Offset']
295
+ end
296
+ end
297
+
298
+ # DescribeNacosReplicas返回参数结构体
299
+ class DescribeNacosReplicasResponse < TencentCloud::Common::AbstractModel
300
+ # @param Replicas: 引擎实例副本信息
301
+ # @type Replicas: Array
302
+ # @param TotalCount: 副本个数
303
+ # 注意:此字段可能返回 null,表示取不到有效值。
304
+ # @type TotalCount: Integer
305
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
306
+ # @type RequestId: String
307
+
308
+ attr_accessor :Replicas, :TotalCount, :RequestId
309
+
310
+ def initialize(replicas=nil, totalcount=nil, requestid=nil)
311
+ @Replicas = replicas
312
+ @TotalCount = totalcount
313
+ @RequestId = requestid
314
+ end
315
+
316
+ def deserialize(params)
317
+ unless params['Replicas'].nil?
318
+ @Replicas = []
319
+ params['Replicas'].each do |i|
320
+ nacosreplica_tmp = NacosReplica.new
321
+ nacosreplica_tmp.deserialize(i)
322
+ @Replicas << nacosreplica_tmp
323
+ end
324
+ end
325
+ @TotalCount = params['TotalCount']
326
+ @RequestId = params['RequestId']
327
+ end
328
+ end
329
+
330
+ # DescribeNacosServerInterfaces请求参数结构体
331
+ class DescribeNacosServerInterfacesRequest < TencentCloud::Common::AbstractModel
332
+ # @param InstanceId: 实例id
333
+ # @type InstanceId: String
334
+ # @param Limit: 返回的列表个数
335
+ # @type Limit: Integer
336
+ # @param Offset: 返回的列表起始偏移量
337
+ # @type Offset: Integer
338
+
339
+ attr_accessor :InstanceId, :Limit, :Offset
340
+
341
+ def initialize(instanceid=nil, limit=nil, offset=nil)
342
+ @InstanceId = instanceid
343
+ @Limit = limit
344
+ @Offset = offset
345
+ end
346
+
347
+ def deserialize(params)
348
+ @InstanceId = params['InstanceId']
349
+ @Limit = params['Limit']
350
+ @Offset = params['Offset']
351
+ end
352
+ end
353
+
354
+ # DescribeNacosServerInterfaces返回参数结构体
355
+ class DescribeNacosServerInterfacesResponse < TencentCloud::Common::AbstractModel
356
+ # @param TotalCount: 接口总个数
357
+ # @type TotalCount: Integer
358
+ # @param Content: 接口列表
359
+ # @type Content: Array
360
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
361
+ # @type RequestId: String
362
+
363
+ attr_accessor :TotalCount, :Content, :RequestId
364
+
365
+ def initialize(totalcount=nil, content=nil, requestid=nil)
366
+ @TotalCount = totalcount
367
+ @Content = content
368
+ @RequestId = requestid
369
+ end
370
+
371
+ def deserialize(params)
372
+ @TotalCount = params['TotalCount']
373
+ unless params['Content'].nil?
374
+ @Content = []
375
+ params['Content'].each do |i|
376
+ nacosserverinterface_tmp = NacosServerInterface.new
377
+ nacosserverinterface_tmp.deserialize(i)
378
+ @Content << nacosserverinterface_tmp
379
+ end
380
+ end
381
+ @RequestId = params['RequestId']
382
+ end
383
+ end
384
+
274
385
  # DescribeSREInstanceAccessAddress请求参数结构体
275
386
  class DescribeSREInstanceAccessAddressRequest < TencentCloud::Common::AbstractModel
276
387
  # @param InstanceId: 注册引擎实例Id
@@ -420,6 +531,117 @@ module TencentCloud
420
531
  end
421
532
  end
422
533
 
534
+ # DescribeZookeeperReplicas请求参数结构体
535
+ class DescribeZookeeperReplicasRequest < TencentCloud::Common::AbstractModel
536
+ # @param InstanceId: 注册引擎实例ID
537
+ # @type InstanceId: String
538
+ # @param Limit: 副本列表Limit
539
+ # @type Limit: Integer
540
+ # @param Offset: 副本列表Offset
541
+ # @type Offset: Integer
542
+
543
+ attr_accessor :InstanceId, :Limit, :Offset
544
+
545
+ def initialize(instanceid=nil, limit=nil, offset=nil)
546
+ @InstanceId = instanceid
547
+ @Limit = limit
548
+ @Offset = offset
549
+ end
550
+
551
+ def deserialize(params)
552
+ @InstanceId = params['InstanceId']
553
+ @Limit = params['Limit']
554
+ @Offset = params['Offset']
555
+ end
556
+ end
557
+
558
+ # DescribeZookeeperReplicas返回参数结构体
559
+ class DescribeZookeeperReplicasResponse < TencentCloud::Common::AbstractModel
560
+ # @param Replicas: 注册引擎实例副本信息
561
+ # @type Replicas: Array
562
+ # @param TotalCount: 副本个数
563
+ # 注意:此字段可能返回 null,表示取不到有效值。
564
+ # @type TotalCount: Integer
565
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
566
+ # @type RequestId: String
567
+
568
+ attr_accessor :Replicas, :TotalCount, :RequestId
569
+
570
+ def initialize(replicas=nil, totalcount=nil, requestid=nil)
571
+ @Replicas = replicas
572
+ @TotalCount = totalcount
573
+ @RequestId = requestid
574
+ end
575
+
576
+ def deserialize(params)
577
+ unless params['Replicas'].nil?
578
+ @Replicas = []
579
+ params['Replicas'].each do |i|
580
+ zookeeperreplica_tmp = ZookeeperReplica.new
581
+ zookeeperreplica_tmp.deserialize(i)
582
+ @Replicas << zookeeperreplica_tmp
583
+ end
584
+ end
585
+ @TotalCount = params['TotalCount']
586
+ @RequestId = params['RequestId']
587
+ end
588
+ end
589
+
590
+ # DescribeZookeeperServerInterfaces请求参数结构体
591
+ class DescribeZookeeperServerInterfacesRequest < TencentCloud::Common::AbstractModel
592
+ # @param InstanceId: 实例id
593
+ # @type InstanceId: String
594
+ # @param Limit: 返回的列表个数
595
+ # @type Limit: Integer
596
+ # @param Offset: 返回的列表起始偏移量
597
+ # @type Offset: Integer
598
+
599
+ attr_accessor :InstanceId, :Limit, :Offset
600
+
601
+ def initialize(instanceid=nil, limit=nil, offset=nil)
602
+ @InstanceId = instanceid
603
+ @Limit = limit
604
+ @Offset = offset
605
+ end
606
+
607
+ def deserialize(params)
608
+ @InstanceId = params['InstanceId']
609
+ @Limit = params['Limit']
610
+ @Offset = params['Offset']
611
+ end
612
+ end
613
+
614
+ # DescribeZookeeperServerInterfaces返回参数结构体
615
+ class DescribeZookeeperServerInterfacesResponse < TencentCloud::Common::AbstractModel
616
+ # @param TotalCount: 接口总个数
617
+ # @type TotalCount: Integer
618
+ # @param Content: 接口列表
619
+ # @type Content: Array
620
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
621
+ # @type RequestId: String
622
+
623
+ attr_accessor :TotalCount, :Content, :RequestId
624
+
625
+ def initialize(totalcount=nil, content=nil, requestid=nil)
626
+ @TotalCount = totalcount
627
+ @Content = content
628
+ @RequestId = requestid
629
+ end
630
+
631
+ def deserialize(params)
632
+ @TotalCount = params['TotalCount']
633
+ unless params['Content'].nil?
634
+ @Content = []
635
+ params['Content'].each do |i|
636
+ zookeeperserverinterface_tmp = ZookeeperServerInterface.new
637
+ zookeeperserverinterface_tmp.deserialize(i)
638
+ @Content << zookeeperserverinterface_tmp
639
+ end
640
+ end
641
+ @RequestId = params['RequestId']
642
+ end
643
+ end
644
+
423
645
  # 引擎的初始管理帐号
424
646
  class EngineAdmin < TencentCloud::Common::AbstractModel
425
647
  # @param Name: 控制台初始用户名
@@ -595,6 +817,62 @@ module TencentCloud
595
817
  end
596
818
  end
597
819
 
820
+ # Nacos副本信息
821
+ class NacosReplica < TencentCloud::Common::AbstractModel
822
+ # @param Name: 名称
823
+ # @type Name: String
824
+ # @param Role: 角色
825
+ # @type Role: String
826
+ # @param Status: 状态
827
+ # @type Status: String
828
+ # @param SubnetId: 子网ID
829
+ # 注意:此字段可能返回 null,表示取不到有效值。
830
+ # @type SubnetId: String
831
+ # @param Zone: 可用区ID
832
+ # 注意:此字段可能返回 null,表示取不到有效值。
833
+ # @type Zone: String
834
+ # @param ZoneId: 可用区ID
835
+ # 注意:此字段可能返回 null,表示取不到有效值。
836
+ # @type ZoneId: String
837
+
838
+ attr_accessor :Name, :Role, :Status, :SubnetId, :Zone, :ZoneId
839
+
840
+ def initialize(name=nil, role=nil, status=nil, subnetid=nil, zone=nil, zoneid=nil)
841
+ @Name = name
842
+ @Role = role
843
+ @Status = status
844
+ @SubnetId = subnetid
845
+ @Zone = zone
846
+ @ZoneId = zoneid
847
+ end
848
+
849
+ def deserialize(params)
850
+ @Name = params['Name']
851
+ @Role = params['Role']
852
+ @Status = params['Status']
853
+ @SubnetId = params['SubnetId']
854
+ @Zone = params['Zone']
855
+ @ZoneId = params['ZoneId']
856
+ end
857
+ end
858
+
859
+ # nacos服务端接口列表,用于云监控
860
+ class NacosServerInterface < TencentCloud::Common::AbstractModel
861
+ # @param Interface: 接口名
862
+ # 注意:此字段可能返回 null,表示取不到有效值。
863
+ # @type Interface: String
864
+
865
+ attr_accessor :Interface
866
+
867
+ def initialize(interface=nil)
868
+ @Interface = interface
869
+ end
870
+
871
+ def deserialize(params)
872
+ @Interface = params['Interface']
873
+ end
874
+ end
875
+
598
876
  # 微服务注册引擎实例
599
877
  class SREInstance < TencentCloud::Common::AbstractModel
600
878
  # @param InstanceId: 实例ID
@@ -847,6 +1125,62 @@ module TencentCloud
847
1125
  end
848
1126
  end
849
1127
 
1128
+ # Zookeeper副本信息
1129
+ class ZookeeperReplica < TencentCloud::Common::AbstractModel
1130
+ # @param Name: 名称
1131
+ # @type Name: String
1132
+ # @param Role: 角色
1133
+ # @type Role: String
1134
+ # @param Status: 状态
1135
+ # @type Status: String
1136
+ # @param SubnetId: 子网ID
1137
+ # 注意:此字段可能返回 null,表示取不到有效值。
1138
+ # @type SubnetId: String
1139
+ # @param Zone: 可用区ID
1140
+ # 注意:此字段可能返回 null,表示取不到有效值。
1141
+ # @type Zone: String
1142
+ # @param ZoneId: 可用区ID
1143
+ # 注意:此字段可能返回 null,表示取不到有效值。
1144
+ # @type ZoneId: String
1145
+
1146
+ attr_accessor :Name, :Role, :Status, :SubnetId, :Zone, :ZoneId
1147
+
1148
+ def initialize(name=nil, role=nil, status=nil, subnetid=nil, zone=nil, zoneid=nil)
1149
+ @Name = name
1150
+ @Role = role
1151
+ @Status = status
1152
+ @SubnetId = subnetid
1153
+ @Zone = zone
1154
+ @ZoneId = zoneid
1155
+ end
1156
+
1157
+ def deserialize(params)
1158
+ @Name = params['Name']
1159
+ @Role = params['Role']
1160
+ @Status = params['Status']
1161
+ @SubnetId = params['SubnetId']
1162
+ @Zone = params['Zone']
1163
+ @ZoneId = params['ZoneId']
1164
+ end
1165
+ end
1166
+
1167
+ # Zookeeper服务端接口列表,用于云监控
1168
+ class ZookeeperServerInterface < TencentCloud::Common::AbstractModel
1169
+ # @param Interface: 接口名
1170
+ # 注意:此字段可能返回 null,表示取不到有效值。
1171
+ # @type Interface: String
1172
+
1173
+ attr_accessor :Interface
1174
+
1175
+ def initialize(interface=nil)
1176
+ @Interface = interface
1177
+ end
1178
+
1179
+ def deserialize(params)
1180
+ @Interface = params['Interface']
1181
+ end
1182
+ end
1183
+
850
1184
  end
851
1185
  end
852
1186
  end
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: 1.0.342
4
+ version: 1.0.343
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-06-26 00:00:00.000000000 Z
11
+ date: 2022-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common