Quantcast
Channel: VMware Communities: Message List - VMware vCloud Director
Viewing all articles
Browse latest Browse all 7719

Need to rename Virtual Machine name through vCD REST API client

$
0
0

Hi All,

 

I need to rename a Virtual Machine name through vCD REST API client. I am able to deploy and rename vApp as given below. But not able to rename a Virtual Machine during or after vApp deployment.

 

                          <?xml version="1.0" encoding="UTF-8"?>

                           <InstantiateVAppTemplateParams

                           xmlns="http://www.vmware.com/vcloud/v1.5" name="vAppName"

                           deploy="true"

                           powerOn="true"

                           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                           xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1">

                           <Description>Sample vApp deployment via SDK</Description>

                           <Source href="https://server_iphttps://server_ip/api/vAppTemplate/vappTemplate-814b4514-b60d-44fc-bcba-d903d1ef4f2b"//api/vAppTemplate/vappTemplate-814b4514-b60d-44fc-bcba-d903d1ef4f2b"/>

                          </InstantiateVAppTemplateParams>

 

Your help would be highly appreciated

 

Thanks,


Viewing all articles
Browse latest Browse all 7719

Trending Articles



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