models_v2.vmware_object_protection_request module¶
-
class
models_v2.vmware_object_protection_request.
VmwareObjectProtectionRequest
(id=None, exclude_object_ids=None, exclude_disks=None, truncate_exchange_logs=None)[source]¶ Bases:
object
Implementation of the ‘VmwareObjectProtectionRequest’ model.
Specifies the VMware object level settings for object protection.
- Attributes:
- id (long|int): Specifies the id of the object being protected. This
can be a leaf level or non leaf level object.
- exclude_object_ids (list of long|int): Specifies the list of IDs of
the objects to not be protected in this backup. This field only applies if provided object id is non leaf entity such as Tag or a folder. This can be used to ignore specific objects under a parent object which has been included for protection.
- exclude_disks (list of DiskInformation): Specifies a list of disks to
exclude from being protected. This is only applicable to VM objects.
- truncate_exchange_logs (bool): Specifies whether or not to truncate MS
Exchange logs while taking an app consistent snapshot of this object. This is only applicable to objects which have a registered MS Exchange app.
-
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.