Service.Environment Property

Definition

Represents a collection of environment variables for the service container.

[YamlDotNet.Serialization.YamlMember(Alias="environment", DefaultValuesHandling=YamlDotNet.Serialization.DefaultValuesHandling.OmitEmptyCollections)]
public System.Collections.Generic.Dictionary<string,string> Environment { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="environment", DefaultValuesHandling=YamlDotNet.Serialization.DefaultValuesHandling.OmitEmptyCollections)>]
member this.Environment : System.Collections.Generic.Dictionary<string, string> with get, set
Public Property Environment As Dictionary(Of String, String)

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

The property allows for specifying environment variables as key-value pairs. These variables can be used to configure the behavior of the container or pass information to the application running inside the container.

Applies to