Returns persisted port mappings for this CVM.
cURL
curl --request GET \ --url https://cloud-api.phala.com/api/v1/cvms/{cvm_id}/ports
[ { "id": "<string>", "host_port": 123, "vm_port": 123, "protocol": "<string>", "host_address": "<string>" } ]
Port mappings
A hashed identifier that maps to an internal database ID
^pm_.+
"pm_0123abcd"
Was this page helpful?