Mengkueri informasi tentang grup keamanan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:ListSecurityGroup |
list |
*Gateway
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| GatewayUniqueId |
string |
Yes |
ID gerbang. |
gw-e98e40675aaf49bda082137d158e1585 |
| AcceptLanguage |
string |
No |
Bahasa tanggapan. Nilai valid:
|
zh |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The schema of the response. |
||
| RequestId |
string |
The ID of the request. |
316F5F64-F73D-42DC-8632-01E308B6**** |
| HttpStatusCode |
integer |
The HTTP status code returned. |
200 |
| Message |
string |
The message returned. |
success |
| Code |
integer |
The status code returned. |
200 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Data |
array<object> |
The data structure. |
|
|
object |
The data of the node. |
||
| SecurityGroupId |
string |
The ID of the security group. |
sg-8vb8gsmrqyc35k645rk6 |
| SecurityGroupName |
string |
The name of the security group. |
sg2 |
| VpcId |
string |
The ID of the virtual private cloud (VPC). |
vpc-bp1b |
| SecurityGroupType |
string |
The type of the security group. Valid values:
|
enterprise |
Contoh
Respons sukses
JSONformat
{
"RequestId": "316F5F64-F73D-42DC-8632-01E308B6****",
"HttpStatusCode": 200,
"Message": "success",
"Code": 200,
"Success": true,
"Data": [
{
"SecurityGroupId": "sg-8vb8gsmrqyc35k645rk6",
"SecurityGroupName": "sg2",
"VpcId": "vpc-bp1b",
"SecurityGroupType": "enterprise"
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
| 400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
| 500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | You do not have the permission to use this interface:%s |
| 404 | NotFound | Not found:%s | The resource does not exist:%s |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.