Mengkueri daftar kontrol akses (ACL) yang dibuat untuk gerbang privat.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eas:ListAclPolicy |
list |
*Gateway
|
None | None |
Sintaks permintaan
GET /api/v2/gateways/{ClusterId}/{GatewayId}/acl_policy HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
Wilayah tempat gerbang privat berada. |
cn-wulanchabu |
| GatewayId |
string |
Yes |
ID gerbang privat. Untuk mendapatkan ID gerbang privat, lihat parameter private_gateway_id pada parameter tanggapan operasi ListResources. |
gw-1uhcqmsc7x22****** |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| VpcId |
string |
No |
ID virtual private cloud (VPC). Untuk informasi lebih lanjut tentang cara mendapatkan ID VPC, lihat DescribeVpcs. |
vpc-uf66uio7md**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
40325405-579C-4D82**** |
| GatewayId |
string |
The private gateway ID. |
gw-1uhcqmsc7x22****** |
| InternetAclPolicyList |
array<object> |
The access control policies of the private gateway over the Internet. |
|
|
array<object> |
The access control policy of the private gateway over the Internet. |
||
| AclPolicyList |
array<object> |
The whitelisted IP CIDR blocks in the VPC that can access the private gateway over the Internet. |
|
|
object |
The information about the IP CIDR block in the VPC that can access the private gateway over the Internet. |
||
| Entry |
string |
The IP CIDR block in the VPC that can access the private gateway over the Internet. |
0.0.0.0/0 |
| Comment |
string |
The comment on the IP CIDR block in the VPC that can access the private gateway over the Internet. |
default |
| IntranetVpcAclPolicyList |
array<object> |
The access control policies of the private gateway over the internal network. |
|
|
array<object> |
The access control policy of the private gateway over the internal network. |
||
| VpcId |
string |
The VPC ID. For more information about how to obtain the VPC ID, see DescribeVpcs. |
vpc-uf66uio7md**** |
| AclPolicyList |
array<object> |
The whitelisted IP CIDR blocks in the VPC that can access the private gateway over the internal network. |
|
|
object |
The information about the IP CIDR block in the VPC that can access the private gateway over the internal network. |
||
| Entry |
string |
The IP CIDR block in the VPC that can access the private gateway over the internal network. |
0.0.0.0/0 |
| Comment |
string |
The comment on the IP CIDR block in the VPC that can access the private gateway over the internal network. |
default |
Contoh
Respons sukses
JSONformat
{
"RequestId": "40325405-579C-4D82****",
"GatewayId": "gw-1uhcqmsc7x22******",
"InternetAclPolicyList": [
{
"AclPolicyList": [
{
"Entry": "0.0.0.0/0",
"Comment": "default"
}
]
}
],
"IntranetVpcAclPolicyList": [
{
"VpcId": "vpc-uf66uio7md****",
"AclPolicyList": [
{
"Entry": "0.0.0.0/0\n",
"Comment": "default"
}
]
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.