Consulta as tarefas de Monitoramento de Aplicativos por página.
Experimente agora
Testar
Autorização RAM
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| TraceAppName |
string |
Não |
O nome do aplicativo. |
test-app |
| PageNumber |
integer |
Não |
O número da página a ser retornada. Valor padrão: 1. |
1 |
| PageSize |
integer |
Não |
O número de entradas a serem retornadas em cada página. Valor padrão: 10. |
10 |
| RegionId |
string |
Sim |
O ID da região. |
cn-hangzhou |
| ResourceGroupId |
string |
Não |
O ID do grupo de recursos. |
rg-acfmxyexli2**** |
| Tags |
array<object> |
Não |
Uma lista de tags. |
|
|
object |
Não |
|||
| Key |
string |
Não |
A chave da tag. |
TestKey |
| Value |
string |
Não |
O valor da tag. |
TestValue |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
|||
| RequestId |
string |
O ID da solicitação. |
4B446DF2-3DDD-4B5B-8E3F-D5225120**** |
| PageBean |
object |
As informações sobre o objeto de array. |
|
| PageNumber |
integer |
O número da página retornada. |
1 |
| PageSize |
integer |
O número de entradas retornadas por página. |
10 |
| TotalCount |
integer |
O número total de entradas retornadas. |
3 |
| TraceApps |
array<object> |
As informações sobre a tarefa de monitoramento. |
|
|
array<object> |
|||
| Type |
string |
The type of the monitoring task. Valid values:
|
TRACE |
| AppName |
string |
The name of the application. |
test-app |
| UpdateTime |
integer |
The timestamp generated when the task information was updated. |
1531291867000 |
| Show |
boolean |
Indicates whether the application is displayed in the Application Real-Time Monitoring Service (ARMS) console. Valid values:
|
true |
| CreateTime |
integer |
The timestamp generated when the task was created. |
1531291867000 |
| Pid |
string |
The process identifier (PID) of the application. |
atc889zkcf@d8deedfa9bf**** |
| AppId |
integer |
The application ID. |
123 |
| UserId |
string |
The user ID. |
113197164949**** |
| RegionId |
string |
The region ID. |
cn-hangzhou |
| Labels |
array |
The aliases of the application. |
|
|
string |
The alias of the application. |
prod |
|
| Tags |
array<object> |
A list of tags. |
|
|
object |
|||
| Key |
string |
The tag key. |
TestKey |
| Value |
string |
The tag value. |
TestValue |
| ResourceGroupId |
string |
The resource group ID. |
rg-acfmxyexli2**** |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "4B446DF2-3DDD-4B5B-8E3F-D5225120****",
"PageBean": {
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 3,
"TraceApps": [
{
"Type": "TRACE",
"AppName": "test-app",
"UpdateTime": 1531291867000,
"Show": true,
"CreateTime": 1531291867000,
"Pid": "atc889zkcf@d8deedfa9bf****",
"AppId": 123,
"UserId": "113197164949****",
"RegionId": "cn-hangzhou",
"Labels": [
"prod"
],
"Tags": [
{
"Key": "TestKey",
"Value": "TestValue"
}
],
"ResourceGroupId": "rg-acfmxyexli2****"
}
]
}
}
Códigos de erro
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.