Get All Import-Based Discovery Rules for Windows
You can get a collection resource representation of all discovery rules for Microsoft Windows computers based on lists of IP addresses and DNS names.
To perform this task, a user must have one of the following roles assigned: Portal Administrator, Service Provider Global Administrator, Service Provider Administrator, Company Owner, Company Administrator.
To get a representation of all import-based discovery rules for Microsoft Windows computers, send the GET HTTP request to the URL of the /discovery/windows/rules/custom collection.
The request contains the following headers.
Authenticates a client who sends the request to the server. Must contain the access token for the current logon session in the Bearer <Access-Token> format.
Specifies a media type of representation that is required in the response message. If the requested type is not supported, the server will return the response in the application/json media type.
A list of parameters that are applicable for this operation:
Specifies the first N resources that must be returned in the output
Excludes the first N resources from the query output
The server returns the following response to the client.
A successfully completed operation returns response code 200 OK.
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
In the response body, Veeam Service Provider Console returns a collection resource representation based on the WindowsCustomDiscoveryRule schema.
The following request returns a representation of all import-based discovery rules for Microsoft Windows computers.
Authorization: Bearer <Access-Token>