forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: guoyanyan <guoyanyan3@huawei.com> Co-committed-by: guoyanyan <guoyanyan3@huawei.com>
14 KiB
14 KiB
Response Parameters for Querying VPCs
Response parameters are as follows.
Parameter description
Parameter |
Type |
Description |
---|---|---|
vpcs |
Array of vpcs objects |
Specifies the VPCs. |
Descriptions of vpcs fields
Parameter |
Type |
Description |
---|---|---|
id |
String |
Specifies a resource ID in UUID format. |
name |
String |
|
description |
String |
|
cidr |
String |
|
status |
String |
|
routes |
Array of route objects |
|
enable_shared_snat |
Boolean |
Specifies whether the shared SNAT function is enabled. The value true indicates that the function is enabled, and the value false indicates that the function is not enabled. |
Description of the route field
Name |
Type |
Description |
---|---|---|
destination |
String |
|
nexthop |
String |
|
Example response
{ "vpc": { "id": "99d9d709-8478-4b46-9f3f-2206b1023fd3", "name": "vpc", "description": "test", "cidr": "192.168.0.0/16", "status": "CREATING", "enterprise_project_id": "0aad99bc-f5f6-4f78-8404-c598d76b0ed2", "routes": [] } }
Parent topic: Appendix