healthcheck コマンド ####################### healthcheck *********************** APIの健全性を確認します。 使用方法 ======================= .. code-block:: console apc healthcheck --profile <プロファイル名> .. admonition:: 例 .. code-block:: console apc healthcheck --profile acompany 引数 ----------------------- なし オプション ----------------------- .. option:: --profile <プロファイル名> 認証情報のプロファイル名を指定します。 .. dropdown:: 正常終了時の出力例 .. code-block:: console $ apc healthcheck --profile acompany API is healthy ! .. dropdown:: 異常終了時の出力例 .. code-block:: console # API接続エラーの場合 $ apc healthcheck --profile acompany Exception: Connection failed to API server # 存在しないプロファイルを指定した場合 $ apc healthcheck --profile nonexistent_profile Exception: Profile 'nonexistent_profile' not found # APIサーバーエラーの場合 $ apc healthcheck --profile acompany Exception: API server returned error status # 設定不備の場合 $ apc healthcheck --profile acompany Exception: API URL is not configured in profile