configure-health-check
Description
指定したロードバランサーのヘルスチェックの設定を変更します。
ロードバランサーを指定するためには、ロードバランサー名・ポート番号が必要です。
ヘルスチェックの実行結果は、API「DescribeInstanceHealth」で確認できます。
ヘルスチェックの際のサーバー切り離し時間について
サーバーからの応答時間がタイムアウトを超えた場合にサーバーをロードバランサーから切り離します。
設定されるヘルスチェックのタイムアウト時間については、ロードバランサー(L4)のヘルスチェックについて をご確認ください。
設定されたヘルスチェックのタイムアウト時間は、「DescribeLoadBalancers」の Timeout で確認ができます。
See also: NIFCLOUD API Documentation
Synopsis
configure-health-check
--health-check <value>
--instance-port <value>
--load-balancer-name <value>
--load-balancer-port <value>
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
Options
--health-check
(structure)
HealthyThreshold -> (integer)
Interval -> (integer)
Target -> (string)
Timeout -> (integer)
UnhealthyThreshold -> (integer)
Shorthand Syntax:
HealthyThreshold=integer,Interval=integer,Target=string,Timeout=integer,UnhealthyThreshold=integer
JSON Syntax:
{
"HealthyThreshold": integer,
"Interval": integer,
"Target": "string",
"Timeout": integer,
"UnhealthyThreshold": integer
}
--instance-port
(integer)
--load-balancer-name
(string)
--load-balancer-port
(integer)
Global Options
--debug
(boolean)
Turn on debug logging.
--endpoint-url
(string)
Override command’s default URL with the given URL.
--no-verify-ssl
(boolean)
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
--no-paginate
(boolean)
Disable automatic pagination.
--output
(string)
The formatting style for command output.
json
text
table
--query
(string)
A JMESPath query to use in filtering the response data.
--profile
(string)
Use a specific profile from your credential file.
--region
(string)
The region to use. Overrides config/env settings.
--version
(string)
Display the version of this tool.
--color
(string)
Turn on/off color output.
on
off
auto
--no-sign-request
(boolean)
Do not sign requests. Credentials will not be loaded if this argument is provided.
--ca-bundle
(string)
The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.
--cli-read-timeout
(int)
The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.
--cli-connect-timeout
(int)
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.
Output
ConfigureHealthCheckResult -> (structure)
HealthCheck -> (structure)
HealthyThreshold -> (integer)
Interval -> (integer)
Target -> (string)
UnhealthyThreshold -> (integer)
ResponseMetadata -> (structure)
RequestId -> (string)