Release notes
Added
- UpCloud virtual servers on Hostpanel SDK 3.19.0 (
IVirtualServerPlugin,IVirtualServerListPlugin): create from a plan and a public template keyed on thehostpanel_servicelabel, start, soft stop, restart, suspend and unsuspend (a mark in the plugin store), terminate (hard stop, then delete with storages and backups), plan change, usage, the plan and template catalogue, a zone check, the server listing and the connection test. - Locations (
virtualServerLocations): the zones of the account, andVirtualServerCreateContext.LocationIdas the zone of a create. Power off (virtualServerPowerOff): a hard stop, idempotent.virtualServerSshKeyRequired: a create with an SSH key setscreate_passwordnoand answersSshKeyOnly, so the server has no root password; a retry of it answersAlreadyAppliedwithSshKeyOnly. A scheduled terminate is not offered: UpCloud has no call that deletes a server later. - The body of an answer is never printed with its
UpCloudReply, because it carries generated and VNC passwords. - Authentication with an UpCloud API token (bearer) or an API sub account user name and password (HTTP Basic), sent only to
api.upcloud.comon port 443. - Console (
virtualServerConsole): the VNC remote access of the server (remote_access_*), answered in the endpoint form ofVirtualServerConsole(host, port and password, no address). When the access is off it is turned on withPUT /1.3/server/{uuid}and a generated 8 character password (a-z, A-Z, 0-9, cryptographic RNG), without stopping the server; when it is on, the password the platform reports is used. A suspended server is refused withAccessDenied; the password is never logged. UsesVirtualServerConsole.FromEndpoint, so the plugin is built on SDK 3.19.0 / host 0.12.0. - Rebuild with
POST /1.3/server/{uuid}/rebuild: needsVirtualServerRebuildContext.SshPublicKey(installed throughlogin_user.ssh_keys,create_passwordno), an online public template and a server with exactly one disk; a running server is stopped hard first, the replaced disk is deleted (delete_detached_diskyes), and the answer carries no generated password. Arebuildingmark in the plugin store holds the UUID of the replaced disk, so a repeated rebuild never wipes twice: it throws while the server is in maintenance, answersAlreadyAppliedonce the disk is gone, and resends only when the old disk is still attached. The rebuild result setsSshKeyOnly, so the host keeps no root password. - Root password reset answers
NotSupportedbecause the API has no call for it.
Install this version
- 1
Open the plugin list in your Hostpanel admin.
- 2
Install the plugin with the id "upcloud" and choose version 1.0.0.
- 3
Hostpanel downloads this signed package from the registry and checks the signature and the SDK version before it loads.