diff options
author | iddqd <iddqd@yandex-team.com> | 2024-06-11 10:12:13 +0300 |
---|---|---|
committer | iddqd <iddqd@yandex-team.com> | 2024-06-11 10:22:43 +0300 |
commit | 07f57e35443ab7f09471caf2dbf1afbcced4d9f7 (patch) | |
tree | a4a7b66ead62e83fa988a2ec2ce6576311c1f4b1 /contrib/libs/yandex-cloud-api-protos/yandex/cloud/apploadbalancer/v1/target_group.proto | |
parent | 6db3b8ca95e44179e48306a58656fb1f9317d9c3 (diff) | |
download | ydb-07f57e35443ab7f09471caf2dbf1afbcced4d9f7.tar.gz |
add contrib/python/yandexcloud to import
03b7d3cad2237366b55b393e18d4dc5eb222798c
Diffstat (limited to 'contrib/libs/yandex-cloud-api-protos/yandex/cloud/apploadbalancer/v1/target_group.proto')
-rw-r--r-- | contrib/libs/yandex-cloud-api-protos/yandex/cloud/apploadbalancer/v1/target_group.proto | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/contrib/libs/yandex-cloud-api-protos/yandex/cloud/apploadbalancer/v1/target_group.proto b/contrib/libs/yandex-cloud-api-protos/yandex/cloud/apploadbalancer/v1/target_group.proto new file mode 100644 index 0000000000..7322f88675 --- /dev/null +++ b/contrib/libs/yandex-cloud-api-protos/yandex/cloud/apploadbalancer/v1/target_group.proto @@ -0,0 +1,57 @@ +syntax = "proto3"; + +package yandex.cloud.apploadbalancer.v1; + +import "google/protobuf/timestamp.proto"; +import "yandex/cloud/validation.proto"; + +option go_package = "github.com/yandex-cloud/go-genproto/yandex/cloud/apploadbalancer/v1;apploadbalancer"; +option java_package = "yandex.cloud.api.apploadbalancer.v1"; + +// A target group resource. +// For details about the concept, see [documentation](/docs/application-load-balancer/concepts/target-group). +message TargetGroup { + // ID of the target group. Generated at creation time. + string id = 1; + + // Name of the target group. The name is unique within the folder. + string name = 2; + + // Description of the target group. + string description = 3; + + // ID of the folder that the target group belongs to. + string folder_id = 4; + + // Target group labels as `key:value` pairs. + // For details about the concept, see [documentation](/docs/overview/concepts/services#labels). + map<string, string> labels = 5; + + // List of targets in the target group. + repeated Target targets = 6; + + // Creation timestamp. + google.protobuf.Timestamp created_at = 7; +} + +// A target resource. +// For details about the concept, see [documentation](/docs/application-load-balancer/concepts/target-group). +message Target { + reserved 2; + // Reference to the target. As of now, targets must only be referred to by their IP addresses. + oneof address_type { + option (exactly_one) = true; + + // IP address of the target. + string ip_address = 1; + } + + // ID of the subnet that the target is connected to. + string subnet_id = 3; + + // If set, will not require `subnet_id` to validate the target. + // Instead, the address should belong to one of the following ranges: + // 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 + // Only one of `subnet_id` or `private_ipv4_address` should be set. + bool private_ipv4_address = 4; +} |