ConfigMap.Data 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.
Represents a collection of key-value pairs where both the keys and the values are strings.
[YamlDotNet.Serialization.YamlMember(Alias="data")]
public System.Collections.Generic.Dictionary<string,string> Data { get; }
[<YamlDotNet.Serialization.YamlMember(Alias="data")>]
member this.Data : System.Collections.Generic.Dictionary<string, string>
Public ReadOnly Property Data As Dictionary(Of String, String)
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
The Data property is used to store non-binary configuration data in a ConfigMap resource. Keys must be alphanumeric strings, and values can represent textual configuration details. This property is a central feature of Kubernetes ConfigMaps, enabling applications to access configuration data at runtime without requiring changes to application code. Note that this property is immutable and initialized as an empty dictionary.