cloudera.cloud.datalake_backup_info module – Gather information about a Datalake backup
Note
This module is part of the cloudera.cloud collection (version 3.0.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.datalake_backup_info
.
New in cloudera.cloud 3.0.0
Synopsis
Gather information about a Datalake backup
Optionally filter by backup name or backup id
Parameters
Parameter |
Comments |
---|---|
The id of the backup |
|
The name of the backup |
|
The name of the datalake to backup |
Examples
# Note: These examples do not set authentication details.
- name: Gather information about all backups for a Datalake
cloudera.cloud.datalake_backup_info:
datalake_name: "datalake"
register: backup_result
- name: Gather information about a specific backup name for a Datalake
cloudera.cloud.datalake_backup_info:
datalake_name: "datalake"
backup_name: "backup"
register: backup_result
- name: Gather information about a specific backup id for a Datalake
cloudera.cloud.datalake_backup_info:
datalake_name: "datalake"
backup_id: "backup_id"
register: backup_result
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Information about the backup Returned: always |
|
The account id Returned: always |
|
The backup id Returned: always |
|
The location of the backup Returned: always |
|
The name of the backup Returned: always |
|
The end time of the backup Returned: always |
|
The state of each internal backup components Returned: always |
|
The start time of the backup Returned: always |
|
The status of the backup Returned: always |
|
The user crn Returned: always |