azure::srv-record-set

Creates an SRV Record Set.

Example

azure::srv-record-set
    name: "srvrecexample"
    ttl: 4
    dns-zone: $(azure::dns-zone dns-zone-example-zones)

    srv-record
        port: 80
        priority: 1
        target: "hi.com"
        weight: 100
    end
end

Attributes

Attribute Description
dns-zone The DNS Zone where the Srv Record Set resides. (Required)
metadata map The metadata for the Srv Record Set.
name The name of the Srv Record Set. (Required)
srv-record set subresource

The list of srv Srv Records Set. (Required)

port
The port on which the service is bounded. (Required)
priority
The priority of the target host. The lower the value, the higher the priority. (Required)
target
The canonical name of the target host. (Required)
weight
The preference of the records with the same priority. The higher the value, the higher the preference. (Required)
ttl The Time To Live in Seconds for the Srv Record Set in the set. (Required)

Outputs

Attribute Description
id The ID of the Srv Record Set.