getrewritepolicyResult Structure Definition

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

rewritepolicyList

List of rewritepolicys


rewritepolicy Structure Definition

The rewritepolicy structure defines the actual return type values for getrewritepolicy API.

Syntax



Members

name

Name of the rewrite policy.

rule

Expression against which traffic is evaluated. The following requirements apply only to the Citrix ADC CLI: * If the expression includes one or more spaces, enclose the entire expression in double quotation marks. * If the expression itself includes double quotation marks, escape the quotations by using the \ character. * Alternatively, you can use single quotation marks to enclose the rule, in which case you do not have to escape the double quotation marks.

actioN

Rewrite action associated with the policy.

undefaction

Undef Action associated with the policy.

hits

Number of hits.

undefhits

Number of Undef hits.

activepolicy

Indicates whether policy is bound or not.

boundto

Location where policy is bound

priority

Specifies the priority of the 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.

description

Description of the policy

comment

Any comments to preserve information about this rewrite policy.

logaction

Name of messagelog action to use when a request matches this policy.

isdefault

A value of true is returned if it is a default rewritepolicy.

builtin

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

_nextgenapiresource


See Also