Class V1CustomResourceDefinitionNames
CustomResourceDefinitionNames indicates the names to serve this
CustomResourceDefinition
Inheritance
V1CustomResourceDefinitionNames
Assembly: KubernetesClient.dll
Syntax
public record V1CustomResourceDefinitionNames : IEquatable<V1CustomResourceDefinitionNames>
Constructors
View Source
V1CustomResourceDefinitionNames()
Declaration
public V1CustomResourceDefinitionNames()
View Source
V1CustomResourceDefinitionNames(V1CustomResourceDefinitionNames)
Declaration
protected V1CustomResourceDefinitionNames(V1CustomResourceDefinitionNames original)
Parameters
Properties
View Source
Categories
categories is a list of grouped resources this custom resource belongs to (e.g.
'all'). This is published in API discovery documents, and used by clients to
support invocations like kubectl get all.
Declaration
[JsonPropertyName("categories")]
public IList<string> Categories { get; set; }
Property Value
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
Kind
kind is the serialized kind of the resource. It is normally CamelCase and
singular. Custom resource instances will use this value as the kind attribute
in API calls.
Declaration
[JsonPropertyName("kind")]
public string Kind { get; set; }
Property Value
View Source
ListKind
listKind is the serialized kind of the list for this resource. Defaults to
"kindList".
Declaration
[JsonPropertyName("listKind")]
public string ListKind { get; set; }
Property Value
View Source
Plural
plural is the plural name of the resource to serve. The custom resources are
served under /apis/<group>/<version>/.../<plural>. Must match the name of the
CustomResourceDefinition (in the form <names.plural>.<group>). Must be all
lowercase.
Declaration
[JsonPropertyName("plural")]
public string Plural { get; set; }
Property Value
View Source
ShortNames
shortNames are short names for the resource, exposed in API discovery documents,
and used by clients to support invocations like kubectl get <shortname>. It
must be all lowercase.
Declaration
[JsonPropertyName("shortNames")]
public IList<string> ShortNames { get; set; }
Property Value
View Source
Singular
singular is the singular name of the resource. It must be all lowercase.
Defaults to lowercased kind.
Declaration
[JsonPropertyName("singular")]
public string Singular { 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(V1CustomResourceDefinitionNames?)
Declaration
public virtual bool Equals(V1CustomResourceDefinitionNames? 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 ==(V1CustomResourceDefinitionNames?, V1CustomResourceDefinitionNames?)
Declaration
public static bool operator ==(V1CustomResourceDefinitionNames? left, V1CustomResourceDefinitionNames? right)
Parameters
Returns
View Source
operator !=(V1CustomResourceDefinitionNames?, V1CustomResourceDefinitionNames?)
Declaration
public static bool operator !=(V1CustomResourceDefinitionNames? left, V1CustomResourceDefinitionNames? right)
Parameters
Returns
Implements