5.5

Table Of Contents
<CertificateUpdateParams
fileSize="2048"
xmlns="http://www.vmware.com/vcloud/v1.5">
</CertificateUpdateParams>
The response contains an uploadLocation parameter whose value is a URL to which you can upload the
certificate.
Response:
<CertificateUploadSocket
xmlns="http://www.vmware.com/vcloud/v1.5"
uploadLocation="https://vcloud.example.com/transfer/53bc1/ldapCertificate">
<Task
...
status="running"
operation="Updating LDAP certificate Organization (7)"
...
</Task>
</CertificateUploadSocket>
To upload the certificate, make a PUT request to the uploadLocation URL and supply the certificate in the
request body.
Request:
PUT https://vcloud.example.com/transfer/53bc1/ldapCertificate
Content-length: 2048
...serialized contents of certificate...
EOF
Response:
200 OK
Retrieve the vSphere URL of an Object
If you know the VimObjectType and MoRef of an object represented in the vCloud API, you can use that
information to retrieve a URL that you can use to access the object with the vSphere Web Client.
Using the vSphere Web Client to examine an object vCloud Director uses can help a system administrator
diagnose problems with resource consumption and allocation. To retrieve the vSphere URL of an object, you
must construct a request URL in the following format.
API-URL/admin/extension/vimServer/id/vimObjType/vimObjMoref/vSphereWebClientUrl
n
API-URL is a URL of the form https://vcloud.example.com/api.
n
id is a unique identifier in the form of a UUID, as defined by RFC 4122. The vimServer object that has
this id must be the one that hosts the object that vimObjType and vimObjMoref identify.
n
vimObjType is the vSphere object type, expressed as one of the following strings:
n
CLUSTER_COMPUTE_RESOURCE
n
DATASTORE
n
DATASTORE_CLUSTER
n
DV_PORTGROUP
n
DV_SWITCH
n
FOLDER
Chapter 7 Managing and Monitoring a Cloud
VMware, Inc. 277