Memanggil DescribeDiagnosticReportAttributes untuk meminta detail laporan diagnostik resource.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecs:DescribeDiagnosticReportAttributes |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID region. Anda dapat memanggil operasi DescribeRegions untuk meminta daftar terbaru region Alibaba Cloud. |
cn-hangzhou |
| ReportId |
string |
Yes |
ID laporan diagnostik. |
dr-i-uf6i0tv2refv8wz***** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons |
||
| RequestId |
string |
ID permintaan. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3**** |
| ResourceId |
string |
ID resource. |
i-uf6i0tv2refv8wz***** |
| ResourceType |
string |
Tipe resource. Nilai yang didukung adalah instance. |
instance |
| ReportId |
string |
ID laporan diagnostik. Pengenal unik laporan diagnostik resource. |
dr-uf6i0tv2refv8wz***** |
| Status |
string |
Status laporan diagnostik. Nilai yang valid:
|
Finished |
| CreationTime |
string |
Waktu laporan diagnostik dibuat. |
2022-07-11T12:00:00Z |
| FinishedTime |
string |
Waktu laporan diagnostik diselesaikan. |
2022-07-11T14:00:00Z |
| StartTime |
string |
Waktu mulai. Parameter ini diteruskan saat Anda memanggil operasi CreateDiagnosticReport untuk membuat laporan diagnostik. |
2022-07-11T12:00:00Z |
| EndTime |
string |
Waktu berakhir. Parameter ini diteruskan saat Anda memanggil operasi CreateDiagnosticReport untuk membuat laporan diagnostik. |
2022-07-11T14:00:00Z |
| Severity |
string |
Tingkat keparahan laporan. Ini adalah tingkat paling parah di antara semua metrik. Tingkat keparahan dari ringan ke berat adalah sebagai berikut:
|
Normal |
| MetricSetId |
string |
ID kumpulan metrik diagnostik. |
dms-bp17p0qwtr72zmu***** |
| MetricResults |
object |
||
| MetricResult |
array<object> |
Hasil diagnostik semua metrik dalam kumpulan diagnostik. |
|
|
array<object> |
|||
| MetricId |
string |
The ID of the diagnostic metric. |
GuestOS.WinFirewall |
| MetricCategory |
string |
The category of the diagnostic metric. |
CPU |
| Severity |
string |
The severity level of the diagnostic metric. Valid values:
|
Normal |
| Status |
string |
The state of the diagnostic metric. Valid values:
|
Finished |
| Issues |
object |
||
| Issue |
array<object> |
The diagnosed issues. |
|
|
object |
The diagnosed issue. |
||
| IssueId |
string |
The ID of the diagnosed issue, which is the unique identifier of the issue. |
GuestOS.CPU.HighUtiliz***** |
| Severity |
string |
The severity level of the diagnosed issue. Valid values:
|
Info |
| Additional |
string |
The additional data about the diagnosed issue. The value is a JSON string. |
{ "TotalPercent": 95, "TopUtilizationProcesses": [ { "Pid": "1223", "CommandName": "/usr/bin/mem.py", "PhysicalMemoryPercent": 50 } ] } |
| OccurrenceTime |
string |
The time when the diagnosed issue occurred. |
2022-07-11T14:00:00Z |
| RepairStatus |
string |
||
| Repairable |
boolean |
||
| Attributes |
string |
Atribut tambahan dari laporan diagnostik. |
{"OfflineDiagReportStatus":"CONFIRMED"} |
Contoh
Respons sukses
JSONformat
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
"ResourceId": "i-uf6i0tv2refv8wz*****",
"ResourceType": "instance",
"ReportId": "dr-uf6i0tv2refv8wz*****",
"Status": "Finished",
"CreationTime": "2022-07-11T12:00:00Z",
"FinishedTime": "2022-07-11T14:00:00Z",
"StartTime": "2022-07-11T12:00:00Z",
"EndTime": "2022-07-11T14:00:00Z",
"Severity": "Normal",
"MetricSetId": "dms-bp17p0qwtr72zmu*****",
"MetricResults": {
"MetricResult": [
{
"MetricId": "GuestOS.WinFirewall",
"MetricCategory": "CPU",
"Severity": "Normal",
"Status": "Finished",
"Issues": {
"Issue": [
{
"IssueId": "GuestOS.CPU.HighUtiliz*****",
"Severity": "Info",
"Additional": "{\n \"TotalPercent\": 95,\n \"TopUtilizationProcesses\": [\n {\n \"Pid\": \"1223\",\n \"CommandName\": \"/usr/bin/mem.py\",\n \"PhysicalMemoryPercent\": 50\n }\n ]\n}",
"OccurrenceTime": "2022-07-11T14:00:00Z",
"RepairStatus": "",
"Repairable": false
}
]
}
}
]
},
"Attributes": "{\"OfflineDiagReportStatus\":\"CONFIRMED\"}"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | InvalidParameter.ReportNotExist | The specified report does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.