getRecords

Retrieve information about all DNS records within a domain, with the ability to filter and sort the results. If no filters are specified, all records will be returned.

Return

A collection of values returned by getRecords.

Parameters

argument

A collection of arguments for invoking getRecords.


suspend fun getRecords(domain: String, filters: List<GetRecordsFilter>? = null, sorts: List<GetRecordsSort>? = null): GetRecordsResult

Return

A collection of values returned by getRecords.

See also

Parameters

domain

The domain name to search for DNS records

filters

Filter the results. The filter block is documented below.

sorts

Sort the results. The sort block is documented below.


suspend fun getRecords(argument: suspend GetRecordsPlainArgsBuilder.() -> Unit): GetRecordsResult

Return

A collection of values returned by getRecords.

See also

Parameters

argument

Builder for com.pulumi.digitalocean.kotlin.inputs.GetRecordsPlainArgs.