SLAs¶
The service-license-agreement API enforces that the SLA is accepted before using the service.
Rationale¶
Our SLA API allows for multiple SLA version to be stored and retrieved. A user has to accept the newest SLA to be allowed to access UCloud. This ensures that all users of UCloud are informed on what is legal usage of UCloud and what is not.
⚠️ WARNING: The API listed on this page will likely change to conform with our API conventions. Be careful when building integrations. The following changes are expected:
RPC names will change to conform with the conventions
RPC request and response types will change to conform with the conventions
RPCs which return a page will be collapsed into a single
browse
endpointSome property names will change to be consistent with
Resource
s
Table of Contents¶
1. Remote Procedure Calls
Name | Description |
---|---|
find |
No description |
accept |
No description |
2. Data Models
Name | Description |
---|---|
ServiceAgreementText |
No description |
AcceptSLARequest |
No description |
Remote Procedure Calls¶
find
¶
Request | Response | Error |
---|---|---|
Unit |
ServiceAgreementText |
CommonErrorMessage |
accept
¶
Request | Response | Error |
---|---|---|
AcceptSLARequest |
Unit |
CommonErrorMessage |
Data Models¶
ServiceAgreementText
¶
data class ServiceAgreementText(
val version: Int,
val text: String,
)
AcceptSLARequest
¶
data class AcceptSLARequest(
val version: Int,
)
Properties
version
: Int
Int