Settings API - Http Requests for EdgeConnect schema table
Http Requests for EdgeConnect - DEPRECATED (builtin:dt-javascript-runtime.edge-http-targets)
This setting has been deprecated. Please use the EdgeConnect management app to manage your EdgeConnect configurations instead.
This setting is necessary, if you want to use automations and functions to execute http request to resources in private networks. If you assign an EdgeConnect to a certain hostname, calls to the 'fetch'-function in the dynatrace runtime to that hostname will be intercepted and executed from the EdgeConnect. The javascript code will behave as if the call was executed directly by the runtime.
Schema ID | Schema groups | Scope |
---|---|---|
builtin:dt-javascript-runtime.edge-http-targets |
| environment |
GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:dt-javascript-runtime.edge-http-targets |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:dt-javascript-runtime.edge-http-targets | |
Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:dt-javascript-runtime.edge-http-targets |
Authentication
To execute this request, you need an access token with Read settings (settings.read
) scope. To learn how to obtain and use it, see Tokens and authentication.
Parameters
Property | Label | Type | Description | Required |
---|---|---|---|---|
externalUrls | - | HostLocationMappings | - | required |
Request body objects
The HostLocationMapping
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
host | Host | text | Either 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. | required |
location | EdgeConnect name | text | - | required |
The HostLocationMappings
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
mappings | Host to EdgeConnect Mappings | set | Calls to the specified hosts will be executed by the specified EdgeConnect. | required |