Class V1PodDNSConfig
PodDNSConfig defines the DNS parameters of a pod in addition to those generated
from DNSPolicy.
Inheritance
V1PodDNSConfig
Assembly: KubernetesClient.dll
Syntax
public record V1PodDNSConfig : IEquatable<V1PodDNSConfig>
Constructors
V1PodDNSConfig()
Declaration
V1PodDNSConfig(V1PodDNSConfig)
Declaration
protected V1PodDNSConfig(V1PodDNSConfig original)
Parameters
Properties
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
Nameservers
A list of DNS name server IP addresses. This will be appended to the base
nameservers generated from DNSPolicy. Duplicated nameservers will be removed.
Declaration
[JsonPropertyName("nameservers")]
public IList<string> Nameservers { get; set; }
Property Value
Options
A list of DNS resolver options. This will be merged with the base options
generated from DNSPolicy. Duplicated entries will be removed. Resolution options
given in Options will override those that appear in the base DNSPolicy.
Declaration
[JsonPropertyName("options")]
public IList<V1PodDNSConfigOption> Options { get; set; }
Property Value
Searches
A list of DNS search domains for host-name lookup. This will be appended to the
base search paths generated from DNSPolicy. Duplicated search paths will be
removed.
Declaration
[JsonPropertyName("searches")]
public IList<string> Searches { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1PodDNSConfig?)
Declaration
public virtual bool Equals(V1PodDNSConfig? other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(V1PodDNSConfig?, V1PodDNSConfig?)
Declaration
public static bool operator ==(V1PodDNSConfig? left, V1PodDNSConfig? right)
Parameters
Returns
operator !=(V1PodDNSConfig?, V1PodDNSConfig?)
Declaration
public static bool operator !=(V1PodDNSConfig? left, V1PodDNSConfig? right)
Parameters
Returns
Implements