[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"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 Proxies Pac File For Tenant

Description

Gets the tenant-specific .pac file listing proxies accessible to the tenant.

Request

Request

URL

URL


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

Path Parameters

Path Parameters

string
id Required

identifier for the pac file configured for your organization


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns string formatted as binary of type(s) application/x-ns-proxy-autoconfig;version=37.2

a PAC file

"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/{id}


[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"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?