Home

envoy.data.dns.v3.DnsTable.DnsService

Example

Disclaimer: The example is meant to show what methods are available on the object and does not necessarily constitute working code.
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()

Fields

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}}}