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

How can I bypath the Root CA when using HTML Console?

I want users to see their HTML console directly without installing root CA on their computers. I have been using vim25(JAVA) for developing.Is there a way to bypath the Root CA when using HTML...

View Article


SOAP 'Login': Cannot complete login due to an incorrect user name or password

Hello all -- I'm attempting to perform a 'Login' SOAP method, but am receiving a ServerFaultCode with the string of "Cannot complete login due to an incorrect user name or password." The username and...

View Article


vSphere SDK / API wmks.min.js Idle Timeout

Hi there, We have developed our own client portal for various reason beyond the scope of this discussion, however we have hit a snag and I would greatly appreciate any input or assistance in this...

View Article

Rest Java - VM creation

1. Is it possible to create VM with template configuration using REST Java?2. Is it possible to apply OS customization on VM using REST Java ?

View Article

Image may be NSFW.
Clik here to view.

vSphere SDK windows authentication

Hi, I'm using .NET c# and so far I'm connection to the vCenter in next way: VimClient client1 = new VimClient();client1.Connect("https://<hostname>/sdk");client1.Login("user", "pass"); However,...

View Article


how can i use Python script to login to config network information?

guys,i got a question here: when i finished building a esxi vm through vCenter and installed an OS,can i or how to use Python code to login to config network service? any help?much thanks  

View Article

Attach vmware tools image to PXE booted host

I am trying to boot my host using PXE, as I need to change the image frequently.But the problem is, I don't see any vmware-tools image attached to the host.Which in turn, gives me error whenever I try...

View Article

CloneVM_Task throws error "The request refers to an unexpected or unknown type."

Hi, I trying to Clone a VM, It works perfect when i specify host managed object Reference(MOR) in VirtualMachineRelocateSpec. http://pubs.vmware.com/vi3/sdk/ReferenceGuide/vim.vm.RelocateSpec.html When...

View Article


Get ESXi local filesystem details like capacity and freespace

Hi, We can get the disk information of guests using GuestDiskInfo objecthttps://code.vmware.com/doc/preview?id=4206#/doc/vim.vm.GuestInfo.DiskInfo.htmlIt gives us capacity as well as free space. Is...

View Article


PowerCLI 6.3 changes with VimClient.Connect() for C# - SSL/TLS Error

I have been developing a c# app and was using the VMWare.Vim DLL from PowerCLI 6.0. I updated my PowerCLI and now i am unable to connect to the vCenter. The connection now throws an error of "The...

View Article

Image may be NSFW.
Clik here to view.

can not find HostSystem mob on vpshere mob webpage.

Hello,      I am trying to check some iscsi infomation, I followed this discussion How to get the iscsi initiator name(iqn) of esx using vsphere sdk , I login into the (version 6.0) vcenter's mob...

View Article

Get cluster name from VM with API via python script

I have a script to get a few details from VMware VSphere 6.0 on my VMs using a python script, but can't seem to find the cluster name anywhere with regards to a VM. My python script looks like this...

View Article

Noob trying to create simple C# exe from SDK, can't find apputil.dll

I'm a fairly proficient C# and C++ Windows developer, and I'm getting started with this whole SDK. Not being sure which one I need, so I downloaded VMware-vSphereSDK-6.5.0-4571253. The samples, even...

View Article


How to set properties OVF properties?

I'm trying to use vSphere Management SDK using Java to install NSX Manager.Normally when we manually install NSX Manager, we set the Admin and Privilaged Mode password. I was wondering how to do this...

View Article

Expanding VMDK in 6.5 with c#

I would like to expand a VMDK on a VM in our 6.5 environment via the c# Management SDK, and if I understand the documentation correctly the best way to do this would be to leverage HostExtendDisk_Task...

View Article


Custom events not formatting correctly with WSSDK 5.1

Hello, I'm registering an extension using the VMware vSphere Web Services SDK. The custom tasks and faults I've defined are displayed correctly on the VMware vSphere Client, as well as the vSphere Web...

View Article

Need help with SOAP request for guest operations

I'm working on a php script to do some automation. This is using the standard SOAP/WSDL and PHP. Mostly things are going well, but I have ran into an issue with guest operations. Can anyone either post...

View Article


Image may be NSFW.
Clik here to view.

Vcenter SOAP API call HELP

Hi GuysCould you guide or provide sample SOAP xml to create datastore cluster or Create cluster using SOAP API call. I am able to create datacenter using SOAP API call, but i am unable to perform any...

View Article

vCenter API description about instance for virtual disk performance counter...

We are invoking queryPerf method (vCenter API) and trying to get virtual disk performance parameter "totalReadLatency". In queryPerf output, we are getting "scsi0:0" and "scsi0:1" as instance for...

View Article

vvol datastore became inactive

 Hello there  After we registered our VASA Provider to the webclient(Version 6.5.0 Build 4240420),we successfully created datastores. But after we refreshing the datastores,their status came into...

View Article
Browsing all 1860 articles
Browse latest View live


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