Yandex Cloud Registry API, gRPC: LifecyclePolicyService.ChangeState
Статья создана
Обновлена 30 октября 2025 г.
Changes the state of the specified lifecycle policy.
gRPC request
rpc ChangeState (ChangeLifecyclePolicyStateRequest) returns (google.protobuf.Empty
ChangeLifecyclePolicyStateRequest
{
"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.
|
google.protobuf.Empty
{}
|
Field |
Description |
|
Empty |
|