Quantcast
Channel: VMware Communities : Discussion List - VMware vCloud SDK for Java
Browsing all 144 articles
Browse latest View live

Add new hard disk while composing vApp.

Hi All, Is it possible to add a new hard disk to the VM while composing a Vapp using a vappTemplate?  I have tried adding the VirtualHardwareSection in the InstantiationParams of the VM as below. I get...

View Article


How to get Org as well as vDC infrastructure details using vCloud java SDK 1.5

Hi Folks, I am trying to get infrastructure capacity including Storage, CPU, RAM using vCloud java SDK 1.5. This should be @ Org as well as vDC level. I am able to get infrastructure details @ VM...

View Article


exception in HellovCloud

I am new to VMWARE,when i try to run HellovCloud, there always an Exception  :  Exception in thread "main" com.vmware.vcloud.sdk.VCloudRuntimeException: com.vmware.vcloud.sdk.VCloudRuntimeException:...

View Article

x-vcloud-authorization token via login sdk.

Hi All, Is there a way to get the x-vcloud-authorization header using the login Java SDK (vcloudClient.login(username,password)) ? Thanks,Deepak

View Article

How to get Internal IP and External IP of a Org.

Hi All, How to get the External IP and Internal IP of a Organization using vCloud SDK for JAVA. and Total number of IP's exist Thanks

View Article


Redirect API logging

Hi, Currently, the API seems to only log messages to the console. For my application this isn't practical - are there any settings I can change to redirect the output to my own logging framework?

View Article

Image may be NSFW.
Clik here to view.

How to maintain session

Hi, Newbie to vCloud SDK for Java (1.5) I am able to login vCD using Org/Admin level credentials , my requirement is to maintain the session. Is there any way to maintain the session or to get session id.

View Article

vCloud SDK redistributables

Hello, In the Redistributable and Modifiable files section it is mentioned: vcloud‐java‐sdk‐1.5.0.jar, rest‐api‐schemas‐1.5.0.jarHowever, in the SDK for 5.1 the name of these files is:...

View Article


javax.net.ssl.SSLPeerUnverifiedException with proxy

Dear all, I get a SSLPeerUnverifiedException when tyring to login (from one of the samples): javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated    at...

View Article


How to build Java bindings for the 5.1 vCloud API via JAXB?

How to build Java bindings for the 5.1 vCloud API via JAXB? There is an excellent thread on HOWTO: Build Java bindings for the vCloud API via JAXB at http://communities.vmware.com/thread/327055.The...

View Article

Add vApp to Catalog - Customize VM settings

I've been able to figure out how to add a vApp as a template into a catalog, but when I do, it defaults to "Make identical copy." I'd like to set it as "Customize VM settings," but when I tried to...

View Article

How to get user with their respective role

Hi,  I want to get role of user by which I login. I tried below sample code it shows all the roles at system level for (ReferenceType roleRef : vcloudClient.getVcloudAdmin().getRoleRefs()) {...

View Article

Snapshot size of VM

Dear All, I want to know the snapshot size of a vm in datastore.Please hep me out on this.  ThanksMahesh

View Article


Rename / Name VM at Compose / Recompose Time

Is it possible to specify a name for a VM at the time of specifying it as a source for a vApp composition or recomposition? I am trying to add multiple copies of the same VM to a vApp, each with known,...

View Article

Leor Zahavi- Wants to know all about VMware vCloud SDK for Java

Hi! Myself Leor Zahavi, really interested to know all the functionality and usage of VMware vCloud SDK for Java. I read a couple of articles but didn’t understand very well. If possible provide some...

View Article


"Other attributes" field in vCloud entity

Hello,    Suppose I execute the following piece of code :      com.vmware.vcloud.sdk.admin.ExternalNetwork vcloudExternalNetwork =...

View Article

How to get static routing details

Hi,    I am trying to get static routing details programatically( Name , Network , Next Hop IP , Route ).Pls find attachment.   Below is sample code I am trying.   Not sure which methods will give me...

View Article


Get No. of vAPPS deployed in a day and time taken for provisioning each of them

I want to pull below two statistics information from the vCD: Number of VM’s (or vAPPs for that sake) provisioned in a dayTime taken for provisioning each of these vAPP. I am using the vCloud Java SDK...

View Article

Cloning a VM using Cloud Director/VMWare SDK 5.1

I am probably missing something obvious, but how can I clone a VM (can do VApps and Templates, etc.) [NOT using vSphere APIs], whether to the same VDC or another?  I would love to understand all the...

View Article

How to get Snapshot space on Datastore using vi java api??

Hi, Plz help me to get the Snapshop space on datastore by using vi java api. Is there any method or property or any calculation to get the snapshot spac???

View Article
Browsing all 144 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>