This endpoint is used to create, modify, list and delete Machine Resolvers. Machine Resolvers fetch machine information from remote machine stores like a hosts file or an Active Directory.
The code of this module is tested in tests/test_api_machineresolver.py
This function tests, if the given parameter will create a working machine resolver. The Machine Resolver Class itself verifies the functionality. This can also be network connectivity to a Machine Store.
Return: | a json result with bool |
---|
returns a json list of all machine resolver.
Parameters: |
|
---|
This creates a new machine resolver or updates an existing one. A resolver is uniquely identified by its name.
If you update a resolver, you do not need to provide all parameters. Parameters you do not provide are left untouched. When updating a resolver you must not change the type! You do not need to specify the type, but if you specify a wrong type, it will produce an error.
Parameters: |
|
---|---|
Return: | a json result with the value being the database id (>0) |
Additional parameters depend on the resolver type.
this function deletes an existing machine resolver
Parameters: |
|
---|---|
Return: | json with success or fail |
This function retrieves the definition of a single machine resolver.
Parameters: |
|
---|---|
Return: | a json result with the configuration of a specified resolver |