Memodifikasi mesin dalam grup mesin. Anda dapat menambahkan mesin ke atau menghapus mesin dari grup mesin.
Deskripsi operasi
Host terdiri dari nama proyek dan endpoint 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 grup 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 menentukan untuk menambahkan mesin ke grup mesin. Nilai delete menentukan untuk menghapus mesin dari grup 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.