tencentcloud-sdk-es 3.0.805 → 3.0.806

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: 97551a1ca3acee6a12012cd17c2b8dabf3e14a92
4
- data.tar.gz: 2fe3146afc2b4088f8572cac6584805d1137ca0e
3
+ metadata.gz: 58074c9b6d5c9d31ef2b7348aa4b49e081ed3d9b
4
+ data.tar.gz: 657bd0105cd3562fae94acc2ea6ff34730d5db46
5
5
  SHA512:
6
- metadata.gz: a8c678419748f70208059ee2c4fee62b1c564164b8fbb6524f2bf95531b9f6ab359ffecd2c8bf4181aca147af9c061c0708e8a11d4c1f3f06c30cd4e807744f1
7
- data.tar.gz: d68b855b6cde28a4c7b662abdd6ca9d420cb47c1300d17a7c99bf9d6232e43e5e90ffc86858b32333aaf161640ddaf322d2ee30004bbce6491f300c66332f74e
6
+ metadata.gz: ff7dfc252d60838e6d390fcf50858493a07cc1ff463007f223800e8afe0d913b955b80c1986f71674769f97ecb4e72911fa3dd0d89a19c5da96e85c4624ad1d7
7
+ data.tar.gz: b948ecc87c22a12bf1955c3dfddd725765705b82d438baf3cc34d2ea45180ad7f72c48334f650f8876f0dc26dc16a2e4b014fd480d97803f06245b72016477b2
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.805
1
+ 3.0.806
@@ -605,6 +605,30 @@ module TencentCloud
605
605
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
606
606
  end
607
607
 
608
+ # Serverless获取索引列表
609
+
610
+ # @param request: Request instance for DescribeServerlessInstances.
611
+ # @type request: :class:`Tencentcloud::es::V20180416::DescribeServerlessInstancesRequest`
612
+ # @rtype: :class:`Tencentcloud::es::V20180416::DescribeServerlessInstancesResponse`
613
+ def DescribeServerlessInstances(request)
614
+ body = send_request('DescribeServerlessInstances', request.serialize)
615
+ response = JSON.parse(body)
616
+ if response['Response'].key?('Error') == false
617
+ model = DescribeServerlessInstancesResponse.new
618
+ model.deserialize(response['Response'])
619
+ model
620
+ else
621
+ code = response['Response']['Error']['Code']
622
+ message = response['Response']['Error']['Message']
623
+ reqid = response['Response']['RequestId']
624
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
625
+ end
626
+ rescue TencentCloud::Common::TencentCloudSDKException => e
627
+ raise e
628
+ rescue StandardError => e
629
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
630
+ end
631
+
608
632
  # 查看Serverless空间子用户
609
633
 
610
634
  # @param request: Request instance for DescribeServerlessSpaceUser.
@@ -1982,6 +1982,98 @@ module TencentCloud
1982
1982
  end
1983
1983
  end
1984
1984
 
1985
+ # DescribeServerlessInstances请求参数结构体
1986
+ class DescribeServerlessInstancesRequest < TencentCloud::Common::AbstractModel
1987
+ # @param InstanceIds: 索引集群ID
1988
+ # @type InstanceIds: Array
1989
+ # @param IndexNames: 索引名
1990
+ # @type IndexNames: Array
1991
+ # @param Offset: 分页起始位置
1992
+ # @type Offset: Integer
1993
+ # @param Limit: 一页展示数量
1994
+ # @type Limit: Integer
1995
+ # @param OrderBy: 排序字段,支持索引名:IndexName、索引存储量:IndexStorage、索引创建时间:IndexCreateTime
1996
+ # @type OrderBy: String
1997
+ # @param IndexStatusList: 过滤索引状态
1998
+ # @type IndexStatusList: Array
1999
+ # @param Order: 排序顺序,支持asc、desc,默认为desc
2000
+ # @type Order: String
2001
+ # @param SpaceIds: 索引空间ID列表
2002
+ # @type SpaceIds: Array
2003
+ # @param DiSourceTypes: 数据链路数据源类型
2004
+ # @type DiSourceTypes: Array
2005
+ # @param TagList: 标签信息
2006
+ # @type TagList: Array
2007
+
2008
+ attr_accessor :InstanceIds, :IndexNames, :Offset, :Limit, :OrderBy, :IndexStatusList, :Order, :SpaceIds, :DiSourceTypes, :TagList
2009
+
2010
+ def initialize(instanceids=nil, indexnames=nil, offset=nil, limit=nil, orderby=nil, indexstatuslist=nil, order=nil, spaceids=nil, disourcetypes=nil, taglist=nil)
2011
+ @InstanceIds = instanceids
2012
+ @IndexNames = indexnames
2013
+ @Offset = offset
2014
+ @Limit = limit
2015
+ @OrderBy = orderby
2016
+ @IndexStatusList = indexstatuslist
2017
+ @Order = order
2018
+ @SpaceIds = spaceids
2019
+ @DiSourceTypes = disourcetypes
2020
+ @TagList = taglist
2021
+ end
2022
+
2023
+ def deserialize(params)
2024
+ @InstanceIds = params['InstanceIds']
2025
+ @IndexNames = params['IndexNames']
2026
+ @Offset = params['Offset']
2027
+ @Limit = params['Limit']
2028
+ @OrderBy = params['OrderBy']
2029
+ @IndexStatusList = params['IndexStatusList']
2030
+ @Order = params['Order']
2031
+ @SpaceIds = params['SpaceIds']
2032
+ @DiSourceTypes = params['DiSourceTypes']
2033
+ unless params['TagList'].nil?
2034
+ @TagList = []
2035
+ params['TagList'].each do |i|
2036
+ taginfo_tmp = TagInfo.new
2037
+ taginfo_tmp.deserialize(i)
2038
+ @TagList << taginfo_tmp
2039
+ end
2040
+ end
2041
+ end
2042
+ end
2043
+
2044
+ # DescribeServerlessInstances返回参数结构体
2045
+ class DescribeServerlessInstancesResponse < TencentCloud::Common::AbstractModel
2046
+ # @param IndexMetaFields: 索引元数据字段
2047
+ # 注意:此字段可能返回 null,表示取不到有效值。
2048
+ # @type IndexMetaFields: Array
2049
+ # @param TotalCount: 查询总数
2050
+ # 注意:此字段可能返回 null,表示取不到有效值。
2051
+ # @type TotalCount: Integer
2052
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2053
+ # @type RequestId: String
2054
+
2055
+ attr_accessor :IndexMetaFields, :TotalCount, :RequestId
2056
+
2057
+ def initialize(indexmetafields=nil, totalcount=nil, requestid=nil)
2058
+ @IndexMetaFields = indexmetafields
2059
+ @TotalCount = totalcount
2060
+ @RequestId = requestid
2061
+ end
2062
+
2063
+ def deserialize(params)
2064
+ unless params['IndexMetaFields'].nil?
2065
+ @IndexMetaFields = []
2066
+ params['IndexMetaFields'].each do |i|
2067
+ serverlessindexmetafield_tmp = ServerlessIndexMetaField.new
2068
+ serverlessindexmetafield_tmp.deserialize(i)
2069
+ @IndexMetaFields << serverlessindexmetafield_tmp
2070
+ end
2071
+ end
2072
+ @TotalCount = params['TotalCount']
2073
+ @RequestId = params['RequestId']
2074
+ end
2075
+ end
2076
+
1985
2077
  # DescribeServerlessSpaceUser请求参数结构体
1986
2078
  class DescribeServerlessSpaceUserRequest < TencentCloud::Common::AbstractModel
1987
2079
  # @param SpaceId: 空间的ID
@@ -5126,6 +5218,204 @@ module TencentCloud
5126
5218
  end
5127
5219
  end
5128
5220
 
5221
+ # 索引元数据字段
5222
+ class ServerlessIndexMetaField < TencentCloud::Common::AbstractModel
5223
+ # @param AppId: 索引所属集群APP ID
5224
+ # 注意:此字段可能返回 null,表示取不到有效值。
5225
+ # @type AppId: Integer
5226
+ # @param IndexName: 索引名
5227
+ # 注意:此字段可能返回 null,表示取不到有效值。
5228
+ # @type IndexName: String
5229
+ # @param IndexDocs: 索引文档数
5230
+ # 注意:此字段可能返回 null,表示取不到有效值。
5231
+ # @type IndexDocs: Integer
5232
+ # @param IndexStorage: 索引存储大小,单位Byte
5233
+ # 注意:此字段可能返回 null,表示取不到有效值。
5234
+ # @type IndexStorage: Integer
5235
+ # @param IndexCreateTime: 索引创建时间
5236
+ # 注意:此字段可能返回 null,表示取不到有效值。
5237
+ # @type IndexCreateTime: String
5238
+ # @param InstanceId: 索引实例ID
5239
+ # 注意:此字段可能返回 null,表示取不到有效值。
5240
+ # @type InstanceId: String
5241
+ # @param IndexOptionsField: 索引自治字段
5242
+ # 注意:此字段可能返回 null,表示取不到有效值。
5243
+ # @type IndexOptionsField: :class:`Tencentcloud::Es.v20180416.models.ServerlessIndexOptionsField`
5244
+ # @param IndexSettingsField: 索引配置字段
5245
+ # 注意:此字段可能返回 null,表示取不到有效值。
5246
+ # @type IndexSettingsField: :class:`Tencentcloud::Es.v20180416.models.ServerlessIndexSettingsField`
5247
+ # @param IndexNetworkField: 索引所属连接相关信息
5248
+ # 注意:此字段可能返回 null,表示取不到有效值。
5249
+ # @type IndexNetworkField: :class:`Tencentcloud::Es.v20180416.models.ServerlessIndexNetworkField`
5250
+ # @param KibanaUrl: Kibana公网域名
5251
+ # 注意:此字段可能返回 null,表示取不到有效值。
5252
+ # @type KibanaUrl: String
5253
+ # @param KibanaPrivateUrl: Kibana内网域名
5254
+ # 注意:此字段可能返回 null,表示取不到有效值。
5255
+ # @type KibanaPrivateUrl: String
5256
+ # @param IndexAccessUrl: 索引内网访问地址
5257
+ # 注意:此字段可能返回 null,表示取不到有效值。
5258
+ # @type IndexAccessUrl: String
5259
+ # @param Status: 状态
5260
+ # 注意:此字段可能返回 null,表示取不到有效值。
5261
+ # @type Status: Integer
5262
+ # @param SpaceId: 索引空间ID
5263
+ # 注意:此字段可能返回 null,表示取不到有效值。
5264
+ # @type SpaceId: String
5265
+ # @param SpaceName: 索引空间名
5266
+ # 注意:此字段可能返回 null,表示取不到有效值。
5267
+ # @type SpaceName: String
5268
+ # @param StorageType: 存储类型
5269
+ # 注意:此字段可能返回 null,表示取不到有效值。
5270
+ # @type StorageType: Integer
5271
+ # @param TagList: 标签信息
5272
+ # @type TagList: Array
5273
+
5274
+ attr_accessor :AppId, :IndexName, :IndexDocs, :IndexStorage, :IndexCreateTime, :InstanceId, :IndexOptionsField, :IndexSettingsField, :IndexNetworkField, :KibanaUrl, :KibanaPrivateUrl, :IndexAccessUrl, :Status, :SpaceId, :SpaceName, :StorageType, :TagList
5275
+
5276
+ 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)
5277
+ @AppId = appid
5278
+ @IndexName = indexname
5279
+ @IndexDocs = indexdocs
5280
+ @IndexStorage = indexstorage
5281
+ @IndexCreateTime = indexcreatetime
5282
+ @InstanceId = instanceid
5283
+ @IndexOptionsField = indexoptionsfield
5284
+ @IndexSettingsField = indexsettingsfield
5285
+ @IndexNetworkField = indexnetworkfield
5286
+ @KibanaUrl = kibanaurl
5287
+ @KibanaPrivateUrl = kibanaprivateurl
5288
+ @IndexAccessUrl = indexaccessurl
5289
+ @Status = status
5290
+ @SpaceId = spaceid
5291
+ @SpaceName = spacename
5292
+ @StorageType = storagetype
5293
+ @TagList = taglist
5294
+ end
5295
+
5296
+ def deserialize(params)
5297
+ @AppId = params['AppId']
5298
+ @IndexName = params['IndexName']
5299
+ @IndexDocs = params['IndexDocs']
5300
+ @IndexStorage = params['IndexStorage']
5301
+ @IndexCreateTime = params['IndexCreateTime']
5302
+ @InstanceId = params['InstanceId']
5303
+ unless params['IndexOptionsField'].nil?
5304
+ @IndexOptionsField = ServerlessIndexOptionsField.new
5305
+ @IndexOptionsField.deserialize(params['IndexOptionsField'])
5306
+ end
5307
+ unless params['IndexSettingsField'].nil?
5308
+ @IndexSettingsField = ServerlessIndexSettingsField.new
5309
+ @IndexSettingsField.deserialize(params['IndexSettingsField'])
5310
+ end
5311
+ unless params['IndexNetworkField'].nil?
5312
+ @IndexNetworkField = ServerlessIndexNetworkField.new
5313
+ @IndexNetworkField.deserialize(params['IndexNetworkField'])
5314
+ end
5315
+ @KibanaUrl = params['KibanaUrl']
5316
+ @KibanaPrivateUrl = params['KibanaPrivateUrl']
5317
+ @IndexAccessUrl = params['IndexAccessUrl']
5318
+ @Status = params['Status']
5319
+ @SpaceId = params['SpaceId']
5320
+ @SpaceName = params['SpaceName']
5321
+ @StorageType = params['StorageType']
5322
+ unless params['TagList'].nil?
5323
+ @TagList = []
5324
+ params['TagList'].each do |i|
5325
+ taginfo_tmp = TagInfo.new
5326
+ taginfo_tmp.deserialize(i)
5327
+ @TagList << taginfo_tmp
5328
+ end
5329
+ end
5330
+ end
5331
+ end
5332
+
5333
+ # Serverless实例,网络、索引、kibana等连接信息
5334
+ class ServerlessIndexNetworkField < TencentCloud::Common::AbstractModel
5335
+ # @param Region: 地域
5336
+ # 注意:此字段可能返回 null,表示取不到有效值。
5337
+ # @type Region: String
5338
+ # @param Zone: 区域
5339
+ # 注意:此字段可能返回 null,表示取不到有效值。
5340
+ # @type Zone: String
5341
+ # @param VpcUid: vpc唯一ID
5342
+ # 注意:此字段可能返回 null,表示取不到有效值。
5343
+ # @type VpcUid: String
5344
+ # @param SubnetUid: 子网唯一ID
5345
+ # 注意:此字段可能返回 null,表示取不到有效值。
5346
+ # @type SubnetUid: String
5347
+ # @param Username: 用户名
5348
+ # 注意:此字段可能返回 null,表示取不到有效值。
5349
+ # @type Username: String
5350
+ # @param Password: 密码
5351
+ # 注意:此字段可能返回 null,表示取不到有效值。
5352
+ # @type Password: String
5353
+
5354
+ attr_accessor :Region, :Zone, :VpcUid, :SubnetUid, :Username, :Password
5355
+
5356
+ def initialize(region=nil, zone=nil, vpcuid=nil, subnetuid=nil, username=nil, password=nil)
5357
+ @Region = region
5358
+ @Zone = zone
5359
+ @VpcUid = vpcuid
5360
+ @SubnetUid = subnetuid
5361
+ @Username = username
5362
+ @Password = password
5363
+ end
5364
+
5365
+ def deserialize(params)
5366
+ @Region = params['Region']
5367
+ @Zone = params['Zone']
5368
+ @VpcUid = params['VpcUid']
5369
+ @SubnetUid = params['SubnetUid']
5370
+ @Username = params['Username']
5371
+ @Password = params['Password']
5372
+ end
5373
+ end
5374
+
5375
+ # 索引自治字段
5376
+ class ServerlessIndexOptionsField < TencentCloud::Common::AbstractModel
5377
+ # @param ExpireMaxAge: 过期时间
5378
+ # 注意:此字段可能返回 null,表示取不到有效值。
5379
+ # @type ExpireMaxAge: String
5380
+ # @param TimestampField: 时间分区字段
5381
+ # 注意:此字段可能返回 null,表示取不到有效值。
5382
+ # @type TimestampField: String
5383
+
5384
+ attr_accessor :ExpireMaxAge, :TimestampField
5385
+
5386
+ def initialize(expiremaxage=nil, timestampfield=nil)
5387
+ @ExpireMaxAge = expiremaxage
5388
+ @TimestampField = timestampfield
5389
+ end
5390
+
5391
+ def deserialize(params)
5392
+ @ExpireMaxAge = params['ExpireMaxAge']
5393
+ @TimestampField = params['TimestampField']
5394
+ end
5395
+ end
5396
+
5397
+ # 索引配置字段
5398
+ class ServerlessIndexSettingsField < TencentCloud::Common::AbstractModel
5399
+ # @param NumberOfShards: 索引主分片数
5400
+ # 注意:此字段可能返回 null,表示取不到有效值。
5401
+ # @type NumberOfShards: String
5402
+ # @param RefreshInterval: 索引刷新频率
5403
+ # 注意:此字段可能返回 null,表示取不到有效值。
5404
+ # @type RefreshInterval: String
5405
+
5406
+ attr_accessor :NumberOfShards, :RefreshInterval
5407
+
5408
+ def initialize(numberofshards=nil, refreshinterval=nil)
5409
+ @NumberOfShards = numberofshards
5410
+ @RefreshInterval = refreshinterval
5411
+ end
5412
+
5413
+ def deserialize(params)
5414
+ @NumberOfShards = params['NumberOfShards']
5415
+ @RefreshInterval = params['RefreshInterval']
5416
+ end
5417
+ end
5418
+
5129
5419
  # Serverless索引空间信息
5130
5420
  class ServerlessSpace < TencentCloud::Common::AbstractModel
5131
5421
  # @param SpaceId: Serverless索引空间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.805
4
+ version: 3.0.806
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-04-17 00:00:00.000000000 Z
11
+ date: 2024-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common