models.cloud_archival_info module¶
-
class
models.cloud_archival_info.
CloudArchivalInfo
(is_active_task=None, public_status=None, status=None, vault_id=None, vault_name=None, vault_type=None)[source]¶ Bases:
object
Implementation of the ‘CloudArchivalInfo’ model.
Specifies the cloud archival for active and finished tasks.
- Attributes:
is_active_task (bool): Specifies if the task if active or finished. public_status (PublicStatusCloudArchivalInfoEnum): Specifies the
public status type.
status (StatusCloudArchivalInfoEnum): Specifies the status type. vault_id (long|int): Specifies the id of Archival Vault assigned by
the Cohesity Cluster.
vault_name (string): Name of the Archival Vault. vault_type (VaultTypeEnum): Specifies the type of the Archival
External Target such as ‘kCloud’, ‘kTape’ or ‘kNas’. ‘kCloud’ indicates the archival location as Cloud. ‘kTape’ indicates the archival location as Tape. ‘kNas’ indicates the archival location as Network Attached Storage (Nas).
-
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.