Show / Hide Table of Contents

Class V1beta2NetworkDeviceData

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
V1beta2NetworkDeviceData
Implements
IEquatable<V1beta2NetworkDeviceData>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1beta2NetworkDeviceData : IEquatable<V1beta2NetworkDeviceData>

Constructors

View Source

V1beta2NetworkDeviceData()

Declaration
public V1beta2NetworkDeviceData()
View Source

V1beta2NetworkDeviceData(V1beta2NetworkDeviceData)

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

Properties

View Source

EqualityContract

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

HardwareAddress

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

Must not be longer than 128 characters.

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

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 characters.

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

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.

Declaration
[JsonPropertyName("ips")]
public IList<string> Ips { 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(V1beta2NetworkDeviceData?)

Declaration
public virtual bool Equals(V1beta2NetworkDeviceData? other)
Parameters
Type Name Description
V1beta2NetworkDeviceData 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 ==(V1beta2NetworkDeviceData?, V1beta2NetworkDeviceData?)

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

operator !=(V1beta2NetworkDeviceData?, V1beta2NetworkDeviceData?)

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

Implements

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