Apache Group
- class ApacheApplicationGroup(api)
Bases:
_ApplicationGroupBase
- create(applications, certificate, common_data_location=None, attributes=None)
- Parameters
applications (List[Union[Object, str]]) – List of Config Object or Distinguished Name (DN) that will belong to the application group.
certificate (Union[Object, str]) – Config Object or Distinguished Name (DN) of the associated certificate.
common_data_location (str) – The common data location for the application group.
attributes (dict) – Dictionary of attributes to apply to the group explicitly. If not given, then the attributes belonging to the first application in the given list will be assumed to be the shared attributes for the application group.
- Returns
Config Object of the application.
- delete(application_group, dissociate=True)
Deletes an application group object.
- Parameters
application_group (Union[Object, str]) – Config Object or Distinguished Name (DN) of the application object.
dissociate (bool) – If
True
, dissociate all applications in the group from the certificate.
- get(application_group_dn, raise_error_if_not_exists=True)
- Parameters
application_group_dn (str) – Distinguished Name (DN) of the application group object.
raise_error_if_not_exists (bool) – Raise an exception if the application Distinguished Name (DN) does not exist.
- Returns
Config Object of the application.
- get_applications_in_group(application_group)
- Parameters
application_group (Union[Object, str]) – Config Object or Distinguished Name (DN) of the application group.
- Returns
List of Distinguished Name (DN).