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.



3395
3396
3397
3398
3399
3400
# File 'lib/v20170312/models.rb', line 3395

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:

    跨地复制的目标地域。



3393
3394
3395
# File 'lib/v20170312/models.rb', line 3393

def Code
  @Code
end

#DestinationRegionObject

Parameters:

  • SnapshotId:

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

  • Message:

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

  • Code:

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

  • DestinationRegion:

    跨地复制的目标地域。



3393
3394
3395
# File 'lib/v20170312/models.rb', line 3393

def DestinationRegion
  @DestinationRegion
end

#MessageObject

Parameters:

  • SnapshotId:

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

  • Message:

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

  • Code:

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

  • DestinationRegion:

    跨地复制的目标地域。



3393
3394
3395
# File 'lib/v20170312/models.rb', line 3393

def Message
  @Message
end

#SnapshotIdObject

Parameters:

  • SnapshotId:

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

  • Message:

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

  • Code:

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

  • DestinationRegion:

    跨地复制的目标地域。



3393
3394
3395
# File 'lib/v20170312/models.rb', line 3393

def SnapshotId
  @SnapshotId
end

Instance Method Details

#deserialize(params) ⇒ Object



3402
3403
3404
3405
3406
3407
# File 'lib/v20170312/models.rb', line 3402

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