All Products
Search
Document Center

Function Compute:API overview

更新时间:Jan 06, 2026

API standard and pre-built SDKs in multi-language

The OpenAPI specification of this product (FC-Open/2021-04-06) follows the ROA standard. Alibaba Cloud provides pre-built SDKs for popular programming languages to abstract low-level complexities such as request signing. This enables developers to call APIs using language-specific syntax without dealing with HTTP details directly.

Custom signature

If your specific needs, such as a customized signature, are not supported by the SDK, manually sign requests using the signature mechanism. Note that manual signing requires significant effort (usually about 5 business days). For support, join our DingTalk group (ID: 147535001692).

Before you begin

An Alibaba Cloud account has full administrative privileges. A compromised AccessKey pair exposes all associated resources to unauthorized access, posing a significant security risk. To call APIs securely, create a Resource Access Management (RAM) user with API access only, configure its AccessKey pairs, and implement the principle of least privilege (PoLP) through RAM policies. Use the Alibaba Cloud account only when its permissions are explicitly required for specific scenarios.

ReservedCapacities

API

Title

Description

ListReservedCapacities ListReservedCapacities Queries purchased provisioned instances. This API operation has been deprecated. We recommend that you do not continue to use this API operation.

GetAccountSettings

API

Title

Description

DescribeRegions DescribeRegions Queries the regions where Function Compute 2.0 is available.
GetAccountSettings GetAccountSettings You can call this operation to query the information about an account.

Service

API

Title

Description

CreateService CreateService Create a service.
DeleteService DeleteService Deletes a service.
UpdateService UpdateService Updates a service.
ListServices ListServices Queries a list of services.
GetService GetService Queries information about a specified service.

ServiceVersion

API

Title

Description

DeleteServiceVersion DeleteServiceVersion Removes a service version.
PublishServiceVersion PublishServiceVersion Publishes a service version.
ListServiceVersions ListServiceVersions Queries all the versions of a service.

Trigger

API

Title

Description

CreateTrigger CreateTrigger A trigger is created.
DeleteTrigger DeleteTrigger Deletes a trigger.
UpdateTrigger UpdateTrigger Modifies a trigger.
GetTrigger GetTrigger Queries the information about a trigger.
ListTriggers ListTriggers Queries the triggers of a function.

CustomDomain

API

Title

Description

CreateCustomDomain CreateCustomDomain Adds a custom domain name.
DeleteCustomDomain DeleteCustomDomain Deletes a custom domain name.
UpdateCustomDomain UpdateCustomDomain Modifies a custom domain name.
GetCustomDomain GetCustomDomain Queries the information about a custom domain name.
ListCustomDomains ListCustomDomains Queries available custom domain names.

Alias

API

Title

Description

CreateAlias CreateAlias Creates an alias.
DeleteAlias DeleteAlias Deletes an alias.
UpdateAlias UpdateAlias Updates an alias.
GetAlias GetAlias Queries information about an alias.
ListAliases ListAliases Queries all aliases of a service.

Function

API

Title

Description

CreateFunction CreateFunction Creates a function.
DeleteFunction DeleteFunction Deletes a function. Before you delete a function, you must delete triggers of the function.
UpdateFunction UpdateFunction The GPU memory capacity for the function. Unit: MB. The value must be a multiple of 1,024.
GetFunction GetFunction Queries the information about a function.
GetFunctionCode GetFunctionCode Queries the code package of a function.
ListFunctions ListFunctions Queries functions.
InvokeFunction InvokeFunction Invoke a function.

FunctionAsyncInvokeConfig

API

Title

Description

PutFunctionAsyncInvokeConfig PutFunctionAsyncInvokeConfig Creates or modifies an asynchronous invocation configuration for a function.
DeleteFunctionAsyncInvokeConfig DeleteFunctionAsyncInvokeConfig Deletes an asynchronous invocation configuration.
GetFunctionAsyncInvokeConfig GetFunctionAsyncInvokeConfig Obtains asynchronous invocation configurations of a function.
ListFunctionAsyncInvokeConfigs ListFunctionAsyncInvokeConfigs Queries all asynchronous invocation configurations of a function in a service. If the number of configurations exceeds the value of the limit parameter, the nextToken parameter is returned. You can use the nextToken parameter to query the next page of results.

FunctionOnDemandConfig

API

Title

Description

DeleteFunctionOnDemandConfig DeleteFunctionOnDemandConfig Deletes a concurrency configuration of a function.
GetFunctionOnDemandConfig GetFunctionOnDemandConfig Obtains configurations of on-demand instances.
ListOnDemandConfigs ListOnDemandConfigs Queries on-demand instance configurations a function.
PutFunctionOnDemandConfig PutFunctionOnDemandConfig Creates a function rule.

ProvisionConfig

API

Title

Description

GetProvisionConfig GetProvisionConfig Queries the details of provisioned configurations.
ListProvisionConfigs ListProvisionConfigs Queries configurations of provisioned instances.
PutProvisionConfig PutProvisionConfig Creates provisioned configurations.

StatefulAsyncInvocation

API

Title

Description

StopStatefulAsyncInvocation StopStatefulAsyncInvocation Stops an asynchronous task.
ListStatefulAsyncInvocationFunctions ListStatefulAsyncInvocationFunctions Queries all function resources that have enabled asynchronous tasks within the current account.
GetStatefulAsyncInvocation GetStatefulAsyncInvocation Gets asynchronous task records that meet specified conditions.
ListStatefulAsyncInvocations ListStatefulAsyncInvocations Queries all asynchronous invocations in an asynchronous task that meets specific conditions.

Layer

API

Title

Description

CreateLayerVersion CreateLayerVersion Releases a layer version.
DeleteLayerVersion DeleteLayerVersion Deletes a layer version.
ListLayers ListLayers Gets a list of layers.
ListLayerVersions ListLayerVersions Gets a list of layer versions.
GetLayerVersion GetLayerVersion Queries versions of a layer.
PutLayerACL PutLayerACL Modifies permissions of a layer.

EventSources

API

Title

Description

ListEventSources ListEventSources Queries a list of event sources for function invocations.
DeregisterEventSource DeregisterEventSource Deregisters an event source for a function invocation. This API operation has been deprecated. We recommend that you do not continue to use it.
RegisterEventSource RegisterEventSource Registers an event source.

VpcBinding

API

Title

Description

CreateVpcBinding CreateVpcBinding Creates a VPC connection.
DeleteVpcBinding DeleteVpcBinding Deletes an access control policy from a specified policy group for a VPC firewall.
ListVpcBindings ListVpcBindings Queries a list of existing VPC connections.

Tag

API

Title

Description

GetResourceTags GetResourceTags Queries all the tags of a resource.
ListTaggedResources ListTaggedResources Queries all tagged services.
TagResource TagResource Adds tags to a resource.
UntagResource UntagResource Removes tags from resources.

Instances

API

Title

Description

ListInstances ListInstances Query a list of available instances of a function.