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
View Source
V1PodDNSConfig()
Declaration
View Source
V1PodDNSConfig(V1PodDNSConfig)
Declaration
protected V1PodDNSConfig(V1PodDNSConfig original)
Parameters
Properties
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
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
View Source
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
View Source
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
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
Equals(V1PodDNSConfig?)
Declaration
public virtual bool Equals(V1PodDNSConfig? other)
Parameters
Returns
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
View Source
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
View Source
operator ==(V1PodDNSConfig?, V1PodDNSConfig?)
Declaration
public static bool operator ==(V1PodDNSConfig? left, V1PodDNSConfig? right)
Parameters
Returns
View Source
operator !=(V1PodDNSConfig?, V1PodDNSConfig?)
Declaration
public static bool operator !=(V1PodDNSConfig? left, V1PodDNSConfig? right)
Parameters
Returns
Implements