Lists all available hosts that run the specified technology.
The request produces an application/json
payload.
GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/config/v1/extensions/{technology}/availableHosts |
Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/config/v1/extensions/{technology}/availableHosts |
To execute this request, you need an access token with ReadConfig
scope.
To learn how to obtain and use it, see Tokens and authentication.
Parameter | Type | Description | In | Required |
---|---|---|---|---|
technology | string | Name of requested technology
| path | required |
tag | string[] | Filters the resulting set of hosts by the specified tag. You can specify several tags in the following format: | query | optional |
managementZone | integer | Only return hosts that are part of the specified management zone. | query | optional |
hostGroupId | string | Filters the resulting set of hosts by the specified host group. Specify the Dynatrace IDs of the host group you're interested in. | query | optional |
hostGroupName | string | Filters the resulting set of hosts by the specified host group. Specify the name of the host group you're interested in. | query | optional |
pageSize | integer | The number of results per result page. Must be between 1 and 500 | query | optional |
nextPageKey | string | The cursor for the next page of results. | query | optional |
Code | Type | Description |
---|---|---|
200 | Host | Success |
HostList
objectThe list of hosts supported by extension.
Element | Type | Description |
---|---|---|
hosts | Host[] | The list of hosts |
nextPageKey | string | Next page key used for paging |
totalResults | integer | Total number of results |
Host
objectHost details. Contains ID, name, host group, and tags.
Element | Type | Description |
---|---|---|
hostGroup | Host | Host group to which the host belongs. |
id | string | The ID of the host |
managementZones | Entity | A list of management zones to which the host belongs. |
name | string | The name of the host |
tags | Tag | A list of tags of the host. |
HostGroup
objectHost group to which the host belongs.
Element | Type | Description |
---|---|---|
meId | string | The Dynatrace entity ID of the host group. |
name | string | The name of the Dynatrace entity, displayed in the UI. |
EntityShortRepresentation
objectThe short representation of a Dynatrace entity.
Element | Type | Description |
---|---|---|
description | string | A short description of the Dynatrace entity. |
id | string | The ID of the Dynatrace entity. |
name | string | The name of the Dynatrace entity. |
TagInfo
objectTag of a Dynatrace entity.
Element | Type | Description |
---|---|---|
context | string | The origin of the tag, such as AWS or Cloud Foundry. Custom tags use the
|
key | string | The key of the tag. Custom tags have the tag value here. |
value | string | The value of the tag. Not applicable to custom tags. |
{"hosts": [{"hostGroup": {"meId": "HOST_GROUP-CF1DA380B3A53F17","name": "example host group"},"id": "HOST-0000000000000000","managementZones": [{"id": "000000000000000000","name": "example zone"}],"name": "example host","tags": ["tagA","tagB"]}],"nextPageKey": "string","totalResults": 1}