Help Center
Choose product document...
Veeam Availability Console 2.0 Update 1
RESTful API Reference

Get Network Settings

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

Request

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://<Availability-Console>:1281/v2/DiscoveryRules/{ID}/Networks

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 Success.

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 Availability 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.

Request:

GET https://localhost:1281/v2/DiscoveryRules/6/Networks

 

Request Header:

Authorization: Bearer <Access-Token>

 

Response Code:

200 Success

 

Response Body:

 {

   "name": "Production",

   "firstIp": "172.17.53.1",

   "lastIp": "172.17.53.50"

 }

Veeam Large Logo

Deployment Guide

Administrator Guide for Service Providers

User Guide for Service Providers

Quick Start Guide for Service Providers

Administrator Guide for Enterprises

User Guide for Enterprises

Quick Start Guide for Enterprises

RESTful API Reference