Each object in the ADC configuration is represented as a PHP class. The classes currently supported are:
Note - Support for additional PHP classes will be available in future releases. |
A class variable is a variable defined in a class of which a single copy exists, regardless of how many instances of the class exist. There are two mechanisms to create a class variable:
$sp = new srvpool;
getByName()
method. For example: $sp = srvpool::getByName(“sp00”);
Once a class variable exists, there are several methods to read information about that variable and common ways to modify the underlying object in the system configuration. Descriptions for each class are shown below.
The supported parameters for each class are the same as provided in the CLI. Flags in Smart Control are specified as individual Boolean parameters, rather than as a list (as in the CLI). For example, $sp->custom_hc
is the custom health check value for a server pool, and $sp->probe_ssl is a server pool’s probe_ssl
flag.