Update Image Profile
Update image profile. All existing image mapping definitions for the specified region will be replaced with the payload provided and if you want to keep the existing definitions, they should be added to the payload.
The ID of the image.
The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
ImageProfile instance
Show optional properties
{
"name": "string",
"imageMapping": {}
}
{
"name": "string",
"description": "string",
"imageMapping": {
"ubuntu": {
"id": "9e49",
"name": "ami-ubuntu-16.04-1.9.1-00-1516139717"
},
"centos": {
"id": "9e50",
"name": "ami-centos-7-1.13.0-00-1543963388"
}
}
}
A human-friendly name used as an identifier in APIs that support this option.
A human-friendly description.
Image mapping defined for the corresponding region.
Successful operation
"ImageProfile Object"
The id of this resource instance
Date when the entity was created. The date is in ISO 8601 and UTC.
Date when the entity was last updated. The date is ISO 8601 and UTC.
Email of the user or display name of the group that owns the entity.
Type of a owner(user/ad_group) that owns the entity.
The id of the organization this entity belongs to.
HATEOAS of the entity
A human-friendly name used as an identifier in APIs that support this option.
A human-friendly description.
Describes an image mapping between image key and fabric image.
HATEOAS links:
region - Region - Region for the mapping.
The id of the region for which this profile is defined
Id of the cloud account this image profile belongs to.
Forbidden
"ServiceErrorResponse Object"
message
messageId
stackTrace
statusCode
errorCode
details
serverErrorId
documentKind
internalErrorCode
Not found
"ServiceErrorResponse Object"
message
messageId
stackTrace
statusCode
errorCode
details
serverErrorId
documentKind
internalErrorCode
curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"imageMapping:"object","name:"string"}'