models_v2.office_365_object_protection_common_params module

class models_v2.office_365_object_protection_common_params.Office365ObjectProtectionCommonParams(objects=None, exclude_object_ids=None, indexing_policy=None, source_id=None, source_name=None)[source]

Bases: object

Implementation of the ‘Office365ObjectProtectionCommonParams’ model.

Specifies the parameters which are specific to Microsoft 365 Object Protection.

Attributes:
objects (list of Microsoft365ObjectProtectionObjectParams): Specifies

the objects to be included in the Object Protection.

exclude_object_ids (list of long|int): Specifies the objects to be

excluded in the Object Protection.

indexing_policy (IndexingPolicy): Specifies settings for indexing

files found in an Object (such as a VM) so these files can be searched and recovered. This also specifies inclusion and exclusion rules that determine the directories to index.

source_id (long|int): Specifies the id of the parent of the objects. source_name (string): Specifies the name of the parent of the

objects.

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.