notebook

Manage Cloud Pak for Data notebooks.

Extended description

You can use the notebook, environment, and job commands to automate the flow.

  • Create notebooks.
  • Run notebook jobs.
  • Move notebooks between projects in Cloud Pak for Data.
  • Add custom libraries to notebook runtime environments.
  • Promote notebooks to deployment spaces.

Prerequisites

cpd-cli
Before you run any cpd-cli commands, ensure that you downloaded the cpd-cli 12.0.6 command line utility for your operating system and Cloud Pak for Data edition from: https://github.com/IBM/cpd-cli/releases.
Common core services
The notebook commands are relevant only when common core services are installed.

Required permissions

The notebook command requires cluster administrator or similar roles.

Commands

Command Description
notebook create Create a notebook by referencing the notebook content with the required attributes (file-reference, name, project or space, and runtime or compute).
notebook delete Delete a notebook, including the notebook asset.
notebook revert Revert the master notebook to a prior version.
notebook update Update a specific notebook.
notebook version create Create a version for a specific notebook.
notebook version delete Delete a specific notebook version.
notebook version get Retrieve a specific notebook version.
notebook version list List all notebook versions.
notebook version update Update a notebook version.