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 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
    • Yandex SIEM
    • 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 ТОО «Облачные Сервисы Казахстан»
Yandex Cloud Registry
KZ
  • Начало работы
  • Управление доступом
  • Правила тарификации
  • Справочник Terraform
    • Аутентификация в API
      • Overview
        • Overview
        • Create
        • Update
        • Delete
        • Get
        • List
        • ChangeState
        • DryRun
        • GetDryRunResult
        • ListDryRunResults
        • ListDryRunArtifacts
  • Метрики Monitoring
  • Аудитные логи Audit Trails

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

  • gRPC request
  • ListDryRunLifecyclePolicyArtifactsRequest
  • ListDryRunLifecyclePolicyArtifactsResponse
  • AffectedArtifact
  • TriggeredRule
  1. Справочник API
  2. gRPC (англ.)
  3. LifecyclePolicy
  4. ListDryRunArtifacts

Yandex Cloud Registry API, gRPC: LifecyclePolicyService.ListDryRunArtifacts

Статья создана
Yandex Cloud
Обновлена 2 сентября 2026 г.
Открыть в Markdown
  • gRPC request
  • ListDryRunLifecyclePolicyArtifactsRequest
  • ListDryRunLifecyclePolicyArtifactsResponse
  • AffectedArtifact
  • TriggeredRule

Returns the list of artifacts that the dry run would delete.

gRPC requestgRPC request

rpc ListDryRunArtifacts (ListDryRunLifecyclePolicyArtifactsRequest) returns (ListDryRunLifecyclePolicyArtifactsResponse)

ListDryRunLifecyclePolicyArtifactsRequestListDryRunLifecyclePolicyArtifactsRequest

{
  "dry_run_id": "string",
  "page_size": "int64",
  "page_token": "string",
  "path_filter": "string",
  "version_filter": "string",
  "order_by": "string"
}

Field

Description

dry_run_id

string

Required field. ID of the dry run.

The maximum string length in characters is 50.

page_size

int64

The maximum number of results per page to return.

The maximum value is 1000.

page_token

string

Page token. To get the next page of results, set page_token to the
ListDryRunLifecyclePolicyArtifactsResponse.next_page_token returned by a previous list request.

The maximum string length in characters is 1000.

path_filter

string

Filter by artifact path.
The expression must specify:

  1. The field path
  2. An operator: =, !=.
  3. The value in double quotes.
    Examples:
    path = "pool/main/all"
    path != "pool/main/all"
    No regular expressions allowed.

The maximum string length in characters is 1000.

version_filter

string

Filter by artifact version.
The expression must specify:

  1. The field version
  2. An operator: =, !=.
  3. The value in double quotes.
    Examples:
    version = "latest"
    version != "latest"
    No regular expressions allowed.

The maximum string length in characters is 1000.

order_by

string

Sort order. Comma-separated "field [asc|desc]", e.g. "path desc".
Valid fields: path.
Defaults to "path asc" when empty.

The maximum string length in characters is 256.

ListDryRunLifecyclePolicyArtifactsResponseListDryRunLifecyclePolicyArtifactsResponse

{
  "artifacts": [
    {
      "path": "string",
      "version": "string",
      "artifact_id": "string",
      "affected_by": {
        "rule_type": "LifecycleRuleType",
        "rule_index": "int64"
      }
    }
  ],
  "next_page_token": "string"
}

Field

Description

artifacts[]

AffectedArtifact

List of artifacts that the dry run would delete.

next_page_token

string

This token allows you to get the next page of results for list requests.

AffectedArtifactAffectedArtifact

One artifact that a dry run would delete.

Field

Description

path

string

Full path of the artifact, for example /library/ubuntu/latest.

version

string

Version of the artifact. The backend does not store it.
The backend takes the part of the path after the last "/", for example latest.

artifact_id

string

ID of the artifact.

affected_by

TriggeredRule

Rule that would delete this artifact.

TriggeredRuleTriggeredRule

Rule that matched the artifact during the dry run.

Field

Description

rule_type

enum LifecycleRuleType

Type of the rule that matched.

  • LIFECYCLE_RULE_TYPE_HARD_DELETE: Hard delete. The artifact is removed for good and can not be restored.
  • LIFECYCLE_RULE_TYPE_SOFT_DELETE: Soft delete. The artifact is marked for deletion but can be restored.
  • LIFECYCLE_RULE_TYPE_RETAIN: Retain. The artifact is kept.

rule_index

int64

Index of the rule in the policy rules snapshot (policy_snapshot) of this dry run.

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

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