azure::dns-zone

Creates a DNS Zone.

Example

azure::dns-zone dns-zone-example-zones
    name: "zones.example.com"
    public-access: false
    resource-group: $(azure::resource-group resource-group-dns-zone-example)
    tags: {
       Name: "resource-group-dns-zone-example"
    }
end

Attributes

Attribute Description
public-access Determines if the Dns Zone is public or private. Defaults to public true.
name The name of the Dns Zone. (Required)
registration-network set A list of virtual network id’s that register hostnames in a private Dns Zone. Can be used when the access is private.
resolution-network set A list of virtual network id’s that resolve records in a private Dns Zone. Can be used when the access is private.
resource-group The Resource Group where the Dns Zone is found. (Required)
tags map The tags associated with the Dns Zone.

Outputs

Attribute Description
id The ID of the Dns Zone.