Yandex Cloud
Документация
ПрезентацияСвязаться с намиНачать бесплатно
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»
Terraform в Yandex Cloud
  • Начало работы
  • Настройка аутентификации Terraform-провайдера Yandex Cloud
  • Вопросы и ответы
  • Библиотека решений
    • Обзор
    • История изменений (англ.)
          • api_gateway
          • function
          • function_trigger
          • logging_group

В этой статье:

  • Example usage
  • Arguments & Attributes Reference
  1. Справочник Terraform
  2. Ресурсы (англ.)
  3. Cloud Logging
  4. Data Sources
  5. api_gateway

yandex_api_gateway (DataSource)

Статья создана
Yandex Cloud
Обновлена 23 сентября 2026 г.
Открыть Markdown
  • Example usage
  • Arguments & Attributes Reference

Get information about a Yandex Cloud API Gateway. For more information, see the official documentation Yandex Cloud API Gateway.

Важно

Either api_gateway_id or name must be specified.

Example usageExample usage

//
// Get information about existing API Gateway
//
data "yandex_api_gateway" "my-api-gateway" {
  name = "my-api-gateway"
}

Arguments & Attributes ReferenceArguments & Attributes Reference

  • api_gateway_id (String). Yandex Cloud API Gateway id used to define api gateway.

  • created_at (Read-Only) (String). The creation timestamp of the resource.

  • description (Read-Only) (String). The resource description.

  • domain (Read-Only) (String). Default domain for the Yandex Cloud API Gateway. Generated at creation time.

  • execution_timeout (String). Execution timeout in seconds for the Yandex Cloud API Gateway.

  • folder_id (String). The folder identifier that resource belongs to. If it is not provided, the default provider folder-id is used.

  • id (String).

  • labels (Read-Only) (Map Of String). A set of key/value label pairs which assigned to resource.

  • log_group_id (Read-Only) (String). ID of the log group for the Yandex Cloud API Gateway.

  • log_options (Read-Only) (List Of Object).

    • disabled .
    • folder_id .
    • log_group_id .
    • min_level .
  • name (String). The resource name.

  • status (Read-Only) (String). Status of the Yandex Cloud API Gateway.

  • user_domains (Read-Only) (Set Of String).

    Важно

    DEPRECATED Use custom_domains instead. Set of user domains attached to Yandex Cloud API Gateway.

  • variables (Map Of String). A set of values for variables in gateway specification.

  • canary [Block].

    • variables (Map Of String).
    • weight (Number).
  • connectivity [Block].

    • network_id (Required)(String).
  • custom_domains [Block].

    • certificate_id (Required)(String).
    • domain_id (String).
    • fqdn (Required)(String).

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

Предыдущая
cic_private_connection
Следующая
function
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»