ConfigMap 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 a Kubernetes ConfigMap resource.
[YamlDotNet.Serialization.YamlSerializable]
public sealed class ConfigMap : Aspire.Hosting.Kubernetes.Resources.BaseKubernetesResource
[<YamlDotNet.Serialization.YamlSerializable>]
type ConfigMap = class
inherit BaseKubernetesResource
Public NotInheritable Class ConfigMap
Inherits BaseKubernetesResource
- Inheritance
- Attributes
-
YamlDotNet.Serialization.YamlSerializableAttribute
Remarks
A ConfigMap is used to store non-confidential data in key-value pairs. Applications running in a Kubernetes cluster can consume this configuration data. Derived from the BaseKubernetesResource class, this class includes properties specific to ConfigMap resources, such as BinaryData, Data, and Immutable, while also inheriting common Kubernetes resource properties like Kind, ApiVersion, and Metadata.
Constructors
ConfigMap() |
Represents a Kubernetes ConfigMap resource. |
Properties
ApiVersion |
Gets or sets the API version for the Kubernetes resource. (Inherited from BaseKubernetesObject) |
BinaryData |
Represents a collection of binary data entries as key-value pairs within a ConfigMap object. |
Data |
Represents a collection of key-value pairs where both the keys and the values are strings. |
Immutable |
Gets or sets a value indicating whether the ConfigMap is immutable. |
Kind |
Gets or sets the kind of the Kubernetes resource. (Inherited from BaseKubernetesObject) |
Metadata |
Gets or sets the metadata for the Kubernetes resource. (Inherited from BaseKubernetesResource) |