tencent cloud

All product documents
APIs
DocumentationAPIsServerless Cloud FunctionFunction and Layer Status Description
Function and Layer Status Description
Last updated: 2021-01-12 19:40:42
Function and Layer Status Description
Last updated: 2021-01-12 19:40:42
If you use a TencentCloud API to manage a function (i.e., CRUD operations), as the API is async, you need to query its current status first.

Function Status

When you create, update, delete, or publish a function, it will be in one of the following statuses:
Status Value (Returned by API)
Description
Creating
The function is being created
CreateFailed
The function failed to be created (if the function information has been generated, you can delete it and create the function again)
Active
The function is available
Updating
The function is being updated
UpdateFailed
The function failed to be updated
Publishing
The function version is being published
PublishFailed
The function version failed to be published
Deleting
The function is being deleted
DeleteFailed
The function failed to be deleted
Note
If a function failed to be published or updated, its versions that have already been published normally will not be affected, and when it is invocated, its content before the update will be invocated normally.
The change process of the function creation and update statuses is as shown below:


The change process of the function version release statuses is as shown below:



Function Billing Status

AvailableStatus Value (Returned by API)
Description
Available
The function is available
InsufficientBalance
The function is unavailable due to arrears

Layer Status

Status Value (Returned by API)
Description
Publishing
The layer is being published
PublishFailed
The layer failed to be published
Active
The layer is available
Deleting
The layer is being deleted
DeleteFailed
The layer failed to be deleted
Deleted
The layer has been deleted
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 available.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon