Class: TencentCloud::Sqlserver::V20180328::RestoreTask

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

Overview

回档任务记录

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(targetinstanceid = nil, targetinstancename = nil, targetinstancestatus = nil, targetregion = nil, restoreid = nil, targettype = nil, restoretype = nil, restoretime = nil, starttime = nil, endtime = nil, status = nil, flowid = nil) ⇒ RestoreTask



10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
# File 'lib/v20180328/models.rb', line 10815

def initialize(targetinstanceid=nil, targetinstancename=nil, targetinstancestatus=nil, targetregion=nil, restoreid=nil, targettype=nil, restoretype=nil, restoretime=nil, starttime=nil, endtime=nil, status=nil, flowid=nil)
  @TargetInstanceId = targetinstanceid
  @TargetInstanceName = targetinstancename
  @TargetInstanceStatus = targetinstancestatus
  @TargetRegion = targetregion
  @RestoreId = restoreid
  @TargetType = targettype
  @RestoreType = restoretype
  @RestoreTime = restoretime
  @StartTime = starttime
  @EndTime = endtime
  @Status = status
  @FlowId = flowid
end

Instance Attribute Details

#EndTimeObject

1:申请中2:运行中3:受限运行中 (主备切换中) 4:已隔离5:回收中6:已回收7:任务执行中 (实例做备份、回档等操作) 8:已下线9:实例扩容中10:实例迁移中11:只读12:重启中



10813
10814
10815
# File 'lib/v20180328/models.rb', line 10813

def EndTime
  @EndTime
end

#FlowIdObject

1:申请中2:运行中3:受限运行中 (主备切换中) 4:已隔离5:回收中6:已回收7:任务执行中 (实例做备份、回档等操作) 8:已下线9:实例扩容中10:实例迁移中11:只读12:重启中



10813
10814
10815
# File 'lib/v20180328/models.rb', line 10813

def FlowId
  @FlowId
end

#RestoreIdObject

1:申请中2:运行中3:受限运行中 (主备切换中) 4:已隔离5:回收中6:已回收7:任务执行中 (实例做备份、回档等操作) 8:已下线9:实例扩容中10:实例迁移中11:只读12:重启中



10813
10814
10815
# File 'lib/v20180328/models.rb', line 10813

def RestoreId
  @RestoreId
end

#RestoreTimeObject

1:申请中2:运行中3:受限运行中 (主备切换中) 4:已隔离5:回收中6:已回收7:任务执行中 (实例做备份、回档等操作) 8:已下线9:实例扩容中10:实例迁移中11:只读12:重启中



10813
10814
10815
# File 'lib/v20180328/models.rb', line 10813

def RestoreTime
  @RestoreTime
end

#RestoreTypeObject

1:申请中2:运行中3:受限运行中 (主备切换中) 4:已隔离5:回收中6:已回收7:任务执行中 (实例做备份、回档等操作) 8:已下线9:实例扩容中10:实例迁移中11:只读12:重启中



10813
10814
10815
# File 'lib/v20180328/models.rb', line 10813

def RestoreType
  @RestoreType
end

#StartTimeObject

1:申请中2:运行中3:受限运行中 (主备切换中) 4:已隔离5:回收中6:已回收7:任务执行中 (实例做备份、回档等操作) 8:已下线9:实例扩容中10:实例迁移中11:只读12:重启中



10813
10814
10815
# File 'lib/v20180328/models.rb', line 10813

def StartTime
  @StartTime
end

#StatusObject

1:申请中2:运行中3:受限运行中 (主备切换中) 4:已隔离5:回收中6:已回收7:任务执行中 (实例做备份、回档等操作) 8:已下线9:实例扩容中10:实例迁移中11:只读12:重启中



10813
10814
10815
# File 'lib/v20180328/models.rb', line 10813

def Status
  @Status
end

#TargetInstanceIdObject

1:申请中2:运行中3:受限运行中 (主备切换中) 4:已隔离5:回收中6:已回收7:任务执行中 (实例做备份、回档等操作) 8:已下线9:实例扩容中10:实例迁移中11:只读12:重启中



10813
10814
10815
# File 'lib/v20180328/models.rb', line 10813

def TargetInstanceId
  @TargetInstanceId
end

#TargetInstanceNameObject

1:申请中2:运行中3:受限运行中 (主备切换中) 4:已隔离5:回收中6:已回收7:任务执行中 (实例做备份、回档等操作) 8:已下线9:实例扩容中10:实例迁移中11:只读12:重启中



10813
10814
10815
# File 'lib/v20180328/models.rb', line 10813

def TargetInstanceName
  @TargetInstanceName
end

#TargetInstanceStatusObject

1:申请中2:运行中3:受限运行中 (主备切换中) 4:已隔离5:回收中6:已回收7:任务执行中 (实例做备份、回档等操作) 8:已下线9:实例扩容中10:实例迁移中11:只读12:重启中



10813
10814
10815
# File 'lib/v20180328/models.rb', line 10813

def TargetInstanceStatus
  @TargetInstanceStatus
end

#TargetRegionObject

1:申请中2:运行中3:受限运行中 (主备切换中) 4:已隔离5:回收中6:已回收7:任务执行中 (实例做备份、回档等操作) 8:已下线9:实例扩容中10:实例迁移中11:只读12:重启中



10813
10814
10815
# File 'lib/v20180328/models.rb', line 10813

def TargetRegion
  @TargetRegion
end

#TargetTypeObject

1:申请中2:运行中3:受限运行中 (主备切换中) 4:已隔离5:回收中6:已回收7:任务执行中 (实例做备份、回档等操作) 8:已下线9:实例扩容中10:实例迁移中11:只读12:重启中



10813
10814
10815
# File 'lib/v20180328/models.rb', line 10813

def TargetType
  @TargetType
end

Instance Method Details

#deserialize(params) ⇒ Object



10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
# File 'lib/v20180328/models.rb', line 10830

def deserialize(params)
  @TargetInstanceId = params['TargetInstanceId']
  @TargetInstanceName = params['TargetInstanceName']
  @TargetInstanceStatus = params['TargetInstanceStatus']
  @TargetRegion = params['TargetRegion']
  @RestoreId = params['RestoreId']
  @TargetType = params['TargetType']
  @RestoreType = params['RestoreType']
  @RestoreTime = params['RestoreTime']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @Status = params['Status']
  @FlowId = params['FlowId']
end