models_v2.vmware_protection_group_object_params module

class models_v2.vmware_protection_group_object_params.VmwareProtectionGroupObjectParams(id=None, is_autoprotected=None, exclude_disks=None, truncate_exchange_logs=None, name=None, cdp_info=None)[source]

Bases: object

Implementation of the ‘VmwareProtectionGroupObjectParams’ model.

Specifies the input for a protection object in the VMware environment.

Attributes:
id (long|int): Specifies the id of the object being protected. This

can be a leaf level or non leaf level object.

is_autoprotected (bool): Specifies whether the vm is part of an

Autoprotection. True implies that the vm or its parent directory is autoprotected and will remain part of the autoprotection with additional settings specified here. False implies the object is not part of an Autoprotection and will remain protected and its individual settings here even if a parent directory’s Autoprotection setting is altered. Default is false.

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.

name (string): Specifies the name of the virtual machine. cdp_info (CdpObjectInfo): Specifies the CDP related information for a

given object. This field will only be populated when protection group is configured with policy having CDP retention settings.

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.