Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 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
  • 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
  • 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
Overview
© 2026 Direct Cursus Technology L.L.C.