Get Company Network Extension Appliances

In this article

    You can get a representation of a collection of network extension appliances configured for a company with the specified ID.

    Request

    To get all network extension appliances, send the GET HTTPS request to the URL of the /tenants/{ID}/replicaResources/networkExtensionAppliance collection.

    HTTP Request

    GET https://<hostname>:1281/v2/tenants/{ID}/replicaResources/networkExtensionAppliance

    Request Headers

    The request header must contain the authorization token for the current logon session.

    Response

    The server returns the following response to the client.

    Response Code

    A successfully completed operation returns response code 200 OK.

    Response Headers

    The response to this request contains the following headers. The response may also include additional standard HTTP headers.

    Header

    Description

    Content-length

    The length of the response body.

    Content-type

    The media type and syntax of the request body message: application/json; charset=utf-8

    Response Body

    In the response body, Veeam Service Provider Console returns a representation of the /tenants/{ID}/replicaResources/networkExtensionAppliance collection.

    Example Get Company Network Extension Appliances

    The following request returns all network extension appliances configured for a company with ID 2.

    Request:

    GET https://localhost:1281/v2/tenants/2/replicaResources/networkExtensionAppliance

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    Response Code:

    200 Success

     

    Response Body:

    [

     {

       "id": "BackupTenantNetworkAppliance:bd96471c-70c6-4228-99a4-e55060ed07181332c8cc-c669-41a7-8d4d-a89a11c79083",

       "name": "Network Extension Appliance Alpha_1(esx02)",

       "hardwarePlanId": "64716b59-fde7-42a1-976c-737e78a694de"

       "hostName": "esx02.tech.local",

       "externalNetworkName": "VM Network",

       "dhcpEnabled": false,

       "ipAddress": "172.17.53.100",

       "subnetMask": "255.255.0.0",

       "defaultGateway": "255.255.0.0",

       "_links": {

         "self": {

           "href": "https://vac.tech.local:1281/v2/tenants/2/networkextensionAppliance/BackupTenantNetworkAppliance%3abd96471c-70c6-4228-99a4-e55060ed07181332c8cc-c669-41a7-8d4d-a89a11c79083"

         }

       }

     },

     {

       "id": "BackupTenantNetworkAppliance:57415c00-9614-4746-bf9b-d63cfede113ff19bf16c-f9c8-4560-8fce-a91b3f9ed5ce",

       "name": "Network Extension Appliance Alpha_2(esx02)",

       "hardwarePlanId": "64716b59-fde7-42a1-976c-737e78a694de"

       "hostName": "esx02.tech.local",

       "externalNetworkName": "VM Network",

       "dhcpEnabled": true,

       "_links": {

         "self": {

           "href": "https://vac.tech.local:1281/v2/tenants/2/networkextensionAppliance/BackupTenantNetworkAppliance%3a57415c00-9614-4746-bf9b-d63cfede113ff19bf16c-f9c8-4560-8fce-a91b3f9ed5ce"

         }

       }

     }

    ]