Mengkueri grup keamanan yang ditambahkan ke daftar putih instans ApsaraDB for Tair (kompatibel dengan Redis).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:DescribeSecurityGroupConfiguration |
get |
*dbinstance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans. |
r-bp1zxszhcgatnx**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
981C0D6A-D9DD-466C-92DA-F29DF755**** |
| Items |
object |
||
| EcsSecurityGroupRelation |
array<object> |
Daftar grup keamanan. |
|
|
object |
Daftar grup keamanan. |
||
| SecurityGroupId |
string |
The ID of the security group. |
sg-bp14p9y07ns3gwq**** |
| RegionId |
string |
The ID of the region where the instance is deployed. |
cn-hangzhou |
| NetType |
string |
The network type of the security group. Valid values:
|
vpc |
Contoh
Respons sukses
JSONformat
{
"RequestId": "981C0D6A-D9DD-466C-92DA-F29DF755****",
"Items": {
"EcsSecurityGroupRelation": [
{
"SecurityGroupId": "sg-bp14p9y07ns3gwq****",
"RegionId": "cn-hangzhou",
"NetType": "vpc"
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidInstanceId.NotFound | The InstanceId provided does not exist in our records. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.