lib/v20180416/models.rb in tencentcloud-sdk-es-3.0.801 vs lib/v20180416/models.rb in tencentcloud-sdk-es-3.0.802
- old
+ new
@@ -765,18 +765,18 @@
end
end
# CreateServerlessInstance请求参数结构体
class CreateServerlessInstanceRequest < TencentCloud::Common::AbstractModel
+ # @param IndexName: 索引名,需以-AppId结尾
+ # @type IndexName: String
# @param Zone: 可用区
# @type Zone: String
# @param VpcId: 私有网络ID
# @type VpcId: String
# @param SubnetId: 子网ID
# @type SubnetId: String
- # @param IndexName: 索引名,需以-AppId结尾
- # @type IndexName: String
# @param IndexMetaJson: 创建的索引元数据JSON,如mappings、settings
# @type IndexMetaJson: String
# @param SpaceId: 创建索引的空间ID
# @type SpaceId: String
# @param Username: 创建索引的用户名
@@ -790,17 +790,17 @@
# @param TagList: 标签信息
# @type TagList: Array
# @param KibanaWhiteIpList: kibana公网白名单
# @type KibanaWhiteIpList: Array
- attr_accessor :Zone, :VpcId, :SubnetId, :IndexName, :IndexMetaJson, :SpaceId, :Username, :Password, :ServerlessDi, :AutoGetIp, :TagList, :KibanaWhiteIpList
+ attr_accessor :IndexName, :Zone, :VpcId, :SubnetId, :IndexMetaJson, :SpaceId, :Username, :Password, :ServerlessDi, :AutoGetIp, :TagList, :KibanaWhiteIpList
- def initialize(zone=nil, vpcid=nil, subnetid=nil, indexname=nil, indexmetajson=nil, spaceid=nil, username=nil, password=nil, serverlessdi=nil, autogetip=nil, taglist=nil, kibanawhiteiplist=nil)
+ def initialize(indexname=nil, zone=nil, vpcid=nil, subnetid=nil, indexmetajson=nil, spaceid=nil, username=nil, password=nil, serverlessdi=nil, autogetip=nil, taglist=nil, kibanawhiteiplist=nil)
+ @IndexName = indexname
@Zone = zone
@VpcId = vpcid
@SubnetId = subnetid
- @IndexName = indexname
@IndexMetaJson = indexmetajson
@SpaceId = spaceid
@Username = username
@Password = password
@ServerlessDi = serverlessdi
@@ -808,13 +808,13 @@
@TagList = taglist
@KibanaWhiteIpList = kibanawhiteiplist
end
def deserialize(params)
+ @IndexName = params['IndexName']
@Zone = params['Zone']
@VpcId = params['VpcId']
@SubnetId = params['SubnetId']
- @IndexName = params['IndexName']
@IndexMetaJson = params['IndexMetaJson']
@SpaceId = params['SpaceId']
@Username = params['Username']
@Password = params['Password']
unless params['ServerlessDi'].nil?