blob: 1275ca62e178d8e0403c140eb1f2b3d2a318f1c5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
syntax = "proto3";
package yandex.cloud.loadbalancer.v1;
import "google/protobuf/timestamp.proto";
import "yandex/cloud/validation.proto";
option go_package = "github.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1;loadbalancer";
option java_package = "yandex.cloud.api.loadbalancer.v1";
// A TargetGroup resource. For more information, see [Target groups and resources](/docs/network-load-balancer/concepts/target-resources).
message TargetGroup {
reserved 8;
// Output only. ID of the target group.
string id = 1;
// ID of the folder that the target group belongs to.
string folder_id = 2;
// Output only. Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
google.protobuf.Timestamp created_at = 3;
// Name of the target group.
// The name is unique within the folder. 3-63 characters long.
string name = 4;
// Description of the target group. 0-256 characters long.
string description = 5;
// Resource labels as `` key:value `` pairs. Maximum of 64 per resource.
map<string, string> labels = 6;
// ID of the region where the target group resides.
string region_id = 7;
// A list of targets in the target group.
repeated Target targets = 9;
}
// A Target resource. For more information, see [Target groups and resources](/docs/network-load-balancer/concepts/target-resources).
message Target {
// ID of the subnet that targets are connected to.
// All targets in the target group must be connected to the same subnet within a single availability zone.
string subnet_id = 1 [(length) = "<=50"];
// IP address of the target.
string address = 2;
}
|