Yandex Cloud Marketplace License Manager for SaaS, REST: Lock methods
A set of methods for managing subscription locks.
JSON Representation
{
"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 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
endTime | string (date-time) Timestamp of the end of the subscription lock. String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
createdAt | string (date-time) Creation timestamp. String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
updatedAt | string (date-time) Update timestamp. String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
state | string Subscription lock state.
|
templateId | string ID of the subscription template. |
Methods
Method | Description |
---|---|
ensure | Checks if the she specified subscription is already locked to the specified resource. If it is not locked, locks the subscription to the resource. |
get | Returns the specified subscription lock. |