AssociationDetail#

class AssociationDetail(category_id=None, resource_type=None, resource_group=None, count=None, resource_id_list=None, *args, **kwargs)[source]#

Bases: object

This attribute contains the list of entities and policies which have been assigned the given category.<br> These entities are grouped by entity types (like VM or HOST) or policy types (like PROTECTION_POLICY or NGT_POLICY) Each associated object contains the total entities belonging to the given entity type, count, category extId, and references (for example for VM it’d be VM uuid).

Parameters:
  • category_id – (category_id) External identifier for the given category, used across all v4 apis/entities/resources where categories are referenced. The field has UUID format. A type 4 UUID is generated during category creation.

  • resource_type – (resource_type)

  • resource_group – (resource_group)

  • count – (count) Count of associations of a particular type of entity or policy

  • resource_id_list – (resource_id_list) List of entity or policy UUIDs associated with the particular category.

property category_id#

External identifier for the given category, used across all v4 apis/entities/resources where categories are referenced. The field has UUID format. A type 4 UUID is generated during category creation.

Type:

str

property count#

Count of associations of a particular type of entity or policy

Type:

int

property resource_group#
Type:

ResourceGroup

property resource_id_list#

List of entity or policy UUIDs associated with the particular category.

Type:

list[ str ]

property resource_type#
Type:

ResourceType

to_dict()[source]#

Returns the model properties as a dictionary

to_str()[source]#

Returns the string representation of the model