Information
Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

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*

BMC Server Automation Command Line Interface 8.5