cloudera.cloud.dw_virtual_warehouse_info module – Gather information about CDP Data Warehouse Virtual Warehouses
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_virtual_warehouse_info
.
Synopsis
Gather information about CDP Virtual Warehouses
Requirements
The below requirements are needed on the host that executes this module.
cdpy
Parameters
Parameter |
Comments |
---|---|
The identifier of the parent Database Catalog attached to the Virtual Warehouse(s). Requires cluster_id. Mutally exclusive with warehouse_id and name. |
|
Specify the Cloudera Data Platform endpoint region. Default: |
|
The identifier of the parent Data Warehouse Cluster of the Virtual Warehouse(s). |
|
Capture the CDP SDK debug log. Choices:
|
|
The internal polling interval (in seconds) while the module waits for the Virtual Warehouse to achieve the declared state. Default: |
|
The name of the Virtual Warehouse. Requires cluster_id. Mutually exclusive with warehouse_id and catalog_id. |
|
If provided, the CDP SDK will use this value as its profile. |
|
The internal polling timeout (in seconds) while the module waits for the Virtual Warehouse to achieve the declared state. Default: |
|
Verify the TLS certificates for the CDP endpoint. Choices:
|
|
The identifier of the Virtual Warehouse. Requires cluster_id. Mutually exclusive with name and catalog_id. |
Examples
# Note: These examples do not set authentication details.
# List all Virtual Warehouses in a Cluster
- cloudera.cloud.dw_virtual_warehouse_info:
cluster_id: example-cluster-id
# List all Virtual Warehouses associated with a Data Catalog
- cloudera.cloud.dw_virtual_warehouse_info:
cluster_id: example-cluster-id
catalog_id: example-data-catalog-id
# Describe a Virtual Warehouse by ID
- cloudera.cloud.dw_virtual_warehouse_info:
cluster_id: example-cluster-id
warehouse_id: example-virtual-warehouse-id
# Describe a Virtual Warehouse by name
- cloudera.cloud.dw_virtual_warehouse_info:
cluster_id: example-cluster-id
name: example-virtual-warehouse
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 details about the CDP Data Warehouse Virtual Warehouse(s). Returned: success |
|
The creation time of the Virtual Warehouse in UTC. Returned: always |
|
Details about the Virtual Warehouse creator. Returned: always |
|
The creator’s Actor CRN. Returned: always |
|
Email address (for users). Returned: when supported |
|
Username (for machine users). Returned: when supported |
|
Username (for users). Returned: when supported |
|
The Database Catalog ID associated with the Virtual Warehouse. Returned: always |
|
The identifier of the Virtual Warehouse. Returned: always |
|
The name of the Virtual Warehouse. Returned: always |
|
The status of the Virtual Warehouse. Returned: always |
|
Custom tags applied to the Virtual Warehouse. Returned: always |
|
The Virtual Warehouse type. Returned: always |