delete_devices
Problem this snippet solves:
Introduced: EM_v3.0
Use the delete_devices API to remove devices currently being managed by an Enterprise Manager.
How to use this snippet:
Prototype
Python
ic.Management.EM.deletedevices(deviceaddresses)
C#, Java, and Perl
ic.getManagementEM().delete_devices(deviceAddresses);
Inputs
Name | Type | Description |
IP addresses | String Sequence | This parameter specifies the IP addresses or hostnames of the F5 device(s) that you want to delete from the list of managed devices. |
Return values
There is no explicit return when this API executes successfully.
Exceptions
The table lists error categories that Enterprise Manager can raise if the API call fails.
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