Class V1TypedObjectReference
TypedObjectReference contains enough information to let you locate the typed
referenced object
Inheritance
V1TypedObjectReference
Assembly: KubernetesClient.dll
Syntax
public record V1TypedObjectReference : IEquatable<V1TypedObjectReference>
Constructors
View Source
V1TypedObjectReference()
Declaration
public V1TypedObjectReference()
View Source
V1TypedObjectReference(V1TypedObjectReference)
Declaration
protected V1TypedObjectReference(V1TypedObjectReference original)
Parameters
Properties
View Source
ApiGroup
APIGroup is the group for the resource being referenced. If APIGroup is not
specified, the specified Kind must be in the core API group. For any other
third-party types, APIGroup is required.
Declaration
[JsonPropertyName("apiGroup")]
public string ApiGroup { get; set; }
Property Value
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
Kind
Kind is the type of resource being referenced
Declaration
[JsonPropertyName("kind")]
public string Kind { get; set; }
Property Value
View Source
Name
Name is the name of resource being referenced
Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
View Source
NamespaceProperty
Namespace is the namespace of resource being referenced Note that when a
namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is
required in the referent namespace to allow that namespace's owner to accept the
reference. See the ReferenceGrant documentation for details. (Alpha) This field
requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
Declaration
[JsonPropertyName("namespace")]
public string NamespaceProperty { 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(V1TypedObjectReference?)
Declaration
public virtual bool Equals(V1TypedObjectReference? 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 ==(V1TypedObjectReference?, V1TypedObjectReference?)
Declaration
public static bool operator ==(V1TypedObjectReference? left, V1TypedObjectReference? right)
Parameters
Returns
View Source
operator !=(V1TypedObjectReference?, V1TypedObjectReference?)
Declaration
public static bool operator !=(V1TypedObjectReference? left, V1TypedObjectReference? right)
Parameters
Returns
Implements