Skip to main content

image_shape_compatibility_entries

Creates, updates, deletes, gets or lists an image_shape_compatibility_entries resource.

Overview​

Nameimage_shape_compatibility_entries
TypeResource
Idoci.compute.image_shape_compatibility_entries

Fields​

The following fields are returned by SELECT queries:

The image shape compatibility entry was retrieved.

NameDatatypeDescription
imageIdstringThe image OCID.
memoryConstraintsobjectFor a flexible image and shape, the amount of memory supported for instances that use this image.
ocpuConstraintsobjectOCPU options for an image and shape.
shapestringThe shape name.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectimageId, shapeName, regionopc-request-idRetrieves an image shape compatibility entry.
listselectimageId, regionlimit, page, opc-request-idLists the compatible shapes for the specified image.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
imageIdstringThe [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the image.
regionstringOCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION)
shapeNamestringShape name.
limitintegerFor list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine). Example: 50
opc-request-idstringUnique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
pagestringFor list pagination. The value of the opc-next-page response header from the previous "List" call. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine).

SELECT examples​

Retrieves an image shape compatibility entry.

SELECT
imageId,
memoryConstraints,
ocpuConstraints,
shape
FROM oci.compute.image_shape_compatibility_entries
WHERE imageId = '{{ imageId }}' -- required
AND shapeName = '{{ shapeName }}' -- required
AND region = '{{ region }}' -- required
AND opc-request-id = '{{ opc-request-id }}'
;