Mengaktifkan fitur log layanan untuk Proyek.
Deskripsi operasi
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
log:CreateLogging |
create |
*Project
|
|
None |
Sintaks permintaan
POST /logging HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
Nama Proyek. |
ali-test-project |
| body |
object |
Yes |
Badan permintaan. |
|
| loggingProject |
string |
Yes |
The name of the project to which service logs are stored. |
my-project |
| loggingDetails |
array<object> |
Yes |
The configurations of service logs. |
|
|
object |
No |
|||
| type |
string |
Yes |
The type of service logs. Valid values:
|
consumergroup_log |
| logstore |
string |
Yes |
The name of the Logstore to which service logs of the type are stored. |
my-logstore |
Elemen respons
|
Element |
Type |
Description |
Example |
Tidak ada yang didefinisikan.
Contoh
Respons sukses
JSONformat
{}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.