Class V1OwnerReference
OwnerReference contains enough information to let you identify an owning object.
An owning object must be in the same namespace as the dependent, or be
cluster-scoped, so there is no namespace field.
Inheritance
V1OwnerReference
Assembly: KubernetesClient.dll
Syntax
public record V1OwnerReference : IEquatable<V1OwnerReference>
Constructors
V1OwnerReference()
Declaration
public V1OwnerReference()
V1OwnerReference(V1OwnerReference)
Declaration
protected V1OwnerReference(V1OwnerReference original)
Parameters
Properties
ApiVersion
API version of the referent.
Declaration
[JsonPropertyName("apiVersion")]
public string ApiVersion { get; set; }
Property Value
BlockOwnerDeletion
If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner
cannot be deleted from the key-value store until this reference is removed. See
https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion
for how the garbage collector interacts with this field and enforces the
foreground deletion. Defaults to false. To set this field, a user needs "delete"
permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
Declaration
[JsonPropertyName("blockOwnerDeletion")]
public bool? BlockOwnerDeletion { get; set; }
Property Value
Controller
If true, this reference points to the managing controller.
Declaration
[JsonPropertyName("controller")]
public bool? Controller { get; set; }
Property Value
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
Kind
Declaration
[JsonPropertyName("kind")]
public string Kind { get; set; }
Property Value
Name
Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
Uid
Declaration
[JsonPropertyName("uid")]
public string Uid { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1OwnerReference?)
Declaration
public virtual bool Equals(V1OwnerReference? 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 ==(V1OwnerReference?, V1OwnerReference?)
Declaration
public static bool operator ==(V1OwnerReference? left, V1OwnerReference? right)
Parameters
Returns
operator !=(V1OwnerReference?, V1OwnerReference?)
Declaration
public static bool operator !=(V1OwnerReference? left, V1OwnerReference? right)
Parameters
Returns
Implements
Extension Methods