cloudera.cloud.de_virtual_cluster_info module – Gather information about CDP Data Engineering Virtual Clusters
Note
This module is part of the cloudera.cloud collection (version 3.3.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.de_virtual_cluster_info.
New in cloudera.cloud 1.5.0
Synopsis
Gather information about CDP Data Engineering Virtual Clusters
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 CDP environment name of the CDE Service containing the Virtual Cluster(s). |
|
The HTTP user agent to use for Cloudera on cloud API requests. Default: |
|
If a name is provided, that Virtual Cluster will be described (if it exists). Note that Virtual Cluster names are unique within a given CDE Service. |
|
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: |
|
The name of the CDE Service containing the Virtual Cluster(s). |
|
Legacy CDPy SDK error handling. Choices:
|
Examples
# Note: These examples do not set authentication details.
- name: List basic information about all Virtual Clusters within a CDE Service
cloudera.cloud.de_virtual_cluster_info:
environment: my-environment
service_name: my-cde-service
- name: Gather detailed information about a named Virtual Cluster
cloudera.cloud.de_virtual_cluster_info:
environment: my-environment
service_name: my-cde-service
name: my-virtual-cluster
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 Virtual Cluster or Virtual Clusters. Returned: always |
|
Access control details for the Virtual Cluster. Returned: when available |
|
Cluster ID of the CDE Service that contains the Virtual Cluster. Returned: always |
|
Email address of the creator of the Virtual Cluster. Returned: when available |
|
Resource details of the Virtual Cluster. Returned: when available |
|
Spark configurations applied to all jobs run in the Virtual Cluster. Returned: when available |
|
Spark version for the Virtual Cluster. Returned: when available |
|
Status of the Virtual Cluster. Returned: always |
|
URL for the Virtual Cluster APIs. Returned: when available |
|
Virtual Cluster ID. Returned: always |
|
Name of the Virtual Cluster. Returned: always |
|
Tier of the Virtual Cluster (ALLP or CORE). Returned: when available |