Get Filters
You can get a representation of discovery filters for a discovery rule with the specified ID.
Request
To get a resource representation of discovery filters, send GET HTTPS request to the URL of the /discoveryRules/{ID}/filters collection.
HTTPS Request
GET https://<Availability-Console>:1281/v2/discoveryRules/{ID}/filters |
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}/filters resource.
Example
The following request returns discovery filters for a rule with ID 4.
Request: GET https://localhost:1281/v2/discoveryRules/4/filters
Request Header: Authorization: Bearer <Access-Token>
Response Code: 200 Success
Response Body: [ { "backupExchange": true, "backupSql": true, "backupAD": true, "backupSharepoint": true, "backupOracle": true, "backupOtherapp": true, "status": "Enabled", "type": "Application" }, { "backupServers": true, "backupWorkstations": true, "status": "Enabled", "type": "Os" }, { "backupVirtualMachine": true, "backupPhysicalMachine": true, "backupOtherMachine": true, "backupAzureMachine": true, "backupAWSmachine": true, "status": "Enabled", "type": "Platform" } ] |