Management::EM::get_task_status

Introduced : BIG-IP_v11.2.0
Get the status of a task.

Prototype

TaskStatus [] get_task_status(
    in String [] ids
);

Parameters

Parameter Type Description
ids String [] IDs of task to get status for

Return Type

Type Description
TaskStatus [] status for the requested tasks

Exceptions

Exception Description
Common::AccessDenied Raised if the client credentials are not valid.
Common::InvalidArgument Raised if one of the arguments is invalid.
Common::OperationFailed Raised if an operation error occurs.

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

  • Querying the status of a discovery task - Querying the status of a discovery task
  • get_task_status - Uses the get_task_status API to determine the current status of a device discovery task.
  • Get Task Status (C# code sample) - This C# client code sample uses Enterprise Manager’s device inventory to get the status for a specific task executed by the referenced Enterprise Manager.
  • Get Task Status (Java code sample) - This Java client code sample uses Enterprise Manager’s device inventory to get the status for a specific task executed by the referenced Enterprise Manager.
  • Get Task Status (Perl code sample) - This Perl client code sample uses Enterprise Manager’s device inventory to get the status for a specific task executed by the referenced Enterprise Manager.
  • Get Task Status (Python code sample) - This Python client code sample uses Enterprise Manager’s device inventory to get the status for a specific task executed by the referenced Enterprise Manager.

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.