Install Data Collection Agent (PUT)

 

Published: July 13, 2016

Updated: July 12, 2016

Install a security data collection agent on a VM to monitor the security status on the VM and collect data from it.

Method

Request Uri

PUT

https://<endpoint>/subscriptions/{id}/resourceGroups/{rg}/providers/microsoft.{Compute|ClassicCompute}/{vm-name}/providers/microsoft.Security/dataCollectionAgents/{vm-name}?api-version={api-version}

Parameter

Description

subscriptionId

Specifies the subscription Id

resource group

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

api-version

The version of the Security RP protocol used for this request

Common request headers only.

If successful, the operation returns HTTP status code of 202 (ACCEPTED).

Show: