Mengkueri tugas pemantauan aplikasi per halaman.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
arms:SearchTraceAppByPage |
none |
*TraceApp
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| TraceAppName |
string |
No |
Nama aplikasi. |
test-app |
| PageNumber |
integer |
No |
Nomor halaman dari hasil kueri. Jika Anda mengosongkan parameter ini, nilai default |
1 |
| PageSize |
integer |
No |
Jumlah item yang dikembalikan per halaman. Jika Anda mengosongkan parameter ini, nilai default |
10 |
| RegionId |
string |
Yes |
ID region. |
cn-hangzhou |
| ResourceGroupId |
string |
No |
ID grup sumber daya. |
rg-acfmxyexli2**** |
| Tags |
array<object> |
No |
Tag. |
|
|
object |
No |
|||
| Key |
string |
No |
Kunci tag. |
TestKey |
| Value |
string |
No |
Nilai tag. |
TestValue |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
4B446DF2-3DDD-4B5B-8E3F-D5225120**** |
| PageBean |
object |
Informasi paginasi yang dikembalikan. |
|
| PageNumber |
integer |
Nomor halaman yang dikembalikan. |
1 |
| PageSize |
integer |
Jumlah item yang dikembalikan per halaman. |
10 |
| TotalCount |
integer |
Jumlah total item dalam hasil kueri. |
3 |
| TraceApps |
array<object> |
Informasi tentang tugas pemantauan aplikasi. |
|
|
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**** |
Contoh
Respons sukses
JSONformat
{
"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****"
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.