models.archival_target module

class models.archival_target.ArchivalTarget(name=None, mtype=None, vault_id=None)[source]

Bases: object

Implementation of the ‘ArchivalTarget’ model.

Message that specifies the details about an archival target (such as cloud or tape) where backup snapshots may be archived to.

Attributes:

name (string): The name of the archival target. mtype (int): The type of the archival target. vault_id (long|int): The id of the archival vault.

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.