Get All Networks

Get All Networks

Returns all virtual networks

Request
URI
GET
https://{api_host}/api/vmnet
COPY
Authentication
This operation uses the following authentication methods.
Responses
200

All virtual networks

Returns Networks of type(s) application/vnd.vmware.vmw.rest-v1+json
{
    "num": 0,
    "vmnets": [
        {
            "name": "string",
            "type": "string",
            "dhcp": "string",
            "subnet": "string",
            "mask": "string"
        }
    ]
}
num
Required

num

array of Network
vmnets
Required

The list of virtual networks


401

Authentication failed

Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
    "code": 0,
    "message": "string"
}
integer As int32 As int32
code
Required

code

string
message
Required

message


403

Permission denied

Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
    "code": 0,
    "message": "string"
}
integer As int32 As int32
code
Required

code

string
message
Required

message


500

Server error

Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
    "code": 0,
    "message": "string"
}
integer As int32 As int32
code
Required

code

string
message
Required

message


default

Unexpected error

Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
    "code": 0,
    "message": "string"
}
integer As int32 As int32
code
Required

code

string
message
Required

message