Reconfigure A Virtual Machine - VMware VCLOUD API 1.0 - API Programming Manual

Table of Contents

Advertisement

</Features>
</Configuration>
</NetworkConfig>
</NetworkConfigSection>
Response:
202 Accepted
Content-Type: application/vnd.vmware.vcloud.task+xml
...
<Task ... operation="Updating Virtual Application Linux FTP server (7)" ...>
...
</Task>
The response is a Task element.
View or Modify vApp Lease Settings
Lease settings apply to both vApps and vApp templates, although vApp templates do not include deployment 
lease information (DeploymentLeaseInSeconds and DeploymentLeaseExpiration). Default vApp lease 
settings are inherited from the organization that owns the vDC in which the vApp is deployed. You can 
override these defaults in the InstantiateVAppTemplateParams request body (see "Instantiating a vApp 
Template Using Additional Parameters" on page 62). You can view the lease settings by retrieving the vApp or 
vAppTemplate representation. To modify them, use the edit link in the LeaseSettingsSection, as 
described in "Reconfigure a vApp" on page 69.

Reconfigure a Virtual Machine

Table
5‐2 summarizes virtual machine reconfiguration requests supported in this release. The table uses the 
following conventions:
API‐URL is a URL of the form http://vcloud.example.com/api/v1.0
id is an integer
VMware, Inc.
<DestinationIp>10.147.115.1</DestinationIp>
</FirewallRule>
<FirewallRule>
<IsEnabled>true</IsEnabled>
<Description>SSH Rule</Description>
<Policy>allow</Policy>
<Protocols>
<Tcp>true</Tcp>
</Protocols>
<Port>22</Port>
<DestinationIp>10.147.115.1</DestinationIp>
</FirewallRule>
</FirewallService>
<NatService>
<IsEnabled>true</IsEnabled>
<NatType>ipTranslation</NatType>
<Policy>allowTraffic</Policy>
<NatRule>
<OneToOneVmRule>
<MappingMode>manual</MappingMode>
<ExternalIp>64.100.10.1</ExternalIp>
<VAppScopedVmId>20ea086f-1a6a-4fb2-8e2e-23372facf7de</VAppScopedVmId>
<VmNicId>0</VmNicId>
</OneToOneVmRule>
</NatRule>
</NatService>
Chapter 5 Datacenter Operations
73

Advertisement

Table of Contents
loading

Table of Contents