models.replication_target module

class models.replication_target.ReplicationTarget(cluster_id=None, cluster_name=None)[source]

Bases: object

Implementation of the ‘ReplicationTarget’ model.

Message that specifies the details about a remote cluster where backup snapshots may be replicated to.

Attributes:

cluster_id (long|int): The id of the remote cluster. cluster_name (string): The name of the remote cluster.

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.