ExtendedObjectClass - addIconAssociation


ExtendedObjectClass - addIconAssociation

Description :

This command associates an icon with an an extended object class.

Before using this command, you need to add the icon to the BMC BladeLogic system. You can do this by using the GUI : createIcon command.

For osNshName, specify the NSH name of the operating system for the extended object. Here are the available names:

  • WindowsNT = All Windows operating systems
  • SunOS = All Solaris operating systems
  • AIX = All AIX operating systems
  • HP-UX = All HP-UX operating systems
  • Linux = All Linux variants including ESX (VMware)
  • Unknown = Unknown operating system

Return type : com.bladelogic.om.infra.model.base.SUiExtendedObjectIcon

Command Input :

Variable Name

Variable Type

Description

extendedObjectName

String

Name of the extended object.

osNshName

String

NSH name of the associated operating system.

iconName

String

Name of the icon defined in the icon library.

Example

The following example associates an icon called routerIcon to the router extended object. In this example, the operating system for the extended object is unknown.

Script





ExtendedObjectClass addIconAssociation router Unknown routerIcon



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*