LocalLB::ProfileOneConnect::set_limit_type¶
Introduced : BIG-IP_v11.6.0
Sets the limit types for OneConnect profiles. The limit-type can take
on one of three values: ONECONNECT_LIMIT_TYPE_NONE (none),
ONECONNECT_LIMIT_TYPE_IDLE (idle), ONECONNECT_LIMIT_TYPE_STRICT
(strict). none: behaviour is as before, “connections” are counted
toward the pool member limit based on whether they have active,
in-flight, requests or responses. idle: if a client connection is
accepted and we are at or above the TCP connection limit, a random
idle connection will be dropped. strict: a hard TCP pool member
connection limit is enforced. No attempt will be made to try to find a
connection to reuse if at the TCP connection limit, EVEN IF ONE MIGHT
BE AVAILABLE. This mode of operation is not recommended (though some
customers find it useful with short idle connection timeouts).
Prototype¶
set_limit_type(
in String [] profile_names,
in LocalLB__ProfileOneConnect__ProfileLimitType [] limit_types
);
Parameters¶
Parameter | Type | Description |
profile_names | String [] | The names of the OneConnect profiles. |
limit_types | ProfileLimitType [] | The limit_types for the OneConnect profiles. |
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¶
iControl ::
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¶
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.