DepotObject - getDBKeyByTypeStringGroupAndName

DepotObject - getDBKeyByTypeStringGroupAndName

Description :

This command gets the DBKey to a depot object. You must provide the name of the depot object and the full path to the depot group containing the depot object. You must also provide a string describing the type of depot object. The following is a list of all valid depot object type strings, excluding software packages:

  • BLPACKAGE: BlPackage
  • DEPOT_FILE_OBJECT: file
  • NSHSCRIPT: NshScript
  • UCS_TEMPLATE: UCS template
  • UCS_MAC_POOL: UCS MAC pool
  • UCS_UUID_POOL: UCS UUID pool
  • UCS_STORAGE_POOL: UCS storage pool
  • UCS_BOOTABLE_STORAGE_POOL: UCS bootable storage pool
  • AGENT_BUNDLE: Agent Bundle
    The following is a list of software installables that are also valid depot objects:
  • AIX_PATCH_INSTALLABLE: AIX patch
  • AIX_PACKAGE_INSTALLABLE: AIX package
  • HP_PRODUCT_INSTALLABLE: HP-UX product
  • HP_BUNDLE_INSTALLABLE: HP-UX bundle
  • HP_PATCH_INSTALLABLE: HP-UX patch
  • RPM_INSTALLABLE: Linux RPM
  • SOLARIS_PATCH_INSTALLABLE: Solaris patch
  • SOLARIS_PACKAGE_INSTALLABLE: Solaris package
  • HOTFIX_WINDOWS_INSTALLABLE: Windows HotFix
  • SERVICEPACK_WINDOWS_INSTALLABLE: Windows Service Pack
  • MSI_WINDOWS_INSTALLABLE: Windows MSI Package
  • INSTALLSHIELD_WINDOWS_INSTALLABLE: Windows InstallShield Package

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

depotObjectTypeString

String

String representation of depot object type. For more detailed information, see the description above.

groupName

String

Fully qualified path to the parent depot group.

depotObjectName

String

Name of the depot object.

Example

The following example shows how to get the DBKey for an NSH script that is a depot object:

Script





SCRIPT_KEY=`blcli DepotObject getDBKeyByTypeStringGroupAndName NSHSCRIPT /scripts reboot` 



Was this page helpful? Yes No Submitting... Thank you

Comments