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

vvol datastore became inactive

 Hello there  After we registered our VASA Provider to the webclient(Version 6.5.0 Build 4240420),we successfully created datastores. But after we refreshing the datastores,their status came into...

View Article


Can we get password of vCenter Server within vCenter Plugin?

I want to create a vCenter Plugin. In the plugin, I want to get password of vCenter Server and send it to another machine. I don't want user to input it manually. Can I get password of vCenter Server...

View Article


Image may be NSFW.
Clik here to view.

VIX error codes equivalent API in vsphere SDK

While trying to migrate from VIX to guest operations of vsphere API, I see that there is an equivalent API for running a program on guest, ie, VixVM_RunProgramInGuest ~ StartProgramInGuest. With this...

View Article

Image may be NSFW.
Clik here to view.

How to generate credential file from SAML token

I want to create a vCenter Plugin using SDK 6.0 , in the vCenter Plugin I want to generate credentials file of vCenter Server to send to another machine and from this machine, it login vCenter...

View Article

vSphere SDK which is compatible with both vCenter 5.5 and 6.0

Dear allI want to create a vCenter plugin, which supports both vCenter 5.5 and vCenter 6.0. Which version of vSphere SDK should I use for developping the plugin?

View Article


Image may be NSFW.
Clik here to view.

Is vSphere 5.0 SDK compatible with vCenter 6.0?

Our portal application is using the vSphere 5.0 SDK. When our application went live, it was making web service calls to vCenter 5.0. At the beginning of the year, vCenter was upgraded to 5.5 update 3b,...

View Article

Unable to apply profile to a VM programmatically at the time of configure and...

We are encountering an issue while asigning policy to a VM using vSphere SDK. Issue: at the time of un-registering a VM the VM loses its profile, while registering it again we wish to reapply the...

View Article

Is it possible to use vSphere scheduled task to call my own script in vSphere...

I have written a script which can be called using command line, and i want it can be called when triggering vSphere scheduled task.The API to create scheduled task is "createScheduledTask" method of...

View Article


how to authenticate for rest api with vCenter 6.5 appliance

Hello,vCenter Appliance 6.5 has a feature to create a backup that can be restored with the installer gui. To create this backup one must access the appliance portal at port 5480. I would like to...

View Article


Can I invoke a specific method instead of a "*_Task" like operation when...

MethodAction action = new MethodAction();action.setName("PowerOffVM_Task"); Can I invoke my own method instead of "PowerOffVM_Task"?

View Article

SOAP API Usage to Retrieve properties

Hello,  I need to implement an automation integration with vSphere using SOAP HTTP API call. I am testing now each call I need using SoapUI interface, in order to implement later the call using an...

View Article

Image may be NSFW.
Clik here to view.

FSS_LookupPath & FSS_Readdir on Nutanix array

Hi When trying to use FSS_LookupPath & FSS_Readdir on a Nutanix array I am getting an empty answer although  the VMDK is there when browse the folder 

View Article

Image may be NSFW.
Clik here to view.

Custom events not formatting correctly with WSSDK 5.1

Hello, I'm registering an extension using the VMware vSphere Web Services SDK. The custom tasks and faults I've defined are displayed correctly on the VMware vSphere Client, as well as the vSphere Web...

View Article


Image may be NSFW.
Clik here to view.

Cleanup files using vSphere SDK?

Hi experts, Is there a way that i can cleanup the files on vCenter/VCSA using the vSphere SDK ? Most of the vSphere SDK APIs are to work with the VMs/ESX and not for the vCenter Server or VCSA ?...

View Article

Image may be NSFW.
Clik here to view.

SDK for Adding SCSI controller

Hello,I am trying to add a SCSI controller using MOB/SDK. The VM reconfigure is happening, but SCSI Controllers are not added. Following is the payload I am...

View Article


Image may be NSFW.
Clik here to view.

Example code for adding to Recent Tasks

I would like to track action progress using the Recent Tasks view.   I can't seem to find any sample code to help.   I saw some other threads that suggested looking at the WSSDK, but I didn't find...

View Article

c# Simple CreateVM like PowerCLI command

Hello,Main-Problem:I need to dev a Webpage to create VMs in our vSphere. For Info: In the enviroment we have multiple clusters with multiple hosts with many VMs. We alrady have the following...

View Article


Image may be NSFW.
Clik here to view.

How to add an item to "Tasks (Console)" of vSphere Web Client

Hi all, I am a total newbie in VMware SDK developing. I am trying to track action progress for my extension (plugin) using the Task Console but I could not find any sample code to help. I tried to...

View Article

Image may be NSFW.
Clik here to view.

"A WebService annotation is not present on class:...

Hi,We have a vSphere HTML SDK plugin developed using vSphere 6.5 SDK. One of the dependencies for our plugin is vim25.jar (from the libs folder of vSphere 6.5 HTML SDK).Our plugin gets loaded...

View Article

Image may be NSFW.
Clik here to view.

I need help

I get Darwin kernel panic on mac os x 10.9 and above but I'm most stable on 10.7.3 mac os

View Article
Browsing all 1860 articles
Browse latest View live


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