Quantcast
Channel: VMware Communities : All Content - vSphere Management SDK
Browsing all 1860 articles
Browse latest View live

Browsing to https:///sdk gives blank page ?

We are running vCenter 5.1 (VCenter Server Appliance)  A programmer is attempting to utilize the API to pull information on ESXi hosts and VM's. When we point a web browser at...

View Article


Fault VimApi.InvalidArgument

Hello.I'm trying to run the example VMCreate2010 and i get this error.I'm using 5.1.I have tried to pass useroptions[8] = newOptionSpec("VimApi", "String", 0, "version...", "vmx-07");but i don't know...

View Article


Is any method really invoked when using CreateTaskAction and set a TaskTypeId

Hi All, I'm trying to create a task to invoke my own method/script and hoping it can show in the task list.  I add the taskInfo when register the extension like:        String myPkg =...

View Article

SRM Recoveryplan method issue please help

Hello all, We are using the SRM API 5.0 and trying to start a recovery plan in a disaster recovery mode. What we want to do is provide a button for the customer in our portal where he can push it and...

View Article

Issue with Data Object - GuestNicInfo

Hello everybody,  I am writing a script collecting data about virtual machines running our 32 ESXi 5.1 hosts. About 500 VMs are concerned. I have an issue with about 20 VMs when I access GuestNicInfo...

View Article


How can I perform the heartbeat functions enable, disable and markactive...

My company has an embedded system we would like to run within a virtual machine.  The system runs on FreeBSD 8.1 and has been extensively trimmed.  As an example, of this trimming, we only use the...

View Article

How does MO ID value get generated ?

Hi, I'd like to know if MO ID value get never changed once assigned. I think using the MO ID value like "vm-88" can help me to identify a certain virtual machine in the environment.But of cource there...

View Article

How to use DataByConstraintRequest?

Hi , I am new to the vSphere web client plugin development. I went through some samples specifically the helloworld sample and the views-properties-ui sample. I was then trying to retrieve list of...

View Article


Reading host files

Hello, Is there any way to list the contents of a host file (like: /etc/vmware/esx.conf) using the SDK? Actually I want to get the PSA claimrules for the host...

View Article


InstanceUUID and vMotion

Hi, In my VM Backup application I have used instanceUuid of the VirtualMachine object to uniquley identify a VM. But going through the vStorageAPI documentation the recommended way is to use both UUID...

View Article

ReconfigVM_Task - Problem reconfiguring VirtualEtheretCard.

Hi there! I'm trying to reconfigure an existing Virtual Machine, but i'm getting an error that doesn't describe the problem very wellWhat i'm trying to reconfigure is the network label of the adapter....

View Article

GuestOperations-rights in Windows 8

Hi, I have some problems with exexuting commands with the guestOperations (Run program in guest), which need administrative rights in windows 8.For the guestAuthentication I use a user, that is in the...

View Article

What is the support status for VMWare.Vim library?

I have been researching ways to implement a Windows forms application that could manage our ESX servers.  Basically, there are four options: 1. VIX API - deprecated, so do not want to use the vmrun...

View Article


CloneVM method in SDK

Hello I am trying to write an app that will allow me to discover all the templates in my Virtual Center and then allow me to deploy VMs from the one I choose. I can discover the Templates no problem...

View Article

Resignaturing multiple copies of the same LUN at the same time fails with the...

Resignaturing multiple copies of the same LUN at the same time fails with the error: Cannot change the host configurationI am getting this issue with ESX 5.x version. I found the KB artical for the...

View Article


Clone VM using existing CustomizationSpec and changing ComputerName property

So I've been working on this project for work and have started a thread (http://communities.vmware.com/message/2194869#2194869) that has more or less turned into a build log since nobody has responded...

View Article

ESXI - Send soap request from esxi host

Hi all, i'm new in web services. I have a PHP soap (wsdl) server and "just" want to send/receive information from/to my ESXI server (5.0 and 5.1).So, i want to know how to create a soap client running...

View Article


vmclone - SoapFault spec.identity

Hi, I am encountering an issue running vmclone2 script with windows machines.I am running the exact same script on linux machine with no issue. Running the following:  ./vmclone2.pl --username yyyy...

View Article

Sample code for using ExtendedFault

I couldn't find any example that demonstrates how to use ExtendedFault with setTaskState (TaskInfostate.ERROR). Appreciate any help. I tried following:1) when I call setTaskState with ExtendedFault, VI...

View Article

vSphere APIs for Storage Profiles

Is there any support available for Storage Profiles in vSphere?  We are specifically interested in capabilities like: - Obtain all configured storage profiles- Obtain list of datastores (or clusters)...

View Article
Browsing all 1860 articles
Browse latest View live