[{"label":"Latest (v37.0)","version":"latest"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director

Get SDDC Proxies Pac File

Description

Gets the .pac file for the user’s accessible proxies.

Request

Request

URL

URL


get
https://{api_host}/cloudapi/1.0.0/sddcProxiesPac
Copy

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns string of type(s) application/x-ns-proxy-autoconfig;version=37.0
"function FindProxyForURL(url, host) { var proxiedHosts = []; proxiedHosts.push(\"sampleVc.vmware.com\"); if (proxiedHosts.includes(host)) { return \"HTTPS sampleVCDHost:8443\"; } else { return \"DIRECT\"; } }"

204 No Content

no proxies configured

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl https://{api_host}/cloudapi/1.0.0/sddcProxiesPac


[{"label":"Latest (v37.0)","version":"latest"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Feedback

Was this page helpful?