Class: TencentCloud::Cdb::V20170320::DescribeDBInstanceLogToCLSResponse

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

Overview

DescribeDBInstanceLogToCLS返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(errorlog = nil, slowlog = nil, requestid = nil) ⇒ DescribeDBInstanceLogToCLSResponse

Returns a new instance of DescribeDBInstanceLogToCLSResponse.



6270
6271
6272
6273
6274
# File 'lib/v20170320/models.rb', line 6270

def initialize(errorlog=nil, slowlog=nil, requestid=nil)
  @ErrorLog = errorlog
  @SlowLog = slowlog
  @RequestId = requestid
end

Instance Attribute Details

#ErrorLogObject

Parameters:

  • ErrorLog:

    错误日志投递CLS配置

  • SlowLog:

    慢日志投递CLS配置

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



6268
6269
6270
# File 'lib/v20170320/models.rb', line 6268

def ErrorLog
  @ErrorLog
end

#RequestIdObject

Parameters:

  • ErrorLog:

    错误日志投递CLS配置

  • SlowLog:

    慢日志投递CLS配置

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



6268
6269
6270
# File 'lib/v20170320/models.rb', line 6268

def RequestId
  @RequestId
end

#SlowLogObject

Parameters:

  • ErrorLog:

    错误日志投递CLS配置

  • SlowLog:

    慢日志投递CLS配置

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



6268
6269
6270
# File 'lib/v20170320/models.rb', line 6268

def SlowLog
  @SlowLog
end

Instance Method Details

#deserialize(params) ⇒ Object



6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
# File 'lib/v20170320/models.rb', line 6276

def deserialize(params)
  unless params['ErrorLog'].nil?
    @ErrorLog = LogToCLSConfig.new
    @ErrorLog.deserialize(params['ErrorLog'])
  end
  unless params['SlowLog'].nil?
    @SlowLog = LogToCLSConfig.new
    @SlowLog.deserialize(params['SlowLog'])
  end
  @RequestId = params['RequestId']
end