get_task_status
Problem this snippet solves:
Introduced : EM_v3.0
Use the get_task_status API to determine the current status of a device discovery task.
How to use this snippet:
Python
ic.Management.EM.get_task_status(ids = task_ids)
C#, Java, and Perl
ic.Management.EM.get_task_status(ids = task_ids);
Inputs
Name | Type | Description |
tasks | String Sequence | This parameter specifies the task IDs of the tasks for which you want to know the status. |
Return Values
Name | Type | Description |
task | TaskStatus Sequence | The ID of the new discovery task. This ID can return the following values:
|
Exceptions
Exception Name | This exception is raised when... |
AccessDenied | The credentials supplied by the client do not satisfy the F5 device's validation requirements. |
OperationFailed | The API call causes an operation error. |
InvalidArgument | The API call contains an invalid argument. |
Code :
To view a code sample, click the relevant code type. C# (.net) Java Perl Python
Updated Jun 06, 2023
Version 2.0CodeCentral_194
Cirrus
Joined May 05, 2019
No CommentsBe the first to comment