tencentcloud-sdk-es 3.0.884 → 3.0.886
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180416/client.rb +1 -0
- data/lib/v20180416/models.rb +72 -13
- 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: 19effb9cb47adcb66e724b6d9282129c66b6c6bc
|
4
|
+
data.tar.gz: 7808f3326c8de22a0079a98c970dd4fa7ddab05f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ca1bd65ca58e9615ee16b634e45e29ea35666fac652a12bd731dce121bad738a1811f89eecc9be9eafe5f458b4a5c30391483490badac8b69c958e7cf67db01
|
7
|
+
data.tar.gz: fd05863231a1f14739e4f2989628c152820da70dd5df50d219eafb8981469d3c80a426d99e299dc467e7078cb43237b18353d84bf2ed7d58efa197e9bb8ee7ee
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.886
|
data/lib/v20180416/client.rb
CHANGED
@@ -630,6 +630,7 @@ module TencentCloud
|
|
630
630
|
end
|
631
631
|
|
632
632
|
# 获取serverless实例对应指标,获取space维度时不需要传入indexid,获取index时不需要传入spaceid
|
633
|
+
# 获取一段时间时间范围内的指标数据
|
633
634
|
|
634
635
|
# @param request: Request instance for DescribeServerlessMetrics.
|
635
636
|
# @type request: :class:`Tencentcloud::es::V20180416::DescribeServerlessMetricsRequest`
|
data/lib/v20180416/models.rb
CHANGED
@@ -880,15 +880,18 @@ module TencentCloud
|
|
880
880
|
# @type KibanaWhiteIpList: Array
|
881
881
|
# @param ZoneId: 空间id
|
882
882
|
# @type ZoneId: Integer
|
883
|
+
# @param TagList: 标签信息
|
884
|
+
# @type TagList: Array
|
883
885
|
|
884
|
-
attr_accessor :VpcInfo, :SpaceName, :Zone, :KibanaWhiteIpList, :ZoneId
|
886
|
+
attr_accessor :VpcInfo, :SpaceName, :Zone, :KibanaWhiteIpList, :ZoneId, :TagList
|
885
887
|
|
886
|
-
def initialize(vpcinfo=nil, spacename=nil, zone=nil, kibanawhiteiplist=nil, zoneid=nil)
|
888
|
+
def initialize(vpcinfo=nil, spacename=nil, zone=nil, kibanawhiteiplist=nil, zoneid=nil, taglist=nil)
|
887
889
|
@VpcInfo = vpcinfo
|
888
890
|
@SpaceName = spacename
|
889
891
|
@Zone = zone
|
890
892
|
@KibanaWhiteIpList = kibanawhiteiplist
|
891
893
|
@ZoneId = zoneid
|
894
|
+
@TagList = taglist
|
892
895
|
end
|
893
896
|
|
894
897
|
def deserialize(params)
|
@@ -904,6 +907,14 @@ module TencentCloud
|
|
904
907
|
@Zone = params['Zone']
|
905
908
|
@KibanaWhiteIpList = params['KibanaWhiteIpList']
|
906
909
|
@ZoneId = params['ZoneId']
|
910
|
+
unless params['TagList'].nil?
|
911
|
+
@TagList = []
|
912
|
+
params['TagList'].each do |i|
|
913
|
+
taginfo_tmp = TagInfo.new
|
914
|
+
taginfo_tmp.deserialize(i)
|
915
|
+
@TagList << taginfo_tmp
|
916
|
+
end
|
917
|
+
end
|
907
918
|
end
|
908
919
|
end
|
909
920
|
|
@@ -2092,21 +2103,25 @@ module TencentCloud
|
|
2092
2103
|
# @type SpaceId: String
|
2093
2104
|
# @param IndexId: index索引id
|
2094
2105
|
# @type IndexId: String
|
2095
|
-
# @param MetricType: 指标类型,暂时只支持Storage
|
2106
|
+
# @param MetricType: 指标类型,暂时只支持Storage(存储大小),AllMetric(所有存储指标:索引流量、存储大小、文档数量、读请求和写请求)
|
2096
2107
|
# @type MetricType: Array
|
2108
|
+
# @param DurationType: 时间长度类型DurationType(1: 3小时, 2: 昨天1天,3: 今日0点到现在)
|
2109
|
+
# @type DurationType: Integer
|
2097
2110
|
|
2098
|
-
attr_accessor :SpaceId, :IndexId, :MetricType
|
2111
|
+
attr_accessor :SpaceId, :IndexId, :MetricType, :DurationType
|
2099
2112
|
|
2100
|
-
def initialize(spaceid=nil, indexid=nil, metrictype=nil)
|
2113
|
+
def initialize(spaceid=nil, indexid=nil, metrictype=nil, durationtype=nil)
|
2101
2114
|
@SpaceId = spaceid
|
2102
2115
|
@IndexId = indexid
|
2103
2116
|
@MetricType = metrictype
|
2117
|
+
@DurationType = durationtype
|
2104
2118
|
end
|
2105
2119
|
|
2106
2120
|
def deserialize(params)
|
2107
2121
|
@SpaceId = params['SpaceId']
|
2108
2122
|
@IndexId = params['IndexId']
|
2109
2123
|
@MetricType = params['MetricType']
|
2124
|
+
@DurationType = params['DurationType']
|
2110
2125
|
end
|
2111
2126
|
end
|
2112
2127
|
|
@@ -2114,18 +2129,34 @@ module TencentCloud
|
|
2114
2129
|
class DescribeServerlessMetricsResponse < TencentCloud::Common::AbstractModel
|
2115
2130
|
# @param Storage: storage指标值,单位byte
|
2116
2131
|
# @type Storage: Float
|
2132
|
+
# @param IndexTraffic: IndexTraffic指标值,单位byte
|
2133
|
+
# @type IndexTraffic: Float
|
2134
|
+
# @param ReadReqTimes: 读请求数,单位次数
|
2135
|
+
# @type ReadReqTimes: Integer
|
2136
|
+
# @param WriteReqTimes: 写请求数,单位次数
|
2137
|
+
# @type WriteReqTimes: Integer
|
2138
|
+
# @param DocCount: 文档数量,单位个数
|
2139
|
+
# @type DocCount: Integer
|
2117
2140
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2118
2141
|
# @type RequestId: String
|
2119
2142
|
|
2120
|
-
attr_accessor :Storage, :RequestId
|
2143
|
+
attr_accessor :Storage, :IndexTraffic, :ReadReqTimes, :WriteReqTimes, :DocCount, :RequestId
|
2121
2144
|
|
2122
|
-
def initialize(storage=nil, requestid=nil)
|
2145
|
+
def initialize(storage=nil, indextraffic=nil, readreqtimes=nil, writereqtimes=nil, doccount=nil, requestid=nil)
|
2123
2146
|
@Storage = storage
|
2147
|
+
@IndexTraffic = indextraffic
|
2148
|
+
@ReadReqTimes = readreqtimes
|
2149
|
+
@WriteReqTimes = writereqtimes
|
2150
|
+
@DocCount = doccount
|
2124
2151
|
@RequestId = requestid
|
2125
2152
|
end
|
2126
2153
|
|
2127
2154
|
def deserialize(params)
|
2128
2155
|
@Storage = params['Storage']
|
2156
|
+
@IndexTraffic = params['IndexTraffic']
|
2157
|
+
@ReadReqTimes = params['ReadReqTimes']
|
2158
|
+
@WriteReqTimes = params['WriteReqTimes']
|
2159
|
+
@DocCount = params['DocCount']
|
2129
2160
|
@RequestId = params['RequestId']
|
2130
2161
|
end
|
2131
2162
|
end
|
@@ -2213,10 +2244,12 @@ module TencentCloud
|
|
2213
2244
|
# @type Offset: Integer
|
2214
2245
|
# @param Limit: 分页条数
|
2215
2246
|
# @type Limit: Integer
|
2247
|
+
# @param TagList: 标签信息
|
2248
|
+
# @type TagList: Array
|
2216
2249
|
|
2217
|
-
attr_accessor :SpaceIds, :SpaceNames, :Order, :OrderBy, :VpcIds, :Offset, :Limit
|
2250
|
+
attr_accessor :SpaceIds, :SpaceNames, :Order, :OrderBy, :VpcIds, :Offset, :Limit, :TagList
|
2218
2251
|
|
2219
|
-
def initialize(spaceids=nil, spacenames=nil, order=nil, orderby=nil, vpcids=nil, offset=nil, limit=nil)
|
2252
|
+
def initialize(spaceids=nil, spacenames=nil, order=nil, orderby=nil, vpcids=nil, offset=nil, limit=nil, taglist=nil)
|
2220
2253
|
@SpaceIds = spaceids
|
2221
2254
|
@SpaceNames = spacenames
|
2222
2255
|
@Order = order
|
@@ -2224,6 +2257,7 @@ module TencentCloud
|
|
2224
2257
|
@VpcIds = vpcids
|
2225
2258
|
@Offset = offset
|
2226
2259
|
@Limit = limit
|
2260
|
+
@TagList = taglist
|
2227
2261
|
end
|
2228
2262
|
|
2229
2263
|
def deserialize(params)
|
@@ -2234,6 +2268,14 @@ module TencentCloud
|
|
2234
2268
|
@VpcIds = params['VpcIds']
|
2235
2269
|
@Offset = params['Offset']
|
2236
2270
|
@Limit = params['Limit']
|
2271
|
+
unless params['TagList'].nil?
|
2272
|
+
@TagList = []
|
2273
|
+
params['TagList'].each do |i|
|
2274
|
+
taginfo_tmp = TagInfo.new
|
2275
|
+
taginfo_tmp.deserialize(i)
|
2276
|
+
@TagList << taginfo_tmp
|
2277
|
+
end
|
2278
|
+
end
|
2237
2279
|
end
|
2238
2280
|
end
|
2239
2281
|
|
@@ -5344,10 +5386,13 @@ module TencentCloud
|
|
5344
5386
|
# @type StorageType: Integer
|
5345
5387
|
# @param TagList: 标签信息
|
5346
5388
|
# @type TagList: Array
|
5389
|
+
# @param IndexTraffic: 3782478.47
|
5390
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5391
|
+
# @type IndexTraffic: Float
|
5347
5392
|
|
5348
|
-
attr_accessor :AppId, :IndexName, :IndexDocs, :IndexStorage, :IndexCreateTime, :InstanceId, :IndexOptionsField, :IndexSettingsField, :IndexNetworkField, :KibanaUrl, :KibanaPrivateUrl, :IndexAccessUrl, :Status, :SpaceId, :SpaceName, :StorageType, :TagList
|
5393
|
+
attr_accessor :AppId, :IndexName, :IndexDocs, :IndexStorage, :IndexCreateTime, :InstanceId, :IndexOptionsField, :IndexSettingsField, :IndexNetworkField, :KibanaUrl, :KibanaPrivateUrl, :IndexAccessUrl, :Status, :SpaceId, :SpaceName, :StorageType, :TagList, :IndexTraffic
|
5349
5394
|
|
5350
|
-
def initialize(appid=nil, indexname=nil, indexdocs=nil, indexstorage=nil, indexcreatetime=nil, instanceid=nil, indexoptionsfield=nil, indexsettingsfield=nil, indexnetworkfield=nil, kibanaurl=nil, kibanaprivateurl=nil, indexaccessurl=nil, status=nil, spaceid=nil, spacename=nil, storagetype=nil, taglist=nil)
|
5395
|
+
def initialize(appid=nil, indexname=nil, indexdocs=nil, indexstorage=nil, indexcreatetime=nil, instanceid=nil, indexoptionsfield=nil, indexsettingsfield=nil, indexnetworkfield=nil, kibanaurl=nil, kibanaprivateurl=nil, indexaccessurl=nil, status=nil, spaceid=nil, spacename=nil, storagetype=nil, taglist=nil, indextraffic=nil)
|
5351
5396
|
@AppId = appid
|
5352
5397
|
@IndexName = indexname
|
5353
5398
|
@IndexDocs = indexdocs
|
@@ -5365,6 +5410,7 @@ module TencentCloud
|
|
5365
5410
|
@SpaceName = spacename
|
5366
5411
|
@StorageType = storagetype
|
5367
5412
|
@TagList = taglist
|
5413
|
+
@IndexTraffic = indextraffic
|
5368
5414
|
end
|
5369
5415
|
|
5370
5416
|
def deserialize(params)
|
@@ -5401,6 +5447,7 @@ module TencentCloud
|
|
5401
5447
|
@TagList << taginfo_tmp
|
5402
5448
|
end
|
5403
5449
|
end
|
5450
|
+
@IndexTraffic = params['IndexTraffic']
|
5404
5451
|
end
|
5405
5452
|
end
|
5406
5453
|
|
@@ -5549,10 +5596,13 @@ module TencentCloud
|
|
5549
5596
|
# @param ClusterType: 0
|
5550
5597
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5551
5598
|
# @type ClusterType: Integer
|
5599
|
+
# @param TagList: key:value
|
5600
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5601
|
+
# @type TagList: Array
|
5552
5602
|
|
5553
|
-
attr_accessor :SpaceId, :SpaceName, :Status, :CreateTime, :IndexCount, :KibanaUrl, :KibanaPrivateUrl, :IndexAccessUrl, :KibanaPublicAcl, :KibanaEmbedUrl, :DiDataList, :VpcInfo, :Region, :Zone, :EnableKibanaPublicAccess, :EnableKibanaPrivateAccess, :AppId, :KibanaLanguage, :ClusterType
|
5603
|
+
attr_accessor :SpaceId, :SpaceName, :Status, :CreateTime, :IndexCount, :KibanaUrl, :KibanaPrivateUrl, :IndexAccessUrl, :KibanaPublicAcl, :KibanaEmbedUrl, :DiDataList, :VpcInfo, :Region, :Zone, :EnableKibanaPublicAccess, :EnableKibanaPrivateAccess, :AppId, :KibanaLanguage, :ClusterType, :TagList
|
5554
5604
|
|
5555
|
-
def initialize(spaceid=nil, spacename=nil, status=nil, createtime=nil, indexcount=nil, kibanaurl=nil, kibanaprivateurl=nil, indexaccessurl=nil, kibanapublicacl=nil, kibanaembedurl=nil, didatalist=nil, vpcinfo=nil, region=nil, zone=nil, enablekibanapublicaccess=nil, enablekibanaprivateaccess=nil, appid=nil, kibanalanguage=nil, clustertype=nil)
|
5605
|
+
def initialize(spaceid=nil, spacename=nil, status=nil, createtime=nil, indexcount=nil, kibanaurl=nil, kibanaprivateurl=nil, indexaccessurl=nil, kibanapublicacl=nil, kibanaembedurl=nil, didatalist=nil, vpcinfo=nil, region=nil, zone=nil, enablekibanapublicaccess=nil, enablekibanaprivateaccess=nil, appid=nil, kibanalanguage=nil, clustertype=nil, taglist=nil)
|
5556
5606
|
@SpaceId = spaceid
|
5557
5607
|
@SpaceName = spacename
|
5558
5608
|
@Status = status
|
@@ -5572,6 +5622,7 @@ module TencentCloud
|
|
5572
5622
|
@AppId = appid
|
5573
5623
|
@KibanaLanguage = kibanalanguage
|
5574
5624
|
@ClusterType = clustertype
|
5625
|
+
@TagList = taglist
|
5575
5626
|
end
|
5576
5627
|
|
5577
5628
|
def deserialize(params)
|
@@ -5607,6 +5658,14 @@ module TencentCloud
|
|
5607
5658
|
@AppId = params['AppId']
|
5608
5659
|
@KibanaLanguage = params['KibanaLanguage']
|
5609
5660
|
@ClusterType = params['ClusterType']
|
5661
|
+
unless params['TagList'].nil?
|
5662
|
+
@TagList = []
|
5663
|
+
params['TagList'].each do |i|
|
5664
|
+
taginfo_tmp = TagInfo.new
|
5665
|
+
taginfo_tmp.deserialize(i)
|
5666
|
+
@TagList << taginfo_tmp
|
5667
|
+
end
|
5668
|
+
end
|
5610
5669
|
end
|
5611
5670
|
end
|
5612
5671
|
|
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.886
|
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-08-
|
11
|
+
date: 2024-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|