Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • 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
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Cloud Registry
  • Getting started
  • Access management
  • Pricing policy
    • 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 October 30, 2025
  • 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.

state

enum LifecyclePolicyState

Required field. Target state of the lifecycle policy.

  • LIFECYCLE_POLICY_STATE_UNSPECIFIED
  • 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
© 2025 Direct Cursus Technology L.L.C.