Deployment API - View process module configuration for OneAgent
The request produces an application/json
payload.
GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v1/deployment/installer/agent/processmoduleconfig |
Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v1/deployment/installer/agent/processmoduleconfig |
Authentication
To execute this request, you need an access token with InstallerDownload
scope.
To learn how to obtain and use it, see Tokens and authentication.
Parameters
Parameter | Type | Description | In | Required |
---|---|---|---|---|
revision | integer | The previously received revision to compare against. | query | optional |
sections | string | A list of comma-separated section identifiers to retrieve values for. Supported sections are 'general' and 'agentType'. Defaults to 'general'. | query | optional |
hostgroup | string | The name of the host group the process is part of. | query | optional |
Response
Response codes
Code | Type | Description |
---|---|---|
200 | Agent | Success |
304 | - | Not modified. |
4XX | Error | Client side error. |
5XX | Error | Server side error. |
Response body objects
The AgentProcessModuleConfigResponse
object
The response to a process module config request.
Element | Type | Description |
---|---|---|
properties | Section | The properties and their sections in this response. |
revision | integer | The new revision associated with the config. |
The SectionProperty
object
A single agent property with it's associated section.
Element | Type | Description |
---|---|---|
key | string | The property key. |
section | string | The section this property belongs to. |
value | string | The property value. |
Response body JSON model
{"properties": [{"key": "dockerInjection","section": "general","value": "on"}],"revision": 64459404400310540}