Get Network Settings

In this article

    You can get a representation of network settings of a discovery rule with the specified ID.


    To get network settings of a discovery rule, send the GET HTTPS request to the URL of the /discoveryRules/{ID}/networks  resource.

    HTTPS Request

    GET https://<hostname>:1281/v2/discoveryRules/{ID}/networks

    Request Headers

    The request header must contain the authorization token.


    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.




    The length of the response body.


    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 /discoveryRules/{ID}/networks resource.

    Example Get Network Settings

    The following request returns a representation of network settings for a discovery rule with ID 6.


    GET https://localhost:1281/v2/discoveryRules/6/networks


    Request Header:

    Authorization: Bearer <Access-Token>


    Response Code:

    200 Success


    Response Body:


       "name": "Production",

       "firstIp": "",

       "lastIp": ""