Extensions 2.0 API - GET a monitoring configuration
Gets the monitoring configuration of the specified Extensions 2.0 extension.
The request produces an application/json
payload.
GET | ManagedDynatrace for Government | https://{your-domain}/e/{your-environment-id}/api/v2/extensions/{extensionName}/monitoringConfigurations/{configurationId} |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/extensions/{extensionName}/monitoringConfigurations/{configurationId} | |
Environment and Cluster ActiveGate (default port 9999) | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/extensions/{extensionName}/monitoringConfigurations/{configurationId} |
Authentication
To execute this request, you need an access token with extensionConfigurations.read
scope.
To learn how to obtain and use it, see Tokens and authentication.
Parameters
Parameter | Type | Description | In | Required |
---|---|---|---|---|
extensionName | string | The name of the requested extension 2.0. | path | required |
configurationId | string | The ID of the requested monitoring configuration. | path | required |
Response
Response codes
Code | Type | Description |
---|---|---|
200 | ExtensionMonitoringConfiguration | Success |
404 | ErrorEnvelope | Failed. The requested resource doesn't exist. |
Response body objects
The ExtensionMonitoringConfiguration
object
Element | Type | Description |
---|---|---|
objectId | string | Configuration id |
scope | string | Configuration scope |
value | object | Configuration |
Response body JSON model
1{2 "objectId": "string",3 "scope": "string",4 "value": {}5}