Home > Configuration > Transform > addtransformpolicy

addtransformpolicy

Use this method to creates a URL Transformation policy, which specifies the requests and responses to be transformed by the associated profile.

Syntax



Parameters

name

Name for the URL Transformation policy. Must begin with a letter, number, or the underscore character (_), and must contain only letters, numbers, and the hyphen (-), period (.) pound (#), space ( ), at (@), equals (=), colon (:), and underscore characters. Can be changed after the URL Transformation policy is added. The following requirement applies only to the Citrix ADC CLI: If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, “my transform policy” or ‘my transform policy).
This is mandatory parameter.

rule

Expression, or name of a named expression, against which to evaluate traffic. The following requirements apply only to the Citrix ADC CLI: * If the expression includes blank spaces, the entire expression must be enclosed in double quotation marks. * If the expression itself includes double quotation marks, you must 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.
This is mandatory parameter.

profilename

Name of the URL Transformation profile to use to transform requests and responses that match the policy.
This is mandatory parameter.

comment

Any comments to preserve information about this URL Transformation policy.

logaction

Log server to use to log connections that match this policy.

Return Value

Returns simpleResult

See Also