models.protected_vm_info module¶
-
class
models.protected_vm_info.
ProtectedVmInfo
(protection_jobs=None, protection_policies=None, protection_source=None, stats=None)[source]¶ Bases:
object
Implementation of the ‘ProtectedVmInfo’ model.
Specifies the Protection Jobs information of a VM.
- Attributes:
- protection_jobs (list of ProtectionJob): Specifies the list of
Protection Jobs that protect the VM.
- protection_policies (list of ProtectionPolicy): Specifies the list of
Policies that are used by the Protection Jobs.
- protection_source (ProtectionSource): Specifies a generic structure
that represents a node in the Protection Source tree. Node details will depend on the environment of the Protection Source.
stats (ProtectionSummary): Specifies the protection stats of VM.
-
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.