Yandex Cloud
  • Сервисы
  • Решения
  • Почему Yandex Cloud
  • Сообщество
  • Тарифы
  • Документация
  • Связаться с нами
Подключиться
Language / Region
Проект Яндекса
© 2023 ООО «Яндекс.Облако»
Yandex Network Load Balancer
  • Начало работы
  • Пошаговые инструкции
    • Все инструкции
    • Сетевые балансировщики
      • Создать балансировщик
      • Создать внутренний балансировщик
      • Запустить балансировщик
      • Остановить балансировщик
      • Удалить балансировщик
      • Проверить состояние целевых ресурсов
      • Добавить обработчик
      • Удалить обработчик
    • Целевые группы
      • Создать целевую группу
      • Подключить целевую группу к балансировщику
      • Отключить целевую группу от балансировщика
      • Удалить целевую группу
  • Концепции
    • Сетевой балансировщик нагрузки
    • Внутренний сетевой балансировщик
    • Обработчик
    • Целевые ресурсы и группы
    • Проверка состояния ресурсов
    • Квоты и лимиты
  • Рекомендации по использованию сервиса
  • Управление доступом
  • Правила тарификации
  • Справочник API
    • Аутентификация в API
    • gRPC (англ.)
      • Overview
      • NetworkLoadBalancerService
      • TargetGroupService
      • OperationService
    • REST (англ.)
      • Overview
      • NetworkLoadBalancer
        • Overview
        • addListener
        • attachTargetGroup
        • create
        • delete
        • detachTargetGroup
        • get
        • getTargetStates
        • list
        • listOperations
        • removeListener
        • start
        • stop
        • update
      • TargetGroup
        • Overview
        • addTargets
        • create
        • delete
        • get
        • list
        • listOperations
        • removeTargets
        • update
      • Operation
        • Overview
        • get
  • Вопросы и ответы
  1. Справочник API
  2. REST (англ.)
  3. TargetGroup
  4. Overview

Network Load Balancer API, REST: TargetGroup methods

Статья создана
Yandex Cloud
  • JSON Representation
  • Methods

A set of methods for managing TargetGroup resources.

JSON Representation

{
  "id": "string",
  "folderId": "string",
  "createdAt": "string",
  "name": "string",
  "description": "string",
  "labels": "object",
  "regionId": "string",
  "targets": [
    {
      "subnetId": "string",
      "address": "string"
    }
  ]
}
Field Description
id string

Output only. ID of the target group.

folderId string

ID of the folder that the target group belongs to.

createdAt string (date-time)

Output only. Creation timestamp in RFC3339 text format.

String in RFC3339 text format. The range of possible values is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

name string

Name of the target group. The name is unique within the folder. 3-63 characters long.

description string

Description of the target group. 0-256 characters long.

labels object

Resource labels as key:value pairs. Maximum of 64 per resource.

regionId string

ID of the region where the target group resides.

targets[] object

A list of targets in the target group.

targets[].
subnetId
string

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.

The maximum string length in characters is 50.

targets[].
address
string

IP address of the target.

Methods

Method Description
addTargets Adds targets to the target group.
create Creates a target group in the specified folder and adds the specified targets to it.
delete Deletes the specified target group.
get Returns the specified TargetGroup resource.
list Retrieves the list of TargetGroup resources in the specified folder.
listOperations Lists operations for the specified target group.
removeTargets Removes targets from the target group.
update Updates the specified target group.

Была ли статья полезна?

Language / Region
Проект Яндекса
© 2023 ООО «Яндекс.Облако»
В этой статье:
  • JSON Representation
  • Methods