About Perl APIs
The Perl APIs is a simplified set of APIs which you can use to write an application module script that helps you discover and operate your applications.
The Perl APIs must include the following two modules:
Application module
This module provides the functionality to add, discover, or operate on an application using the Resiliency Platform web console.
Constants module
This module provides the functionality to fetch the constants that are required to set the log levels, or to fetch the keys for the question data, or to set the properties such as application type, version, permission for data files etc.
Note:
Perl interpreter version 5.8.8 is pre-bundled with the Veritas Resiliency Platform.
The table below lists the key steps of working with APIs.
Table: Using Perl APIs
Description | Refer to |
|---|---|
Create a Perl script "app.pl". This script must include the following modules:
| See Using Perl APIs. |
Use the APIs to discovery and manage your applications. | The APIs are classified in the following categories. See Logging. See Application inputs. See Application objects. |
Use this API to commit or finish your script. | See Finish. |
See sample script and JSON output. | See Sample script. See Sample script output. |
Test your scripts |