PatchCatalog - getCatalogDBKeyByTypeStringAndFullyQualifiedCatalogName

PatchCatalog - getCatalogDBKeyByTypeStringAndFullyQualifiedCatalogName

Description :

This command returns the catalog DBKey for the specified details. You must provide a string describing the type of job and the fully qualified catalog name. The following is a list of all valid catalog type strings:

  • RED_HAT_CATALOG_GROUP
  • SOLARIS_CATALOG_GROUP
  • WINDOWS_CATALOG_GROUP
  • OTHER_LINUX_CATALOG_GROUP
  • AIX_CATALOG_GROUP
  • UBUNTU_CATALOG_GROUP

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

typeString

String

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

catalogPath

String

Fully qualified path to the catalog.

Example

The following example shows how to get the catalog DBKey. 

Script

CATALOG_KEY=`blcli PatchCatalog getCatalogDBKeyByTypeStringAndFullyQualifiedCatalogName WINDOWS_CATALOG_GROUP "/Workspace/Patch Catalogs" "Windows 2016"`
Was this page helpful? Yes No Submitting... Thank you

Comments