Yandex Cloud Marketplace License Manager for SaaS, REST: Lock.Get
Returns the specified subscription lock.
HTTP request
GET https://marketplace.api.cloud.yandex.net/marketplace/license-manager/saas/v1/locks/{lockId}
Path parameters
Field |
Description |
lockId |
string Required field. ID of the subscription lock. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"instanceId": "string",
"resourceId": "string",
"startTime": "string",
"endTime": "string",
"createdAt": "string",
"updatedAt": "string",
"state": "string",
"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 |
string (date-time) Timestamp of the start of the subscription lock. String in RFC3339 To work with values in this field, use the APIs described in the |
endTime |
string (date-time) Timestamp of the end of the subscription lock. String in RFC3339 To work with values in this field, use the APIs described in the |
createdAt |
string (date-time) Creation timestamp. String in RFC3339 To work with values in this field, use the APIs described in the |
updatedAt |
string (date-time) Update timestamp. String in RFC3339 To work with values in this field, use the APIs described in the |
state |
enum (State) Subscription lock state.
|
templateId |
string ID of the subscription template. |