Create Image Profile
Create image profile
The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about
ImageProfile instance
Show optional properties
{
"name": "string",
"imageMapping": {},
"regionId": "9e49"
}
{
"name": "string",
"description": "string",
"imageMapping": {
"imageMapping": {
"id": "9e49",
"name": "ami-ubuntu-16.04-1.9.1-00-1516139717",
"cloudConfig": "runcmd:\n - [\"mkdir\", \"/imageFolder\"]"
}
},
"regionId": "9e49"
}
successful operation
"ImageProfile Object"
The id of this resource instance
Date when the entity was created. The date is in ISO 6801 and UTC.
Date when the entity was last updated. The date is ISO 8601 and UTC.
Email of the user that owns the entity.
This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.
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
Invalid Request - bad data
Forbidden
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"imageMapping:"object","name:"string","regionId:"string"}' https://{api_host}/iaas/api/image-profiles