service-instance
create
Important: IBM Cloud Pak® for Data
Version 4.8 will reach end of support (EOS) on 31 July, 2025. For more information, see the Discontinuance of service announcement for IBM Cloud Pak for Data Version 4.X.
Upgrade to IBM Software Hub Version 5.1 before IBM Cloud Pak for Data Version 4.8 reaches end of support. For more information, see Upgrading from IBM Cloud Pak for Data Version 4.8 to IBM Software Hub Version 5.1.
Create a Cloud Pak for Data service instance from a JSON request file.
Syntax
cpd-cli service-instance create \
--generate-template-from=<get-command-response-file> \
--from-source=<json-template> \
--profile=<cpd-profile-name> \
[--verbose]
Arguments
The create command has no
arguments.
Options
| Option | Description |
|---|---|
--from-source |
Specify the JSON template file
location and name. The JSON template file is used to create the service instance.
|
--generate-template-from |
Specify a JSON file location and
name. The JSON file is used to generate a JSON template file from which the service instance is
created. The JSON file can store information about different contexts, where each context can refer
to a different environment.
|
--help |
Display command
help.
|
--profile |
The name of the profile that you
created to store information about an instance of Cloud Pak for Data and your credentials for the
instance.
|
--verbose |
Logs include more detailed
messages.
|
Table 1: Command options
Examples
You can use the create command to create
service instances only if the service supports it. For more information, see the following topics.
- Creating a service instance for Analytics Engine powered by Apache Spark with the cpd-cli service-instance create command
- Creating a service instance for watsonx Assistant with the cpd-cli service-instance create command
- Creating a service instance for Watson Discovery with the cpd-cli service-instance create command
- Creating a service instance for Watson Speech services with the cpd-cli service-instance create command