Cria um segredo de imagem para a aplicação de contêiner de borda.
Experimente agora
Testar
Autorização RAM
Sintaxe da solicitação
POST HTTP/1.1
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| AppId |
string |
Sim |
ID da aplicação, que pode ser obtido usando a interface ListEdgeContainerApps. |
app-88068867578379**** |
| Registry |
string |
Sim |
Endereço do repositório de imagens. |
cr-cn-shanghai.edas.aliyuncs.com |
| Username |
string |
Sim |
Nome de usuário do repositório de imagens. |
admin |
| Password |
string |
Sim |
Senha do repositório de imagens. |
*** |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
Schema da resposta. |
||
| RequestId |
string |
ID da solicitação. |
CB1A380B-09F0-41BB-280B-72F8FD6DA2FE |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "CB1A380B-09F0-41BB-280B-72F8FD6DA2FE"
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 400 | InvalidParameter | Invalid parameter. Check the parameter configuration. | Invalid parameter. Check the parameter configuration. |
| 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 | InternalError | An internal exception occurred, please try again later. | An inner exception was triggered. Please try again later. |
| 400 | InvalidParameter.Appid | The format of the application ID is invalid. You can call ListEdgeContainerApps to obtain the application ID. | The format of the input application ID is incorrect. You can use the ListEdgeContainerApps API to obtain the application ID. |
| 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.