Quantcast
Channel: VMware Communities: Message List - vSphere Management SDK
Browsing all 2052 articles
Browse latest View live

How to delete "Virtual Machines to Hosts" DRS rules using pyvmomi?

Hi,I am using the following code to remove a DRS VmHostRule. The vm group and the host group used in the rule do not exist anymore when trying to delete the rule (they were deleted previously).spec =...

View Article


"vDS dvs port cannot be found" when deleting a port mirroring session

Hi,I have the following scenario:- create a distributed port mirroring session- add one source port and one destination port- delete the vm marked as destination together with the portgroup it belongs...

View Article


Re: c# exportvm lease never gets past initializing.

I have the same issue. It never gets past Init and loops over and over before it gets to Debug.WriteLine("Ready")Did you ever find the solution? Dim MyVirtualMachine As VMware.Vim.VirtualMachine =...

View Article

Re: InstantClone APi ??

I have the same question, webservices api would be great, there's already a bunch of other API that's marked experimental

View Article

Re: c# exportvm lease never gets past initializing.

Hi Thomas!! use this![code]Private Sub DownloadVM(ByVal VMName As String)        Dim MyVirtualMachine As VMware.Vim.VirtualMachine = GetVM(VMName)        Dim ExportedMoR As...

View Article


VB.net CreateImportSpec VMDK File over 2GB.

Hi Everyone,     When I call this function with an end goal of uploading a .VMDK file to an ESX host, I get an Arithmetic Overflow due to the amount of memory trying to be allocated by .NET frame over...

View Article

Image may be NSFW.
Clik here to view.

powercli 5.8 release 1 get-CI* set-CI*

I'm trying to use this set of...

View Article

Image may be NSFW.
Clik here to view.

PerformanceManager::queryPerf is returning null for resource pool performance...

I'm using PerformanceManager::queryPerf(PerfQuerySpec[]) to query perf.cpu.usagemhz.average and perf.mem.consumed.average for ResourcePool. The same program can get return value for lower version VCs,...

View Article


Image may be NSFW.
Clik here to view.

vsphere Api c# - get infrastructure tree

HelloCan anybody give me an example how to list all VMs, Clusters, ESX Hosts and Datastores using api in c#?I want to get a tree like in esx vcenter client 

View Article


Image may be NSFW.
Clik here to view.

Need specific event that gets triggered when the host gets destroyed which...

hi,       I need the exact event that gets triggered when host that has a VM attached gets destroyed but it has a HA host which becomes active .Marianne

View Article

Image may be NSFW.
Clik here to view.

Re: How to get virtual mac address of a physical nic?

Hi All,Do we have an answer for the above query.If yes,can you please route me to the solution available. I also have a similar requirement to get virtual mac address of a physical nic using sdk.This...

View Article

LicenseAssignmentManager.QueryAssignedLicenses replacement

Hi all, I was wondering if someone could tell me how I should replace LicenseAssignmentManager.QueryAssignedLicenses calls in 6.0 version of the vSphere Web Services SDK, please? VMware documentation...

View Article

Re: vsphere Api c# - get infrastructure tree

Have you tried reading the developer's guide?http://pubs.vmware.com/vsphere-60/topic/com.vmware.wssdk.pg.doc/PG_Introduction_Inventory.6.4.html 

View Article


Re: PerformanceManager::queryPerf is returning null for resource pool...

Hey, I can confirm I get non-null values for cpu.usagemhz.average against ESXi 6.0CheersDmitri

View Article

Re: Device Performance Monitor- can we get DQLEN, QUED, %USD and LOAD from...

yes you can

View Article


Retrieving SAS HBA Identifier using SDK

Hello,I'm facing some issues in retrieving the SAS identifier (SAS Address) for a SAS HBA using API.However I'm able to list the SAS Address using the esx cli command " esxcli storage san sas list".Are...

View Article

Image may be NSFW.
Clik here to view.

can's run web service SDK samples

hello all, I have download and compile the vsphere web service SDK and samples. but when I try to launch a simple test, it fails:➜  vsphere-ws  ./run.sh com.vmware.general.Connect --basic-connection...

View Article


Re: Multiple vlan for a port group

one more follow up question on that. can same port be part of different port group.? If that is possible ,  then i can configure different vlan by attaching the same port with different vswitch...

View Article

Re: Multiple vlan for a port group

Not physical port. I meant virtual port in a VM.

View Article

Re: Multiple vlan for a port group

No, a virtual network adapter from virtual machine can be associated only with one port group, but you can add more than one virtual network adapter in a VM and each virtual network adapter can be...

View Article
Browsing all 2052 articles
Browse latest View live


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