models_v2.filter_objects_request module

class models_v2.filter_objects_request.FilterObjectsRequest(filter_type='exclude', filters=None, object_ids=None, application_environment=None, tenant_ids=None, include_tenants=False)[source]

Bases: object

Implementation of the ‘FilterObjectsRequest’ model.

Specifies the filter details.

Attributes:
filter_type (string): Specifies the type of filtering user wants to

perform. Currently, we only support exclude type of filter.

filters (list of Filter): Specifies the list of filters that need to

be applied on given list of discovered objects.

object_ids (list of long|int): Specifies a list of non leaf object ids

to filter the leaf level objects. Non leaf object such host (physical or vm) or database instance can be specified.

application_environment (ApplicationEnvironmentEnum): Specifies the

type of application enviornment needed for filtering to be applied on. This is needed because in case of applications like SQL, Oracle, a single source can contain multiple application enviornments.

tenant_ids (list of string): TenantIds contains list of the tenant for

which objects are to be returned.

include_tenants (bool): If true, the response will include objects

which belongs to all tenants which the current user has permission to see. Default value is false.

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.