Class V1PortStatus
PortStatus represents the error condition of a service port
Assembly: KubernetesClient.dll
Syntax
public record V1PortStatus : IEquatable<V1PortStatus>
Constructors
View Source
V1PortStatus()
Declaration
View Source
V1PortStatus(V1PortStatus)
Declaration
protected V1PortStatus(V1PortStatus original)
Parameters
Properties
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
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
View Source
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
View Source
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
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
Equals(V1PortStatus?)
Declaration
public virtual bool Equals(V1PortStatus? 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 ==(V1PortStatus?, V1PortStatus?)
Declaration
public static bool operator ==(V1PortStatus? left, V1PortStatus? right)
Parameters
Returns
View Source
operator !=(V1PortStatus?, V1PortStatus?)
Declaration
public static bool operator !=(V1PortStatus? left, V1PortStatus? right)
Parameters
Returns
Implements