Exclui uma versão de código de uma rotina.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
esa:DeleteRoutineCodeVersion |
none |
*All Resource
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| Name |
string |
Sim |
O nome da rotina. |
test-routine1 |
| CodeVersion |
string |
Sim |
A versão do código. |
1710120201067203242 |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
Os parâmetros de resposta. |
||
| RequestId |
string |
O ID da solicitação. |
EDBD3EB3-97DA-5465-AEF5-8DCA5DC5E395 |
| Status |
string |
Indica se a operação foi bem-sucedida. |
OK |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "EDBD3EB3-97DA-5465-AEF5-8DCA5DC5E395",
"Status": "OK"
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 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. |
| 400 | InvalidParameter | The specified parameter is invalid. | The specified parameter is invalid. |
| 400 | RoutineNotExist | The routine name does not exist. Check the routine name and try again. | The routine name does not exist. Check the routine name and try again. |
| 400 | DependedByOthers | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
| 400 | SiteParameterNotMatch | Failed to verify website parameters.Check the parameters and try again. | Failed to verify website parameters.Check the parameters and try again. |
| 400 | RoutineUserServiceStatusHalt | Failed to update the configurations because you have overdue payments. | Failed to update the configurations because you have overdue payments. |
| 400 | InternalOperationError | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
| 400 | ParameterNotExist | The specified parameter does not exist. Check your configurations and try again. | The specified parameter does not exist. Check your configurations and try again. |
| 400 | CodeVersionInUse | Failed to delete the code version because it is being used. Before you delete it, roll back to the previous version. | Failed to delete the code version because it is being used. Before you delete it, roll back to the previous version. |
| 400 | UserOperationStatusIsLocked | You are calling an another routine related api. Please wait for the api finished, and try again later. | You are calling an another routine related api. Please wait for the api finished, and try again later. |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.