Memindahkan beberapa host ke domain jaringan tertentu.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-bastionhost:MoveHostsToNetworkDomain |
update |
*Instans.
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans Host Bastion. Catatan
Anda dapat memanggil operasi DescribeInstances untuk mengkueri nilai parameter. |
bastionhost-cn-uax2zmx8005 |
| RegionId |
string |
No |
ID wilayah instans Host Bastion. Catatan
Untuk informasi lebih lanjut mengenai pemetaan antara ID wilayah dan nama wilayah, lihat Wilayah dan zona. |
cn-hangzhou |
| NetworkDomainId |
string |
Yes |
ID domain jaringan tujuan. Catatan
Anda dapat memanggil operasi ListNetworkDomains untuk mengkueri nilai parameter. |
2 |
| HostIds |
array |
No |
ID host yang akan dipindahkan ke domain jaringan. |
|
|
string |
No |
ID host. Catatan
Anda dapat memanggil operasi ListHosts untuk mengkueri nilai parameter. |
1,2 |
|
| ProjectId |
integer |
No |
ID proyek. |
3 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
F9B9E190-9C8E-5FEE-B963-7E9F1FD7FB4E |
| Results |
array<object> |
Hasil operasi. |
|
|
object |
|||
| Code |
string |
Hasil operasi. Catatan
LICENSE_OUT_OF_LIMIT menunjukkan bahwa fitur domain jaringan tidak diaktifkan untuk edisi saat ini. |
OK |
| HostId |
string |
ID host. |
1 |
| Message |
string |
Paket error. |
None |
Contoh
Respons sukses
JSONformat
{
"RequestId": "F9B9E190-9C8E-5FEE-B963-7E9F1FD7FB4E",
"Results": [
{
"Code": "OK",
"HostId": "1",
"Message": "None"
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The argument is invalid. | |
| 500 | InternalError | An unknown error occurred. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.