cloudera.cloud.df_deployment_info module – Gather information about CDP DataFlow Deployments
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_deployment_info.
New in cloudera.cloud 1.6.0
Synopsis
Gather information about CDP DataFlow Deployments
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 a crn is provided, that DataFlow Deployment will be described Must be the string CRN of the deployment object Mutually exclusive with the name argument |
|
If Choices:
|
|
The Cloudera on cloud API endpoint to use. 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 a name is provided, the DataFlow Deployment with this name will be described Mutually exclusive with the crn argument |
|
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: |
|
Legacy CDPy SDK error handling. Choices:
|
Examples
# Note: These examples do not set authentication details.
# List basic information about all DataFlow Deployments
- cloudera.cloud.df_deployment_info:
# Gather detailed information about a named DataFlow Deployment using a crn
- cloudera.cloud.df_deployment_info:
crn: crn:cdp:df:region:tenant-uuid4:deployment:deployment-uuid4/deployment-uuid4
# Gather detailed information about a named DataFlow Deployment using a name
- cloudera.cloud.df_deployment_info:
name: test-dataflow-deployment
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 Deployment or DataFlow Deployments Returned: always |
|
Current count of active alerts classified as an error. Returned: always |
|
Current count of active alerts classified as a warning. Returned: always |
|
The maximum number of nodes that the deployment can scale up to, or null if autoscaling is not enabled for this deployment. Returned: always |
|
The minimum number of nodes that the deployment will allocate. May only be specified when autoscalingEnabled is true. Returned: always |
|
Whether or not to autoscale the deployment. Returned: always |
|
The initial size of the deployment. Returned: always |
|
The version of the configuration for this deployment. Returned: always |
|
The DataFlow Deployment’s CRN. Returned: always |
|
The current node count. Returned: always |
|
The actor CRN of the person who deployed the flow. Returned: always |
|
The name of the person who deployed the flow. Returned: always |
|
Base URL to the DFX Local instance running this deployment. Returned: always |
|
The deployment’s current flow CRN. Returned: always |
|
The name of the flow. Returned: always |
|
The version of the flow. Returned: always |
|
The deployment’s current flow version CRN. Returned: always |
|
The name of the person who last updated the deployment. Returned: always |
|
The DataFlow Deployment’s name. Returned: always |
|
The url to open the deployed flow in NiFi. Returned: always |
|
Metadata about the parent DataFlow service. Returned: always |
|
The cloud provider for the parent environment. Returned: always |
|
The CRN of the parent service. Returned: always |
|
The CDP parent Environment CRN. Returned: always |
|
The name of the parent environment. Returned: always |
|
The region within the parent environment cloud provider. Returned: always |
|
The static number of nodes that the deployment will allocate. May only be specified when autoscalingEnabled is false. Returned: always |
|
The status of a DataFlow deployment. Returned: always |
|
The state of the Deployment. Returned: always |
|
A status message for the Deployment. Returned: always |
|
The state of the Deployment. Returned: always |
|
Timestamp of the last time the deployment was modified. Returned: always |
|
Returns the captured API HTTP log. Returned: when supported |
|
Returns a list of each line of the captured API HTTP log. Returned: when supported |