Class V1APIVersions
APIVersions lists the versions that are available, to allow clients to discover
the API at /api, which is the root path of the legacy v1 API.
Inheritance
V1APIVersions
Assembly: KubernetesClient.dll
Syntax
[KubernetesEntity(Group = "", Kind = "APIVersions", ApiVersion = "v1", PluralName = "")]
public record V1APIVersions : IKubernetesObject, IEquatable<V1APIVersions>
Constructors
V1APIVersions()
Declaration
V1APIVersions(V1APIVersions)
Declaration
protected V1APIVersions(V1APIVersions original)
Parameters
Fields
KubeApiVersion
Declaration
public const string KubeApiVersion = "v1"
Field Value
KubeGroup
Declaration
public const string KubeGroup = ""
Field Value
KubeKind
Declaration
public const string KubeKind = "APIVersions"
Field Value
KubePluralName
Declaration
public const string KubePluralName = ""
Field Value
Properties
ApiVersion
Declaration
[JsonPropertyName("apiVersion")]
public string ApiVersion { get; set; }
Property Value
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
Kind
Declaration
[JsonPropertyName("kind")]
public string Kind { get; set; }
Property Value
ServerAddressByClientCIDRs
a map of client CIDR to server address that is serving this group. This is to
help clients reach servers in the most network-efficient way possible. Clients
can use the appropriate server address as per the CIDR that they match. In case
of multiple matches, clients should use the longest matching CIDR. The server
returns only those CIDRs that it thinks that the client can match. For example:
the master will return an internal IP CIDR only, if the client reaches the
server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip
header or request.RemoteAddr (in that order) to get the client IP.
Declaration
[JsonPropertyName("serverAddressByClientCIDRs")]
public IList<V1ServerAddressByClientCIDR> ServerAddressByClientCIDRs { get; set; }
Property Value
Versions
versions are the api versions that are available.
Declaration
[JsonPropertyName("versions")]
public IList<string> Versions { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1APIVersions?)
Declaration
public virtual bool Equals(V1APIVersions? 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 ==(V1APIVersions?, V1APIVersions?)
Declaration
public static bool operator ==(V1APIVersions? left, V1APIVersions? right)
Parameters
Returns
operator !=(V1APIVersions?, V1APIVersions?)
Declaration
public static bool operator !=(V1APIVersions? left, V1APIVersions? right)
Parameters
Returns
Implements
Extension Methods