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

ManagedObjectReference StoragePod

Hi, Can some one of you help me with a C# code to get the reference to "StoragePod" ? I'm using               VimService  _service = new VimService();           _service.Url = url;...

View Article


Image may be NSFW.
Clik here to view.

ReconfigVM_Task could not remove a delta disk from VM on vSphere 5.1

When I test web service api ReconifgVM_Task against vSphere 5.1 to remove a delta disk from virtual machine. A error occured.It shows "Invalid configuration for device '0'". And get the error...

View Article


SOAPFaultException occured while importing OVF template

This exception is coming whenever I'm deploying this as a web application in jetty container and as a standalone this is working properly with VCenter 5.1. javax.xml.ws.soap.SOAPFaultException:...

View Article

Ubuntu Virtual Machine hangs on grub menu while powering on VM - vSphere API

Hi, I am trying to power on the virtual machines inside ESXi (manged by vCenter Server) using vSphere API. The OS I am using is Ubuntu 12.04 server.I have a Java script that uses the API to do so,...

View Article

how to set network for a nic

 Hi,  I have created a VM from template using c# sdk. I would like to change its network to a different one before I start it.  anyone knows how can I do that?  I have tried changing the...

View Article


How to get usage of CPU of ESXi host server? (may be simple question..but it...

IHAC want to monitoring ESXi host by their monitoring tool.Does vSphere SDK/API support getting CPU usage data of esxi host?If not, how about vCenter server?

View Article

Empty Hardware Status on ESXI servers

Helo, I am attemepting to query hardware status off a ESXI server on the Physical drives and Raid storage are coming up empty trying to access via https to the host. I am able to retreive Fan, CPU...

View Article

How to upload files to datastore using HTTP not HTTPS because it is very very...

I am trying to use the documentation as contained in this vmware doc: vSphere Documentation CenterWhen I connect to vCenter using the following.....

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


web sdk equivalent for powercli's esxcli or where to find network dump...

Powercli provides access to host level commands via $esxcli.  Is there similar functionality available using the web sdk or any other way to invoke esxcli functionality via C#/Java?  Since powercli can...

View Article

Problem on to create a Virtual disk on calling CreateVirtualDisk_Task...

Hi experts, I'm trying to create a VMDK by calling  CreateVirtualDisk_Task, the following code is worked perfactly on a vmware 5.0 "stand-alone" deployment, however it always returns "NULL" task...

View Article

Rebuild operation

Is there any "Rebuild" operation for vSphere?A rebuild operation that removes all data on the vm and replaces it with the specified image and all IP addresses will remain the same.

View Article

Personality

Is there any way to customize the personality of a vm by injecting data into its file system at creation phase? For example,if you want to insert ssh keys, set configuration files, or store data that...

View Article


Creating custom attributes using pyvmomi

Creating a custom attribute using the perl sdk looks like this:   $customFieldMgr->AddCustomFieldDef(name => $cfkey, moType => 'VirtualMachine');  Doing the same in python using pyvmomi...

View Article

How to import an ova image using VISDK

I understand that ova is an archive format of the ovf image. Basically it's a tarball of the files in the ovf image. Is there any API in VISDK to take an ova file directly from a remote server? An ova...

View Article


How to specify entities when calling queryperf

The docs (vSphere Documentation Center) say 'As a general rule, specify between 10 and 50 entities in a single call to the QueryPerf method." How does one attach multiple eneties to queryspec? Thanks...

View Article

retrievepropertiesEx crash if called from multiple threads

Hi Experts, i am using the createpropertycollector to create the propertycollector object. This is per-thread basis. if each thread calls up the  retrieveproperties(...), then there would be crash. How...

View Article


Have server to download files

Is it possible to have the vSphere server to download files based on an asynchronos request?For instance, if I want to create a VM from an external image.So make a request to vSphere server and pass a...

View Article

Vijava as an OSGi bundle

Hi there, Do we have Vijava.jar available as an OSGi-fied bundle that can deployed on the vSphere Web Client? Thanks,Bhrami

View Article

Create VMDK via RDM to iSCSI target using SOAP API

We are attempting to create a vmdk that points to an iSCSI target via a RDM. Our goal is to have this process be 100% automated via the SOAP API, but cannot find the necessary function calls within the...

View Article
Browsing all 1860 articles
Browse latest View live


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