Bicep Module Documentation
| Property | Value | Description |
|---|---|---|
| resourceGroupName (required) | string | Resource group of the DNS zone |
| tags | object | Tags of the DNS zone [hashtable] |
| roleAssignments | roleAssignment[] | Role assignments on the DNS zone |
| domainName (required) | string | Name of the DNS zone [domain name] |
| aRecords | aRecords[] | A records of the DNS zone [Array of DNS records in format: x.x.x.x] |
| aaaaRecords | aaaaRecords[] | AAAA records of the DNS zone [Array of DNS records in format: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx] |
| cnameRecords | cnameRecords[] | CNAME records of the DNS zone [Array of DNS records in format: xxxxxx.com] |
| txtRecords | txtRecords[] | TXT records of the DNS zone [Array of DNS records] |
| caaRecords | caaRecords[] | CAA records of the DNS zone [Array of DNS records] |
| mxRecords | mxRecords[] | MX records of the DNS zone [Array of DNS records] |
| srvRecords | srvRecords[] | SRV records of the DNS zone [Array of DNS records, recordName in format: _service._protocol[.name]] |
| nsRecords | nsRecords[] | NS records of the DNS zone, e.g. to delegate a child zone [Array of name server domain names] |
| dsRecords | dsRecords[] | DS records of the DNS zone, to chain DNSSEC to a signed child zone [Array of DNS records] |
| enableDnssec | bool | Enable DNSSEC signing of the zone; only for public zones. Add the DS record to the parent zone/registrar afterwards (default: false) |
| zoneType | 'Private' 'Public' |
The type of this DNS zone (default: Public) |
| registrationVirtualNetworks | string[] | A list of references to virtual networks that register hostnames in this DNS zone. This is a only when ZoneType is Private |
| resolutionVirtualNetworks | string[] | A list of references to virtual networks that resolve records in this DNS zone. This is a only when ZoneType is Private |
| Property | Value | Description |
|---|---|---|
| recordName (required) | string | |
| recordValues | string[] | IPv4 addresses of the record set; omit when targetResourceId is set |
| targetResourceId | string | Alias record: resource ID of a public IP, Traffic Manager profile or Front Door/CDN endpoint; replaces recordValues |
| recordTTL | int | Time-to-live of the records in the set (default: 3600) [int] |
| Property | Value | Description |
|---|---|---|
| recordName (required) | string | |
| recordValues | string[] | IPv6 addresses of the record set; omit when targetResourceId is set |
| targetResourceId | string | Alias record: resource ID of a public IP, Traffic Manager profile or Front Door/CDN endpoint; replaces recordValues |
| recordTTL | int | Time-to-live of the records in the set (default: 3600) [int] |
| Property | Value | Description |
|---|---|---|
| recordName (required) | string | |
| recordValue | string | Canonical name of the record; omit when targetResourceId is set |
| targetResourceId | string | Alias record: resource ID of a Traffic Manager profile, Front Door/CDN endpoint or other DNS zone record set; replaces recordValue |
| recordTTL | int | Time-to-live of the records in the set (default: 3600) [int] |
| Property | Value | Description |
|---|---|---|
| recordName (required) | string | |
| recordValues (required) | string[] | |
| recordTTL | int | Time-to-live of the records in the set (default: 3600) [int] |
| Property | Value | Description |
|---|---|---|
| keyTag (required) | int | The key tag of the DNSKEY record of the child zone. |
| algorithm (required) | int | The security algorithm number of the DNSKEY record, e.g. 13 for ECDSAP256SHA256. |
| digestAlgorithmType (required) | int | The digest algorithm number, e.g. 2 for SHA-256. |
| digestValue (required) | string | The digest value (hex). |
| Property | Value | Description |
|---|---|---|
| recordName (required) | string | |
| recordValues (required) | recordValues[] | |
| recordTTL | int | Time-to-live of the records in the set (default: 3600) [int] |
| Property | Value | Description |
|---|---|---|
| recordName (required) | string | |
| recordValues (required) | recordValues[] | |
| recordTTL | int | Time-to-live of the records in the set (default: 3600) [int] |
| Property | Value | Description |
|---|---|---|
| recordName (required) | string | |
| recordValues (required) | recordValues[] | |
| recordTTL | int | Time-to-live of the records in the set (default: 3600) [int] |
| Property | Value | Description |
|---|---|---|
| recordName (required) | string | |
| recordValues (required) | string[] | |
| recordTTL | int | Time-to-live of the records in the set (default: 3600) [int] |
| Property | Value | Description |
|---|---|---|
| recordName (required) | string | |
| recordValues (required) | recordValues[] | |
| recordTTL | int | Time-to-live of the records in the set (default: 3600) [int] |
| Property | Value | Description |
|---|---|---|
| principalId (required) | string | The principal ID |
| roleDefinitionId (required) | string | The role definition ID, data file can be used for this |
| condition | string | Condition on the role assignment |
| conditionVersion | string | Version of the condition. Currently the only accepted value is "2.0" |
| delegatedManagedIdentityResourceId | string | Id of the delegated managed identity resource |
| description | string | Description of role assignment |
targetScope = 'subscription'
module publicDnsZone 'ts/ArxusModules:public-dns-zone:1.6.0' = {
params: {
resourceObject: {
resourceGroupName: 'rg-we-prd-dns'
domainName: 'contoso.com'
}
}
}