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
| API | Description |
|---|---|
| CreateService | Creates a service. |
| DeleteService | Deletes a service. |
| UpdateService | Updates a service. |
| GetService | Queries the details of a service. |
| ListServices | Queries services. |
Function
| API | Description |
|---|---|
| CreateFunction | Creates a function. |
| DeleteFunction | Deletes a function. |
| UpdateFunction | Updates a function. |
| GetFunction | Queries the details of a function. |
| GetFunctionCode | Retrieves the code package of a function. |
| ListFunctions | Queries functions. |
| InvokeFunction | Invokes a function. |
Trigger
| API | Description |
|---|---|
| CreateTrigger | Creates a trigger. |
| DeleteTrigger | Deletes a trigger. |
| UpdateTrigger | Updates a trigger. |
| GetTrigger | Queries the details of a trigger. |
| ListTriggers | Queries triggers. |
Version
| API | Description |
|---|---|
| PublishServiceVersion | Publishes a version of a service. |
| DeleteServiceVersion | Deletes a version of a service. |
| ListServiceVersions | Queries the versions of a service. |
Alias
| API | Description |
|---|---|
| CreateAlias | Creates an alias. |
| DeleteAlias | Deletes an alias. |
| UpdateAlias | Updates an alias. |
| GetAlias | Queries the details of an alias. |
| ListAliases | Queries aliases. |
Custom domain names
| API | Description |
|---|---|
| CreateCustomDomain | Creates a custom domain name. |
| DeleteCustomDomain | Deletes a custom domain name. |
| UpdateCustomDomain | Updates a custom domain name. |
| GetCustomDomain | Queries the details of a custom domain name. |
| ListCustomDomains | Queries custom domain names. |
Provisioned configurations
| API | Description |
|---|---|
| PutProvisionConfig | Sets a provisioned configuration. |
| GetProvisionConfig | Queries a provisioned configuration. |
| ListProvisionConfigs | Queries provisioned configurations. |
Tag
| API | Description |
|---|---|
| TagResource | Adds tags to a resource. |
| UntagResource | Removes tags from a resource. |
| GetResourceTags | Queries all tags of a resource. |
Asynchronous invocation configurations
| API | Description |
|---|---|
| PutFunctionAsyncInvokeConfig | Creates or updates the asynchronous invocation configuration of a function in a service. |
| DeleteFunctionAsyncInvokeConfig | Deletes the asynchronous invocation configurations of a function in a service. |
| GetFunctionAsyncInvokeConfig | Queries the asynchronous invocation configurations of a function in a service. |
| ListFunctionAsyncInvokeConfigs | Queries all asynchronous invocation configurations of a function in a service. |
Layer
| API | Description |
|---|---|
| PublishLayerVersion | Publishes a version of a layer. |
| DeleteLayerVersion | Deletes a version of a layer. |
| GetLayerVersion | Queries the details of a layer version. |
| ListLayerVersions | Queries the versions of a layer. |
| ListLayers | Queries layers. |
该文章对您有帮助吗?