Bir uygulama altındaki uç kaynakların konteyner sürümünü geçmiş bir sürüme geri alır.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:RollbackApplication |
update |
*Tüm kaynaklar.
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
Uygulama kimliği. AppId değeri CreateApplication işlemi tarafından döndürülür. FromAppVersion ve ToAppVersion, CreateAppVersion çağrısı yapılarak oluşturulmuş mevcut sürümler olmalıdır. Sürümleri sorgulamak için ListAppVersions işlemini çağırabilirsiniz. |
474bdef0-d149-4695-abfb-52912d91**** |
| FromAppVersion |
string |
Yes |
Geri alınacak sürüm numarası. |
v2-1 |
| ToAppVersion |
string |
No |
Hedef sürüm numarası. Varsayılan olarak, uygulama otomatik şekilde önceki sürüme geri alınır. |
v2 |
| Timeout |
integer |
No |
Zaman uyumsuz geri alma işlemi için zaman aşımı süresi. Birim: saniye. Varsayılan değer: 300. |
1800 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
İstek kimliği. |
C0003E8B-B930-4F59-ADC0-0E209A9012A8 |
Examples
Success response
JSON format
{
"RequestId": "C0003E8B-B930-4F59-ADC0-0E209A9012A8"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter | The input parameter that is mandatory for processing this request is not supplied. | |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. | |
| 400 | InvalidParameter | The errorMessage is %s. Please check it again. | |
| 400 | ens.interface.error | An error occurred while calling the API. | |
| 400 | CallInterface | Call Interface Happen Error. | API işlemi çağrılırken bir hata oluştu. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.