Method get
Returns the specified target group.
To get the list of all available target groups, make a list request.
HTTP request
GET https://alb.api.cloud.yandex.net/apploadbalancer/v1/targetGroups/{targetGroupId}
Path parameters
Parameter | Description |
---|---|
targetGroupId | Required. ID of the target group to return. To get the target group ID, make a list request. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"name": "string",
"description": "string",
"folderId": "string",
"labels": "object",
"targets": [
{
"subnetId": "string",
"privateIpv4Address": true,
"ipAddress": "string"
}
],
"createdAt": "string"
}
A target group resource.
For details about the concept, see documentation.
Field | Description |
---|---|
id | string ID of the target group. Generated at creation time. |
name | string Name of the target group. The name is unique within the folder. |
description | string Description of the target group. |
folderId | string ID of the folder that the target group belongs to. |
labels | object Target group labels as |
targets[] | object A target resource. For details about the concept, see documentation. |
targets[]. subnetId |
string ID of the subnet that the target is connected to. |
targets[]. privateIpv4Address |
boolean (boolean) If set, will not require |
targets[]. ipAddress |
string IP address of the target. |
createdAt | string (date-time) Creation timestamp. String in RFC3339 text format. |