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

Create New Folder (CreateFolder method) Web Services SDK C#

 Hi,   Have some problems in my code below. Somebody help me, I really am lost, dont know what to do.just a newbie..Here is the error.       Thanks thanks  shim...

View Article


Image may be NSFW.
Clik here to view.

getting esxi information from vm

Hi all.i want to find the host information from vm's info.right now i have the object id of a VM. i want to find the host's MORef  to do some processing.i guess there will be some top->down approach...

View Article


Extract VM Host - Guest relationship through C# Application using VMware...

Hi, I am trying to build a C# application that can extract VM Host - Guest relationship from vCenter Server. I am using VMware vSphere Management SDK for this task. I am new to using API to extract...

View Article

retrieve datacenter name in vsphere SDK 6.0

we were using 5.5 SDK and retrieving datacenter name .Now,with 6.0 SDK,the dc name code throws null pointer exception.Please suggest  serverConnection sc = si.getServerConnection();...

View Article

Image may be NSFW.
Clik here to view.

Code Sample to create a new vmdk?

Hi, Can anyone please give me code sample to create a new vmdk to a vm? Please note that I just want to create a vmdk. Dont want to attach it to any vms... Regards,Naresh

View Article


how to get the uuid of the virtual machine that got deleted from the VM...

Hi, I have a requirement of getting the removed vm instance uuid when I get com.vmware.vim25.VmRemovedEvent. I tried as follows: case "com.vmware.vim25.VmRemovedEvent":       VmRemovedEvent vmDelEvent...

View Article

Error while using build.bat to generate a test certificate and STSService stubs

I am trying to build a C# application using vSphere API that connect to vCenter server and gets a Host-VM relationship.  To run shared by vmWare, I followed developer guide and set all environment...

View Article

Image may be NSFW.
Clik here to view.

Using the 5.5 SDK to perform power operation on VM

Hi allI'm very new to c# so please excuse my ignorance but I'm trying to create a simple web application written in asp.net and c# in visual studio 2013 that will allow me to perform simple power on...

View Article


Image may be NSFW.
Clik here to view.

need support for VIJAVA .jar for vsphere 6.0

HI,       We are migrating our plugin to vsphere 6.0 and we see that there is no vijava support for vsphere6.We have to change all  our wrapper functions to use vim25 jar but its extremely cumbersome....

View Article


HOW TO CONNECT VMWARE ESXI 5.5 ON MY VB.NET APPLICATION

Hi any one please help me, for how to conned esxi 5.5 machine on my vb.net application and list out what are the vm are running.

View Article

Image may be NSFW.
Clik here to view.

can someone point to the sample code where we retrieve the datacenter object...

Please provide sample code to retrieve datacenter object when i have datacenter name using vsphere6.0 sdk. We recently moved to vsphere 6.0 sdk

View Article

how to retrieve dvs name from DVS Destroyed event

ManagedObjectReference mordvs = dvsDestroyedEvent.getDvs().dvs;String mor_type = mordvs.getType(); DistributedVirtualSwitch dvs = null;  dvs = (DistributedVirtualSwitch)...

View Article

Using Perl to create a nested resource pool

I've used William Lam's "createResourcepool.pl" script as a guide and am trying to convert it to where it will create a child/nested resource pool.  The group I work for has a Resource Pool assigned to...

View Article


SPBM - To retrieve capabilities defined in VM storage policy ?

Is there a way to retrieve storage capabilities (thin deduplication, encryption, RAID, IOPS, etc) from the VM storage policy ?With vVols, the VM is associated to storage policy. From the SPBM SDK, are...

View Article

excuse me , does any friend know why? in ws sdk 6.0, when Building the C# SSO...

excuse me , does any friend know why? in web service sdk 6.0,when  Building the C# SSO DLL, two fuctionwere not created . when generating c# .cs file with wsdl file, two warning :1 : this  Web...

View Article


DeleteDiskPartition api is not there while UpdateDiskPartition is there

i want to delete a partition using DeleteDiskPartition api . but to my surprise it is not there at all. the same api is available in pysphere but not in vim25.can anyone help me in this regard.

View Article

excuse me , does any friend know why a error occurs when the sample VMCreate...

excuse me , does any friend know why  a error occurs when   the sample  VMCreate refers to vim25api , in ws sdk 5.0? in sdk 5.0 ,the sample  VMCreate refer to vimapi  in defult,SDK\vsphere-ws\wsdl\vim...

View Article


Image may be NSFW.
Clik here to view.

Retrieving the list of independent virtual disks for a host (managed by a...

Is there a way to get the list of virtual disks (independent disks i.e. not associated with a virtual machine), when the ESX server is being managed by a vCenter.Am using VIM API (C# language).

View Article

A way to get vDS ports for VMs of a certain Host

Hi,I am trying to get a list of vDS ports that have VMs connected from a certain Host.I tried using the vDS.FetchDVPortKeys(criteria) with the scope criteria but besides the fact that this criteria is...

View Article

Image may be NSFW.
Clik here to view.

Is there a way to fetch Data Objects properties such as vDS port state in a...

Hi,I am trying to retrieve vDS ports properties such as the state in the most efficient way, not fetching the entire object but just this property. I know about the propertyCollector that can be used...

View Article
Browsing all 1860 articles
Browse latest View live


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