Using A Version

Last updated: 2023-09-27 18:15:30

The versioning feature is primarily used to solidify function configurations and code, preventing any impact on operations during development, debugging, and testing. After publishing a version of the cloud function, you can utilize this version by invoking the specified cloud function.
Description
The $LATEST version is designated for development and testing, facilitating further code development and debugging.

Trigger of the version

Currently, each published version of a cloud function can independently bind with a trigger. For the same function, each version operates independently, and each trigger independently initiates the function execution.
Description
There is a certain limit to the number of triggers under a user account. For details, please refer to Quota Limits. If you need to increase the quota of triggers (i.e., quota increase), you can apply by submitting a ticket.

TencentCloud API Triggered Version

When triggering a cloud function call using the TencentCloud API InvokeFunction interface, you can specify the exact version to be triggered through the optional parameter Qualifier. If this parameter is not provided, the $DEFAULT alias will be triggered by default. For more details, please refer to Alias Management.