Class: TencentCloud::Ckafka::V20190819::MySQLConnectParam

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

Overview

MySQL连接源参数

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of MySQLConnectParam.



10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
# File 'lib/v20190819/models.rb', line 10015

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

Instance Attribute Details

#ClusterIdObject

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

Parameters:

  • Port:

    MySQL的连接port

  • UserName:

    MySQL连接源的用户名

  • Password:

    MySQL连接源的密码

  • Resource:

    MySQL连接源的实例资源

  • ServiceVip:

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

  • UniqVpcId:

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

  • IsUpdate:

    是否更新到关联的Datahub任务

  • ClusterId:

    当type为TDSQL_C_MYSQL时,必填

  • SelfBuilt:

    Mysql 连接源是否为自建集群



10013
10014
10015
# File 'lib/v20190819/models.rb', line 10013

def ClusterId
  @ClusterId
end

#IsUpdateObject

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

Parameters:

  • Port:

    MySQL的连接port

  • UserName:

    MySQL连接源的用户名

  • Password:

    MySQL连接源的密码

  • Resource:

    MySQL连接源的实例资源

  • ServiceVip:

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

  • UniqVpcId:

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

  • IsUpdate:

    是否更新到关联的Datahub任务

  • ClusterId:

    当type为TDSQL_C_MYSQL时,必填

  • SelfBuilt:

    Mysql 连接源是否为自建集群



10013
10014
10015
# File 'lib/v20190819/models.rb', line 10013

def IsUpdate
  @IsUpdate
end

#PasswordObject

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

Parameters:

  • Port:

    MySQL的连接port

  • UserName:

    MySQL连接源的用户名

  • Password:

    MySQL连接源的密码

  • Resource:

    MySQL连接源的实例资源

  • ServiceVip:

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

  • UniqVpcId:

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

  • IsUpdate:

    是否更新到关联的Datahub任务

  • ClusterId:

    当type为TDSQL_C_MYSQL时,必填

  • SelfBuilt:

    Mysql 连接源是否为自建集群



10013
10014
10015
# File 'lib/v20190819/models.rb', line 10013

def Password
  @Password
end

#PortObject

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

Parameters:

  • Port:

    MySQL的连接port

  • UserName:

    MySQL连接源的用户名

  • Password:

    MySQL连接源的密码

  • Resource:

    MySQL连接源的实例资源

  • ServiceVip:

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

  • UniqVpcId:

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

  • IsUpdate:

    是否更新到关联的Datahub任务

  • ClusterId:

    当type为TDSQL_C_MYSQL时,必填

  • SelfBuilt:

    Mysql 连接源是否为自建集群



10013
10014
10015
# File 'lib/v20190819/models.rb', line 10013

def Port
  @Port
end

#ResourceObject

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

Parameters:

  • Port:

    MySQL的连接port

  • UserName:

    MySQL连接源的用户名

  • Password:

    MySQL连接源的密码

  • Resource:

    MySQL连接源的实例资源

  • ServiceVip:

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

  • UniqVpcId:

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

  • IsUpdate:

    是否更新到关联的Datahub任务

  • ClusterId:

    当type为TDSQL_C_MYSQL时,必填

  • SelfBuilt:

    Mysql 连接源是否为自建集群



10013
10014
10015
# File 'lib/v20190819/models.rb', line 10013

def Resource
  @Resource
end

#SelfBuiltObject

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

Parameters:

  • Port:

    MySQL的连接port

  • UserName:

    MySQL连接源的用户名

  • Password:

    MySQL连接源的密码

  • Resource:

    MySQL连接源的实例资源

  • ServiceVip:

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

  • UniqVpcId:

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

  • IsUpdate:

    是否更新到关联的Datahub任务

  • ClusterId:

    当type为TDSQL_C_MYSQL时,必填

  • SelfBuilt:

    Mysql 连接源是否为自建集群



10013
10014
10015
# File 'lib/v20190819/models.rb', line 10013

def SelfBuilt
  @SelfBuilt
end

#ServiceVipObject

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

Parameters:

  • Port:

    MySQL的连接port

  • UserName:

    MySQL连接源的用户名

  • Password:

    MySQL连接源的密码

  • Resource:

    MySQL连接源的实例资源

  • ServiceVip:

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

  • UniqVpcId:

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

  • IsUpdate:

    是否更新到关联的Datahub任务

  • ClusterId:

    当type为TDSQL_C_MYSQL时,必填

  • SelfBuilt:

    Mysql 连接源是否为自建集群



10013
10014
10015
# File 'lib/v20190819/models.rb', line 10013

def ServiceVip
  @ServiceVip
end

#UniqVpcIdObject

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

Parameters:

  • Port:

    MySQL的连接port

  • UserName:

    MySQL连接源的用户名

  • Password:

    MySQL连接源的密码

  • Resource:

    MySQL连接源的实例资源

  • ServiceVip:

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

  • UniqVpcId:

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

  • IsUpdate:

    是否更新到关联的Datahub任务

  • ClusterId:

    当type为TDSQL_C_MYSQL时,必填

  • SelfBuilt:

    Mysql 连接源是否为自建集群



10013
10014
10015
# File 'lib/v20190819/models.rb', line 10013

def UniqVpcId
  @UniqVpcId
end

#UserNameObject

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

Parameters:

  • Port:

    MySQL的连接port

  • UserName:

    MySQL连接源的用户名

  • Password:

    MySQL连接源的密码

  • Resource:

    MySQL连接源的实例资源

  • ServiceVip:

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

  • UniqVpcId:

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

  • IsUpdate:

    是否更新到关联的Datahub任务

  • ClusterId:

    当type为TDSQL_C_MYSQL时,必填

  • SelfBuilt:

    Mysql 连接源是否为自建集群



10013
10014
10015
# File 'lib/v20190819/models.rb', line 10013

def UserName
  @UserName
end

Instance Method Details

#deserialize(params) ⇒ Object



10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
# File 'lib/v20190819/models.rb', line 10027

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