| bindcacheglobal_policy |
Use this method to bind policy to cache global. |
Syntax |
Parameters |
priority |
Priority to assign to the policy. The appliance might disallow some priority values, depending on what you have already configured. For example, a response cache policy cannot have a higher priority than a request cache policy. Priority helps in dictating the order of policy evaluation. This is mandatory parameter. Minimum value = 1. Maximum value = 2147483647. |
policy |
Name of the policy to bind. (A policy must be created before it can be bound.). This is mandatory parameter. |
priority |
Priority to assign to the policy. The appliance might disallow some priority values, depending on what you have already configured. For example, a response cache policy cannot have a higher priority than a request cache policy. Priority helps in dictating the order of policy evaluation. This is mandatory parameter. Minimum value = 1. Maximum value = 2147483647. |
precededefrules |
Specify whether this policy should be evaluated. NOTE: This attribute is deprecated. Since pre-builtin, built-in and post-built-in policies are in same policy bank, this is no longer needed Default value = NO. Possible Values : YES, NO. |
gotopriorityexpression |
Expression or other value specifying the priority of the next policy to evaluate if the current policy rule evaluates to TRUE. Specify one of the following values:
* END. Terminate evaluation of this policy bank. This setting is equivalent to omitting the parameter.
* NEXT. Evaluate the policy with the next higher priority.
* An expression whose evaluation results in a number.
Evaluation of an expression determines the next action as follows:
* If the expression evaluates to a priority number larger than the highest priority number in the policy bank, the next policy bank is evaluated.
* If the expression evaluates to the priority of a policy with a lower priority (higher number) within the same policy bank, that policy is evaluated next.
* If the expression evaluates to the priority of the current policy, the policy with the next-lower priority is evaluated next.
Any of the following results trigger an UNDEF condition
* The expression cannot be evaluated.
* The expression evaluates to a number that is smaller than the current policy's priority number |
type |
Bind point to which to bind the policy. Available settings function as follows:
* REQ_OVERRIDE. Binds the policy to the override request queue.
* REQ_DEFAULT. Binds the policy to the default request queue.
* RES_OVERRIDE. Binds the policy to the override response queue.
* RES_DEFAULT. Binds the policy to the default response queue.
* HTTPQUIC_REQ_OVERRIDE - Binds the policy to the HTTP_QUIC override request queue.
* HTTPQUIC_REQ_DEFAULT - Binds the policy to the HTTP_QUIC default request queue.
* HTTPQUIC_RES_OVERRIDE - Binds the policy to the HTTP_QUIC override response queue.
* HTTPQUIC_RES_DEFAULT - Binds the policy to the HTTP_QUIC default response queue. Possible Values : REQ_OVERRIDE, REQ_DEFAULT, RES_OVERRIDE, RES_DEFAULT, HTTPQUIC_REQ_OVERRIDE, HTTPQUIC_REQ_DEFAULT, HTTPQUIC_RES_OVERRIDE, HTTPQUIC_RES_DEFAULT. |
invoke |
Invoke policies bound to a virtual server or a user-defined policy label. After the invoked policies are evaluated, the flow returns to the policy with the next priority. Applicable only to default-syntax policies. |
labeltype |
Type of policy label to invoke. Possible Values : reqvserver, resvserver, policylabel. |
labelname |
Name of the label to invoke if the current policy rule evaluates to TRUE. (To invoke a label associated with a virtual server, specify the name of the virtual server.) |
Return Value |
Returns simpleResult |
See Also |