Quantcast
Channel: VMware Communities : Discussion List - Virtual Disk Development Kit
Browsing all 2039 articles
Browse latest View live

Login Exception: The request has invalid accept header

I get this exception when I call the vCloudClient.Login method.  We're running 1.5.0.464915 of vCloud Director and I have 1.5.0.1 of the .NET SDK installed and referenced in my Visual Studio project....

View Article


.NET SDK: Setting VM Hardware During vApp Compose Problems

I want to set CPU, Hardware, Memory and Hard Disk values for a child VM during vApp composition.  If someone can tell me how to do this, that would be great. As another way of achieving what I need, I...

View Article


How to update (set) ParentNetwork on vApp

I have a vApp that was instantiated from a vAppTemplate.  The vAppTemplate contains one network, and this network is bridged to an OrgNetwork.  Everything works as expected when the instantiation is to...

View Article

Adding a new hard disk?

I am trying to add a new hard disk to a VM.   Does anyone have an example for doing this?  I'm finding it is not a trivial task using the SDK.

View Article

Adding/Importing User to Org Issues

Hello, I am attemping to import a user from LDAP using the SDK, then share a vApp with that user.  I am trying to adapt the sample code which demonstrates how to add a user to do this. First of all,...

View Article


How to get vAppTemplate network configuration

I am hitting a problem trying to get the vAppTemplate network configuration. With the 1.0 SDKtemplate.GetNetworkConfigSection().NetworkConfig[0].Featureshad a bunch of information - like...

View Article

NetworkConfigSectionType does not have href set via SDK

In the code below url should get a value that can be used to directly get a network configuration - it does not.  It is null.  If I look at trhe rest XML directly the data exists in the returned XML)...

View Article

How to get VAppScopedLocalId from SDK

If using the rest API directly a tag exists:<Vm>   <VAppScopedLocalId>169b20c8-8a41-40f0-bbbb-52a842efa66a</VAppScopedLocalId></Vm>This ID is used for network connection and nat...

View Article


How to import OVF to catalog

I know I have to be missing something, but figured I would ask while I am looking. I have an OVF and disk files.  I want to import it into the system, how via the SDK can I do this?  I assumed Catalog...

View Article


Duplicate children VM's listed

I am having an problem where when I load a vAppTemplate and look at the children (GetChildren) I see two of every VM. Quick example: VappTemplate has 3 VM's in it.  ServerA, ServerB, ServerC foreach...

View Article

Vapp.GetChildrenVms() Throwing Exception

I keep getting the same “Object reference not set to an instance of an object" exception when the GetChildrenVms() method is called on an instantiated Vapp object.  I'm debugging and I can see that the...

View Article

Unsigned assemblies

Hello guys, My aplication has only strong-named assemblies...How can I add references to these SDK's assemblies? thx

View Article

obtaining shadow vm's references

Hello, When I try to callList<ReferenceType> refs = com.vmware.vcloud.sdk.VappTemplate.GetVappTemplateByReference(client, vdc.GetVappTemplateRefs()[0])....

View Article


PowerOn operation not working

I have some vApps that the PowerOn operation is not working for soem VM's. Code run...  isDeployed = TRUE, status=8 bool isDeployed = vapp.IsDeployed();int status =...

View Article

vdc.GetOrgReference() causes null pointer exception

Looks like possible 1.5 sdk bug in getting Org settings froma VDC. Vdc vdc = Vdc.GetVdcByReference(client, template.GetVdcReference());ReferenceType temp = vdc.GetOrgReference();temp.href at this point...

View Article


Unique instance ID

How can I get a unique VCD Instance ID (Installation ID, unique vcloud name)?

View Article

Having issue with QueryService

I am attempting to get a list of VM's back that have a specific status. Code: QueryService queryService = client.GetQueryService();QueryParams<QueryVMField> query = new...

View Article


How to get ShadowVM information

I am trying to use the API to figure out if a shadow VM is being used currently, and if so by what. How would I go about this?I do not see a method at the VM level that will let you see its...

View Article

Looking for documentation on SdkUtil and RestUtil packages

Looking for documentation on SdkUtil and RestUtil packages... I have uses RestUtil.Put to perfom an action that returned a task, and it worked fine.  However if I take the exact same url, message, and...

View Article

Problem with SDK QueryService for getting ADMINSHADOWVM

I am getting an error trying to use the query service for getting shadowVM records.Onc I get this list I will be deleting some - but I cannot seem to get the query to work.  Bug in the SDK? Error:...

View Article
Browsing all 2039 articles
Browse latest View live


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