TenantService
Tenants of a self-service portal and their servers. Bodies are JSON in the shape of the REST API.
| Method | Request | Response | Description |
|---|---|---|---|
ListTenants | Empty | JsonBody | TenantView[] (Kyvernon.Tenant.Read on the root). |
GetTenant | TenantRequest | JsonBody | TenantView. |
CreateTenant | JsonBody | JsonBody | CreateTenantRequest -> TenantView. |
SetQuota | TenantJsonRequest | JsonBody | QuotaView -> TenantView. |
SuspendTenant | TenantRequest | TaskRef | Suspends a tenant: its virtual machines shut down and its users become read-only. |
ResumeTenant | TenantRequest | TaskRef | Resumes a suspended tenant and starts the virtual machines that ran. |
CloseTenant | TenantJsonRequest | TaskRef | CloseTenantRequest. |
GetUsage | UsageRequest | JsonBody | TenantUsageView of |
ListServers | TenantRequest | JsonBody | ServerView[]. |
GetServer | ServerRequest | JsonBody | ServerView. |
CreateServer | TenantJsonRequest | JsonBody | CreateServerRequest -> ServerTaskView (with the generated password, once). |
ServerAction | ServerActionRequest | JsonBody | One server operation -> ServerTaskView (console: ConsoleTicketView). |