ObjectMetaV1 Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents metadata for Kubernetes resources, encapsulating standard properties such as the resource's name, namespace, labels, annotations, and owner references.
[YamlDotNet.Serialization.YamlSerializable]
public sealed class ObjectMetaV1
[<YamlDotNet.Serialization.YamlSerializable>]
type ObjectMetaV1 = class
Public NotInheritable Class ObjectMetaV1
- Inheritance
-
ObjectMetaV1
- Attributes
-
YamlDotNet.Serialization.YamlSerializableAttribute
Remarks
This class is used to define and handle key metadata information associated with Kubernetes objects, such as: - Unique identifier (UID) of the resource. - Name and namespace of the resource. - Labels and annotations for organizing and categorizing resources. - Managed fields for tracking changes to the resource. - Owner references to define dependencies between resources. - Creation and deletion timestamps, along with optional deletion grace period. It is a core component for properly managing Kubernetes resources and ensuring compliance with Kubernetes object standards.
Constructors
ObjectMetaV1() |
Properties
Annotations |
Represents a collection of annotations associated with a Kubernetes object metadata. |
CreationTimestamp |
Represents the timestamp indicating when the resource was created. |
DeletionGracePeriodSeconds |
Specifies the duration, in seconds, that a Kubernetes resource will remain in a pending deletion state after a deletion request is initiated. |
DeletionTimestamp |
Gets or sets the timestamp marking when the object is scheduled for deletion. |
Finalizers |
A list of strings that describes the finalization steps for a Kubernetes resource. |
GenerateName |
Specifies a prefix to be used by the system for generating a unique name if the |
Generation |
Represents the generation of the resource in the Kubernetes object metadata. |
Labels |
A collection of key-value pairs used to organize and categorize Kubernetes resources. |
ManagedFields |
A collection of ManagedFieldsEntryV1 instances that provide metadata about field-level management in a Kubernetes resource. |
Name |
Gets or sets the name of the Kubernetes resource. |
Namespace |
Gets or sets the namespace of the Kubernetes resource. |
OwnerReferences |
Represents a list of owner references for a Kubernetes object. |
ResourceVersion |
Represents the specific version of a Kubernetes resource as stored in the server's database. |
SelfLink |
Gets or sets the self-referential link for the resource. |
Uid |
Gets or sets the unique identifier (UID) of the Kubernetes resource. |