tencentcloud-sdk-es 3.0.1197 → 3.0.1209

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 43f0330780525420c2c0ce94010903f44b2d32ba
4
- data.tar.gz: 8adf769650d24fa1d18badb937e1d0d5976c4c60
3
+ metadata.gz: 539ee6c2555816cca8cec435b2d6dee21a5ae892
4
+ data.tar.gz: 7ba0937360acbeb0c56c6686869321b904dcc675
5
5
  SHA512:
6
- metadata.gz: c6ae8bdb3b0586d185a57806e968e9c6c2a86907a4761aa6056da4f0bac6a71f3cbb50f2c37a6f8ba1d3eaa1aedf3ae92cddd8c6aaf3a656a71b6ca2b68771a4
7
- data.tar.gz: 48ff938d437b299c2bc4f5da759578f361cf51e26dcf22ebc10535041457b26753cef2f70cc42a7ca2700c6b0fdddec7d963e6fa9381b1de0c4f590d3fdacc17
6
+ metadata.gz: a59605b1024fda827fed565a09e592111aa0b6ebda3a40332f120d4fe94a4aae4be35ec5ad7546eccc575aa6c286ffbcd31d407385fe1e29bc6ea09ca7174127
7
+ data.tar.gz: fd18240ebd9128fe30b0093e72ee78444c7f601ed1510f7ceba064ed8e4c51180ddc7b5c8ea6994fdfbda1e85a50b9f461a8ce60b24d718cc25120e5db44d924
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1197
1
+ 3.0.1209
@@ -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 CreateAutoBackUpStrategy.
59
+ # @type request: :class:`Tencentcloud::es::V20180416::CreateAutoBackUpStrategyRequest`
60
+ # @rtype: :class:`Tencentcloud::es::V20180416::CreateAutoBackUpStrategyResponse`
61
+ def CreateAutoBackUpStrategy(request)
62
+ body = send_request('CreateAutoBackUpStrategy', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = CreateAutoBackUpStrategyResponse.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
  # 集群快照手动创建
57
81
 
58
82
  # @param request: Request instance for CreateClusterSnapshot.
@@ -77,6 +101,30 @@ module TencentCloud
77
101
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
102
  end
79
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
+
80
128
  # cos迁移流程
81
129
 
82
130
  # @param request: Request instance for CreateCosMigrateToServerlessInstance.
@@ -221,6 +269,30 @@ module TencentCloud
221
269
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
270
  end
223
271
 
272
+ # 删除自动备份快照策略
273
+
274
+ # @param request: Request instance for DeleteAutoBackUpStrategy.
275
+ # @type request: :class:`Tencentcloud::es::V20180416::DeleteAutoBackUpStrategyRequest`
276
+ # @rtype: :class:`Tencentcloud::es::V20180416::DeleteAutoBackUpStrategyResponse`
277
+ def DeleteAutoBackUpStrategy(request)
278
+ body = send_request('DeleteAutoBackUpStrategy', request.serialize)
279
+ response = JSON.parse(body)
280
+ if response['Response'].key?('Error') == false
281
+ model = DeleteAutoBackUpStrategyResponse.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
+
224
296
  # 删除快照仓库里备份的快照
225
297
 
226
298
  # @param request: Request instance for DeleteClusterSnapshot.
@@ -389,6 +461,30 @@ module TencentCloud
389
461
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
390
462
  end
391
463
 
464
+ # 获取自动备份快照策略信息
465
+
466
+ # @param request: Request instance for DescribeAutoBackUpStrategy.
467
+ # @type request: :class:`Tencentcloud::es::V20180416::DescribeAutoBackUpStrategyRequest`
468
+ # @rtype: :class:`Tencentcloud::es::V20180416::DescribeAutoBackUpStrategyResponse`
469
+ def DescribeAutoBackUpStrategy(request)
470
+ body = send_request('DescribeAutoBackUpStrategy', request.serialize)
471
+ response = JSON.parse(body)
472
+ if response['Response'].key?('Error') == false
473
+ model = DescribeAutoBackUpStrategyResponse.new
474
+ model.deserialize(response['Response'])
475
+ model
476
+ else
477
+ code = response['Response']['Error']['Code']
478
+ message = response['Response']['Error']['Message']
479
+ reqid = response['Response']['RequestId']
480
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
481
+ end
482
+ rescue TencentCloud::Common::TencentCloudSDKException => e
483
+ raise e
484
+ rescue StandardError => e
485
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
486
+ end
487
+
392
488
  # 获取快照备份列表
393
489
 
394
490
  # @param request: Request instance for DescribeClusterSnapshot.
@@ -1014,6 +1110,54 @@ module TencentCloud
1014
1110
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1015
1111
  end
1016
1112
 
1113
+ # 修改自动备份快照策略公共信息
1114
+
1115
+ # @param request: Request instance for ModifyAutoBackUpCommonInfo.
1116
+ # @type request: :class:`Tencentcloud::es::V20180416::ModifyAutoBackUpCommonInfoRequest`
1117
+ # @rtype: :class:`Tencentcloud::es::V20180416::ModifyAutoBackUpCommonInfoResponse`
1118
+ def ModifyAutoBackUpCommonInfo(request)
1119
+ body = send_request('ModifyAutoBackUpCommonInfo', request.serialize)
1120
+ response = JSON.parse(body)
1121
+ if response['Response'].key?('Error') == false
1122
+ model = ModifyAutoBackUpCommonInfoResponse.new
1123
+ model.deserialize(response['Response'])
1124
+ model
1125
+ else
1126
+ code = response['Response']['Error']['Code']
1127
+ message = response['Response']['Error']['Message']
1128
+ reqid = response['Response']['RequestId']
1129
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1130
+ end
1131
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1132
+ raise e
1133
+ rescue StandardError => e
1134
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1135
+ end
1136
+
1137
+ # 修改自动备份快照策略
1138
+
1139
+ # @param request: Request instance for ModifyAutoBackUpStrategy.
1140
+ # @type request: :class:`Tencentcloud::es::V20180416::ModifyAutoBackUpStrategyRequest`
1141
+ # @rtype: :class:`Tencentcloud::es::V20180416::ModifyAutoBackUpStrategyResponse`
1142
+ def ModifyAutoBackUpStrategy(request)
1143
+ body = send_request('ModifyAutoBackUpStrategy', request.serialize)
1144
+ response = JSON.parse(body)
1145
+ if response['Response'].key?('Error') == false
1146
+ model = ModifyAutoBackUpStrategyResponse.new
1147
+ model.deserialize(response['Response'])
1148
+ model
1149
+ else
1150
+ code = response['Response']['Error']['Code']
1151
+ message = response['Response']['Error']['Message']
1152
+ reqid = response['Response']['RequestId']
1153
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1154
+ end
1155
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1156
+ raise e
1157
+ rescue StandardError => e
1158
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1159
+ end
1160
+
1017
1161
  # 修改绑定VIP的安全组,传安全组id列表
1018
1162
 
1019
1163
  # @param request: Request instance for ModifyEsVipSecurityGroup.
@@ -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: 普通索引名
@@ -434,6 +607,49 @@ module TencentCloud
434
607
  end
435
608
  end
436
609
 
610
+ # CreateAutoBackUpStrategy请求参数结构体
611
+ class CreateAutoBackUpStrategyRequest < TencentCloud::Common::AbstractModel
612
+ # @param InstanceId: 实例名称
613
+ # @type InstanceId: String
614
+ # @param CosBackup: 策略信息
615
+ # @type CosBackup: :class:`Tencentcloud::Es.v20180416.models.CosBackup`
616
+
617
+ attr_accessor :InstanceId, :CosBackup
618
+
619
+ def initialize(instanceid=nil, cosbackup=nil)
620
+ @InstanceId = instanceid
621
+ @CosBackup = cosbackup
622
+ end
623
+
624
+ def deserialize(params)
625
+ @InstanceId = params['InstanceId']
626
+ unless params['CosBackup'].nil?
627
+ @CosBackup = CosBackup.new
628
+ @CosBackup.deserialize(params['CosBackup'])
629
+ end
630
+ end
631
+ end
632
+
633
+ # CreateAutoBackUpStrategy返回参数结构体
634
+ class CreateAutoBackUpStrategyResponse < TencentCloud::Common::AbstractModel
635
+ # @param Status: true 成功; false 失败
636
+ # @type Status: Boolean
637
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
638
+ # @type RequestId: String
639
+
640
+ attr_accessor :Status, :RequestId
641
+
642
+ def initialize(status=nil, requestid=nil)
643
+ @Status = status
644
+ @RequestId = requestid
645
+ end
646
+
647
+ def deserialize(params)
648
+ @Status = params['Status']
649
+ @RequestId = params['RequestId']
650
+ end
651
+ end
652
+
437
653
  # CreateClusterSnapshot请求参数结构体
438
654
  class CreateClusterSnapshotRequest < TencentCloud::Common::AbstractModel
439
655
  # @param InstanceId: 实例名称
@@ -511,6 +727,102 @@ module TencentCloud
511
727
  end
512
728
  end
513
729
 
730
+ # CreateCollector请求参数结构体
731
+ class CreateCollectorRequest < TencentCloud::Common::AbstractModel
732
+ # @param CollectorName: 采集器名称(1-50 个英文、汉字、数字、连接线-或下划线_)
733
+ # @type CollectorName: String
734
+ # @param CollectorVersion: 采集器版本(支持"6.8.15"、"7.10.2")
735
+ # @type CollectorVersion: String
736
+ # @param CollectorType: 采集器类型(支持filebeat、metricbeat、heartbeat、auditbeat、packetbeat)
737
+ # @type CollectorType: String
738
+ # @param OutputInstance: 采集器输出的ES实例信息
739
+ # @type OutputInstance: :class:`Tencentcloud::Es.v20180416.models.CollectorOutputInstance`
740
+ # @param CollectorConfigs: 采集器配置
741
+ # @type CollectorConfigs: Array
742
+ # @param CVMInstanceIds: 采集器下发的CVM实例ID列表
743
+ # @type CVMInstanceIds: Array
744
+ # @param TargetType: 采集目标类型,CVM或者TKE
745
+ # @type TargetType: String
746
+ # @param ContainerClusterId: 容器集群ID,采集目标为TKE时必填
747
+ # @type ContainerClusterId: String
748
+ # @param CollectorTargets: 采集器配置,采集目标为TKE时必填
749
+ # @type CollectorTargets: Array
750
+ # @param TagList: 标签信息
751
+ # @type TagList: Array
752
+
753
+ attr_accessor :CollectorName, :CollectorVersion, :CollectorType, :OutputInstance, :CollectorConfigs, :CVMInstanceIds, :TargetType, :ContainerClusterId, :CollectorTargets, :TagList
754
+
755
+ def initialize(collectorname=nil, collectorversion=nil, collectortype=nil, outputinstance=nil, collectorconfigs=nil, cvminstanceids=nil, targettype=nil, containerclusterid=nil, collectortargets=nil, taglist=nil)
756
+ @CollectorName = collectorname
757
+ @CollectorVersion = collectorversion
758
+ @CollectorType = collectortype
759
+ @OutputInstance = outputinstance
760
+ @CollectorConfigs = collectorconfigs
761
+ @CVMInstanceIds = cvminstanceids
762
+ @TargetType = targettype
763
+ @ContainerClusterId = containerclusterid
764
+ @CollectorTargets = collectortargets
765
+ @TagList = taglist
766
+ end
767
+
768
+ def deserialize(params)
769
+ @CollectorName = params['CollectorName']
770
+ @CollectorVersion = params['CollectorVersion']
771
+ @CollectorType = params['CollectorType']
772
+ unless params['OutputInstance'].nil?
773
+ @OutputInstance = CollectorOutputInstance.new
774
+ @OutputInstance.deserialize(params['OutputInstance'])
775
+ end
776
+ unless params['CollectorConfigs'].nil?
777
+ @CollectorConfigs = []
778
+ params['CollectorConfigs'].each do |i|
779
+ collectorconfiginfo_tmp = CollectorConfigInfo.new
780
+ collectorconfiginfo_tmp.deserialize(i)
781
+ @CollectorConfigs << collectorconfiginfo_tmp
782
+ end
783
+ end
784
+ @CVMInstanceIds = params['CVMInstanceIds']
785
+ @TargetType = params['TargetType']
786
+ @ContainerClusterId = params['ContainerClusterId']
787
+ unless params['CollectorTargets'].nil?
788
+ @CollectorTargets = []
789
+ params['CollectorTargets'].each do |i|
790
+ collectortarget_tmp = CollectorTarget.new
791
+ collectortarget_tmp.deserialize(i)
792
+ @CollectorTargets << collectortarget_tmp
793
+ end
794
+ end
795
+ unless params['TagList'].nil?
796
+ @TagList = []
797
+ params['TagList'].each do |i|
798
+ taginfo_tmp = TagInfo.new
799
+ taginfo_tmp.deserialize(i)
800
+ @TagList << taginfo_tmp
801
+ end
802
+ end
803
+ end
804
+ end
805
+
806
+ # CreateCollector返回参数结构体
807
+ class CreateCollectorResponse < TencentCloud::Common::AbstractModel
808
+ # @param CollectorId: 采集器ID
809
+ # @type CollectorId: String
810
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
811
+ # @type RequestId: String
812
+
813
+ attr_accessor :CollectorId, :RequestId
814
+
815
+ def initialize(collectorid=nil, requestid=nil)
816
+ @CollectorId = collectorid
817
+ @RequestId = requestid
818
+ end
819
+
820
+ def deserialize(params)
821
+ @CollectorId = params['CollectorId']
822
+ @RequestId = params['RequestId']
823
+ end
824
+ end
825
+
514
826
  # CreateCosMigrateToServerlessInstance请求参数结构体
515
827
  class CreateCosMigrateToServerlessInstanceRequest < TencentCloud::Common::AbstractModel
516
828
  # @param Snapshot: 快照名
@@ -697,7 +1009,7 @@ module TencentCloud
697
1009
  # @type OperationDuration: :class:`Tencentcloud::Es.v20180416.models.OperationDuration`
698
1010
  # @param EnableHybridStorage: 是否开启存算分离
699
1011
  # @type EnableHybridStorage: Boolean
700
- # @param DiskEnhance: 是否开启essd 增强型云盘
1012
+ # @param DiskEnhance: 硬盘额外性能
701
1013
  # @type DiskEnhance: Integer
702
1014
  # @param EnableDiagnose: 是否开启智能巡检
703
1015
  # @type EnableDiagnose: Boolean
@@ -1189,6 +1501,46 @@ module TencentCloud
1189
1501
  end
1190
1502
  end
1191
1503
 
1504
+ # DeleteAutoBackUpStrategy请求参数结构体
1505
+ class DeleteAutoBackUpStrategyRequest < TencentCloud::Common::AbstractModel
1506
+ # @param InstanceId: 实例名称
1507
+ # @type InstanceId: String
1508
+ # @param StrategyName: 策略名称
1509
+ # @type StrategyName: Array
1510
+
1511
+ attr_accessor :InstanceId, :StrategyName
1512
+
1513
+ def initialize(instanceid=nil, strategyname=nil)
1514
+ @InstanceId = instanceid
1515
+ @StrategyName = strategyname
1516
+ end
1517
+
1518
+ def deserialize(params)
1519
+ @InstanceId = params['InstanceId']
1520
+ @StrategyName = params['StrategyName']
1521
+ end
1522
+ end
1523
+
1524
+ # DeleteAutoBackUpStrategy返回参数结构体
1525
+ class DeleteAutoBackUpStrategyResponse < TencentCloud::Common::AbstractModel
1526
+ # @param Status: true 成功; false 失败
1527
+ # @type Status: Boolean
1528
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1529
+ # @type RequestId: String
1530
+
1531
+ attr_accessor :Status, :RequestId
1532
+
1533
+ def initialize(status=nil, requestid=nil)
1534
+ @Status = status
1535
+ @RequestId = requestid
1536
+ end
1537
+
1538
+ def deserialize(params)
1539
+ @Status = params['Status']
1540
+ @RequestId = params['RequestId']
1541
+ end
1542
+ end
1543
+
1192
1544
  # DeleteClusterSnapshot请求参数结构体
1193
1545
  class DeleteClusterSnapshotRequest < TencentCloud::Common::AbstractModel
1194
1546
  # @param InstanceId: 集群实例Id,格式:es-xxxx
@@ -1453,6 +1805,49 @@ module TencentCloud
1453
1805
  end
1454
1806
  end
1455
1807
 
1808
+ # DescribeAutoBackUpStrategy请求参数结构体
1809
+ class DescribeAutoBackUpStrategyRequest < TencentCloud::Common::AbstractModel
1810
+ # @param InstanceId: 实例名称
1811
+ # @type InstanceId: String
1812
+
1813
+ attr_accessor :InstanceId
1814
+
1815
+ def initialize(instanceid=nil)
1816
+ @InstanceId = instanceid
1817
+ end
1818
+
1819
+ def deserialize(params)
1820
+ @InstanceId = params['InstanceId']
1821
+ end
1822
+ end
1823
+
1824
+ # DescribeAutoBackUpStrategy返回参数结构体
1825
+ class DescribeAutoBackUpStrategyResponse < TencentCloud::Common::AbstractModel
1826
+ # @param CosBackupList: 策略信息
1827
+ # @type CosBackupList: Array
1828
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1829
+ # @type RequestId: String
1830
+
1831
+ attr_accessor :CosBackupList, :RequestId
1832
+
1833
+ def initialize(cosbackuplist=nil, requestid=nil)
1834
+ @CosBackupList = cosbackuplist
1835
+ @RequestId = requestid
1836
+ end
1837
+
1838
+ def deserialize(params)
1839
+ unless params['CosBackupList'].nil?
1840
+ @CosBackupList = []
1841
+ params['CosBackupList'].each do |i|
1842
+ cosbackup_tmp = CosBackup.new
1843
+ cosbackup_tmp.deserialize(i)
1844
+ @CosBackupList << cosbackup_tmp
1845
+ end
1846
+ end
1847
+ @RequestId = params['RequestId']
1848
+ end
1849
+ end
1850
+
1456
1851
  # DescribeClusterSnapshot请求参数结构体
1457
1852
  class DescribeClusterSnapshotRequest < TencentCloud::Common::AbstractModel
1458
1853
  # @param InstanceId: 集群实例Id,格式:es-xxxx
@@ -5646,6 +6041,80 @@ module TencentCloud
5646
6041
  end
5647
6042
  end
5648
6043
 
6044
+ # ModifyAutoBackUpCommonInfo请求参数结构体
6045
+ class ModifyAutoBackUpCommonInfoRequest < TencentCloud::Common::AbstractModel
6046
+
6047
+
6048
+ def initialize()
6049
+ end
6050
+
6051
+ def deserialize(params)
6052
+ end
6053
+ end
6054
+
6055
+ # ModifyAutoBackUpCommonInfo返回参数结构体
6056
+ class ModifyAutoBackUpCommonInfoResponse < TencentCloud::Common::AbstractModel
6057
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6058
+ # @type RequestId: String
6059
+
6060
+ attr_accessor :RequestId
6061
+
6062
+ def initialize(requestid=nil)
6063
+ @RequestId = requestid
6064
+ end
6065
+
6066
+ def deserialize(params)
6067
+ @RequestId = params['RequestId']
6068
+ end
6069
+ end
6070
+
6071
+ # ModifyAutoBackUpStrategy请求参数结构体
6072
+ class ModifyAutoBackUpStrategyRequest < TencentCloud::Common::AbstractModel
6073
+ # @param InstanceId: 实例名称
6074
+ # @type InstanceId: String
6075
+ # @param StrategyName: 当前策略名称
6076
+ # @type StrategyName: String
6077
+ # @param CosBackup: 策略信息
6078
+ # @type CosBackup: :class:`Tencentcloud::Es.v20180416.models.CosBackup`
6079
+
6080
+ attr_accessor :InstanceId, :StrategyName, :CosBackup
6081
+
6082
+ def initialize(instanceid=nil, strategyname=nil, cosbackup=nil)
6083
+ @InstanceId = instanceid
6084
+ @StrategyName = strategyname
6085
+ @CosBackup = cosbackup
6086
+ end
6087
+
6088
+ def deserialize(params)
6089
+ @InstanceId = params['InstanceId']
6090
+ @StrategyName = params['StrategyName']
6091
+ unless params['CosBackup'].nil?
6092
+ @CosBackup = CosBackup.new
6093
+ @CosBackup.deserialize(params['CosBackup'])
6094
+ end
6095
+ end
6096
+ end
6097
+
6098
+ # ModifyAutoBackUpStrategy返回参数结构体
6099
+ class ModifyAutoBackUpStrategyResponse < TencentCloud::Common::AbstractModel
6100
+ # @param Status: true 成功; false 失败
6101
+ # @type Status: Boolean
6102
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6103
+ # @type RequestId: String
6104
+
6105
+ attr_accessor :Status, :RequestId
6106
+
6107
+ def initialize(status=nil, requestid=nil)
6108
+ @Status = status
6109
+ @RequestId = requestid
6110
+ end
6111
+
6112
+ def deserialize(params)
6113
+ @Status = params['Status']
6114
+ @RequestId = params['RequestId']
6115
+ end
6116
+ end
6117
+
5649
6118
  # ModifyEsVipSecurityGroup请求参数结构体
5650
6119
  class ModifyEsVipSecurityGroupRequest < TencentCloud::Common::AbstractModel
5651
6120
  # @param InstanceId: es集群的实例id
@@ -5682,6 +6151,26 @@ module TencentCloud
5682
6151
  end
5683
6152
  end
5684
6153
 
6154
+ # TKE命名空间
6155
+ class Namespaces < TencentCloud::Common::AbstractModel
6156
+ # @param Include: 包含的命名空间的列表,单个命名空间支持小写字母、数字、连接符-、下划线_,最多支持63个字符
6157
+ # @type Include: Array
6158
+ # @param Exclude: 不包含的命名空间列表,单个命名空间支持小写字母、数字、连接符-、下划线_,最多支持63个字符
6159
+ # @type Exclude: Array
6160
+
6161
+ attr_accessor :Include, :Exclude
6162
+
6163
+ def initialize(include=nil, exclude=nil)
6164
+ @Include = include
6165
+ @Exclude = exclude
6166
+ end
6167
+
6168
+ def deserialize(params)
6169
+ @Include = params['Include']
6170
+ @Exclude = params['Exclude']
6171
+ end
6172
+ end
6173
+
5685
6174
  # 集群中一种节点类型(如热数据节点,冷数据节点,专用主节点等)的规格描述信息,包括节点类型,节点个数,节点规格,磁盘类型,磁盘大小等, Type不指定时默认为热数据节点;如果节点为master节点,则DiskType和DiskSize参数会被忽略(主节点无数据盘)
5686
6175
  class NodeInfo < TencentCloud::Common::AbstractModel
5687
6176
  # @param NodeNum: 节点数量
@@ -5710,7 +6199,7 @@ module TencentCloud
5710
6199
  # @param MemSize: 内存大小,单位GB
5711
6200
  # 注意:此字段可能返回 null,表示取不到有效值。
5712
6201
  # @type MemSize: Integer
5713
- # @param DiskEnhance: /
6202
+ # @param DiskEnhance: 硬盘额外性能
5714
6203
  # 注意:此字段可能返回 null,表示取不到有效值。
5715
6204
  # @type DiskEnhance: Integer
5716
6205
  # @param GpuInfo: 节点Gpu信息
@@ -6091,6 +6580,26 @@ module TencentCloud
6091
6580
  end
6092
6581
  end
6093
6582
 
6583
+ # Pod标签
6584
+ class PodLabel < TencentCloud::Common::AbstractModel
6585
+ # @param LabelKey: 标签键,支持大小写字母、数字、以及-_./,最多支持63个字符
6586
+ # @type LabelKey: String
6587
+ # @param LabelValue: 标签值,支持大小写字母、数字、以及-_./,最多支持63个字符
6588
+ # @type LabelValue: String
6589
+
6590
+ attr_accessor :LabelKey, :LabelValue
6591
+
6592
+ def initialize(labelkey=nil, labelvalue=nil)
6593
+ @LabelKey = labelkey
6594
+ @LabelValue = labelvalue
6595
+ end
6596
+
6597
+ def deserialize(params)
6598
+ @LabelKey = params['LabelKey']
6599
+ @LabelValue = params['LabelValue']
6600
+ end
6601
+ end
6602
+
6094
6603
  # 任务进度详情
6095
6604
  class ProcessDetail < TencentCloud::Common::AbstractModel
6096
6605
  # @param Completed: 已完成数量
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.1197
4
+ version: 3.0.1209
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-01-06 00:00:00.000000000 Z
11
+ date: 2026-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,11 +33,11 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20250101/client.rb
37
- - lib/v20250101/models.rb
38
36
  - lib/v20180416/client.rb
39
37
  - lib/v20180416/models.rb
40
38
  - lib/tencentcloud-sdk-es.rb
39
+ - lib/v20250101/client.rb
40
+ - lib/v20250101/models.rb
41
41
  - lib/VERSION
42
42
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
43
43
  licenses: