Quantcast
Channel: VMware Communities: Message List - vSphere Management SDK
Browsing all 2052 articles
Browse latest View live

Re: How to test that the SDK is working?

Yes, thank you.

View Article


Re: How to test that the SDK is working?

You can run any of the sample scripts, most of them have a list or show option.  Otherwise, a simple connect and print should be sufficient.  There are some other bug issues, so if you have something...

View Article


How to name uplink port group while creating DVS

I'm creating a DVS using vSphere Web Services API (vijava, but very similar to vim25). I would like to have a user friendly name for the uplink port group. It is easy to rename it after DVS is created....

View Article

How to get ESXi management interface through the API (java)

Hi community,I cannot get ESXi management interfaces with java SDK.I successfully tryed to execute following commands (rails console with rbvmomi library):  opt =...

View Article

Re: How to get ESXi management interface through the API (java)

I found out that it's a bug of rbvmomi v1.6 library.

View Article


Re: UpgradeTools_Task

Hi William, My understanding is that after UpgradeTools_Task method has been called, a user needs to log into VM and to complete the installation process, and I am looking how it can be completely...

View Article

Customize VM with C# SDK, failed by invalid productId

I'm trying to clone VM from a template with C# API, and do some guest OS customization for Windows. The CustomizationUserData.productId always cause failure.1. If I don't specify it, the program...

View Article

Re: UpgradeTools_Task

This thread answers my question - Install VMware Tools with VMware Sphere SDK. Thanks,Yuri

View Article


Fetching list of Groups and the user membership list.

In the process of developing my plugin I have encountered the need to check the privileges of the the user accessing the plugin.  I am performing the check in my Java code in my backend server.  This...

View Article


5.5 u1 version check using api

I have 5.5 u1 installed. I'm trying to check the version of vcenter before register the html-bridge plugin.When I make this call - mob/?moid=ServiceInstance&method=retrieveContent , I get version...

View Article

Re: 5.5 u1 version check using api

Why do you need to check the vCenter version?  In any case this is a question for the vSphere Management forum so I'll move you question there.

View Article

retrievePropertiesEx() is throwing an Exception:...

Hi All,          I am having a problem while using method/api  retrievePropertiesEx(). retrievePropertiesEx()  is throwing an Exception:  javax.xml.ws.soap.SOAPFaultException: The object has already...

View Article

Re: retrievePropertiesEx() is throwing an Exception:...

There is a socket timeout, ~15m by default IIRC.  This can result in the need to re-establish the session.  Though I don't think SessionIsActive() would succeed in that case (at least from the same...

View Article


Disabling HA and DRS for VM is returning error "The setting of vmConfig is...

Hi I am developing the given below code to disable HA and DRS for a particular VM. But I am always getting error that "The setting of vmConfig is invalid for cluster Cluster1" . Any Idea what I am...

View Article

Re: SOAPFaultException occured while importing OVF template

I've run into exactly the same problem than you and I am quite desperate.  My code used to work perfectly in a standard java application, then I moved it to a web Application using WildFly 8 as the app...

View Article


Which is the best way to create a virtual machine with c# some current SDK...

I need help to find what is the most current version of the vsphere Web Service SDK or another SDK to create a c# application that could communicate with my VMWare ESXI to create a new Virtual...

View Article

vSphere SDK API to get Tags of VirtualMachine (ManagedEntity) from vCenter 5.5

Hi, I am trying to get tags associated with virtual machine in Java using  vSphere 5.5 SDK API. I am retrieving those from valid ManagedEntity (VirtualMachine) object. The problem is retrieved tags...

View Article


Re: @ Developer Day Sessions: Introduction to vSphere Web Services SDK 4.0...

Could be great to see how to implement a development environment with vSphere SDK and Visual Studio 2012

View Article

Re: vSphere SDK API to get Tags of VirtualMachine (ManagedEntity) from...

To be completely confusing, the Tags in the current vSphere API are not the same Tags as seen in the vSphere Web Client.  Unfortunately, the Web Client Tags are actually stored and managed by the...

View Article

How to raise a custom event and alarm based on the custom event

Hi All,  I am trying to create custom event and when this events occurs i want to put the host in maintenance mode. I am trying to do something like this:   private static MethodAction createAction() {...

View Article
Browsing all 2052 articles
Browse latest View live


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