getRecord

Get information on a DNS record. This data source provides the name, TTL, and zone file as configured on your DigitalOcean account. This is useful if the record in question is not managed by the provider. An error is triggered if the provided domain name or record are not managed with your DigitalOcean account.

Return

A collection of values returned by getRecord.

Parameters

argument

A collection of arguments for invoking getRecord.


suspend fun getRecord(domain: String, name: String): GetRecordResult

Return

A collection of values returned by getRecord.

See also

Parameters

domain

The domain name of the record.

name

The name of the record.


suspend fun getRecord(argument: suspend GetRecordPlainArgsBuilder.() -> Unit): GetRecordResult

Return

A collection of values returned by getRecord.

See also

Parameters

argument

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