| Package | Description |
|---|---|
| com.vmware.vcloud.api.rest.client |
Contains necessary client(s) to facilitate API calls to vCloud Director
|
| Modifier and Type | Class and Description |
|---|---|
class |
VcdErrorResponseException
Exception for encapsulating errors returned by VCD as Jaxb
ErrorType object |
class |
VcdErrorResponseProcessingException
Exception to note that error returned by VCD cannot be processed.
|
| Modifier and Type | Method and Description |
|---|---|
protected VcdErrorException |
VcdClientImpl.makeException(javax.ws.rs.WebApplicationException webApplicationException) |
| Modifier and Type | Method and Description |
|---|---|
VcdClient |
VcdClientImpl.duplicate(boolean newSession) |
VcdClient |
VcdClient.duplicate(boolean newSession)
Creates a clone of current
VcdClient
The new client will communicate with the same vCD as this client and is initialized with same
credentials and CxfClientSecurityContext. |
<ContentsClass,ResponseClass> |
VcdClient.postResource(com.vmware.vcloud.api.rest.schema_v1_5.ResourceType resource,
RelationType rel,
String mediaType,
JAXBElement<ContentsClass> contents,
Class<ResponseClass> responseClass)
Posts the contents to the resource referenced by the link with the specified rel and
mediaType in the specified resource
|
<ContentsClass,ResponseClass> |
VcdClient.putResource(com.vmware.vcloud.api.rest.schema_v1_5.ResourceType resource,
RelationType rel,
String mediaType,
JAXBElement<ContentsClass> contents,
Class<ResponseClass> responseClass)
Puts the contents to the resource referenced by the link with the specified rel and
mediaType in the specified resource
|
javax.ws.rs.core.Response |
VcdClient.removeResource(com.vmware.vcloud.api.rest.schema_v1_5.ResourceType resource)
Deletes the resource described by the specified resource type.
|
Copyright © 2019 VMware. All rights reserved.