Mengambil konfigurasi Logtail yang diterapkan pada kelompok mesin.
Deskripsi operasi
Host terdiri atas nama proyek dan titik akhir Simple Log Service. Anda harus menentukan proyek dalam 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 |
Informasi mengenai konfigurasi Logtail. |
||
| count |
integer |
Jumlah konfigurasi Logtail. |
2 |
| configs |
array |
Nama-nama konfigurasi Logtail. |
|
|
string |
Informasi mengenai konfigurasi Logtail. |
[ "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.