Create Image Profile

Create Image Profile

Create image profile

Request
URI
POST
https://api.mgmt.cloud.vmware.com//iaas/api/image-profiles
COPY
Query Parameters
string
apiVersion
Optional

The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about


Request Body

ImageProfile instance

ImageProfileSpecification of type(s) application/json
Required
{
    "regionId": "9e49",
    "name": "string",
    "description": "string"
}
string
regionId
Required

The id of the region for which this profile is created

object
imageMapping
Required

Image mapping defined for the corresponding region.

string
name
Required

A human-friendly name used as an identifier in APIs that support this option.

string
description
Optional

A human-friendly description.

Responses
201

successful operation

Returns ImageProfile of type(s) application/json
{
    "owner": "csp@vmware.com",
    "organizationId": "deprecated",
    "createdAt": "2012-09-27",
    "externalRegionId": "us-east-1",
    "imageMappings": {
        "externalRegionId": "us-east-1"
    },
    "name": "my-name",
    "description": "my-description",
    "id": "9e49",
    "orgId": "9e49",
    "updatedAt": "2012-09-27"
}
string
owner
Optional

Email of the user that owns the entity.

string
organizationId
Optional

This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.

string
createdAt
Optional

Date when the entity was created. The date is in ISO 8601 and UTC.

object
_links
Required

HATEOAS of the entity

string
externalRegionId
Optional

The id of the region for which this profile is defined

imageMappings
Required

imageMappings

string
name
Optional

A human-friendly name used as an identifier in APIs that support this option.

string
description
Optional

A human-friendly description.

string
id
Required

The id of this resource instance

string
orgId
Optional

The id of the organization this entity belongs to.

string
updatedAt
Optional

Date when the entity was last updated. The date is ISO 8601 and UTC.


400

Invalid Request - bad data

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure