models.snapshot_target module

class models.snapshot_target.SnapshotTarget(archival_target=None, cloud_deploy_target=None, replication_target=None, mtype=None)[source]

Bases: object

Implementation of the ‘SnapshotTarget’ model.

Message that specifies details about a target (such as a replication or archival target) where a backup snapshot may be copied to.

Attributes:
archival_target (ArchivalTarget): Message that specifies the details

about an archival target (such as cloud or tape) where backup snapshots may be archived to.

cloud_deploy_target (CloudDeployTarget): Message that specifies the

details about CloudDeploy target where backup snapshots may be converted and stored.

replication_target (ReplicationTarget): Message that specifies the

details about a remote cluster where backup snapshots may be replicated to.

mtype (int): The type of snapshot target this proto represents.

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.