Mengubah status aktif analisis log.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ModifyLogMetaStatus |
update |
*All Resources
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| From |
string |
No |
ID sumber permintaan. Tetapkan parameter ini ke sas. |
sas |
| Project |
string |
No |
Nama proyek. Catatan
Anda dapat memanggil operasi DescribeLogMeta untuk mendapatkan parameter ini. |
aegis-log |
| LogStore |
string |
Yes |
Nama logstore khusus tempat log disimpan. Catatan
Anda dapat memanggil operasi DescribeLogMeta untuk mendapatkan parameter ini. |
aegis-log-login |
| Status |
string |
Yes |
Status yang ingin Anda ubah untuk log. Nilai valid:
|
disabled |
| ResourceDirectoryAccountId |
integer |
No |
ID akun anggota di direktori sumber daya (akun Alibaba Cloud). Catatan
Panggil operasi DescribeMonitorAccounts untuk mendapatkan parameter ini. |
1232428423234**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter tanggapan. |
||
| RequestId |
string |
ID permintaan, yaitu pengidentifikasi unik yang dibuat oleh Alibaba Cloud untuk permintaan tersebut. Anda dapat menggunakan ID ini untuk memecahkan masalah. |
861445A7-B6D6-5825-B015-CD46ED90613A |
Contoh
Respons sukses
JSONformat
{
"RequestId": "861445A7-B6D6-5825-B015-CD46ED90613A"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | LogAuthStatusNotReady | Insufficient authorization status of the log service. | The authorization status of the log service is insufficient. |
| 400 | RdCheckNoPermission | Resource directory account verification has no permission. | The resource directory account verification does not have the required permission. |
| 500 | RdCheckInnerError | Resource directory account service internal error. | An internal error occurred in the resource directory account service. |
| 500 | ServerError | ServerError | A service failure occurred. Try again later. |
| 403 | NoPermission | caller has no permission | The current operation is not authorized. Contact the Alibaba Cloud account to grant the required permissions in the RAM console before you perform the operation. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.