Class V1IPAddress
IPAddress represents a single IP of a single IP Family. The object is designed
to be used by APIs that operate on IP addresses. The object is used by the
Service core API for allocation of IP addresses. An IP address can be
represented in different formats, to guarantee the uniqueness of the IP, the
name of the object is the IP address in canonical format, four decimal digits
separated by dots suppressing leading zeros for IPv4 and the representation
defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or
2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1
Assembly: KubernetesClient.dll
Syntax
[KubernetesEntity(Group = "networking.k8s.io", Kind = "IPAddress", ApiVersion = "v1", PluralName = "ipaddresses")]
public record V1IPAddress : IKubernetesObject<V1ObjectMeta>, IKubernetesObject, IMetadata<V1ObjectMeta>, ISpec<V1IPAddressSpec>, IEquatable<V1IPAddress>
Constructors
View Source
V1IPAddress()
Declaration
View Source
V1IPAddress(V1IPAddress)
Declaration
protected V1IPAddress(V1IPAddress original)
Parameters
Fields
View Source
KubeApiVersion
Declaration
public const string KubeApiVersion = "v1"
Field Value
View Source
KubeGroup
Declaration
public const string KubeGroup = "networking.k8s.io"
Field Value
View Source
KubeKind
Declaration
public const string KubeKind = "IPAddress"
Field Value
View Source
KubePluralName
Declaration
public const string KubePluralName = "ipaddresses"
Field Value
Properties
View Source
ApiVersion
Declaration
[JsonPropertyName("apiVersion")]
public string ApiVersion { get; set; }
Property Value
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
Kind
Declaration
[JsonPropertyName("kind")]
public string Kind { get; set; }
Property Value
View Source
Declaration
[JsonPropertyName("metadata")]
public V1ObjectMeta Metadata { get; set; }
Property Value
View Source
Spec
Declaration
[JsonPropertyName("spec")]
public V1IPAddressSpec Spec { 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(V1IPAddress?)
Declaration
public virtual bool Equals(V1IPAddress? 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 ==(V1IPAddress?, V1IPAddress?)
Declaration
public static bool operator ==(V1IPAddress? left, V1IPAddress? right)
Parameters
Returns
View Source
operator !=(V1IPAddress?, V1IPAddress?)
Declaration
public static bool operator !=(V1IPAddress? left, V1IPAddress? right)
Parameters
Returns
Implements
Extension Methods