Class: TencentCloud::Cdb::V20170320::HistoryJob

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

Overview

单条扩容历史记录

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(operationtype = nil, expandtype = nil, starttime = nil, endtime = nil, oldcpu = nil, newcpu = nil, extendcpunum = nil, error = nil) ⇒ HistoryJob

Returns a new instance of HistoryJob.



9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
# File 'lib/v20170320/models.rb', line 9069

def initialize(operationtype=nil, expandtype=nil, starttime=nil, endtime=nil, oldcpu=nil, newcpu=nil, extendcpunum=nil, error=nil)
  @OperationType = operationtype
  @ExpandType = expandtype
  @StartTime = starttime
  @EndTime = endtime
  @OldCpu = oldcpu
  @NewCpu = newcpu
  @ExtendCPUNum = extendcpunum
  @Error = error
end

Instance Attribute Details

#EndTimeObject

说明:此项显示的格式是 int 类型的 unix 时间戳说明:此项显示的格式是 int 类型的 unix 时间戳

Parameters:

  • OperationType:

    操作类型

  • ExpandType:

    扩容类型

  • StartTime:

    扩容开始时间

  • EndTime:

    扩容结束时间

  • OldCpu:

    扩容前核数

  • NewCpu:

    扩容后核数

  • ExtendCPUNum:

    增减的cpu数

  • Error:

    extend_failed操作上报



9067
9068
9069
# File 'lib/v20170320/models.rb', line 9067

def EndTime
  @EndTime
end

#ErrorObject

说明:此项显示的格式是 int 类型的 unix 时间戳说明:此项显示的格式是 int 类型的 unix 时间戳

Parameters:

  • OperationType:

    操作类型

  • ExpandType:

    扩容类型

  • StartTime:

    扩容开始时间

  • EndTime:

    扩容结束时间

  • OldCpu:

    扩容前核数

  • NewCpu:

    扩容后核数

  • ExtendCPUNum:

    增减的cpu数

  • Error:

    extend_failed操作上报



9067
9068
9069
# File 'lib/v20170320/models.rb', line 9067

def Error
  @Error
end

#ExpandTypeObject

说明:此项显示的格式是 int 类型的 unix 时间戳说明:此项显示的格式是 int 类型的 unix 时间戳

Parameters:

  • OperationType:

    操作类型

  • ExpandType:

    扩容类型

  • StartTime:

    扩容开始时间

  • EndTime:

    扩容结束时间

  • OldCpu:

    扩容前核数

  • NewCpu:

    扩容后核数

  • ExtendCPUNum:

    增减的cpu数

  • Error:

    extend_failed操作上报



9067
9068
9069
# File 'lib/v20170320/models.rb', line 9067

def ExpandType
  @ExpandType
end

#ExtendCPUNumObject

说明:此项显示的格式是 int 类型的 unix 时间戳说明:此项显示的格式是 int 类型的 unix 时间戳

Parameters:

  • OperationType:

    操作类型

  • ExpandType:

    扩容类型

  • StartTime:

    扩容开始时间

  • EndTime:

    扩容结束时间

  • OldCpu:

    扩容前核数

  • NewCpu:

    扩容后核数

  • ExtendCPUNum:

    增减的cpu数

  • Error:

    extend_failed操作上报



9067
9068
9069
# File 'lib/v20170320/models.rb', line 9067

def ExtendCPUNum
  @ExtendCPUNum
end

#NewCpuObject

说明:此项显示的格式是 int 类型的 unix 时间戳说明:此项显示的格式是 int 类型的 unix 时间戳

Parameters:

  • OperationType:

    操作类型

  • ExpandType:

    扩容类型

  • StartTime:

    扩容开始时间

  • EndTime:

    扩容结束时间

  • OldCpu:

    扩容前核数

  • NewCpu:

    扩容后核数

  • ExtendCPUNum:

    增减的cpu数

  • Error:

    extend_failed操作上报



9067
9068
9069
# File 'lib/v20170320/models.rb', line 9067

def NewCpu
  @NewCpu
end

#OldCpuObject

说明:此项显示的格式是 int 类型的 unix 时间戳说明:此项显示的格式是 int 类型的 unix 时间戳

Parameters:

  • OperationType:

    操作类型

  • ExpandType:

    扩容类型

  • StartTime:

    扩容开始时间

  • EndTime:

    扩容结束时间

  • OldCpu:

    扩容前核数

  • NewCpu:

    扩容后核数

  • ExtendCPUNum:

    增减的cpu数

  • Error:

    extend_failed操作上报



9067
9068
9069
# File 'lib/v20170320/models.rb', line 9067

def OldCpu
  @OldCpu
end

#OperationTypeObject

说明:此项显示的格式是 int 类型的 unix 时间戳说明:此项显示的格式是 int 类型的 unix 时间戳

Parameters:

  • OperationType:

    操作类型

  • ExpandType:

    扩容类型

  • StartTime:

    扩容开始时间

  • EndTime:

    扩容结束时间

  • OldCpu:

    扩容前核数

  • NewCpu:

    扩容后核数

  • ExtendCPUNum:

    增减的cpu数

  • Error:

    extend_failed操作上报



9067
9068
9069
# File 'lib/v20170320/models.rb', line 9067

def OperationType
  @OperationType
end

#StartTimeObject

说明:此项显示的格式是 int 类型的 unix 时间戳说明:此项显示的格式是 int 类型的 unix 时间戳

Parameters:

  • OperationType:

    操作类型

  • ExpandType:

    扩容类型

  • StartTime:

    扩容开始时间

  • EndTime:

    扩容结束时间

  • OldCpu:

    扩容前核数

  • NewCpu:

    扩容后核数

  • ExtendCPUNum:

    增减的cpu数

  • Error:

    extend_failed操作上报



9067
9068
9069
# File 'lib/v20170320/models.rb', line 9067

def StartTime
  @StartTime
end

Instance Method Details

#deserialize(params) ⇒ Object



9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
# File 'lib/v20170320/models.rb', line 9080

def deserialize(params)
  @OperationType = params['OperationType']
  @ExpandType = params['ExpandType']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @OldCpu = params['OldCpu']
  @NewCpu = params['NewCpu']
  @ExtendCPUNum = params['ExtendCPUNum']
  @Error = params['Error']
end