[{"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
DescriptionGets the tenant-specific .pac file listing proxies accessible to the tenant.
Request
URLURL
https://{api_host}/cloudapi/1.0.0/sddcProxiesPac/{id}
Path Parameters
Path Parameters
string
id
Required
identifier for the pac file configured for your organization
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
string
formatted as binary
of type(s) application/x-ns-proxy-autoconfig;version=36.3
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
Operation doesn't return any data structure.
No error details were provided in the OpenAPI specification.
Code SamplesCode 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
Proxy Operations
post
delete
get
get
get
put
put