Resource Center/Network Resource/L2 Network Operations
GETL2 Network OperationsSince SynchronousAuth Required
QueryL2Network
QueryL2Network
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
This API requires no request parameters.
Responses
Endpoint
GET/zstack/v1/l2-networks
/zstack/v1/l2-networks
Request Example
curl -X GET 'http://{host}/zstack/v1/l2-networks' -H 'Authorization: OAuth {sessionUuid}'
Response Example
200{ "inventories": [ { "vlan": 10.0, "name": "Test-Net", "description": "Test", "zoneUuid": "a5af85a0db3a4433b58ff429eea1e9a3", "physicalInterface": "eth0", "type": "L2VlanNetwork" } ] }Change History
This API has no change history records yet.
