tencentcloud-sdk-es 3.0.780 → 3.0.781

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: 376a763fff9c122718f26c4a787f517476ef43c7
4
- data.tar.gz: 804e64dffdebff57301fa0d6f47fca1ca40df98a
3
+ metadata.gz: fcbcf79fe4e355ec4d9c4118a3c7db64e4cd3982
4
+ data.tar.gz: 47df3bf128b2ea8389be3ab9bdd13dd6d55a405b
5
5
  SHA512:
6
- metadata.gz: 973339d641cb158517518b2c80b83cf2d20b5735338d482d2d3c019b84b5dc4e698b59869592bf38f5d7a07d5460895ac38e5f2d71540fc3254434e4149e1930
7
- data.tar.gz: 31daf456078434603a99a07f0b38e232c82186e7da3d78510576518a1606120cea8c91a2e480073f52df9b331c988d7bf0991e09dcb60937db7e4c8c971f4e19
6
+ metadata.gz: d9a62c766c5c8a58679d23661d8634ccb67f98e6060fd87ae78b1dada84f701ca40bef279d081f3991cf001c4aeab11382959b3fc25fb2a89bd72bc5856bdf61
7
+ data.tar.gz: 110024fed36651cdc0ff85fa745608e67049d9305c2d3da9d48dc0336a31c171abc501872a0be173a36a6e01ec5636ef1e8fac9bde16641a3b0971cb0c58c375
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.780
1
+ 3.0.781
@@ -101,6 +101,54 @@ module TencentCloud
101
101
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
102
  end
103
103
 
104
+ # 创建Serverless索引
105
+
106
+ # @param request: Request instance for CreateServerlessInstance.
107
+ # @type request: :class:`Tencentcloud::es::V20180416::CreateServerlessInstanceRequest`
108
+ # @rtype: :class:`Tencentcloud::es::V20180416::CreateServerlessInstanceResponse`
109
+ def CreateServerlessInstance(request)
110
+ body = send_request('CreateServerlessInstance', request.serialize)
111
+ response = JSON.parse(body)
112
+ if response['Response'].key?('Error') == false
113
+ model = CreateServerlessInstanceResponse.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
+
128
+ # 创建Serverless索引空间
129
+
130
+ # @param request: Request instance for CreateServerlessSpaceV2.
131
+ # @type request: :class:`Tencentcloud::es::V20180416::CreateServerlessSpaceV2Request`
132
+ # @rtype: :class:`Tencentcloud::es::V20180416::CreateServerlessSpaceV2Response`
133
+ def CreateServerlessSpaceV2(request)
134
+ body = send_request('CreateServerlessSpaceV2', request.serialize)
135
+ response = JSON.parse(body)
136
+ if response['Response'].key?('Error') == false
137
+ model = CreateServerlessSpaceV2Response.new
138
+ model.deserialize(response['Response'])
139
+ model
140
+ else
141
+ code = response['Response']['Error']['Code']
142
+ message = response['Response']['Error']['Message']
143
+ reqid = response['Response']['RequestId']
144
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
145
+ end
146
+ rescue TencentCloud::Common::TencentCloudSDKException => e
147
+ raise e
148
+ rescue StandardError => e
149
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
+ end
151
+
104
152
  # 删除索引
105
153
 
106
154
  # @param request: Request instance for DeleteIndex.
@@ -197,6 +245,54 @@ module TencentCloud
197
245
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
246
  end
199
247
 
248
+ # 删除Serverless索引
249
+
250
+ # @param request: Request instance for DeleteServerlessInstance.
251
+ # @type request: :class:`Tencentcloud::es::V20180416::DeleteServerlessInstanceRequest`
252
+ # @rtype: :class:`Tencentcloud::es::V20180416::DeleteServerlessInstanceResponse`
253
+ def DeleteServerlessInstance(request)
254
+ body = send_request('DeleteServerlessInstance', request.serialize)
255
+ response = JSON.parse(body)
256
+ if response['Response'].key?('Error') == false
257
+ model = DeleteServerlessInstanceResponse.new
258
+ model.deserialize(response['Response'])
259
+ model
260
+ else
261
+ code = response['Response']['Error']['Code']
262
+ message = response['Response']['Error']['Message']
263
+ reqid = response['Response']['RequestId']
264
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
265
+ end
266
+ rescue TencentCloud::Common::TencentCloudSDKException => e
267
+ raise e
268
+ rescue StandardError => e
269
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
+ end
271
+
272
+ # 删除Serverless空间子用户
273
+
274
+ # @param request: Request instance for DeleteServerlessSpaceUser.
275
+ # @type request: :class:`Tencentcloud::es::V20180416::DeleteServerlessSpaceUserRequest`
276
+ # @rtype: :class:`Tencentcloud::es::V20180416::DeleteServerlessSpaceUserResponse`
277
+ def DeleteServerlessSpaceUser(request)
278
+ body = send_request('DeleteServerlessSpaceUser', request.serialize)
279
+ response = JSON.parse(body)
280
+ if response['Response'].key?('Error') == false
281
+ model = DeleteServerlessSpaceUserResponse.new
282
+ model.deserialize(response['Response'])
283
+ model
284
+ else
285
+ code = response['Response']['Error']['Code']
286
+ message = response['Response']['Error']['Message']
287
+ reqid = response['Response']['RequestId']
288
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
289
+ end
290
+ rescue TencentCloud::Common::TencentCloudSDKException => e
291
+ raise e
292
+ rescue StandardError => e
293
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
+ end
295
+
200
296
  # 查询智能运维诊断结果报告
201
297
 
202
298
  # @param request: Request instance for DescribeDiagnose.
@@ -461,6 +557,54 @@ module TencentCloud
461
557
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
462
558
  end
463
559
 
560
+ # 查看Serverless空间子用户
561
+
562
+ # @param request: Request instance for DescribeServerlessSpaceUser.
563
+ # @type request: :class:`Tencentcloud::es::V20180416::DescribeServerlessSpaceUserRequest`
564
+ # @rtype: :class:`Tencentcloud::es::V20180416::DescribeServerlessSpaceUserResponse`
565
+ def DescribeServerlessSpaceUser(request)
566
+ body = send_request('DescribeServerlessSpaceUser', request.serialize)
567
+ response = JSON.parse(body)
568
+ if response['Response'].key?('Error') == false
569
+ model = DescribeServerlessSpaceUserResponse.new
570
+ model.deserialize(response['Response'])
571
+ model
572
+ else
573
+ code = response['Response']['Error']['Code']
574
+ message = response['Response']['Error']['Message']
575
+ reqid = response['Response']['RequestId']
576
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
577
+ end
578
+ rescue TencentCloud::Common::TencentCloudSDKException => e
579
+ raise e
580
+ rescue StandardError => e
581
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
582
+ end
583
+
584
+ # 获取Serverless索引空间列表
585
+
586
+ # @param request: Request instance for DescribeServerlessSpaces.
587
+ # @type request: :class:`Tencentcloud::es::V20180416::DescribeServerlessSpacesRequest`
588
+ # @rtype: :class:`Tencentcloud::es::V20180416::DescribeServerlessSpacesResponse`
589
+ def DescribeServerlessSpaces(request)
590
+ body = send_request('DescribeServerlessSpaces', request.serialize)
591
+ response = JSON.parse(body)
592
+ if response['Response'].key?('Error') == false
593
+ model = DescribeServerlessSpacesResponse.new
594
+ model.deserialize(response['Response'])
595
+ model
596
+ else
597
+ code = response['Response']['Error']['Code']
598
+ message = response['Response']['Error']['Message']
599
+ reqid = response['Response']['RequestId']
600
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
601
+ end
602
+ rescue TencentCloud::Common::TencentCloudSDKException => e
603
+ raise e
604
+ rescue StandardError => e
605
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
606
+ end
607
+
464
608
  # 查询集群各视图数据,包括集群维度、节点维度、Kibana维度
465
609
 
466
610
  # @param request: Request instance for DescribeViews.
@@ -1001,6 +1145,54 @@ module TencentCloud
1001
1145
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1002
1146
  end
1003
1147
 
1148
+ # 更新Serverless索引
1149
+
1150
+ # @param request: Request instance for UpdateServerlessInstance.
1151
+ # @type request: :class:`Tencentcloud::es::V20180416::UpdateServerlessInstanceRequest`
1152
+ # @rtype: :class:`Tencentcloud::es::V20180416::UpdateServerlessInstanceResponse`
1153
+ def UpdateServerlessInstance(request)
1154
+ body = send_request('UpdateServerlessInstance', request.serialize)
1155
+ response = JSON.parse(body)
1156
+ if response['Response'].key?('Error') == false
1157
+ model = UpdateServerlessInstanceResponse.new
1158
+ model.deserialize(response['Response'])
1159
+ model
1160
+ else
1161
+ code = response['Response']['Error']['Code']
1162
+ message = response['Response']['Error']['Message']
1163
+ reqid = response['Response']['RequestId']
1164
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1165
+ end
1166
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1167
+ raise e
1168
+ rescue StandardError => e
1169
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1170
+ end
1171
+
1172
+ # 更新Serverless索引空间
1173
+
1174
+ # @param request: Request instance for UpdateServerlessSpace.
1175
+ # @type request: :class:`Tencentcloud::es::V20180416::UpdateServerlessSpaceRequest`
1176
+ # @rtype: :class:`Tencentcloud::es::V20180416::UpdateServerlessSpaceResponse`
1177
+ def UpdateServerlessSpace(request)
1178
+ body = send_request('UpdateServerlessSpace', request.serialize)
1179
+ response = JSON.parse(body)
1180
+ if response['Response'].key?('Error') == false
1181
+ model = UpdateServerlessSpaceResponse.new
1182
+ model.deserialize(response['Response'])
1183
+ model
1184
+ else
1185
+ code = response['Response']['Error']['Code']
1186
+ message = response['Response']['Error']['Message']
1187
+ reqid = response['Response']['RequestId']
1188
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1189
+ end
1190
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1191
+ raise e
1192
+ rescue StandardError => e
1193
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1194
+ end
1195
+
1004
1196
  # 升级ES集群版本
1005
1197
 
1006
1198
  # @param request: Request instance for UpgradeInstance.