Install Agent Using POST

Install Agent Using POST

Install app monitoring agent on specified resource

Request
URI
POST
https://{api_host}/api/applications/agents
COPY
Request Body

Credentials of resources required to install the agent

resource-credentials of type(s) application/json
Required

Show optional properties

{
    "resourceCredentials": [
        {
            "password": "string",
            "resourceId": "string",
            "username": "string"
        }
    ]
}
{
    "resourceCredentials": [
        {
            "addRuntimeUser": false,
            "password": "string",
            "resourceId": "string",
            "username": "string"
        }
    ]
}
resourceCredentials
Required

List of resource credentials

Authentication
This operation uses the following authentication methods.
Responses
200

The result of task status

Returns agent-task-statuses of type(s) application/json
{
    "taskStatuses": [
        {
            "errorMessage": "string",
            "links": [
                {
                    "description": "string",
                    "href": "string",
                    "name": "string",
                    "rel": "string"
                }
            ],
            "resources": [
                "string"
            ],
            "taskID": "string"
        }
    ]
}
taskStatuses
Optional

taskStatuses