2.5
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
VMware Lab Manager SOAP API Guide
40 VMware, Inc.
//** Delete configuration if it isn’t deployed
if (!deployed)
{
binding.ConfigurationDelete(configurationId);
}
else
{
//**
//** Must undeploy configuration before deleting it
//**
binding.ConfigurationUndeploy(configurationId);
binding.ConfigurationDelete(configurationId);
}
}
catch (Exception e)
{
Console.WriteLine("Error: " + e.Message);
Console.ReadLine();
}
ConfigurationDeploy
Thismethodallowsyoutodeployanundeployedconfigurationwhichresidesinthe
Workspace.
Syntax
ConfigurationDeploy(6, false, 1);
Arguments
Response
none
Table 4-9. Arguments
Field Data Type Description
configurationID int NumericidentifieroftheconfigurationintheWorkspace.
isCached boolean Alwayssetafalsevalue.
isFenced int 1=Notfenced.
2=Fenced—Blocktrafficinandout.
3=Fenced—Allowtrafficoutonly.
4=Fenced—Allowtrafficinandout.