Show / Hide Table of Contents

Class V1beta1NetworkDeviceData

NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context.

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

Constructors

V1beta1NetworkDeviceData()

Declaration
public V1beta1NetworkDeviceData()

V1beta1NetworkDeviceData(V1beta1NetworkDeviceData)

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

Properties

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type

HardwareAddress

HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.

Must not be longer than 128 bytes.

Declaration
[JsonPropertyName("hardwareAddress")]
public string HardwareAddress { get; set; }
Property Value
Type Description
string

InterfaceName

InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod.

Must not be longer than 256 bytes.

Declaration
[JsonPropertyName("interfaceName")]
public string InterfaceName { get; set; }
Property Value
Type Description
string

Ips

IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: "192.0.2.5/24" for IPv4 and "2001:db8::5/64" for IPv6.

Must not contain more than 16 entries.

Declaration
[JsonPropertyName("ips")]
public IList<string> Ips { get; set; }
Property Value
Type Description
IList<string>

Methods

Equals(object?)

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

Equals(V1beta1NetworkDeviceData?)

Declaration
public virtual bool Equals(V1beta1NetworkDeviceData? other)
Parameters
Type Name Description
V1beta1NetworkDeviceData other
Returns
Type Description
bool

GetHashCode()

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

PrintMembers(StringBuilder)

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

ToString()

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

Operators

operator ==(V1beta1NetworkDeviceData?, V1beta1NetworkDeviceData?)

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

operator !=(V1beta1NetworkDeviceData?, V1beta1NetworkDeviceData?)

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

Implements

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