Home > Configuration > VideoOptimization > bindvideooptimizationglobaldetection_policy

bindvideooptimizationglobaldetection_policy

Use this method to bind policy to videooptimization globaldetection.

Syntax



Parameters

priority

Positive integer specifying the priority of the policy. A lower number specifies a higher priority. Policies are evaluated in the order of their priority numbers, and the first policy that matches the request is applied.
This is mandatory parameter.
Minimum value = 1.
Maximum value = 2147483647.

policyname

Name of the video optimization policy to activate.
This is mandatory parameter.

priority

Positive integer specifying the priority of the policy. A lower number specifies a higher priority. Policies are evaluated in the order of their priority numbers, and the first policy that matches the request is applied.
This is mandatory parameter.
Minimum value = 1.
Maximum value = 2147483647.

gotopriorityexpression

Expression or other value specifying the next policy to evaluate if the current policy evaluates to TRUE.

type

Bind point to which to bind the policy. Available settings function as follows: * REQ_OVERRIDE - Request override. Binds the policy to the priority request queue. * REQ_DEFAULT - Binds the policy to the default request queue. * RES_OVERRIDE - Response override. * RES_DEFAULT - Binds the policy to the default response queue.
Possible Values : REQ_OVERRIDE, REQ_DEFAULT, RES_OVERRIDE, RES_DEFAULT.

invoke

If the current policy evaluates to TRUE, terminate evaluation of policies bound to the current policy label, and then forward the request to the specified virtual server or evaluate the specified policy label.

labeltype

Type of invocation, Available settings function as follows: * vserver - Forward the request to the specified virtual server. * policylabel - Invoke the specified policy label.
Possible Values : vserver, policylabel.

labelname

Name of the policy label to invoke. If the current policy evaluates to TRUE, the invoke parameter is set, and Label Type is policylabel.

Return Value

Returns simpleResult

See Also