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
View Source
V1OwnerReference()
Declaration
public V1OwnerReference()
View Source
V1OwnerReference(V1OwnerReference)
Declaration
protected V1OwnerReference(V1OwnerReference original)
Parameters
Properties
View Source
ApiVersion
API version of the referent.
Declaration
[JsonPropertyName("apiVersion")]
public string ApiVersion { get; set; }
Property Value
View Source
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
View Source
Controller
If true, this reference points to the managing controller.
Declaration
[JsonPropertyName("controller")]
public bool? Controller { get; set; }
Property Value
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
Kind
Declaration
[JsonPropertyName("kind")]
public string Kind { get; set; }
Property Value
View Source
Name
Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
View Source
Uid
Declaration
[JsonPropertyName("uid")]
public string Uid { 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(V1OwnerReference?)
Declaration
public virtual bool Equals(V1OwnerReference? 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 ==(V1OwnerReference?, V1OwnerReference?)
Declaration
public static bool operator ==(V1OwnerReference? left, V1OwnerReference? right)
Parameters
Returns
View Source
operator !=(V1OwnerReference?, V1OwnerReference?)
Declaration
public static bool operator !=(V1OwnerReference? left, V1OwnerReference? right)
Parameters
Returns
Implements
Extension Methods