cloneConfiguration

Clones the specified configuration.

Applies to Clouds and Integration Appliances.

Parameters:

projectName
The name of the specified project.
version
The version number for the specified project.
oldConfigName
The name of the configuration being cloned.
newConfigName
The name of the cloned configuration.
Returns:
The cloned configuration.

Examples:

The following code is an example of a SOAP request to clone a configuration.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:dep="http://www.approuter.com/schemas/2008/1/deployment">
 <soapenv:Header>
  <dep:sessionId>855BE295392375C8551C8B98D6EA4774</dep:sessionId>
 </soapenv:Header>
 <soapenv:Body>
  <dep:cloneConfiguration>
   <dep:projectName>GenericProject_1_Cloud</dep:projectName>
   <dep:version>1.0</dep:version>
   <dep:oldConfigName>GenericProject_2_Cloud</dep:oldConfigName>
   <dep:newConfigName>GenericProject_3_Cloud</dep:newConfigName>
  </dep:cloneConfiguration>
 </soapenv:Body>
</soapenv:Envelope>
The following example is the SOAP response to the request.
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
 <S:Body>
  <ns2:cloneConfigurationResponse xmlns:ns2="http://www.approuter.com/
  schemas/2008/1/deployment" xmlns:ns3="http://www.approuter.com/schemas/2008/1/
  deployment/types" xmlns:ns4="http://www.approuter.com/schema/router/1000/
  security/03" xmlns:ns5="http://www.approuter.com/schemas/2008/1/util/types">
   <ns2:success>true</ns2:success>
  </ns2:cloneConfigurationResponse>
 </S:Body>
</S:Envelope>



Feedback | Notices


Timestamp icon Last updated: Thursday, December 17, 2015


http://pic.dhe.ibm.com/infocenter/wci/v7r0m0/topic/com.ibm.wci.api.doc/ci00094.html