ncloud_functions_create_action
Create or update a Cloud Functions action with specified runtime, code, and configuration. Supports basic and sequence types with optional VPC settings.
Instructions
Create or update a Cloud Functions action (Basic or Sequence type)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| web | No | Enable web action | |
| vpc_no | No | VPC number | |
| platform | No | Platform type (default: vpc) | vpc |
| raw_http | No | Enable raw HTTP handling | |
| exec_code | No | Source code string (required for basic actions) | |
| exec_kind | Yes | Runtime string (e.g. 'nodejs:16', 'python:3.9', 'java:11', 'dotnet:6.0', or 'sequence') | |
| exec_main | No | Entry function name (required for basic actions) | |
| subnet_no | No | Subnet number | |
| actionName | Yes | Name of the action to create or update | |
| parameters | No | Default parameters as a JSON object | |
| description | No | Description of the action | |
| exec_binary | No | Whether code is base64 encoded | |
| packageName | No | Package name (use '-' for unpackaged actions) | - |
| limits_memory | No | Memory in MB (128, 256, 512, or 1024) | |
| custom_options | No | Enable custom options | |
| limits_timeout | No | Timeout in milliseconds (500~300000) | |
| exec_components | No | Array of '{packageName}/{actionName}' for sequence actions |