PUT /api/compute_resources/980190962/images/980190962
{
"image": {}
}
200
{
"operatingsystem_id": 309172073,
"operatingsystem_name": "centos 5.3",
"compute_resource_id": 980190962,
"compute_resource_name": "bigcompute",
"architecture_id": 501905019,
"architecture_name": "x86_64",
"uuid": "string-of-uuid",
"username": "root",
"created_at": "2021-11-26 10:30:34 UTC",
"updated_at": "2021-11-26 10:30:34 UTC",
"id": 980190962,
"name": "centos-1"
}
| Param name | Description |
|---|---|
|
location_id optional |
Set the current location context for the request Validations:
|
|
organization_id optional |
Set the current organization context for the request Validations:
|
|
compute_resource_id required |
Validations:
|
|
id required |
Validations:
|
|
image required |
Validations:
|
|
image[name] optional |
Validations:
|
|
image[username] optional |
Validations:
|
|
image[uuid] optional |
Template ID in the compute resource Validations:
|
|
image[password] optional , nil allowed |
Validations:
|
|
image[compute_resource_id] optional , nil allowed |
ID of compute resource Validations:
|
|
image[architecture_id] optional , nil allowed |
ID of architecture Validations:
|
|
image[operatingsystem_id] optional , nil allowed |
ID of operating system Validations:
|
|
image[user_data] optional , nil allowed |
Whether or not the image supports user data Validations:
|