Home > Configuration > Transform > addtransformpolicylabel

addtransformpolicylabel

Use this method to creates a URL Transformation policy label.
A policy label is a tool for evaluating a set of policies in a specified order. By using a policy label, you can configure the URL Transformation feature to choose the next policy, invoke a different policy label, or terminate policy evaluation completely by looking at whether the previous policy evaluated to TRUE or FALSE.

Syntax



Parameters

labelname

Name for the policy label. 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 label 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 policylabel” or ‘my transform policylabel).
This is mandatory parameter.

policylabeltype

Types of transformations allowed by the policies bound to the label. For URL transformation, always http_req (HTTP Request).
This is mandatory parameter.

Return Value

Returns simpleResult

See Also