Yandex Cloud
Поиск
Связаться с экспертомПопробовать бесплатно
  • Кейсы
  • Документация
  • Блог
  • Все сервисы
    • Cloud Interconnect
    • Cloud Backup
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Router
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Managed Service for YDB
    • SpeechKit
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • Container Registry
    • Managed Service for Prometheus®
    • Message Queue
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Cloud Apps
    • Yandex AI Studio
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Yandex Cloud Video
    • Stackland
    • Yandex StoreDoc
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • DataSphere
    • Vision OCR
    • Translate
    • Cloud Registry
    • SmartCaptcha
    • Cloud Desktop
    • SourceCraft Code Assistant
    • Managed Service for GitLab
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Serverless Integrations
    • IoT Core
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
  • Статус работы сервисов
  • Marketplace
    • Доступны в регионе
    • Инфраструктура и сеть
    • Платформа данных
    • Искусственный интеллект
    • Безопасность
    • Инструменты DevOps
    • Бессерверные вычисления
    • Управление ресурсами
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Партнёрская программа
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Калькулятор цен
    • Тарифы
    • Акции и free tier
  • Кейсы
  • Документация
  • Блог
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»
Terraform в Yandex Cloud
  • Начало работы
  • Настройка аутентификации Terraform-провайдера Yandex Cloud
  • Библиотека решений
    • Обзор
    • История изменений (англ.)
          • cloudregistry_folder
          • cloudregistry_lifecycle_policy
          • cloudregistry_registry
          • cloudregistry_registry_ip_permission
          • cloudregistry_scan_policy
  1. Справочник Terraform
  2. Ресурсы (англ.)
  3. Cloud Registry
  4. Data Sources
  5. cloudregistry_lifecycle_policy

yandex_cloudregistry_lifecycle_policy (DataSource)

Статья создана
Yandex Cloud
Обновлена 30 июля 2026 г.
Открыть в Markdown

A LifecyclePolicy resource.

Arguments & Attributes ReferenceArguments & Attributes Reference

  • created_at (Read-Only) (String). Output only. Creation timestamp.
  • created_by (Read-Only) (String). Output only. ID of the user who created the lifecycle policy.
  • description (String). Description of the lifecycle policy. 0-1024 characters long.
  • id (String). ID of the lifecycle policy to return.
  • modified_at (Read-Only) (String). Output only. Modification timestamp.
  • modified_by (Read-Only) (String). Output only. ID of the user who last modified the lifecycle policy.
  • name (String). Name of the lifecycle policy.
  • policy_id (String). ID of the lifecycle policy to return.
  • registry_id (Required)(String). ID of the registry that the lifecycle policy belongs to.
  • rules [Block]. List of lifecycle rules.
    • delete [Block]. Rule that deletes artifacts.
      • always (Bool). Always delete (use with caution).
      • cooldown_period_days (Number). Cooldown period in days before deletion.
      • older_than_days (Number). Delete artifacts older than specified days.
      • type (String). Type of deletion.
      • version_condition [Block]. Delete artifacts by version count condition.
        • versions_count_greater_than (Number). Delete when version count exceeds this number.
    • description (String). Description of the lifecycle policy rule
    • docker_filters [Block]. Docker-specific filters.
      • tag_status (String). Filter by tag status.
    • keep_by_age [Block]. Rule that keeps artifacts by age.
      • younger_than_days (Number). Keep artifacts younger than this number of days.
    • keep_by_version [Block]. Rule that keeps artifacts by version count.
      • keep_versions_count (Number). Number of versions to keep.
    • maven_filters [Block]. Maven-specific filters.
      • version_type (String). Filter by version type.
    • path_prefix (String). Path prefix to which the rule applies.
    • version_regexp (String). Regular expression pattern to match package version or docker tag.
  • state (String). Current state of the lifecycle policy.
  • timeouts [Block].
    • create (String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    • delete (String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    • read (String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    • update (String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

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

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