Yandex Cloud Marketplace License Manager, gRPC: LockService.Get
Written by
Updated at November 26, 2024
Returns the specified subscription lock.
gRPC request
rpc Get (GetLockRequest) returns (Lock)
GetLockRequest
{
"lock_id": "string"
}
Field |
Description |
lock_id |
string Required field. ID of the subscription lock. |
Lock
{
"id": "string",
"instance_id": "string",
"resource_id": "string",
"start_time": "google.protobuf.Timestamp",
"end_time": "google.protobuf.Timestamp",
"created_at": "google.protobuf.Timestamp",
"updated_at": "google.protobuf.Timestamp",
"state": "State",
"template_id": "string"
}
Field |
Description |
id |
string ID of the subscription lock. |
instance_id |
string ID of the subscription instance. |
resource_id |
string ID of the resource. |
start_time |
Timestamp of the start of the subscription lock. |
end_time |
Timestamp of the end of the subscription lock. |
created_at |
Creation timestamp. |
updated_at |
Update timestamp. |
state |
enum State Subscription lock state.
|
template_id |
string ID of the subscription template. |