Volcano Engine Function as a Service
Parameter | Type | Required or Not | Sample value | Description |
Action | String | Yes | GetReleaseStatus | Interface name. The current API is called GetReleaseStatus. |
Version | String | Yes | 2024-06-06 | Interface version. The current version of the API is 2024-06-06. |
FunctionId | String | Yes | nwwzoaq1 | Function ID. |
Parameter | Type | Sample value | Description |
FunctionId | String | nwwzoaq1 | Function ID. |
Status | String | done | Function release status:
|
StatusMessage | String | Function release finished successfully | Function release status details. This is a supplement to the release status. |
StableRevisionNumber | Integer | 1 | The version number currently running stably online. Generated after the initial release is successful, and before the initial release (status == pending) StableRevisionNumber -1. |
NewRevisionNumber | Integer | 1 | Version number of the new version being released. When the status is pending, no parameter will return. When the status is inprogress/failed/done, a parameter will return. |
OldRevisionNumber | Integer | 1 | The version number of the old version. When the status is pending, no parameter will return. When the status is inprogress/failed/done, a parameter will return. |
StartTime | String | 2024-06-27 07:05:12 | The current release start time. When the status is pending, no parameter will return. When the status is inprogress/failed/done, a parameter will return. |
TargetTrafficWeight | Integer | 100 | Target release traffic percentage. Valid value 0-100, representing the proportion of traffic of the version you want to release, and full release is 100. |
CurrentTrafficWeight | Integer | 50 | Current released traffic percentage. Valid value 1-100, representing the proportion of traffic of the version currently being released, and only when the status is inprogress/failed, a parameter will return. |
ErrorCode | String | function_start_failed | Error codes for release failures:
|
FailedInstanceLogs | String | https://vefaas-sit.tos-s3-cn-boe.volces.com/release_failed_instance_logs/****** | The download link for instance logs of failed releases. |
ReleaseRecordId | String | xozo****** | Release record ID. |