Class: TencentCloud::Dbbrain::V20210527::TaskInfo

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

Overview

展示 redis kill 会话任务状态。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(asyncrequestid = nil, instproxylist = nil, instproxycount = nil, createtime = nil, starttime = nil, taskstatus = nil, finishedproxylist = nil, failedproxylist = nil, endtime = nil, progress = nil, instanceid = nil) ⇒ TaskInfo

Returns a new instance of TaskInfo.



7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
# File 'lib/v20210527/models.rb', line 7735

def initialize(asyncrequestid=nil, instproxylist=nil, instproxycount=nil, createtime=nil, starttime=nil, taskstatus=nil, finishedproxylist=nil, failedproxylist=nil, endtime=nil, progress=nil, instanceid=nil)
  @AsyncRequestId = asyncrequestid
  @InstProxyList = instproxylist
  @InstProxyCount = instproxycount
  @CreateTime = createtime
  @StartTime = starttime
  @TaskStatus = taskstatus
  @FinishedProxyList = finishedproxylist
  @FailedProxyList = failedproxylist
  @EndTime = endtime
  @Progress = progress
  @InstanceId = instanceid
end

Instance Attribute Details

#AsyncRequestIdObject

Parameters:

  • AsyncRequestId:

    异步任务 ID。

  • InstProxyList:

    当前实例所有 proxy 列表。

  • InstProxyCount:

    当前实例所有 proxy 数量。

  • CreateTime:

    任务创建时间。

  • StartTime:

    任务启动时间。

  • TaskStatus:

    任务的状态,支持的取值包括:“created” - 新建;“chosen” - 待执行; “running” - 执行中;“failed” - 失败;“finished” - 已完成。

  • FinishedProxyList:

    完成 kill 任务的 proxyId。

  • FailedProxyList:

    kill 任务实行失败的 proxyId。

  • EndTime:

    任务结束时间。

  • Progress:

    任务执行进度。

  • InstanceId:

    实例 ID。



7733
7734
7735
# File 'lib/v20210527/models.rb', line 7733

def AsyncRequestId
  @AsyncRequestId
end

#CreateTimeObject

Parameters:

  • AsyncRequestId:

    异步任务 ID。

  • InstProxyList:

    当前实例所有 proxy 列表。

  • InstProxyCount:

    当前实例所有 proxy 数量。

  • CreateTime:

    任务创建时间。

  • StartTime:

    任务启动时间。

  • TaskStatus:

    任务的状态,支持的取值包括:“created” - 新建;“chosen” - 待执行; “running” - 执行中;“failed” - 失败;“finished” - 已完成。

  • FinishedProxyList:

    完成 kill 任务的 proxyId。

  • FailedProxyList:

    kill 任务实行失败的 proxyId。

  • EndTime:

    任务结束时间。

  • Progress:

    任务执行进度。

  • InstanceId:

    实例 ID。



7733
7734
7735
# File 'lib/v20210527/models.rb', line 7733

def CreateTime
  @CreateTime
end

#EndTimeObject

Parameters:

  • AsyncRequestId:

    异步任务 ID。

  • InstProxyList:

    当前实例所有 proxy 列表。

  • InstProxyCount:

    当前实例所有 proxy 数量。

  • CreateTime:

    任务创建时间。

  • StartTime:

    任务启动时间。

  • TaskStatus:

    任务的状态,支持的取值包括:“created” - 新建;“chosen” - 待执行; “running” - 执行中;“failed” - 失败;“finished” - 已完成。

  • FinishedProxyList:

    完成 kill 任务的 proxyId。

  • FailedProxyList:

    kill 任务实行失败的 proxyId。

  • EndTime:

    任务结束时间。

  • Progress:

    任务执行进度。

  • InstanceId:

    实例 ID。



7733
7734
7735
# File 'lib/v20210527/models.rb', line 7733

def EndTime
  @EndTime
end

#FailedProxyListObject

Parameters:

  • AsyncRequestId:

    异步任务 ID。

  • InstProxyList:

    当前实例所有 proxy 列表。

  • InstProxyCount:

    当前实例所有 proxy 数量。

  • CreateTime:

    任务创建时间。

  • StartTime:

    任务启动时间。

  • TaskStatus:

    任务的状态,支持的取值包括:“created” - 新建;“chosen” - 待执行; “running” - 执行中;“failed” - 失败;“finished” - 已完成。

  • FinishedProxyList:

    完成 kill 任务的 proxyId。

  • FailedProxyList:

    kill 任务实行失败的 proxyId。

  • EndTime:

    任务结束时间。

  • Progress:

    任务执行进度。

  • InstanceId:

    实例 ID。



7733
7734
7735
# File 'lib/v20210527/models.rb', line 7733

def FailedProxyList
  @FailedProxyList
end

#FinishedProxyListObject

Parameters:

  • AsyncRequestId:

    异步任务 ID。

  • InstProxyList:

    当前实例所有 proxy 列表。

  • InstProxyCount:

    当前实例所有 proxy 数量。

  • CreateTime:

    任务创建时间。

  • StartTime:

    任务启动时间。

  • TaskStatus:

    任务的状态,支持的取值包括:“created” - 新建;“chosen” - 待执行; “running” - 执行中;“failed” - 失败;“finished” - 已完成。

  • FinishedProxyList:

    完成 kill 任务的 proxyId。

  • FailedProxyList:

    kill 任务实行失败的 proxyId。

  • EndTime:

    任务结束时间。

  • Progress:

    任务执行进度。

  • InstanceId:

    实例 ID。



7733
7734
7735
# File 'lib/v20210527/models.rb', line 7733

def FinishedProxyList
  @FinishedProxyList
end

#InstanceIdObject

Parameters:

  • AsyncRequestId:

    异步任务 ID。

  • InstProxyList:

    当前实例所有 proxy 列表。

  • InstProxyCount:

    当前实例所有 proxy 数量。

  • CreateTime:

    任务创建时间。

  • StartTime:

    任务启动时间。

  • TaskStatus:

    任务的状态,支持的取值包括:“created” - 新建;“chosen” - 待执行; “running” - 执行中;“failed” - 失败;“finished” - 已完成。

  • FinishedProxyList:

    完成 kill 任务的 proxyId。

  • FailedProxyList:

    kill 任务实行失败的 proxyId。

  • EndTime:

    任务结束时间。

  • Progress:

    任务执行进度。

  • InstanceId:

    实例 ID。



7733
7734
7735
# File 'lib/v20210527/models.rb', line 7733

def InstanceId
  @InstanceId
end

#InstProxyCountObject

Parameters:

  • AsyncRequestId:

    异步任务 ID。

  • InstProxyList:

    当前实例所有 proxy 列表。

  • InstProxyCount:

    当前实例所有 proxy 数量。

  • CreateTime:

    任务创建时间。

  • StartTime:

    任务启动时间。

  • TaskStatus:

    任务的状态,支持的取值包括:“created” - 新建;“chosen” - 待执行; “running” - 执行中;“failed” - 失败;“finished” - 已完成。

  • FinishedProxyList:

    完成 kill 任务的 proxyId。

  • FailedProxyList:

    kill 任务实行失败的 proxyId。

  • EndTime:

    任务结束时间。

  • Progress:

    任务执行进度。

  • InstanceId:

    实例 ID。



7733
7734
7735
# File 'lib/v20210527/models.rb', line 7733

def InstProxyCount
  @InstProxyCount
end

#InstProxyListObject

Parameters:

  • AsyncRequestId:

    异步任务 ID。

  • InstProxyList:

    当前实例所有 proxy 列表。

  • InstProxyCount:

    当前实例所有 proxy 数量。

  • CreateTime:

    任务创建时间。

  • StartTime:

    任务启动时间。

  • TaskStatus:

    任务的状态,支持的取值包括:“created” - 新建;“chosen” - 待执行; “running” - 执行中;“failed” - 失败;“finished” - 已完成。

  • FinishedProxyList:

    完成 kill 任务的 proxyId。

  • FailedProxyList:

    kill 任务实行失败的 proxyId。

  • EndTime:

    任务结束时间。

  • Progress:

    任务执行进度。

  • InstanceId:

    实例 ID。



7733
7734
7735
# File 'lib/v20210527/models.rb', line 7733

def InstProxyList
  @InstProxyList
end

#ProgressObject

Parameters:

  • AsyncRequestId:

    异步任务 ID。

  • InstProxyList:

    当前实例所有 proxy 列表。

  • InstProxyCount:

    当前实例所有 proxy 数量。

  • CreateTime:

    任务创建时间。

  • StartTime:

    任务启动时间。

  • TaskStatus:

    任务的状态,支持的取值包括:“created” - 新建;“chosen” - 待执行; “running” - 执行中;“failed” - 失败;“finished” - 已完成。

  • FinishedProxyList:

    完成 kill 任务的 proxyId。

  • FailedProxyList:

    kill 任务实行失败的 proxyId。

  • EndTime:

    任务结束时间。

  • Progress:

    任务执行进度。

  • InstanceId:

    实例 ID。



7733
7734
7735
# File 'lib/v20210527/models.rb', line 7733

def Progress
  @Progress
end

#StartTimeObject

Parameters:

  • AsyncRequestId:

    异步任务 ID。

  • InstProxyList:

    当前实例所有 proxy 列表。

  • InstProxyCount:

    当前实例所有 proxy 数量。

  • CreateTime:

    任务创建时间。

  • StartTime:

    任务启动时间。

  • TaskStatus:

    任务的状态,支持的取值包括:“created” - 新建;“chosen” - 待执行; “running” - 执行中;“failed” - 失败;“finished” - 已完成。

  • FinishedProxyList:

    完成 kill 任务的 proxyId。

  • FailedProxyList:

    kill 任务实行失败的 proxyId。

  • EndTime:

    任务结束时间。

  • Progress:

    任务执行进度。

  • InstanceId:

    实例 ID。



7733
7734
7735
# File 'lib/v20210527/models.rb', line 7733

def StartTime
  @StartTime
end

#TaskStatusObject

Parameters:

  • AsyncRequestId:

    异步任务 ID。

  • InstProxyList:

    当前实例所有 proxy 列表。

  • InstProxyCount:

    当前实例所有 proxy 数量。

  • CreateTime:

    任务创建时间。

  • StartTime:

    任务启动时间。

  • TaskStatus:

    任务的状态,支持的取值包括:“created” - 新建;“chosen” - 待执行; “running” - 执行中;“failed” - 失败;“finished” - 已完成。

  • FinishedProxyList:

    完成 kill 任务的 proxyId。

  • FailedProxyList:

    kill 任务实行失败的 proxyId。

  • EndTime:

    任务结束时间。

  • Progress:

    任务执行进度。

  • InstanceId:

    实例 ID。



7733
7734
7735
# File 'lib/v20210527/models.rb', line 7733

def TaskStatus
  @TaskStatus
end

Instance Method Details

#deserialize(params) ⇒ Object



7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
# File 'lib/v20210527/models.rb', line 7749

def deserialize(params)
  @AsyncRequestId = params['AsyncRequestId']
  @InstProxyList = params['InstProxyList']
  @InstProxyCount = params['InstProxyCount']
  @CreateTime = params['CreateTime']
  @StartTime = params['StartTime']
  @TaskStatus = params['TaskStatus']
  @FinishedProxyList = params['FinishedProxyList']
  @FailedProxyList = params['FailedProxyList']
  @EndTime = params['EndTime']
  @Progress = params['Progress']
  @InstanceId = params['InstanceId']
end