cloudera.cloud.df_service_info module – Gather information about CDP DataFlow Services
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_service_info.
New in cloudera.cloud 1.2.0
Synopsis
Gather information about CDP DataFlow Services
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:
|
|
If a df_crn is provided, that DataFlow Service will be described Mutually exclusive with name and env_crn |
|
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:
|
|
If an env_crn is provided, the DataFlow Service for that Environment will be described Mutually exclusive with name and df_crn |
|
The HTTP user agent to use for Cloudera on cloud API requests. Default: |
|
If a name is provided, that DataFlow Service will be described Must be the string name of the CDP Environment Mutually exclusive with df_crn and env_crn |
|
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 Services
- cloudera.cloud.df_service_info:
# Gather detailed information about a named DataFlow Service using a name
- cloudera.cloud.df_service_info:
name: example-service
# Gather detailed information about a named DataFlow Service using a Dataflow CRN
- cloudera.cloud.df_service_info:
df_crn: crn:cdp:df:region:tenant-uuid4:service:service-uuid4
# Gather detailed information about a named DataFlow Service using an Environment CRN
- cloudera.cloud.df_service_info:
env_crn: crn:cdp:environments:region:tenant-uuid4:environment:environment-uuid4
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
|---|---|
Returns the captured CDP SDK log. Returned: when supported |
|
Returns a list of each line of the captured CDP SDK log. Returned: when supported |
|
The information about the named DataFlow Service or DataFlow Services 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 authorized IP Ranges. Returned: always |
|
The cloud platform of the environment. Returned: always |
|
Cluster id of the environment. Returned: if enabled |
|
The DataFlow Service’s CRN. Returned: always |
|
The deployment count. Returned: always |
|
The URL of the environment local DataFlow application. Returned: always |
|
The DataFlow Service’s Parent Environment CRN. Returned: always |
|
The instance type of the kubernetes nodes currently in use by DataFlow for this environment. Returned: always |
|
The number of kubernetes nodes currently in use by DataFlow for this environment. Returned: always |
|
The maximum number of kubernetes nodes that environment may scale up under high-demand situations. Returned: always |
|
The minimum number of Kubernetes nodes that need to be provisioned in the environment. Returned: always |
|
The DataFlow Service’s parent environment name. Returned: always |
|
The region of the environment. Returned: always |
|
The status of a DataFlow enabled environment. Returned: always |
|
A status message for the environment. Returned: always |
|
The state of the environment. Returned: always |