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

Resume action on vApp/virtual machine

A suspend request to a vApp URL suspends all of the virtual machines in the vApp and a suspend request to a virtual machine URL suspends the specified virtual machine.But I am not able to find any...

View Article



Create Organization

It may sounds a silly question but I cannot find anything that sounds like matching a createOrganization on the Java API I can see that doing a : POST     URL/api/v0.9/admin/orgs      feeded with a XML...

View Article

Resetting the MAC address of vApp Template

I am using ComposevAPP API to compose a vApp from two vApp templates. Is there any way to reset the MAC address of a vApp Template (containing only one VM) through vCloud API? -Sudhir

View Article

how to remove the Distributed Virtual Portgroup using VSphere API Java

Hello All, Please any body help us on how to remove the DistributedVirtualPortgroup  using VSphere API Java.  ThanksMahesh

View Article

How to change distributed portgroup for VM

Hello All, can any body help me on how to change the distributed portgroup for the VM  using VSpher API Java  ThanksMahesh

View Article


Obtain boot disk with vSphere SDK

In a virtual machine with several virtual disks, is is possible to determine which one is the "boot disk" using the vSphere SDK API?I need to know the disk the virtual machine is using to boot, but I...

View Article

vCloud SDK for Java 1.0.1 request encoding

Noticed in the release notes that the 1.0.1 version of the vCloud SDK for Java that support for handling for internationalized characters was added. This appears to work for internationalized usernames...

View Article

Java API: Getting error details through returned Task object

Hello,Is there a way to gett error details through Task or any other object in Java API?I tried to use taskType.getError().getMessage() but it only prints "Unable to perform this action. Contact your...

View Article


Exception login to the vCloud API - HelloCloud.java

Hi, I'm trying to use the sample code given in the Java SDK to login and it's throwing me the following exception. Any help to resolve this is highly appreciated. Exception in thread "main"...

View Article


Query API QueryAdminOrgNetworkField lacks of isLinked attribute

Hi, I use this kind of GET request to retrive all "routed" org network:http://<vcloud_hostname>/api/query?type=adminOrgNetwork&filter=isLinked==true It seems that the...

View Article

composeVApp w/ 1 blank VM (ie not from another vApp or vAppTemplate)

Hi, I can't figure out how to reproduce the following vCD UI use case:Build New vAppNew Virtual Machine (full name, os settings, etc.).Attach to a network. I tried using ComposeVAppParamsType w/...

View Article

How to use the SDK to get logon users email address

1、How to use the SDK to get logon users email address2、I can‘t use public vapptemplate to compose vapp       Thanks for any info

View Article

Fastest check for active session

Hello there. I want to check that a VcloudClient session is active. What is the cheapest way to do that? Can I safely call login when an active session already exists? (I am not in a position to...

View Article


vCloud Java SDK retrieve info about vCenter

Hello to all,   I can't find the needed classes and methods which will allow me to retreive the info related to vCenters which are linked into vCloud. Through "info" I mean, at least : ip (or host name...

View Article

Delete a vCloud entity by name

Hello to all,      For now when I need to delete a organization, I do the following steps :         QueryParams<QueryReferenceField> params = new QueryParams<QueryReferenceField>();...

View Article


"Access is forbidden" during create organization network

Hello,    I encounter a problem while I'm trying to create an organization network using Java SDK :     com.vmware.vcloud.sdk.VCloudException: Access is forbidden              at...

View Article

Getting error : unexpected element (uri:"", local:"VApp") while composeVapp

Hi All, While composing a vApp using Java sdk, I am getting the following exception: SEVERE: nulljavax.xml.bind.UnmarshalException: unexpected element (uri:"", local:"VApp"). Expected elements are...

View Article


HostDatastoreBrowser Bug?

Hi all, we are facing kind of strange Behavior while handling data from a vCenter: We receive the list of datastore's of a host via the HostDatastoreBrowser. This works fine but we came to a certain...

View Article

Developing software with the SDK

I came across this article today and I was wondering if anyone could clarify what it is suggesting:...

View Article

Unable to get vApp after Compose vApp failing from Java SDK

Hi All, I have this code that composes Vapp. Once the Vapp is created, it tries to power on the vApp. I was not able to find the vApp, it        Vdc vdc2Use = main.findVdc("VDC02");...

View Article
Browsing all 144 articles
Browse latest View live




Latest Images