Introduced : BIG-IP_v9.0
Gets the default pool names for the specified virtual servers.


String [] get_default_pool_name(
    in String [] virtual_servers


Parameter Type Description
virtual_servers String [] The virtual server definitions.

Return Type

Type Description
String [] Returns the default pool names.


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


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

  • C# Polling Default Pool Connections - A C# application that displays the current connections for all of the default pools.
  • Perl Ltm Config To Xml - A perl sample will use iControl to query the LTM Virtual Server configuration and store it in an XML format.
  • PerlVipFromPool - This perl sample will find which virtual servers are using a given pool.
  • Perl Virtual Show - A perl sample illustrating how to get the results from the “bigpipe virtual show” command.
  • Ps Local Traffic Map - This application will replicate the network map functionality found in the BIG-IP management GUI with a PowerShell console implementation.
  • Ps Local Traffic Summary - This application will replicate the network status functionality found in the BIG-IP management GUI with a PowerShell console implementation.
  • Set Virtual Default Pool - This sample applications allows for modification of a Virtual Servers default pool
  • Suds Python Example - This script shows basic SUDS usage with iControl.
  • Virtual Server Pool Member Status And Control - This Windows app will allow you to view Virtual Server pools (or system wide pools) and control their members.

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.