AddImageShapeCompatibilityEntry

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. Provide this request OCID if you need to contact Oracle about this request.
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. Provide this request OCID if you need to contact Oracle about this request.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source

401 Response

Unauthorized
Headers
  • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source

404 Response

Not Found
Headers
  • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source

500 Response

Internal Server Error
Headers
  • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source

Default Response

An error has occurred.
Headers
  • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
Back to Top