Memodifikasi mesin dalam kelompok mesin dengan menambahkan atau menghapus mesin dari kelompok tersebut.
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:UpdateMachineGroupMachine |
update |
*All Resource
|
|
None |
Sintaks permintaan
PUT /machinegroups/{machineGroup}/machines HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| machineGroup |
string |
Yes |
Nama kelompok mesin. |
test-group |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
Nama proyek. |
ali-test-project |
| body |
array |
Yes |
Mesin yang akan ditambahkan atau dihapus. |
|
|
string |
No |
ID mesin. Nilainya dapat berupa alamat IP atau ID kustom. |
192.168.xx.x |
|
| action |
string |
No |
Operasi pada mesin. Nilai yang valid: add dan delete. Nilai add menunjukkan penambahan mesin ke kelompok mesin. Nilai delete menunjukkan penghapusan mesin dari kelompok mesin. |
add |
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.