tencentcloud-sdk-es 3.0.930 → 3.0.932

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: a4f35d08c8a2413cadbca95f0fe22ac7665c5234
4
- data.tar.gz: 9e8793f7880118642ff81355ee49020e0acd3f6c
3
+ metadata.gz: f1b251b4cab13e1b1c3d9245c275f1e014cd8ff5
4
+ data.tar.gz: 3d9246fddfbea1406f1577b80edcd2e8f42c21c6
5
5
  SHA512:
6
- metadata.gz: f567faae6e04eef1f1799362349f60f318c9b1576b6e8abb639727a7f1221a81b8772ca19d58a28b1bdc585d5ed4a5575145c49f22a062c5ac84c44507cad8f1
7
- data.tar.gz: fd3b4c7592b910a0039d58ed7b368612725d941f218408a5efd4c3e24fc89be8f265a1010cf73d039fc89fe8d670ad2ded02cc6ac03a42c5186feb16aeacac38
6
+ metadata.gz: fa6fa8aeec9a3fbacebc8ec0e303dd0e0b4324e74b21933ae53c3fa42416274c9160620764b72083e2f64317ecdf9621b9eb089194a7c6239a212e359d0b688d
7
+ data.tar.gz: 84ca812a30ae44115ed160bf7fcddd14c35c73777b1fbdf351be968588f0d2da9a8c935cd77db02a4499eb66f5bd8c036a617067565477bc514e3656df75c0ef
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.930
1
+ 3.0.932
@@ -53,6 +53,30 @@ module TencentCloud
53
53
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
54
  end
55
55
 
56
+ # 集群快照手动创建
57
+
58
+ # @param request: Request instance for CreateClusterSnapshot.
59
+ # @type request: :class:`Tencentcloud::es::V20180416::CreateClusterSnapshotRequest`
60
+ # @rtype: :class:`Tencentcloud::es::V20180416::CreateClusterSnapshotResponse`
61
+ def CreateClusterSnapshot(request)
62
+ body = send_request('CreateClusterSnapshot', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = CreateClusterSnapshotResponse.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
+
56
80
  # cos迁移流程
57
81
 
58
82
  # @param request: Request instance for CreateCosMigrateToServerlessInstance.
@@ -197,6 +221,30 @@ module TencentCloud
197
221
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
222
  end
199
223
 
224
+ # 删除快照仓库里备份的快照
225
+
226
+ # @param request: Request instance for DeleteClusterSnapshot.
227
+ # @type request: :class:`Tencentcloud::es::V20180416::DeleteClusterSnapshotRequest`
228
+ # @rtype: :class:`Tencentcloud::es::V20180416::DeleteClusterSnapshotResponse`
229
+ def DeleteClusterSnapshot(request)
230
+ body = send_request('DeleteClusterSnapshot', request.serialize)
231
+ response = JSON.parse(body)
232
+ if response['Response'].key?('Error') == false
233
+ model = DeleteClusterSnapshotResponse.new
234
+ model.deserialize(response['Response'])
235
+ model
236
+ else
237
+ code = response['Response']['Error']['Code']
238
+ message = response['Response']['Error']['Message']
239
+ reqid = response['Response']['RequestId']
240
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
241
+ end
242
+ rescue TencentCloud::Common::TencentCloudSDKException => e
243
+ raise e
244
+ rescue StandardError => e
245
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
+ end
247
+
200
248
  # 删除索引
201
249
 
202
250
  # @param request: Request instance for DeleteIndex.
@@ -341,6 +389,30 @@ module TencentCloud
341
389
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
390
  end
343
391
 
392
+ # 获取快照备份列表
393
+
394
+ # @param request: Request instance for DescribeClusterSnapshot.
395
+ # @type request: :class:`Tencentcloud::es::V20180416::DescribeClusterSnapshotRequest`
396
+ # @rtype: :class:`Tencentcloud::es::V20180416::DescribeClusterSnapshotResponse`
397
+ def DescribeClusterSnapshot(request)
398
+ body = send_request('DescribeClusterSnapshot', request.serialize)
399
+ response = JSON.parse(body)
400
+ if response['Response'].key?('Error') == false
401
+ model = DescribeClusterSnapshotResponse.new
402
+ model.deserialize(response['Response'])
403
+ model
404
+ else
405
+ code = response['Response']['Error']['Code']
406
+ message = response['Response']['Error']['Message']
407
+ reqid = response['Response']['RequestId']
408
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
409
+ end
410
+ rescue TencentCloud::Common::TencentCloudSDKException => e
411
+ raise e
412
+ rescue StandardError => e
413
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
414
+ end
415
+
344
416
  # 查询智能运维诊断结果报告
345
417
 
346
418
  # @param request: Request instance for DescribeDiagnose.
@@ -1014,6 +1086,30 @@ module TencentCloud
1014
1086
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1015
1087
  end
1016
1088
 
1089
+ # 快照备份恢复,从仓库中恢复快照到集群中
1090
+
1091
+ # @param request: Request instance for RestoreClusterSnapshot.
1092
+ # @type request: :class:`Tencentcloud::es::V20180416::RestoreClusterSnapshotRequest`
1093
+ # @rtype: :class:`Tencentcloud::es::V20180416::RestoreClusterSnapshotResponse`
1094
+ def RestoreClusterSnapshot(request)
1095
+ body = send_request('RestoreClusterSnapshot', request.serialize)
1096
+ response = JSON.parse(body)
1097
+ if response['Response'].key?('Error') == false
1098
+ model = RestoreClusterSnapshotResponse.new
1099
+ model.deserialize(response['Response'])
1100
+ model
1101
+ else
1102
+ code = response['Response']['Error']['Code']
1103
+ message = response['Response']['Error']['Message']
1104
+ reqid = response['Response']['RequestId']
1105
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1106
+ end
1107
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1108
+ raise e
1109
+ rescue StandardError => e
1110
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1111
+ end
1112
+
1017
1113
  # 用于下发并且部署管道
1018
1114
 
1019
1115
  # @param request: Request instance for SaveAndDeployLogstashPipeline.
@@ -327,6 +327,51 @@ module TencentCloud
327
327
  end
328
328
  end
329
329
 
330
+ # CreateClusterSnapshot请求参数结构体
331
+ class CreateClusterSnapshotRequest < TencentCloud::Common::AbstractModel
332
+ # @param InstanceId: 实例名称
333
+ # @type InstanceId: String
334
+ # @param SnapshotName: 快照名称
335
+ # @type SnapshotName: String
336
+ # @param Indices: 索引名称
337
+ # @type Indices: String
338
+
339
+ attr_accessor :InstanceId, :SnapshotName, :Indices
340
+
341
+ def initialize(instanceid=nil, snapshotname=nil, indices=nil)
342
+ @InstanceId = instanceid
343
+ @SnapshotName = snapshotname
344
+ @Indices = indices
345
+ end
346
+
347
+ def deserialize(params)
348
+ @InstanceId = params['InstanceId']
349
+ @SnapshotName = params['SnapshotName']
350
+ @Indices = params['Indices']
351
+ end
352
+ end
353
+
354
+ # CreateClusterSnapshot返回参数结构体
355
+ class CreateClusterSnapshotResponse < TencentCloud::Common::AbstractModel
356
+ # @param InstanceId: 实例名称
357
+ # 注意:此字段可能返回 null,表示取不到有效值。
358
+ # @type InstanceId: String
359
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
360
+ # @type RequestId: String
361
+
362
+ attr_accessor :InstanceId, :RequestId
363
+
364
+ def initialize(instanceid=nil, requestid=nil)
365
+ @InstanceId = instanceid
366
+ @RequestId = requestid
367
+ end
368
+
369
+ def deserialize(params)
370
+ @InstanceId = params['InstanceId']
371
+ @RequestId = params['RequestId']
372
+ end
373
+ end
374
+
330
375
  # CreateCosMigrateToServerlessInstance请求参数结构体
331
376
  class CreateCosMigrateToServerlessInstanceRequest < TencentCloud::Common::AbstractModel
332
377
  # @param Snapshot: 快照名
@@ -975,6 +1020,50 @@ module TencentCloud
975
1020
  end
976
1021
  end
977
1022
 
1023
+ # DeleteClusterSnapshot请求参数结构体
1024
+ class DeleteClusterSnapshotRequest < TencentCloud::Common::AbstractModel
1025
+ # @param InstanceId: 集群实例Id,格式:es-xxxx
1026
+ # @type InstanceId: String
1027
+ # @param RepositoryName: 快照仓库名称
1028
+ # @type RepositoryName: String
1029
+ # @param SnapshotName: 集群快照名称
1030
+ # @type SnapshotName: String
1031
+
1032
+ attr_accessor :InstanceId, :RepositoryName, :SnapshotName
1033
+
1034
+ def initialize(instanceid=nil, repositoryname=nil, snapshotname=nil)
1035
+ @InstanceId = instanceid
1036
+ @RepositoryName = repositoryname
1037
+ @SnapshotName = snapshotname
1038
+ end
1039
+
1040
+ def deserialize(params)
1041
+ @InstanceId = params['InstanceId']
1042
+ @RepositoryName = params['RepositoryName']
1043
+ @SnapshotName = params['SnapshotName']
1044
+ end
1045
+ end
1046
+
1047
+ # DeleteClusterSnapshot返回参数结构体
1048
+ class DeleteClusterSnapshotResponse < TencentCloud::Common::AbstractModel
1049
+ # @param InstanceId: 集群id
1050
+ # @type InstanceId: String
1051
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1052
+ # @type RequestId: String
1053
+
1054
+ attr_accessor :InstanceId, :RequestId
1055
+
1056
+ def initialize(instanceid=nil, requestid=nil)
1057
+ @InstanceId = instanceid
1058
+ @RequestId = requestid
1059
+ end
1060
+
1061
+ def deserialize(params)
1062
+ @InstanceId = params['InstanceId']
1063
+ @RequestId = params['RequestId']
1064
+ end
1065
+ end
1066
+
978
1067
  # DeleteIndex请求参数结构体
979
1068
  class DeleteIndexRequest < TencentCloud::Common::AbstractModel
980
1069
  # @param InstanceId: ES集群ID
@@ -1195,6 +1284,65 @@ module TencentCloud
1195
1284
  end
1196
1285
  end
1197
1286
 
1287
+ # DescribeClusterSnapshot请求参数结构体
1288
+ class DescribeClusterSnapshotRequest < TencentCloud::Common::AbstractModel
1289
+ # @param InstanceId: 集群实例Id,格式:es-xxxx
1290
+ # @type InstanceId: String
1291
+ # @param RepositoryName: 快照仓库名称
1292
+ # @type RepositoryName: String
1293
+ # @param SnapshotName: 集群快照名称
1294
+ # @type SnapshotName: String
1295
+
1296
+ attr_accessor :InstanceId, :RepositoryName, :SnapshotName
1297
+
1298
+ def initialize(instanceid=nil, repositoryname=nil, snapshotname=nil)
1299
+ @InstanceId = instanceid
1300
+ @RepositoryName = repositoryname
1301
+ @SnapshotName = snapshotname
1302
+ end
1303
+
1304
+ def deserialize(params)
1305
+ @InstanceId = params['InstanceId']
1306
+ @RepositoryName = params['RepositoryName']
1307
+ @SnapshotName = params['SnapshotName']
1308
+ end
1309
+ end
1310
+
1311
+ # DescribeClusterSnapshot返回参数结构体
1312
+ class DescribeClusterSnapshotResponse < TencentCloud::Common::AbstractModel
1313
+ # @param InstanceId: 集群实例Id,格式:es-xxxx
1314
+ # @type InstanceId: String
1315
+ # @param Snapshots: 快照备份详情列表
1316
+ # @type Snapshots: Array
1317
+ # @param RepositoryName: 快照仓库名称
1318
+ # @type RepositoryName: String
1319
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1320
+ # @type RequestId: String
1321
+
1322
+ attr_accessor :InstanceId, :Snapshots, :RepositoryName, :RequestId
1323
+
1324
+ def initialize(instanceid=nil, snapshots=nil, repositoryname=nil, requestid=nil)
1325
+ @InstanceId = instanceid
1326
+ @Snapshots = snapshots
1327
+ @RepositoryName = repositoryname
1328
+ @RequestId = requestid
1329
+ end
1330
+
1331
+ def deserialize(params)
1332
+ @InstanceId = params['InstanceId']
1333
+ unless params['Snapshots'].nil?
1334
+ @Snapshots = []
1335
+ params['Snapshots'].each do |i|
1336
+ snapshots_tmp = Snapshots.new
1337
+ snapshots_tmp.deserialize(i)
1338
+ @Snapshots << snapshots_tmp
1339
+ end
1340
+ end
1341
+ @RepositoryName = params['RepositoryName']
1342
+ @RequestId = params['RequestId']
1343
+ end
1344
+ end
1345
+
1198
1346
  # DescribeDiagnose请求参数结构体
1199
1347
  class DescribeDiagnoseRequest < TencentCloud::Common::AbstractModel
1200
1348
  # @param InstanceId: ES实例ID
@@ -3219,6 +3367,38 @@ module TencentCloud
3219
3367
  end
3220
3368
  end
3221
3369
 
3370
+ # 索引备份失败的数据结构
3371
+ class Failures < TencentCloud::Common::AbstractModel
3372
+ # @param Index: 备份失败的索引名称
3373
+ # 注意:此字段可能返回 null,表示取不到有效值。
3374
+ # @type Index: String
3375
+ # @param ShardId: 快照失败的分片号
3376
+ # 注意:此字段可能返回 null,表示取不到有效值。
3377
+ # @type ShardId: Integer
3378
+ # @param Reason: 快照失败的原因
3379
+ # 注意:此字段可能返回 null,表示取不到有效值。
3380
+ # @type Reason: String
3381
+ # @param Status: 快照失败的状态
3382
+ # 注意:此字段可能返回 null,表示取不到有效值。
3383
+ # @type Status: String
3384
+
3385
+ attr_accessor :Index, :ShardId, :Reason, :Status
3386
+
3387
+ def initialize(index=nil, shardid=nil, reason=nil, status=nil)
3388
+ @Index = index
3389
+ @ShardId = shardid
3390
+ @Reason = reason
3391
+ @Status = status
3392
+ end
3393
+
3394
+ def deserialize(params)
3395
+ @Index = params['Index']
3396
+ @ShardId = params['ShardId']
3397
+ @Reason = params['Reason']
3398
+ @Status = params['Status']
3399
+ end
3400
+ end
3401
+
3222
3402
  # GetDiagnoseSettings请求参数结构体
3223
3403
  class GetDiagnoseSettingsRequest < TencentCloud::Common::AbstractModel
3224
3404
  # @param InstanceId: ES实例ID
@@ -5494,6 +5674,78 @@ module TencentCloud
5494
5674
  end
5495
5675
  end
5496
5676
 
5677
+ # RestoreClusterSnapshot请求参数结构体
5678
+ class RestoreClusterSnapshotRequest < TencentCloud::Common::AbstractModel
5679
+ # @param InstanceId: 集群实例Id,格式:es-xxxx
5680
+ # @type InstanceId: String
5681
+ # @param RepositoryName: 仓库名称
5682
+ # @type RepositoryName: String
5683
+ # @param SnapshotName: 集群快照名称
5684
+ # @type SnapshotName: String
5685
+ # @param TargetInstanceId: 目标集群实例Id,格式:es-xxxx,如果是恢复到本地,则和InstanceId一致
5686
+ # @type TargetInstanceId: String
5687
+ # @param Password: elastic用户名对应的密码信息
5688
+ # @type Password: String
5689
+ # @param IndexSettings: 要在所有恢复的索引中添加或更改的设置的逗号分隔列表。使用此参数可以在恢复快照时覆盖索引设置。
5690
+ # @type IndexSettings: String
5691
+ # @param IncludeGlobalState: 不应从快照还原的以逗号分隔的索引设置列表。
5692
+ # @type IncludeGlobalState: Array
5693
+ # @param Indices: 需要恢复的索引名称,非必填,为空则表示恢复所有
5694
+
5695
+ # 支持传多个索引名称
5696
+ # @type Indices: String
5697
+ # @param Partial: 如果为 false,则如果快照中包含的一个或多个索引没有所有主分片可用,则整个恢复操作将失败。默认为 false,
5698
+
5699
+ # 如果为 true,则允许恢复具有不可用分片的索引的部分快照。只有成功包含在快照中的分片才会被恢复。所有丢失的碎片将被重新创建为空
5700
+ # @type Partial: String
5701
+
5702
+ attr_accessor :InstanceId, :RepositoryName, :SnapshotName, :TargetInstanceId, :Password, :IndexSettings, :IncludeGlobalState, :Indices, :Partial
5703
+
5704
+ def initialize(instanceid=nil, repositoryname=nil, snapshotname=nil, targetinstanceid=nil, password=nil, indexsettings=nil, includeglobalstate=nil, indices=nil, partial=nil)
5705
+ @InstanceId = instanceid
5706
+ @RepositoryName = repositoryname
5707
+ @SnapshotName = snapshotname
5708
+ @TargetInstanceId = targetinstanceid
5709
+ @Password = password
5710
+ @IndexSettings = indexsettings
5711
+ @IncludeGlobalState = includeglobalstate
5712
+ @Indices = indices
5713
+ @Partial = partial
5714
+ end
5715
+
5716
+ def deserialize(params)
5717
+ @InstanceId = params['InstanceId']
5718
+ @RepositoryName = params['RepositoryName']
5719
+ @SnapshotName = params['SnapshotName']
5720
+ @TargetInstanceId = params['TargetInstanceId']
5721
+ @Password = params['Password']
5722
+ @IndexSettings = params['IndexSettings']
5723
+ @IncludeGlobalState = params['IncludeGlobalState']
5724
+ @Indices = params['Indices']
5725
+ @Partial = params['Partial']
5726
+ end
5727
+ end
5728
+
5729
+ # RestoreClusterSnapshot返回参数结构体
5730
+ class RestoreClusterSnapshotResponse < TencentCloud::Common::AbstractModel
5731
+ # @param InstanceId: 集群实例id
5732
+ # @type InstanceId: String
5733
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5734
+ # @type RequestId: String
5735
+
5736
+ attr_accessor :InstanceId, :RequestId
5737
+
5738
+ def initialize(instanceid=nil, requestid=nil)
5739
+ @InstanceId = instanceid
5740
+ @RequestId = requestid
5741
+ end
5742
+
5743
+ def deserialize(params)
5744
+ @InstanceId = params['InstanceId']
5745
+ @RequestId = params['RequestId']
5746
+ end
5747
+ end
5748
+
5497
5749
  # SaveAndDeployLogstashPipeline请求参数结构体
5498
5750
  class SaveAndDeployLogstashPipelineRequest < TencentCloud::Common::AbstractModel
5499
5751
  # @param InstanceId: 实例ID
@@ -5968,6 +6220,98 @@ module TencentCloud
5968
6220
  end
5969
6221
  end
5970
6222
 
6223
+ # 集群快照数据结构
6224
+ class Snapshots < TencentCloud::Common::AbstractModel
6225
+ # @param SnapshotName: 快照名称
6226
+ # 注意:此字段可能返回 null,表示取不到有效值。
6227
+ # @type SnapshotName: String
6228
+ # @param Uuid: 快照Uuid
6229
+ # 注意:此字段可能返回 null,表示取不到有效值。
6230
+ # @type Uuid: String
6231
+ # @param Version: 该快照所属集群的版本号
6232
+ # 注意:此字段可能返回 null,表示取不到有效值。
6233
+ # @type Version: String
6234
+ # @param Indices: 备份的索引列表
6235
+ # 注意:此字段可能返回 null,表示取不到有效值。
6236
+ # @type Indices: Array
6237
+ # @param DataStreams: 备份的datastream列表
6238
+ # 注意:此字段可能返回 null,表示取不到有效值。
6239
+ # @type DataStreams: Array
6240
+ # @param State: 备份的状态
6241
+
6242
+ # FAILED 备份失败
6243
+
6244
+ # IN_PROGRESS 备份执行中
6245
+
6246
+ # PARTIAL 备份部分成功,部分失败,备份失败的索引和原因会在Failures字段中展示
6247
+
6248
+ # SUCCESS 备份成功
6249
+ # 注意:此字段可能返回 null,表示取不到有效值。
6250
+ # @type State: String
6251
+ # @param StartTime: 快照备份的开始时间
6252
+ # 注意:此字段可能返回 null,表示取不到有效值。
6253
+ # @type StartTime: String
6254
+ # @param EndTime: 快照备份的结束时间
6255
+ # 注意:此字段可能返回 null,表示取不到有效值。
6256
+ # @type EndTime: String
6257
+ # @param DurationInMillis: 快照备份的耗时时间
6258
+ # 注意:此字段可能返回 null,表示取不到有效值。
6259
+ # @type DurationInMillis: Integer
6260
+ # @param TotalShards: 备份的总分片数
6261
+ # 注意:此字段可能返回 null,表示取不到有效值。
6262
+ # @type TotalShards: Integer
6263
+ # @param FailedShards: 备份失败的分片数量
6264
+ # 注意:此字段可能返回 null,表示取不到有效值。
6265
+ # @type FailedShards: Integer
6266
+ # @param SuccessfulShards: 备份成功的分片数量
6267
+ # 注意:此字段可能返回 null,表示取不到有效值。
6268
+ # @type SuccessfulShards: Integer
6269
+ # @param Failures: 备份失败的索引分片和失败原因
6270
+ # 注意:此字段可能返回 null,表示取不到有效值。
6271
+ # @type Failures: Array
6272
+
6273
+ attr_accessor :SnapshotName, :Uuid, :Version, :Indices, :DataStreams, :State, :StartTime, :EndTime, :DurationInMillis, :TotalShards, :FailedShards, :SuccessfulShards, :Failures
6274
+
6275
+ def initialize(snapshotname=nil, uuid=nil, version=nil, indices=nil, datastreams=nil, state=nil, starttime=nil, endtime=nil, durationinmillis=nil, totalshards=nil, failedshards=nil, successfulshards=nil, failures=nil)
6276
+ @SnapshotName = snapshotname
6277
+ @Uuid = uuid
6278
+ @Version = version
6279
+ @Indices = indices
6280
+ @DataStreams = datastreams
6281
+ @State = state
6282
+ @StartTime = starttime
6283
+ @EndTime = endtime
6284
+ @DurationInMillis = durationinmillis
6285
+ @TotalShards = totalshards
6286
+ @FailedShards = failedshards
6287
+ @SuccessfulShards = successfulshards
6288
+ @Failures = failures
6289
+ end
6290
+
6291
+ def deserialize(params)
6292
+ @SnapshotName = params['SnapshotName']
6293
+ @Uuid = params['Uuid']
6294
+ @Version = params['Version']
6295
+ @Indices = params['Indices']
6296
+ @DataStreams = params['DataStreams']
6297
+ @State = params['State']
6298
+ @StartTime = params['StartTime']
6299
+ @EndTime = params['EndTime']
6300
+ @DurationInMillis = params['DurationInMillis']
6301
+ @TotalShards = params['TotalShards']
6302
+ @FailedShards = params['FailedShards']
6303
+ @SuccessfulShards = params['SuccessfulShards']
6304
+ unless params['Failures'].nil?
6305
+ @Failures = []
6306
+ params['Failures'].each do |i|
6307
+ failures_tmp = Failures.new
6308
+ failures_tmp.deserialize(i)
6309
+ @Failures << failures_tmp
6310
+ end
6311
+ end
6312
+ end
6313
+ end
6314
+
5971
6315
  # StartLogstashPipelines请求参数结构体
5972
6316
  class StartLogstashPipelinesRequest < TencentCloud::Common::AbstractModel
5973
6317
  # @param InstanceId: 实例ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-es
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.930
4
+ version: 3.0.932
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-22 00:00:00.000000000 Z
11
+ date: 2024-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common