tencentcloud-sdk-es 3.0.901 → 3.0.903

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: 31a657e408c99bdf696397c2264fa74e2abf15c8
4
- data.tar.gz: 421454d89e49c82e9412561a924dcb9f9f1c4775
3
+ metadata.gz: cd48681eb37e2666a5e18d813df4ad2e15937259
4
+ data.tar.gz: 69e0e49f6d64a7e1b224d625ea6d546f9043e615
5
5
  SHA512:
6
- metadata.gz: 39e66242744aeb9e9871fa9ddedf2038b14196283c570c529ef471ec3406e915145f5479475d8d32d23d8e3668012d61d13d9c0e2c15051d4c83fb5428113fbd
7
- data.tar.gz: 684fff607e6e645fc12fcb1c10070d14e19e49d7d920e723a864050ecaef467574cf31ed372e14eb1e606462588eba760e4e7a99a1dec6f0b08c949b55c59d53
6
+ metadata.gz: e3df653222ce6682f9f68d49c9cf2c2220a4706458d20dc39cd69a69bdbc88b093237872b07f4334cdbd51744c0d0a86c81e63c60c7bef7eb95a8f73ef8f9262
7
+ data.tar.gz: 9d638e43ae60abb8f0cca08fdf92385e462474ace008f89174685331c7bec0e2c542f68afc756897a9f3cb88d71f46b21d71048ca2eb12385ab5050b511cdf47
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.901
1
+ 3.0.903
@@ -702,6 +702,30 @@ module TencentCloud
702
702
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
703
703
  end
704
704
 
705
+ # space维度的kibana获取登录token
706
+
707
+ # @param request: Request instance for DescribeSpaceKibanaTools.
708
+ # @type request: :class:`Tencentcloud::es::V20180416::DescribeSpaceKibanaToolsRequest`
709
+ # @rtype: :class:`Tencentcloud::es::V20180416::DescribeSpaceKibanaToolsResponse`
710
+ def DescribeSpaceKibanaTools(request)
711
+ body = send_request('DescribeSpaceKibanaTools', request.serialize)
712
+ response = JSON.parse(body)
713
+ if response['Response'].key?('Error') == false
714
+ model = DescribeSpaceKibanaToolsResponse.new
715
+ model.deserialize(response['Response'])
716
+ model
717
+ else
718
+ code = response['Response']['Error']['Code']
719
+ message = response['Response']['Error']['Message']
720
+ reqid = response['Response']['RequestId']
721
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
722
+ end
723
+ rescue TencentCloud::Common::TencentCloudSDKException => e
724
+ raise e
725
+ rescue StandardError => e
726
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
727
+ end
728
+
705
729
  # 查询快照信息接口
706
730
 
707
731
  # @param request: Request instance for DescribeUserCosSnapshotList.
@@ -2111,14 +2111,17 @@ module TencentCloud
2111
2111
  # @type MetricType: Array
2112
2112
  # @param DurationType: 时间长度类型DurationType(1: 3小时, 2: 昨天1天,3: 今日0点到现在)
2113
2113
  # @type DurationType: Integer
2114
+ # @param BatchIndexList: 索引数据
2115
+ # @type BatchIndexList: Array
2114
2116
 
2115
- attr_accessor :SpaceId, :IndexId, :MetricType, :DurationType
2117
+ attr_accessor :SpaceId, :IndexId, :MetricType, :DurationType, :BatchIndexList
2116
2118
 
2117
- def initialize(spaceid=nil, indexid=nil, metrictype=nil, durationtype=nil)
2119
+ def initialize(spaceid=nil, indexid=nil, metrictype=nil, durationtype=nil, batchindexlist=nil)
2118
2120
  @SpaceId = spaceid
2119
2121
  @IndexId = indexid
2120
2122
  @MetricType = metrictype
2121
2123
  @DurationType = durationtype
2124
+ @BatchIndexList = batchindexlist
2122
2125
  end
2123
2126
 
2124
2127
  def deserialize(params)
@@ -2126,6 +2129,7 @@ module TencentCloud
2126
2129
  @IndexId = params['IndexId']
2127
2130
  @MetricType = params['MetricType']
2128
2131
  @DurationType = params['DurationType']
2132
+ @BatchIndexList = params['BatchIndexList']
2129
2133
  end
2130
2134
  end
2131
2135
 
@@ -2141,17 +2145,21 @@ module TencentCloud
2141
2145
  # @type WriteReqTimes: Integer
2142
2146
  # @param DocCount: 文档数量,单位个数
2143
2147
  # @type DocCount: Integer
2148
+ # @param MetricMapList: 指标数据数据
2149
+ # 注意:此字段可能返回 null,表示取不到有效值。
2150
+ # @type MetricMapList: Array
2144
2151
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2145
2152
  # @type RequestId: String
2146
2153
 
2147
- attr_accessor :Storage, :IndexTraffic, :ReadReqTimes, :WriteReqTimes, :DocCount, :RequestId
2154
+ attr_accessor :Storage, :IndexTraffic, :ReadReqTimes, :WriteReqTimes, :DocCount, :MetricMapList, :RequestId
2148
2155
 
2149
- def initialize(storage=nil, indextraffic=nil, readreqtimes=nil, writereqtimes=nil, doccount=nil, requestid=nil)
2156
+ def initialize(storage=nil, indextraffic=nil, readreqtimes=nil, writereqtimes=nil, doccount=nil, metricmaplist=nil, requestid=nil)
2150
2157
  @Storage = storage
2151
2158
  @IndexTraffic = indextraffic
2152
2159
  @ReadReqTimes = readreqtimes
2153
2160
  @WriteReqTimes = writereqtimes
2154
2161
  @DocCount = doccount
2162
+ @MetricMapList = metricmaplist
2155
2163
  @RequestId = requestid
2156
2164
  end
2157
2165
 
@@ -2161,6 +2169,14 @@ module TencentCloud
2161
2169
  @ReadReqTimes = params['ReadReqTimes']
2162
2170
  @WriteReqTimes = params['WriteReqTimes']
2163
2171
  @DocCount = params['DocCount']
2172
+ unless params['MetricMapList'].nil?
2173
+ @MetricMapList = []
2174
+ params['MetricMapList'].each do |i|
2175
+ metricmapbyindexid_tmp = MetricMapByIndexId.new
2176
+ metricmapbyindexid_tmp.deserialize(i)
2177
+ @MetricMapList << metricmapbyindexid_tmp
2178
+ end
2179
+ end
2164
2180
  @RequestId = params['RequestId']
2165
2181
  end
2166
2182
  end
@@ -2316,6 +2332,46 @@ module TencentCloud
2316
2332
  end
2317
2333
  end
2318
2334
 
2335
+ # DescribeSpaceKibanaTools请求参数结构体
2336
+ class DescribeSpaceKibanaToolsRequest < TencentCloud::Common::AbstractModel
2337
+ # @param SpaceId: space的ID
2338
+ # @type SpaceId: String
2339
+
2340
+ attr_accessor :SpaceId
2341
+
2342
+ def initialize(spaceid=nil)
2343
+ @SpaceId = spaceid
2344
+ end
2345
+
2346
+ def deserialize(params)
2347
+ @SpaceId = params['SpaceId']
2348
+ end
2349
+ end
2350
+
2351
+ # DescribeSpaceKibanaTools返回参数结构体
2352
+ class DescribeSpaceKibanaToolsResponse < TencentCloud::Common::AbstractModel
2353
+ # @param KibanaToken: 该token用于登录内嵌kibana
2354
+ # @type KibanaToken: String
2355
+ # @param ExpireTime: token的过期时间
2356
+ # @type ExpireTime: Integer
2357
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2358
+ # @type RequestId: String
2359
+
2360
+ attr_accessor :KibanaToken, :ExpireTime, :RequestId
2361
+
2362
+ def initialize(kibanatoken=nil, expiretime=nil, requestid=nil)
2363
+ @KibanaToken = kibanatoken
2364
+ @ExpireTime = expiretime
2365
+ @RequestId = requestid
2366
+ end
2367
+
2368
+ def deserialize(params)
2369
+ @KibanaToken = params['KibanaToken']
2370
+ @ExpireTime = params['ExpireTime']
2371
+ @RequestId = params['RequestId']
2372
+ end
2373
+ end
2374
+
2319
2375
  # DescribeUserCosSnapshotList请求参数结构体
2320
2376
  class DescribeUserCosSnapshotListRequest < TencentCloud::Common::AbstractModel
2321
2377
  # @param CosBucket: cos桶名
@@ -4666,6 +4722,38 @@ module TencentCloud
4666
4722
  end
4667
4723
  end
4668
4724
 
4725
+ # 全部指标数据
4726
+ class MetricAllData < TencentCloud::Common::AbstractModel
4727
+ # @param IndexTraffic: 索引流量
4728
+ # @type IndexTraffic: Float
4729
+ # @param Storage: 存储大小
4730
+ # @type Storage: Float
4731
+ # @param ReadReqTimes: 读请求次数
4732
+ # @type ReadReqTimes: Integer
4733
+ # @param WriteReqTimes: 写请求次数
4734
+ # @type WriteReqTimes: Integer
4735
+ # @param DocCount: 文档数量
4736
+ # @type DocCount: Integer
4737
+
4738
+ attr_accessor :IndexTraffic, :Storage, :ReadReqTimes, :WriteReqTimes, :DocCount
4739
+
4740
+ def initialize(indextraffic=nil, storage=nil, readreqtimes=nil, writereqtimes=nil, doccount=nil)
4741
+ @IndexTraffic = indextraffic
4742
+ @Storage = storage
4743
+ @ReadReqTimes = readreqtimes
4744
+ @WriteReqTimes = writereqtimes
4745
+ @DocCount = doccount
4746
+ end
4747
+
4748
+ def deserialize(params)
4749
+ @IndexTraffic = params['IndexTraffic']
4750
+ @Storage = params['Storage']
4751
+ @ReadReqTimes = params['ReadReqTimes']
4752
+ @WriteReqTimes = params['WriteReqTimes']
4753
+ @DocCount = params['DocCount']
4754
+ end
4755
+ end
4756
+
4669
4757
  # 智能运维指标详情
4670
4758
  class MetricDetail < TencentCloud::Common::AbstractModel
4671
4759
  # @param Key: 指标详情名
@@ -4693,6 +4781,29 @@ module TencentCloud
4693
4781
  end
4694
4782
  end
4695
4783
 
4784
+ # 指标数据map
4785
+ class MetricMapByIndexId < TencentCloud::Common::AbstractModel
4786
+ # @param IndexId: 实例id
4787
+ # @type IndexId: String
4788
+ # @param MetricAllData: 指标数据
4789
+ # @type MetricAllData: :class:`Tencentcloud::Es.v20180416.models.MetricAllData`
4790
+
4791
+ attr_accessor :IndexId, :MetricAllData
4792
+
4793
+ def initialize(indexid=nil, metricalldata=nil)
4794
+ @IndexId = indexid
4795
+ @MetricAllData = metricalldata
4796
+ end
4797
+
4798
+ def deserialize(params)
4799
+ @IndexId = params['IndexId']
4800
+ unless params['MetricAllData'].nil?
4801
+ @MetricAllData = MetricAllData.new
4802
+ @MetricAllData.deserialize(params['MetricAllData'])
4803
+ end
4804
+ end
4805
+ end
4806
+
4696
4807
  # ModifyEsVipSecurityGroup请求参数结构体
4697
4808
  class ModifyEsVipSecurityGroupRequest < TencentCloud::Common::AbstractModel
4698
4809
  # @param InstanceId: es集群的实例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.901
4
+ version: 3.0.903
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-09-08 00:00:00.000000000 Z
11
+ date: 2024-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common