LocalLB::PoolMember::get_session_enabled_state

Introduced : BIG-IP_v9.0
Note: This function has been deprecated. Please use get_session_status. Gets the session states for all members of the specified pools.

Prototype

MemberSessionState [] [] get_session_enabled_state(
    in String [] pool_names
);

Parameters

Parameter Type Description
pool_names String [] The pool names to which the specified members belong.

Return Type

Type Description
MemberSessionState [] [] The member session states of all members in the specified pools.

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

  • Java Object Ltm Pool Member - This Java class will wrap the iControl LTM PoolMember interface to make it look like an object.
  • Pool Toggle - The script takes command line arguments to log into a version 9 BigIP and either show all the pools and members. or enable|disable all of a specified pool’s members.
  • Ps Server Control - This PowerShell application will get and set the infamous three-way-toggle state (enabled. disabled. offline) for server objects.
  • Toggle Pool Member - The script will toggle the state of a pool member. If no pool and member is specified. a list of it’s members and their states are displayed. For a valid pool member. the script will query t…

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.