opentelekomcloud / opentelekomcloud.cloud / 0.14.2 / module / dns_recordset_info Get info about DNS recordsets. | "added in version" 0.8.1 of opentelekomcloud.cloud" Authors: Yustina Kvrivishvili (@YustinaKvr)opentelekomcloud.cloud.dns_recordset_info (0.14.2) — module
Install with ansible-galaxy collection install opentelekomcloud.cloud:==0.14.2
collections: - name: opentelekomcloud.cloud version: 0.14.2
Get DNS recordset info from the OTC.
#Get info about choosen DNS recordset. - opentelekomcloud.cloud.dns_recordset_info: zone: "ff80808275f5fc0f017e886898315ee9" name: "ff80808275f5fc0f017e886898315ee2" register: recordsets
auth: description: - Dictionary containing auth information as needed by the cloud's auth plugin strategy. For the default I(password) plugin, this would contain I(auth_url), I(username), I(password), I(project_name) and any information about domains (for example, I(os_user_domain_name) or I(os_project_domain_name)) if the cloud supports them. For other plugins, this param will need to contain whatever parameters that auth plugin requires. This parameter is not needed if a named cloud is provided or OpenStack OS_* environment variables are present. type: dict name: description: - ID or name of the existing record set. if zone is set we try to search recordsets in this zone, otherwise we list all recordsets and filter them by name. type: str tags: description: - Resource tag. type: str type: choices: - a - aaaa - mx - cname - txt - ns - srv - caa - ptr description: - Type of the recordsets to be queried. type: str wait: default: true description: - Should ansible wait until the requested resource is complete. type: bool zone: description: - ID or name of the required zone. If name had been provided, only public zone could be returned. If private zone is required, only ID should be passed. type: str cloud: description: - Named cloud or cloud config to operate against. If I(cloud) is a string, it references a named cloud config as defined in an OpenStack clouds.yaml file. Provides default values for I(auth) and I(auth_type). This parameter is not needed if I(auth) is provided or if OpenStack OS_* environment variables are present. If I(cloud) is a dict, it contains a complete cloud configuration like would be in a section of clouds.yaml. type: raw status: choices: - active - error - disable - freeze - pending_create - pending_update - pending_delete description: - Status of the recordsets to be queried. type: str ca_cert: aliases: - cacert description: - A path to a CA Cert bundle that can be used as part of verifying SSL API requests. type: str timeout: default: 180 description: - How long should ansible wait for the requested resource. type: int auth_type: description: - Name of the auth plugin to use. If the cloud uses something other than password authentication, the name of the plugin should be indicated here and the contents of the I(auth) parameter should be updated accordingly. type: str interface: aliases: - endpoint_type choices: - admin - internal - public default: public description: - Endpoint URL type to fetch from the service catalog. type: str client_key: aliases: - key description: - A path to a client key to use as part of the SSL transaction. type: str api_timeout: description: - How long should the socket layer wait before timing out for API calls. If this is omitted, nothing will be passed to the requests library. type: int client_cert: aliases: - cert description: - A path to a client certificate to use as part of the SSL transaction. type: str region_name: description: - Name of the region. type: str sdk_log_path: description: - Path to the logfile of the OpenStackSDK. If empty no log is written type: str sdk_log_level: choices: - ERROR - WARN - INFO - DEBUG default: WARN description: Log level of the OpenStackSDK type: str validate_certs: aliases: - verify description: - Whether or not SSL API requests should be verified. - Before Ansible 2.3 this defaulted to C(yes). type: bool
recordset: contains: created_at: description: Timestamp when recordset had been created sample: '2021-05-24T15:27:19.335' type: str description: description: Description of the recordset. sample: 'null' type: str id: description: IDs of record sets to be queried. sample: ff80808275f5fb9c01799efcd1307062 type: str is_default: description: Whether the record set is created by default. sample: false type: bool name: description: Name of the recordset. sample: recordset.test.zone. type: str project_id: description: Project ID of the record set. sample: 5dd3c0b24cdc4d31952c49589182a89d type: str records: description: Record set value. sample: - 2.2.2.2 - 1.1.1.1 type: list description: List of dictionaries describing recordset and its metadata. returned: On Success. type: complex