2.4
Table Of Contents
- VMware® Lab Manager SOAP API Guide
- Contents
- Preface
- Introducing VMware Lab Manager SOAP API
- Getting Started with the Lab Manager SOAP API
- Lab Manager API Data Types
- Lab Manager API Method Reference
- ConfigurationCapture
- ConfigurationCheckout
- ConfigurationClone
- ConfigurationDelete
- ConfigurationDeploy
- ConfigurationPerformAction
- ConfigurationSetPublicPrivate
- ConfigurationUndeploy
- GetConfiguration
- GetConfigurationByName
- GetMachine
- GetMachineByName
- GetSingleConfigurationByName
- ListConfigurations
- ListMachines
- LiveLink
- MachinePerformAction
- Index
VMware, Inc. 55
Chapter 4 Lab Manager API Method Reference
catch (Exception e)
{
Console.WriteLine("Error: " + e.Message);
Console.ReadLine();
}
LiveLink
ThismethodallowsyoutocreateaLiveLinkURLtoalibraryconfiguration.
Syntax
string url = LiveLink(“LiveLinkWin2K”));
Arguments
Response
Sample Code: C#
try
{
LabManagerSoap.VMwareLabManagerSOAPinterface binding = new
LabManagerSoap.VMwareLabManagerSOAPinterface();
//** Create login
binding.AuthenticationHeaderValue = new
LabManagerSoap.AuthenticationHeader();
binding.AuthenticationHeaderValue.username = "jaya";
binding.AuthenticationHeaderValue.password = "Lab Manager";
binding.Url =
"https://demo18.LabManager.com/LabManager/SOAP/LabManager.asmx";
binding.Timeout = 10 * 60 * 1000; // 10 minutes
ServicePointManager.CertificatePolicy = new CertificateAccepter();
//** Get Configuration object
Table 4-27. Arguments
Field Data Type Description
configurationName string Thenameofalibraryconfiguration.
Table 4-28. Response
Field Data Type Description
URL string AstringcontainingtheconfigurationURLinthelibrary.TheURLcanbe
sentinanemailtorecreatetheconfigurationwhenclicked.