Available in VPC
Use a target group number to view the target group details.
Syntax
The getTargetGroupDetail syntax is as follows:
./ncloud vloadbalancer getTargetGroupDetail \
--targetGroupNo <target-group-no> \
[--regionCode <KR|SGN|JPN>] \
[--output <json|xml>]
Options
This section describes the options available when running getTargetGroupDetail.
Required options
The following options are required for getTargetGroupDetail.
| Options | Type | Required | Description |
|---|---|---|---|
--targetGroupNo |
String | Required | Target group number
|
Common options
For information about the options common to all vloadbalancer subcommands, see Load Balancer (VPC) options.
Examples
If the request to retrieve details of a target group is successful, the target group's composition information is returned.
Command
The command example is as follows:
./ncloud vloadbalancer getTargetGroupDetail \
--targetGroupNo 55667788 \
--regionCode KR \
--output json
Output
The output example is as follows:
{
"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"
}
}