Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex Cloud Registry
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
    • API authentication
      • Overview
        • Overview
        • Create
        • Update
        • Delete
        • Get
        • List
        • ChangeState
        • DryRun
        • GetDryRunResult
        • ListDryRunResults
        • ListDryRunArtifacts
  • Monitoring metrics
  • Audit Trails events

In this article:

  • gRPC request
  • ChangeLifecyclePolicyStateRequest
  • google.protobuf.Empty
  1. API reference
  2. gRPC
  3. LifecyclePolicy
  4. ChangeState

Yandex Cloud Registry API, gRPC: LifecyclePolicyService.ChangeState

Written by
Yandex Cloud
Updated at March 4, 2026
View in Markdown
  • gRPC request
  • ChangeLifecyclePolicyStateRequest
  • google.protobuf.Empty

Changes the state of the specified lifecycle policy.

gRPC requestgRPC request

rpc ChangeState (ChangeLifecyclePolicyStateRequest) returns (google.protobuf.Empty)

ChangeLifecyclePolicyStateRequestChangeLifecyclePolicyStateRequest

{
  "policy_id": "string",
  "state": "LifecyclePolicyState"
}

Field

Description

policy_id

string

Required field. ID of the lifecycle policy to change state.

The maximum string length in characters is 50.

state

enum LifecyclePolicyState

Required field. Target state of the lifecycle policy.

  • DISABLED: Policy is disabled and won't be executed.
  • ENABLED: Policy is enabled and will be executed according to schedule.

google.protobuf.Emptygoogle.protobuf.Empty

{}

Field

Description

Empty

Was the article helpful?

Previous
List
Next
DryRun
© 2026 Direct Cursus Technology L.L.C.