Membuat tugas diagnosis.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ros:CreateDiagnostic |
create |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DiagnosticKey |
string |
Yes |
Kata kunci dalam diagnosis. Anda dapat menentukan ID stack yang ingin didiagnosis. |
37A5679B-8488-5A5D-8D5C-90E66A577A5D |
| Product |
string |
No |
Nama Produk yang didiagnosis. |
ros |
| DiagnosticType |
string |
No |
Tipe item yang didiagnosis. Atur nilainya ke Stack, yang menentukan bahwa stack didiagnosis. |
Stack |
| Lang |
string |
No |
Bahasa Laporan diagnostik yang akan dihasilkan. Hanya bahasa Mandarin dan Inggris yang didukung. Nilai valid:
|
zh-cn |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The error code returned. |
Forbidden |
| DiagnosticType |
string |
The type of the item that is diagnosed. |
Stack |
| HttpStatusCode |
integer |
The HTTP status code returned. |
200 |
| Message |
string |
The error message returned. |
You are not authorized to complete this action. |
| ReportId |
string |
The ID of the diagnostic report. |
dr-e94e39a1274d44b6**** |
| RequestId |
string |
The request ID. |
943B24D7-1A67-55A4-B045-818F90693D3A |
| Success |
string |
Indicates whether the request was successful. Valid values:
|
true |
Contoh
Respons sukses
JSONformat
{
"Code": "Forbidden",
"DiagnosticType": "Stack",
"HttpStatusCode": 200,
"Message": "You are not authorized to complete this action.",
"ReportId": "dr-e94e39a1274d44b6****",
"RequestId": "943B24D7-1A67-55A4-B045-818F90693D3A",
"Success": "true"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.