terraform-provider-stackitp.../docs/data-sources/dns_zone.md
Vicente Pinto bc27bc20db
Key flow authentication (#67)
* Add key flow params to provider

* Update docs, add examples
2023-10-09 08:15:14 +01:00

51 lines
1.6 KiB
Markdown

---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "stackit_dns_zone Data Source - stackit"
subcategory: ""
description: |-
DNS Zone resource schema.
---
# stackit_dns_zone (Data Source)
DNS Zone resource schema.
## Example Usage
```terraform
data "stackit_dns_zone" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
zone_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
```
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `project_id` (String) STACKIT project ID to which the dns zone is associated.
- `zone_id` (String) The zone ID.
### Read-Only
- `acl` (String) The access control list.
- `active` (Boolean)
- `contact_email` (String) A contact e-mail for the zone.
- `default_ttl` (Number) Default time to live.
- `description` (String) Description of the zone.
- `dns_name` (String) The zone name. E.g. `example.com`
- `expire_time` (Number) Expire time.
- `id` (String) Terraform's internal data source. ID. It is structured as "`project_id`,`zone_id`".
- `is_reverse_zone` (Boolean) Specifies, if the zone is a reverse zone or not.
- `name` (String) The user given name of the zone.
- `negative_cache` (Number) Negative caching.
- `primaries` (List of String) Primary name server for secondary zone.
- `primary_name_server` (String) Primary name server. FQDN.
- `record_count` (Number) Record count how many records are in the zone.
- `refresh_time` (Number) Refresh time.
- `retry_time` (Number) Retry time.
- `serial_number` (Number) Serial number.
- `state` (String) Zone state.
- `type` (String) Zone type.
- `visibility` (String) Visibility of the zone.