LocalLB::ContentPolicy::PolicyTarget

Introduced : BIG-IP_v12.0.0
The Content Policy Target for a given Content Policy Action specifies what in the connection will be changed when a Content Policy Action is run. The allowable Content Policy Targets will depend upon the Content Policy Controls for a given Content Policy.

Members

Member

Value

Description

POLICY_TARGET_UNKNOWN

0

The Content Policy Target is unknown (or unsupported by iControl).

POLICY_TARGET_HTTP

1

The Content Policy Action will modify the HTTP connection.

POLICY_TARGET_HTTP_METHOD

2

The Content Policy Action will modify the HTTP method used in the connection.

POLICY_TARGET_HTTP_URI

3

The Content Policy Action will modify the HTTP URI for the given connection.

POLICY_TARGET_HTTP_HOST

4

The Content Policy Action will modify the HTTP host for a given connection.

POLICY_TARGET_HTTP_HEADER

5

The Content Policy Action will modify the HTTP header for a given connection.

POLICY_TARGET_HTTP_REFERER

6

The Content Policy Action will modify the HTTP referer for a given connection.

POLICY_TARGET_HTTP_COOKIE

7

The Content Policy Action will modify the HTTP cookie for a given connection.

POLICY_TARGET_HTTP_SET_COOKIE

8

The Content Policy Action will modify HTTP set cookie for a given connection.

POLICY_TARGET_HTTP_BASIC_AUTH

9

The Content Policy Action will modify HTTP basic authorization for a given connection.

POLICY_TARGET_HTTP_REPLY

10

The Content Policy Action will modify the HTTP reply for a given connection.

POLICY_TARGET_LOG

11

The Content Policy Action will send out a log message for a given connection.

POLICY_TARGET_PEM

12

The Content Policy Action will apply a Policy Enforcement Management rule for a given connection.

POLICY_TARGET_CACHE

13

The Content Policy Action will modify cached content for a given connection. The Content Policy must list POLICY_CONTROLS_CACHING in the Content Policy Controls for this Content Policy Target to be a valid option.

POLICY_TARGET_COMPRESS

14

The Content Policy Action will compress content for a given connection. The Content Policy must list POLICY_CONTROLS_COMPRESSION in the Content Policy Controls for this Content Policy Target to be a valid option.

POLICY_TARGET_DECOMPRESS

15

The Content Policy Action will decompress content for a given connection. The Content Policy must list POLICY_CONTROLS_COMPRESSION in the Content Policy Controls for this Content Policy Target to be a valid option.

POLICY_TARGET_FORWARD

16

The Content Policy Action will forward a given connection. The Content Policy must list POLICY_CONTROLS_FORWARDING in the Content Policy Controls for this Content Policy Target to be a valid option.

POLICY_TARGET_TCP_NAGLE

17

The Content Policy Action will modify TCP nagling for a given connection.

POLICY_TARGET_WAM

18

The Content Policy Action will invoke a Webacceleration feature for this connection. The Content Policy must list POLICY_CONTROLS_WAM in the Content Policy Controls for this Content Policy Target to be a valid option.

POLICY_TARGET_ASM

19

The Content Policy Action will invoke an Application Security Module feature for this connection. The Content Policy must list POLICY_CONTROLS_ASM in the Content Policy Controls for this Content Policy Target to be a valid option.

POLICY_TARGET_L7DOS

20

The Content Policy Action will invoke a Layer 7 Denial of Service rule for a given connection. The Content Policy must list POLICY_CONTROLS_L7DOS in the Content Policy Controls for this Content Policy Target to be a valid option.

POLICY_TARGET_AVR

21

The Content Policy Action will invoke an Application Visibility Reporting feature for a given connection. The Content Policy must list POLICY_CONTROLS_AVR in the Content Policy Controls for this Content Policy Target to be a valid option.

POLICY_TARGET_TCL

22

The Content Policy Action will run an iRules script for the given connection.

POLICY_TARGET_RESPONSE_ADAPT

23

The Content Policy Action will adapt the response for the given connection. The Content Policy must list POLICY_CONTROLS_RESPONSE_ADAPTATION in the Content Policy Controls for this Content Policy Target to be a valid option.

POLICY_TARGET_REQUEST_ADAPT

24

The Content Policy Action will adapt the request for the given connection. The Content Policy must list POLICY_CONTROLS_REQUEST_ADAPTATION in the Content Policy Controls for this Content Policy Target to be a valid option.

POLICY_TARGET_SERVER_SSL

25

The Content Policy Action will modify Server SSL behavior for the given connection. The Content Policy must list POLICY_CONTROLS_SERVER_SSL in the Content Policy Controls for this Content Policy Target to be a valid option.

POLICY_TARGET_POLICY

26

The Content Policy Action will invoke a policy for the given connection.

POLICY_TARGET_PERSIST

27

The Content Policy Action will modify persistence for a given connection.


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.