LocalLB::PoolMember::set_session_enabled_state

Introduced : BIG-IP_v9.0
Sets the session states for the specified pool members. If session state is enabled or true, this means that new sessions will be allowed to be established with the pool members.

Prototype

 set_session_enabled_state(
    in String [] pool_names,
    in LocalLB__PoolMember__MemberSessionState [] [] session_states
);

Parameters

Parameter Type Description
pool_names String [] The pool names to which the specified members belong.
session_states MemberSessionState [] [] The members and the session states to be set.

Return Type

Type Description
void  

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.
  • Java Pool Member Control - This Java application allows for the graceful shutdown of a pool member. As an added bonus it also allows you to query pools. pool members. pool member status. and enable and disable the po…
  • 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 Pool Member Control - This application allows for the graceful shutdown of a pool member. As an added bonus it also allows you to query pools. pool members. pool member status. and enable and disable the pool 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…
  • 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.