System::Services::ServiceAction

Introduced : BIG-IP_v9.0
An enumeration for different service actions.

Members

Member

Value

Description

SERVICE_ACTION_START

0

Start a service.

SERVICE_ACTION_STOP

1

Stop a service.

SERVICE_ACTION_REINIT

2

Reinitialize a service.

SERVICE_ACTION_RESTART

3

Restart a service by stopping and starting the service

SERVICE_ACTION_ADD_TO_BOOT_LIST

4

Add a service to the boot/reboot list. If on this list, the service will be started on bootup and stopped on reboot.

SERVICE_ACTION_REMOVE_FROM_BOOT_LIST

5

Remove a service from the boot/reboot list. If on this list, the service will be started on bootup and stopped on reboot.

SERVICE_ACTION_ADD_TO_DEFAULT_LIST

6

Add a service to the default action list.

SERVICE_ACTION_REMOVE_FROM_DEFAULT_LIST

7

Remove a service from the default action list.

See Also

Warning

The links to the sample code below are remnants of the old DevCentral wiki and will result in a 404 error. For best results, please copy the link text and search the codeshare directly on DevCentral.

Sample Code


The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.