Vb.net Vsphere SDK - Check if Connection is Valid after timeout
Hi everyone! Anyone know of a way to check if my Client connection is valid before I get a {VMware.Vim.NotAuthenticated} on FindEntityView line? I would like to check before having to resort to...
View ArticleProblem with TaskList
foreach (ReferenceType orgref in orgsList.Values) { var taskRef = Organization.GetOrganizationByReference(client, orgref).GetTasksListRef();...
View ArticleProblems getting tasklist
I have the following codeforeach (ReferenceType orgref in orgsList.Values) { var taskRef = Organization.GetOrganizationByReference(client,...
View ArticleVCAC workflow generator grayed out in visual Studio 2012.
I have deployed a new SDK environment, including Advanced Service Designer. We need VCAC workflow. I have deployed CDK Development Kit and downloaded CDK License, installed to IAAS Server. I have also...
View Article"Data not found" error when querying Provider vDC for Storage Profile
I am trying to create a vDC with a Storage profile defined. I am getting a "Data not found" when I run the following command: ReferenceType providerVdcStorageProfileRef =...
View ArticleAdd metadata to vApp
Does anyone know how to add a metadata object to a vApp? I am not seeing a Set method for the Metadata object class. Here is the code I am using: private static void AddMetadataForvApp(ref Vapp...
View ArticleVCloud. Unable to update network settings for a vm with C# vcloudSDK_v5_5 and...
This is the error I have been getting when I try to change the network settings for a vm: Network '' is in use and cannot be deleted. There may be vApps or vApp Templates connected to this network....
View ArticleHow to Change Adapter Type when adding a network card
When I create a new network card, or modify the existing card via the api the Adapter Type is set to E1000. How do I change the adapter type to VMXNET 3?thanks,John.
View ArticleException while updating vDC storage profiles (yet info gets updated at vCD)
I’m trying to update vDC storage profiles programmatically using .net SDK and information is updated but it also throw an exception ‘object reference not equal to an instance of object’ This is what...
View ArticleHow can I add a storage policy to a VDC?
Can someone please advise how I can add a new storage policy to an existing VDC? I've got this code snippet that doesn't work. It throws an exception that parameter 'source' is required....
View ArticleGet Vapp Template used storage.
Hi,Can someone give me an idea on how to get the used storage of a VappTemplate using the vCloud SDK?I need this information without calling to enable the download.I see that I can call...
View ArticleRequired : vCloud SDK based on .Net 2.0
Hi vCloud SDK Team,Greetings!We would want to use this SDK. One big limitation is to change the targets of existing projects to .Net4. It seems we are almost kind of deciding not to go with this SDK...
View ArticleUnable to upload Floppy Image and attach it to VM
Hi,Have anyone tried uploading Floppy Image? I have tried uploading it. But it becomes ISO image.Would appreciate help on this. Thanks!Mehendran
View ArticleUnable to attach existing Floppy Image from Catalog
Hi,Have added the floppy image manually into a Catalog (VCD 5.5)Tried to Insert Media (floppy) into VM using the existing Floppy Image.Failed with Access Forbiddin Issue.Has anyone tried this scenario?...
View ArticleSDK isn't thread-safe?
I've encounter this error: exception=com.vmware.vcloud.sdk.utility.VCloudException: Collection was modified; enumeration operation may not execute. at...
View ArticleLogin Issue - The given header was not found
Hi I'm new to .net sdk vCloud, i'm trying to create a webservice to connect to vCloud via API.I downloaded code example on GitHub - rdbwebster/vcdapisamples: Vmware VCD .Net C# API examples Tried a...
View Articlegetting started with .net sdk and api part 2
I have the same problem like "mlawson" at http://communities.vmware.com/message/2190842 If I execute one of the sample programs (i.e. HellovCloud), I get the following error: VCloudRuntimeException:...
View ArticleObtaining all HostProfiles from HostProfileManager
I'm currently using Vim with C# and am trying to figure out a way to fetch all HostProfiles associated with a server. I know the operation is possible because I can see a list of all HostProfiles on...
View ArticleUnable to install VMware-vCloud-Suite-SDK-.NET-6.0.0-2561075 and access it...
I am unable to install VMware-vCloud-Suite-SDK-.NET-6.0.0-2561075I downloaded the zip file; I extracted the content of the zip file; I read the doc vCloud-Suite-Client-SDK-.NET-README.html which told...
View ArticleRename snapshot API
HI, I have windows desktop application which commands or automates VMware functionalities. I want to rename existing snapshot and update same with following flow, but i don't see any vmware API to...
View Article