tencentcloud-sdk-es 3.0.686 → 3.0.687

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: 07829e340097c49e333eb52e5d39996d92638dd9
4
- data.tar.gz: a7d440376736ea42e2ef6103a8d1ab8bb11dfb8b
3
+ metadata.gz: 0b9520cd0047192a46433ea030aeec1c88bc7af7
4
+ data.tar.gz: 96fdaa5cbc1b02b2cb42e1e0cb165efb427c3e68
5
5
  SHA512:
6
- metadata.gz: 61a01bd8bc47b042799968ec95d8caa0db27dbe317ebaaa6574760f6c6b547c061e7e39cc5cc0c26ff3c34fee4f1cb2399ac730d3693e228c5b8a94ce722248d
7
- data.tar.gz: b7f17e59401d7a926dcda82f85ed4590ea93e0cdde743070fa49fc5dbeafc7dc492149289855dabad491c477729d5ebcfb09f07b3538644df2371ae04930c642
6
+ metadata.gz: 94c842012d82fa3d17431d9e2a124cbe06aeb1de0e4b1cc4e32ba326603c6b46452c19ae779d58397ae3ac42293c7b75cb110a6a09830b1c90feadffb51f1dfe
7
+ data.tar.gz: dd5ef7a632afcacc01b98997cb4932c53f634e0f1dcf0b9f1254fc54668ec07b8b1f0cf16c7c5e9b7558198d10927b63f85e5da21dfb7e888d79cee6794e510f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.686
1
+ 3.0.687
@@ -197,6 +197,30 @@ module TencentCloud
197
197
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
198
  end
199
199
 
200
+ # 查询智能运维诊断结果报告
201
+
202
+ # @param request: Request instance for DescribeDiagnose.
203
+ # @type request: :class:`Tencentcloud::es::V20180416::DescribeDiagnoseRequest`
204
+ # @rtype: :class:`Tencentcloud::es::V20180416::DescribeDiagnoseResponse`
205
+ def DescribeDiagnose(request)
206
+ body = send_request('DescribeDiagnose', request.serialize)
207
+ response = JSON.parse(body)
208
+ if response['Response'].key?('Error') == false
209
+ model = DescribeDiagnoseResponse.new
210
+ model.deserialize(response['Response'])
211
+ model
212
+ else
213
+ code = response['Response']['Error']['Code']
214
+ message = response['Response']['Error']['Message']
215
+ reqid = response['Response']['RequestId']
216
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
217
+ end
218
+ rescue TencentCloud::Common::TencentCloudSDKException => e
219
+ raise e
220
+ rescue StandardError => e
221
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
+ end
223
+
200
224
  # 获取索引列表
201
225
 
202
226
  # @param request: Request instance for DescribeIndexList.
@@ -293,6 +317,30 @@ module TencentCloud
293
317
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
318
  end
295
319
 
320
+ # 查询实例插件列表
321
+
322
+ # @param request: Request instance for DescribeInstancePluginList.
323
+ # @type request: :class:`Tencentcloud::es::V20180416::DescribeInstancePluginListRequest`
324
+ # @rtype: :class:`Tencentcloud::es::V20180416::DescribeInstancePluginListResponse`
325
+ def DescribeInstancePluginList(request)
326
+ body = send_request('DescribeInstancePluginList', request.serialize)
327
+ response = JSON.parse(body)
328
+ if response['Response'].key?('Error') == false
329
+ model = DescribeInstancePluginListResponse.new
330
+ model.deserialize(response['Response'])
331
+ model
332
+ else
333
+ code = response['Response']['Error']['Code']
334
+ message = response['Response']['Error']['Message']
335
+ reqid = response['Response']['RequestId']
336
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
337
+ end
338
+ rescue TencentCloud::Common::TencentCloudSDKException => e
339
+ raise e
340
+ rescue StandardError => e
341
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
+ end
343
+
296
344
  # 查询用户该地域下符合条件的所有实例
297
345
 
298
346
  # @param request: Request instance for DescribeInstances.
@@ -461,6 +509,30 @@ module TencentCloud
461
509
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
462
510
  end
463
511
 
512
+ # 查看智能运维配置
513
+
514
+ # @param request: Request instance for GetDiagnoseSettings.
515
+ # @type request: :class:`Tencentcloud::es::V20180416::GetDiagnoseSettingsRequest`
516
+ # @rtype: :class:`Tencentcloud::es::V20180416::GetDiagnoseSettingsResponse`
517
+ def GetDiagnoseSettings(request)
518
+ body = send_request('GetDiagnoseSettings', request.serialize)
519
+ response = JSON.parse(body)
520
+ if response['Response'].key?('Error') == false
521
+ model = GetDiagnoseSettingsResponse.new
522
+ model.deserialize(response['Response'])
523
+ model
524
+ else
525
+ code = response['Response']['Error']['Code']
526
+ message = response['Response']['Error']['Message']
527
+ reqid = response['Response']['RequestId']
528
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
529
+ end
530
+ rescue TencentCloud::Common::TencentCloudSDKException => e
531
+ raise e
532
+ rescue StandardError => e
533
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
534
+ end
535
+
464
536
  # 获取接收客户端请求的节点类型
465
537
 
466
538
  # @param request: Request instance for GetRequestTargetNodeTypes.
@@ -706,6 +706,61 @@ module TencentCloud
706
706
  end
707
707
  end
708
708
 
709
+ # DescribeDiagnose请求参数结构体
710
+ class DescribeDiagnoseRequest < TencentCloud::Common::AbstractModel
711
+ # @param InstanceId: ES实例ID
712
+ # @type InstanceId: String
713
+ # @param Date: 报告日期,格式20210301
714
+ # @type Date: String
715
+ # @param Limit: 报告返回份数
716
+ # @type Limit: Integer
717
+
718
+ attr_accessor :InstanceId, :Date, :Limit
719
+
720
+ def initialize(instanceid=nil, date=nil, limit=nil)
721
+ @InstanceId = instanceid
722
+ @Date = date
723
+ @Limit = limit
724
+ end
725
+
726
+ def deserialize(params)
727
+ @InstanceId = params['InstanceId']
728
+ @Date = params['Date']
729
+ @Limit = params['Limit']
730
+ end
731
+ end
732
+
733
+ # DescribeDiagnose返回参数结构体
734
+ class DescribeDiagnoseResponse < TencentCloud::Common::AbstractModel
735
+ # @param Total: 诊断报告个数
736
+ # @type Total: Integer
737
+ # @param DiagnoseResults: 诊断报告列表
738
+ # @type DiagnoseResults: Array
739
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
740
+ # @type RequestId: String
741
+
742
+ attr_accessor :Total, :DiagnoseResults, :RequestId
743
+
744
+ def initialize(total=nil, diagnoseresults=nil, requestid=nil)
745
+ @Total = total
746
+ @DiagnoseResults = diagnoseresults
747
+ @RequestId = requestid
748
+ end
749
+
750
+ def deserialize(params)
751
+ @Total = params['Total']
752
+ unless params['DiagnoseResults'].nil?
753
+ @DiagnoseResults = []
754
+ params['DiagnoseResults'].each do |i|
755
+ diagnoseresult_tmp = DiagnoseResult.new
756
+ diagnoseresult_tmp.deserialize(i)
757
+ @DiagnoseResults << diagnoseresult_tmp
758
+ end
759
+ end
760
+ @RequestId = params['RequestId']
761
+ end
762
+ end
763
+
709
764
  # DescribeIndexList请求参数结构体
710
765
  class DescribeIndexListRequest < TencentCloud::Common::AbstractModel
711
766
  # @param IndexType: 索引类型。auto:自治索引;normal:普通索引
@@ -991,6 +1046,113 @@ module TencentCloud
991
1046
  end
992
1047
  end
993
1048
 
1049
+ # 插件信息
1050
+ class DescribeInstancePluginInfo < TencentCloud::Common::AbstractModel
1051
+ # @param PluginName: 插件名
1052
+ # @type PluginName: String
1053
+ # @param PluginVersion: 插件版本
1054
+ # @type PluginVersion: String
1055
+ # @param PluginDesc: 插件描述
1056
+ # @type PluginDesc: String
1057
+ # @param Status: 插件状态:-2 已卸载 -1 卸载中 0 安装中 1 已安装
1058
+ # @type Status: Integer
1059
+ # @param Removable: 插件是否可卸载
1060
+ # @type Removable: Boolean
1061
+ # @param PluginType: 0:系统插件
1062
+ # @type PluginType: Integer
1063
+ # @param PluginUpdateTime: 插件变更时间
1064
+ # @type PluginUpdateTime: String
1065
+
1066
+ attr_accessor :PluginName, :PluginVersion, :PluginDesc, :Status, :Removable, :PluginType, :PluginUpdateTime
1067
+
1068
+ def initialize(pluginname=nil, pluginversion=nil, plugindesc=nil, status=nil, removable=nil, plugintype=nil, pluginupdatetime=nil)
1069
+ @PluginName = pluginname
1070
+ @PluginVersion = pluginversion
1071
+ @PluginDesc = plugindesc
1072
+ @Status = status
1073
+ @Removable = removable
1074
+ @PluginType = plugintype
1075
+ @PluginUpdateTime = pluginupdatetime
1076
+ end
1077
+
1078
+ def deserialize(params)
1079
+ @PluginName = params['PluginName']
1080
+ @PluginVersion = params['PluginVersion']
1081
+ @PluginDesc = params['PluginDesc']
1082
+ @Status = params['Status']
1083
+ @Removable = params['Removable']
1084
+ @PluginType = params['PluginType']
1085
+ @PluginUpdateTime = params['PluginUpdateTime']
1086
+ end
1087
+ end
1088
+
1089
+ # DescribeInstancePluginList请求参数结构体
1090
+ class DescribeInstancePluginListRequest < TencentCloud::Common::AbstractModel
1091
+ # @param InstanceId: 实例ID
1092
+ # @type InstanceId: String
1093
+ # @param Offset: 分页起始值, 默认值0
1094
+ # @type Offset: Integer
1095
+ # @param Limit: 分页大小,默认值10
1096
+ # @type Limit: Integer
1097
+ # @param OrderBy: 排序字段<li>1:插件名 pluginName
1098
+ # @type OrderBy: String
1099
+ # @param OrderByType: 排序方式<li>0:升序 asc</li><li>1:降序 desc</li>
1100
+ # @type OrderByType: String
1101
+ # @param PluginType: 0:系统插件
1102
+ # @type PluginType: Integer
1103
+
1104
+ attr_accessor :InstanceId, :Offset, :Limit, :OrderBy, :OrderByType, :PluginType
1105
+
1106
+ def initialize(instanceid=nil, offset=nil, limit=nil, orderby=nil, orderbytype=nil, plugintype=nil)
1107
+ @InstanceId = instanceid
1108
+ @Offset = offset
1109
+ @Limit = limit
1110
+ @OrderBy = orderby
1111
+ @OrderByType = orderbytype
1112
+ @PluginType = plugintype
1113
+ end
1114
+
1115
+ def deserialize(params)
1116
+ @InstanceId = params['InstanceId']
1117
+ @Offset = params['Offset']
1118
+ @Limit = params['Limit']
1119
+ @OrderBy = params['OrderBy']
1120
+ @OrderByType = params['OrderByType']
1121
+ @PluginType = params['PluginType']
1122
+ end
1123
+ end
1124
+
1125
+ # DescribeInstancePluginList返回参数结构体
1126
+ class DescribeInstancePluginListResponse < TencentCloud::Common::AbstractModel
1127
+ # @param TotalCount: 返回的插件个数
1128
+ # @type TotalCount: Integer
1129
+ # @param PluginList: 插件信息列表
1130
+ # @type PluginList: Array
1131
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1132
+ # @type RequestId: String
1133
+
1134
+ attr_accessor :TotalCount, :PluginList, :RequestId
1135
+
1136
+ def initialize(totalcount=nil, pluginlist=nil, requestid=nil)
1137
+ @TotalCount = totalcount
1138
+ @PluginList = pluginlist
1139
+ @RequestId = requestid
1140
+ end
1141
+
1142
+ def deserialize(params)
1143
+ @TotalCount = params['TotalCount']
1144
+ unless params['PluginList'].nil?
1145
+ @PluginList = []
1146
+ params['PluginList'].each do |i|
1147
+ describeinstanceplugininfo_tmp = DescribeInstancePluginInfo.new
1148
+ describeinstanceplugininfo_tmp.deserialize(i)
1149
+ @PluginList << describeinstanceplugininfo_tmp
1150
+ end
1151
+ end
1152
+ @RequestId = params['RequestId']
1153
+ end
1154
+ end
1155
+
994
1156
  # DescribeInstances请求参数结构体
995
1157
  class DescribeInstancesRequest < TencentCloud::Common::AbstractModel
996
1158
  # @param Zone: 集群实例所属可用区,不传则默认所有可用区
@@ -1469,6 +1631,156 @@ module TencentCloud
1469
1631
  end
1470
1632
  end
1471
1633
 
1634
+ # 智能运维支持的诊断项和元信息
1635
+ class DiagnoseJobMeta < TencentCloud::Common::AbstractModel
1636
+ # @param JobName: 智能运维诊断项英文名
1637
+ # @type JobName: String
1638
+ # @param JobZhName: 智能运维诊断项中文名
1639
+ # @type JobZhName: String
1640
+ # @param JobDescription: 智能运维诊断项描述
1641
+ # @type JobDescription: String
1642
+
1643
+ attr_accessor :JobName, :JobZhName, :JobDescription
1644
+
1645
+ def initialize(jobname=nil, jobzhname=nil, jobdescription=nil)
1646
+ @JobName = jobname
1647
+ @JobZhName = jobzhname
1648
+ @JobDescription = jobdescription
1649
+ end
1650
+
1651
+ def deserialize(params)
1652
+ @JobName = params['JobName']
1653
+ @JobZhName = params['JobZhName']
1654
+ @JobDescription = params['JobDescription']
1655
+ end
1656
+ end
1657
+
1658
+ # 智能运维诊断项结果
1659
+ class DiagnoseJobResult < TencentCloud::Common::AbstractModel
1660
+ # @param JobName: 诊断项名
1661
+ # @type JobName: String
1662
+ # @param Status: 诊断项状态:-2失败,-1待重试,0运行中,1成功
1663
+ # @type Status: Integer
1664
+ # @param Score: 诊断项得分
1665
+ # @type Score: Integer
1666
+ # @param Summary: 诊断摘要
1667
+ # @type Summary: String
1668
+ # @param Advise: 诊断建议
1669
+ # @type Advise: String
1670
+ # @param Detail: 诊断详情
1671
+ # @type Detail: String
1672
+ # @param MetricDetails: 诊断指标详情
1673
+ # 注意:此字段可能返回 null,表示取不到有效值。
1674
+ # @type MetricDetails: Array
1675
+ # @param LogDetails: 诊断日志详情
1676
+ # 注意:此字段可能返回 null,表示取不到有效值。
1677
+ # @type LogDetails: Array
1678
+ # @param SettingDetails: 诊断配置详情
1679
+ # 注意:此字段可能返回 null,表示取不到有效值。
1680
+ # @type SettingDetails: Array
1681
+
1682
+ attr_accessor :JobName, :Status, :Score, :Summary, :Advise, :Detail, :MetricDetails, :LogDetails, :SettingDetails
1683
+
1684
+ def initialize(jobname=nil, status=nil, score=nil, summary=nil, advise=nil, detail=nil, metricdetails=nil, logdetails=nil, settingdetails=nil)
1685
+ @JobName = jobname
1686
+ @Status = status
1687
+ @Score = score
1688
+ @Summary = summary
1689
+ @Advise = advise
1690
+ @Detail = detail
1691
+ @MetricDetails = metricdetails
1692
+ @LogDetails = logdetails
1693
+ @SettingDetails = settingdetails
1694
+ end
1695
+
1696
+ def deserialize(params)
1697
+ @JobName = params['JobName']
1698
+ @Status = params['Status']
1699
+ @Score = params['Score']
1700
+ @Summary = params['Summary']
1701
+ @Advise = params['Advise']
1702
+ @Detail = params['Detail']
1703
+ unless params['MetricDetails'].nil?
1704
+ @MetricDetails = []
1705
+ params['MetricDetails'].each do |i|
1706
+ metricdetail_tmp = MetricDetail.new
1707
+ metricdetail_tmp.deserialize(i)
1708
+ @MetricDetails << metricdetail_tmp
1709
+ end
1710
+ end
1711
+ unless params['LogDetails'].nil?
1712
+ @LogDetails = []
1713
+ params['LogDetails'].each do |i|
1714
+ logdetail_tmp = LogDetail.new
1715
+ logdetail_tmp.deserialize(i)
1716
+ @LogDetails << logdetail_tmp
1717
+ end
1718
+ end
1719
+ unless params['SettingDetails'].nil?
1720
+ @SettingDetails = []
1721
+ params['SettingDetails'].each do |i|
1722
+ settingdetail_tmp = SettingDetail.new
1723
+ settingdetail_tmp.deserialize(i)
1724
+ @SettingDetails << settingdetail_tmp
1725
+ end
1726
+ end
1727
+ end
1728
+ end
1729
+
1730
+ # 智能运维诊断结果
1731
+ class DiagnoseResult < TencentCloud::Common::AbstractModel
1732
+ # @param InstanceId: ES实例ID
1733
+ # @type InstanceId: String
1734
+ # @param RequestId: 诊断报告ID
1735
+ # @type RequestId: String
1736
+ # @param CreateTime: 诊断触发时间
1737
+ # @type CreateTime: String
1738
+ # @param Completed: 诊断是否完成
1739
+ # @type Completed: Boolean
1740
+ # @param Score: 诊断总得分
1741
+ # @type Score: Integer
1742
+ # @param JobType: 诊断类型,2 定时诊断,3 客户手动触发诊断
1743
+ # @type JobType: Integer
1744
+ # @param JobParam: 诊断参数,如诊断时间,诊断索引等
1745
+ # @type JobParam: :class:`Tencentcloud::Es.v20180416.models.JobParam`
1746
+ # @param JobResults: 诊断项结果列表
1747
+ # @type JobResults: Array
1748
+
1749
+ attr_accessor :InstanceId, :RequestId, :CreateTime, :Completed, :Score, :JobType, :JobParam, :JobResults
1750
+
1751
+ def initialize(instanceid=nil, requestid=nil, createtime=nil, completed=nil, score=nil, jobtype=nil, jobparam=nil, jobresults=nil)
1752
+ @InstanceId = instanceid
1753
+ @RequestId = requestid
1754
+ @CreateTime = createtime
1755
+ @Completed = completed
1756
+ @Score = score
1757
+ @JobType = jobtype
1758
+ @JobParam = jobparam
1759
+ @JobResults = jobresults
1760
+ end
1761
+
1762
+ def deserialize(params)
1763
+ @InstanceId = params['InstanceId']
1764
+ @RequestId = params['RequestId']
1765
+ @CreateTime = params['CreateTime']
1766
+ @Completed = params['Completed']
1767
+ @Score = params['Score']
1768
+ @JobType = params['JobType']
1769
+ unless params['JobParam'].nil?
1770
+ @JobParam = JobParam.new
1771
+ @JobParam.deserialize(params['JobParam'])
1772
+ end
1773
+ unless params['JobResults'].nil?
1774
+ @JobResults = []
1775
+ params['JobResults'].each do |i|
1776
+ diagnosejobresult_tmp = DiagnoseJobResult.new
1777
+ diagnosejobresult_tmp.deserialize(i)
1778
+ @JobResults << diagnosejobresult_tmp
1779
+ end
1780
+ end
1781
+ end
1782
+ end
1783
+
1472
1784
  # ik插件词典信息
1473
1785
  class DictInfo < TencentCloud::Common::AbstractModel
1474
1786
  # @param Key: 词典键值
@@ -1493,6 +1805,26 @@ module TencentCloud
1493
1805
  end
1494
1806
  end
1495
1807
 
1808
+ # 智能运维指标维度
1809
+ class Dimension < TencentCloud::Common::AbstractModel
1810
+ # @param Key: 智能运维指标维度Key
1811
+ # @type Key: String
1812
+ # @param Value: 智能运维指标维度值
1813
+ # @type Value: String
1814
+
1815
+ attr_accessor :Key, :Value
1816
+
1817
+ def initialize(key=nil, value=nil)
1818
+ @Key = key
1819
+ @Value = value
1820
+ end
1821
+
1822
+ def deserialize(params)
1823
+ @Key = params['Key']
1824
+ @Value = params['Value']
1825
+ end
1826
+ end
1827
+
1496
1828
  # ES集群配置项
1497
1829
  class EsAcl < TencentCloud::Common::AbstractModel
1498
1830
  # @param BlackIpList: kibana访问黑名单
@@ -1613,6 +1945,65 @@ module TencentCloud
1613
1945
  end
1614
1946
  end
1615
1947
 
1948
+ # GetDiagnoseSettings请求参数结构体
1949
+ class GetDiagnoseSettingsRequest < TencentCloud::Common::AbstractModel
1950
+ # @param InstanceId: ES实例ID
1951
+ # @type InstanceId: String
1952
+
1953
+ attr_accessor :InstanceId
1954
+
1955
+ def initialize(instanceid=nil)
1956
+ @InstanceId = instanceid
1957
+ end
1958
+
1959
+ def deserialize(params)
1960
+ @InstanceId = params['InstanceId']
1961
+ end
1962
+ end
1963
+
1964
+ # GetDiagnoseSettings返回参数结构体
1965
+ class GetDiagnoseSettingsResponse < TencentCloud::Common::AbstractModel
1966
+ # @param DiagnoseJobMetas: 智能运维诊断项和元信息
1967
+ # @type DiagnoseJobMetas: Array
1968
+ # @param Status: 0:开启智能运维;-1:关闭智能运维
1969
+ # @type Status: Integer
1970
+ # @param CronTime: 智能运维每天定时巡检时间
1971
+ # @type CronTime: String
1972
+ # @param Count: 智能运维当天已手动触发诊断次数
1973
+ # @type Count: Integer
1974
+ # @param MaxCount: 智能运维每天最大可手动触发次数
1975
+ # @type MaxCount: Integer
1976
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1977
+ # @type RequestId: String
1978
+
1979
+ attr_accessor :DiagnoseJobMetas, :Status, :CronTime, :Count, :MaxCount, :RequestId
1980
+
1981
+ def initialize(diagnosejobmetas=nil, status=nil, crontime=nil, count=nil, maxcount=nil, requestid=nil)
1982
+ @DiagnoseJobMetas = diagnosejobmetas
1983
+ @Status = status
1984
+ @CronTime = crontime
1985
+ @Count = count
1986
+ @MaxCount = maxcount
1987
+ @RequestId = requestid
1988
+ end
1989
+
1990
+ def deserialize(params)
1991
+ unless params['DiagnoseJobMetas'].nil?
1992
+ @DiagnoseJobMetas = []
1993
+ params['DiagnoseJobMetas'].each do |i|
1994
+ diagnosejobmeta_tmp = DiagnoseJobMeta.new
1995
+ diagnosejobmeta_tmp.deserialize(i)
1996
+ @DiagnoseJobMetas << diagnosejobmeta_tmp
1997
+ end
1998
+ end
1999
+ @Status = params['Status']
2000
+ @CronTime = params['CronTime']
2001
+ @Count = params['Count']
2002
+ @MaxCount = params['MaxCount']
2003
+ @RequestId = params['RequestId']
2004
+ end
2005
+ end
2006
+
1616
2007
  # GetRequestTargetNodeTypes请求参数结构体
1617
2008
  class GetRequestTargetNodeTypesRequest < TencentCloud::Common::AbstractModel
1618
2009
  # @param InstanceId: 实例ID
@@ -2360,6 +2751,31 @@ module TencentCloud
2360
2751
  end
2361
2752
  end
2362
2753
 
2754
+ # 智能运维诊断参数
2755
+ class JobParam < TencentCloud::Common::AbstractModel
2756
+ # @param Jobs: 诊断项列表
2757
+ # 注意:此字段可能返回 null,表示取不到有效值。
2758
+ # @type Jobs: Array
2759
+ # @param Indices: 诊断索引
2760
+ # @type Indices: String
2761
+ # @param Interval: 历史诊断时间
2762
+ # @type Interval: Integer
2763
+
2764
+ attr_accessor :Jobs, :Indices, :Interval
2765
+
2766
+ def initialize(jobs=nil, indices=nil, interval=nil)
2767
+ @Jobs = jobs
2768
+ @Indices = indices
2769
+ @Interval = interval
2770
+ end
2771
+
2772
+ def deserialize(params)
2773
+ @Jobs = params['Jobs']
2774
+ @Indices = params['Indices']
2775
+ @Interval = params['Interval']
2776
+ end
2777
+ end
2778
+
2363
2779
  # OperationDetail使用此结构的数组描述新旧配置
2364
2780
  class KeyValue < TencentCloud::Common::AbstractModel
2365
2781
  # @param Key: 键
@@ -2488,6 +2904,30 @@ module TencentCloud
2488
2904
  end
2489
2905
  end
2490
2906
 
2907
+ # 智能运维日志详情
2908
+ class LogDetail < TencentCloud::Common::AbstractModel
2909
+ # @param Key: 日志异常名
2910
+ # @type Key: String
2911
+ # @param Advise: 日志异常处理建议
2912
+ # @type Advise: String
2913
+ # @param Count: 日志异常名出现次数
2914
+ # @type Count: Integer
2915
+
2916
+ attr_accessor :Key, :Advise, :Count
2917
+
2918
+ def initialize(key=nil, advise=nil, count=nil)
2919
+ @Key = key
2920
+ @Advise = advise
2921
+ @Count = count
2922
+ end
2923
+
2924
+ def deserialize(params)
2925
+ @Key = params['Key']
2926
+ @Advise = params['Advise']
2927
+ @Count = params['Count']
2928
+ end
2929
+ end
2930
+
2491
2931
  # Logstash绑定的ES集群信息
2492
2932
  class LogstashBindedES < TencentCloud::Common::AbstractModel
2493
2933
  # @param ESInstanceId: ES集群ID
@@ -2869,6 +3309,60 @@ module TencentCloud
2869
3309
  end
2870
3310
  end
2871
3311
 
3312
+ # 智能运维指标
3313
+ class Metric < TencentCloud::Common::AbstractModel
3314
+ # @param Dimensions: 指标维度族
3315
+ # @type Dimensions: Array
3316
+ # @param Value: 指标值
3317
+ # @type Value: Float
3318
+
3319
+ attr_accessor :Dimensions, :Value
3320
+
3321
+ def initialize(dimensions=nil, value=nil)
3322
+ @Dimensions = dimensions
3323
+ @Value = value
3324
+ end
3325
+
3326
+ def deserialize(params)
3327
+ unless params['Dimensions'].nil?
3328
+ @Dimensions = []
3329
+ params['Dimensions'].each do |i|
3330
+ dimension_tmp = Dimension.new
3331
+ dimension_tmp.deserialize(i)
3332
+ @Dimensions << dimension_tmp
3333
+ end
3334
+ end
3335
+ @Value = params['Value']
3336
+ end
3337
+ end
3338
+
3339
+ # 智能运维指标详情
3340
+ class MetricDetail < TencentCloud::Common::AbstractModel
3341
+ # @param Key: 指标详情名
3342
+ # @type Key: String
3343
+ # @param Metrics: 指标详情值
3344
+ # @type Metrics: Array
3345
+
3346
+ attr_accessor :Key, :Metrics
3347
+
3348
+ def initialize(key=nil, metrics=nil)
3349
+ @Key = key
3350
+ @Metrics = metrics
3351
+ end
3352
+
3353
+ def deserialize(params)
3354
+ @Key = params['Key']
3355
+ unless params['Metrics'].nil?
3356
+ @Metrics = []
3357
+ params['Metrics'].each do |i|
3358
+ metric_tmp = Metric.new
3359
+ metric_tmp.deserialize(i)
3360
+ @Metrics << metric_tmp
3361
+ end
3362
+ end
3363
+ end
3364
+ end
3365
+
2872
3366
  # ModifyEsVipSecurityGroup请求参数结构体
2873
3367
  class ModifyEsVipSecurityGroupRequest < TencentCloud::Common::AbstractModel
2874
3368
  # @param InstanceId: es集群的实例id
@@ -3486,6 +3980,30 @@ module TencentCloud
3486
3980
  end
3487
3981
  end
3488
3982
 
3983
+ # 智能运维集群配置详情
3984
+ class SettingDetail < TencentCloud::Common::AbstractModel
3985
+ # @param Key: 配置key
3986
+ # @type Key: String
3987
+ # @param Value: 配置当前值
3988
+ # @type Value: String
3989
+ # @param Advise: 配置处理建议
3990
+ # @type Advise: String
3991
+
3992
+ attr_accessor :Key, :Value, :Advise
3993
+
3994
+ def initialize(key=nil, value=nil, advise=nil)
3995
+ @Key = key
3996
+ @Value = value
3997
+ @Advise = advise
3998
+ end
3999
+
4000
+ def deserialize(params)
4001
+ @Key = params['Key']
4002
+ @Value = params['Value']
4003
+ @Advise = params['Advise']
4004
+ end
4005
+ end
4006
+
3489
4007
  # StartLogstashPipelines请求参数结构体
3490
4008
  class StartLogstashPipelinesRequest < TencentCloud::Common::AbstractModel
3491
4009
  # @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.686
4
+ version: 3.0.687
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-27 00:00:00.000000000 Z
11
+ date: 2023-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common