Obtient les informations sur un pare-feu VPC qui protège le trafic entre deux VPC connectés par un circuit Express Connect.
Description de l'opération
Cette opération interroge une liste paginée de pare-feu VPC. Ces pare-feu protègent le trafic entre deux VPC connectés à l'aide d'Express Connect.
Testez maintenant
Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale. Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale.
Test
Autorisation RAM
|
yundun-cloudfirewall:DescribeVpcFirewallList |
get |
*VpcFirewall
|
Aucune | Aucune |
Paramètres de requête
|
Paramètre |
Type |
Requis |
Description |
Exemple |
| Lang |
string |
Non |
La langue de la requête et de la réponse. Valeurs valides : |
zh |
| Lang |
string |
Non |
La langue de la requête et de la réponse. Valeurs valides : |
zh |
| RegionNo |
string |
Non |
L'identifiant de la région du VPC. |
cn-hangzhou |
| VpcId |
string |
Non |
L'identifiant de l'instance du VPC. |
vpc-8vbwbo90rq0anm6t**** |
| FirewallSwitchStatus |
string |
Non |
L'état du pare-feu VPC. Valeurs valides : |
opened |
| VpcFirewallId |
string |
Non |
L'identifiant de l'instance du pare-feu VPC. |
vfw-m5e7dbc4y**** |
| VpcFirewallName |
string |
Non |
Le nom de l'instance du pare-feu VPC. |
test-vpc-firewall |
| CurrentPage |
string |
Non |
Le numéro de page. |
1 |
| PageSize |
string |
Non |
Le nombre d'entrées par page. |
10 |
| MemberUid |
string |
Non |
L'UID du compte membre. |
258039427902**** |
| ConnectSubType |
string |
Non |
Le sous-type de la connexion. Valeurs valides : |
vpcpeer |
| PeerUid |
string |
Non |
L'UID du compte Alibaba Cloud auquel appartient le VPC pair. |
258039427902**** |
Éléments de réponse
|
Élément |
Type |
Description |
Exemple |
|
object |
La liste des pare-feu VPC. |
||
| TotalCount |
integer |
Le nombre total de pare-feu VPC. |
10 |
| RequestId |
string |
L'identifiant de la requête. |
850A84D6-0DE4-4797-A1E8-00090125k8g2 |
| VpcFirewalls |
array<object> |
Les détails des pare-feu VPC. |
|
|
array<object> |
Les détails des pare-feu VPC. |
||
| ConnectType |
string |
Le type de connexion pour le pare-feu VPC. La valeur est fixée à expressconnect, ce qui indique un circuit Express Connect. |
expressconnect |
| VpcFirewallId |
string |
L'identifiant de l'instance du pare-feu VPC. |
vfw-m5e7dbc4y**** |
| RegionStatus |
string |
L'état de la région. Valeurs valides : |
enable |
| Bandwidth |
integer |
La bande passante du circuit Express Connect. Unité : Mbps. |
2 |
| VpcFirewallName |
string |
Le nom de l'instance du pare-feu VPC. |
test-firewall |
| FirewallSwitchStatus |
string |
L'état du pare-feu VPC. Valeurs valides : |
opened |
| LocalVpc |
object |
Les détails du VPC local. |
|
| VpcName |
string |
The instance name of the local VPC. |
test-vpc1 |
| VpcId |
string |
The instance ID of the local VPC. |
vpc-8vbwbo90rq0anm6t**** |
| AuthorizationStatus |
string |
The authorization status of the local VPC. The value is fixed as authorized. |
authorized |
| OwnerId |
integer |
The UID of the Alibaba Cloud account to which the local VPC belongs. |
158039427902**** |
| RegionNo |
string |
The region ID of the local VPC. |
cn-hangzhou |
| VpcCidrTableList |
array<object> |
The CIDR blocks of the local VPC. |
|
|
array<object> |
The CIDR blocks of the local VPC. |
||
| RouteTableId |
string |
The ID of the route table for the local VPC. |
vtb-1234 |
| RouteEntryList |
array<object> |
The route entries of the local VPC. |
|
|
object |
The route entries of the local VPC. |
||
| NextHopInstanceId |
string |
The ID of the next hop instance for the local VPC. |
vrt-m5eb5me6c3l5sezae**** |
| DestinationCidr |
string |
The destination CIDR block of the local VPC. |
192.168.XX.XX/24 |
| PeerVpc |
object |
Les détails du VPC pair. |
|
| VpcName |
string |
The instance name of the peer VPC. |
test-vpc2 |
| VpcId |
string |
The instance ID of the peer VPC. |
vpc-8vbwbo90rq0anm6t**** |
| AuthorizationStatus |
string |
The authorization status of the peer VPC. The value is fixed as authorized. |
authorized |
| OwnerId |
integer |
The UID of the Alibaba Cloud account to which the peer VPC belongs. |
158039427902**** |
| RegionNo |
string |
The region ID of the peer VPC. |
cn-hangzhou |
| VpcCidrTableList |
array<object> |
The CIDR blocks of the peer VPC. |
|
|
array<object> |
The CIDR blocks of the peer VPC. |
||
| RouteTableId |
string |
The ID of the route table for the peer VPC. |
vtb-1256 |
| RouteEntryList |
array<object> |
The route entries of the peer VPC. |
|
|
object |
The route entries of the peer VPC. |
||
| NextHopInstanceId |
string |
The ID of the next hop instance for the peer VPC. |
vrt-m5eb5me6c3l5sezae**** |
| DestinationCidr |
string |
The destination CIDR block of the peer VPC. |
192.168.XX.XX/24 |
| IpsConfig |
object |
La configuration du système de prévention des intrusions (IPS). |
|
| BasicRules |
integer |
The status of the basic policies. Valid values:
|
1 |
| EnableAllPatch |
integer |
The status of virtual patching. Valid values:
|
1 |
| RunMode |
integer |
The IPS mode. Valid values:
|
0 |
| RuleClass |
integer |
The IPS rule group. Valid values:
|
1 |
| MemberUid |
string |
L'UID du compte membre. |
258039427902**** |
| ResultCode |
string |
Le code de résultat de la création du pare-feu VPC. Valeurs valides : |
Unauthorized |
| ConnectSubType |
string |
Le sous-type de la connexion. Valeurs valides : |
vpcpeer |
| AclConfig |
object |
Le mode du moteur de liste de contrôle d'accès (ACL). |
|
| StrictMode |
integer |
Indicates whether to enable strict mode. Valid values:
|
1 |
Exemples
JSON format
{
"TotalCount": 10,
"RequestId": "850A84D6-0DE4-4797-A1E8-00090125k8g2",
"VpcFirewalls": [
{
"ConnectType": "expressconnect",
"VpcFirewallId": "vfw-m5e7dbc4y****",
"RegionStatus": "enable",
"Bandwidth": 2,
"VpcFirewallName": "test-firewall",
"FirewallSwitchStatus": "opened",
"LocalVpc": {
"VpcName": "test-vpc1",
"VpcId": "vpc-8vbwbo90rq0anm6t****",
"AuthorizationStatus": "authorized",
"OwnerId": 0,
"RegionNo": "cn-hangzhou",
"VpcCidrTableList": [
{
"RouteTableId": "vtb-1234",
"RouteEntryList": [
{
"NextHopInstanceId": "vrt-m5eb5me6c3l5sezae****",
"DestinationCidr": "192.168.XX.XX/24"
}
]
}
]
},
"PeerVpc": {
"VpcName": "test-vpc2",
"VpcId": "vpc-8vbwbo90rq0anm6t****",
"AuthorizationStatus": "authorized",
"OwnerId": 0,
"RegionNo": "cn-hangzhou",
"VpcCidrTableList": [
{
"RouteTableId": "vtb-1256",
"RouteEntryList": [
{
"NextHopInstanceId": "vrt-m5eb5me6c3l5sezae****",
"DestinationCidr": "192.168.XX.XX/24"
}
]
}
]
},
"IpsConfig": {
"BasicRules": 1,
"EnableAllPatch": 1,
"RunMode": 0,
"RuleClass": 1
},
"MemberUid": "258039427902****",
"ResultCode": "Unauthorized",
"ConnectSubType": "vpcpeer",
"AclConfig": {
"StrictMode": 1
}
}
]
}
Codes d'erreur
|
Code de statut HTTP |
Code d'erreur |
Message d'erreur |
Description |
|---|---|---|---|
| 400 | ErrorDBSelectError | A database select error occurred. | The error message returned because an internal error has occurred in querying the database. |
| 400 | ErrorPageNo | Either page number or page size is invalid. | Either page number or page size is invalid. |
| 400 | ErrorUnmarshalJSON | An error occurred while parsing JSON. | An error occurred while decoding JSON. |
| 400 | ErrorAliUid | Aliuid invalid. | The aliuid is invalid. |
| 400 | ErrorFirewallStatus | Firewall status error, please try again later. | The status of the firewall is invalid. Try again later. |
Consultez Codes d'erreur pour la liste complète.
Notes de version
Consultez Notes de version pour la liste complète.