cloudera.cloud.df_deployment_info module – Gather information about CDP DataFlow Deployments

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.df_deployment_info.

Synopsis

  • Gather information about CDP DataFlow Deployments

Requirements

The below requirements are needed on the host that executes this module.

  • cdpy

Parameters

Parameter

Comments

cdp_region

aliases: cdp_endpoint_region, endpoint_region

string

Specify the Cloudera Data Platform endpoint region.

Default: "default"

crn

aliases: dep_crn

string

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

debug

aliases: debug_endpoints

boolean

Capture the CDP SDK debug log.

Choices:

  • false ← (default)

  • true

name

string

If a name is provided, the DataFlow Deployment with this name will be described

Mutually exclusive with the crn argument

profile

string

If provided, the CDP SDK will use this value as its profile.

verify_endpoint_tls

aliases: endpoint_tls

boolean

Verify the TLS certificates for the CDP endpoint.

Choices:

  • false

  • true ← (default)

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 name
- cloudera.cloud.df_deployment_info:
    name: crn:cdp:df:region:tenant-uuid4:deployment:deployment-uuid4/deployment-uuid4

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key

Description

deployments

list / elements=dictionary

The information about the named DataFlow Deployment or DataFlow Deployments

Returned: always

activeErrorAlertCount

integer

Current count of active alerts classified as an error.

Returned: always

activeWarningAlertCount

integer

Current count of active alerts classified as a warning.

Returned: always

autoscaleMaxNodes

complex

The maximum number of nodes that the deployment can scale up to, or null if autoscaling is not enabled for this deployment.

Returned: always

autoscaleMinNodes

integer

The minimum number of nodes that the deployment will allocate. May only be specified when autoscalingEnabled is true.

Returned: always

autoscalingEnabled

boolean

Whether or not to autoscale the deployment.

Returned: always

clusterSize

string

The initial size of the deployment.

Returned: always

configurationVersion

integer

The version of the configuration for this deployment.

Returned: always

crn

string

The DataFlow Deployment’s CRN.

Returned: always

currentNodeCount

integer

The current node count.

Returned: always

deployedByCrn

string

The actor CRN of the person who deployed the flow.

Returned: always

deployedByName

complex

The name of the person who deployed the flow.

Returned: always

dfxLocalUrl

string

Base URL to the DFX Local instance running this deployment.

Returned: always

flowCrn

string

The deployment’s current flow CRN.

Returned: always

flowName

string

The name of the flow.

Returned: always

flowVersion

integer

The version of the flow.

Returned: always

flowVersionCrn

string

The deployment’s current flow version CRN.

Returned: always

lastUpdatedByName

string

The name of the person who last updated the deployment.

Returned: always

name

string

The DataFlow Deployment’s name.

Returned: always

nifiUrl

string

The url to open the deployed flow in NiFi.

Returned: always

service

dictionary

Metadata about the parent DataFlow service.

Returned: always

cloudProvider

string

The cloud provider for the parent environment.

Returned: always

crn

string

The CRN of the parent service.

Returned: always

environmentCrn

string

The CDP parent Environment CRN.

Returned: always

name

string

The name of the parent environment.

Returned: always

region

string

The region within the parent environment cloud provider.

Returned: always

staticNodeCount

integer

The static number of nodes that the deployment will allocate. May only be specified when autoscalingEnabled is false.

Returned: always

status

dictionary

The status of a DataFlow deployment.

Returned: always

detailedState

string

The state of the Deployment.

Returned: always

message

string

A status message for the Deployment.

Returned: always

state

string

The state of the Deployment.

Returned: always

updated

integer

Timestamp of the last time the deployment was modified.

Returned: always

sdk_out

string

Returns the captured CDP SDK log.

Returned: when supported

sdk_out_lines

list / elements=string

Returns a list of each line of the captured CDP SDK log.

Returned: when supported

Authors

  • Dan Chaffelson (@chaffelson)