Azure credentials API - GET monitored services
Lists Azure services that are monitored by an Azure configuration.
The request produces an application/json
payload.
GET | ManagedDynatrace for Government | https://{your-domain}/e/{your-environment-id}/api/config/v1/azure/credentials/{id}/services |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/config/v1/azure/credentials/{id}/services | |
Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/config/v1/azure/credentials/{id}/services |
Authentication
To execute this request, you need an access token with ReadConfig
scope.
To learn how to obtain and use it, see Tokens and authentication.
Parameters
Parameter | Type | Description | In | Required |
---|---|---|---|---|
id | string | The ID of the required Azure credentials configuration. | path | required |
Response
Response codes
Code | Type | Description |
---|---|---|
200 | AzureMonitoredServicesDto | Success |
Response body objects
The AzureMonitoredServicesDto
object
Element | Type | Description |
---|---|---|
metadata | ConfigurationMetadata | Metadata useful for debugging |
services | AzureSupportingService[] | A list of Azure services to be monitored. Available services are listed by /azure/supportedServices operation. For each service, a list of metrics and dimensions can be specified. A list of supported metrics and dimensions for a given service can be checked in documentation. List of metrics can be skipped (set to null), resulting in recommended (default) set of metrics and dimensions being chosen for monitoring. For built-in services, adjusting the list of metrics is not supported, therefore it needs to be null. |
The ConfigurationMetadata
object
Metadata useful for debugging
Element | Type | Description |
---|---|---|
clusterVersion | string | Dynatrace version. |
configurationVersions | integer[] | A sorted list of the version numbers of the configuration. |
currentConfigurationVersions | string[] | A sorted list of version numbers of the configuration. |
The AzureSupportingService
object
A service to be monitored.
Element | Type | Description |
---|---|---|
monitoredMetrics | AzureMonitoredMetric[] | A list of metrics to be monitored for this service. It must include all the recommended metrics. If the list is null then recommended list of metrics for this service will be monitored. |
name | string | The name of the service. Valid supported service names can be discovered using /azure/supportedServices restAPI |
The AzureMonitoredMetric
object
A metric of service to be monitored.
Element | Type | Description |
---|---|---|
dimensions | string[] | A list of metric's dimensions names. It must include all the recommended dimensions. |
name | string | The name of the metric of the service. |
Response body JSON model
1{2 "metadata": {3 "clusterVersion": "1.192.1",4 "configurationVersions": [5 4,6 27 ],8 "currentConfigurationVersions": [9 "1.0.4",10 "1.23"11 ]12 },13 "services": [14 {15 "monitoredMetrics": [16 {17 "dimensions": [18 "string"19 ],20 "name": "string"21 }22 ],23 "name": "string"24 }25 ]26}