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

grantedPrivileges

Hi, What is the expected value to return when the AuthorizationManager send grantedPrivileges to your getData().   I have tried value=true and value=Global.Licenses.  None of which seems to work. 

View Article


Issue while executing VMWare PBM APIs

Hi,  We are getting SecurityError issue while executing vmware PBM APIs. We have passed session-id for execution of PBM APIs . Following are the steps followed to pass session-id for PBM...

View Article


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

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

View Article

intervalId and PerfQuerySpec

I'm attempting to pull several vm performance counters. I'm finding that several counters aren't available unless I raise the vCenter statistics level. From reading the documentation it seems like an...

View Article

Adding custom objects to vCenter Inventory

Hi,I've tried this in the webClient Forum, but was told to submit the discussion here. We have custom objects in our plugin (WebClient), similar to the Rack and Chassis samples which are a part of the...

View Article


vi sdkf for c++ of ESXi 5.5

Hi Guys:  I'm trying to develop a client with C++ to communicate with vmware web service.  By searching in the forum I've chosen the gsoap way to generate C++ library.  This is how I generated the...

View Article

SSO Client Samples return 400 bad request

I'm using VMware-vSphere-SDK-6.0.0-2561048 and trying to obtain a token from vSphere SSO. Both the Java and .NET samples for AcquireHoKTokenByUserCredentialSample return a 400 http error code. I've...

View Article

Issue while generating c++ code using STSService.wsdl (SSO)

Hi,  I am facing issues while generating code using c++ with STSService.wsdl e:\SOAPGENERATION>E:\SOAPGENERATION\gsoap-2.8\gsoap\bin\win32\wsdl2h.exe -t E:\SOAPGENERATION\typemap_vmwareapi.dat...

View Article


How to use pysphere to edit NIC( VirtualE1000 ) to toggle between plugged and...

What I am trying to accomplish is to connect to an existing VMware VM and then access the virtual eth connections. Once a particular NIC is found, I want to toggle its state from UNPLUGGED to PLUGGED...

View Article


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

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

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

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


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

ESX naa.diskIdentifier to windows disk mapping

i have a NetApp lun exposed to ESX server with disk identifer as naa.12344567890111111111111111111111Same lun is exposed to my physical box. how can I identify from physical machine which is that...

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

.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.

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

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


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