Share via


EnvVarV1.ValueFrom Property

Definition

Gets or sets the source for the environment variable value. This property allows specifying an external source from which the environment variable value will be derived, such as a key in a ConfigMap, a field reference from the object's metadata, a resource field (e.g., limits or requests for memory or CPU), or a key in a Secret.

[YamlDotNet.Serialization.YamlMember(Alias="valueFrom")]
public Aspire.Hosting.Kubernetes.Resources.EnvVarSourceV1? ValueFrom { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="valueFrom")>]
member this.ValueFrom : Aspire.Hosting.Kubernetes.Resources.EnvVarSourceV1 with get, set
Public Property ValueFrom As EnvVarSourceV1

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to