Previous Topic: CreateAddedSoftwarePackageProcedureNext Topic: CreateSoftwarePackageProcedure


CreateAddedSoftwarePackageProcedure2

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

xsd:string sessionId (m)

Specifies the session identifier obtained from the login method of the web service.

CreateSoftwarePackageProcedureProperties2 softwarePackageProcedureProperties (m)

Specifies the properties required to create a software package procedure.

xsd:string sourcePath

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

xsd:string createAddedSoftwarePackageProcedureReturn

Returns the UUID of the new procedure if a software package procedure is successfully created.

Remarks

None

More information:

SoftwarePackageProcedureProperties2

CreateAddedSoftwarePackageProcedure3

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

xsd:string sessionId

Session Id. got from the login to the web service.

dsm:CreateSoftwarePackageProcedureProperties3 softwarePackageProcedureProperties

Specifies the properties required to create a software package procedure.

xsd:string sourcePath

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

xsd:string softwarePackageProcedureUUID

UUID of the newly created software procedure