The CreateAddedSoftwarePackageProcedure2 method creates a new software package procedure. Files in addition to those that are in the software package (to which this procedure is associated) may be added to the procedure definition.
Additionally, this method provides the functionality to shut down a target computer after completion of the jobs. The method takes the sequence CreateSoftwarePackageProcedureProperties2, which includes another sequence SoftwarePackageProcedureBootMask2. The SoftwarePackageProcedureBootMask2 sequence contains the option ShutdownAfterLast that lets you shut down the target computer after completion of the jobs.
This method also lets you use the software package procedure comment as a default user message for the jobs created using this procedure.
Parameters
Specifies the session identifier obtained from the login method of the web service.
Specifies the properties required to create a software package procedure.
Specifies the path to the files that the procedure requires in addition to those that are in the software package to which the procedure is associated.
Return Values
Returns the UUID of the new procedure if a software package procedure is successfully created.
Remarks
None
The CreateAddedSoftwarePackageProcedure3 method creates a new software package procedure. Files in addition to those that are in the software package (to which this procedure is associated) may be added to the procedure definition.
This method is provided to support “excludeFromRAC” option while creating the procedure, the existing API’s doesn’t have the option.
Parameters
Session Id. got from the login to the web service.
Specifies the properties required to create a software package procedure.
Specifies the path to the files that the procedure requires in addition to those that are in the software package to which the procedure is associated.
Return Values
UUID of the newly created software procedure
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|