list-blueprints command

To list the blueprints that are in a catalog execute the list-blueprints command and pass it the following arguments:

  • --publicCatalog
List the blueprints in the public catalog. The --publicCatalog argument is optional.
  • --catalogid catalog_id

List the blueprints in the catalog specified by the internal catalog ID. The --catalogid argument is optional.

Note

The --publicCatalog command argument and the --catalogid command argument are mutually exclusive. If neither are specified then the catalog associated with the company of the user running the create-blueprint command (determined by the User API key) will be used.

See also

For more details on the list-blueprints command including additional options refer to the list-blueprints command reference page in this document.

Example 1

List the blueprints in the company catalog.

list-blueprints
Loading API environment
  API access validated
  API access key type is User, userId: 10
  Found public catalog, id= 10
  Found Customer catalog, id= 11
Defaulting to Customer catalog, id: 11

Number of Blueprints found: 1

+----+-----------------+----------------------------+---------+------------------------------+---------+
| Id | Name            | Description                | Version | Created                      | Updated |
+----+-----------------+----------------------------+---------+------------------------------+---------+
| 15 | GAF-Chef-Apache | Installs Apache using Chef | 1.00    | 2015-06-09T18:22:28.481+0000 | None    |
+----+-----------------+----------------------------+---------+------------------------------+---------+

Example 2

List the blueprints in the public catalog.

list-blueprints --publicCatalog
Loading API environment
  API access validated
  API access key type is User, userId: 10
  Found public catalog, id= 10
  Found Customer catalog, id= 11

Number of Blueprints found: 1

+----+-------------------------+----------------------------+---------+------------------------------+---------+
| Id | Name                    | Description                | Version | Created                      | Updated |
+----+-------------------------+----------------------------+---------+------------------------------+---------+
| 17 | Joomla Two Server Stack | Installs Joomla using Chef | 1.00    | 2015-06-09T19:19:48.164+0000 | None    |
+----+-------------------------+----------------------------+---------+------------------------------+---------+