Data source servercore_domains_zone_v2
Provides information about a zone in Servercore DNS Hosting . For more information about zones, see the official Servercore documentation.
Usage Example
data "servercore_domains_zone_v2" "zone_1" {
name = "example.com."
project_id = servercore_project_v2.project_1.id
}
Argument Reference
-
name— (Required) Zone name. -
project_id— (Required) Unique identifier of the associated project. Retrieved from the servercore_project_v2 resource. Learn more about Projects.
Attribute Reference
-
comment— Comment for the zone. -
created_at— Time the zone was created in RFC 3339 timestamp format. -
updated_at— Time the zone was updated in RFC 3339 timestamp format. -
delegation_checked_at— Time when DNS Hosting last checked if the zone was delegated to Servercore NS servers in RFC 3339 timestamp format. -
last_check_status— Zone status retrieved during the last delegation check. -
last_delegated_at— Equals thedelegation_check_atargument value whenlast_check_statusistrue. -
disabled— Shows whether the zone is enabled or disabled.