2016-04-18 14:58:06 +00:00
|
|
|
/v2/compute/projects/{project_id}/ports/udp
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
.. contents::
|
|
|
|
|
|
|
|
POST /v2/compute/projects/**{project_id}**/ports/udp
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
Allocate an UDP port on the server
|
|
|
|
|
|
|
|
Parameters
|
|
|
|
**********
|
2016-06-04 08:40:39 +00:00
|
|
|
- **project_id**: Project UUID
|
2016-04-18 14:58:06 +00:00
|
|
|
|
|
|
|
Response status codes
|
|
|
|
**********************
|
|
|
|
- **201**: UDP port allocated
|
|
|
|
- **404**: The project doesn't exist
|
|
|
|
|
2017-03-21 12:32:04 +00:00
|
|
|
Sample session
|
|
|
|
***************
|
|
|
|
|
|
|
|
|
|
|
|
.. literalinclude:: ../../../examples/compute_post_projectsprojectidportsudp.txt
|
|
|
|
|