local types = import 'types.libsonnet';
types.envoy.data.dns.v3.DnsTable.DnsService
.withProtocol(types.envoy.data.dns.v3.DnsTable.DnsServiceProtocol)
.withServiceName('string')
.withTargets([ types.envoy.data.dns.v3.DnsTable.DnsServiceTarget ])
.withTtl(types.google.protobuf.Duration)
._validate()
| Name | Type | One-of group | Required | Constraints |
|---|---|---|---|---|
| protocol | envoy.data.dns.v3.DnsTable.DnsServiceProtocol |
|
||
| service_name | string |
{"String_":{"WellKnown":{"WellKnownRegex":1},"min_len":1}}
|
||
| targets | [] envoy.data.dns.v3.DnsTable.DnsServiceTarget | yes |
{"Repeated":{"min_items":1}}
|
|
| ttl | google.protobuf.Duration |
{"Duration":{"gte":{"seconds":1}}}
|