models_v2.external_target_info module

class models_v2.external_target_info.ExternalTargetInfo(target_id=None, archival_task_id=None, target_name=None, target_type=None)[source]

Bases: object

Implementation of the ‘ExternalTargetInfo’ model.

Specifies the external target information if this is an archival snapshot.

Attributes:

target_id (long|int): Specifies the archival target ID. archival_task_id (string): Specifies the archival task id. This is a

protection group UID which only applies when archival type is ‘Tape’.

target_name (string): Specifies the archival target name. target_type (TargetType1Enum): Specifies the archival target type.

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.