Yandex Cloud Marketplace License Manager for SaaS, gRPC: LockService.Get
Written by
Updated at October 17, 2024
Returns the specified subscription lock.
gRPC request
rpc Get (GetLockRequest) returns (licensemanager.v1.Lock)
GetLockRequest
{
"lockId": "string"
}
Field |
Description |
lockId |
string Required field. ID of the subscription lock. |
licensemanager.v1.Lock
{
"id": "string",
"instanceId": "string",
"resourceId": "string",
"startTime": "google.protobuf.Timestamp",
"endTime": "google.protobuf.Timestamp",
"createdAt": "google.protobuf.Timestamp",
"updatedAt": "google.protobuf.Timestamp",
"state": "State",
"templateId": "string"
}
Field |
Description |
id |
string ID of the subscription lock. |
instanceId |
string ID of the subscription instance. |
resourceId |
string ID of the resource. |
startTime |
Timestamp of the start of the subscription lock. |
endTime |
Timestamp of the end of the subscription lock. |
createdAt |
Creation timestamp. |
updatedAt |
Update timestamp. |
state |
enum State Subscription lock state.
|
templateId |
string ID of the subscription template. |