cloudera.cloud.dw_data_visualization module – Create or Delete CDP Data Visualization Instance
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.dw_data_visualization
.
Synopsis
Create or Delete CDP Data Visualization Instance
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: |
|
The identifier of the Data Warehouse Cluster. Mutually exclusive with environment. |
|
User and Admin groups that can access the Data Visualization Instance. userGroups: List of user groups that have access to the instance. Example: [‘group1’, ‘group2’] adminGroups: List of admin groups that have full control over the instance. Example: [‘admin_group1’, ‘admin_group2’] |
|
List of admin groups that have full control over the Data Visualization Instance. Must be a list of strings, e.g., [‘admin_group1’, ‘admin_group2’]. |
|
The Resource Pool of the Cloudera Data Visualization. |
|
List of user groups that have access to the Data Visualization Instance. Must be a list of strings, e.g., [‘group1’, ‘group2’]. |
|
Capture the CDP SDK debug log. Choices:
|
|
The internal polling interval (in seconds) while the module waits for the Data Visualization Instance to achieve the declared state. Default: |
|
The name of the target environment. Mutually exclusive with cluster_id. |
|
Version of the Cloudera Data Visualization. |
|
The name of the Data Visualization Instance. This name must be unique, must have between 5 and 20 characters, and must contain only lowercase letters, numbers, and hyphens. |
|
If provided, the CDP SDK will use this value as its profile. |
|
The state of the Data Visualization Instance Choices:
|
|
The template size for the Cloudera Data Visualization. |
|
The internal polling timeout (in seconds) while the module waits for the Data Visualization Instance to achieve the declared state. Default: |
|
Verify the TLS certificates for the CDP endpoint. Choices:
|
|
Flag to enable internal polling to wait for the Data Visualization Instance to achieve the declared state. If set to FALSE, the module will return immediately. Choices:
|
Examples
# Note: These examples do not set authentication details.
# Create Data Visualization Instance
- cloudera.cloud.dw_data_visualization:
environment: example-env
name: example-name
config:
userGroups: "[ example_user_group ]"
adminGroups: "[ example_admin_group ]"
state: present
# Delete Data Visualization Instance
- cloudera.cloud.dw_data_visualization:
environment: example-env
name: example-name
state: absent
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Details for the Data Visualization Instance Returned: success |
|
The CRN of the creator of the Data Visualization Instance. Returned: always |
|
The unique id of the Data Visualization instance Returned: always |
|
The current version of Data Visualization Returned: always |
|
The name of the Data Visualization instance Returned: always |
|
The size of the Data Visualization instance Returned: always |
|
The status of the Data Visualization instance Returned: always |
|
Returns the captured CDP SDK log. Returned: when supported |
|
Returns a list of each line of the captured CDP SDK log. Returned: when supported |