getappfwpolicylabelResult Structure Definition

The getappfwpolicylabelResult structure defines the return type for getappfwpolicylabel API.

Syntax



Members

rc

If the method succeeds, rc is 0 else rc > 0. Values above 0x8000 indicate Warnings.

message

If the method succeeds, message is NULL else message contains Error/Warning message.

appfwpolicylabelList

List of appfwpolicylabels


appfwpolicylabel Structure Definition

The appfwpolicylabel structure defines the actual return type values for getappfwpolicylabel API.

Syntax



Members

labelname

Name of the application firewall policy label.

policylabeltype

Type of transformations allowed by the policies bound to the label. Always http_req for application firewall policy labels.

numpol

Number of polices bound to label.

hits

Number of times policy label was invoked.

policyname

Name of the application firewall policy to bind to the policy label.

priority

Positive integer specifying the priority of the policy. A lower number specifies a higher priority. Must be unique within a group of policies that are bound to the same bind point or label. Policies are evaluated in the order of their priority numbers.

gotopriorityexpression

Expression specifying the priority of the next policy which will get evaluated if the current policy rule evaluates to TRUE.

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 policy label to invoke if the current policy evaluates to TRUE and the invoke parameter is set. Available settings function as follows: * reqvserver. Invoke the unnamed policy label associated with the specified request virtual server. * policylabel. Invoke the specified user-defined policy label.

labelname2

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

description

Description of the policylabel

policytype


_nextgenapiresource


appfwpolicylabelname


boundpriority


boundgotoprioexpression


boundinvokelabeltype


boundinvokelabelname


See Also