capabilities.work

Deploy And Invoke Function

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

Recipe · 3 steps

Deploy And Invoke Function

Create an application, create a function, then invoke it.

  1. Create a Functions application bound to the supplied subnet.
  2. Create a function from a container image within the application.
  3. Invoke the newly created function with the supplied payload.
What you'll need to have ready
  • compartmentId: The OCID of the compartment to deploy into.
  • appDisplayName: The display name for the Functions application.
  • subnetId: The OCID of the subnet the application runs in.
  • functionDisplayName: The display name for the function.
  • image: The container image reference for the function.
  • memoryInMBs: The memory allocation for the function in megabytes.
  • invokePayload: The request body to send when invoking the function.
For your developer

Arazzo workflow oracle-cloud:deploy-and-invoke-function, 3 operations: createApplication → createFunction → invokeFunction. Specs on APIs.io.