environment
Manage environments and runtimes.
Extended description
Before you can complete certain Cloud Pak for Data setup and management tasks, you
must create a profile so that you can run the appropriate cpd-cli
commands. A profile enables the cpd-cli
to verify that you are a
Cloud Pak for Data user and that you have
the appropriate administrator permissions to complete a given task.
Prerequisites
cpd-cli
- Before you run any
cpd-cli
commands, ensure that you downloaded thecpd-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
environment
commands are relevant only when common core services are installed.
Required permissions
The environment
command requires
cluster administrator or similar roles.
Commands
Command | Description |
---|---|
environment create |
Create an environment. |
environment delete |
Delete a specific environment. |
environment get |
Retrieve a specific environment. |
environment hardware-specification create |
Create a hardware specification. |
environment hardware-specification delete |
Delete a specific hardware specification. |
environment hardware-specification get |
Retrieve a specific hardware specification. |
environment hardware-specification list |
List all hardware specifications. |
environment hardware-specification update |
Update a specific hardware specification. |
environment list |
List all environments in a specific project. Environments are filtered by type and include all default environments (which are available in every project). |
environment package-extension create |
Create a package extension. |
environment package-extension delete |
Delete a specific package extension. |
environment package-extension get |
Retrieve a specific package extension. |
environment package-extension list |
List all package extensions. |
environment package-extension update |
Update a package extension. Authorization rules for package extensions follow those of /v2/assets for projects or spaces. |
environment package-extension upload-complete |
Indicate that the upload of the library file that is attached to the package extension is complete and the package extension is usable. Authorization rules for package extensions follow those of /v2/assets for projects or spaces. |
environment software-specification add-package-extensions |
Add a specific package extension to a specific software specification. When successful, the specified package extension is appended to the array entity.software_specification.package_extensions (it is the last package extension in that array). |
environment software-specification create |
Create a software specification. |
environment software-specification delete |
Delete a specific software specification. |
environment software-specification get |
Retrieve a specific software specification. |
environment software-specification list |
List all software specifications. |
environment software-specification remove-package-extensions |
Remove a specific package extension from a specific software specification. When successful, the specified package extension is removed from the array entity.software_specification.package_extensions. |
environment software-specification update |
Update a specific software specification. |
environment update |
Update a specific environment. |