vm-services
Register a service on a VM
Registers an HTTP service on the VM under name, listening on port. The service immediately becomes addressable at https://<name>--<vmIdHexNoHyphens>.proxy.<stack-domain> once the firewall is applied (synchronous).
Idempotent: a POST with a name that already exists at the same (port, h2c) returns 201 with the existing entry. POST with a name that already exists at a different port OR different h2c returns 409 — use PUT to update an existing service.
Per-VM cap: currently 16 services per VM (configurable via MAX_SERVICES_PER_VM on the scheduler).
post/v1/vms/{id}/services
Request body
Response
Service registered (or idempotent same-(port, h2c) re-register)