Cloud DNS API, gRPC: DnsZoneService.GetRecordSet
Written by
Updated at October 17, 2024
Returns the specified record set.
gRPC request
rpc GetRecordSet (GetDnsZoneRecordSetRequest) returns (RecordSet)
GetDnsZoneRecordSetRequest
{
"dnsZoneId": "string",
"name": "string",
"type": "string"
}
Field |
Description |
dnsZoneId |
string ID of the DNS zone to get record set from. To get a DNS zone ID, make a DnsZoneService.List request. |
name |
string Required field. Name of the record set. |
type |
string Required field. Type of the record set. |
RecordSet
{
"name": "string",
"type": "string",
"ttl": "int64",
"data": [
"string"
]
}
A record set. For details about the concept, see Resource record.
Field |
Description |
name |
string Domain name. |
type |
string Record type. |
ttl |
int64 Time to live in seconds. |
data[] |
string Data of the record set. |