CustomCmd - addAssociationToCustomCmd
CustomCmd - addAssociationToCustomCmd
Description :
This command adds a new association to a custom command. An association indicates what type of server object(s) the command can run against - servers, directories, files, or any combination.
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. |
newTypeId | Integer | The new association you want to add to this command (SERVER - 5004, DIRECTORY - 8, FILE - 7). |
Example
See createRemoteCustomCmd or createLocalCustomCmd for an example.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*