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
V1IPAddress()
Declaration
V1IPAddress(V1IPAddress)
Declaration
protected V1IPAddress(V1IPAddress original)
Parameters
Fields
KubeApiVersion
Declaration
public const string KubeApiVersion = "v1"
Field Value
KubeGroup
Declaration
public const string KubeGroup = "networking.k8s.io"
Field Value
KubeKind
Declaration
public const string KubeKind = "IPAddress"
Field Value
KubePluralName
Declaration
public const string KubePluralName = "ipaddresses"
Field Value
Properties
ApiVersion
Declaration
[JsonPropertyName("apiVersion")]
public string ApiVersion { get; set; }
Property Value
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
Kind
Declaration
[JsonPropertyName("kind")]
public string Kind { get; set; }
Property Value
Declaration
[JsonPropertyName("metadata")]
public V1ObjectMeta Metadata { get; set; }
Property Value
Spec
Declaration
[JsonPropertyName("spec")]
public V1IPAddressSpec Spec { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1IPAddress?)
Declaration
public virtual bool Equals(V1IPAddress? 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 ==(V1IPAddress?, V1IPAddress?)
Declaration
public static bool operator ==(V1IPAddress? left, V1IPAddress? right)
Parameters
Returns
operator !=(V1IPAddress?, V1IPAddress?)
Declaration
public static bool operator !=(V1IPAddress? left, V1IPAddress? right)
Parameters
Returns
Implements
Extension Methods