tencentcloud-sdk-es 3.0.780 → 3.0.782
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/v20180416/client.rb +264 -0
- data/lib/v20180416/models.rb +1363 -46
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 384671ab573a1b4b01e15feaf6db9bc7e4db6542
|
4
|
+
data.tar.gz: 756dadc43299b54742ac23b8179a2f09bce5aae8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 274ec45a6a927f6ca1bc150b9782192db640f6f1c8a254ea4cb5d48e7af3635bd3129e7cca437325c687306ca3c1e7fbbd5b38c7c9f628ceba5aba6bdcfbfb8b
|
7
|
+
data.tar.gz: c185e2a97db3d3b2a502cc6a705211698cb27836643d542b389478ab5809810539da93b03ee62180e260a4aa76fcb23e31a4c47619f0db28ccf1da43190949a8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.782
|
data/lib/v20180416/client.rb
CHANGED
@@ -29,6 +29,54 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
+
# 检查cos迁移索引元数据
|
33
|
+
|
34
|
+
# @param request: Request instance for CheckMigrateIndexMetaData.
|
35
|
+
# @type request: :class:`Tencentcloud::es::V20180416::CheckMigrateIndexMetaDataRequest`
|
36
|
+
# @rtype: :class:`Tencentcloud::es::V20180416::CheckMigrateIndexMetaDataResponse`
|
37
|
+
def CheckMigrateIndexMetaData(request)
|
38
|
+
body = send_request('CheckMigrateIndexMetaData', request.serialize)
|
39
|
+
response = JSON.parse(body)
|
40
|
+
if response['Response'].key?('Error') == false
|
41
|
+
model = CheckMigrateIndexMetaDataResponse.new
|
42
|
+
model.deserialize(response['Response'])
|
43
|
+
model
|
44
|
+
else
|
45
|
+
code = response['Response']['Error']['Code']
|
46
|
+
message = response['Response']['Error']['Message']
|
47
|
+
reqid = response['Response']['RequestId']
|
48
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
49
|
+
end
|
50
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
51
|
+
raise e
|
52
|
+
rescue StandardError => e
|
53
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
|
+
end
|
55
|
+
|
56
|
+
# cos迁移流程
|
57
|
+
|
58
|
+
# @param request: Request instance for CreateCosMigrateToServerlessInstance.
|
59
|
+
# @type request: :class:`Tencentcloud::es::V20180416::CreateCosMigrateToServerlessInstanceRequest`
|
60
|
+
# @rtype: :class:`Tencentcloud::es::V20180416::CreateCosMigrateToServerlessInstanceResponse`
|
61
|
+
def CreateCosMigrateToServerlessInstance(request)
|
62
|
+
body = send_request('CreateCosMigrateToServerlessInstance', request.serialize)
|
63
|
+
response = JSON.parse(body)
|
64
|
+
if response['Response'].key?('Error') == false
|
65
|
+
model = CreateCosMigrateToServerlessInstanceResponse.new
|
66
|
+
model.deserialize(response['Response'])
|
67
|
+
model
|
68
|
+
else
|
69
|
+
code = response['Response']['Error']['Code']
|
70
|
+
message = response['Response']['Error']['Message']
|
71
|
+
reqid = response['Response']['RequestId']
|
72
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
73
|
+
end
|
74
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
75
|
+
raise e
|
76
|
+
rescue StandardError => e
|
77
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
|
+
end
|
79
|
+
|
32
80
|
# 创建索引
|
33
81
|
|
34
82
|
# @param request: Request instance for CreateIndex.
|
@@ -101,6 +149,54 @@ module TencentCloud
|
|
101
149
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
150
|
end
|
103
151
|
|
152
|
+
# 创建Serverless索引
|
153
|
+
|
154
|
+
# @param request: Request instance for CreateServerlessInstance.
|
155
|
+
# @type request: :class:`Tencentcloud::es::V20180416::CreateServerlessInstanceRequest`
|
156
|
+
# @rtype: :class:`Tencentcloud::es::V20180416::CreateServerlessInstanceResponse`
|
157
|
+
def CreateServerlessInstance(request)
|
158
|
+
body = send_request('CreateServerlessInstance', request.serialize)
|
159
|
+
response = JSON.parse(body)
|
160
|
+
if response['Response'].key?('Error') == false
|
161
|
+
model = CreateServerlessInstanceResponse.new
|
162
|
+
model.deserialize(response['Response'])
|
163
|
+
model
|
164
|
+
else
|
165
|
+
code = response['Response']['Error']['Code']
|
166
|
+
message = response['Response']['Error']['Message']
|
167
|
+
reqid = response['Response']['RequestId']
|
168
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
169
|
+
end
|
170
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
171
|
+
raise e
|
172
|
+
rescue StandardError => e
|
173
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
174
|
+
end
|
175
|
+
|
176
|
+
# 创建Serverless索引空间
|
177
|
+
|
178
|
+
# @param request: Request instance for CreateServerlessSpaceV2.
|
179
|
+
# @type request: :class:`Tencentcloud::es::V20180416::CreateServerlessSpaceV2Request`
|
180
|
+
# @rtype: :class:`Tencentcloud::es::V20180416::CreateServerlessSpaceV2Response`
|
181
|
+
def CreateServerlessSpaceV2(request)
|
182
|
+
body = send_request('CreateServerlessSpaceV2', request.serialize)
|
183
|
+
response = JSON.parse(body)
|
184
|
+
if response['Response'].key?('Error') == false
|
185
|
+
model = CreateServerlessSpaceV2Response.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
|
+
|
104
200
|
# 删除索引
|
105
201
|
|
106
202
|
# @param request: Request instance for DeleteIndex.
|
@@ -197,6 +293,54 @@ module TencentCloud
|
|
197
293
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
294
|
end
|
199
295
|
|
296
|
+
# 删除Serverless索引
|
297
|
+
|
298
|
+
# @param request: Request instance for DeleteServerlessInstance.
|
299
|
+
# @type request: :class:`Tencentcloud::es::V20180416::DeleteServerlessInstanceRequest`
|
300
|
+
# @rtype: :class:`Tencentcloud::es::V20180416::DeleteServerlessInstanceResponse`
|
301
|
+
def DeleteServerlessInstance(request)
|
302
|
+
body = send_request('DeleteServerlessInstance', request.serialize)
|
303
|
+
response = JSON.parse(body)
|
304
|
+
if response['Response'].key?('Error') == false
|
305
|
+
model = DeleteServerlessInstanceResponse.new
|
306
|
+
model.deserialize(response['Response'])
|
307
|
+
model
|
308
|
+
else
|
309
|
+
code = response['Response']['Error']['Code']
|
310
|
+
message = response['Response']['Error']['Message']
|
311
|
+
reqid = response['Response']['RequestId']
|
312
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
313
|
+
end
|
314
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
315
|
+
raise e
|
316
|
+
rescue StandardError => e
|
317
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
318
|
+
end
|
319
|
+
|
320
|
+
# 删除Serverless空间子用户
|
321
|
+
|
322
|
+
# @param request: Request instance for DeleteServerlessSpaceUser.
|
323
|
+
# @type request: :class:`Tencentcloud::es::V20180416::DeleteServerlessSpaceUserRequest`
|
324
|
+
# @rtype: :class:`Tencentcloud::es::V20180416::DeleteServerlessSpaceUserResponse`
|
325
|
+
def DeleteServerlessSpaceUser(request)
|
326
|
+
body = send_request('DeleteServerlessSpaceUser', request.serialize)
|
327
|
+
response = JSON.parse(body)
|
328
|
+
if response['Response'].key?('Error') == false
|
329
|
+
model = DeleteServerlessSpaceUserResponse.new
|
330
|
+
model.deserialize(response['Response'])
|
331
|
+
model
|
332
|
+
else
|
333
|
+
code = response['Response']['Error']['Code']
|
334
|
+
message = response['Response']['Error']['Message']
|
335
|
+
reqid = response['Response']['RequestId']
|
336
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
337
|
+
end
|
338
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
339
|
+
raise e
|
340
|
+
rescue StandardError => e
|
341
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
342
|
+
end
|
343
|
+
|
200
344
|
# 查询智能运维诊断结果报告
|
201
345
|
|
202
346
|
# @param request: Request instance for DescribeDiagnose.
|
@@ -461,6 +605,78 @@ module TencentCloud
|
|
461
605
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
462
606
|
end
|
463
607
|
|
608
|
+
# 查看Serverless空间子用户
|
609
|
+
|
610
|
+
# @param request: Request instance for DescribeServerlessSpaceUser.
|
611
|
+
# @type request: :class:`Tencentcloud::es::V20180416::DescribeServerlessSpaceUserRequest`
|
612
|
+
# @rtype: :class:`Tencentcloud::es::V20180416::DescribeServerlessSpaceUserResponse`
|
613
|
+
def DescribeServerlessSpaceUser(request)
|
614
|
+
body = send_request('DescribeServerlessSpaceUser', request.serialize)
|
615
|
+
response = JSON.parse(body)
|
616
|
+
if response['Response'].key?('Error') == false
|
617
|
+
model = DescribeServerlessSpaceUserResponse.new
|
618
|
+
model.deserialize(response['Response'])
|
619
|
+
model
|
620
|
+
else
|
621
|
+
code = response['Response']['Error']['Code']
|
622
|
+
message = response['Response']['Error']['Message']
|
623
|
+
reqid = response['Response']['RequestId']
|
624
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
625
|
+
end
|
626
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
627
|
+
raise e
|
628
|
+
rescue StandardError => e
|
629
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
630
|
+
end
|
631
|
+
|
632
|
+
# 获取Serverless索引空间列表
|
633
|
+
|
634
|
+
# @param request: Request instance for DescribeServerlessSpaces.
|
635
|
+
# @type request: :class:`Tencentcloud::es::V20180416::DescribeServerlessSpacesRequest`
|
636
|
+
# @rtype: :class:`Tencentcloud::es::V20180416::DescribeServerlessSpacesResponse`
|
637
|
+
def DescribeServerlessSpaces(request)
|
638
|
+
body = send_request('DescribeServerlessSpaces', request.serialize)
|
639
|
+
response = JSON.parse(body)
|
640
|
+
if response['Response'].key?('Error') == false
|
641
|
+
model = DescribeServerlessSpacesResponse.new
|
642
|
+
model.deserialize(response['Response'])
|
643
|
+
model
|
644
|
+
else
|
645
|
+
code = response['Response']['Error']['Code']
|
646
|
+
message = response['Response']['Error']['Message']
|
647
|
+
reqid = response['Response']['RequestId']
|
648
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
649
|
+
end
|
650
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
651
|
+
raise e
|
652
|
+
rescue StandardError => e
|
653
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
654
|
+
end
|
655
|
+
|
656
|
+
# 查询快照信息接口
|
657
|
+
|
658
|
+
# @param request: Request instance for DescribeUserCosSnapshotList.
|
659
|
+
# @type request: :class:`Tencentcloud::es::V20180416::DescribeUserCosSnapshotListRequest`
|
660
|
+
# @rtype: :class:`Tencentcloud::es::V20180416::DescribeUserCosSnapshotListResponse`
|
661
|
+
def DescribeUserCosSnapshotList(request)
|
662
|
+
body = send_request('DescribeUserCosSnapshotList', request.serialize)
|
663
|
+
response = JSON.parse(body)
|
664
|
+
if response['Response'].key?('Error') == false
|
665
|
+
model = DescribeUserCosSnapshotListResponse.new
|
666
|
+
model.deserialize(response['Response'])
|
667
|
+
model
|
668
|
+
else
|
669
|
+
code = response['Response']['Error']['Code']
|
670
|
+
message = response['Response']['Error']['Message']
|
671
|
+
reqid = response['Response']['RequestId']
|
672
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
673
|
+
end
|
674
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
675
|
+
raise e
|
676
|
+
rescue StandardError => e
|
677
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
678
|
+
end
|
679
|
+
|
464
680
|
# 查询集群各视图数据,包括集群维度、节点维度、Kibana维度
|
465
681
|
|
466
682
|
# @param request: Request instance for DescribeViews.
|
@@ -1001,6 +1217,54 @@ module TencentCloud
|
|
1001
1217
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1002
1218
|
end
|
1003
1219
|
|
1220
|
+
# 更新Serverless索引
|
1221
|
+
|
1222
|
+
# @param request: Request instance for UpdateServerlessInstance.
|
1223
|
+
# @type request: :class:`Tencentcloud::es::V20180416::UpdateServerlessInstanceRequest`
|
1224
|
+
# @rtype: :class:`Tencentcloud::es::V20180416::UpdateServerlessInstanceResponse`
|
1225
|
+
def UpdateServerlessInstance(request)
|
1226
|
+
body = send_request('UpdateServerlessInstance', request.serialize)
|
1227
|
+
response = JSON.parse(body)
|
1228
|
+
if response['Response'].key?('Error') == false
|
1229
|
+
model = UpdateServerlessInstanceResponse.new
|
1230
|
+
model.deserialize(response['Response'])
|
1231
|
+
model
|
1232
|
+
else
|
1233
|
+
code = response['Response']['Error']['Code']
|
1234
|
+
message = response['Response']['Error']['Message']
|
1235
|
+
reqid = response['Response']['RequestId']
|
1236
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1237
|
+
end
|
1238
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1239
|
+
raise e
|
1240
|
+
rescue StandardError => e
|
1241
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1242
|
+
end
|
1243
|
+
|
1244
|
+
# 更新Serverless索引空间
|
1245
|
+
|
1246
|
+
# @param request: Request instance for UpdateServerlessSpace.
|
1247
|
+
# @type request: :class:`Tencentcloud::es::V20180416::UpdateServerlessSpaceRequest`
|
1248
|
+
# @rtype: :class:`Tencentcloud::es::V20180416::UpdateServerlessSpaceResponse`
|
1249
|
+
def UpdateServerlessSpace(request)
|
1250
|
+
body = send_request('UpdateServerlessSpace', request.serialize)
|
1251
|
+
response = JSON.parse(body)
|
1252
|
+
if response['Response'].key?('Error') == false
|
1253
|
+
model = UpdateServerlessSpaceResponse.new
|
1254
|
+
model.deserialize(response['Response'])
|
1255
|
+
model
|
1256
|
+
else
|
1257
|
+
code = response['Response']['Error']['Code']
|
1258
|
+
message = response['Response']['Error']['Message']
|
1259
|
+
reqid = response['Response']['RequestId']
|
1260
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1261
|
+
end
|
1262
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1263
|
+
raise e
|
1264
|
+
rescue StandardError => e
|
1265
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1266
|
+
end
|
1267
|
+
|
1004
1268
|
# 升级ES集群版本
|
1005
1269
|
|
1006
1270
|
# @param request: Request instance for UpgradeInstance.
|