API overview

更新时间:
复制 MD 格式

This page lists the API operations available in Function Compute, grouped by resource type.

Important

The original API is under maintenance. Use the upgraded API instead. For details, see List of operations by function.

Prerequisites

Before calling any API operation, get your Alibaba Cloud account ID and an AccessKey pair for authentication. You can then call operations using SDKs or the CLI (command-line interface). See:

Service

APIDescription
CreateServiceCreates a service.
DeleteServiceDeletes a service.
UpdateServiceUpdates a service.
GetServiceQueries the details of a service.
ListServicesQueries services.

Function

APIDescription
CreateFunctionCreates a function.
DeleteFunctionDeletes a function.
UpdateFunctionUpdates a function.
GetFunctionQueries the details of a function.
GetFunctionCodeRetrieves the code package of a function.
ListFunctionsQueries functions.
InvokeFunctionInvokes a function.

Trigger

APIDescription
CreateTriggerCreates a trigger.
DeleteTriggerDeletes a trigger.
UpdateTriggerUpdates a trigger.
GetTriggerQueries the details of a trigger.
ListTriggersQueries triggers.

Version

APIDescription
PublishServiceVersionPublishes a version of a service.
DeleteServiceVersionDeletes a version of a service.
ListServiceVersionsQueries the versions of a service.

Alias

APIDescription
CreateAliasCreates an alias.
DeleteAliasDeletes an alias.
UpdateAliasUpdates an alias.
GetAliasQueries the details of an alias.
ListAliasesQueries aliases.

Custom domain names

APIDescription
CreateCustomDomainCreates a custom domain name.
DeleteCustomDomainDeletes a custom domain name.
UpdateCustomDomainUpdates a custom domain name.
GetCustomDomainQueries the details of a custom domain name.
ListCustomDomainsQueries custom domain names.

Provisioned configurations

APIDescription
PutProvisionConfigSets a provisioned configuration.
GetProvisionConfigQueries a provisioned configuration.
ListProvisionConfigsQueries provisioned configurations.

Tag

APIDescription
TagResourceAdds tags to a resource.
UntagResourceRemoves tags from a resource.
GetResourceTagsQueries all tags of a resource.

Asynchronous invocation configurations

APIDescription
PutFunctionAsyncInvokeConfigCreates or updates the asynchronous invocation configuration of a function in a service.
DeleteFunctionAsyncInvokeConfigDeletes the asynchronous invocation configurations of a function in a service.
GetFunctionAsyncInvokeConfigQueries the asynchronous invocation configurations of a function in a service.
ListFunctionAsyncInvokeConfigsQueries all asynchronous invocation configurations of a function in a service.

Layer

APIDescription
PublishLayerVersionPublishes a version of a layer.
DeleteLayerVersionDeletes a version of a layer.
GetLayerVersionQueries the details of a layer version.
ListLayerVersionsQueries the versions of a layer.
ListLayersQueries layers.