cloudera.cloud.df_customflow_info module – Gather information about CDP DataFlow Custom Flow Definitions
Note
This module is part of the cloudera.cloud collection (version 3.1.0).
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.
To use it in a playbook, specify: cloudera.cloud.df_customflow_info.
New in cloudera.cloud 1.6.0
Synopsis
Gather information about CDP DataFlow Custom Flow Definitions
Custom flows are user-created flow definitions uploaded to the DataFlow catalog
Parameters
Parameter |
Comments |
|---|---|
If provided, the Cloudera on cloud API will use this value as its access key. If not provided, the API will attempt to use the value from the environment variable Required if Mutually exclusive with |
|
If provided, the Cloudera on cloud API will use this value as its credentials path. If not provided, the API will attempt to use the value from the environment variable Default: |
|
If Choices:
|
|
The Cloudera on cloud API endpoint to use. If not provided, the API will attempt to use the value from the environment variable Mutually exclusive with |
|
Specify the Cloudera on cloud API endpoint region. See Cloudera Control Plane regions for more information. If not provided, the API will attempt to use the value from the environment variable
Mutually exclusive with Choices:
|
|
Verify the TLS certificates for the Cloudera on cloud API endpoint. Choices:
|
|
The HTTP user agent to use for Cloudera on cloud API requests. Default: |
|
If set to false, only a summary of each flow is returned If set to true, detailed information including versions is returned Choices:
|
|
If provided, the Cloudera on cloud API will use this value as its private key. If not provided, the API will attempt to use the value from the environment variable Required if |
|
If provided, the Cloudera on cloud API will use this value as its profile. If not provided, the API will attempt to use the value from the environment variable Default: |
|
If a search term is provided, flows matching this term will be returned Searches by flow name |
|
Legacy CDPy SDK error handling. Choices:
|
Examples
# Note: These examples do not set authentication details.
# List basic information about all DataFlow Custom Flows (summary only)
- cloudera.cloud.df_customflow_info:
# Search for flows matching a name (summary only)
- cloudera.cloud.df_customflow_info:
search_term: my-custom-flow
# Search for flows matching a name with detailed information
- cloudera.cloud.df_customflow_info:
search_term: my-custom-flow
include_details: true
# Using the 'name' alias (backward compatibility)
- cloudera.cloud.df_customflow_info:
name: my-custom-flow
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
|---|---|
The information about the named DataFlow Custom Flow or DataFlow Custom Flows Returned: always |
|
The type of artifact Returned: always |
|
Author of the most recent version Returned: when include_details is True |
|
The collection CRN Returned: when available |
|
The collection name Returned: when available |
|
The created timestamp (milliseconds since epoch) Returned: when include_details is True |
|
The artifact CRN Returned: always |
|
The artifact description Returned: when include_details is True |
|
The modified timestamp (milliseconds since epoch) Returned: when available |
|
The artifact name Returned: always |
|
The number of versions uploaded to the catalog Returned: always |
|
The list of flow versions Returned: when include_details is True |
|
The author of the flow Returned: when available |
|
The bucketIdentifier of the flow Returned: when available |
|
Comments about the flow Returned: when available |
|
The flow version CRN Returned: always |
|
The number of deployments of the flow Returned: when available |
|
The number of draft flows associated with the version Returned: when available |
|
The list of tags associated with the flow version Returned: when available |
|
The color of the version tag Returned: when available |
|
The name of the version tag Returned: always |
|
The timestamp of the flow (milliseconds since epoch) Returned: when available |
|
The version of the flow Returned: when available |
|
Returns the captured API HTTP log. Returned: when supported |
|
Returns a list of each line of the captured API HTTP log. Returned: when supported |