Mengkueri konfigurasi Logtail yang diterapkan pada kelompok mesin.
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:GetAppliedConfigs |
get |
*Project
|
|
None |
Sintaks permintaan
GET /machinegroups/{machineGroup}/configs HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| machineGroup |
string |
Yes |
Nama kelompok mesin. |
test-machine-group |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
Nama proyek. |
ali-test-project |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The information about the Logtail configurations. |
||
| count |
integer |
The number of Logtail configurations. |
2 |
| configs |
array |
The names of the Logtail configurations. |
|
|
string |
The information about the Logtail configuration. |
[ "two", "three", "test_logstore" ] |
Contoh
Respons sukses
JSONformat
{
"count": 2,
"configs": [
"[ \"two\", \"three\", \"test_logstore\" ]"
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.