List Network Interface Cards

List Network Interface Cards

If the base VM and snapshot are specified, then the NICs present on the given snapshot are listed.
If the template is specified then the NICs present on the given template are listed.
If only base VM is specified then the NICs present on the given base VM are listed.
At least one of the listed privileges is required -

Privileges Description
GLOBAL_CONFIG_VIEW Caller should have permission to this privilege, to perform this operation.
VC_CONFIG_VIEW Caller should have permission to this privilege, to perform this operation.
Request
URI
GET
https://{api_host}/rest/external/v1/network-interface-cards
COPY
Query Parameters
string
vcenter_id
Required

Virtual Center ID

string
base_vm_id
Optional

Base VM ID

string
base_snapshot_id
Optional

Base Snapshot ID

string
vm_template_id
Optional

VM Template ID


Authentication
This operation uses the following authentication methods.
Responses
200

OK

[
    {
        "id": "74390016-2dea-4b8c-8181-385783effaeb",
        "mac_address": "00:50:56:a6:62:ac",
        "name": "Network adapter 1"
    }
]

401

User is not authenticated

Operation doesn't return any data structure

403

Access to the resource is forbidden

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure