TargetGroup
Written by
A set of methods for managing target groups.
JSON Representation
{
"id": "string",
"name": "string",
"description": "string",
"folderId": "string",
"labels": "object",
"targets": [
{
"subnetId": "string",
"privateIpv4Address": true,
"ipAddress": "string"
}
],
"createdAt": "string"
}
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 List of targets in the target group. |
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. |
Methods
Method | Description |
---|---|
addTargets | Adds targets to the specified target group. |
create | Creates a target group in the specified folder. |
delete | Deletes the specified target group. |
get | Returns the specified target group. |
list | Lists target groups in the specified folder. |
listOperations | Lists operations for the specified target group. |
removeTargets | Removes targets from the specified target group. |
update | Updates the specified target group. |