Reverte um aplicativo de contêiner de borda para uma versão especificada. Utilize esta API para se recuperar rapidamente de uma falha de implantação e minimizar a interrupção do serviço.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
esa:RollbackEdgeContainerAppVersion |
none |
*All Resource
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| AppId |
string |
Sim |
O ID do aplicativo. |
app-88068867578379**** |
| VersionId |
string |
Sim |
O ID da versão para a qual reverter. |
ver-87962637161651**** |
| Remarks |
string |
Não |
Informações adicionais sobre a reversão. |
test rollback app |
| UsedPercent |
boolean |
Não |
Especifica se a reversão por porcentagem deve ser utilizada. |
true |
| Percentage |
integer |
Não |
A porcentagem de implantação para a versão de destino após a reversão. Valores válidos: 1 a 100. Valor padrão: 0. |
50 |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
|||
| RequestId |
string |
O ID da solicitação. |
C370DAF1-C838-4288-A1A0-9A87633D248E |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "C370DAF1-C838-4288-A1A0-9A87633D248E"
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | The specified parameter is invalid. |
| 400 | InvalidParameter.appid | The format of the application ID is invalid. You can call ListEdgeContainerApps to obtain the application ID. | The format of the application ID is invalid. You can call ListEdgeContainerApps to obtain the application ID. |
| 400 | InvalidParameter.VersionId | The specified VersionId is invalid. Please check the VersionId parameter. You may not have entered the parameter or the parameter does not start with ver-string. Please modify it and call the interface again. | The VersionId parameter is invalid. Please check the VersionId parameter. You may not have entered the parameter or the parameter does not start with ver-string. Please modify it and call the interface again. |
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
| 500 | InternalError | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
| 404 | InvalidApp.NotFound | The application does not exist. Check whether the application ID you specified is correct and try again. | The application does not exist. Check whether the application ID you specified is correct and try again. |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.