Class V1PortStatus
PortStatus represents the error condition of a service port
Assembly: KubernetesClient.dll
Syntax
public record V1PortStatus : IEquatable<V1PortStatus>
Constructors
V1PortStatus()
Declaration
V1PortStatus(V1PortStatus)
Declaration
protected V1PortStatus(V1PortStatus original)
Parameters
Properties
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
Error
Error is to record the problem with the service port The format of the error
shall comply with the following rules: - built-in error values shall be
specified in this file and those shall use
CamelCase names
- cloud provider specific error values must have names that comply with the
format foo.example.com/CamelCase.
Declaration
[JsonPropertyName("error")]
public string Error { get; set; }
Property Value
Port
Port is the port number of the service port of which status is recorded here
Declaration
[JsonPropertyName("port")]
public int Port { get; set; }
Property Value
Protocol
Protocol is the protocol of the service port of which status is recorded here
The supported values are: "TCP", "UDP", "SCTP"
Declaration
[JsonPropertyName("protocol")]
public string Protocol { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1PortStatus?)
Declaration
public virtual bool Equals(V1PortStatus? 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 ==(V1PortStatus?, V1PortStatus?)
Declaration
public static bool operator ==(V1PortStatus? left, V1PortStatus? right)
Parameters
Returns
operator !=(V1PortStatus?, V1PortStatus?)
Declaration
public static bool operator !=(V1PortStatus? left, V1PortStatus? right)
Parameters
Returns
Implements