Home > Configuration > Traffic Management > addtmtrafficpolicy

addtmtrafficpolicy

Use this method to adds a traffic policy to use for setting connection timeout, single sign-on, and initiating logout. The policy sets the characteristics of application traffic at run time.

Syntax



Parameters

name

Name for the traffic policy. Must begin with an ASCII alphanumeric or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at (@), equals (=), and hyphen (-) characters. Cannot be changed after the policy is created. 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 policy" or 'my policy').
This is mandatory parameter.

rule

Name of the Citrix ADC named expression, or an expression, that the policy uses to determine whether to apply certain action on the current traffic.
This is mandatory parameter.

actioN

Name of the action to apply to requests or connections that match this policy.
This is mandatory parameter.

Return Value

Returns simpleResult

See Also