--- title: "getTargetGroupDetail" slug: "cli-vloadbalancer-targetgroup-gettargetgroupdetail" updated: 2026-10-08T09:57:39Z published: 2026-10-08T09:57:39Z canonical: "cli.ncloud-docs.com/cli-vloadbalancer-targetgroup-gettargetgroupdetail" --- > ## 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. # getTargetGroupDetail VPC環境で利用できます。 ターゲットグループ番号を利用してターゲットグループの詳細情報を照会します。 ## 構文 `getTargetGroupDetail`構文は次の通りです。 ``` ./ncloud vloadbalancer getTargetGroupDetail \ --targetGroupNo \ [--regionCode ] \ [--output ] ``` ## オプション `getTargetGroupDetail`の実行時に指定できるオプションについて説明します。 ### 必須オプション `getTargetGroupDetail`の必須オプションです。 | オプション | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `--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 getTargetGroupDetail \ --targetGroupNo 55667788 \ --regionCode KR \ --output json ``` ### 出力 出力の例は次の通りです。 ``` { "getTargetGroupDetailResponse": { "totalRows": 1, "targetGroupList": [ { "targetGroupNo": "55667788", "targetGroupName": "lb-test-tg", "targetType": { "code": "VSVR", "codeName": "Server (VPC)" }, "vpcNo": "12345678", "targetGroupProtocolType": { "code": "HTTP", "codeName": "HTTP protocol" }, "targetGroupPort": 80, "targetGroupDescription": "Updated target group description", "useStickySession": true, "useProxyProtocol": false, "algorithmType": { "code": "RR", "codeName": "Round Robin" }, "createDate": "2026-07-07T17:08:44+0900", "regionCode": "KR", "loadBalancerInstanceNo": "41112223", "healthCheckProtocolType": { "code": "HTTP", "codeName": "HTTP protocol" }, "healthCheckPort": 8080, "healthCheckUrlPath": "/health", "healthCheckHttpMethodType": { "code": "GET", "codeName": "HTTP GET Method" }, "healthCheckCycle": 60, "healthCheckUpThreshold": 3, "healthCheckDownThreshold": 3, "targetNoList": [] } ], "requestId": "c3d4e5f6-a7b8-9012-cdef-345678901234", "returnCode": "0", "returnMessage": "success" } } ```