Class: TencentCloud::Tcb::V20180608::CloudBaseEsInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180608/models.rb

Overview

es信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, secretname = nil, ip = nil, port = nil, index = nil, account = nil, password = nil) ⇒ CloudBaseEsInfo

Returns a new instance of CloudBaseEsInfo.



380
381
382
383
384
385
386
387
388
# File 'lib/v20180608/models.rb', line 380

def initialize(id=nil, secretname=nil, ip=nil, port=nil, index=nil, =nil, password=nil)
  @Id = id
  @SecretName = secretname
  @Ip = ip
  @Port = port
  @Index = index
  @Account = 
  @Password = password
end

Instance Attribute Details

#AccountObject

Parameters:

  • Id:

    es的id

  • SecretName:

    secret名字

  • Ip:

    ip地址

  • Port:

    端口

  • Index:

    索引

  • Account:

    用户名

  • Password:

    密码



378
379
380
# File 'lib/v20180608/models.rb', line 378

def Account
  @Account
end

#IdObject

Parameters:

  • Id:

    es的id

  • SecretName:

    secret名字

  • Ip:

    ip地址

  • Port:

    端口

  • Index:

    索引

  • Account:

    用户名

  • Password:

    密码



378
379
380
# File 'lib/v20180608/models.rb', line 378

def Id
  @Id
end

#IndexObject

Parameters:

  • Id:

    es的id

  • SecretName:

    secret名字

  • Ip:

    ip地址

  • Port:

    端口

  • Index:

    索引

  • Account:

    用户名

  • Password:

    密码



378
379
380
# File 'lib/v20180608/models.rb', line 378

def Index
  @Index
end

#IpObject

Parameters:

  • Id:

    es的id

  • SecretName:

    secret名字

  • Ip:

    ip地址

  • Port:

    端口

  • Index:

    索引

  • Account:

    用户名

  • Password:

    密码



378
379
380
# File 'lib/v20180608/models.rb', line 378

def Ip
  @Ip
end

#PasswordObject

Parameters:

  • Id:

    es的id

  • SecretName:

    secret名字

  • Ip:

    ip地址

  • Port:

    端口

  • Index:

    索引

  • Account:

    用户名

  • Password:

    密码



378
379
380
# File 'lib/v20180608/models.rb', line 378

def Password
  @Password
end

#PortObject

Parameters:

  • Id:

    es的id

  • SecretName:

    secret名字

  • Ip:

    ip地址

  • Port:

    端口

  • Index:

    索引

  • Account:

    用户名

  • Password:

    密码



378
379
380
# File 'lib/v20180608/models.rb', line 378

def Port
  @Port
end

#SecretNameObject

Parameters:

  • Id:

    es的id

  • SecretName:

    secret名字

  • Ip:

    ip地址

  • Port:

    端口

  • Index:

    索引

  • Account:

    用户名

  • Password:

    密码



378
379
380
# File 'lib/v20180608/models.rb', line 378

def SecretName
  @SecretName
end

Instance Method Details

#deserialize(params) ⇒ Object



390
391
392
393
394
395
396
397
398
# File 'lib/v20180608/models.rb', line 390

def deserialize(params)
  @Id = params['Id']
  @SecretName = params['SecretName']
  @Ip = params['Ip']
  @Port = params['Port']
  @Index = params['Index']
  @Account = params['Account']
  @Password = params['Password']
end