at.happyproto.server.updateInstance
Move one of the caller's instances to another plan or HappyView release, and start a job that follows the change. Customers only.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | server.happyproto.at |
| Indexed |
Procedure
procedure · POSTInput
application/jsonOutput
application/jsonThe background job following the change. Poll it with at.happyproto.server.getJob.
Errors
AuthRequired
This endpoint requires an authenticated caller.
Forbidden
The caller is not a HappyProto customer, or the provisioner refused them.
InvalidRequest
id or idempotencyKey is missing or not a UUID, or neither plan nor version is given.
NotFound
No such instance, or it is not the caller's. The two are indistinguishable.
InvalidSlug
Passed through from the provisioner: it reserves slugs by configuration as well.
SlugTaken
Passed through from the provisioner.
NotEntitled
Passed through from the provisioner.
InstanceLimit
Passed through from the provisioner.
NoCapacity
Passed through from the provisioner.
PlanTooSmall
The instance holds more data than the chosen plan's disk would leave room for. Passed through from the provisioner with how much it holds; free some space or choose a larger plan. The change's job can also fail with this code, when the host finds it at apply time.
OperationInProgress
Passed through from the provisioner: the instance is already changing, or a request with this idempotencyKey is still running.
Upstream
The provisioner is unreachable, not configured, or answered with an error it does not explain to callers, or the job could not be started.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
at.happyproto.server.upgradeInstance
procedureUpgrade one of the caller's instances to the newer HappyView release its availableVersion offers, and start a job that follows the upgrade. The instance is offline for about 30 seconds; its database is snapshotted first, and a release that does not come up healthy is rolled back. Customers only.
-
at.happyproto.server.startInstance
procedureStart one of the caller's instances, and start a job that follows the start. Customers only.
-
at.happyproto.server.createInstance
procedureCreate an instance for the caller, and start a job that follows its provisioning. Customers only.
-
One of the caller's own instances. Customers only.
-
at.happyproto.server.stopInstance
procedureStop one of the caller's instances, and start a job that follows the stop. Customers only.