models.snapshot_copy_task module

class models.snapshot_copy_task.SnapshotCopyTask(copy_status=None, expiry_time_usecs=None, message=None, snapshot_target=None)[source]

Bases: object

Implementation of the ‘SnapshotCopyTask’ model.

Specifies information about copy tasks such as replication and archival tasks.

Attributes:

copy_status (string): Specifies the status of the copy task. expiry_time_usecs (int|long): Specifies when the Snapshot expires on

the target.

message (string): Specifies warning or error information when the copy

task is not successful.

snapshot_target (SnapshotTargetSettings): Specifies the target location where

the Snapshot was copied to.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.