Mengonfigurasi grup keamanan yang mengontrol lalu lintas jaringan arah masuk dan arah keluar untuk instans Host Bastion.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-bastionhost:ConfigInstanceSecurityGroups |
none |
*Instance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
Bahasa permintaan dan tanggapan. Nilai default adalah zh. Nilai valid:
|
zh |
| InstanceId |
string |
Yes |
ID instans Host Bastion. Catatan
Anda dapat memanggil operasi DescribeInstances untuk mendapatkan ID instans. |
bastionhost-cn-78v1gh**** |
| RegionId |
string |
No |
ID Wilayah instans Host Bastion. |
cn-hangzhou |
| AuthorizedSecurityGroups |
array |
Yes |
Daftar ID grup keamanan yang diotorisasi. |
sg-bp14u00sh39jvw5**** |
|
string |
No |
The ID of the authorized security group. You can specify up to 100 security group IDs. |
2 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| InstanceId |
string |
The ID of the Bastionhost instance for which the security groups are configured. |
bastionhost-cn-78v1gh**** |
| RequestId |
string |
The ID of the request. This is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot and locate issues. |
0ECCC399-4D35-48A7-8379-5C6180E66235 |
Contoh
Respons sukses
JSONformat
{
"InstanceId": "bastionhost-cn-78v1gh****",
"RequestId": "0ECCC399-4D35-48A7-8379-5C6180E66235"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.