PatchCatalog - getCatalogIdByTypeStringAndFullyQualifiedCatalogName

PatchCatalog - getCatalogIdByTypeStringAndFullyQualifiedCatalogName

Description :

This command returns the catalog group ID 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 : Integer

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 group ID. 

Script

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

Comments