A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.alibabacloud.com/help/en/functioncompute/fc-2-0/user-guide/manage-functions below:

create and update a function - Function Compute

Resources of Function Compute are scheduled and run based on functions. In a Function Compute service, you can create multiple functions that share some identical settings, such as service authorization and log settings. These functions are independent of each other. In the Function Compute console, you can manage functions. For example, you can create functions, modify function configurations, and obtain Alibaba Cloud Resource Names (ARNs) of functions.

Before you start

Create a service

Create a function
  1. Log on to the Function Compute console. In the left-side navigation pane, click Services & Functions.

  2. In the top navigation bar, select a region. On the Services page, click the desired service.

  3. On the Functions page, click Create Function.
  4. On the Create Function page, select a method to create a function, configure the following parameters, and then click Create.

    Note

    In this example, Use Built-in Runtime and Use Custom Runtime are used. If the runtimes provided by Function Compute cannot meet your business requirements, you can select Use Container Image to create a function. For more information, see Create a Custom Container function.

Update a function
  1. Log on to the Function Compute console. In the left-side navigation pane, click Services & Functions.

  2. In the top navigation bar, select a region. On the Services page, click the desired service.

  3. On the Functions page, find the function that you modify and click Configure in the Actions column.
  4. On the Modify Function Settings page, modify parameters based on your business requirements and click Save.

Note

You can delete a function that is no longer needed based on your business requirements.

Obtain the ARN of a function

You can use an ARN to locate the corresponding Alibaba Cloud resource in code. You can obtain the ARN of a function for easy reference.

  1. Log on to the Function Compute console. In the left-side navigation pane, click Services & Functions.

  2. In the top navigation bar, select a region. On the Services page, click the desired service.

  3. On the Functions page, click the name of the function whose ARN you want to obtain.

  4. On the function details page, click the Configurations tab. In the Basic Settings section, view and copy the ARN of the function.

Runtimes that are supported by Function Compute

Runtime

Description

References

Node.js 6

Node.js 6

Node.js

Node.js 8

Node.js 8

Node.js 10

Node.js 10

Node.js 12

Node.js 12

Node.js 14

Node.js 14

Node.js 16

Node.js 16

Python 2.7

Python 2.7

Python

Python 3

Python 3.6

Python 3.9

Python 3.9

Python 3.10

Python 3.10

PHP 7.2

PHP 7.2.7

PHP

Java 11

Java 11

Java

Java 8

Java 8

.NET Core 3.1

.NET Core 3.1

.NET Core

Go 1.x

Go 1.8 or later

Go

Custom Runtime

Custom runtime (Debian 9)

Overview

Custom runtime (Debian 10)

Custom runtime (Debian 10)

Custom Container

None

Custom Container

References

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4