lib/v20190819/models.rb in tencentcloud-sdk-ckafka-3.0.416 vs lib/v20190819/models.rb in tencentcloud-sdk-ckafka-3.0.417

- old
+ new

@@ -1452,14 +1452,16 @@ # @type PostgreSQLConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.PostgreSQLConnectParam` # @param MariaDBConnectParam: MariaDB配置,Type为MARIADB时必填 # @type MariaDBConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.MariaDBConnectParam` # @param SQLServerConnectParam: SQLServer配置,Type为SQLSERVER时必填 # @type SQLServerConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.SQLServerConnectParam` + # @param DorisConnectParam: Doris 配置,Type为 DORIS 时必填 + # @type DorisConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.DorisConnectParam` - attr_accessor :ResourceName, :Type, :Description, :DtsConnectParam, :MongoDBConnectParam, :EsConnectParam, :ClickHouseConnectParam, :MySQLConnectParam, :PostgreSQLConnectParam, :MariaDBConnectParam, :SQLServerConnectParam + attr_accessor :ResourceName, :Type, :Description, :DtsConnectParam, :MongoDBConnectParam, :EsConnectParam, :ClickHouseConnectParam, :MySQLConnectParam, :PostgreSQLConnectParam, :MariaDBConnectParam, :SQLServerConnectParam, :DorisConnectParam - def initialize(resourcename=nil, type=nil, description=nil, dtsconnectparam=nil, mongodbconnectparam=nil, esconnectparam=nil, clickhouseconnectparam=nil, mysqlconnectparam=nil, postgresqlconnectparam=nil, mariadbconnectparam=nil, sqlserverconnectparam=nil) + def initialize(resourcename=nil, type=nil, description=nil, dtsconnectparam=nil, mongodbconnectparam=nil, esconnectparam=nil, clickhouseconnectparam=nil, mysqlconnectparam=nil, postgresqlconnectparam=nil, mariadbconnectparam=nil, sqlserverconnectparam=nil, dorisconnectparam=nil) @ResourceName = resourcename @Type = type @Description = description @DtsConnectParam = dtsconnectparam @MongoDBConnectParam = mongodbconnectparam @@ -1467,10 +1469,11 @@ @ClickHouseConnectParam = clickhouseconnectparam @MySQLConnectParam = mysqlconnectparam @PostgreSQLConnectParam = postgresqlconnectparam @MariaDBConnectParam = mariadbconnectparam @SQLServerConnectParam = sqlserverconnectparam + @DorisConnectParam = dorisconnectparam end def deserialize(params) @ResourceName = params['ResourceName'] @Type = params['Type'] @@ -1505,10 +1508,14 @@ end unless params['SQLServerConnectParam'].nil? @SQLServerConnectParam = SQLServerConnectParam.new @SQLServerConnectParam.deserialize(params['SQLServerConnectParam']) end + unless params['DorisConnectParam'].nil? + @DorisConnectParam = DorisConnectParam.new + @DorisConnectParam.deserialize(params['DorisConnectParam']) + end end end # CreateConnectResource返回参数结构体 class CreateConnectResourceResponse < TencentCloud::Common::AbstractModel @@ -3327,14 +3334,17 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type SQLServerConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.SQLServerConnectParam` # @param CtsdbConnectParam: Ctsdb配置,Type为CTSDB时返回 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CtsdbConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.CtsdbConnectParam` + # @param DorisConnectParam: Doris 配置,Type 为 DORIS 时返回 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type DorisConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.DorisConnectParam` - attr_accessor :ResourceId, :ResourceName, :Description, :Type, :Status, :CreateTime, :ErrorMessage, :CurrentStep, :DatahubTaskCount, :DtsConnectParam, :MongoDBConnectParam, :EsConnectParam, :ClickHouseConnectParam, :MySQLConnectParam, :PostgreSQLConnectParam, :MariaDBConnectParam, :SQLServerConnectParam, :CtsdbConnectParam + attr_accessor :ResourceId, :ResourceName, :Description, :Type, :Status, :CreateTime, :ErrorMessage, :CurrentStep, :DatahubTaskCount, :DtsConnectParam, :MongoDBConnectParam, :EsConnectParam, :ClickHouseConnectParam, :MySQLConnectParam, :PostgreSQLConnectParam, :MariaDBConnectParam, :SQLServerConnectParam, :CtsdbConnectParam, :DorisConnectParam - def initialize(resourceid=nil, resourcename=nil, description=nil, type=nil, status=nil, createtime=nil, errormessage=nil, currentstep=nil, datahubtaskcount=nil, dtsconnectparam=nil, mongodbconnectparam=nil, esconnectparam=nil, clickhouseconnectparam=nil, mysqlconnectparam=nil, postgresqlconnectparam=nil, mariadbconnectparam=nil, sqlserverconnectparam=nil, ctsdbconnectparam=nil) + def initialize(resourceid=nil, resourcename=nil, description=nil, type=nil, status=nil, createtime=nil, errormessage=nil, currentstep=nil, datahubtaskcount=nil, dtsconnectparam=nil, mongodbconnectparam=nil, esconnectparam=nil, clickhouseconnectparam=nil, mysqlconnectparam=nil, postgresqlconnectparam=nil, mariadbconnectparam=nil, sqlserverconnectparam=nil, ctsdbconnectparam=nil, dorisconnectparam=nil) @ResourceId = resourceid @ResourceName = resourcename @Description = description @Type = type @Status = status @@ -3349,10 +3359,11 @@ @MySQLConnectParam = mysqlconnectparam @PostgreSQLConnectParam = postgresqlconnectparam @MariaDBConnectParam = mariadbconnectparam @SQLServerConnectParam = sqlserverconnectparam @CtsdbConnectParam = ctsdbconnectparam + @DorisConnectParam = dorisconnectparam end def deserialize(params) @ResourceId = params['ResourceId'] @ResourceName = params['ResourceName'] @@ -3397,10 +3408,14 @@ end unless params['CtsdbConnectParam'].nil? @CtsdbConnectParam = CtsdbConnectParam.new @CtsdbConnectParam.deserialize(params['CtsdbConnectParam']) end + unless params['DorisConnectParam'].nil? + @DorisConnectParam = DorisConnectParam.new + @DorisConnectParam.deserialize(params['DorisConnectParam']) + end end end # DescribeConnectResource请求参数结构体 class DescribeConnectResourceRequest < TencentCloud::Common::AbstractModel @@ -3472,14 +3487,17 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type SQLServerConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.SQLServerConnectParam` # @param CtsdbConnectParam: Ctsdb配置,Type为CTSDB时返回 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CtsdbConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.CtsdbConnectParam` + # @param DorisConnectParam: Doris 配置,Type 为 DORIS 时返回 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type DorisConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.DorisConnectParam` - attr_accessor :ResourceId, :ResourceName, :Description, :Type, :Status, :CreateTime, :ErrorMessage, :CurrentStep, :StepList, :MySQLConnectParam, :PostgreSQLConnectParam, :DtsConnectParam, :MongoDBConnectParam, :EsConnectParam, :ClickHouseConnectParam, :MariaDBConnectParam, :SQLServerConnectParam, :CtsdbConnectParam + attr_accessor :ResourceId, :ResourceName, :Description, :Type, :Status, :CreateTime, :ErrorMessage, :CurrentStep, :StepList, :MySQLConnectParam, :PostgreSQLConnectParam, :DtsConnectParam, :MongoDBConnectParam, :EsConnectParam, :ClickHouseConnectParam, :MariaDBConnectParam, :SQLServerConnectParam, :CtsdbConnectParam, :DorisConnectParam - def initialize(resourceid=nil, resourcename=nil, description=nil, type=nil, status=nil, createtime=nil, errormessage=nil, currentstep=nil, steplist=nil, mysqlconnectparam=nil, postgresqlconnectparam=nil, dtsconnectparam=nil, mongodbconnectparam=nil, esconnectparam=nil, clickhouseconnectparam=nil, mariadbconnectparam=nil, sqlserverconnectparam=nil, ctsdbconnectparam=nil) + def initialize(resourceid=nil, resourcename=nil, description=nil, type=nil, status=nil, createtime=nil, errormessage=nil, currentstep=nil, steplist=nil, mysqlconnectparam=nil, postgresqlconnectparam=nil, dtsconnectparam=nil, mongodbconnectparam=nil, esconnectparam=nil, clickhouseconnectparam=nil, mariadbconnectparam=nil, sqlserverconnectparam=nil, ctsdbconnectparam=nil, dorisconnectparam=nil) @ResourceId = resourceid @ResourceName = resourcename @Description = description @Type = type @Status = status @@ -3494,10 +3512,11 @@ @EsConnectParam = esconnectparam @ClickHouseConnectParam = clickhouseconnectparam @MariaDBConnectParam = mariadbconnectparam @SQLServerConnectParam = sqlserverconnectparam @CtsdbConnectParam = ctsdbconnectparam + @DorisConnectParam = dorisconnectparam end def deserialize(params) @ResourceId = params['ResourceId'] @ResourceName = params['ResourceName'] @@ -3542,10 +3561,14 @@ end unless params['CtsdbConnectParam'].nil? @CtsdbConnectParam = CtsdbConnectParam.new @CtsdbConnectParam.deserialize(params['CtsdbConnectParam']) end + unless params['DorisConnectParam'].nil? + @DorisConnectParam = DorisConnectParam.new + @DorisConnectParam.deserialize(params['DorisConnectParam']) + end end end # DescribeConnectResource返回参数结构体 class DescribeConnectResourceResponse < TencentCloud::Common::AbstractModel @@ -4758,9 +4781,66 @@ unless params['Result'].nil? @Result = UserResponse.new @Result.deserialize(params['Result']) end @RequestId = params['RequestId'] + end + end + + # Doris 连接源参数 + class DorisConnectParam < TencentCloud::Common::AbstractModel + # @param Port: Doris jdbc 负载均衡连接 port,通常映射到 fe 的 9030 端口 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type Port: Integer + # @param UserName: Doris 连接源的用户名 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type UserName: String + # @param Password: Doris 连接源的密码 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type Password: String + # @param Resource: Doris 连接源的实例资源 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type Resource: String + # @param ServiceVip: Doris 连接源的实例vip,当为腾讯云实例时,必填 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type ServiceVip: String + # @param UniqVpcId: Doris 连接源的vpcId,当为腾讯云实例时,必填 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type UniqVpcId: String + # @param IsUpdate: 是否更新到关联的Datahub任务 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type IsUpdate: Boolean + # @param SelfBuilt: Doris 连接源是否为自建集群 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type SelfBuilt: Boolean + # @param BePort: Doris 的 http 负载均衡连接 port,通常映射到 be 的 8040 端口 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type BePort: Integer + + attr_accessor :Port, :UserName, :Password, :Resource, :ServiceVip, :UniqVpcId, :IsUpdate, :SelfBuilt, :BePort + + def initialize(port=nil, username=nil, password=nil, resource=nil, servicevip=nil, uniqvpcid=nil, isupdate=nil, selfbuilt=nil, beport=nil) + @Port = port + @UserName = username + @Password = password + @Resource = resource + @ServiceVip = servicevip + @UniqVpcId = uniqvpcid + @IsUpdate = isupdate + @SelfBuilt = selfbuilt + @BePort = beport + end + + def deserialize(params) + @Port = params['Port'] + @UserName = params['UserName'] + @Password = params['Password'] + @Resource = params['Resource'] + @ServiceVip = params['ServiceVip'] + @UniqVpcId = params['UniqVpcId'] + @IsUpdate = params['IsUpdate'] + @SelfBuilt = params['SelfBuilt'] + @BePort = params['BePort'] end end # dip失败消息写入cls的配置 class DropCls < TencentCloud::Common::AbstractModel