Listing Functions
Find out how to list functions with OCI Functions.
You can list functions using the Console, the Fn Project CLI, and the API.
Using the Fn Project CLI
Tip
From time to time, new versions of the Fn Project CLI are released. We recommend you regularly check that the latest version is installed. For more information, see Steps to upgrade the Fn Project CLI.To list functions deployed to OCI Functions using the Fn Project CLI:
-
Log in to your development environment as a functions developer.
-
Enter the following command to see a simple list of functions in a particular application:
fn list functions <app-name>
For example:
$ fn list functions acme-app NAME IMAGE acme-func phx.ocir.io/ansh81vru1zp/acme-repo/acme-func:0.0.3 acme-func-dev phx.ocir.io/ansh81vru1zp/acme-repo/acme-func-dev:0.0.7 acme-func-test phx.ocir.io/ansh81vru1zp/acme-repo/acme-func-test:0.0.6
Using the OCI CLI
Use the oci fn function list command and required parameters to list functions:
oci fn function list --application-id <application-ocid> [OPTIONS]
For a complete list of flags and variable options for OCI CLI commands, see the Command Line Reference.
-
Run the ListFunctions operation to list functions.