Show / Hide Table of Contents

Class V1PodDNSConfig

PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.

Inheritance
object
V1PodDNSConfig
Implements
IEquatable<V1PodDNSConfig>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1PodDNSConfig : IEquatable<V1PodDNSConfig>

Constructors

View Source

V1PodDNSConfig()

Declaration
public V1PodDNSConfig()
View Source

V1PodDNSConfig(V1PodDNSConfig)

Declaration
protected V1PodDNSConfig(V1PodDNSConfig original)
Parameters
Type Name Description
V1PodDNSConfig original

Properties

View Source

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type
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
Type Description
IList<string>
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
Type Description
IList<V1PodDNSConfigOption>
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
Type Description
IList<string>

Methods

View Source

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)
View Source

Equals(V1PodDNSConfig?)

Declaration
public virtual bool Equals(V1PodDNSConfig? other)
Parameters
Type Name Description
V1PodDNSConfig other
Returns
Type Description
bool
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
View Source

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool
View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

View Source

operator ==(V1PodDNSConfig?, V1PodDNSConfig?)

Declaration
public static bool operator ==(V1PodDNSConfig? left, V1PodDNSConfig? right)
Parameters
Type Name Description
V1PodDNSConfig left
V1PodDNSConfig right
Returns
Type Description
bool
View Source

operator !=(V1PodDNSConfig?, V1PodDNSConfig?)

Declaration
public static bool operator !=(V1PodDNSConfig? left, V1PodDNSConfig? right)
Parameters
Type Name Description
V1PodDNSConfig left
V1PodDNSConfig right
Returns
Type Description
bool

Implements

IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX