All Products
Search
Document Center

Function Compute:List of operations by function

Last Updated:Dec 23, 2025
This product(FC/2023-03-30) OpenAPI adopts ROA Signature style. See signature details in Description of the signature mechanism. We have packaged SDKs for common programming languages for developers. Developers can directly call the OpenAPI of this product by downloading the SDK without paying attention to the technical details. If the existing SDK cannot meet the usage requirements, you can connect through the signature mechanism. It will take about 5 working days. Therefore, it is recommended to join our DingTalk service group (78410016550) and sign under the guidance of experts.
Before using the API, you need to prepare your identity account and access key (AccessKey) to effectively access the API through client tools (SDK, CLI, etc.). For details see getAccessKey.

Resource Group

APITitleDescription
ChangeResourceGroupChangeResourceGroupUpdates the resource group of a Function Compute resource.

Region

APITitleDescription
DescribeRegionsDescribeRegionsQueries the regions where Function Compute 3.0 is available.

CustomDomain

APITitleDescription
CreateCustomDomainCreateCustomDomainCreates a custom domain name.
DeleteCustomDomainDeleteCustomDomainDeletes a custom domain name.
GetCustomDomainGetCustomDomainQueries information about a custom domain name.
ListCustomDomainsListCustomDomainsQueries custom domain names.
UpdateCustomDomainUpdateCustomDomainUpdate a custom domain name.

Function

APITitleDescription
DeleteFunctionVersionDeleteFunctionVersionDeletes a function version.
GetFunctionCodeGetFunctionCodeQueries a code package of a function.
ListFunctionVersionsListFunctionVersionsQueries versions of a function.
PublishFunctionVersionPublishFunctionVersionPublishes a function version.
CreateFunctionCreateFunctionCreates a function.
DeleteFunctionDeleteFunctionDeletes a function.
GetFunctionGetFunctionhttp://pre.hhht/#vpc
ListFunctionsListFunctionsQueries a list of functions.
InvokeFunctionInvokeFunctionInvokes a function.
UpdateFunctionUpdateFunctionUpdates the information about a function.
EnableFunctionInvocationEnableFunctionInvocationThe EnableFunctionInvocation operation allows a function to be invoked and resumes the creation of provisioned instances. This operation is currently in private preview.
DisableFunctionInvocationDisableFunctionInvocationThe DisableFunctionInvocation operation prevents a function from being invoked and optionally terminates all requests that are being processed. Once a function's invocation is disabled, no new instances can be created, and the existing provisioned instances are destroyed. This operation is currently in private preview.

Alias

APITitleDescription
DeleteAliasDeleteAliasDeletes an alias.
GetAliasGetAliasQueries information about an alias.
ListAliasesListAliasesQueries aliases.
UpdateAliasUpdateAliasUpdates an alias.
CreateAliasCreateAliasCreates an alias.

Trigger

APITitleDescription
CreateTriggerCreateTriggerCreates a trigger.
DeleteTriggerDeleteTriggerDeletes a trigger.
GetTriggerGetTriggerQueries information about a trigger.
ListTriggersListTriggersQueries the triggers of a function.
UpdateTriggerUpdateTriggerModifies a trigger.

FunctionAsyncInvokeConfig

APITitleDescription
DeleteAsyncInvokeConfigDeleteAsyncInvokeConfigDeletes an asynchronous invocation configuration.
GetAsyncInvokeConfigGetAsyncInvokeConfigGets asynchronous invocation configurations of a function.
ListAsyncInvokeConfigsListAsyncInvokeConfigsQueries all asynchronous configurations of a function.
PutAsyncInvokeConfigPutAsyncInvokeConfigCreates or modifies an asynchronous invocation configuration for a function.

FunctionProvisionConfig

APITitleDescription
DeleteProvisionConfigDeleteProvisionConfigDeletes a provisioned configuration.
GetProvisionConfigGetProvisionConfigQueries provisioned configurations.
ListProvisionConfigsListProvisionConfigsQueries a list of provisioned configurations.
PutProvisionConfigPutProvisionConfigCreates provisioned configurations.

FunctionConcurrencyConfig

APITitleDescription
DeleteConcurrencyConfigDeleteConcurrencyConfigDeletes a concurrency configuration.
GetConcurrencyConfigGetConcurrencyConfigObtains a concurrency configuration.
ListConcurrencyConfigsListConcurrencyConfigsQueries a list of concurrency configurations.
PutConcurrencyConfigPutConcurrencyConfigConfigures concurrency of a function.

Layer

APITitleDescription
CreateLayerVersionCreateLayerVersionReleases a layer version.
DeleteLayerVersionDeleteLayerVersionDeletes a layer version.
GetLayerVersionGetLayerVersionQueries versions of a layer.
GetLayerVersionByArnGetLayerVersionByArnObtain version information of a layer by using ARNs.
ListLayerVersionsListLayerVersionsGets a list of layer versions.
ListLayersListLayersGets a list of layers.
PutLayerACLPutLayerACLModifies permissions of a layer.

Instances

APITitleDescription
ListInstancesListInstancesQueries a list of function instances.

VpcBinding

APITitleDescription
ListVpcBindingsListVpcBindingsQueries a list of existing VPC connections.
CreateVpcBindingCreateVpcBindingCreates a VPC connection.
DeleteVpcBindingDeleteVpcBindingDeletes an access control policy from a specified policy group for a VPC firewall.

Tag

APITitleDescription
TagResourcesTagResourcesAdds tags to a resource.
ListTagResourcesListTagResourcesLists all tagged resources.
UntagResourcesUntagResourcesRemoves tags from a resource.

asynchronous task

APITitleDescription
GetAsyncTaskGetAsyncTaskQueries the information about an asynchronous task.
ListAsyncTasksListAsyncTasksLists asynchronous tasks.
StopAsyncTaskStopAsyncTaskStops an asynchronous task.

Session

APITitleDescription
CreateSessionCreateSessionThe CreateSession operation creates an explicit session resource. The system automatically generates a unique session ID, pre-allocates a function instance, and associates it with the session. You can specify values for TTL and idle timeout. This method applies to the HEADER_FIELD and GENERATED_COOKIE affinity types. It handles session preload and configuration initialization. After you call the InvokeFunction API, the session information can be included in the InvokeFunction request to enable request routing.
GetSessionGetSessionYou can use this operation to retrieve detailed information about a specific session, including its session ID, associated function, affinity type, lifecycle configuration, status, and instance details. This operation retrieves the current metadata for a session. You can identify the metadata precisely using either the function name or qualifier. This capability enables you to monitor and debug external systems with ease. Only sessions that are in the Active state can be queried.
UpdateSessionUpdateSessionUpdates session configurations while the session is in the Active state, such as lifecycle parameters (e.g., SessionTTLInSeconds and SessionIdleTimeoutInSeconds). After the update takes effect, LastModifiedTime is automatically refreshed. These updates can be used to extend or shorten the validity period of a session and enable dynamic management without changing the execution environment bound to the session.
ListSessionsListSessionsLists sessions in the Active and/or Expired state(s) under the specified function. Supports filtering by qualifier, status, and session ID, as well as paginated queries. Returns basic session attributes for batch viewing of session distribution and status, helping with operations monitoring and integration with external systems, and enhancing session visibility and management.
DeleteSessionDeleteSessionDeletes the specified session and prohibits new requests from being routed to it. Clears the session metadata from the database, so subsequent requests with the same session ID are treated as new sessions. Releases resources and performs session cleanup. In session isolation scenarios, terminates running requests and releases the instance bound to the session. In non-session isolation scenarios, allows running requests to continue and gracefully terminates them.

Others

APITitleDescription
PutScalingConfigPutScalingConfigScaling settings
DeleteScalingConfigDeleteScalingConfigDeletes the scaling settings of a function.
GetScalingConfigGetScalingConfigGets the scaling settings of a function.
ListScalingConfigsListScalingConfigsLists the scaling settings of a function.