Consulte les relations entre les instances réseau.
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:DescribeNetworkInstanceRelationList |
get |
*All Resource
|
Aucune | Aucune |
Paramètres de requête
|
Paramètre |
Type |
Requis |
Description |
Exemple |
| Lang |
string |
Non |
La langue de la réponse. Valeurs valides :
|
zh |
| Lang |
string |
Non |
La langue de la réponse. Valeurs valides :
|
zh |
| ConnectType |
string |
Non |
Le type de connexion. Valeurs valides :
|
cen |
| FirewallConfigureStatus |
string |
Non |
L'état de configuration de Cloud Firewall. Valeurs valides :
|
notconfigured |
| NetworkInstanceId |
string |
Non |
L'identifiant de l'instance réseau locale. |
vpc-2vcwkr**** |
| PeerNetworkInstanceId |
string |
Non |
L'identifiant de l'instance réseau homologue. |
vpc-dsf232d**** |
Éléments de réponse
|
Élément |
Type |
Description |
Exemple |
|
object |
|||
| TotalCount |
integer |
Le nombre total d'entrées. |
12 |
| RequestId |
string |
L'identifiant de la requête. |
284FF89D-4F70-546F-8EF6-77E0A530**** |
| NetworkInstanceList |
array<object> |
Les informations sur les instances réseau. |
|
|
array<object> |
Les informations sur l'instance réseau. |
||
| ConnectType |
string |
Le type de connexion. Valeurs valides :
|
cen |
| NetworkInstanceName |
string |
Le nom de l'instance réseau. |
vpc-test |
| NetworkInstanceId |
string |
L'identifiant de l'instance réseau. |
vpc-2vcwfqbrh4kr**** |
| RegionNo |
string |
L'identifiant de la région. |
cn-shanghai |
| NetworkInstanceType |
string |
Le type de l'instance réseau. Valeurs valides :
|
VPC |
| PeerNetworkInstanceList |
array<object> |
La liste des instances réseau homologues. |
|
|
array<object> |
L'instance réseau homologue. |
||
| NetworkInstanceId |
string |
The ID of the network instance. |
vpc-dsf232d**** |
| NetworkInstanceName |
string |
The name of the network instance. |
vpc-test |
| RegionNo |
string |
The region. |
cn-shenzhen |
| NetworkInstanceType |
string |
The type of the network instance. Valeurs valides :
|
vpc |
| AssociatedCen |
array<object> |
The associated CEN instance. |
|
|
object |
The associated CEN instance. |
||
| CenId |
string |
The ID of the CEN instance. |
cen-sdij1*** |
| CenName |
string |
The name of the CEN instance. |
test |
| TransitRouterType |
string |
The version of the transit router. Valid values:
|
Enterprise |
| AttachmentId |
string |
The ID of the network instance connection. |
tr-attach-b9dyqn*** |
| AttachmentName |
string |
The name of the network instance connection. |
att-test2 |
| AssociatedCen |
array<object> |
L'instance CEN associée. |
|
|
object |
L'instance CEN associée. |
||
| CenId |
string |
The ID of the CEN instance. |
cen-sdij1*** |
| CenName |
string |
The name of the CEN instance. |
test |
| TransitRouterType |
string |
The type of the transit router. Valid values:
|
Enterprise |
| AttachmentId |
string |
The ID of the network instance connection. |
tr-attach-b92yqn*** |
| AttachmentName |
string |
The name of the network instance connection. |
att-test1 |
Exemples
JSON format
{
"TotalCount": 12,
"RequestId": "284FF89D-4F70-546F-8EF6-77E0A530****",
"NetworkInstanceList": [
{
"ConnectType": "cen",
"NetworkInstanceName": "vpc-test",
"NetworkInstanceId": "vpc-2vcwfqbrh4kr****",
"RegionNo": "cn-shanghai",
"NetworkInstanceType": "VPC",
"PeerNetworkInstanceList": [
{
"NetworkInstanceId": "vpc-dsf232d****",
"NetworkInstanceName": "vpc-test",
"RegionNo": "cn-shenzhen",
"NetworkInstanceType": "vpc",
"AssociatedCen": [
{
"CenId": "cen-sdij1***",
"CenName": "test",
"TransitRouterType": "Enterprise",
"AttachmentId": "tr-attach-b9dyqn***",
"AttachmentName": "att-test2"
}
]
}
],
"AssociatedCen": [
{
"CenId": "cen-sdij1***",
"CenName": "test",
"TransitRouterType": "Enterprise",
"AttachmentId": "tr-attach-b92yqn***",
"AttachmentName": "att-test1"
}
]
}
]
}
Codes d'erreur
|
Code de statut HTTP |
Code d'erreur |
Message d'erreur |
Description |
|---|---|---|---|
| 400 | ErrorAliUid | Aliuid invalid. | The aliuid is invalid. |
| 400 | ErrorDBSelectError | A database select error occurred. | The error message returned because an internal error has occurred in querying the database. |
| 400 | ErrorInvalidMemberUid | Member uid is invalid | The member is invalid. |
| 400 | ErrorConfigureStatus | firewall configure status invalid. | Firewall status parameter error, please re-select. |
| 400 | ErrorConnectType | Connect type invalid. | Incorrect selection of interworking type. Please select again. |
| 400 | ErrorNetworkInstanceIdBothEmpty | The parameters NetworkInstanceId and PeerNetworkInstanceId must be both empty or neither empty. | The parameters NetworkInstanceId and PeerNetworkInstanceId must be both empty or neither empty. |
| 400 | ErrorNetworkInstanceIdSame | The NetworkInstanceId and PeerNetworkInstanceId parameters cannot be the same. | Parameter NetworkInstanceId and PeerNetworkInstanceId cannot be the same |
Consultez Codes d'erreur pour la liste complète.
Notes de version
Consultez Notes de version pour la liste complète.