2015-02-18 10:06:13 +00:00
|
|
|
/v1/projects/{project_id}/iou/vms/{vm_id}/initial_config
|
|
|
|
----------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
.. contents::
|
|
|
|
|
|
|
|
GET /v1/projects/**{project_id}**/iou/vms/**{vm_id}**/initial_config
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
Retrieve the initial config content
|
|
|
|
|
|
|
|
Response status codes
|
|
|
|
**********************
|
|
|
|
- **200**: Initial config retrieved
|
|
|
|
- **400**: Invalid request
|
|
|
|
- **404**: Instance doesn't exist
|
|
|
|
|
|
|
|
Output
|
|
|
|
*******
|
|
|
|
.. raw:: html
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr> <th>Name</th> <th>Mandatory</th> <th>Type</th> <th>Description</th> </tr>
|
|
|
|
<tr><td>content</td> <td>✔</td> <td>['string', 'null']</td> <td>Content of the initial configuration file</td> </tr>
|
|
|
|
</table>
|
|
|
|
|
2015-02-24 10:38:57 +00:00
|
|
|
Sample session
|
|
|
|
***************
|
|
|
|
|
|
|
|
|
|
|
|
.. literalinclude:: ../../examples/get_projectsprojectidiouvmsvmidinitialconfig.txt
|
|
|
|
|