tencentcloud-sdk-es 3.0.1201 → 3.0.1213
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 +24 -0
- data/lib/v20180416/models.rb +357 -8
- 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: 74f506eaa58af29e5afb64043ba070384ee4c153
|
|
4
|
+
data.tar.gz: 78cb0616c37a76183aaec757d6e5aacde160f6bc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ce96b399bd21e62051b1bfd15f56962b946ebbae40051d84dafe33938a52e3f20bfd32fdcc9255c711385413fd41339c2780725341b60facbce490315d13c5d1
|
|
7
|
+
data.tar.gz: 5dd0adcc132dafe230c6d2f940095052445a530e92e8190780198c9b3bbdcfbb42351ea45778b054863e5bd9dee376881d1bed53a21ab2a84239c03bb36096b5
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1213
|
data/lib/v20180416/client.rb
CHANGED
|
@@ -101,6 +101,30 @@ module TencentCloud
|
|
|
101
101
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
102
102
|
end
|
|
103
103
|
|
|
104
|
+
# 用于创建Beats采集器
|
|
105
|
+
|
|
106
|
+
# @param request: Request instance for CreateCollector.
|
|
107
|
+
# @type request: :class:`Tencentcloud::es::V20180416::CreateCollectorRequest`
|
|
108
|
+
# @rtype: :class:`Tencentcloud::es::V20180416::CreateCollectorResponse`
|
|
109
|
+
def CreateCollector(request)
|
|
110
|
+
body = send_request('CreateCollector', request.serialize)
|
|
111
|
+
response = JSON.parse(body)
|
|
112
|
+
if response['Response'].key?('Error') == false
|
|
113
|
+
model = CreateCollectorResponse.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
|
+
|
|
104
128
|
# cos迁移流程
|
|
105
129
|
|
|
106
130
|
# @param request: Request instance for CreateCosMigrateToServerlessInstance.
|
data/lib/v20180416/models.rb
CHANGED
|
@@ -271,6 +271,179 @@ module TencentCloud
|
|
|
271
271
|
end
|
|
272
272
|
end
|
|
273
273
|
|
|
274
|
+
# 采集器配置项
|
|
275
|
+
class CollectorConfigInfo < TencentCloud::Common::AbstractModel
|
|
276
|
+
# @param FileName: 采集器的主配置文件名,如filebeat.yml,metricbeat.yml等
|
|
277
|
+
# @type FileName: String
|
|
278
|
+
# @param FileContent: 采集器的主配置文件内容
|
|
279
|
+
# @type FileContent: String
|
|
280
|
+
|
|
281
|
+
attr_accessor :FileName, :FileContent
|
|
282
|
+
|
|
283
|
+
def initialize(filename=nil, filecontent=nil)
|
|
284
|
+
@FileName = filename
|
|
285
|
+
@FileContent = filecontent
|
|
286
|
+
end
|
|
287
|
+
|
|
288
|
+
def deserialize(params)
|
|
289
|
+
@FileName = params['FileName']
|
|
290
|
+
@FileContent = params['FileContent']
|
|
291
|
+
end
|
|
292
|
+
end
|
|
293
|
+
|
|
294
|
+
# 采集器输出的实例信息
|
|
295
|
+
class CollectorOutputInstance < TencentCloud::Common::AbstractModel
|
|
296
|
+
# @param Type: 采集器输出的实例类型(支持elasticsearch、logstash)
|
|
297
|
+
# @type Type: String
|
|
298
|
+
# @param InstanceId: 采集器输出的实例ID
|
|
299
|
+
# @type InstanceId: String
|
|
300
|
+
# @param ESUserName: 采集器输出到的ES实例的用户名
|
|
301
|
+
# @type ESUserName: String
|
|
302
|
+
# @param ESUserPasswd: 采集器输出到的ES实例的密码
|
|
303
|
+
# @type ESUserPasswd: String
|
|
304
|
+
# @param EnableMonitoring: 采集器输出到ES实例时,是否开启监控(1为开启,0为不开启,默认为0)
|
|
305
|
+
# @type EnableMonitoring: Integer
|
|
306
|
+
# @param EnableDashboard: 采集器输出到ES实例时,是否开启自动在kibana中生成Dashboard(1为开启,0为不开启,默认为0)
|
|
307
|
+
# @type EnableDashboard: Integer
|
|
308
|
+
# @param KafkaEndpoint: Ckafka实例的vip
|
|
309
|
+
# @type KafkaEndpoint: String
|
|
310
|
+
# @param KafkaTopic: Ckafka实例中的Topic
|
|
311
|
+
# @type KafkaTopic: String
|
|
312
|
+
# @param KafkaVersion: Ckafka实例的版本号
|
|
313
|
+
# @type KafkaVersion: String
|
|
314
|
+
# @param SesTopicId: topic id
|
|
315
|
+
# @type SesTopicId: String
|
|
316
|
+
# @param SesTopicName: topic name
|
|
317
|
+
# @type SesTopicName: String
|
|
318
|
+
# @param SesTopicAddress: topic address
|
|
319
|
+
# @type SesTopicAddress: String
|
|
320
|
+
# @param SesTopicUserName: /
|
|
321
|
+
# @type SesTopicUserName: String
|
|
322
|
+
# @param SesTopicPasswd: /
|
|
323
|
+
# @type SesTopicPasswd: String
|
|
324
|
+
# @param LogstashListenPort: /
|
|
325
|
+
# @type LogstashListenPort: Integer
|
|
326
|
+
|
|
327
|
+
attr_accessor :Type, :InstanceId, :ESUserName, :ESUserPasswd, :EnableMonitoring, :EnableDashboard, :KafkaEndpoint, :KafkaTopic, :KafkaVersion, :SesTopicId, :SesTopicName, :SesTopicAddress, :SesTopicUserName, :SesTopicPasswd, :LogstashListenPort
|
|
328
|
+
|
|
329
|
+
def initialize(type=nil, instanceid=nil, esusername=nil, esuserpasswd=nil, enablemonitoring=nil, enabledashboard=nil, kafkaendpoint=nil, kafkatopic=nil, kafkaversion=nil, sestopicid=nil, sestopicname=nil, sestopicaddress=nil, sestopicusername=nil, sestopicpasswd=nil, logstashlistenport=nil)
|
|
330
|
+
@Type = type
|
|
331
|
+
@InstanceId = instanceid
|
|
332
|
+
@ESUserName = esusername
|
|
333
|
+
@ESUserPasswd = esuserpasswd
|
|
334
|
+
@EnableMonitoring = enablemonitoring
|
|
335
|
+
@EnableDashboard = enabledashboard
|
|
336
|
+
@KafkaEndpoint = kafkaendpoint
|
|
337
|
+
@KafkaTopic = kafkatopic
|
|
338
|
+
@KafkaVersion = kafkaversion
|
|
339
|
+
@SesTopicId = sestopicid
|
|
340
|
+
@SesTopicName = sestopicname
|
|
341
|
+
@SesTopicAddress = sestopicaddress
|
|
342
|
+
@SesTopicUserName = sestopicusername
|
|
343
|
+
@SesTopicPasswd = sestopicpasswd
|
|
344
|
+
@LogstashListenPort = logstashlistenport
|
|
345
|
+
end
|
|
346
|
+
|
|
347
|
+
def deserialize(params)
|
|
348
|
+
@Type = params['Type']
|
|
349
|
+
@InstanceId = params['InstanceId']
|
|
350
|
+
@ESUserName = params['ESUserName']
|
|
351
|
+
@ESUserPasswd = params['ESUserPasswd']
|
|
352
|
+
@EnableMonitoring = params['EnableMonitoring']
|
|
353
|
+
@EnableDashboard = params['EnableDashboard']
|
|
354
|
+
@KafkaEndpoint = params['KafkaEndpoint']
|
|
355
|
+
@KafkaTopic = params['KafkaTopic']
|
|
356
|
+
@KafkaVersion = params['KafkaVersion']
|
|
357
|
+
@SesTopicId = params['SesTopicId']
|
|
358
|
+
@SesTopicName = params['SesTopicName']
|
|
359
|
+
@SesTopicAddress = params['SesTopicAddress']
|
|
360
|
+
@SesTopicUserName = params['SesTopicUserName']
|
|
361
|
+
@SesTopicPasswd = params['SesTopicPasswd']
|
|
362
|
+
@LogstashListenPort = params['LogstashListenPort']
|
|
363
|
+
end
|
|
364
|
+
end
|
|
365
|
+
|
|
366
|
+
# 容器日志采集配置
|
|
367
|
+
class CollectorTarget < TencentCloud::Common::AbstractModel
|
|
368
|
+
# @param TargetName: 采集配置名称
|
|
369
|
+
# @type TargetName: String
|
|
370
|
+
# @param Namespaces: 命名空间列表,包括Include包含和Exclude不包含选项,两者都为空时等同于全部命名空间(包含当前所有的以及未来创建的)。
|
|
371
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
372
|
+
# @type Namespaces: :class:`Tencentcloud::Es.v20180416.models.Namespaces`
|
|
373
|
+
# @param PodLabels: Pod标签列表
|
|
374
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
375
|
+
# @type PodLabels: Array
|
|
376
|
+
# @param ContainerName: 容器名称,支持小写字母、数字、连接符-、下划线_,最多支持63个字符
|
|
377
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
378
|
+
# @type ContainerName: String
|
|
379
|
+
# @param IndexPrefix: ES索引名称前缀,如果当前采集配置下的容器日志输出到ES集群,则使用该字段作为ES索引名称的前缀,支持大小写字母、数字、连接符-、下划线_,最多支持50个字符
|
|
380
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
381
|
+
# @type IndexPrefix: String
|
|
382
|
+
# @param LogFilters: 日志内容过滤,以逗号分隔,支持大小写字母、数字、连接符-、下划线_以及逗号,最多支持50个字符
|
|
383
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
384
|
+
# @type LogFilters: String
|
|
385
|
+
# @param ConfigContent: 高级配置,可自定义采集规则,最多支持2048个字符
|
|
386
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
387
|
+
# @type ConfigContent: String
|
|
388
|
+
# @param KafkaTopic: Ckafka实例的Topic
|
|
389
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
390
|
+
# @type KafkaTopic: String
|
|
391
|
+
# @param IndexAlias: ES索引名称,如果当前采集配置下的容器日志输出到ES集群,则使用该字段作为ES索引名称,支持大小写字母、数字、连接符-、下划线_,最多支持50个字符
|
|
392
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
393
|
+
# @type IndexAlias: String
|
|
394
|
+
# @param InputType: /
|
|
395
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
396
|
+
# @type InputType: String
|
|
397
|
+
# @param InputPath: 日志采集host路径
|
|
398
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
399
|
+
# @type InputPath: String
|
|
400
|
+
# @param InputsTailFiles: inputs.tail_files
|
|
401
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
402
|
+
# @type InputsTailFiles: Boolean
|
|
403
|
+
|
|
404
|
+
attr_accessor :TargetName, :Namespaces, :PodLabels, :ContainerName, :IndexPrefix, :LogFilters, :ConfigContent, :KafkaTopic, :IndexAlias, :InputType, :InputPath, :InputsTailFiles
|
|
405
|
+
|
|
406
|
+
def initialize(targetname=nil, namespaces=nil, podlabels=nil, containername=nil, indexprefix=nil, logfilters=nil, configcontent=nil, kafkatopic=nil, indexalias=nil, inputtype=nil, inputpath=nil, inputstailfiles=nil)
|
|
407
|
+
@TargetName = targetname
|
|
408
|
+
@Namespaces = namespaces
|
|
409
|
+
@PodLabels = podlabels
|
|
410
|
+
@ContainerName = containername
|
|
411
|
+
@IndexPrefix = indexprefix
|
|
412
|
+
@LogFilters = logfilters
|
|
413
|
+
@ConfigContent = configcontent
|
|
414
|
+
@KafkaTopic = kafkatopic
|
|
415
|
+
@IndexAlias = indexalias
|
|
416
|
+
@InputType = inputtype
|
|
417
|
+
@InputPath = inputpath
|
|
418
|
+
@InputsTailFiles = inputstailfiles
|
|
419
|
+
end
|
|
420
|
+
|
|
421
|
+
def deserialize(params)
|
|
422
|
+
@TargetName = params['TargetName']
|
|
423
|
+
unless params['Namespaces'].nil?
|
|
424
|
+
@Namespaces = Namespaces.new
|
|
425
|
+
@Namespaces.deserialize(params['Namespaces'])
|
|
426
|
+
end
|
|
427
|
+
unless params['PodLabels'].nil?
|
|
428
|
+
@PodLabels = []
|
|
429
|
+
params['PodLabels'].each do |i|
|
|
430
|
+
podlabel_tmp = PodLabel.new
|
|
431
|
+
podlabel_tmp.deserialize(i)
|
|
432
|
+
@PodLabels << podlabel_tmp
|
|
433
|
+
end
|
|
434
|
+
end
|
|
435
|
+
@ContainerName = params['ContainerName']
|
|
436
|
+
@IndexPrefix = params['IndexPrefix']
|
|
437
|
+
@LogFilters = params['LogFilters']
|
|
438
|
+
@ConfigContent = params['ConfigContent']
|
|
439
|
+
@KafkaTopic = params['KafkaTopic']
|
|
440
|
+
@IndexAlias = params['IndexAlias']
|
|
441
|
+
@InputType = params['InputType']
|
|
442
|
+
@InputPath = params['InputPath']
|
|
443
|
+
@InputsTailFiles = params['InputsTailFiles']
|
|
444
|
+
end
|
|
445
|
+
end
|
|
446
|
+
|
|
274
447
|
# 普通索引信息列表
|
|
275
448
|
class CommonIndexInfo < TencentCloud::Common::AbstractModel
|
|
276
449
|
# @param IndexName: 普通索引名
|
|
@@ -327,12 +500,14 @@ module TencentCloud
|
|
|
327
500
|
# @type StrategyName: String
|
|
328
501
|
# @param Indices: 备份索引列表,如果不填表示备份所有索引
|
|
329
502
|
# @type Indices: String
|
|
503
|
+
# @param MultiAz: cos多AZ备份 0 单AZ; 1 多AZ
|
|
504
|
+
# @type MultiAz: Integer
|
|
330
505
|
# @param CreateTime: 策略创建时间
|
|
331
506
|
# @type CreateTime: String
|
|
332
507
|
|
|
333
|
-
attr_accessor :IsAutoBackup, :BackupTime, :SnapshotName, :EsRepositoryType, :PaasEsRepository, :UserEsRepository, :CosBasePath, :StorageDuration, :AutoBackupInterval, :CosRetention, :RetainUntilDate, :RetentionGraceTime, :RemoteCos, :RemoteCosRegion, :StrategyName, :Indices, :CreateTime
|
|
508
|
+
attr_accessor :IsAutoBackup, :BackupTime, :SnapshotName, :EsRepositoryType, :PaasEsRepository, :UserEsRepository, :CosBasePath, :StorageDuration, :AutoBackupInterval, :CosRetention, :RetainUntilDate, :RetentionGraceTime, :RemoteCos, :RemoteCosRegion, :StrategyName, :Indices, :MultiAz, :CreateTime
|
|
334
509
|
|
|
335
|
-
def initialize(isautobackup=nil, backuptime=nil, snapshotname=nil, esrepositorytype=nil, paasesrepository=nil, useresrepository=nil, cosbasepath=nil, storageduration=nil, autobackupinterval=nil, cosretention=nil, retainuntildate=nil, retentiongracetime=nil, remotecos=nil, remotecosregion=nil, strategyname=nil, indices=nil, createtime=nil)
|
|
510
|
+
def initialize(isautobackup=nil, backuptime=nil, snapshotname=nil, esrepositorytype=nil, paasesrepository=nil, useresrepository=nil, cosbasepath=nil, storageduration=nil, autobackupinterval=nil, cosretention=nil, retainuntildate=nil, retentiongracetime=nil, remotecos=nil, remotecosregion=nil, strategyname=nil, indices=nil, multiaz=nil, createtime=nil)
|
|
336
511
|
@IsAutoBackup = isautobackup
|
|
337
512
|
@BackupTime = backuptime
|
|
338
513
|
@SnapshotName = snapshotname
|
|
@@ -349,6 +524,7 @@ module TencentCloud
|
|
|
349
524
|
@RemoteCosRegion = remotecosregion
|
|
350
525
|
@StrategyName = strategyname
|
|
351
526
|
@Indices = indices
|
|
527
|
+
@MultiAz = multiaz
|
|
352
528
|
@CreateTime = createtime
|
|
353
529
|
end
|
|
354
530
|
|
|
@@ -369,6 +545,7 @@ module TencentCloud
|
|
|
369
545
|
@RemoteCosRegion = params['RemoteCosRegion']
|
|
370
546
|
@StrategyName = params['StrategyName']
|
|
371
547
|
@Indices = params['Indices']
|
|
548
|
+
@MultiAz = params['MultiAz']
|
|
372
549
|
@CreateTime = params['CreateTime']
|
|
373
550
|
end
|
|
374
551
|
end
|
|
@@ -501,10 +678,12 @@ module TencentCloud
|
|
|
501
678
|
# @type RemoteCos: Integer
|
|
502
679
|
# @param RemoteCosRegion: 跨地域备份地域名称 ap-guangzhou
|
|
503
680
|
# @type RemoteCosRegion: String
|
|
681
|
+
# @param MultiAz: cos多AZ备份 0 单AZ; 1 多AZ
|
|
682
|
+
# @type MultiAz: Integer
|
|
504
683
|
|
|
505
|
-
attr_accessor :InstanceId, :SnapshotName, :Indices, :EsRepositoryType, :UserEsRepository, :StorageDuration, :CosRetention, :RetainUntilDate, :RetentionGraceTime, :RemoteCos, :RemoteCosRegion
|
|
684
|
+
attr_accessor :InstanceId, :SnapshotName, :Indices, :EsRepositoryType, :UserEsRepository, :StorageDuration, :CosRetention, :RetainUntilDate, :RetentionGraceTime, :RemoteCos, :RemoteCosRegion, :MultiAz
|
|
506
685
|
|
|
507
|
-
def initialize(instanceid=nil, snapshotname=nil, indices=nil, esrepositorytype=nil, useresrepository=nil, storageduration=nil, cosretention=nil, retainuntildate=nil, retentiongracetime=nil, remotecos=nil, remotecosregion=nil)
|
|
686
|
+
def initialize(instanceid=nil, snapshotname=nil, indices=nil, esrepositorytype=nil, useresrepository=nil, storageduration=nil, cosretention=nil, retainuntildate=nil, retentiongracetime=nil, remotecos=nil, remotecosregion=nil, multiaz=nil)
|
|
508
687
|
@InstanceId = instanceid
|
|
509
688
|
@SnapshotName = snapshotname
|
|
510
689
|
@Indices = indices
|
|
@@ -516,6 +695,7 @@ module TencentCloud
|
|
|
516
695
|
@RetentionGraceTime = retentiongracetime
|
|
517
696
|
@RemoteCos = remotecos
|
|
518
697
|
@RemoteCosRegion = remotecosregion
|
|
698
|
+
@MultiAz = multiaz
|
|
519
699
|
end
|
|
520
700
|
|
|
521
701
|
def deserialize(params)
|
|
@@ -530,6 +710,7 @@ module TencentCloud
|
|
|
530
710
|
@RetentionGraceTime = params['RetentionGraceTime']
|
|
531
711
|
@RemoteCos = params['RemoteCos']
|
|
532
712
|
@RemoteCosRegion = params['RemoteCosRegion']
|
|
713
|
+
@MultiAz = params['MultiAz']
|
|
533
714
|
end
|
|
534
715
|
end
|
|
535
716
|
|
|
@@ -554,6 +735,102 @@ module TencentCloud
|
|
|
554
735
|
end
|
|
555
736
|
end
|
|
556
737
|
|
|
738
|
+
# CreateCollector请求参数结构体
|
|
739
|
+
class CreateCollectorRequest < TencentCloud::Common::AbstractModel
|
|
740
|
+
# @param CollectorName: 采集器名称(1-50 个英文、汉字、数字、连接线-或下划线_)
|
|
741
|
+
# @type CollectorName: String
|
|
742
|
+
# @param CollectorVersion: 采集器版本(支持"6.8.15"、"7.10.2")
|
|
743
|
+
# @type CollectorVersion: String
|
|
744
|
+
# @param CollectorType: 采集器类型(支持filebeat、metricbeat、heartbeat、auditbeat、packetbeat)
|
|
745
|
+
# @type CollectorType: String
|
|
746
|
+
# @param OutputInstance: 采集器输出的ES实例信息
|
|
747
|
+
# @type OutputInstance: :class:`Tencentcloud::Es.v20180416.models.CollectorOutputInstance`
|
|
748
|
+
# @param CollectorConfigs: 采集器配置
|
|
749
|
+
# @type CollectorConfigs: Array
|
|
750
|
+
# @param CVMInstanceIds: 采集器下发的CVM实例ID列表
|
|
751
|
+
# @type CVMInstanceIds: Array
|
|
752
|
+
# @param TargetType: 采集目标类型,CVM或者TKE
|
|
753
|
+
# @type TargetType: String
|
|
754
|
+
# @param ContainerClusterId: 容器集群ID,采集目标为TKE时必填
|
|
755
|
+
# @type ContainerClusterId: String
|
|
756
|
+
# @param CollectorTargets: 采集器配置,采集目标为TKE时必填
|
|
757
|
+
# @type CollectorTargets: Array
|
|
758
|
+
# @param TagList: 标签信息
|
|
759
|
+
# @type TagList: Array
|
|
760
|
+
|
|
761
|
+
attr_accessor :CollectorName, :CollectorVersion, :CollectorType, :OutputInstance, :CollectorConfigs, :CVMInstanceIds, :TargetType, :ContainerClusterId, :CollectorTargets, :TagList
|
|
762
|
+
|
|
763
|
+
def initialize(collectorname=nil, collectorversion=nil, collectortype=nil, outputinstance=nil, collectorconfigs=nil, cvminstanceids=nil, targettype=nil, containerclusterid=nil, collectortargets=nil, taglist=nil)
|
|
764
|
+
@CollectorName = collectorname
|
|
765
|
+
@CollectorVersion = collectorversion
|
|
766
|
+
@CollectorType = collectortype
|
|
767
|
+
@OutputInstance = outputinstance
|
|
768
|
+
@CollectorConfigs = collectorconfigs
|
|
769
|
+
@CVMInstanceIds = cvminstanceids
|
|
770
|
+
@TargetType = targettype
|
|
771
|
+
@ContainerClusterId = containerclusterid
|
|
772
|
+
@CollectorTargets = collectortargets
|
|
773
|
+
@TagList = taglist
|
|
774
|
+
end
|
|
775
|
+
|
|
776
|
+
def deserialize(params)
|
|
777
|
+
@CollectorName = params['CollectorName']
|
|
778
|
+
@CollectorVersion = params['CollectorVersion']
|
|
779
|
+
@CollectorType = params['CollectorType']
|
|
780
|
+
unless params['OutputInstance'].nil?
|
|
781
|
+
@OutputInstance = CollectorOutputInstance.new
|
|
782
|
+
@OutputInstance.deserialize(params['OutputInstance'])
|
|
783
|
+
end
|
|
784
|
+
unless params['CollectorConfigs'].nil?
|
|
785
|
+
@CollectorConfigs = []
|
|
786
|
+
params['CollectorConfigs'].each do |i|
|
|
787
|
+
collectorconfiginfo_tmp = CollectorConfigInfo.new
|
|
788
|
+
collectorconfiginfo_tmp.deserialize(i)
|
|
789
|
+
@CollectorConfigs << collectorconfiginfo_tmp
|
|
790
|
+
end
|
|
791
|
+
end
|
|
792
|
+
@CVMInstanceIds = params['CVMInstanceIds']
|
|
793
|
+
@TargetType = params['TargetType']
|
|
794
|
+
@ContainerClusterId = params['ContainerClusterId']
|
|
795
|
+
unless params['CollectorTargets'].nil?
|
|
796
|
+
@CollectorTargets = []
|
|
797
|
+
params['CollectorTargets'].each do |i|
|
|
798
|
+
collectortarget_tmp = CollectorTarget.new
|
|
799
|
+
collectortarget_tmp.deserialize(i)
|
|
800
|
+
@CollectorTargets << collectortarget_tmp
|
|
801
|
+
end
|
|
802
|
+
end
|
|
803
|
+
unless params['TagList'].nil?
|
|
804
|
+
@TagList = []
|
|
805
|
+
params['TagList'].each do |i|
|
|
806
|
+
taginfo_tmp = TagInfo.new
|
|
807
|
+
taginfo_tmp.deserialize(i)
|
|
808
|
+
@TagList << taginfo_tmp
|
|
809
|
+
end
|
|
810
|
+
end
|
|
811
|
+
end
|
|
812
|
+
end
|
|
813
|
+
|
|
814
|
+
# CreateCollector返回参数结构体
|
|
815
|
+
class CreateCollectorResponse < TencentCloud::Common::AbstractModel
|
|
816
|
+
# @param CollectorId: 采集器ID
|
|
817
|
+
# @type CollectorId: String
|
|
818
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
819
|
+
# @type RequestId: String
|
|
820
|
+
|
|
821
|
+
attr_accessor :CollectorId, :RequestId
|
|
822
|
+
|
|
823
|
+
def initialize(collectorid=nil, requestid=nil)
|
|
824
|
+
@CollectorId = collectorid
|
|
825
|
+
@RequestId = requestid
|
|
826
|
+
end
|
|
827
|
+
|
|
828
|
+
def deserialize(params)
|
|
829
|
+
@CollectorId = params['CollectorId']
|
|
830
|
+
@RequestId = params['RequestId']
|
|
831
|
+
end
|
|
832
|
+
end
|
|
833
|
+
|
|
557
834
|
# CreateCosMigrateToServerlessInstance请求参数结构体
|
|
558
835
|
class CreateCosMigrateToServerlessInstanceRequest < TencentCloud::Common::AbstractModel
|
|
559
836
|
# @param Snapshot: 快照名
|
|
@@ -5882,6 +6159,26 @@ module TencentCloud
|
|
|
5882
6159
|
end
|
|
5883
6160
|
end
|
|
5884
6161
|
|
|
6162
|
+
# TKE命名空间
|
|
6163
|
+
class Namespaces < TencentCloud::Common::AbstractModel
|
|
6164
|
+
# @param Include: 包含的命名空间的列表,单个命名空间支持小写字母、数字、连接符-、下划线_,最多支持63个字符
|
|
6165
|
+
# @type Include: Array
|
|
6166
|
+
# @param Exclude: 不包含的命名空间列表,单个命名空间支持小写字母、数字、连接符-、下划线_,最多支持63个字符
|
|
6167
|
+
# @type Exclude: Array
|
|
6168
|
+
|
|
6169
|
+
attr_accessor :Include, :Exclude
|
|
6170
|
+
|
|
6171
|
+
def initialize(include=nil, exclude=nil)
|
|
6172
|
+
@Include = include
|
|
6173
|
+
@Exclude = exclude
|
|
6174
|
+
end
|
|
6175
|
+
|
|
6176
|
+
def deserialize(params)
|
|
6177
|
+
@Include = params['Include']
|
|
6178
|
+
@Exclude = params['Exclude']
|
|
6179
|
+
end
|
|
6180
|
+
end
|
|
6181
|
+
|
|
5885
6182
|
# 集群中一种节点类型(如热数据节点,冷数据节点,专用主节点等)的规格描述信息,包括节点类型,节点个数,节点规格,磁盘类型,磁盘大小等, Type不指定时默认为热数据节点;如果节点为master节点,则DiskType和DiskSize参数会被忽略(主节点无数据盘)
|
|
5886
6183
|
class NodeInfo < TencentCloud::Common::AbstractModel
|
|
5887
6184
|
# @param NodeNum: 节点数量
|
|
@@ -6269,6 +6566,26 @@ module TencentCloud
|
|
|
6269
6566
|
end
|
|
6270
6567
|
end
|
|
6271
6568
|
|
|
6569
|
+
# updateInstance使用的额外的EsConfig和JvmHeapConfig
|
|
6570
|
+
class OtherConfig < TencentCloud::Common::AbstractModel
|
|
6571
|
+
# @param EsConfig: es的yml额外配置
|
|
6572
|
+
# @type EsConfig: String
|
|
6573
|
+
# @param JvmHeapConfig: es的jvm heap config
|
|
6574
|
+
# @type JvmHeapConfig: String
|
|
6575
|
+
|
|
6576
|
+
attr_accessor :EsConfig, :JvmHeapConfig
|
|
6577
|
+
|
|
6578
|
+
def initialize(esconfig=nil, jvmheapconfig=nil)
|
|
6579
|
+
@EsConfig = esconfig
|
|
6580
|
+
@JvmHeapConfig = jvmheapconfig
|
|
6581
|
+
end
|
|
6582
|
+
|
|
6583
|
+
def deserialize(params)
|
|
6584
|
+
@EsConfig = params['EsConfig']
|
|
6585
|
+
@JvmHeapConfig = params['JvmHeapConfig']
|
|
6586
|
+
end
|
|
6587
|
+
end
|
|
6588
|
+
|
|
6272
6589
|
# 节点出站访问信息
|
|
6273
6590
|
class OutboundPublicAcl < TencentCloud::Common::AbstractModel
|
|
6274
6591
|
# @param NodeType: 允许节点出站访问的节点类型
|
|
@@ -6291,6 +6608,26 @@ module TencentCloud
|
|
|
6291
6608
|
end
|
|
6292
6609
|
end
|
|
6293
6610
|
|
|
6611
|
+
# Pod标签
|
|
6612
|
+
class PodLabel < TencentCloud::Common::AbstractModel
|
|
6613
|
+
# @param LabelKey: 标签键,支持大小写字母、数字、以及-_./,最多支持63个字符
|
|
6614
|
+
# @type LabelKey: String
|
|
6615
|
+
# @param LabelValue: 标签值,支持大小写字母、数字、以及-_./,最多支持63个字符
|
|
6616
|
+
# @type LabelValue: String
|
|
6617
|
+
|
|
6618
|
+
attr_accessor :LabelKey, :LabelValue
|
|
6619
|
+
|
|
6620
|
+
def initialize(labelkey=nil, labelvalue=nil)
|
|
6621
|
+
@LabelKey = labelkey
|
|
6622
|
+
@LabelValue = labelvalue
|
|
6623
|
+
end
|
|
6624
|
+
|
|
6625
|
+
def deserialize(params)
|
|
6626
|
+
@LabelKey = params['LabelKey']
|
|
6627
|
+
@LabelValue = params['LabelValue']
|
|
6628
|
+
end
|
|
6629
|
+
end
|
|
6630
|
+
|
|
6294
6631
|
# 任务进度详情
|
|
6295
6632
|
class ProcessDetail < TencentCloud::Common::AbstractModel
|
|
6296
6633
|
# @param Completed: 已完成数量
|
|
@@ -7269,10 +7606,13 @@ module TencentCloud
|
|
|
7269
7606
|
# @param StrategyName: 策略名称
|
|
7270
7607
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
7271
7608
|
# @type StrategyName: String
|
|
7609
|
+
# @param MultiAz: cos多AZ备份 0 单AZ; 1 多AZ
|
|
7610
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
7611
|
+
# @type MultiAz: Integer
|
|
7272
7612
|
|
|
7273
|
-
attr_accessor :SnapshotName, :Uuid, :Repository, :Version, :Indices, :DataStreams, :State, :StartTime, :EndTime, :DurationInMillis, :TotalShards, :FailedShards, :SuccessfulShards, :Failures, :UserBackUp, :EsRepositoryType, :PaasEsRepository, :UserEsRepository, :StorageDuration, :AutoBackupInterval, :CosRetention, :RetainUntilDate, :RetentionGraceTime, :IsLocked, :RemoteCos, :RemoteCosRegion, :CosEncryption, :KmsKey, :StrategyName
|
|
7613
|
+
attr_accessor :SnapshotName, :Uuid, :Repository, :Version, :Indices, :DataStreams, :State, :StartTime, :EndTime, :DurationInMillis, :TotalShards, :FailedShards, :SuccessfulShards, :Failures, :UserBackUp, :EsRepositoryType, :PaasEsRepository, :UserEsRepository, :StorageDuration, :AutoBackupInterval, :CosRetention, :RetainUntilDate, :RetentionGraceTime, :IsLocked, :RemoteCos, :RemoteCosRegion, :CosEncryption, :KmsKey, :StrategyName, :MultiAz
|
|
7274
7614
|
|
|
7275
|
-
def initialize(snapshotname=nil, uuid=nil, repository=nil, version=nil, indices=nil, datastreams=nil, state=nil, starttime=nil, endtime=nil, durationinmillis=nil, totalshards=nil, failedshards=nil, successfulshards=nil, failures=nil, userbackup=nil, esrepositorytype=nil, paasesrepository=nil, useresrepository=nil, storageduration=nil, autobackupinterval=nil, cosretention=nil, retainuntildate=nil, retentiongracetime=nil, islocked=nil, remotecos=nil, remotecosregion=nil, cosencryption=nil, kmskey=nil, strategyname=nil)
|
|
7615
|
+
def initialize(snapshotname=nil, uuid=nil, repository=nil, version=nil, indices=nil, datastreams=nil, state=nil, starttime=nil, endtime=nil, durationinmillis=nil, totalshards=nil, failedshards=nil, successfulshards=nil, failures=nil, userbackup=nil, esrepositorytype=nil, paasesrepository=nil, useresrepository=nil, storageduration=nil, autobackupinterval=nil, cosretention=nil, retainuntildate=nil, retentiongracetime=nil, islocked=nil, remotecos=nil, remotecosregion=nil, cosencryption=nil, kmskey=nil, strategyname=nil, multiaz=nil)
|
|
7276
7616
|
@SnapshotName = snapshotname
|
|
7277
7617
|
@Uuid = uuid
|
|
7278
7618
|
@Repository = repository
|
|
@@ -7302,6 +7642,7 @@ module TencentCloud
|
|
|
7302
7642
|
@CosEncryption = cosencryption
|
|
7303
7643
|
@KmsKey = kmskey
|
|
7304
7644
|
@StrategyName = strategyname
|
|
7645
|
+
@MultiAz = multiaz
|
|
7305
7646
|
end
|
|
7306
7647
|
|
|
7307
7648
|
def deserialize(params)
|
|
@@ -7341,6 +7682,7 @@ module TencentCloud
|
|
|
7341
7682
|
@CosEncryption = params['CosEncryption']
|
|
7342
7683
|
@KmsKey = params['KmsKey']
|
|
7343
7684
|
@StrategyName = params['StrategyName']
|
|
7685
|
+
@MultiAz = params['MultiAz']
|
|
7344
7686
|
end
|
|
7345
7687
|
end
|
|
7346
7688
|
|
|
@@ -7794,10 +8136,12 @@ module TencentCloud
|
|
|
7794
8136
|
# @type AutoScaleDiskInfoList: Array
|
|
7795
8137
|
# @param AutoScaleDiskDeleteNodeTypeList: 自动扩盘删除参数
|
|
7796
8138
|
# @type AutoScaleDiskDeleteNodeTypeList: Array
|
|
8139
|
+
# @param OtherConfig: 其他附加配置,jvm或者yml
|
|
8140
|
+
# @type OtherConfig: :class:`Tencentcloud::Es.v20180416.models.OtherConfig`
|
|
7797
8141
|
|
|
7798
|
-
attr_accessor :InstanceId, :InstanceName, :NodeNum, :EsConfig, :Password, :EsAcl, :DiskSize, :NodeType, :MasterNodeNum, :MasterNodeType, :MasterNodeDiskSize, :ForceRestart, :CosBackup, :NodeInfoList, :PublicAccess, :EsPublicAcl, :KibanaPublicAccess, :KibanaPrivateAccess, :BasicSecurityType, :KibanaPrivatePort, :ScaleType, :MultiZoneInfo, :SceneType, :KibanaConfig, :WebNodeTypeInfo, :SwitchPrivateLink, :EnableCerebro, :CerebroPublicAccess, :CerebroPrivateAccess, :EsConfigSet, :OperationDuration, :KibanaAlteringPublicAccess, :KibanaPrivateDomain, :CerebroPrivateDomain, :Protocol, :OutboundPublicAcls, :OutboundPublicAccess, :CvmDelayOnlineTime, :ShardAllocationConcurrents, :ShardAllocationBytes, :ReadWriteMode, :EnableScheduleRecoverGroup, :EnableScheduleOperationDuration, :EnableDestroyProtection, :AutoScaleDiskInfoList, :AutoScaleDiskDeleteNodeTypeList
|
|
8142
|
+
attr_accessor :InstanceId, :InstanceName, :NodeNum, :EsConfig, :Password, :EsAcl, :DiskSize, :NodeType, :MasterNodeNum, :MasterNodeType, :MasterNodeDiskSize, :ForceRestart, :CosBackup, :NodeInfoList, :PublicAccess, :EsPublicAcl, :KibanaPublicAccess, :KibanaPrivateAccess, :BasicSecurityType, :KibanaPrivatePort, :ScaleType, :MultiZoneInfo, :SceneType, :KibanaConfig, :WebNodeTypeInfo, :SwitchPrivateLink, :EnableCerebro, :CerebroPublicAccess, :CerebroPrivateAccess, :EsConfigSet, :OperationDuration, :KibanaAlteringPublicAccess, :KibanaPrivateDomain, :CerebroPrivateDomain, :Protocol, :OutboundPublicAcls, :OutboundPublicAccess, :CvmDelayOnlineTime, :ShardAllocationConcurrents, :ShardAllocationBytes, :ReadWriteMode, :EnableScheduleRecoverGroup, :EnableScheduleOperationDuration, :EnableDestroyProtection, :AutoScaleDiskInfoList, :AutoScaleDiskDeleteNodeTypeList, :OtherConfig
|
|
7799
8143
|
|
|
7800
|
-
def initialize(instanceid=nil, instancename=nil, nodenum=nil, esconfig=nil, password=nil, esacl=nil, disksize=nil, nodetype=nil, masternodenum=nil, masternodetype=nil, masternodedisksize=nil, forcerestart=nil, cosbackup=nil, nodeinfolist=nil, publicaccess=nil, espublicacl=nil, kibanapublicaccess=nil, kibanaprivateaccess=nil, basicsecuritytype=nil, kibanaprivateport=nil, scaletype=nil, multizoneinfo=nil, scenetype=nil, kibanaconfig=nil, webnodetypeinfo=nil, switchprivatelink=nil, enablecerebro=nil, cerebropublicaccess=nil, cerebroprivateaccess=nil, esconfigset=nil, operationduration=nil, kibanaalteringpublicaccess=nil, kibanaprivatedomain=nil, cerebroprivatedomain=nil, protocol=nil, outboundpublicacls=nil, outboundpublicaccess=nil, cvmdelayonlinetime=nil, shardallocationconcurrents=nil, shardallocationbytes=nil, readwritemode=nil, enableschedulerecovergroup=nil, enablescheduleoperationduration=nil, enabledestroyprotection=nil, autoscalediskinfolist=nil, autoscalediskdeletenodetypelist=nil)
|
|
8144
|
+
def initialize(instanceid=nil, instancename=nil, nodenum=nil, esconfig=nil, password=nil, esacl=nil, disksize=nil, nodetype=nil, masternodenum=nil, masternodetype=nil, masternodedisksize=nil, forcerestart=nil, cosbackup=nil, nodeinfolist=nil, publicaccess=nil, espublicacl=nil, kibanapublicaccess=nil, kibanaprivateaccess=nil, basicsecuritytype=nil, kibanaprivateport=nil, scaletype=nil, multizoneinfo=nil, scenetype=nil, kibanaconfig=nil, webnodetypeinfo=nil, switchprivatelink=nil, enablecerebro=nil, cerebropublicaccess=nil, cerebroprivateaccess=nil, esconfigset=nil, operationduration=nil, kibanaalteringpublicaccess=nil, kibanaprivatedomain=nil, cerebroprivatedomain=nil, protocol=nil, outboundpublicacls=nil, outboundpublicaccess=nil, cvmdelayonlinetime=nil, shardallocationconcurrents=nil, shardallocationbytes=nil, readwritemode=nil, enableschedulerecovergroup=nil, enablescheduleoperationduration=nil, enabledestroyprotection=nil, autoscalediskinfolist=nil, autoscalediskdeletenodetypelist=nil, otherconfig=nil)
|
|
7801
8145
|
@InstanceId = instanceid
|
|
7802
8146
|
@InstanceName = instancename
|
|
7803
8147
|
@NodeNum = nodenum
|
|
@@ -7844,6 +8188,7 @@ module TencentCloud
|
|
|
7844
8188
|
@EnableDestroyProtection = enabledestroyprotection
|
|
7845
8189
|
@AutoScaleDiskInfoList = autoscalediskinfolist
|
|
7846
8190
|
@AutoScaleDiskDeleteNodeTypeList = autoscalediskdeletenodetypelist
|
|
8191
|
+
@OtherConfig = otherconfig
|
|
7847
8192
|
end
|
|
7848
8193
|
|
|
7849
8194
|
def deserialize(params)
|
|
@@ -7942,6 +8287,10 @@ module TencentCloud
|
|
|
7942
8287
|
end
|
|
7943
8288
|
end
|
|
7944
8289
|
@AutoScaleDiskDeleteNodeTypeList = params['AutoScaleDiskDeleteNodeTypeList']
|
|
8290
|
+
unless params['OtherConfig'].nil?
|
|
8291
|
+
@OtherConfig = OtherConfig.new
|
|
8292
|
+
@OtherConfig.deserialize(params['OtherConfig'])
|
|
8293
|
+
end
|
|
7945
8294
|
end
|
|
7946
8295
|
end
|
|
7947
8296
|
|
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.
|
|
4
|
+
version: 3.0.1213
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-02-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|