envoy.data.dns.v3.DnsTable.DnsServiceTarget
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.DnsServiceTarget
.withClusterName('string')
.withHostName('string')
.withPort(1)
.withPriority(1)
.withWeight(1)
._validate()
Fields
Name |
Type |
One-of group |
Required |
Constraints |
cluster_name |
string
|
endpoint_type |
|
{"String_":{"WellKnown":{"WellKnownRegex":1},"min_len":1}}
|
host_name |
string
|
endpoint_type |
|
{"String_":{"WellKnown":{"WellKnownRegex":1},"min_len":1}}
|
port |
uint32
|
|
|
{"Uint32":{"lt":65536}}
|
priority |
uint32
|
|
|
{"Uint32":{"lt":65536}}
|
weight |
uint32
|
|
|
{"Uint32":{"lt":65536}}
|