models_v2.object_snapshot module¶
-
class
models_v2.object_snapshot.
ObjectSnapshot
(id=None, snapshot_target_type=None, indexing_status=None, protection_group_id=None, protection_group_name=None, protection_group_run_id=None, run_instance_id=None, run_start_time_usecs=None, source_group_id=None, run_type=None, environment=None, snapshot_timestamp_usecs=None, expiry_time_usecs=None, external_target_info=None, storage_domain_id=None, has_data_lock=None, on_legal_hold=None, object_id=None, object_name=None, source_id=None, physical_params=None, hyperv_params=None, aws_params=None, azure_params=None, netapp_params=None, isilon_params=None, gpfs_params=None, flashblade_params=None, generic_nas_params=None, elastifile_params=None)[source]¶ Bases:
object
Implementation of the ‘Object Snapshot.’ model.
Specifies an Object Snapshot.
- Attributes:
id (string): Specifies the id of the snapshot. snapshot_target_type (SnapshotTargetType1Enum): Specifies the target
type where the Object’s snapshot resides.
- indexing_status (IndexingStatusEnum): Specifies the indexing status of
objects in this snapshot.<br> ‘InProgress’ indicates the indexing is in progress.<br> ‘Done’ indicates indexing is done.<br> ‘NoIndex’ indicates indexing is not applicable.<br> ‘Error’ indicates indexing failed with error.
protection_group_id (string): Specifies id of the Protection Group. protection_group_name (string): Specifies name of the Protection
Group.
- protection_group_run_id (string): Specifies id of the Protection Group
Run.
- run_instance_id (long|int): Specifies the instance id of the
protection run which create the snapshot.
- run_start_time_usecs (long|int): Specifies the start time of the run
in micro seconds.
- source_group_id (string): Specifies the source protection group id in
case of replication.
- run_type (RunType1Enum): Specifies the type of protection run created
this snapshot.
environment (Environment11Enum): Specifies the snapshot environment. snapshot_timestamp_usecs (long|int): Specifies the timestamp in Unix
time epoch in microseconds when the snapshot is taken for the specified Object.
- expiry_time_usecs (long|int): Specifies the expiry time of the
snapshot in Unix timestamp epoch in microseconds. If the snapshot has no expiry, this property will not be set.
- external_target_info (ExternalTargetInfo): Specifies the external
target information if this is an archival snapshot.
- storage_domain_id (long|int): Specifies the Storage Domain id where
the snapshot of object is present.
has_data_lock (bool): Specifies if this snapshot has datalock. on_legal_hold (bool): Specifies if this snapshot is on legalhold. object_id (long|int): Specifies the object id which the snapshot is
taken from.
- object_name (string): Specifies the object name which the snapshot is
taken from.
- source_id (long|int): Specifies the object source id which the
snapshot is taken from.
- physical_params (PhysicalParams): Specifies the parameters specific to
Physical type snapshot.
- hyperv_params (HypervParams): Specifies the parameters specific to
HyperV type snapshot.
- aws_params (AwsParams): Specifies the parameters specific to AWS type
snapshot.
- azure_params (AzureParams): Specifies the parameters specific to Azure
type snapshot.
- netapp_params (NetappParams): Specifies the parameters specific to
NetApp type snapshot.
- isilon_params (IsilonParams): Specifies the parameters specific to
Isilon type snapshot.
- gpfs_params (GpfsParams): Specifies the parameters specific to GPFS
type snapshot.
- flashblade_params (FlashbladeParams3): Specifies the parameters
specific to Flashblade type snapshot.
- generic_nas_params (GenericNasParams): Specifies the parameters
specific to Generic NAS type snapshot.
- elastifile_params (ElastifileParams): Specifies the parameters
specific to NetApp type snapshot.
-
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.