Service.Ports 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 port mappings for the service. Each mapping specifies how a container port is bound to a host port.
[YamlDotNet.Serialization.YamlMember(Alias="ports", DefaultValuesHandling=YamlDotNet.Serialization.DefaultValuesHandling.OmitEmptyCollections)]
public System.Collections.Generic.List<string> Ports { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="ports", DefaultValuesHandling=YamlDotNet.Serialization.DefaultValuesHandling.OmitEmptyCollections)>]
member this.Ports : System.Collections.Generic.List<string> with get, set
Public Property Ports As List(Of String)
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute