Skip to main content

dns_record_set

Creates, updates, deletes, gets or lists a dns_record_set resource.

Overview

Namedns_record_set
TypeResource
Idgoogle.servicenetworking.dns_record_set

Fields

NameDatatypeDescription
dataarrayRequired. As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) for examples see https://cloud.google.com/dns/records/json-record.
domainstringRequired. The DNS or domain name of the record set, e.g. test.example.com. Cloud DNS requires that a DNS suffix ends with a trailing dot.
ttlstringRequired. The period of time for which this RecordSet can be cached by resolvers.
typestringRequired. The identifier of a supported record type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTservicesIdProducers can use this method to retrieve information about the DNS record set added to the private zone inside the shared tenant host project associated with a consumer network.

SELECT examples

Producers can use this method to retrieve information about the DNS record set added to the private zone inside the shared tenant host project associated with a consumer network.

SELECT
data,
domain,
ttl,
type
FROM google.servicenetworking.dns_record_set
WHERE servicesId = '{{ servicesId }}';