Creates a port forwarding rule on the public IP.
POST
/v1/projects/:projectId/public-ips/:publicIpId/port-forwardsThis operation is asynchronous. The CommandId in the response is an internal identifier
and is not queryable via any public endpoint. To observe completion, poll the rules list
(GET .../port-forwards) and watch the rule's Status field: it shows
Creating while the change is applied and Created once the rule is active.
Request
Responses
- 202
- 400
- 404
- 409
The create request was accepted and is being processed in the background.
The request body failed validation.
The project, public IP or target VM was not found.
Another operation is already in progress on this resource. Poll until it clears, then retry.