Service.Expose 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 a list of ports to expose from the container without publishing them to the host machine. This property defines internal ports that the container makes available to linked services or other containers within the same network, but these ports are not accessible from outside the container’s network.
[YamlDotNet.Serialization.YamlMember(Alias="expose", DefaultValuesHandling=YamlDotNet.Serialization.DefaultValuesHandling.OmitEmptyCollections)]
public System.Collections.Generic.List<string> Expose { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="expose", DefaultValuesHandling=YamlDotNet.Serialization.DefaultValuesHandling.OmitEmptyCollections)>]
member this.Expose : System.Collections.Generic.List<string> with get, set
Public Property Expose As List(Of String)
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute