Not able to login using vcloud sdk
Hi,i am trying to create vapp using sdk so i try to run the sample app of compose app.these are my run time argument for my program https://p4v15-vcd.vchs.vmware.com vchs-cert7@M263083285-4455...
View ArticleHow to clone a VM from a cluster to another cluster using vijava?
Hello, Can somebody help me with a snippet of code of how to clone a vm from a cluster to another cluster?I know this is possible using VMware vSphere Client on vCenter 6.Is this possible using Java...
View ArticleHow to get the power state of vApp
How to get the power state of vApp used by the vSphere SDK for java? I found the vAppStatus in vPhere PowerCLI Reference, but not found the similar object in vSphere SDK.
View ArticleHow to traverse through list of DataObject using Property Collector?
I am trying to collect inventory information from ESXi and vCenter using the SDK (Java).I wish to write a program which reads a file which contains the list of properties + path and dump all the values...
View ArticleDoes vijava 5.5 support tags and category creation?
Code snippet will be much appreciated.
View ArticlevCloud SDK: how can I run script in guest OS?
I know how to run custom script in guest OS with vSphere API (VixVmHandle.runScriptInGuest), or power CLI (Invoke-VMScript). What's the equivalent for vCloud SDK? From the vCloud Director GUI, there is...
View ArticleHow to get the OrgVdcNetwork IP Pool?
I am trying to retrieve the IP Pool range for a particular OrgVdcNetwork. I am trying to retrieve it by the reference type that I am getting from the VDC getAvailableNetworkRefs. But whenever I execute...
View ArticleHow to allocate new public IP using vCloud Java SDK?
Hi All,Could someone please tell me the way to allocate a new public ip using vCloud Java SDK?
View ArticleGetting error when trying to get VcloudAdmin in VPC on Demand
Hi All,I am getting error when i try to run any operation which tries to get VcloudAdmin reference.This behavior is seen in VPC on demand account whereas it is successfully running in VPC subscription...
View ArticleHow to create a vm using VI java API
Hi Vmware Team, I am working on a college project on creatinga cloud to manage my vpshere objects(Vhosts,vmware and datastores) I am able to extract the statistics of vm and implement it in java can...
View ArticleError (404) Contacting vimService on vCenter Server
Hello All, I have a customer who has downloaded the vCloud Suite SDK for Java and is trying to figure out how to programmatically interface with vCenter through the Java API.The code examples show...
View Articlehow to Get Datastore Cluster using vijava api.
Hi, Please suggest me any entity or class or function in vijava api to get Datastore Cluster's. Thanks in advance. samadhan Patekar
View ArticleNeed vMware api to fetch Physical Disk Placement Info
Hi, Which VMware api will be used to get details of Physical disk placements which is under VM -> Manage -> VM storage policies ->Physical Disk Placement? Thanks,Pushpa
View Articlewhere can i get GPU utilization metrics in vsphere api?
Hi,I have an vsphere server 6.0 with nvidia grid cards. I want to take utilization statistics for GPU using vSphere java sdk. I have checked vsphere api and found HostGraphicsInfo object which will...
View ArticleIdentify regular vSphere tasks with activationId or changeTags
I am building an automated workflow on top of VSphere API. Inorder to ensure that the workflow is idempotent, I need the ability to search already launched tasks using an identifier (or tags). Let us...
View Articleproblem in connecting to vSphere
Hi,We're working with vsphere sdk 5.1.0.we're just starting with a simple java sample that connects to vsphere server.At the moment we can't connect to vSphere cause this Exception has been raised...
View ArticleProblem while connecting to VCSA6 SSO
Hi All, I have written the code to connect to VCSA6 SSO on port 7444 with URL (SSO Server Access URL) "/ims/STSService". Code: STSServicePortType stsPort =...
View Articlevim25.jar file has no manifest?
I downloaded the vsphere_client_sdk today:vimclients-public-sdk-6.0.0.3018528.zipI'm building a plugin for vCenter that uses the vim25 API. When I upgraded my development environment, I got the...
View ArticlevSphere Web Services SDK for Instant Clone
There's a PowerCLI API already, any chance there will be vSphere APIs made public? Presumably this would be very low level just like regular or linked cloning but this seems like it would be very...
View Article