Previous Topic: SetSoftwarePackageNext Topic: Software Policies


UnsealSoftwarePackages

The UnsealSoftwarePackages method unseals one or more software packages.

Parameters

xsd:string sessionId (m)

The session identifier.

ArrayOfstring softwarePackageIds (m)

An array of software package UUIDs identifying the software packages to unseal.

Return Values

This is a void method that does not expose a return value.

Remarks

None

CreateSoftwarePackage3

The CreateSoftwarePackage3 method is used to create a package in the SD library and supports the creation of wrapper packages.

Parameters

xsd:string sessionId

Specifies the session ID obtained from the DSM web services login.

dsm:CreateSoftwarePackageProperties3 pkgProps

Includes the software package properties and the properties for wrapper packages.

xsd:Boolean sealAfterCreate

Specifies whether the package must be sealed after creation.

Return Values

xsd:string packageId

Returns the UUID of the created package.

More information:

CreateSoftwarePackageProperties3

SetSoftwarePackage3

The SetSoftwarePackage3 method is used to edit both the software package and also Debian wrapper package.

Parameters

xsd:string sessionId

Specifies the session ID obtained from the DSM web services login.

dsm:SetSoftwarePackageProperties3 pkgProps

Specifies the properties of the package that you want to edit.

xsd:Boolean sealAfterEdit

Specifies whether the package must be sealed after editing.

Note: If the package is in a sealed state, you can only edit the comments and enableCheckSum fields.

This parameter is ignored when the package is in a sealed state. The edit operation fails if the package is sealed and you try to set all the package properties.

More information:

SetSoftwarePackageProperties3

GetSoftwarePackage3

The GetSoftwarePackage3 method retrieves the software package properties from the Debian wrapper package.

Parameters

xsd:string sessionId

Specifies the session ID obtained from the DSM web services login.

xsd:string packageId

Specifies the UUID of the Debian wrapper package, the properties of which are retrieved.

dsm:SoftwarePackagePropertiesRequired3 propertiesRequired

Specifies the software package properties to retrieve.

Return Values

dsm:SoftwarePackageProperties3

Returns the properties of the software package.

More information:

SoftwarePackageProperties3

SoftwarePackagePropertiesRequired3

GetSoftwarePackageList3

The GetSoftwarePackageList3 method retrieves the list of software packages and their properties from a specified software package group.

Parameters

xsd:string sessionId

Specifies the session ID obtained from the DSM web services login.

xsd:string softwarePackageGroupId

Specifies the UUID of the software package group from which the packages list is retrieved.

Note: Pass NULL to retrieve all softwares.

dsm:SoftwarePackagePropertiesRequired3 softwarePackagePropertiesRequired (m)

Specifies the properties that are required when getting a software package from the list.

dsm: ArrayOfSoftwarePackageFilter3 filterArray

Specifies the filter on software package properties

dsm:SoftwarePackageProperty sortProperty

Specifies the property based on which you want to sort the packages.

xsd:boolean ascending

Specifies that the sorting takes place in ascending order.

Xsd:long index

Specifies the starting index for the list.

xsd:long numRequired

Specifies the total number of packages to get from the list.

Xsd:boolean refreshList

Specifies that the result set is recomputed for each call.

Return Values

xsd:long totalNumPackages

Returns the total number of packages available for the specified filter condition.

dsm: ArrayOfSoftwarePackageProperties3 swPkgArray

Returns the array of SoftwarePackages properties.

More information:

ArrayOfSoftwarePackageFilter3

SoftwarePackagePropertiesRequired3

ArrayOfSoftwarePackageProperties3

GetSoftwarePackageInstallationList

The GetSoftwarePackageInstallationList method retrieves the list of installations for a given software package. This method is supported only on the domain manager.

Parameters

xsd:string sessionId

Specifies the session ID obtained from the DSM web services login.

xsd:string softwarePackageId

Specifies the UUID of the software package for which you want the installations list.

xsd:string unitGroupId

Specifies the UUID the group for which you want the installations list. You can also use this parameter to return a list of software package installations to units in a specific group.

dsm:UnitSoftwareJobPropertiesRequired unitSoftwareJobPropertiesRequired

Specifies the properties that want to get from each installation in the list.

Xsd:long index

Specifies the starting index for the list.

xsd:long numInstallationsRequired

Specifies the number of installations to get from the list.

Return Values

Xsd:int totalNumInstallations

Returns the total number of installations in the list.

dsm:ArrayOfUnitSoftwareJobProperties3 arrOfUnitSoftwareJobProperties

Returns an array of UnitSoftwareJobProperties, one for each software package installation that are requested from the list.

More information:

ArrayOfUnitSoftwareJobProperties3

GetSoftwarePackageList

The GetSoftwarePackageList method returns the registered software packages in a domain manager. This method supports the sort and filter operations also.

Parameters

xsd:string sessionId

Specifies the session ID obtained from the DSM web services login.

xsd:string softwarePackageGroupId

Specifies the UUID of the software package group from which the software packages have to be listed. Specify NULL to list all software packages.

dsm:SoftwarePackagePropertiesRequired softwarePackagePropertiesRequired

Specifies the software package properties you want retrieve from the list.

dsm: ArrayOfSoftwarePackageFilter filterArray

Specifies an array of filter conditions on software package properties.

dsm:SoftwarePackageProperty sortProperty

Specifies the property based on which you want to sort the results.

xsd:boolean sortAscending

Specifies whether you want to sort the list in ascending order.

Xsd:long index

Specifies an index number from which you want the items must be returned from the result set. The index is zero-based.

xsd:long numRequired

Specifies the number of objects you want to retrieve from the startIndex position.

Xsd:boolean refreshList

Specifies whether you want to recompute the result set for each call.

Return Values

xsd:long totalNumPackages

Contains the total number of packages available for the specified filter condition.

dsm: ArrayOfSoftwarePackageProperties2 swPkgArray

Contains an array of software packages properties.