All Products
Search
Document Center

Function Compute:List of operations by function

更新時間:Nov 06, 2024
This product(FC-Open/2021-04-06) 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.

ReservedCapacities

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

GetAccountSettings

APITitleDescription
GetAccountSettingsGetAccountSettingsYou can call this operation to query the information about an account.

Service

APITitleDescription
CreateServiceCreateServiceCreate a service.
DeleteServiceDeleteServiceDeletes a service.
UpdateServiceUpdateServiceUpdates a service.
ListServicesListServicesQueries a list of services.
GetServiceGetServiceQueries information about a specified service.

ServiceVersion

APITitleDescription
DeleteServiceVersionDeleteServiceVersionRemoves a service version.
PublishServiceVersionPublishServiceVersionPublishes a service version.
ListServiceVersionsListServiceVersionsQueries all the versions of a service.

Trigger

APITitleDescription
CreateTriggerCreateTriggerA trigger is created.
DeleteTriggerDeleteTriggerDeletes a trigger.
UpdateTriggerUpdateTriggerModifies a trigger.
GetTriggerGetTriggerQueries the information about a trigger.
ListTriggersListTriggersQueries the triggers of a function.

CustomDomain

APITitleDescription
CreateCustomDomainCreateCustomDomainAdds a custom domain name.
DeleteCustomDomainDeleteCustomDomainDeletes a custom domain name.
UpdateCustomDomainUpdateCustomDomainModifies a custom domain name.
GetCustomDomainGetCustomDomainQueries the information about a custom domain name.
ListCustomDomainsListCustomDomainsQueries available custom domain names.

Alias

APITitleDescription
CreateAliasCreateAliasCreates an alias.
DeleteAliasDeleteAliasDeletes an alias.
UpdateAliasUpdateAliasUpdates an alias.
GetAliasGetAliasQueries information about an alias.
ListAliasesListAliasesQueries all aliases of a service.

Function

APITitleDescription
CreateFunctionCreateFunctionCreates a function.
DeleteFunctionDeleteFunctionDeletes a function. Before you delete a function, you must delete triggers of the function.
UpdateFunctionUpdateFunctionThe GPU memory capacity for the function. Unit: MB. The value must be a multiple of 1,024.
GetFunctionGetFunctionQueries the information about a function.
GetFunctionCodeGetFunctionCodeQueries the code package of a function.
ListFunctionsListFunctionsQueries functions.
InvokeFunctionInvokeFunctionInvoke a function.

FunctionAsyncInvokeConfig

APITitleDescription
PutFunctionAsyncInvokeConfigPutFunctionAsyncInvokeConfigCreates or modifies an asynchronous invocation configuration for a function.
DeleteFunctionAsyncInvokeConfigDeleteFunctionAsyncInvokeConfigDeletes an asynchronous invocation configuration.
GetFunctionAsyncInvokeConfigGetFunctionAsyncInvokeConfigObtains asynchronous invocation configurations of a function.
ListFunctionAsyncInvokeConfigsListFunctionAsyncInvokeConfigsQueries 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

APITitleDescription
DeleteFunctionOnDemandConfigDeleteFunctionOnDemandConfigDeletes a concurrency configuration of a function.
GetFunctionOnDemandConfigGetFunctionOnDemandConfigObtains configurations of on-demand instances.
ListOnDemandConfigsListOnDemandConfigsQueries on-demand instance configurations a function.
PutFunctionOnDemandConfigPutFunctionOnDemandConfigCreates a function rule.

ProvisionConfig

APITitleDescription
GetProvisionConfigGetProvisionConfigQueries the details of provisioned configurations.
ListProvisionConfigsListProvisionConfigsQueries configurations of provisioned instances.
PutProvisionConfigPutProvisionConfigCreates provisioned configurations.

StatefulAsyncInvocation

APITitleDescription
StopStatefulAsyncInvocationStopStatefulAsyncInvocationStops an asynchronous task.
ListStatefulAsyncInvocationFunctionsListStatefulAsyncInvocationFunctionsQueries all function resources that have enabled asynchronous tasks within the current account.
GetStatefulAsyncInvocationGetStatefulAsyncInvocationGets asynchronous task records that meet specified conditions.
ListStatefulAsyncInvocationsListStatefulAsyncInvocationsQueries all asynchronous invocations in an asynchronous task that meets specific conditions.

Layer

APITitleDescription
CreateLayerVersionCreateLayerVersionReleases a layer version.
DeleteLayerVersionDeleteLayerVersionDeletes a layer version.
ListLayersListLayersGets a list of layers.
ListLayerVersionsListLayerVersionsGets a list of layer versions.
GetLayerVersionGetLayerVersionQueries versions of a layer.
PutLayerACLPutLayerACLModifies permissions of a layer.

EventSources

APITitleDescription
ListEventSourcesListEventSourcesQueries a list of event sources for function invocations.
DeregisterEventSourceDeregisterEventSourceDeregisters an event source for a function invocation. This API operation has been deprecated. We recommend that you do not continue to use it.
RegisterEventSourceRegisterEventSourceRegisters an event source.

VpcBinding

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

Tag

APITitleDescription
GetResourceTagsGetResourceTagsQueries all the tags of a resource.
ListTaggedResourcesListTaggedResourcesQueries all tagged services.
TagResourceTagResourceAdds tags to a resource.
UntagResourceUntagResourceRemoves tags from resources.

Instances

APITitleDescription
ListInstancesListInstancesQuery a list of available instances of a function.