vmrc.connect returning undefined value
when i called the vmrc.connect it is showing the result "undefined"i am using the below code :var ret = vmrc.connect(host, '', false, ticket, '', '', vmid, '', ''); my plug in is already connected when...
View Articlehow to create vm from existing vapp template
looking at the sample code in HellovCloud.cs, it shows how to create a vapp template and use that to create a vapp, but can someone provide an example of how to select an existing vapp template and use...
View ArticleVCloudException: Bad request: Cannot parse 'XXX' as date
Hello, Does anybody know how to pass date into filter parameter of QueryRecords function. Whatever date format I use, it keeps returning this error.Here is the code snippet:...
View ArticleHow to get Bandwidth of a virtual machine
Hi everyone,I'm using SDK 1.5 for .NET and vCloud Director 1.5.1.As the title, I don't know how to get bandwidth of a VM.Please show me the ways.Thanks so much for any help !
View ArticleGuide on using helper functions (like RestUtil)
Any guide or documents exist on using the helper functions in the SDK. Quick example of a question I have, and figure a quick easy answer must exist - but do not see documented. I want to do a rest...
View ArticleVM Deploy with ForceCustomization (true) is not working
I could not get vm.Deploy(true,1800000,true); to deploy with ForceCustomization. The guest scripts configured are not executing. However if i do the same from the web UI Director menu item "Power on...
View Articledelete Vapp, "No access to entity"
i'm trying to delete a Vapp and am getting the error "No Access to Entity" on the line that says vapp.Undeploy what does this error mean and how can i correctly turn delete a running vapp?...
View ArticlevCloud .net SDK error System.Net (wrong vmware account)
My first journey at programming with the vCloud .net SDK and I failed at the first hurdle. I tried to create a simple form at the only object I want to pull back is Org objects. But when I run I get a...
View ArticlevCloud .net SDK error System.Net
My first journey at programming with the vCloud .net SDK and I failed at the first hurdle. I tried to create a simple form at the only object I want to pull back is Org objects. But when I run I get a...
View Articlegetting started with .net sdk and api
i am trying to login and am getting this error: VCloudRuntimeException: The given header was not found what does that mean? thanks.
View ArticleChaging the Disk mode to Persistent using Vim Api c#
I want to change the Disk mode of an exsting Vm using the C# Vim Api.Ie am looking to convert the powerShell script to a c# version using the VIM API PowerShell Script :Set-HardDisk -Persistence...
View ArticleTrouble Cloning VM
Background:I work at a university. For each computer class, we want to create a new vDC and within that, create a single new vApp (from a Template). Then for each each student in the class, we want to...
View ArticleGet user information from user reference
Hi everyone, I'm new to this forum and I have a question regarding the .Net SDK. In my coding I have a user reference type and get the belonging user like Dim myUser AsUser =...
View ArticleMethod to view XML created for method calls?
Does anyone know of a way to log the XML in/out (out is what I really need) when using the .NET SDK? I would like to see the Rest messages being sent on a few requests as it would really help with...
View ArticleUpdate vDC Description
How do I update the description for an existing vDC? EDIT: Really for that matter, how do I retieve the description of a vDC? I see no property or method for this.
View ArticleAdding Metadata to vDC
How do I add meta data to an existing vDC or how do I add it when I'm creating a new on?I've review the .net SDK & really can't see how to do it. thanks.
View ArticleUnable to create network. Invalid network parameter: Subnet mask cannot be...
I am facing a problem while adding an “isolated” network to an existing vApp. Getting exception thrown with message “Unable to create network “mynetwork”. Invalid network parameter: Subnet mask cannot...
View ArticleHelp: how can I revert a VM using vCloud SDK for .NET?
I need help to revert a VM using latest .NET API Any code exaple?
View ArticleWhen logging in with vCloud .Net SDK I'm getting "The request has invalid...
Hi all. I'm using the following version of the .Net SDK: VMware-vCloudDirector-.NetSDK-5.1.0.1-1054916 I'm running the sample ListAllvApps and in the Login method call I'm getting an exception with the...
View ArticleHow to get VappTemplate list
I am looking for a good way to ge ta list of all VappTemplates currently in the system. I have a method that works, but is slow (takes 20-30 seconds). Method I am using (looking for something better):...
View Article