Class: TencentCloud::Cbs::V20170312::SnapshotCopyResult

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

Overview

描述快照跨地域复制的结果。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(snapshotid = nil, message = nil, code = nil, destinationregion = nil) ⇒ SnapshotCopyResult

Returns a new instance of SnapshotCopyResult.



3440
3441
3442
3443
3444
3445
# File 'lib/v20170312/models.rb', line 3440

def initialize(snapshotid=nil, message=nil, code=nil, destinationregion=nil)
  @SnapshotId = snapshotid
  @Message = message
  @Code = code
  @DestinationRegion = destinationregion
end

Instance Attribute Details

#CodeObject

Parameters:

  • SnapshotId:

    复制到目标地域的新快照ID。

  • Message:

    指示具体错误信息,成功时为空字符串。

  • Code:

    错误码,成功时取值为“Success”。

  • DestinationRegion:

    跨地复制的目标地域。



3438
3439
3440
# File 'lib/v20170312/models.rb', line 3438

def Code
  @Code
end

#DestinationRegionObject

Parameters:

  • SnapshotId:

    复制到目标地域的新快照ID。

  • Message:

    指示具体错误信息,成功时为空字符串。

  • Code:

    错误码,成功时取值为“Success”。

  • DestinationRegion:

    跨地复制的目标地域。



3438
3439
3440
# File 'lib/v20170312/models.rb', line 3438

def DestinationRegion
  @DestinationRegion
end

#MessageObject

Parameters:

  • SnapshotId:

    复制到目标地域的新快照ID。

  • Message:

    指示具体错误信息,成功时为空字符串。

  • Code:

    错误码,成功时取值为“Success”。

  • DestinationRegion:

    跨地复制的目标地域。



3438
3439
3440
# File 'lib/v20170312/models.rb', line 3438

def Message
  @Message
end

#SnapshotIdObject

Parameters:

  • SnapshotId:

    复制到目标地域的新快照ID。

  • Message:

    指示具体错误信息,成功时为空字符串。

  • Code:

    错误码,成功时取值为“Success”。

  • DestinationRegion:

    跨地复制的目标地域。



3438
3439
3440
# File 'lib/v20170312/models.rb', line 3438

def SnapshotId
  @SnapshotId
end

Instance Method Details

#deserialize(params) ⇒ Object



3447
3448
3449
3450
3451
3452
# File 'lib/v20170312/models.rb', line 3447

def deserialize(params)
  @SnapshotId = params['SnapshotId']
  @Message = params['Message']
  @Code = params['Code']
  @DestinationRegion = params['DestinationRegion']
end