getDomain

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

Return

A collection of values returned by getDomain.

Parameters

argument

A collection of arguments for invoking getDomain.


suspend fun getDomain(name: String): GetDomainResult

Return

A collection of values returned by getDomain.

See also

Parameters

name

The name of the domain.


suspend fun getDomain(argument: suspend GetDomainPlainArgsBuilder.() -> Unit): GetDomainResult

Return

A collection of values returned by getDomain.

See also

Parameters

argument

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