community / community.general / 0.1.1 / module / gcp_dns_managed_zone_facts Gather info for GCP ManagedZone Authors: Google Inc. (@googlecloudplatform) preview | supported by communitycommunity.general.gcp_dns_managed_zone_facts (0.1.1) — module
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
Gather info for GCP ManagedZone
- name: get info on a managed zone gcp_dns_managed_zone_info: dns_name: test.somewild2.example.com. project: test_project auth_kind: serviceaccount service_account_file: "/tmp/auth.pem"
scopes: description: - Array of scopes to be used type: list project: description: - The Google Cloud Platform project to use. type: str dns_name: description: - Restricts the list to return only zones with this domain name. type: list env_type: description: - Specifies which Ansible environment you're running this module within. - This should not be set unless you know what you're doing. - This only alters the User Agent string for any API requests. type: str auth_kind: choices: - application - machineaccount - serviceaccount description: - The type of credential used. required: true type: str service_account_file: description: - The path of a Service Account JSON file if serviceaccount is selected as type. type: path service_account_email: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. type: str service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a JSON string that represents it. type: jsonarg
resources: contains: creationTime: description: - The time that this resource was created on the server. - This is in RFC3339 text format. returned: success type: str description: description: - A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the managed zone's function. returned: success type: str dnsName: description: - The DNS name of this managed zone, for instance "example.com.". returned: success type: str dnssecConfig: contains: defaultKeySpecs: contains: algorithm: description: - String mnemonic specifying the DNSSEC algorithm of this key. returned: success type: str keyLength: description: - Length of the keys in bits. returned: success type: int keyType: description: - Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, will only be used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and will be used to sign all other types of resource record sets. . returned: success type: str kind: description: - Identifies what kind of resource this is. returned: success type: str description: - Specifies parameters that will be used for generating initial DnsKeys for this ManagedZone. If you provide a spec for keySigning or zoneSigning, you must also provide one for the other. returned: success type: complex kind: description: - Identifies what kind of resource this is. returned: success type: str nonExistence: description: - Specifies the mechanism used to provide authenticated denial-of-existence responses. returned: success type: str state: description: - Specifies whether DNSSEC is enabled, and what mode it is in. returned: success type: str description: - DNSSEC configuration. returned: success type: complex id: description: - Unique identifier for the resource; defined by the server. returned: success type: int labels: description: - A set of key/value label pairs to assign to this ManagedZone. returned: success type: dict name: description: - User assigned name for this resource. - Must be unique within the project. returned: success type: str nameServerSet: description: - Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users will leave this field unset. returned: success type: str nameServers: description: - Delegate your managed_zone to these virtual name servers; defined by the server . returned: success type: list privateVisibilityConfig: contains: networks: contains: networkUrl: description: - The fully qualified URL of the VPC network to bind to. - This should be formatted like `U(https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`) . returned: success type: str description: - The list of VPC networks that can see this zone. returned: success type: complex description: - For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from. returned: success type: complex visibility: description: - 'The zone''s visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.' - 'Must be one of: `public`, `private`.' returned: success type: str description: List of resources returned: always type: complex