--- title: "getTargetList" slug: "cli-vloadbalancer-targetgroup-gettargetlist" updated: 2026-10-08T09:57:27Z published: 2026-10-08T09:57:27Z canonical: "cli.ncloud-docs.com/cli-vloadbalancer-targetgroup-gettargetlist" --- > ## Documentation Index > Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # getTargetList VPC環境で利用できます。 ターゲットグループに適用されたターゲットリストを照会します。 ## 構文 `getTargetList`構文は次の通りです。 ``` ./ncloud vloadbalancer getTargetList \ --targetGroupNo \ [--regionCode ] \ [--output ] ``` ## オプション `getTargetList`の実行時に指定できるオプションについて説明します。 ### 必須オプション `getTargetList`の必須オプションです。 | オプション | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `--targetGroupNo` | String | Required | ターゲットグループの番号 - [getTargetGroupList](/docs/ja/cli-vloadbalancer-targetgroup-gettargetgrouplist)を参照 | ### 共通オプション `vloadbalancer`コマンドで共通して使用するオプションについては、[Load Balancer (VPC)のオプション](/docs/ja/cli-vloadbalancer#%EC%98%B5%EC%85%98)をご参照ください。 ## 例 ターゲットリストの照会リクエストが成功すると、各ターゲットの識別情報とヘルスチェックの状態が返されます。 ### コマンド コマンドの例は次の通りです。 ``` ./ncloud vloadbalancer getTargetList \ --targetGroupNo 55667788 \ --regionCode KR \ --output json ``` ### 出力 出力の例は次の通りです。 ``` { "getTargetListResponse": { "totalRows": 1, "targetList": [ { "targetNo": "34567890", "targetName": "lb-test-target-01", "targetIp": "10.0.1.6", "healthCheckStatus": { "code": "DOWN", "codeName": "Health DOWN state" }, "healthCheckResponse": "" } ], "requestId": "a7b8c9d0-e1f2-3456-abcd-789012345678", "returnCode": "0", "returnMessage": "success" } } ```