SaveInstanceImage
VCS-image-3007 Save an image for server <server_id>. os can be "Linux" or "Windows" depends on image of the server. Image is not public if it saved from an server.
Path Parameters
- server_id integer required
Server ID
Header Parameters
- x-api-host string required
Default value:
openstack-taichung-default-2
Authentication Required Parameters
- application/json
Request Body required
Post
- name string
Image name
- os_version string
- os string
- desc string
Possible values:
<= 200
Image description
Responses
- 201
Created
- application/json
- Schema
- Example (from schema)
Schema
- create_time date-time
- id int64
- is_public boolean
- name string
- platform string
- disk_format string
- project int64
{
"create_time": "2024-08-19",
"id": 0,
"is_public": true,
"name": "string",
"platform": "string",
"disk_format": "string",
"project": 0
}
Loading...