LocalLB::ContentPolicyStrategy::PolicyStrategy

Introduced : BIG-IP_v12.0.0
The Policy Strategy Type specifies the method to determine which Content Policy Action to execute if all Content Policy Conditions in a Content Policy Rule are matched..

Members

Member

Value

Description

STRATEGY_UNKNOWN

0

The Policy Strategy type is unknown (or unsupported by iControl).

STRATEGY_FIRST_MATCH

1

Specifies that the Content Policy Rules will be matched based upon the ordinal of the Content Policy Rule.

STRATEGY_BEST_MATCH

2

Specifies that the system executes Content Policy Rules based on the conditions of the rule. For example, more operands implies higher priority as does longer prefix/suffix/substring matching. When multiple matches occur, the system applies the actions of only the best matched rule.

STRATEGY_ALL_MATCH

3

Specifies that the system applies all actions belonging to all rules that are matched. If a conflict, for example, one rule matches to pool A and another rule matches to pool B, the system uses the first match or best match strategy.


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


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.