Ports
A shared port of a VM has its own HTTPS URL. A public URL opens for anyone; a private URL opens only on the devices of the tenant.
Endpoints
| Method | Path | Returns |
|---|---|---|
GET | /v1/tenants/{tenant}/vms/{name}/ports | 200 with the ports object. |
POST | /v1/tenants/{tenant}/vms/{name}/ports | 201 with the shared port object. |
DELETE | /v1/tenants/{tenant}/vms/{name}/ports/{port} | 200 with the names of the path and "deleted": true. |
Objects
- The ports object: The shared ports of a VM.
- The shared port object: The answer of a share of a port.