構文
tadm create-request-limit common_options --config=config_name --vs=vs_name (--max-rps=x | --max-connections=c) [--condition=expr] request_limit_name
オプション
common_options
の詳細は、helpコマンドを実行してください。
--config|-c
リクエスト制限ルールを作成する構成の名前を指定します。
--vs|-s
仮想サーバーの名前を指定します。
--max-rps|-r
1秒当たりの最大リクエストを指定します。
--max-connections|-x
サーバーに対する同時接続の最大数を指定します。値は0または正の整数です。デフォルトは0です。許容される最大値は20480です。
--condition|-C
リクエスト制限の条件を指定します。
リクエスト制限ルールの名前を指定します。
例
tadm create-request-limit --user=admin --host=admin.example.com --password-file=./admin.passwd --port=8989 --no-prompt --config=www.example.org --vs=soa.example.org --max-connections=25 request-limit-1
終了コードと構文表記の詳細は、helpコマンドを実行してください。