connection datasource-type get
Retrieve the data source type details.
Syntax
cpd-cli connection datasource-type get \
[--accept-language=<user-locale>] \
[--actions=true|false] \
[--connection-properties=true|false] \
[--context=source|target] \
[--cpd-config=<cpd-config-location>] \
--datasource-type=<datasaource-type-id> \
[--discovery=true|false] \
[--entity-environment=<cloud,streams,local>] \
[--entity-product=<string1,string2,...>] \
[--interaction-properties=true|false] \
[--jmes-query=<jmespath-query>] \
[--output=json|yaml|table] \
[--output-file=<output-file-location>] \
[--product-selector-scopeglobal|context] \
--profile=<cpd-profile-name> \
[--quiet] \
[--raw-output=true|false] \
[--verbose]
Arguments
The connection datasource-type get
command has no arguments.
Options
Option | Description |
---|---|
--accept-language |
Specify the user's preferred
locale identifier.
|
--actions |
When the option is set to 'true',
supported action information is returned.
|
--connection-properties |
When the option is set to 'true',
connection property information is returned.
|
--context |
Specify whether assets
are discovered for reading (source) or writing (target). 'source' is the default when
no value is
specified.
|
--cpd-config |
The Cloud Pak for Data
configuration location. For example,
$HOME/.cpd-cli/config.
|
--datasource-type |
Specify the name or ID of the
data
source type to connect to. For example, "cfdcb449-1204-44ba-baa6-9a8a878e6aa7"
or
"db2".
|
--discovery |
When the option is set to 'true',
discovery capability information is returned.
|
--entity-environment |
Specify the environment that the
data source type must support to be returned. The available environments are 'cloud',
'streams', and
'local'. Filtering is not applied unless the entity environment is specified. Use a
comma-separated
string to specify multiple environments. For
example,
--entity-environment=cloud,streams.
|
--entity-product |
Specify the environment that the
data source type must support to be returned. The available environments are 'cloud',
'streams', and
'local'. Filtering is not applied unless the entity environment is specified. Use a
comma-separated
string to specify multiple environments. For
example,
--entity-environment=cloud,streams.
|
|
Display command
help.
|
--interaction-properties |
When set to
'true', information about source and target interaction properties is
returned.
|
--jmes-query |
The Lucene
query.
|
--output |
Specify an output
format.
|
--output-file |
Specify a file path where all
output is redirected.
|
--product-selector-scope |
Specify the scope of the UI-only
product selector property. The option applies to output under the common_properties key. Generated
UI contains an option to switch between the first of the requested products and the rest. When a
single product is specified, the option switches between the specified product and the remaining
products that are supported by the data source.
|
--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.
|
--quiet |
Suppress verbose
messages.
|
--raw-output |
When set to true, single values
are not surrounded by quotation marks in
JSON output
mode.
|
--verbose |
Logs include more detailed
messages.
|
Table 1: Command options
Examples
- Retrieve the
dashdb
data source type. -
cpd-cli connection datasource-type get \ --datasource-type=dashdb
- Example results.
-
ID: cfdcb449-1204-44ba-baa6-9a8a878e6aa7 Name: dashdb Description: Db2 Warehouse Type: database Tags: []