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
V1beta2NetworkDeviceData
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
Properties
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
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
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
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
Methods
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
Equals(V1beta2NetworkDeviceData?)
Declaration
public virtual bool Equals(V1beta2NetworkDeviceData? 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 ==(V1beta2NetworkDeviceData?, V1beta2NetworkDeviceData?)
Declaration
public static bool operator ==(V1beta2NetworkDeviceData? left, V1beta2NetworkDeviceData? right)
Parameters
Returns
View Source
operator !=(V1beta2NetworkDeviceData?, V1beta2NetworkDeviceData?)
Declaration
public static bool operator !=(V1beta2NetworkDeviceData? left, V1beta2NetworkDeviceData? right)
Parameters
Returns
Implements