BaseKubernetesResource.Metadata Property
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.
Gets or sets the metadata for the Kubernetes resource.
[YamlDotNet.Serialization.YamlMember(Alias="metadata", Order=-1)]
public Aspire.Hosting.Kubernetes.Resources.ObjectMetaV1 Metadata { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="metadata", Order=-1)>]
member this.Metadata : Aspire.Hosting.Kubernetes.Resources.ObjectMetaV1 with get, set
Public Property Metadata As ObjectMetaV1
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
The metadata contains standard information such as the resource’s name, namespace, labels, annotations, and other Kubernetes-specific properties. It is encapsulated in an ObjectMetaV1 object, which provides properties for managing the resource’s unique identifier (UID), name, namespace, generation, and other relevant details like annotations, labels, and owner references.