getlbpolicyResult Structure Definition

The getlbpolicyResult structure defines the return type for getlbpolicy 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.

lbpolicyList

List of lbpolicys


lbpolicy Structure Definition

The lbpolicy structure defines the actual return type values for getlbpolicy API.

Syntax



Members

name

Name of the LB policy.

rule

Expression against which traffic is evaluated.

actioN

Name of action to use if the request matches this LB policy.

undefaction

Action to perform if the result of policy evaluation is undefined (UNDEF). An UNDEF event indicates an internal error condition. Available settings function as follows: * NOLBACTION - Does not consider LB actions in making LB decision. * RESET - Reset the request and notify the user, so that the user can resend the request. * DROP - Drop the request without sending a response to the user.

hits

Number of hits.

undefhits

Number of policy UNDEF hits.

activepolicy

Indicates whether policy is bound or not.

boundto

Location where policy is bound

priority

Specifies the priority of the policy.

comment

Any type of information about this LB policy.

gotopriorityexpression

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

labeltype

Type of policy label invocation.

labelname

Name of the label to invoke if the current policy rule evaluates to TRUE.

builtin

Flag to determine if LB policy is built-in or not

logaction

Name of the messagelog action to use for requests that match this policy.

_nextgenapiresource


See Also