Class: TencentCloud::Ckafka::V20190819::ClickHouseConnectParam

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

Overview

ClickHouse连接源参数

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(port = nil, username = nil, password = nil, resource = nil, selfbuilt = nil, servicevip = nil, uniqvpcid = nil, isupdate = nil) ⇒ ClickHouseConnectParam

Returns a new instance of ClickHouseConnectParam.



758
759
760
761
762
763
764
765
766
767
# File 'lib/v20190819/models.rb', line 758

def initialize(port=nil, username=nil, password=nil, resource=nil, selfbuilt=nil, servicevip=nil, uniqvpcid=nil, isupdate=nil)
  @Port = port
  @UserName = username
  @Password = password
  @Resource = resource
  @SelfBuilt = selfbuilt
  @ServiceVip = servicevip
  @UniqVpcId = uniqvpcid
  @IsUpdate = isupdate
end

Instance Attribute Details

#IsUpdateObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Port:

    ClickHouse的连接port

  • UserName:

    ClickHouse连接源的用户名

  • Password:

    ClickHouse连接源的密码

  • Resource:

    ClickHouse连接源的实例资源

  • SelfBuilt:

    ClickHouse连接源是否为自建集群

  • ServiceVip:

    ClickHouse连接源的实例vip,当为腾讯云实例时,必填

  • UniqVpcId:

    ClickHouse连接源的vpcId,当为腾讯云实例时,必填

  • IsUpdate:

    是否更新到关联的Datahub任务



756
757
758
# File 'lib/v20190819/models.rb', line 756

def IsUpdate
  @IsUpdate
end

#PasswordObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Port:

    ClickHouse的连接port

  • UserName:

    ClickHouse连接源的用户名

  • Password:

    ClickHouse连接源的密码

  • Resource:

    ClickHouse连接源的实例资源

  • SelfBuilt:

    ClickHouse连接源是否为自建集群

  • ServiceVip:

    ClickHouse连接源的实例vip,当为腾讯云实例时,必填

  • UniqVpcId:

    ClickHouse连接源的vpcId,当为腾讯云实例时,必填

  • IsUpdate:

    是否更新到关联的Datahub任务



756
757
758
# File 'lib/v20190819/models.rb', line 756

def Password
  @Password
end

#PortObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Port:

    ClickHouse的连接port

  • UserName:

    ClickHouse连接源的用户名

  • Password:

    ClickHouse连接源的密码

  • Resource:

    ClickHouse连接源的实例资源

  • SelfBuilt:

    ClickHouse连接源是否为自建集群

  • ServiceVip:

    ClickHouse连接源的实例vip,当为腾讯云实例时,必填

  • UniqVpcId:

    ClickHouse连接源的vpcId,当为腾讯云实例时,必填

  • IsUpdate:

    是否更新到关联的Datahub任务



756
757
758
# File 'lib/v20190819/models.rb', line 756

def Port
  @Port
end

#ResourceObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Port:

    ClickHouse的连接port

  • UserName:

    ClickHouse连接源的用户名

  • Password:

    ClickHouse连接源的密码

  • Resource:

    ClickHouse连接源的实例资源

  • SelfBuilt:

    ClickHouse连接源是否为自建集群

  • ServiceVip:

    ClickHouse连接源的实例vip,当为腾讯云实例时,必填

  • UniqVpcId:

    ClickHouse连接源的vpcId,当为腾讯云实例时,必填

  • IsUpdate:

    是否更新到关联的Datahub任务



756
757
758
# File 'lib/v20190819/models.rb', line 756

def Resource
  @Resource
end

#SelfBuiltObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Port:

    ClickHouse的连接port

  • UserName:

    ClickHouse连接源的用户名

  • Password:

    ClickHouse连接源的密码

  • Resource:

    ClickHouse连接源的实例资源

  • SelfBuilt:

    ClickHouse连接源是否为自建集群

  • ServiceVip:

    ClickHouse连接源的实例vip,当为腾讯云实例时,必填

  • UniqVpcId:

    ClickHouse连接源的vpcId,当为腾讯云实例时,必填

  • IsUpdate:

    是否更新到关联的Datahub任务



756
757
758
# File 'lib/v20190819/models.rb', line 756

def SelfBuilt
  @SelfBuilt
end

#ServiceVipObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Port:

    ClickHouse的连接port

  • UserName:

    ClickHouse连接源的用户名

  • Password:

    ClickHouse连接源的密码

  • Resource:

    ClickHouse连接源的实例资源

  • SelfBuilt:

    ClickHouse连接源是否为自建集群

  • ServiceVip:

    ClickHouse连接源的实例vip,当为腾讯云实例时,必填

  • UniqVpcId:

    ClickHouse连接源的vpcId,当为腾讯云实例时,必填

  • IsUpdate:

    是否更新到关联的Datahub任务



756
757
758
# File 'lib/v20190819/models.rb', line 756

def ServiceVip
  @ServiceVip
end

#UniqVpcIdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Port:

    ClickHouse的连接port

  • UserName:

    ClickHouse连接源的用户名

  • Password:

    ClickHouse连接源的密码

  • Resource:

    ClickHouse连接源的实例资源

  • SelfBuilt:

    ClickHouse连接源是否为自建集群

  • ServiceVip:

    ClickHouse连接源的实例vip,当为腾讯云实例时,必填

  • UniqVpcId:

    ClickHouse连接源的vpcId,当为腾讯云实例时,必填

  • IsUpdate:

    是否更新到关联的Datahub任务



756
757
758
# File 'lib/v20190819/models.rb', line 756

def UniqVpcId
  @UniqVpcId
end

#UserNameObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Port:

    ClickHouse的连接port

  • UserName:

    ClickHouse连接源的用户名

  • Password:

    ClickHouse连接源的密码

  • Resource:

    ClickHouse连接源的实例资源

  • SelfBuilt:

    ClickHouse连接源是否为自建集群

  • ServiceVip:

    ClickHouse连接源的实例vip,当为腾讯云实例时,必填

  • UniqVpcId:

    ClickHouse连接源的vpcId,当为腾讯云实例时,必填

  • IsUpdate:

    是否更新到关联的Datahub任务



756
757
758
# File 'lib/v20190819/models.rb', line 756

def UserName
  @UserName
end

Instance Method Details

#deserialize(params) ⇒ Object



769
770
771
772
773
774
775
776
777
778
# File 'lib/v20190819/models.rb', line 769

def deserialize(params)
  @Port = params['Port']
  @UserName = params['UserName']
  @Password = params['Password']
  @Resource = params['Resource']
  @SelfBuilt = params['SelfBuilt']
  @ServiceVip = params['ServiceVip']
  @UniqVpcId = params['UniqVpcId']
  @IsUpdate = params['IsUpdate']
end