get Record Set
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"
}
Content copied to clipboard
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
managed Zone
The Name of the zone.
name
The DNS name for the resource.
project
The ID of the project for the Google Cloud.
type
The RRSet type. See this table for supported types.
See also
suspend fun getRecordSet(argument: suspend GetRecordSetPlainArgsBuilder.() -> Unit): GetRecordSetResult
Return
A collection of values returned by getRecordSet.
Parameters
argument
Builder for com.pulumi.gcp.dns.kotlin.inputs.GetRecordSetPlainArgs.