Cloudbreak CLI Reference
Also available as:
PDF

imagecatalog create

Registers a new custom image catalog based on the URL provided.

Required options

--name [$VALUE] Name for the image catalog

--url [$VALUE] URL location of the image catalog JSON file

Options

--description [$VALUE] Description for the recipe

--server [$VALUE] Cloudbreak server address [$CB_SERVER_ADDRESS]

--username [$VALUE] Cloudbreak user name (e-mail address) [$CB_USER_NAME]

--password [$VALUE] Cloudbreak password [$CB_PASSWORD]

--workspace [$VALUE] Name of the workspace where to create the resource

--profile [$VALUE] Selects a config profile to use [$CB_PROFILE]

--auth-type [$VALUE] Authentication method to use. Values: oauth2, basic [$CB_AUTH_TYPE]

Examples

Registers an image catalog called “mycustomcatalog” which is available at https://example.com/myimagecatalog.json:

cb imagecatalog create --name mycustomcatalog --url https://example.com/myimagecatalog.json