getnstimerResult Structure Definition

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

nstimerList

List of nstimers


nstimer Structure Definition

The nstimer structure defines the actual return type values for getnstimer API.

Syntax



Members

name

Timer name.

interval

The frequency at which the policies bound to this timer are invoked. The minimum value is 20 msec. The maximum value is 20940 in seconds and 349 in minutes

unit

Timer interval unit

comment

Comments associated with this timer.

policyname

The timer policy associated with the timer.

priority

Specifies the priority of the timer policy.

gotopriorityexpression

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

vserver

Name of the vserver which provides the context for the rule in timer policy. When not specified it is treated as a Global Default context.

samplesize

Denotes the sample size. Sample size value of 'x' means that previous '(x - 1)' policy's rule evaluation results and the current evaluation result are present with the binding. For example, sample size of 10 means that there is a state of previous 9 policy evaluation results and also the current policy evaluation result.

threshold

Denotes the threshold. If the rule of the policy in the binding relation evaluates 'threshold size' number of times in 'sample size' to true, then the corresponding action is taken. Its value needs to be less than or equal to the sample size value.

_nextgenapiresource


See Also