3.0
Table Of Contents
- SOAP API Guide
- Contents
- About This Book
- 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
Lab Manager SOAP API Guide
40 VMware, Inc.
catch (Exception e)
{
Console.WriteLine("Error: " + e.Message);
Console.ReadLine();
}
ConfigurationDeploy
Thismethodallowsyoutodeployanundeployedconfigurationwhichresidesinthe
Workspace.
Syntax
ConfigurationDeploy(6, false, 1);
Arguments
Response
Noresponse.
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";
Field Data Type Description
configurationID int NumericidentifieroftheconfigurationintheWorkspace.
isCached boolean Alwayssetafalsevalue.
isFenced int 1=Notfenced.
2=Fenced–Blocktrafficinandout.
3=Fenced–Allowtrafficoutonly.
4=Fenced–Allowtrafficinandout.
Whenyoufenceaconfiguration,only
theprimaryNICis
fenced.