Class: TencentCloud::As::V20180419::RefreshBatch

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

Overview

实例刷新批次信息,包含该批次的刷新状态、实例、起止时间等信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(refreshbatchnum = nil, refreshbatchstatus = nil, refreshbatchrelatedinstanceset = nil, starttime = nil, endtime = nil) ⇒ RefreshBatch

Returns a new instance of RefreshBatch.



4852
4853
4854
4855
4856
4857
4858
# File 'lib/v20180419/models.rb', line 4852

def initialize(refreshbatchnum=nil, refreshbatchstatus=nil, refreshbatchrelatedinstanceset=nil, starttime=nil, endtime=nil)
  @RefreshBatchNum = refreshbatchnum
  @RefreshBatchStatus = refreshbatchstatus
  @RefreshBatchRelatedInstanceSet = refreshbatchrelatedinstanceset
  @StartTime = starttime
  @EndTime = endtime
end

Instance Attribute Details

#EndTimeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • RefreshBatchNum:

    刷新批次序号。例如,2 表示当前批次实例会在第二批次进行实例刷新。

  • RefreshBatchStatus:

    刷新批次状态。取值如下:

  • WAITING:待刷新
  • INIT:初始化中
  • RUNNING:刷新中
  • FAILED: 刷新失败
  • PARTIALLY_SUCCESSFUL:批次部分成功
  • CANCELLED:已取消
  • SUCCESSFUL:刷新成功
  • RefreshBatchRelatedInstanceSet:

    刷新批次关联实例列表。

  • StartTime:

    刷新批次开始时间。

  • EndTime:

    刷新批次结束时间。

  • 
    
    4850
    4851
    4852
    # File 'lib/v20180419/models.rb', line 4850
    
    def EndTime
      @EndTime
    end

    #RefreshBatchNumObject

    注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

    Parameters:

    • RefreshBatchNum:

      刷新批次序号。例如,2 表示当前批次实例会在第二批次进行实例刷新。

    • RefreshBatchStatus:

      刷新批次状态。取值如下:

    • WAITING:待刷新
    • INIT:初始化中
    • RUNNING:刷新中
    • FAILED: 刷新失败
    • PARTIALLY_SUCCESSFUL:批次部分成功
    • CANCELLED:已取消
    • SUCCESSFUL:刷新成功
  • RefreshBatchRelatedInstanceSet:

    刷新批次关联实例列表。

  • StartTime:

    刷新批次开始时间。

  • EndTime:

    刷新批次结束时间。

  • 
    
    4850
    4851
    4852
    # File 'lib/v20180419/models.rb', line 4850
    
    def RefreshBatchNum
      @RefreshBatchNum
    end

    #RefreshBatchRelatedInstanceSetObject

    注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

    Parameters:

    • RefreshBatchNum:

      刷新批次序号。例如,2 表示当前批次实例会在第二批次进行实例刷新。

    • RefreshBatchStatus:

      刷新批次状态。取值如下:

    • WAITING:待刷新
    • INIT:初始化中
    • RUNNING:刷新中
    • FAILED: 刷新失败
    • PARTIALLY_SUCCESSFUL:批次部分成功
    • CANCELLED:已取消
    • SUCCESSFUL:刷新成功
  • RefreshBatchRelatedInstanceSet:

    刷新批次关联实例列表。

  • StartTime:

    刷新批次开始时间。

  • EndTime:

    刷新批次结束时间。

  • 
    
    4850
    4851
    4852
    # File 'lib/v20180419/models.rb', line 4850
    
    def RefreshBatchRelatedInstanceSet
      @RefreshBatchRelatedInstanceSet
    end

    #RefreshBatchStatusObject

    注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

    Parameters:

  • RefreshBatchRelatedInstanceSet:

    刷新批次关联实例列表。

  • StartTime:

    刷新批次开始时间。

  • EndTime:

    刷新批次结束时间。

  • 
    
    4850
    4851
    4852
    # File 'lib/v20180419/models.rb', line 4850
    
    def RefreshBatchStatus
      @RefreshBatchStatus
    end

    #StartTimeObject

    注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

    Parameters:

  • RefreshBatchRelatedInstanceSet:

    刷新批次关联实例列表。

  • StartTime:

    刷新批次开始时间。

  • EndTime:

    刷新批次结束时间。

  • 
    
    4850
    4851
    4852
    # File 'lib/v20180419/models.rb', line 4850
    
    def StartTime
      @StartTime
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    4860
    4861
    4862
    4863
    4864
    4865
    4866
    4867
    4868
    4869
    4870
    4871
    4872
    4873
    # File 'lib/v20180419/models.rb', line 4860
    
    def deserialize(params)
      @RefreshBatchNum = params['RefreshBatchNum']
      @RefreshBatchStatus = params['RefreshBatchStatus']
      unless params['RefreshBatchRelatedInstanceSet'].nil?
        @RefreshBatchRelatedInstanceSet = []
        params['RefreshBatchRelatedInstanceSet'].each do |i|
          refreshbatchrelatedinstance_tmp = RefreshBatchRelatedInstance.new
          refreshbatchrelatedinstance_tmp.deserialize(i)
          @RefreshBatchRelatedInstanceSet << refreshbatchrelatedinstance_tmp
        end
      end
      @StartTime = params['StartTime']
      @EndTime = params['EndTime']
    end