CustomCmd - addOSToCustomCmd
CustomCmd - addOSToCustomCmd
Description :
This command adds a new operating system to a custom command.
Return type : com.bladelogic.om.infra.model.customcommand.CustomCmd
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
typeId | Integer | The existing association for this command (SERVER - 5004, DIRECTORY - 8, FILE - 7). |
Name | String | Name of the custom command. |
OS | Integer | ID of the operating system you want to add to this command (Unknown - 51, AIX - 35, HPUX - 5, LINUX - 3, SOLARIS - 2, WINDOWS - 1). |
Example
See createRemoteCustomCmd or createLocalCustomCmd for an example.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*