Yandex Cloud
Поиск
Связаться с намиПопробовать бесплатно
  • Истории успеха
  • Документация
  • Блог
  • Все сервисы
  • Статус работы сервисов
  • Marketplace
    • Популярные
    • Инфраструктура и сеть
    • Платформа данных
    • Искусственный интеллект
    • Безопасность
    • Инструменты DevOps
    • Бессерверные вычисления
    • Управление ресурсами
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Облако для интеграторов
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Контент-программа
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Калькулятор цен
    • Тарифы
    • Акции и free tier
  • Истории успеха
  • Документация
  • Блог
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ООО «Яндекс.Облако»
Yandex Application Load Balancer
  • Начало работы
  • Управление доступом
  • Правила тарификации
    • Overview
      • Overview
      • append-grpc-route
      • append-http-route
      • create
      • delete
      • get
      • insert-grpc-route
      • insert-http-route
      • list
      • prepend-grpc-route
      • prepend-http-route
      • remove-grpc-route
      • remove-http-route
      • update
      • update-grpc-route
      • update-http-route
  • Справочник Terraform
  • Метрики Monitoring
  • Аудитные логи Audit Trails
  • Логи L7-балансировщика
  • История изменений
  • Обучающие курсы
  1. Справочник CLI (англ.)
  2. virtual-host
  3. append-http-route

yc application-load-balancer virtual-host append-http-route

Статья создана
Yandex Cloud
Обновлена 27 января 2026 г.

Appends http route to the specified virtual host of the http router

Command UsageCommand Usage

Syntax:

yc application-load-balancer virtual-host append-http-route <ROUTE-NAME> [Flags...] [Global Flags...]

FlagsFlags

Flag

Description

--http-router-id

string

ID of the Http router.

--http-router-name

string

Name of the Http router.

--async

Display information about the operation in progress, without waiting for the operation to complete.

--virtual-host-name

string

Specifies the name of the virtual host for the route.

--match-http-method

value[,value]

Specifies HTTP method matcher for the route.

--exact-path-match

string

Specifies exact path matcher for the route.

--prefix-path-match

string

Specifies prefix path matcher for the route.

--regex-path-match

string

Specifies regex path matcher for the route.

--backend-group-id

string

Specifies target backend group id for the route.

--backend-group-name

string

Specifies target backend group name for the route.

--request-timeout

duration

Specifies request timeout for the route.

--request-idle-timeout

duration

Specifies request idle timeout for the route.

--upgrade-types

value[,value]

Specifies allowed HTTP upgrade types for the route (e.g. websocket).

--host-rewrite

string

Specifies host rewrite for the route. Authority/host header sent to the backend will be replace with this value

--path-prefix-rewrite

string

Specifies path prefix rewrite for the route. Its value will be prepended to the request path.

--direct-response-code

int

Specifies direct response http status code for the route.

--direct-response-body

string

Specifies direct response body for the route.

--direct-response-body-file

string

Specifies path to a file containing direct response body.

--redirect-code

string

Specifies redirect response http status code for the route, either http code (302, 303) or textual representation (FOUND, SEE_OTHER). Default: 301 (MOVED_PERMANENTLY)

--redirect-scheme

string

Specifies redirect scheme rewrite for the route. If not specified, http scheme remains unchanged

--redirect-host

string

Specifies redirect authority/host rewrite for the route. If not specified, header remains unchanged

--redirect-port

int

Specifies redirect port rewrite for the route. If not specified, port either is rewritten according to well-known rules (80 -> 443 for http -> https redirect) or remains unchanged.

--redirect-path

string

Specifies redirect path rewrite for the route.

--redirect-prefix

string

Specifies path prefix to be appended to the request uri for the redirect.

--redirect-strip-query

If specified, original request query will be stripped from redirect location for the route.

--rate-limit

PROPERTY=VALUE[,PROPERTY=VALUE...]

Specifies rate limit configuration to be applied to http route.

Possible property names:

  • rps: Rate per second value.

  • rpm: Rate per minute value.

  • all-requests: Use rate limit for all incoming requests.

  • requests-per-ip: Use rate limit for requests groupped by client ip address.

--path-regex-rewrite

PROPERTY=VALUE[,PROPERTY=VALUE...]

Specifies regex rewrite configuration to be applied to http route.

Possible property names:

  • regex: Regular expression string used to find substrings that should be replaced.

  • substitute: String that should be substituted into matching substrings.

--disable-security-profile

Disables security profile for the route.

Global FlagsGlobal Flags

Flag

Description

--profile

string

Set the custom configuration file.

--debug

Debug logging.

--debug-grpc

Debug gRPC logging. Very verbose, used for debugging connection problems.

--no-user-output

Disable printing user intended output to stderr.

--retry

int

Enable gRPC retries. By default, retries are enabled with maximum 5 attempts.
Pass 0 to disable retries. Pass any negative value for infinite retries.
Even infinite retries are capped with 2 minutes timeout.

--cloud-id

string

Set the ID of the cloud to use.

--folder-id

string

Set the ID of the folder to use.

--folder-name

string

Set the name of the folder to use (will be resolved to id).

--endpoint

string

Set the Cloud API endpoint (host:port).

--token

string

Set the OAuth token to use.

--impersonate-service-account-id

string

Set the ID of the service account to impersonate.

--no-browser

Disable opening browser for authentication.

--format

string

Set the output format: text (default), yaml, json, json-rest.

--jq

string

Query to select values from the response using jq syntax

-h, --help

Display help for the command.

  • Создать HTTP-роутер для HTTP-трафика
  • Добавить маршрут в виртуальный хост
  • Пример модификации параметров HTTP-запросов

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

Предыдущая
append-grpc-route
Следующая
create
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ООО «Яндекс.Облако»