This API call retrieves a proxy configuration for a specific data center in premium high availability deployments.
To execute this request, you need the Service Provider API (ServiceProviderAPI
) permission assigned to your API token. Generate your API token via Cluster Management Console (CMC). To learn how to obtain and use it, see Cluster API - Authentication.
/api/v1.0/onpremise/proxy/configurations
Data Center
Proxy is not configured for given Data Center
InternetProxy
objectConfiguration of proxy server for Internet connection
Definition of hosts for which proxy won't be used.
Port of proxy server
Protocol which proxy server uses
Address (either IP or Hostname) of proxy server
Indicates if user/password for proxy is configured
{"nonProxyHosts": ["string"],"port": 1,"scheme": "string","server": "string","userOrPasswordDefined": true}
In this example, you request to receive proxy configurations for a specific data center (eu-west-1
). In return you receive JSON response listing of proxy configurations only for eu-west-1
.
curl -X GET "https://myManaged.cluster.com/api/v1.0/onpremise/proxy/configurations/eu-west-1" -H "accept: application/json"
https://myManaged.cluster.com/api/v1.0/onpremise/proxy/configurations/eu-west-1
{"scheme": "http","server": "outbound-proxy-dc1.dynatrace.com","port": 8080,"nonProxyHosts": ["https://mycompany.com/proxy/*","*.internal.lab.company.com"],"userOrPasswordDefined": true}
200