Get Data Collection Results for VM in a single scenario (GET)
Updated: July 12, 2016
**This API has been deprecated. **
Returns the data collection results for a single collection scenario (Patch / Baseline / Antimalware)
Request
Method | Request Uri |
---|---|
GET | https://<endpoint>/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/microsoft.{Compute|ClassicCompute}/virtualMachines/{vm-name}/providers/microsoft.Security/dataCollectionResults/{patch|baseline|antimalware}?api-version={api-version} |
Request Uri Parameters
Parameter | Description |
---|---|
subscriptionId | Specifies the subscription Id |
resourceGroup | Specifies the resource group that the requested VM is a member of |
vm-name | Specifies the name of the virtual machine (VM) for which to retrieve data for |
Compute|ClassicCompute | Specifies type of Compute resource (VM) to retrieve. Compute is for VMs created with the new ARM interface and ClassicCompute is for VMs created with the original RDFE interface |
Patch | Baseline | Antimalware | The requested data collection scenario |
Api-version | The version of the Security RP protocol used for this request |
Request Headers
Common request headers only.
Request body
None.
Response
Status code
If successful, the operation returns HTTP status code of 200 (OK).
Response body
{
"value":
// Patch results for the VM
{
"id": "/subscriptions/{id}/resourceGroups/{rg}/providers/Microsoft.ClassicCompute/virtualMachines/{vm-name}/providers/Microsoft.Security/dataCollectionResults/patch",
"name": "patch",
"type": "Microsoft.Security/dataCollectionResults",
"properties": { }
}
}
See Also
Security Resource Provider REST API Reference
Data Collection Results (Extension resource)