Action management

Prev Next

Available in VPC

From Cloud Functions > Action on the NAVER Cloud Platform console, you can edit, delete, and execute your created actions, as well as monitor their execution results using graphs and tables. To open the detailed management interface for the action you created:

  1. In the VPC environment of the NAVER Cloud Platform console, navigate to i_menu > Services > Compute > Cloud Functions.
  2. Click the Action menu.
  3. Click the action name from the list.

Action management interface

The action management interface includes the following components:

cloudfunctions-actionmgmt-vpc_v2_01_ko

Component Description
① Overview Run, edit, and delete actions and view connection information.
② Details View action basic information, triggers, monitoring, and default parameters.

Action overview

Run

Run an action.

Edit

Edit an action.

Delete

Delete an action.

Connection information

Shows all event sources that trigger action runs, grouped by type. Select a type to view detailed connection information for the event source type in the Trigger tab under Details.

Basic information

The following describes the action basic information interface:

cloudfunctions-actionmgmt-vpc_v2_02_ko

Action basic information

You can check the basic information of an action.

  • Name: Action name.
  • Type: Types of actions (basic/web/sequence/sequence web).
  • Runtime: Language and runtime version for the action.
  • Action timeout: Maximum time limit for which the action can be run.
  • Main function: Name of the main function or class used in the action.
  • Action memory: Memory available for the action.
  • Description: Additional information about the action.

VPC connection information
You can view the VPC and Subnet information that allows the action to access VPC resources.

  • VPC: Name of the VPC you can access.
  • Subnet: Name of the Subnet used when accessing the VPC.
  • IP ranges: Subnet IP address range.
  • Zone: Availability zone of the Subnet.

Action execution order
You can check the actions that run in a sequence action or a sequence web action.

  • Execution order: The order in which actions run in a sequence action.
  • Action name: The name of action.
  • Runtime: Runtime information of the action.
  • Type: The type of action.

Trigger

You can check the event source information that triggers the action.
cloudfunctions-actionmgmt-vpc_v2_03_ko

Add

Add triggers to the action.

Remove

Remove triggers from the action.

Trigger list

The list of triggers for actions. Click the name to go to the trigger menu or the service information linked to the trigger.

  • Type: The type of trigger.
  • Name: The name of trigger.
  • Event Source: The connected service that triggers the action.
  • Last updated: The date and time for most recent action update.

Detailed event source list

When you select a trigger type from the Connection information in the action overview, you can view the event source connection information for that type.

cloudfunctions-actionmgmt-vpc_v2_08_ko

Monitoring

Action results and details.

cloudfunctions-actionmgmt-vpc_v2_04_ko

Graph

  • Status: Success and failure rate of triggers during the selected period.
  • Execution count: Number of actions succeeded and failed during the selected period by hour.
  • Execution time: The average run time per hour (ms) and the maximum run time (ms) during the selected period.

Table

  • ID: Unique ID for the action result. Click to view details.
  • Status: Whether the action result is successful or failed.
  • Start time: The time when the action execution started (ms).
  • Execution time: The time taken for action execution (ms).
Note
  • Enter search keywords with the execution result as the filter to search for the relevant content.
    cloudfunctions-action-vpc_05_ko
  • You can monitor the action results of all the actions run during the selected period in Dashboard. For more information on how to use Dashboard, see Dashboard.

Source code

The following describes the action source code interface:

cloudfunctions-actionmgmt-vpc_v2_09_ko

Default parameter

Check default values for parameters forwarded to action code.

cloudfunctions-actionmgmt-vpc_v2_05_ko

Version

This is the version information of the action. For more information on how to use version features, see Action version management.

cloudfunctions-actionmgmt-vpc_v2_10_ko

  • Name: The name of version.
  • Description: Additional information on version.
  • Version published at: The date and time the version was published.

Edit action

You can edit everything except the name and type of the action. To edit an action:

  1. In the VPC environment of the NAVER Cloud Platform console, navigate to i_menu > Services > Compute > Cloud Functions.
  2. Click the Action menu.
  3. Click the action name from the list.
  4. In Action overview, click [Edit].

Delete action

You can delete an action. Proceed carefully as an action cannot be recovered once deleted. To delete an action:

  1. In the VPC environment of the NAVER Cloud Platform console, navigate to i_menu > Services > Compute > Cloud Functions.
  2. Click the Action menu.
  3. Click the action name from the list.
  4. In Action overview, click [Delete].

Run action

You can run an action. Enter runtime parameters to check if the action works properly. To run an action:

  1. In the VPC environment of the NAVER Cloud Platform console, navigate to i_menu > Services > Compute > Cloud Functions.
  2. Click the Action menu.
  3. Click the action name from the list.
  4. In Action overview, click [Run].
  5. Enter JSON data in Runtime parameter to forward the action code.
  6. To view only the results returned by the action code, enable View result only. When disabled, you can check all activation information. For more information on activation, see Cloud Functions concepts.

cloudfunctions-actionmgmt-vpc_v2_06_ko

Note

You can configure log creation for action runs. All actions return a logs field that adds Timestamp information to data output to stdout or stderr in the code. You can check logs in the detailed run history under Dashboard or Action > Action details > Monitoring.

cloudfunctions-actionmgmt-vpc_v2_07_ko

Add trigger

You can add triggers that run actions by connecting them to events from other services. To add a trigger:

  1. In the VPC environment of the NAVER Cloud Platform console, navigate to i_menu > Services > Compute > Cloud Functions.
  2. Click the Action menu.
  3. Click the action name from the list.
  4. Click [Add] in the connection information under Action overview or in the trigger tab under Details.
  5. In Connection method, create a new trigger or select an existing one to add.
  6. In Type, select the trigger type to add.
  7. For trigger configuration information, see the following trigger guides for each sub-type under the user guides:
Note
  • For API Gateway triggers, you can only create new ones.
  • API Gateway trigger types are determined by action type and cannot be changed.
    • HTTP type: Web actions, sequence web actions
    • Webhook type: Basic actions, sequence actions

Remove trigger

Disconnect actions from other service events by removing their triggers. To remove a trigger:

  1. In the VPC environment of the NAVER Cloud Platform console, navigate to i_menu > Services > Compute > Cloud Functions.
  2. Click the Action menu.
  3. Click the action name from the list.
  4. In the trigger tab under Details, select the trigger to remove and click [Remove].
  5. Click [OK] to disconnect.
Caution

Triggers with no connected actions may be deleted.