This method sets the priority of a software job container.
Parameters
Specifies the session ID obtained from the login to the web service.
The UUID of the software job container whose priority is to be set.
Can be 1 (highest) to 10 (lowest).
Return Values
This is a void method that does not expose a return value.
Remarks
None
The DSM Web Services uses the methods listed in the subsequent section for OSIM functionality.
Consider the following factors when you use the OSIM web services:
The CreateOSIMComputer method is used to create a new computer for OS deployment.
Parameters
Specifies the session id obtained from the login to the web service.
Defines the properties to create a computer.
Return Values
Returns the UUID if a computer is created.
Remarks
This web service preregisters a new computer.
The RegisterComputerWithOSIM method is used to register the Client Automation computer for OSIM deployment.
Parameters
Specifies the session id obtained from the login to the web service.
Specifies the UUID of the computer.
Specifies the OSIM image.
Return Values
None
Remarks
None
The RegisterComputerWithOSIMByName method is used to register the Client Automation computer for OSIM deployment using the host name.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the host name of the target computer.
Specifies the OSIM image.
Return Values
None
Remarks
None
The ActivateOSInstallation method activates a planned installation request for execution.
Parameters
Specifies the session id obtained from the login to the web service.
Specifies the MAC address of the target computer.
Specifies that the boot server must send a wake on LAN to the target computer.
Specifies that the boot server must send a reboot request to the target computer.
Note: For the target computer to reboot, the software delivery agent must be installed.
Specifies that the execution must wait until the target computer is assigned a boot server.
Specifies if the manager must wait for the OS images.
Specifies the date and time for the installation. If start date is not specified, the installation begins immediately.
Return Values
None
Remarks
None
The ActivateOSInstallationByName method activates a planned installation request for execution by using the host name.
Parameters
Specifies the session id obtained from the login to the Web Service.
Specifies the computer label of the target computer.
Specifies the boot server to send a wake on LAN to the target computer.
Specifies the boot server to send a reboot request to the target computer.
Note: For the target computer to reboot, the software delivery agent must be installed.
Specifies that the execution must wait until the target computer is assigned a boot server.
Specifies if the manager must wait for the OS images.
Specifies the date and time for the installation. If the start date is not specified, the installation begins immediately.
Return Values
None
Remarks
None
The CancelOSInstallation method cancels the OS installation.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the MAC address of the target computer.
Specifies that the OS installation must be canceled.
Note: You cannot cancel an OS installation job that in Installing state.
Return Values
None
Remarks
None
The CancelOSInstallationByName method cancels the OS installation of the give host name.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the computer label of the target computer.
Specifies that the OS installation must be canceled.
Note: You cannot cancel an OS installation job that in Installing state.
Return Values
None
Remarks
None
The ReActivateOSInstallation method reactivates a canceled or a failed OS installation.
Parameters
Specifies the session id obtained from the login to the web service.
Specifies the MAC address of the target computer.
Specifies that the boot server must send a wake on LAN to the target computer.
Specifies if the bWakeOnLAN value is specified.
Specifies that the boot server must send a reboot request to the target computer.
Note: For the target computer to reboot, the software delivery agent must be installed.
Specifies if the bReboot value is specified.
Specifies that the execution must wait until the target computer is assigned a boot server.
Specifies if the bWaitForBootServer value is specified.
Specifies if the manager must wait for the OS images.
Specifies if the bWaitForImages value is specified.
Specifies the date and time for the installation. If start date is not specified, the installation begins immediately.
Return Values
None
Remarks
None
The ReActivateOSInstallationByName method reactivates a canceled or a failed OS installation of the given target computer.
Parameters
Specifies the session id obtained from the login to the Web Service.
Specifies the computer label of the target computer.
Specifies the boot server to send a wake on LAN to the target computer.
Specifies if the bWakeOnLAN value is specified.
Specifies the boot server to send a reboot request to the target computer.
Note: For the target computer to reboot, the software delivery agent must be installed.
Specifies if the bReboot value is specified.
Specifies that the execution must wait until the target computer is assigned a boot server.
Specifies if the bWaitForBootServer value is specified.
Specifies if the manager must wait for the OS images.
Specifies if the bWaitForImages value is specified.
Specifies the date and time for the installation. If the start date is not specified, the installation begins immediately.
Return Values
None
Remarks
None
The ReInstallOS method reinstalls the current OS.
Parameters
Specifies the session id obtained from the login to the web service.
Specifies the MAC address of the target computer.
Specifies that the boot server must send a wake on LAN to the target computer.
Specifies if the bWakeOnLAN value is specified.
Specifies that the boot server must send a reboot request to the target computer.
Note: For the target computer to reboot, the software delivery agent must be installed.
Specifies if the bReboot value is specified.
Specifies that the execution must wait until the target computer is assigned a boot server.
Specifies if the bWaitForBootServer value is specified.
Specifies if the manager must wait for the OS images.
Specifies if the bWaitForImages value is specified.
Specifies the date and time for the installation. If start date is not specified, the installation begins immediately.
Return Values
None
Remarks
None
The ReInstallOSByName method reinstalls the current OS by the host name of the target computer.
Parameters
Specifies the session id obtained from the login to the Web Service.
Specifies the computer label of the target computer.
Specifies the boot server to send a wake on LAN to the target computer.
Specifies if the bWakeOnLAN value is specified.
Specifies the boot server to send a reboot request to the target computer.
Note: For the target computer to reboot, the software delivery agent must be installed.
Specifies if the bReboot value is specified.
Specifies that the execution must wait until the target computer is assigned a boot server.
Specifies if the bWaitForBootServer value is specified.
Specifies if the manager must wait for the OS images.
Specifies if the bWaitForImages value is specified.
Specifies the date and time for the installation. If the start date is not specified, the installation begins immediately.
Return Values
None
Remarks
None
The DeRegisterOSIMComputer method removes a target computer from OSIM managed systems using the MAC address of the target computer.
Note: This method does not delete the target computer from the Client Automation MDB. If you do not remove the computer from the network and do not disable PXE, the computer reregisters with OSIM during the boot process.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the MAC address of the OSIM computer.
Return Values
None
Remarks
None
The DeRegisterOSIMComputerByName method removes a target computer from the OSIM managed systems using the host name of the target computer.
Note: This method does not delete the target computer from the Client Automation MDB. If you do not remove the computer from the network and do not disable PXE, the computer re-registers with OSIM during the boot process.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the computer label of the target computer.
Return Values
None
Remarks
None
The GetUnnamedOSIMRegisteredComputers method fetches the list of computers that are registered with OSIM from the network but not during discovered hardware. These computers show a MAC address and not the host name.
Parameters
Specifies the session ID obtained from the DSM web services login.
Return Values
Array of OSIM target properties, one for each OSIM registered computer. The array contains the following properties of the target computers:
Remarks
None
The GetUnmanagedOSIMRegisteredComputers fetches the list of computers that are in an unmanaged state.
Parameters
Specifies the session ID obtained from the DSM web services login.
Return Values
Array of the OSIM target properties, one for each unmanaged computer. The array contains the following properties of the target computers:
Remarks
None
The GetOSInstallationRequest method is used to retrieve the installation request details for the target computer.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the MAC address of the target computer.
Specifies the type of installation request.
Specifies if the configuration type is specified.
Return Values
Displays a list of OSIM installation request attributes. The array contains the following properties of the target computers:
Note: Activation time is not available for Planned requests.
The following details are available only for scheduled requests:
Remarks
None.
The GetOSInstallationRequestByName method is used to retrieve the installation request details for the target computer by using the host name.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the computer label of the target computer.
Specifies the type of installation request.
Specifies if the configuration type is specified.
Return Values
Displays the list of OSIM installation request attributes.The array contains the following properties of the target computers:
Note: Activation time is not available for Planned requests.
The following details are available only for scheduled requests:
Remarks
None.
The GetInstallationRequestList method is used to request the list of installation requests for the target computer.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the MAC address of the target computer.
Return Values
Displays the installation requests for the target computer. The array contains the installation request properties, one for each Installation Request:
Note: Activation time is not available for Planned requests.
The following details are available only for scheduled requests:
Remarks
None.
The GetInstallationRequestListByName method is used to retrieve the list of installation requests for the target computer by using the host name.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the computer label of the target computer.
Return Values
Displays the installation requests for the target computer. The array contains the installation request properties for the target computer:
Note: Activation time is not available for Planned requests.
The following details are available only for scheduled requests:
Remarks
None
The DeleteOSInstallationRequest method is used to delete a planned or scheduled installation of an OSIM target computer.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the MAC address of the target computer.
Specifies the installation request status of the OSIM computer.
Return Values
None
Remarks
None
The DeleteOSInstallationRequestByName method is used to delete a planned or scheduled installation of an OSIM target computer by using the host name.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the computer label of the target computer.
Specifies the installation request status of the OSIM computer.
Return Values
None
Remarks
None
The SetOSIMComputerMACAddressByName method is used to change the MAC address information and the installation requests by using the host name of a target computer.
Note: You can apply this method only when there is no scheduled request. If there is a scheduled request, it must be of Failed or Stopped status .
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the computer label of the target computer.
Specifies the new MAC address of the target computer.
Return Values
None
Remarks
None
The SetOSInstallationParameters method updates multiple OS installation parameters for a particular target identified by MAC address.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the MAC address of the target whose OS installation parameters are to be updated.
Specifies an array of installation parameters to be updated.
The SetOSInstallationParametersByName method updates multiple OS installation parameters for a particular target identified by computer label.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the computer label of the target whose OS installation parameters are to be updated.
Specifies an array of installation parameters to be updated.
The GetOSInstallationParameters method is used to fetch the installation parameter settings with the descriptions of planned, scheduled, or current installation request for the target computer.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the MAC address of the target computer.
Return values
Array of the installation parameters of the target computer.
Remarks
None
The GetOSInstallationParametersByName method is used to fetch the installation parameter settings with the descriptions of planned, scheduled, or current installation request by using the host name of the target computer.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the computer label of the target computer.
Return values
Array of the installation parameters of the target computer.
Remarks
None
The SetOSInstallationParameter method changes the OS installation parameter of the target computer.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the MAC address of the target computer.
Specifies the parameter name of the target computer.
Specifies the new parameter value of the target computer.
Return Values
None
Remarks
None
The SetOSInstallationParameterByName method changes the OS installation parameter by the host name of the target computer.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the computer label of the target computer.
Specifies the parameter name of the target computer.
Specifies the new parameter value of the target computer.
Return Values
None
Remarks
None
The OpenOSImageList method fetches the list of all available OS images.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies if the boot server name is entered.
Specifies the name of the boot server.
Specifies the filter on the OS image properties.
Specifies the condition on the filter properties.
Specifies the OS image property that you want to sort.
Specifies if the sorting is in ascending order.
Return Values
Specifies the numeric handle to a list of OS images that can be passed to GetOSImages.
Specifies the total number of images in the list returned by the OpenListHandle parameter.
TheGetOSImages method retrieves the properties of the OS images from OpenOSImageList.
Parameters
Specifies the session id obtained from the login to the web service.
Specifies the numeric handle to a list as returned by a previous call to OpenOSImageList.
Specifies the total number of OS images to fetch from the list. This must be less than or equal to the total number in the list as returned by a previous call to OpenOSImageList
Return Values
Displays the list of the open OS images.
Remarks
None
The CloseOSImageList method closes the list handle.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the list handle for the list of OS images.
Return Values
None
Remarks
None
The GetBootImageList method fetches all the available boot images.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies if the boot server name is entered.
Specifies the name of the boot server.
Return Values
Array of list of boot image properties. The array contains the following boot image properties:
The AssignOSIMTargetsToBootServer method assigns a list of target computers using the MAC address to a boot server.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the name of the boot server.
Specifies the list of MAC addresses of target computers.
Return Values
None
Remarks
None
The AssignOSIMTargetsToBootServerByName method assigns a list of target computers using the host names to a boot server.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the name of the boot server.
Specifies the list of computer labels of target computers.
Return Values
None
Remarks
None
The OpenScalabilityServerList fetches a list of all scalability servers registered with a domain manager.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the properties required to fetch a scalability server from the list.
Return Values
Specifies the numeric handle to a list of servers that is used by GetScalabilityServers.
Specifies the total number of images in the list returned by the OpenListHandle parameter..
Remarks
This method returns the size of the list and a handle to the list that can be used with the GetScalabilityServers method.
The GetScalabilityServers method retrieves the properties of the scalability servers from scalability server list.
Parameters
Specifies the session id obtained from the login to the Web Service.
Specifies the numeric handle to a list, returned by a previous call to OpenScalabilityServerList.
Specifies the total number of servers to get from the list. This must be less than or equal to the total number in the list, returned by a previous call to OpenScalabilityServerList
Return Values
Specifies an Array of scalability server properties, one for each server.
Remarks
None
The CloseScalabilityServerList closes the list of open scalability servers.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the total number of images in the list returned by the OpenListHandle parameter.
Return Values
None
Remarks
None
The SearchComputerProperty method checks if a computer with the given property value exists.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the computer property value that you want to search for.
Identifies the type of property.
Return Values
None
Remarks
None
The GetOSImageParameters method fetches the default parameter settings of an OS image.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the OS image name. The default parameter settings of the OS image specified will be retrieved.
Return Values
Array of the default parameters of the OS image.
Remarks
None
The GetBootServerList method fetches the list of boot servers registered with the domain manager.
Parameters
Specifies the session ID obtained from the DSM web services login.
Return Values
Array of boot server properties registered with the domain manager. The array contains the following boot server properties:
Remarks
None
The GetOSImageDeployedBootServers fetches the list of the boot servers where the OS image is registered.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the name of the OS image.
Return Values
Array of boot server properties registered with the domain manager. The array contains the following boot server properties:
Remarks
None
The GetBootImageDeployedBootServers method fetches the list of all the boot servers where the Boot image is registered.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the name of the boot image.
Return Values
Array of boot server properties registered with the domain manager. The array contains the following boot server properties:
Remarks
None
The DeRegisterOSImage method deregisters the OS image from the domain manager.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the name of the OS image.
Return Values
None
Remarks
None
The DeRegisterBootImage method deregisters the boot image from the domain manager.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the name of the boot image.
Return Values
None
Remarks
None
The AssignOSImageToOSIMTargets method assigns an OS image to target computers.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the name of the OS image.
Specifies an array of the list of computer labels for target computers.
Return Values
None
Remarks
None
The OpenOSIMTargetList method lists the handle of the registered OSIM target computers.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies if the boot server name is entered.
Specifies the name of the boot server.
Specifies the filter on the OS image properties.
Specifies the condition on the filter properties.
Specifies the OS Image property that you want to sort.
Specifies sorting in an ascending order.
Return Values
None
Remarks
None
The GetOSIMTargets method fetches the list of OSIM target computers.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the list handle of the list of OS images.
Specifies the number Of OSIM target computers.
Return Values
Remarks
None
The CloseOSIMTargetListmethod is used to close the OSIM target computers list handle.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the list handle of the list of OS images.
Return Values
None
Remarks
None
The GetOSIMTarget method fetches the properties of an OSIM Computer based on OSIM ComputerMACAddress
Parameters
Specifies the session identifier.
Specifies the MAC address of the OSIM computer.
Return Values
Returns an array that includes the following properties for the target computer:
Remarks
None
The GetOSIMTargetByName method fetches the properties of OSIM Computer based on OSIM ComputerLabel.
Parameters
Specifies the session identifier.
Specifies the label of the OSIM computer.
Return Values
Returns an array that includes the following properties for the target computer:
Remarks
None
The GetOSImages2method returns a list of OS images from a specified index number. For example, if the complete list of OS images has 10 images (from 0-9) and if you want to read from the fifth position, this method can return a list with images from 5 to 9.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the numeric handle to a list as returned by a previous call to OpenOSImageList.
Specifies the number of objects you want to retrieve from the startIndex position. This number must be less than or equal to the total number in the list as returned by a previous call to OpenOSImageList.
Specifies an index number from which you want the items must be returned from the result set. The index is zero-based.
Return Values
Displays an array of OS image properties for the images that are returned from the result set.
Remarks
None
The GetOSIMTargets2 method returns a list of OSIM registered computers from a specified index number. For example, if the complete list of OSIM registered computer has 10 computers (from 0-9) and if you want to read from the fifth position, this method can return a list with computers from 5 to 9.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the list handle of the list of OS images.
Specifies an index number from which you want the items must be returned from the result set. The index is zero-based.
Specifies the number of objects you want to retrieve from the startIndex position.
Return Values
Array of OSIM target properties, one for each OSIM target computer.
Remarks
None
The GetOSIMTargetList method returns the OSIM registered computers.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies whether the boot server name is entered.
Specifies the name of the boot server.
Specifies the filter on the OSIM computer properties.
Specifies whether you want all the filter conditions to be satisfied. Set the parameter to True to perform an AND operation. Set the parameter to False to perform an OR operation.
Specifies the property based on which you want to sort the results.
Specifies whether you want to sort the list in ascending order.
Specifies an index number from which you want the items must be returned from the result set. The index is zero-based.
Specifies the number of objects you want to retrieve from the startIndex position.
Specifies whether you want to recompute the result set for each call.
Return Values
Contains an array of OSIM target properties, one for each OSIM target computer.
Contains the total number of computers matching the filter condition.
Remarks:
Even though the interface contains parameters related to filtering, the method does not support filtering operations.
The SetOSInstallationParameter2 method changes the OS installation parameters for an array of computers identified by MACAddress.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies list of MAC addresses of target computers.
Specifies the parameter name of the OS installation parameter you want to change.
Specifies the OS installation parameter value you want to change. To update the default value, specify NULL.
Return Values
None
Remarks
None
The SetOSInstallationParameterByName2 method changes the OS installation parameter for an array of computers identified by the host name.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the list of computer labels of the target computers.
Specifies the parameter name of the OS installation parameter you want to change.
Specifies the OS installation parameter value you want to change. To update the default value, specify NULL.
Return Values
None
Remarks
None
The GetOSIMParameterDefaults method returns the supported values for an OS Installation parameter for OSIM Computers identified by MACAddress. For example, some of the OSIM parameters like, Time Zone, Language, and so on, have a set of valid values list for OS Image.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies list of MAC addresses of target computers.
Specifies the name of the parameter for which you want to retrieve the valid values.
Return Values
Returns an array of valid values for the specified parameter.
The GetOSIMParameterDefaultsByName method returns the supported values for an OS Installation parameter for OSIM Computers identified by the host name. For example, some of the OSIM parameters like, Time Zone, Language, and so on, have a set of valid values list for OS Image.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies the list of computer labels of target computers.
Specifies the name of the parameter for which you want to retrieve the valid values.
Return Values
Returns an array of valid values for the specified parameter.
The GetBootImageList2 method fetches all the registered boot images in a domain manager. This method also supports the sort and filter operations.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies if the boot server name is entered.
Specifies the name of the boot server.
Specifies an array of filter conditions on boot image properties.
Specifies the property based on which you want to sort the results.
Specifies whether you want to sort the list in ascending order.
Specifies an index number from which you want the items must be returned from the result set. The index is zero-based.
Specifies the number of objects you want to retrieve from the startIndex position.
Specifies whether you want to recompute the result set for each call.
Return Values
Contains the total number of images available for the specified filter condition.
Contains an array of boot image properties.
The GetBootServerList2 method returns the boot servers in the domain manager. This method supports the sort and filter operations also.
Parameters
Specifies the session ID obtained from the DSM web services login.
Specifies an array of filter conditions on boot server properties.
Specifies the boot server property based on which you want to sort the servers.
Specifies whether you want to sort the boot servers in ascending order. If set to True, the servers are sorted in ascending order based on the sort property you specified.
Specifies an index number from which you want the items must be returned from the result set. The index is zero-based.
Specifies the number of boot servers to get from the specified index number.
Specifies whether you want to recompute the result set for each call.
Return Values
Contains the total number of boot server available for the specified filter condition.
Contains an array of boot server properties.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|