Getting an Application's Details
Find out how to get details of an application with OCI Functions.
For more information about applications, see Applications.
On the Applications list page, select the application that you want to get information about. If you need help finding the list page or the application, see Listing Applications.
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 get details of an application using the Fn Project CLI:
-
Log in to your development environment as a functions developer.
-
Enter the following command to get details about a particular application:
fn inspect app <app-name>
For example:
$ fn inspect app acme-app { "annotations": { "oracle.com/oci/appCode": "fht7ns4mn2q", "oracle.com/oci/compartmentId": "ocid1.compartment.oc1..aaaaaaaaw______nyq", "oracle.com/oci/subnetIds": [ "ocid1.subnet.oc1.phx.aaaaaaaao..." ], "oracle.com/oci/tenantId": "ocid1.tenancy.oc1..aaaaaaaap...keq" }, "created_at": "2018-07-13T17:54:34.000Z", "id": "ocid1.fnapp.oc1.phx.aaaaaaaaaf______r3ca", "name": "acme-app", "updated_at": "2018-07-13T17:54:34.000Z" }
Using the OCI CLI
Use the oci fn application get command and required parameters to get details about an application:
oci fn application get --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 GetApplication operation to get details of an application.