Obtém as informações do terminal de um aplicativo de contêiner de borda.
Experimente agora
Testar
Autorização RAM
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| AppId |
string |
Não |
O ID do aplicativo. Você pode chamar a operação ListEdgeContainerApps para obter o ID do aplicativo.\n Importante Este parâmetro é obrigatório. Se este parâmetro não for especificado, a API retornará InvalidParameter.appid(400).\nCadeia de dependência completa: CreateEdgeContainerApp → CreateEdgeContainerAppVersion → PublishEdgeContainerAppVersion → Aguarde o status do contêiner se tornar Running → Chame esta API. |
app-88068867578379**** |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
Schema da resposta. |
||
| RequestId |
string |
O ID da solicitação. |
9732E117-8A37-49FD-A36F-ABBB87556CA7 |
| Pod |
string |
O nome do pod. |
1775b9e0-8463-457e-89e8-fb7b6d125b2e |
| Cluster |
string |
O nome do cluster. |
c497b44c2a59f4ae0bd2826edc40a2c6e |
| Namespace |
string |
O nome do namespace. |
ns1 |
| Container |
string |
O nome do contêiner. |
worker0 |
| SessionId |
string |
O ID da sessão. |
af22f4xxxxxxxxxxxxxxxxxx |
| Token |
string |
As informações do token de compartilhamento. |
af22f4-xxxxx-xxxx-xxxx-xxxx |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "9732E117-8A37-49FD-A36F-ABBB87556CA7",
"Pod": "1775b9e0-8463-457e-89e8-fb7b6d125b2e",
"Cluster": "c497b44c2a59f4ae0bd2826edc40a2c6e",
"Namespace": "ns1",
"Container": "worker0",
"SessionId": "af22f4xxxxxxxxxxxxxxxxxx",
"Token": "af22f4-xxxxx-xxxx-xxxx-xxxx"
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 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 | The specified parameter is invalid. | The specified parameter is invalid. |
| 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.