Function and Layer Status Description

Last updated: 2020-08-21 18:40:55

    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 called, its content before the update will be called 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?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help