models_v2.replication_target_configuration module

class models_v2.replication_target_configuration.ReplicationTargetConfiguration(id=None, retention=None)[source]

Bases: object

Implementation of the ‘Replication Target Configuration’ model.

Specifies settings for copying Snapshots to Remote Clusters. This also specifies the retention policy that should be applied to Snapshots after they have been copied to the specified target.

Attributes:
id (long|int): Specifies id of Remote Cluster to copy the Snapshots

to.

retention (Retention): Specifies the retention of a backup.

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.