terraform-provider-stackitp.../docs/data-sources/dns_zone.md
2023-09-07 11:34:45 +01:00

1.6 KiB

page_title subcategory description
stackit_dns_zone Data Source - stackit DNS Zone resource schema.

stackit_dns_zone (Data Source)

DNS Zone resource schema.

Example Usage

data "stackit_dns_zone" "example" {
  project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  zone_id    = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}

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 resource 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.