Memeriksa nama tugas pengiriman log real-time berdasarkan akun.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:CheckUserProjectName |
none |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectName |
string |
Yes |
Nama tugas pengiriman log real-time. |
ali-dcdn-log-56 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter respons. |
||
| RequestId |
string |
ID permintaan. |
34DCBC8A-****-****-****-6DAA11D7DDBD |
| Check |
boolean |
Menunjukkan apakah nama valid. Nilai yang valid:
|
true |
| ProjectName |
string |
Nama tugas pengiriman log real-time. |
ali-dcdn-log-56 |
| Description |
string |
Alasan mengapa nama lulus atau gagal pemeriksaan. |
project name pass the check |
Contoh
Respons sukses
JSONformat
{
"RequestId": "34DCBC8A-****-****-****-6DAA11D7DDBD",
"Check": true,
"ProjectName": "ali-dcdn-log-56",
"Description": "project name pass the check"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | RealtimeLogProjectExistError | Realtime-log project name already exist. | Real-time log entry name already exists |
| 400 | InvalidParameter | The specified parameter is invalid. | The specified parameter is invalid. |
| 400 | InternalError | An internal exception occurred, please try again later. | An inner exception was triggered. Please try again later. |
| 403 | EsaService.NotOpen | ESA service has not opend. | Edge Security Accelerator (ESA) is not turned on |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.