List EdgeConnects in Dynatrace with the EdgeConnect API, using filters, paging, and optional extra fields to refine the returned configurations.
| GET | SaaS | https://{your-environment-id}.apps.dynatrace.com/v1/edge-connects |
You use the filter, page, page-size, and add-fields query parameters to control which EdgeConnect configurations appear and how much detail you receive. The response returns a list of all EdgeConnects.
To execute this request, you need a platform token or OAuth access token with app-engine:edge-connects:read scope. To learn how to obtain and use it, see Tokens and authentication.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| add-fields | string | Provide a comma separated list of additional properties to be included in the response. | query | Optional |
| filter | string | The filter parameter for filtering the set of returned resources If this parameter is omitted, no filtering is applied and all states will be returned. Filtering by string type parameters When using the operators The following fields are legal filtering parameters - any other field names will result in a HTTP 400 response:
The following constraints apply:
Examples:
| query | Optional |
| page | integer | The index of the page to return. The first page will be returned if this parameters isn't specified. | query | Optional |
| page-size | integer | The number of resources to return in a single request. 1000 by default. | query | Optional |
| Code | Type | Description |
|---|---|---|
| 200 | Edge | A list of all EdgeConnects |
| default | - | - |
EdgeConnects object| Element | Type | Description |
|---|---|---|
| edgeConnects | Edge | - |
| totalCount | integer | Total number of currently configured EdgeConnects |
EdgeConnect objectMaps the specified host patterns to this EdgeConnect
| Element | Type | Description |
|---|---|---|
| id | string | - |
| name | Edge | - |
| hostPatterns | Host | - |
| hostMappings | Host | - |
| oauthClientId | string | Id of OAuth client used to connect by the EdgeConnect |
| oauthClientSecret | string | Secret of OAuth client used to connect by the EdgeConnect. Only provided when creating a new EdgeConnect. |
| oauthClientResource | string | Resource of OAuth client used to connect by the EdgeConnect. Only provided when creating a new EdgeConnect. |
| modificationInfo | Modification | - |
| metadata | Metadata | - |
| managedByDynatraceOperator | boolean | Flag to identify if an EdgeConnect is managed by the Dynatrace operator. False by default! |
EdgeConnectName objectHostPattern objectEither an IP, or a domain name which may contain a wildcard ('') as the leftmost label. If a '' is used, it must be followed by at least two labels.
HostMapping objectTodo
| Element | Type | Description |
|---|---|---|
| from | string | - |
| to | string | - |
ModificationInfo object| Element | Type | Description |
|---|---|---|
| lastModifiedBy | string | - |
| lastModifiedTime | string | - |
Metadata object| Element | Type | Description |
|---|---|---|
| instances | Edge | - |
| oauthClientStatus | string | The status of the OAuth client The element can hold these values
|
EdgeConnectInstance object| Element | Type | Description |
|---|---|---|
| version | string | - |
| instanceId | string | - |
{"edgeConnects": [{"id": "11111111-2222-4444-3333-555555555555","name": "internal-services","hostPatterns": ["*.internal.org"],"hostMappings": [{"from": "test.local","to": "kubernetes.my.cluster.local"}],"oauthClientId": "dt0s02.AIOUP56P","oauthClientSecret": "dt0s02.AIOUP56P.5ODBJEQYBA4KLD2F6F6EHQZKYK5Q45RARKVCHICXKLMAXVVLIH2L6N5RLMDDY4QA","oauthClientResource": "urn:dtenvironment:wu31a2p3","modificationInfo": {"lastModifiedBy": "12345678-abcd-efgh-1234-123456789","lastModifiedTime": "2022-01-01T01:02:03.165Z"},"metadata": {"instances": [{"version": "1.46.2","instanceId": "string"}],"oauthClientStatus": "ACTIVE"},"managedByDynatraceOperator": false}],"totalCount": 1}