create-compression-rule

Syntax

tadm create-compression-rule common_options 
[--condition=expr] --config=config_name --vs=vs_name 
compression_rule_name

Description

Use this command to create a compression rule.

Options

For information about common_options, run the help command.

--condition|-C

Specify the condition for the compression rule.

--config|-c

Specify the configuration name for which you want to create a compression rule.

--vs|-s

Specify the name of the virtual server.

Operands

create-compression-rule

Specify the compression rule name.

Example

tadm create-compression-rule --user=admin --host=admin.example.com --password-file=./admin.passwd --port=8989 
--no-prompt --config=www.example.org --vs=soa.example.org 
compression-rule-1

Exit Codes

The following exit values are returned:

0: command executed successfully

>0: error in executing the command

For more information about exit codes and syntax notations, run the help command.

See Also

help, delete-compression-rule, set-compression-rule-prop, list-compression-rules