capabilities.work

OCI Tag and Verify Custom Image

A 3-step recipe with Oracle. We can help you get access.

Recipe · 3 steps

OCI Tag and Verify Custom Image

with Oracle · IT Infrastructure Management

Rename and tag a custom image then confirm it is discoverable.

  1. Read the image to confirm it exists and capture its current ETag for optimistic concurrency control on the update.
  2. Update the image to apply the new display name and freeform tags, guarded by the ETag captured when reading the image.
  3. List images in the compartment filtered by the new display name to confirm the renamed image is discoverable.
What you'll need to have ready
  • compartmentId: The OCID of the compartment the image belongs to.
  • imageId: The OCID of the image to tag and rename.
  • newDisplayName: The new display name to apply to the image.
  • freeformTags: A map of freeform key/value tags to apply to the image.
  • authToken: OCI request-signing bearer credential for the Authorization header.
For your developer

Arazzo workflow oracle:tag-and-verify-image, 3 operations: GetImage → UpdateImage → ListImages. Specs on APIs.io.