ListShapes

GET {{baseUrl}}/shapes?compartmentId={{compartment_ocid}}&limit=801

Lists the shapes that can be used to launch an instance within the specified compartment. You can filter the list by compatibility with a specific image.

Request Params

KeyDatatypeRequiredDescription
availabilityDomainstringThe name of the availability domain.

Example: Uocm:PHX-AD-1 | | compartmentId | string | | (Required) The OCID of the compartment. | | limit | number | | For 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.

Example: 50 | | page | string | | For 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. | | imageId | string | | The OCID of an image. |

HEADERS

KeyDatatypeRequiredDescription
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header

RESPONSES

status: OK

[{"shape":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"availabilityDomain":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"baselineOcpuUtilizations":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"gpuDescription":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"gpus":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"isLiveMigrationSupported":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"localDiskDescription":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"localDisks":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"localDisksTotalSizeInGBs":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"maxVnicAttachmentOptions":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"maxVnicAttachments":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"memoryInGBs":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"memoryOptions":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"minTotalBaselineOcpusRequired":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"networkingBandwidthInGbps":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"networkingBandwidthOptions":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"ocpuOptions":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"ocpus":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"platformConfigOptions":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"processorDescription":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"shape":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"availabilityDomain":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"baselineOcpuUtilizations":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"gpuDescription":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"gpus":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"isLiveMigrationSupported":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"localDiskDescription":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"localDisks":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"localDisksTotalSizeInGBs":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"maxVnicAttachmentOptions":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"maxVnicAttachments":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"memoryInGBs":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"memoryOptions":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"minTotalBaselineOcpusRequired":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"networkingBandwidthInGbps":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"networkingBandwidthOptions":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"ocpuOptions":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"ocpus":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"platformConfigOptions":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"processorDescription":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]