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

VMWare vSphere SDK - Fail to run SDK Samples due to...

Hi All, I've downloaded vSphere Management SDK for vSphere 5.5.I am using VS 2008 for this test.I'm using the C# dotnet samples.We have two ESXi 5.5 hosts that are in one cluster.I've created the the...

View Article


Copying a large file to the guest causes the virtual machine to hang and...

VMware vCenter Server 6.0U2+ (6.0.0.3634794)VMware ESXi Server 6.0U2+ (6.0.0.3825889)Guest OS: Windows Server 2012 R2VMware Tools: 10.0.6.3560309 Trying to copy a large file to the guest causes the...

View Article


how to get a list of Distributed vSwitch in c#

Hi,    basically I use the code below (and it works) to get the list of vswitch and would like something like that for dVS.... var vswitches =...

View Article

SDK support creating vm with VMDK > 2T ?

Hello May I create a vm with vmdk size >2T with SDK ? I created a vm with wmdk 2046G with vSphere API, It works. But when I try to created a vm with vmdk 2048G, it fails and the error is :File...

View Article

GetViewByMorefs causes "Required parameter specSet is missing" for HostSystem

Hello,I am attempting to get a collection of HostSystem objects in a specific cluster using the VMware.Vim API that comes with PowerCLI 6. I can retrieve the cluster by doing: var clusters =...

View Article


pyvmomi - example of DatastoreSystem.QueryVmfsDatastoreCreateOptions

I have been unable to make calls to the API's in the vim.host.DatastoreSystem. I am passing the right number of arguments but i still get an error 'Unexpected error: _InvokeMethod() takes at least 2...

View Article

specifying the vmpath for cloning a VM with the SDK vmClone sample

 Does anyone know the syntax on how the vmpath should be passed.  I have tried many of the examples:  --vmpath datacenter/folder/vmname   I can not get theis to work   

View Article

VMINFO.PL: how to list the power state of the VM????

Hello all, I have downloaded and compiled the VMware Infrastructure (VI) Perl Toolkit Packages (Latest Version: 1.5.0 | 1/17/2008 | Build: 67153). I am trying to get the power state of the VM by...

View Article


how to get past this error? "Cannot find 'vimService.wsdl' wsdl. Place the...

Hi, I download the VMWare management SDK 5.1 with Java samples. I ran the build.bat file to build everything (I had to tweak it to get it working because it didn't like the spaces in "Program Files",...

View Article


vSphere-WS SDK Packages and JavaDoc

Hello guys, I do have a bunch of question regarding to the java vsphere-ws sdk. I have build the vim25.jar and samples.jar following the instructions here:...

View Article

How to set connection timeout in vSphere Java SDK?

Hi all,how can be set the connection timeout in vSphere SDK?I've tried to set in different way on VimPortType, with no luck.For example:        ((BindingProvider)...

View Article

Setting VM annotation/notes via SDK.

 I'm interested in setting the annotation/notes property of a VM programatically via the Java/vSphere Web service SDK.  It seems that the annotation field is available in the following types:...

View Article

pyvmomi - add disk - RecommendDatastores

I am trying to add a disk to an existing VM.if vm:    for cluster in ds_cluster:        print cluster.name        spec = vim.vm.ConfigSpec()        # get all disks on a VM, set unit_number to the next...

View Article


Need help in identifying right vmware API Property to check whether a...

Hi ,We are developing a datastore view screen where we need to bring in a column to check if  "Hardware Accelearation" is Supported/Not Supported. Can someone help me in identifying the right vmware...

View Article

vim25.jar with Axis2's jar file can't be compatible

Does anyone use both Apache Axis2 and vim25.jar??Please tell me how to solve the problem..Thanks!! 

View Article


Custom Task setTaskState Error example

I'm trying to set error messages for my custom tasks when some unexpected error occurs.   From the vSphere 5.5 docs, I understand I need to invoke Task.setTaskState with the following parameters:...

View Article

How to log in to SSO with SAML Token string

I'm trying to connect to vCloud Suite API via vSphere Web Client Plug-in and assign a tag to a datastore.But I want to avoid having users enter user name and password on vSphere Web Client Plug-in GUI...

View Article


Clone a VM with THIN disk type as FLAT

I'm trying to clone a VM from a template. For that, I have a code as below  VirtualMachineRelocateSpec rSpec = new...

View Article

create a task vsphere sdk

Hi all ,We are working on the vSphere plugin and currently got stuck with creating a tasks in the vSphere webclients recent tasks.we need to add a task to the recent tasks tab for any operation we do...

View Article

Help Setting up Development Environment for C#

Greetings,   I am very new to using C# so maybe this is more of a simple matter of me missing something simple but I am trying to use the VMWare VSphere SDK for 5.5.  I am following the following...

View Article
Browsing all 1860 articles
Browse latest View live


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