cloudera.cloud.datahub_definition_info module – Gather information about CDP Datahub Cluster Definitions
Note
This module is part of the cloudera.cloud collection (version 2.5.1).
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install cloudera.cloud
.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: cloudera.cloud.datahub_definition_info
.
Synopsis
Gather information about CDP Datahub Cluster Definitions
Requirements
The below requirements are needed on the host that executes this module.
cdpy
Parameters
Parameter |
Comments |
---|---|
Specify the Cloudera Data Platform endpoint region. Default: |
|
Flag dictating if the workload template content of the cluster definition is returned Choices:
|
|
Capture the CDP SDK debug log. Choices:
|
|
If a name is provided, that Definition will be described. If a crn is provided, that Definition will be described. If no name provided, all Definitions will be listed. |
|
If provided, the CDP SDK will use this value as its profile. |
|
Verify the TLS certificates for the CDP endpoint. Choices:
|
Examples
# Note: These examples do not set authentication details.
# List basic information about all Datahubs
- cloudera.cloud.datahub_definition_info:
# Gather detailed information about a named Datahub
- cloudera.cloud.datahub_definition_info:
name: example-definition
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
The information about the named Definition or Definitions Returned: on success |
|
The cloud provider of the cluster definition. Returned: always |
|
The name of the cluster definition. Returned: always |
|
The CRN of the cluster definition. Returned: always |
|
The description of the cluster definition. Returned: always |
|
The node count of the cluster definition. Returned: always |
|
The product version of the cluster definition. Returned: always |
|
The type of cluster definition. Returned: always Sample: |
|
The workload template of the cluster definition, in JSON. Returned: when specified |
|
Returns the captured CDP SDK log. Returned: when supported |
|
Returns a list of each line of the captured CDP SDK log. Returned: when supported |