Membuat kelompok mesin.
Deskripsi operasi
Catatan Penggunaan
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:CreateMachineGroup |
create |
*Project
|
|
None |
Sintaks permintaan
POST /machinegroups HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
Nama proyek. |
ali-test-project |
| body |
object |
Yes |
Informasi mengenai kelompok mesin. |
ali-test-project |
| groupName |
string |
Yes |
Nama kelompok mesin. Nama tersebut harus memenuhi persyaratan berikut:
|
test-machine-group |
| machineIdentifyType |
string |
Yes |
Tipe pengenal kelompok mesin. Nilai yang valid:
|
ip |
| groupType |
string |
No |
Tipe kelompok mesin. Parameter ini dapat dikosongkan. |
"" |
| groupAttribute |
object |
No |
Atribut kelompok mesin. |
|
| groupTopic |
string |
No |
Topik log kelompok mesin. |
testtopic |
| externalName |
string |
No |
Pengenal sistem manajemen eksternal tempat kelompok mesin bergantung. |
testgroup |
| machineList |
array |
Yes |
Pengenal kelompok mesin.
|
|
|
string |
No |
Pengenal mesin. Masukkan alamat IP atau pengenal kustom sesuai dengan tipe kelompok mesin. |
192.168.XX.XX |
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.