Add an Image Shape Compatibility Entry

put

/20160918/images/{image_id}/shapes/{shape_name}

Add a shape to the compatible shapes list for the image.

Request

Supported Media Types
Path Parameters
Body ()
Image shape compatibility details
Root Schema : AddImageShapeCompatibilityEntryDetails
Type: object
Image shape compatibility details.
Show Source
Nested Schema : ImageMemoryConstraints
Type: object
For a flexible image and shape, the amount of memory supported for instances that use this image.
Show Source
Nested Schema : ImageOcpuConstraints
Type: object
OCPU options for an image and shape.
Show Source
  • Minimum Value: 0
    The maximum number of OCPUs supported for this image and shape.
  • Minimum Value: 0
    The minimum number of OCPUs supported for this image and shape.
Back to Top

Response

Supported Media Types

200 Response

The shape has been added to the compatible shapes list.
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : ImageShapeCompatibilityEntry
Type: object
An image and shape that are compatible.
Show Source
Nested Schema : ImageMemoryConstraints
Type: object
For a flexible image and shape, the amount of memory supported for instances that use this image.
Show Source
Nested Schema : ImageOcpuConstraints
Type: object
OCPU options for an image and shape.
Show Source
  • Minimum Value: 0
    The maximum number of OCPUs supported for this image and shape.
  • Minimum Value: 0
    The minimum number of OCPUs supported for this image and shape.

400 Response

Bad Request
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
  • A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
  • A human-readable error string.

401 Response

Unauthorized
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
  • A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
  • A human-readable error string.

404 Response

Not Found
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
  • A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
  • A human-readable error string.

500 Response

Internal Server Error
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
  • A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
  • A human-readable error string.

Default Response

An error has occurred.
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
  • A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
  • A human-readable error string.
Back to Top