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

Add Second NIC To Existing VM

Hello, Can someone help me in figuring out how to add a second NIC to an existing VM. I am currently using the .NET SDK V1.5. I would greatly appreciate if you can also show me some code samples.

View Article


Login valid for TTL?

Currently I create a new connection for many operations we perform.  I am looking to make this work a little better and going to keep a connection for a longer period of file. After I get a...

View Article


GetShadowVmReferences() - Operation Not Supported.

I am getting an error trying to get details about shadow VM's on a template. com.vmware.vcloud.sdk.utility.VCloudException: Operation Not Supported.  VappTemplate vappTemplate =...

View Article

Problems about API of setting host from 'active' to 'maintenance'

Hi all, A requirenment I need to meet is to change the host in a datacenter from 'active host' to 'maintenance host'.Is there any api to call to achieve this goal, or other approaches? Thanks.   Ronnie

View Article

Uploading vmdk file task failed. The error message is " System.outOfMemory"

Hi everyone,     I performed vCloud Director SDK .net sample "HellovCloud"  to upload vmdk file, but the visual studio poped up "System.outOfMemory" message. My environment is visual studio 2010 and...

View Article


Assign static hostname to VMs

Hello All, I have a query in regards to vcloud director 1.5.1. Is there a way to assign static hostnames to the VM which are created through vApp?There is a requirement to set the hostname along with...

View Article

VCDSDKNET510 link is broken

Link from http://communities.vmware.com/community/vmtn/developer/forums/vcloudsdk-net (big "DOWNLOAD") button.to http://vmware.com/download/download.do?downloadGroup=VCDSDKNET510 opens an empty page....

View Article

5.1 .NET Runtime Version

Hello, is there some reason that the .NET SDK for vCD 5.1 only supports version 4.0 of the .NET framework?  I have an application that requires that I use 3.5, but I need to use a new feature of vCD...

View Article


Sample for download vAppTemplate

I was looking at the samples and I did not see one around downloading and uploaded a vAppTemplate.  v5.1 added methods to simply this, however they fail whenever I use them, no good error or stack...

View Article


upload a ovf vm template to catalog through vcloud failed!

In vCloud1.5, I want to upload a ovf vm template to catalog, It  failed.the error message:

View Article

How to set VM NetworkConnectionType during InstantiateVappTemplate

I am trying to get some code that worked fine with VCD 1.5 working in VCD 5.1.  I have a vAppTemplate that I want to instantiate.This vApp template has one vm in it.  This one vm is connected to an org...

View Article

How to update CPU and memory when ComposingVapp

I'm composing a vApp in .Net using the 1.5 API and am getting an exception when setting the CPU count                 vappTemplateItem.InstantiationParams = new InstantiationParamsType                {...

View Article

Access is forbidden when Login using vCloudClient

Hello guys, My code to login to vCloud (the code is from the sample code with support funtion FakeCertificatePolicy()) client = new vCloudClient(vCloudURL,...

View Article


Scan all org, vm...in vcloud while keeping the login account READONLY?

Hi everyone,I'm using SDK 1.5 for .NET and vCloud Director 1.5.1.I have problem to get public IPs and used storage: I'm writing a program to get usage for VM (vCPU, RAM, HDD....) from vcloud...

View Article

How to get public IPs and used storage

Hi everyone,I'm using SDK 1.5 for .NET and vCloud Director 1.5.1.I have problem to get public IPs and used storage: 1) Public IPsvm.GetIpAddressesById().Count; give me all the IP but not the one with...

View Article


vmotion History from VMware.Vim API

I want to retrieve the list of machines has a Vmotion task during past 10 min from Vsphere.I am using VMware.Vim API for the development .I want to know is there a method available in the ViM for...

View Article

How to develop app's using vSphere SDK

Hi All, i am new to SDK, have installed VS2K8, .Net SDK 2.0 and have SDK Downloaded. i have tried to follow "Developer’s Setup Guide VMware vSphere Web Services SDK 5.1" but not able to set the...

View Article


Always DHCP gets assigned instead of Static ip pool in .net sdk 5.1

I am instantiating a vapp from template which has org network that is static ip pool. I am setting networkconfigtype as followsnetworkConfigurationType.ParentNetwork =...

View Article

Converting QueryResultAdminVMRecordType to VMType

Hello, How can I convert QueryResultAdminVMRecordType to VMType which will repesent single virtual machine instance?Any sample will be useful. Thanks,-AsHwIN

View Article

The parameter is not supported in the current context: DomainName

Hello, I'm using below source code to update VMs full and computer name.  List<VM> vms = refreshedVapp.GetChildrenVms();foreach (VM vm in vms){     List<Task> tasks = refreshedVapp.Tasks;...

View Article
Browsing all 2039 articles
Browse latest View live


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