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

Image may be NSFW.
Clik here to view.

vsphere SDK createScheduledTask problems

Hi, I am trying to use vsphere sdk 6 to create scheduled task to unmap datastore, here is the code: sc: ServiceContenthostStorageSystem: HostStorageSystemvmfsUuid: String (the vmfsUuid of a specific...

View Article


How to Get Running Task ID Through Vsphere Webservice

I want to get the running task ID in vcenter server. Because sometimes we need to cancel this task due to some reasons. I know I can use PowerCLI get-task to get this.Can I get the Running task ID use...

View Article


vsphere sdk 6 : problem of creating scheduled task to unmap datastore.

Hi, I am trying to use vsphere sdk 6 to create scheduled task to unmap datastore, here is the code: sc: ServiceContenthostStorageSystem: HostStorageSystemvmfsUuid: String (the vmfsUuid of a specific...

View Article

Image may be NSFW.
Clik here to view.

unmap task failed: Cannot complete the operation due to an incorrect request...

Hi,I implemented the unmap task through vSphere web client sdk 6 api method: UnmapVmfsVolumeEx_task(HostStorageSystem, VmfsUuid).But when I run this task on vsphere web client side, this task failed:...

View Article

Image may be NSFW.
Clik here to view.

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


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

Image may be NSFW.
Clik here to view.

Obtaining SAML Token via User Creds Breaks with 5.5.3

I am using user credentials to obtain a SAML token from the SSO server.  After we upgraded to 5.5.3, that no longer works.  Anyone have an idea what changed?

View Article

Image may be NSFW.
Clik here to view.

How to get HostUnresolvedVmfsResignatureSpec?

Hi, I need to resignature a copy datastore in our environment. And I reference below page to implement ithttp://pubs.vmware.com/vsphere-60/index.jsp#com.vmware.wssdk.pg.doc/PG_Storage.10.9.htmlWhen I...

View Article


Image may be NSFW.
Clik here to view.

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

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

View Article


Image may be NSFW.
Clik here to view.

.NET SDK and PowerCLI licensing

Hi there,Our technical writer is trying to find the license agreement for mentioned products and date until licenses are valid (if not perpetual).Could anyone help with this? Support was not able to...

View Article

Image may be NSFW.
Clik here to view.

How to find all unregister vm in a datastore?

Hi all,I have a datastore with some unregister vm.How do I find all unregister vms and register them?Does anyone has any idea?I'm find how to get into datatstore folder and get them, but I can't find...

View Article

Image may be NSFW.
Clik here to view.

identify esx boot disk

how should i identify the host disk used as boot device?i don't see such attribute in HostScsiDisk  in esx shell i can do:vmkfstools -P /bootbank/vfat-0.04 file system spanning 1 partitions.File system...

View Article

Image may be NSFW.
Clik here to view.

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


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

Image may be NSFW.
Clik here to view.

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


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

Image may be NSFW.
Clik here to view.

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


Image may be NSFW.
Clik here to view.

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

Image may be NSFW.
Clik here to view.

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
Browsing all 1860 articles
Browse latest View live


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