LocalLB::ContentPolicy¶
As a guide for creating the list of valid Content Policy Conditions, the allowable configurations are listed below. A Content Policy Operand Type is given with the Content Policy Requires needed on the Content Policy, the Content Policy Events that can be selected upon, the specific Content Policy Selectors that can be used, and the functions used to configure those selectors.
- POLICY_OPERAND_TCP
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_REQUIRES_TCP
- The Content Policy Operand supports these LocalLB:::PolicyEvents:
- POLICY_EVENT_SSL_CLIENT_HELLO
- POLICY_EVENT_SSL_SERVER_HELLO
- POLICY_EVENT_SSL_SERVER_HANDSHAKE
- POLICY_EVENT_REQUEST
- POLICY_EVENT_RESPONSE
- These are the supported LocalLB::PolicySelectors and the functions
used to set selections:
- POLICY_SELECTOR_ADDRESS
- set_condition_internal_state
- POLICY_SELECTOR_PORT
- set_condition_internal_state
- POLICY_SELECTOR_MSS
- set_condition_internal_state
- POLICY_SELECTOR_RTT
- set_condition_internal_state
- POLICY_SELECTOR_VLAN
- set_condition_internal_state
- POLICY_SELECTOR_VLAN_ID
- set_condition_internal_state
- POLICY_SELECTOR_ROUTE_DOMAIN
- set_condition_internal_state
- POLICY_SELECTOR_ADDRESS
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_OPERAND_CLIENT_SSL
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_REQUIRES_CLIENT_SSL
- The Content Policy Operand supports these LocalLB:::PolicyEvents:
- POLICY_EVENT_REQUEST
- POLICY_EVENT_RESPONSE
- These are the supported LocalLB::PolicySelectors and the functions
used to set selections:
- POLICY_SELECTOR_PROTOCOL
- add_condition_values (with any string)
- POLICY_SELECTOR_CIPHER
- add_condition_values (with any string)
- POLICY_SELECTOR_CIPHER_BITS
- add_condition_values (with number formatted strings)
- POLICY_SELECTOR_PROTOCOL
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_OPERAND_HTTP_METHOD
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_REQUIRES_HTTP
- The Content Policy Operand supports these LocalLB:::PolicyEvents:
- POLICY_EVENT_REQUEST
- These are the supported LocalLB::PolicySelectors and the functions
used to set selections:
- POLICY_SELECTOR_ALL
- add_condition_values (with any string)
- POLICY_SELECTOR_ALL
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_OPERAND_HTTP_URI
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_REQUIRES_HTTP
- The Content Policy Operand supports these LocalLB:::PolicyEvents:
- POLICY_EVENT_REQUEST
- These are the supported LocalLB::PolicySelectors and the functions
used to set selections:
- POLICY_SELECTOR_ALL
- add_condition_values (with any string)
- POLICY_SELECTOR_SCHEME
- add_condition_values (with any string)
- POLICY_SELECTOR_HOST
- add_condition_values (with any string)
- POLICY_SELECTOR_PATH
- add_condition_values (with any string)
- POLICY_SELECTOR_QUERY_STRING
- add_condition_values (with any string)
- POLICY_SELECTOR_EXTENSION
- add_condition_values (with any string)
- POLICY_SELECTOR_PATH_SEGMENT
- set_condition_index
- POLICY_SELECTOR_QUERY_PARAMETER
- add_condition_values (with any string)
- POLICY_SELECTOR_UNNAMED_QUERY_PARAMETER
- set_condition_index
- POLICY_SELECTOR_PORT
- add_condition_values (with number formatted strings)
- POLICY_SELECTOR_ALL
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_OPERAND_HTTP_VERSION
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_REQUIRES_HTTP
- The Content Policy Operand supports these LocalLB:::PolicyEvents:
- POLICY_EVENT_REQUEST
- POLICY_EVENT_RESPONSE
- These are the supported LocalLB::PolicySelectors and the functions
used to set selections:
- POLICY_SELECTOR_ALL
- add_condition_values (with any string)
- POLICY_SELECTOR_MAJOR
- add_condition_values (with number formatted strings)
- POLICY_SELECTOR_MINOR
- add_condition_values (with number formatted strings)
- POLICY_SELECTOR_PROTOCOL
- add_condition_values (with any string)
- POLICY_SELECTOR_ALL
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_OPERAND_HTTP_STATUS
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_REQUIRES_HTTP
- The Content Policy Operand supports these LocalLB:::PolicyEvents:
- POLICY_EVENT_RESPONSE
- These are the supported LocalLB::PolicySelectors and the functions
used to set selections:
- POLICY_SELECTOR_ALL
- add_condition_values (with any string)
- POLICY_SELECTOR_CODE
- add_condition_values (with number formatted strings)
- POLICY_SELECTOR_TEXT
- add_condition_values (with any string)
- POLICY_SELECTOR_ALL
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_OPERAND_HTTP_HOST
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_REQUIRES_HTTP
- The Content Policy Operand supports these LocalLB:::PolicyEvents:
- POLICY_EVENT_REQUEST
- These are the supported LocalLB::PolicySelectors and the functions
used to set selections:
- POLICY_SELECTOR_ALL
- add_condition_values (with any string)
- POLICY_SELECTOR_HOST
- add_condition_values (with any string)
- POLICY_SELECTOR_PORT
- add_condition_values (with number formatted strings)
- POLICY_SELECTOR_ALL
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_OPERAND_HTTP_HEADER
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_REQUIRES_HTTP
- The Content Policy Operand supports these LocalLB:::PolicyEvents:
- POLICY_EVENT_REQUEST
- POLICY_EVENT_RESPONSE
- These are the supported LocalLB::PolicySelectors and the functions
used to set selections:
- POLICY_SELECTOR_ALL
- add_condition_values (with any string)
- POLICY_SELECTOR_ALL
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_OPERAND_HTTP_REFERER
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_REQUIRES_HTTP
- The Content Policy Operand supports these LocalLB:::PolicyEvents:
- POLICY_EVENT_REQUEST
- These are the supported LocalLB::PolicySelectors and the functions
used to set selections:
- POLICY_SELECTOR_ALL
- add_condition_values (with any string)
- POLICY_SELECTOR_SCHEME
- add_condition_values (with any string)
- POLICY_SELECTOR_HOST
- add_condition_values (with any string)
- POLICY_SELECTOR_PATH
- add_condition_values (with any string)
- POLICY_SELECTOR_QUERY_STRING
- add_condition_values (with any string)
- POLICY_SELECTOR_EXTENSION
- add_condition_values (with any string)
- POLICY_SELECTOR_PATH_SEGMENT
- set_condition_index
- POLICY_SELECTOR_QUERY_PARAMETER
- add_condition_values (with any string)
- POLICY_SELECTOR_UNNAMED_QUERY_PARAMETER
- set_condition_index
- POLICY_SELECTOR_PORT
- add_condition_values (with number formatted strings)
- POLICY_SELECTOR_ALL
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_OPERAND_HTTP_COOKIE
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_REQUIRES_HTTP
- The Content Policy Operand supports these LocalLB:::PolicyEvents:
- POLICY_EVENT_REQUEST
- These are the supported LocalLB::PolicySelectors and the functions
used to set selections:
- POLICY_SELECTOR_ALL
- add_condition_values (with any string)
- POLICY_SELECTOR_ALL
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_OPERAND_HTTP_SET_COOKIE
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_REQUIRES_HTTP
- The Content Policy Operand supports these LocalLB:::PolicyEvents:
- POLICY_EVENT_RESPONSE
- These are the supported LocalLB::PolicySelectors and the functions
used to set selections:
- POLICY_SELECTOR_VALUE
- add_condition_values (with any string)
- POLICY_SELECTOR_PATH
- add_condition_values (with any string)
- POLICY_SELECTOR_DOMAIN
- add_condition_values (with any string)
- POLICY_SELECTOR_EXPIRY
- add_condition_values (with any string)
- POLICY_SELECTOR_VERSION
- add_condition_values (with any string)
- POLICY_SELECTOR_VALUE
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_OPERAND_HTTP_BASIC_AUTH
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_REQUIRES_HTTP
- The Content Policy Operand supports these LocalLB:::PolicyEvents:
- POLICY_EVENT_REQUEST
- These are the supported LocalLB::PolicySelectors and the functions
used to set selections:
- POLICY_SELECTOR_USERNAME
- add_condition_values (with any string)
- POLICY_SELECTOR_PASSWORD
- add_condition_values (with any string)
- POLICY_SELECTOR_USERNAME
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_OPERAND_SSL_EXTENSION
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_REQUIRES_SSL_PERSISTENCE
- The Content Policy Operand supports these LocalLB:::PolicyEvents:
- POLICY_EVENT_SSL_CLIENT_HELLO
- POLICY_EVENT_SSL_SERVER_HELLO
- These are the supported LocalLB::PolicySelectors and the functions
used to set selections:
- POLICY_SELECTOR_SERVER_NAME
- add_condition_values (with any string)
- POLICY_SELECTOR_NPN
- set_condition_index
- POLICY_SELECTOR_ALPN
- set_condition_index
- POLICY_SELECTOR_SERVER_NAME
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_OPERAND_SSL_CERT
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_REQUIRES_SSL_PERSISTENCE
- The Content Policy Operand supports these LocalLB:::PolicyEvents:
- POLICY_EVENT_SSL_SERVER_HANDSHAKE
- These are the supported LocalLB::PolicySelectors and the functions
used to set selections:
- POLICY_SELECTOR_COMMON_NAME
- set_condition_index
- POLICY_SELECTOR_COMMON_NAME
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_OPERAND_GEOIP
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_REQUIRES_HTTP
- The Content Policy Operand supports these LocalLB:::PolicyEvents:
- POLICY_EVENT_SSL_CLIENT_HELLO
- POLICY_EVENT_SSL_SERVER_HELLO
- POLICY_EVENT_SSL_SERVER_HANDSHAKE
- POLICY_EVENT_REQUEST
- POLICY_EVENT_RESPONSE
- These are the supported LocalLB::PolicySelectors and the functions
used to set selections:
- POLICY_SELECTOR_CONTINENT
- set_condition_internal_state
- POLICY_SELECTOR_COUNTRY_CODE
- set_condition_internal_state
- POLICY_SELECTOR_COUNTRY_NAME
- set_condition_internal_state
- POLICY_SELECTOR_REGION_CODE
- set_condition_internal_state
- POLICY_SELECTOR_REGION_NAME
- set_condition_internal_state
- POLICY_SELECTOR_ORG
- set_condition_internal_state
- POLICY_SELECTOR_ISP
- set_condition_internal_state
- POLICY_SELECTOR_CONTINENT
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_OPERAND_CPU_USAGE
- The Content Policy Operand supports these LocalLB:::PolicyEvents:
- POLICY_EVENT_SSL_CLIENT_HELLO
- POLICY_EVENT_SSL_SERVER_HELLO
- POLICY_EVENT_SSL_SERVER_HANDSHAKE
- POLICY_EVENT_REQUEST
- POLICY_EVENT_RESPONSE
- These are the supported LocalLB::PolicySelectors and the functions
used to set selections:
- POLICY_SELECTOR_LAST_15SECS
- add_condition_values (with number formatted strings)
- POLICY_SELECTOR_LAST_1MIN
- add_condition_values (with number formatted strings)
- POLICY_SELECTOR_LAST_5MINS
- add_condition_values (with number formatted strings)
- POLICY_SELECTOR_LAST_15SECS
- The Content Policy Operand supports these LocalLB:::PolicyEvents:
- POLICY_OPERAND_HTTP_USER_AGENT
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
- POLICY_REQUIRES_HTTP
- The Content Policy Operand supports these LocalLB:::PolicyEvents:
- POLICY_EVENT_REQUEST
- These are the supported LocalLB::PolicySelectors and the functions
used to set selections:
- POLICY_SELECTOR_DEVICE_MAKE
- add_condition_values (with any string)
- POLICY_SELECTOR_DEVICE_MODEL
- add_condition_values (with any string)
- POLICY_SELECTOR_BROWSER_TYPE
- add_condition_values (with any string)
- POLICY_SELECTOR_BROWSER_VERSION
- add_condition_values (with any string)
- POLICY_SELECTOR_USER_AGENT_TOKEN
- add_condition_values (with any string)
- POLICY_SELECTOR_DEVICE_MAKE
- This operand is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyRequires:
As a guide for creating the list of valid Content Policy Actions. The allowable configurations are listed below. A Content Policy Target is given with the Content Policy Events when the Content Policy Action can take place, the allowable Content Policy Actions that can take place, and the functions that can modify the specific Content Policy Targets.
- POLICY_TARGET_HTTP
- LocalLB::PolicyEvents that an action can work on:
- POLICY_EVENT_REQUEST
- POLICY_EVENT_RESPONSE
- The following ContentPolicy::PolicyActions take no parameters:
- POLICY_ACTION_ENABLE
- POLICY_ACTION_DISABLE
- LocalLB::PolicyEvents that an action can work on:
- POLICY_TARGET_HTTP_URI
- LocalLB::PolicyEvents that an action can work on:
- POLICY_EVENT_REQUEST
- ContentPolicy::PolicyActions whose use is optional:
- POLICY_ACTION_REPLACE
- set_action_value
- set_action_path
- set_action_query_string
- POLICY_ACTION_REPLACE
- LocalLB::PolicyEvents that an action can work on:
- POLICY_TARGET_HTTP_HOST
- LocalLB::PolicyEvents that an action can work on:
- POLICY_EVENT_REQUEST
- ContentPolicy::PolicyActions that can be used on this Content
Policy Target:
- ContentPolicy::PolicyActions whose use is required:
- POLICY_ACTION_REPLACE
- set_action_value
- POLICY_ACTION_REPLACE
- ContentPolicy::PolicyActions whose use is required:
- LocalLB::PolicyEvents that an action can work on:
- POLICY_TARGET_HTTP_HEADER
- LocalLB::PolicyEvents that an action can work on:
- POLICY_EVENT_REQUEST
- POLICY_EVENT_RESPONSE
- ContentPolicy::PolicyActions that can be used on this Content
Policy Target:
- ContentPolicy::PolicyActions whose use is required:
- POLICY_ACTION_INSERT
- set_action_name
- set_action_value
- POLICY_ACTION_REPLACE
- set_action_name
- set_action_value
- POLICY_ACTION_REMOVE
- set_action_name
- POLICY_ACTION_INSERT
- ContentPolicy::PolicyActions whose use is required:
- LocalLB::PolicyEvents that an action can work on:
- POLICY_TARGET_HTTP_REFERER
- LocalLB::PolicyEvents that an action can work on:
- POLICY_EVENT_REQUEST
- ContentPolicy::PolicyActions that can be used on this Content
Policy Target:
- ContentPolicy::PolicyActions whose use is required:
- POLICY_ACTION_INSERT
- set_action_value
- POLICY_ACTION_INSERT
- ContentPolicy::PolicyActions whose use is optional:
- POLICY_ACTION_REPLACE
- set_action_value
- POLICY_ACTION_REPLACE
- The following ContentPolicy::PolicyActions take no parameters:
- POLICY_ACTION_REMOVE
- ContentPolicy::PolicyActions whose use is required:
- LocalLB::PolicyEvents that an action can work on:
- POLICY_TARGET_HTTP_COOKIE
- LocalLB::PolicyEvents that an action can work on:
- POLICY_EVENT_REQUEST
- ContentPolicy::PolicyActions that can be used on this Content
Policy Target:
- ContentPolicy::PolicyActions whose use is required:
- POLICY_ACTION_INSERT
- set_action_name
- POLICY_ACTION_REMOVE
- set_action_name
- POLICY_ACTION_INSERT
- ContentPolicy::PolicyActions whose use is optional:
- POLICY_ACTION_INSERT
- set_action_value
- POLICY_ACTION_INSERT
- ContentPolicy::PolicyActions whose use is required:
- LocalLB::PolicyEvents that an action can work on:
- POLICY_TARGET_HTTP_SET_COOKIE
- LocalLB::PolicyEvents that an action can work on:
- POLICY_EVENT_RESPONSE
- ContentPolicy::PolicyActions that can be used on this Content
Policy Target:
- ContentPolicy::PolicyActions whose use is required:
- POLICY_ACTION_INSERT
- set_action_name
- set_action_value
- POLICY_ACTION_REMOVE
- set_action_name
- POLICY_ACTION_INSERT
- ContentPolicy::PolicyActions whose use is optional:
- POLICY_ACTION_INSERT
- set_action_domain
- set_action_path
- POLICY_ACTION_INSERT
- ContentPolicy::PolicyActions whose use is required:
- LocalLB::PolicyEvents that an action can work on:
- POLICY_TARGET_HTTP_REPLY
- This target is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyControls:
- POLICY_CONTROLS_FORWARDING
- LocalLB::PolicyEvents that an action can work on:
- POLICY_EVENT_REQUEST
- POLICY_EVENT_RESPONSE
- ContentPolicy::PolicyActions that can be used on this Content
Policy Target:
- ContentPolicy::PolicyActions whose use is required:
- POLICY_ACTION_REDIRECT
- set_action_location
- POLICY_ACTION_REDIRECT
- ContentPolicy::PolicyActions whose use is required:
- This target is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyControls:
- POLICY_TARGET_LOG
- LocalLB::PolicyEvents that an action can work on:
- POLICY_EVENT_SSL_CLIENT_HELLO
- POLICY_EVENT_SSL_SERVER_HELLO
- POLICY_EVENT_SSL_SERVER_HANDSHAKE
- POLICY_EVENT_REQUEST
- POLICY_EVENT_RESPONSE
- ContentPolicy::PolicyActions that can be used on this Content
Policy Target:
- ContentPolicy::PolicyActions whose use is required:
- POLICY_ACTION_WRITE
- set_action_message
- POLICY_ACTION_WRITE
- ContentPolicy::PolicyActions whose use is optional:
- POLICY_ACTION_WRITE
- set_action_facility
- set_action_priority
- set_action_ip_address
- set_action_port
- POLICY_ACTION_WRITE
- ContentPolicy::PolicyActions whose use is required:
- LocalLB::PolicyEvents that an action can work on:
- POLICY_TARGET_PEM
- This target is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyControls:
- POLICY_CONTROLS_CLASSIFICATION
- LocalLB::PolicyEvents that an action can work on:
- POLICY_EVENT_SSL_CLIENT_HELLO
- POLICY_EVENT_SSL_SERVER_HELLO
- POLICY_EVENT_SSL_SERVER_HANDSHAKE
- POLICY_EVENT_REQUEST
- POLICY_EVENT_RESPONSE
- ContentPolicy::PolicyActions whose use is optional:
- POLICY_ACTION_CLASSIFY
- set_action_application
- set_action_category
- set_action_protocol
- set_action_defer_state
- set_action_ssl_session_id_state
- POLICY_ACTION_CLASSIFY
- This target is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyControls:
- POLICY_TARGET_CACHE
- This target is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyControls:
- POLICY_CONTROLS_CACHING
- LocalLB::PolicyEvents that an action can work on:
- POLICY_EVENT_REQUEST
- POLICY_EVENT_RESPONSE
- ContentPolicy::PolicyActions whose use is optional:
- POLICY_ACTION_ENABLE
- set_action_pin_state
- POLICY_ACTION_ENABLE
- The following ContentPolicy::PolicyActions take no parameters:
- POLICY_ACTION_DISABLE
- This target is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyControls:
- POLICY_TARGET_COMPRESS
- This target is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyControls:
- POLICY_CONTROLS_COMPRESSION
- LocalLB::PolicyEvents that an action can work on:
- POLICY_EVENT_REQUEST
- POLICY_EVENT_RESPONSE
- The following ContentPolicy::PolicyActions take no parameters:
- POLICY_ACTION_ENABLE
- POLICY_ACTION_DISABLE
- This target is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyControls:
- POLICY_TARGET_DECOMPRESS
- This target is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyControls:
- POLICY_CONTROLS_COMPRESSION
- LocalLB::PolicyEvents that an action can work on:
- POLICY_EVENT_REQUEST
- POLICY_EVENT_RESPONSE
- The following ContentPolicy::PolicyActions take no parameters:
- POLICY_ACTION_ENABLE
- POLICY_ACTION_DISABLE
- This target is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyControls:
- POLICY_TARGET_FORWARD
- This target is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyControls:
- POLICY_CONTROLS_FORWARDING
- LocalLB::PolicyEvents that an action can work on:
- POLICY_EVENT_REQUEST
- ContentPolicy::PolicyActions whose use is optional:
- POLICY_ACTION_SELECT
- set_action_pool
- set_action_clone_pool
- set_action_node
- set_action_member
- set_action_snat_automap_state
- set_action_snatpool
- set_action_nexthop
- set_action_vlan
- set_action_vlan_id
- set_action_virtual
- set_action_rateclass
- POLICY_ACTION_SELECT
- The following ContentPolicy::PolicyActions take no parameters:
- POLICY_ACTION_RESET
- This target is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyControls:
- POLICY_TARGET_TCP_NAGLE
- LocalLB::PolicyEvents that an action can work on:
- POLICY_EVENT_REQUEST
- The following ContentPolicy::PolicyActions take no parameters:
- POLICY_ACTION_ENABLE
- POLICY_ACTION_DISABLE
- LocalLB::PolicyEvents that an action can work on:
- POLICY_TARGET_WAM
- This target is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyControls:
- POLICY_CONTROLS_ACCELERATION
- LocalLB::PolicyEvents that an action can work on:
- POLICY_EVENT_REQUEST
- The following ContentPolicy::PolicyActions take no parameters:
- POLICY_ACTION_ENABLE
- POLICY_ACTION_DISABLE
- This target is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyControls:
- POLICY_TARGET_ASM
- This target is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyControls:
- POLICY_CONTROLS_ASM
- LocalLB::PolicyEvents that an action can work on:
- POLICY_EVENT_REQUEST
- ContentPolicy::PolicyActions that can be used on this Content
Policy Target:
- ContentPolicy::PolicyActions whose use is required:
- POLICY_ACTION_ENABLE
- set_action_policy
- POLICY_ACTION_ENABLE
- The following ContentPolicy::PolicyActions take no parameters:
- POLICY_ACTION_DISABLE
- ContentPolicy::PolicyActions whose use is required:
- This target is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyControls:
- POLICY_TARGET_L7DOS
- This target is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyControls:
- POLICY_CONTROLS_L7DOS
- LocalLB::PolicyEvents that an action can work on:
- POLICY_EVENT_REQUEST
- ContentPolicy::PolicyActions whose use is optional:
- POLICY_ACTION_ENABLE
- set_action_from_profile
- POLICY_ACTION_ENABLE
- The following ContentPolicy::PolicyActions take no parameters:
- POLICY_ACTION_DISABLE
- This target is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyControls:
- POLICY_TARGET_AVR
- This target is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyControls:
- POLICY_CONTROLS_AVR
- LocalLB::PolicyEvents that an action can work on:
- POLICY_EVENT_REQUEST
- The following ContentPolicy::PolicyActions take no parameters:
- POLICY_ACTION_ENABLE
- POLICY_ACTION_DISABLE
- This target is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyControls:
- POLICY_TARGET_TCL
- LocalLB::PolicyEvents that an action can work on:
- POLICY_EVENT_SSL_CLIENT_HELLO
- POLICY_EVENT_SSL_SERVER_HELLO
- POLICY_EVENT_SSL_SERVER_HANDSHAKE
- POLICY_EVENT_REQUEST
- POLICY_EVENT_RESPONSE
- ContentPolicy::PolicyActions that can be used on this Content
Policy Target:
- ContentPolicy::PolicyActions whose use is required:
- POLICY_ACTION_SET_VARIABLE
- set_action_name
- set_action_expression
- POLICY_ACTION_SET_VARIABLE
- ContentPolicy::PolicyActions whose use is required:
- LocalLB::PolicyEvents that an action can work on:
- POLICY_TARGET_RESPONSE_ADAPT
- This target is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyControls:
- POLICY_CONTROLS_RESPONSE_ADAPTATION
- LocalLB::PolicyEvents that an action can work on:
- POLICY_EVENT_REQUEST
- POLICY_EVENT_RESPONSE
- ContentPolicy::PolicyActions whose use is optional:
- POLICY_ACTION_ENABLE
- set_action_internal_virtual
- POLICY_ACTION_ENABLE
- The following ContentPolicy::PolicyActions take no parameters:
- POLICY_ACTION_DISABLE
- This target is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyControls:
- POLICY_TARGET_REQUEST_ADAPT
- This target is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyControls:
- POLICY_CONTROLS_REQUEST_ADAPTATION
- LocalLB::PolicyEvents that an action can work on:
- POLICY_EVENT_REQUEST
- POLICY_EVENT_RESPONSE
- ContentPolicy::PolicyActions whose use is optional:
- POLICY_ACTION_ENABLE
- set_action_internal_virtual
- POLICY_ACTION_ENABLE
- The following ContentPolicy::PolicyActions take no parameters:
- POLICY_ACTION_DISABLE
- This target is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyControls:
- POLICY_TARGET_SERVER_SSL
- This target is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyControls:
- POLICY_CONTROLS_SERVER_SSL
- LocalLB::PolicyEvents that an action can work on:
- POLICY_EVENT_REQUEST
- The following ContentPolicy::PolicyActions take no parameters:
- POLICY_ACTION_ENABLE
- POLICY_ACTION_DISABLE
- This target is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyControls:
- POLICY_TARGET_LTM_POLICY
- LocalLB::PolicyEvents that an action can work on:
- POLICY_EVENT_SSL_CLIENT_HELLO
- POLICY_EVENT_SSL_SERVER_HELLO
- POLICY_EVENT_SSL_SERVER_HANDSHAKE
- POLICY_EVENT_REQUEST
- POLICY_EVENT_RESPONSE
- The following ContentPolicy::PolicyActions take no parameters:
- POLICY_ACTION_DISABLE
- LocalLB::PolicyEvents that an action can work on:
- POLICY_TARGET_PERSIST
- This target is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyControls:
- POLICY_CONTROLS_PERSISTENCE
- LocalLB::PolicyEvents that an action can work on:
- POLICY_EVENT_REQUEST
- ContentPolicy::PolicyActions that can be used on this Content
Policy Target:
- ContentPolicy::PolicyActions whose use is required:
- POLICY_ACTION_PERSIST_COOKIE_HASH
- set_action_name
- POLICY_ACTION_PERSIST_UNIVERSAL
- set_action_key
- POLICY_ACTION_PERSIST_HASH
- set_action_key
- POLICY_ACTION_PERSIST_CARP
- set_action_key
- POLICY_ACTION_PERSIST_COOKIE_HASH
- ContentPolicy::PolicyActions whose use is optional:
- POLICY_ACTION_SOURCE_ADDRESS
- set_action_netmask
- set_action_timeout
- POLICY_ACTION_DESTINATION_ADDRESS
- set_action_netmask
- set_action_timeout
- POLICY_ACTION_PERSIST_COOKIE_INSERT
- set_action_name
- set_action_expiry
- POLICY_ACTION_PERSIST_COOKIE_REWRITE
- set_action_name
- set_action_expiry
- POLICY_ACTION_PERSIST_COOKIE_PASSIVE
- set_action_name
- POLICY_ACTION_PERSIST_COOKIE_HASH
- set_action_offset
- set_action_length
- set_action_timeout
- POLICY_ACTION_PERSIST_UNIVERSAL
- set_action_timeout
- POLICY_ACTION_PERSIST_HASH
- set_action_timeout
- POLICY_ACTION_PERSIST_CARP
- set_action_timeout
- POLICY_ACTION_SOURCE_ADDRESS
- The following ContentPolicy::PolicyActions take no parameters:
- POLICY_ACTION_DISABLE
- ContentPolicy::PolicyActions whose use is required:
- This target is only valid when the Content Policy is associated
with the following ContentPolicy::PolicyControls:
Methods¶
Method | Description | Introduced |
add_condition_value | Adds to the list of strings that a Content Policy Condition can match on. | BIG-IP_v12.0.0 |
add_policy_controls | Adds to a list of Content Policy Controls associated with the given Content Policies. | BIG-IP_v12.0.0 |
add_policy_requires | Adds a set of Content Policy Requires to the specified Content Policies. | BIG-IP_v12.0.0 |
add_policy_rule | Adds a set of Content Policy Rules to the specified Content Policies. | BIG-IP_v12.0.0 |
add_rule_action | Adds to the list of Content Policy Actions associated with the Content Policy Rules of a given Content Policy. The value of the Content Policy Action ID determines the order in which they are executed. | BIG-IP_v12.0.0 |
add_rule_condition | Adds to the list of Content Policy Conditions for the specified Content Policy Rules for the specified Content Policies. | BIG-IP_v12.0.0 |
create | Creates a new Content Policy with a Content Policy Strategy. See LocalLB::ContentPolicyStrategy for more details. The new Content Policy will have a Content Policy Requires of POLICY_REQUIRES_HTTP. | BIG-IP_v12.0.0 |
delete_all_policies | Deletes all policies. | BIG-IP_v12.0.0 |
delete_policy | Deletes a list of policies. | BIG-IP_v12.0.0 |
get_action_application | Gets an application. | BIG-IP_v12.0.0 |
get_action_category | Gets a category. | BIG-IP_v12.0.0 |
get_action_clone_pool | Gets a clone pool value. | BIG-IP_v12.0.0 |
get_action_defer_state | Gets whether to defer a PolicyAction. | BIG-IP_v12.0.0 |
get_action_domain | Gets a domain value. | BIG-IP_v12.0.0 |
get_action_event | Gets the connection event that a Content Policy Action will act upon. | BIG-IP_v12.0.0 |
get_action_expiry | Gets the expiry value. | BIG-IP_v12.0.0 |
get_action_expression | Gets a Tcl expression value. | BIG-IP_v12.0.0 |
get_action_facility | Gets a Syslog facility. | BIG-IP_v12.0.0 |
get_action_from_profile | Gets a from profile value. | BIG-IP_v12.0.0 |
get_action_internal_virtual_server | Gets an internal virtual server. | BIG-IP_v12.0.0 |
get_action_key | Gets a key value. | BIG-IP_v12.0.0 |
get_action_location | Gets a URL location value. | BIG-IP_v12.0.0 |
get_action_member | Gets a member value. | BIG-IP_v12.0.0 |
get_action_message | Gets the message for a connection when it triggers a Content Policy Action. | BIG-IP_v12.0.0 |
get_action_name | Gets a name value. | BIG-IP_v12.0.0 |
get_action_netmask | Gets a netmask value. | BIG-IP_v12.0.0 |
get_action_nexthop | Gets a nexthop value. | BIG-IP_v12.0.0 |
get_action_node | Gets a node value. | BIG-IP_v12.0.0 |
get_action_offset | Gets an offset value for a connection&aposs cookie hash persistence. | BIG-IP_v12.0.0 |
get_action_path | Gets a URI path value. | BIG-IP_v12.0.0 |
get_action_pin_state | Gets the state to pin cached content in memory. | BIG-IP_v12.0.0 |
get_action_policy | Gets a policy to invoke. | BIG-IP_v12.0.0 |
get_action_pool | Gets a pool value. | BIG-IP_v12.0.0 |
get_action_port | Gets a port value. | BIG-IP_v12.0.0 |
get_action_priority | Gets a priority value. | BIG-IP_v12.0.0 |
get_action_protocol | Gets a protocol value. | BIG-IP_v12.0.0 |
get_action_query_string | Gets query string value. | BIG-IP_v12.0.0 |
get_action_rateclass | Gets a rateclass value. | BIG-IP_v12.0.0 |
get_action_snat_automap_state | Gets whether or not to use SNAT automap for a connection. | BIG-IP_v12.0.0 |
get_action_snatpool | Gets the SNAT Pool for a connection. | BIG-IP_v12.0.0 |
get_action_ssl_session_id_state | Gets whether to set an SSL session ID. | BIG-IP_v12.0.0 |
get_action_status | Gets a status value. | BIG-IP_v12.0.0 |
get_action_target | Gets the Content Policy Action Target that will specify what in a matched connection will be modified. | BIG-IP_v12.0.0 |
get_action_timeout | Gets a timeout value in seconds. | BIG-IP_v12.0.0 |
get_action_type | Gets the Content Policy Action Type for the specifed Content Policy Actions. | BIG-IP_v12.0.0 |
get_action_value | Gets a string value. | BIG-IP_v12.0.0 |
get_action_virtual_server | Gets a virtual server. | BIG-IP_v12.0.0 |
get_action_vlan | Gets a VLAN value. | BIG-IP_v12.0.0 |
get_action_vlan_id | Gets a VLAN ID value. | BIG-IP_v12.0.0 |
get_condition_can_be_missing_state | Gets whether a given Content Policy Condition can be missing when matching a connection. | BIG-IP_v12.0.0 |
get_condition_case_sensitive_state | Gets whether or not case sensitivity matters when matching strings in a connection for a Content Policy Condition. | BIG-IP_v12.0.0 |
get_condition_event | Gets the Policy Event for the specified Content Policy Conditions. | BIG-IP_v12.0.0 |
get_condition_index | Gets the index of an array to search in when matching a connection which has a list of values. | BIG-IP_v12.0.0 |
get_condition_internal_state | Gets whether or not a Content Policy Condition matches internally. | BIG-IP_v12.0.0 |
get_condition_local_state | Gets whether or not a Content Policy Condition matches locally. | BIG-IP_v12.0.0 |
get_condition_name | Gets the name that a Policy Condition Selector can use to match names on a connection. | BIG-IP_v12.0.0 |
get_condition_negate_state | Gets whether or not to negate a Content Policy Condition. | BIG-IP_v12.0.0 |
get_condition_operand | Gets the Policy Operand for the set of Policy Conditions for the set of Content Policy Rules for the set of Content Policies. | BIG-IP_v12.0.0 |
get_condition_selector | Gets the Policy Selector for the specified Content Policy Conditions. | BIG-IP_v12.0.0 |
get_condition_type | Gets the Policy Condition Type for the specified Content Policy Conditions. | BIG-IP_v12.0.0 |
get_condition_value | Gets the list of strings that a Content Policy Condition can match on. Note: All values passed into conditions will be translated to the appropriate type for the condition. For example, when a port is selected upon under a TCP operand, the values matched upon will be added using this function and the arguments will be string representations of integer values. Similarly, when an IP address is selected upon then the IP address will be passed in as a string formatted to look like an IP address. | BIG-IP_v12.0.0 |
get_description | Gets the description for a set of Content Policies. | BIG-IP_v12.0.0 |
get_list | Gets a list of all Content Policies. | BIG-IP_v12.0.0 |
get_policy_controls | Gets a list of Content Policy Controls associated with the given Content Policies. A Content Policy Controls indicates the of virtual server behaviors that a Content Policy may modify. This will also affect the types of Content Policy Rule Actions that can be used in the Content Policy. | BIG-IP_v12.0.0 |
get_policy_requires | Gets a list of Content Policy Requires associated with the given Content Policies. A Content Policy Requires indicates the types of profiles that need to be associated with a virtual server before a Content Policy can be attached. This will also affect the types of Content Policy Rule Conditions that can be used in the Content Policy. Upon removing all Content Policy Requires, the Content Policy Requires will automatically set itself to include only POLICY_REQUIRES_HTTP. | BIG-IP_v12.0.0 |
get_policy_rule | Gets the Content Policy Rules for the specified Content Policies. Content Policy Rules are collections of Content Policy Conditions to match connections and Content Policy Actions to take actions when a Content Policy Condition is matched. These Content Policy Rules may have a specified ordinal to determine how to match rules when a Content Policy Strategy of type PolicyStrategy::STRATEGY_MATCH_FIRST is attached to the Content Policy. | BIG-IP_v12.0.0 |
get_rule_action | Gets the list of Content Policy Actions associated with the Content Policy Rules of a given Content Policy. A Content Policy Action describes how to change a connection when all of the Content Policy Conditions of a Content Policy Rule are matched. The value of the Content Policy Action ID determines the order in which they are executed. | BIG-IP_v12.0.0 |
get_rule_condition | Gets the list of Content Policy Conditions for the specified Content Policy Rules for the specified Content Policy Conditions. The Content Policy Conditions specify a set of conditions that can be used to match a connection through a virtual server by a Content Policy. The value of the Content Policy Condition ID determines the order in which they are evaluated with the Content Policy Conditions with the smallest ID being tested first. | BIG-IP_v12.0.0 |
get_rule_ordinal | Gets the ordinal for the specified Content Policy Rules under the specified Content Policies. | BIG-IP_v12.0.0 |
get_strategy | Gets the Content Policy Strategy for a set of Content Policies. | BIG-IP_v12.0.0 |
get_version | Gets the version information for this interface. | BIG-IP_v12.0.0 |
remove_all_condition_values | Removes all strings that a Content Policy Condition can match on. | BIG-IP_v12.0.0 |
remove_all_policy_controls | Removes all Content Policy Controls associated with the given Content Policies. | BIG-IP_v12.0.0 |
remove_all_policy_requires | Removes all Content Policy Requires from the specified Content Policies. | BIG-IP_v12.0.0 |
remove_all_policy_rules | Removes all Content Policy Rules from the specified Content Policies. | BIG-IP_v12.0.0 |
remove_all_rule_actions | Removes all Content Policy Actions from the given Content Policy Rules. | BIG-IP_v12.0.0 |
remove_all_rule_conditions | Removes all Content Policy Conditions from the specified Content Policy Rules for the specified Content Policies. | BIG-IP_v12.0.0 |
remove_condition_value | Removes from the list of strings that a Content Policy Condition can match on. | BIG-IP_v12.0.0 |
remove_policy_controls | Removes from the list of Content Policy Controls associated with the given Content Policies. | BIG-IP_v12.0.0 |
remove_policy_requires | Removes a set of Content Policy Requires from the specified Content Policies. | BIG-IP_v12.0.0 |
remove_policy_rule | Removes a set of Content Policy Rules from the specified Content Policies. | BIG-IP_v12.0.0 |
remove_rule_action | Removes from the list of Content Policy Actions associated with the Content Policy Rules of a given Content Policy. | BIG-IP_v12.0.0 |
remove_rule_condition | Removes from the list of Content Policy Conditions for the specified Content Policy Rules for the specified Content Policies. | BIG-IP_v12.0.0 |
set_action_application | Sets an application. | BIG-IP_v12.0.0 |
set_action_category | Sets a category. | BIG-IP_v12.0.0 |
set_action_clone_pool | Sets a clone pool value. | BIG-IP_v12.0.0 |
set_action_defer_state | Sets whether to defer a PolicyAction. For example, when defer is set to true with POLICY_ACTION_CLASSIFY, the classification of a connection is deferred. | BIG-IP_v12.0.0 |
set_action_domain | Sets a domain value. As a Tcl-enabled field, strings which start with “tcl:” are treated as Tcl expressions and get expanded at runtime. | BIG-IP_v12.0.0 |
set_action_event | Sets the connection event that a Content Policy Action will act upon (See: LocalLB::PolicyEvent for more details). | BIG-IP_v12.0.0 |
set_action_expiry | Sets the expiry for a connection in conjunction with a PolicyAction of POLICY_ACTION_PERSIST_COOKIE_INSERT or POLICY_ACTION_COOKIE_REWRITE. The expiry determines how long a persistence cookie is valid for a connection. The format of arguments can take two forms: <NN> - For an expiry of NN seconds. [<NN>d][<HH>:<MM>:<SS>] - For an expiry of NN days, HH hours, MM minutes, SS seconds. For example, an expiry of 9d09:09:09 would set a cookie expiration 9 days, 9 hours, 9 minutes, and 9 seconds, into the future. | BIG-IP_v12.0.0 |
set_action_expression | Sets a Tcl expression value. This is a Tcl-enabled field which is always treated as a Tcl expression. | BIG-IP_v12.0.0 |
set_action_facility | Sets a Syslog facility. The facilities may be “user”, “local0”, “local1”, “local2”, “local3”, “local4”, “local5”, “local6”, “local7”, “syslog”, “security”, “authpriv”, “daemon”, “kern”, “cron”, “ftp”, “lpr”, “mail”, “news”, or “uucp”. | BIG-IP_v12.0.0 |
set_action_from_profile | Sets a from profile value. | BIG-IP_v12.0.0 |
set_action_internal_virtual_server | Sets an internal virtual server. | BIG-IP_v12.0.0 |
set_action_key | Sets a key value. As a Tcl-enabled field, strings which starts with “tcl:” are treated as Tcl expressions and get expanded at runtime. | BIG-IP_v12.0.0 |
set_action_location | Sets a URL location value. As a Tcl-enabled field, strings which start with “tcl:” are treated as Tcl expressions and get expanded at runtime. | BIG-IP_v12.0.0 |
set_action_member | Sets a member value. | BIG-IP_v12.0.0 |
set_action_message | Sets a message value. As a Tcl-enabled field, strings which start with “tcl:” are treated as Tcl expressions and get expanded at runtime. | BIG-IP_v12.0.0 |
set_action_name | Sets a name value. Name values are typically associated with attributes of a target that are name-value pairs. For example, with a PolicyTarget of POLICY_TARGET_PERSIST, the name can be set for a cookie hash with a PolicyAction of POLICY_ACTION_PERSIST_COOKIE_HASH. | BIG-IP_v12.0.0 |
set_action_netmask | Sets a netmask value. | BIG-IP_v12.0.0 |
set_action_nexthop | Sets a nexthop value. | BIG-IP_v12.0.0 |
set_action_node | Sets a node value. | BIG-IP_v12.0.0 |
set_action_offset | Sets an offset value for a connection&aposs cookie hash persistence. | BIG-IP_v12.0.0 |
set_action_path | Sets a URI path value. As a Tcl-enabled field, strings which start with “tcl:” are treated as Tcl expressions and get expanded at runtime. | BIG-IP_v12.0.0 |
set_action_pin_state | Sets the state to pin cached content in memory. | BIG-IP_v12.0.0 |
set_action_policy | Sets a policy to invoke. | BIG-IP_v12.0.0 |
set_action_pool | Sets a pool value. | BIG-IP_v12.0.0 |
set_action_port | Sets a port value. | BIG-IP_v12.0.0 |
set_action_priority | Sets a priority value. Priorities correspond to Syslog priorities and may only be “debug”, “info”, “notice”, “warning”, “err”, “crit”, “alert”, or “emerg”. | BIG-IP_v12.0.0 |
set_action_protocol | Sets a protocol value. | BIG-IP_v12.0.0 |
set_action_query_string | Sets a query string value. As a Tcl-enabled field, strings which start with “tcl:” are treated as Tcl expressions and get expanded at runtime. | BIG-IP_v12.0.0 |
set_action_rateclass | Sets a rateclass value. | BIG-IP_v12.0.0 |
set_action_snat_automap_state | Sets whether or not to use SNAT automap for a connection. | BIG-IP_v12.0.0 |
set_action_snatpool | Sets the SNAT Pool for a connection. | BIG-IP_v12.0.0 |
set_action_ssl_session_id_state | Sets whether to set an SSL session ID. | BIG-IP_v12.0.0 |
set_action_status | Sets a status value. | BIG-IP_v12.0.0 |
set_action_target | Sets the Content Policy Action Target that will specify what in a matched connection will be modified. | BIG-IP_v12.0.0 |
set_action_timeout | Sets a timeout value in seconds. The timeout must be a non-negative number. | BIG-IP_v12.0.0 |
set_action_type | Sets the Content Policy Action Type for the specifed Content Policy Actions. This determines the type of action that will be taken on a connection that matches the rules Content Policy Conditions. | BIG-IP_v12.0.0 |
set_action_value | Sets a string value. This string value is typically used with POLICY_ACTION_INSERT or POLICY_ACTION_REPLACE to insert or replace a value for the given PolicyTarget. As a Tcl-enabled field, strings which start with “tcl:” are treated as Tcl expressions and get expanded at runtime. | BIG-IP_v12.0.0 |
set_action_virtual_server | Sets a virtual server. | BIG-IP_v12.0.0 |
set_action_vlan | Sets a VLAN value. | BIG-IP_v12.0.0 |
set_action_vlan_id | Sets a VLAN ID value. | BIG-IP_v12.0.0 |
set_condition_can_be_missing_state | Sets whether a given Content Policy Condition can be missing when matching a connection. | BIG-IP_v12.0.0 |
set_condition_case_sensitive_state | Sets whether or not case sensitivity matters when matching strings in a connection for a Content Policy Condition. | BIG-IP_v12.0.0 |
set_condition_event | Sets the Policy Event for the specified Content Policy Conditions. The Policy Event is an event for a Content Policy Condition to look for under a given Policy Operand (See: LocalLB::PolicyEvent for more details). | BIG-IP_v12.0.0 |
set_condition_index | Sets the index of an array to search in when matching a connection which provides a list of values. For example, during an EVENT_SERVERSSL_HANDSHAKE a list of suggested cipher suites is exchanged, the index in this case would refer to an index in the list of suggested cipher suites sent. | BIG-IP_v12.0.0 |
set_condition_internal_state | Sets whether or not a Content Policy Condition matches internally. A connection between a client and the server across the system contains four endpoints. Two of which are the client-side or external endpoints. In other words, one endpoint indicates the client end of the connection and one endpoint indicates the system end. The other two are the server-side or internal endpoints. In other words, one endpoint indicates the system end and the other indicates the server end. When a condition matches internally, it matches on the server-side of a connection. Whether a connection is matched on the system side or the client or server side is determined by the local state. | BIG-IP_v12.0.0 |
set_condition_local_state | Sets whether or not a Content Policy Condition matches locally. A connection between a client and the server across the system contains four endpoints. Two of which are the local endpoints. In other words, those endpoints indicate the system ends of the connection. Two of which are the non-local endpoints. In other words, those endpoints indicate the client or server ends of the connection. When a condition matches locally, it matches on the system-side of a connection. Whether a connection is matched on the client-side or server-side is determined by the internal state. | BIG-IP_v12.0.0 |
set_condition_name | Sets the name that a Policy Condition Selector can use to match names on a connection. | BIG-IP_v12.0.0 |
set_condition_negate_state | Sets whether or not to negate a Content Policy Condition. When a Content Policy Condition is negated, then a connection not matched under a Content Policy Condition would match and vice-versa. | BIG-IP_v12.0.0 |
set_condition_operand | Sets the Policy Operand for the set of Policy Conditions for the set of Content Policy Rules for the set of Content Policies. A Policy Operand specifies an attribute of a connection that a Content Policy Condition will match on (See: LocalLB::PolicyOperand for more details). | BIG-IP_v12.0.0 |
set_condition_selector | Sets the Policy Selector for the specified Content Policy Conditions. The Policy Selector determines what value to match on as in a Policy Event for a given connection (See: LocalLB::PolicySelector for more details). | BIG-IP_v12.0.0 |
set_condition_type | Sets the Policy Condition Type for the specified Content Policy Conditions. A Policy Condition Type specifies how to compare a connection for a Content Policy Condition. | BIG-IP_v12.0.0 |
set_description | Sets the description for a set of Content Policies. This is an arbitrary field which can be used for any purpose. | BIG-IP_v12.0.0 |
set_rule_ordinal | Sets the ordinal for the specified Content Policy Rules under the specified Content Policies. The ordinal determines the increasing order in which Content Policy Rules are applied if a Content Policy Strategy of type PolicyStrategy::STRATEGY_FIRST_MATCH is present. | BIG-IP_v12.0.0 |
set_strategy | Sets the Content Policy Strategy for a set of Content Policies. A Content Policy Strategy is a way to resolve conflicts when multiple Content Policy Rules have their Content Policy Conditions matched. See: LocalLB::ContentPolicyStrategy for more details. | BIG-IP_v12.0.0 |
Enumerations¶
Enumeration | Description |
PolicyAction | The Content Policy Action Type specifies what actions to take on a connection when a Content Policy Condition is matched. |
PolicyCondition | A Content Policy Condition Type specifies how to match a Content Policy Condition. For example, when the Content Policy Condition Type is POLICY_CONDITION_STARTS, then the Content Policy will match based on if the beginning of a string is the same as some string value. Similarly, when the Content Policy Condition Type is POLICY_CONDITION_EQUALS, then the Content Policy will match when a numeric value equals a given numeric value. |
PolicyControls | The Content Policy Controls Type specifies the features of the system that a Content Policy can use when matching and modifying content. |
PolicyRequires | The Content Policy Requires type specifies the profiles that must be present on a virtual server before attaching a Content Policy. |
PolicyTarget | 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. |
Aliases¶
Alias | Type | Description |
PolicyActionSequence | PolicyAction [] | A sequence of PolicyActions. |
PolicyActionSequenceSequence | PolicyAction [] [] | A sequence of sequence of PolicyActions. |
PolicyActionSequenceSequenceSequence | PolicyAction [] [] [] | A sequence of sequence of sequence of PolicyActions. |
PolicyConditionSequence | PolicyCondition [] | A sequence of PolicyConditions. |
PolicyConditionSequenceSequence | PolicyCondition [] [] | A sequence of sequence of PolicyConditions. |
PolicyConditionSequenceSequenceSequence | PolicyCondition [] [] [] | A sequence of sequence of sequence of PolicyConditions. |
PolicyControlsSequence | PolicyControls [] | A sequence of PolicyControls. |
PolicyControlsSequenceSequence | PolicyControls [] [] | A sequence of sequence of PolicyControls. |
PolicyRequiresSequence | PolicyRequires [] | A sequence of PolicyRequires. |
PolicyRequiresSequenceSequence | PolicyRequires [] [] | A sequence of sequence of PolicyRequires. |
PolicyTargetSequence | PolicyTarget [] | A sequence of PolicyTargets. |
PolicyTargetSequenceSequence | PolicyTarget [] [] | A sequence of sequence of PolicyTargets. |
PolicyTargetSequenceSequenceSequence | PolicyTarget [] [] [] | A sequence of sequence of sequence of PolicyTargets. |
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.