blueprint create
Adds a new blueprint from a file or from a URL.
Sub-commands
from-url
Creates a blueprint by downloading it from a URL location
from-file
Creates a blueprint by reading it from a local file
Required options
Options required for
from-url
sub-command:
--name [$VALUE]
Name for the blueprint
--url [$VALUE]
URL location of the Ambari blueprint JSON file
Options required for
from-file
sub-command:
--name [$VALUE]
Name for the blueprint
--file [$VALUE]
Location of the Ambari blueprint JSON file on the local machine
Options
--description [$VALUE]
Description of the resource
--datalake
Marks the blueprint with "Data Lake Ready" tag
--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
Adds a blueprint from a URL:
cb blueprint create from-url --url https://someurl.com/test.bp --name test1
Adds a blueprint from a local file:
cb blueprint create from-file --file /Users/test/Documents/blueprints/test.bp --name test2
Adds a blueprint from a local file and marks it as "Data Lake Ready":
cb blueprint create from-file --file /Users/test/Documents/blueprints/testdl.bp --name testdl --datalake