getRecordSet

Get a DNS record set within Google Cloud DNS For more information see the official documentation and API

Example Usage

data "google_dns_managed_zone" "sample" {
name = "sample-zone"
}
data "google_dns_record_set" "rs" {
managed_zone = data.google_dns_managed_zone.sample.name
name = "my-record.${data.google_dns_managed_zone.sample.dns_name}"
type = "A"
}

Return

A collection of values returned by getRecordSet.

Parameters

argument

A collection of arguments for invoking getRecordSet.


suspend fun getRecordSet(managedZone: String, name: String, project: String? = null, type: String): GetRecordSetResult

Return

A collection of values returned by getRecordSet.

Parameters

managedZone

The Name of the zone.

name

The DNS name for the resource.

project

The ID of the project for the Google Cloud.

See also


Return

A collection of values returned by getRecordSet.

Parameters

argument

Builder for com.pulumi.gcp.dns.kotlin.inputs.GetRecordSetPlainArgs.

See also