Show / Hide Table of Contents

Class V2APIGroupDiscoveryList

APIGroupDiscoveryList is a resource containing a list of APIGroupDiscovery. This is one of the types able to be returned from the /api and /apis endpoint and contains an aggregated list of API resources (built-ins, Custom Resource Definitions, resources from aggregated servers) that a cluster supports.

Inheritance
object
V2APIGroupDiscoveryList
Implements
IKubernetesObject<V1ListMeta>
IKubernetesObject
IMetadata<V1ListMeta>
IItems<V2APIGroupDiscovery>
IEquatable<V2APIGroupDiscoveryList>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
[KubernetesEntity(Group = "apidiscovery.k8s.io", Kind = "APIGroupDiscoveryList", ApiVersion = "v2", PluralName = "")]
public record V2APIGroupDiscoveryList : IKubernetesObject<V1ListMeta>, IKubernetesObject, IMetadata<V1ListMeta>, IItems<V2APIGroupDiscovery>, IEquatable<V2APIGroupDiscoveryList>

Constructors

V2APIGroupDiscoveryList()

Declaration
public V2APIGroupDiscoveryList()

V2APIGroupDiscoveryList(V2APIGroupDiscoveryList)

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

Fields

KubeApiVersion

Declaration
public const string KubeApiVersion = "v2"
Field Value
Type Description
string

KubeGroup

Declaration
public const string KubeGroup = "apidiscovery.k8s.io"
Field Value
Type Description
string

KubeKind

Declaration
public const string KubeKind = "APIGroupDiscoveryList"
Field Value
Type Description
string

KubePluralName

Declaration
public const string KubePluralName = ""
Field Value
Type Description
string

Properties

ApiVersion

Declaration
[JsonPropertyName("apiVersion")]
public string ApiVersion { get; set; }
Property Value
Type Description
string

EqualityContract

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

Items

Declaration
[JsonPropertyName("items")]
public IList<V2APIGroupDiscovery> Items { get; set; }
Property Value
Type Description
IList<V2APIGroupDiscovery>

Kind

Declaration
[JsonPropertyName("kind")]
public string Kind { get; set; }
Property Value
Type Description
string

Metadata

Declaration
[JsonPropertyName("metadata")]
public V1ListMeta Metadata { get; set; }
Property Value
Type Description
V1ListMeta

Methods

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)

Equals(V2APIGroupDiscoveryList?)

Declaration
public virtual bool Equals(V2APIGroupDiscoveryList? other)
Parameters
Type Name Description
V2APIGroupDiscoveryList other
Returns
Type Description
bool

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

operator ==(V2APIGroupDiscoveryList?, V2APIGroupDiscoveryList?)

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

operator !=(V2APIGroupDiscoveryList?, V2APIGroupDiscoveryList?)

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

Implements

IKubernetesObject<TMetadata>
IKubernetesObject
IMetadata<T>
IItems<T>
IEquatable<T>

Extension Methods

ModelExtensions.ApiGroup(IKubernetesObject)
ModelExtensions.ApiGroupAndVersion(IKubernetesObject)
ModelExtensions.ApiGroupVersion(IKubernetesObject)
ModelExtensions.GetApiGroupAndVersion(IKubernetesObject, out string, out string)
ItemsExt.GetEnumerator<T>(IItems<T>)
ModelExtensions.Continue(IMetadata<V1ListMeta>)
ModelExtensions.EnsureMetadata(IMetadata<V1ListMeta>)
ModelExtensions.ResourceVersion(IMetadata<V1ListMeta>)
Extensions.GetKubernetesTypeMetadata<T>(T)
Extensions.Initialize<T>(T)
In this article
Back to top Generated by DocFX