Service.ExtraHosts 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 additional hostname-to-IP mappings for the service. These mappings allow you to manually define hostnames and corresponding IP addresses, effectively augmenting the DNS resolution for the service's containers.
[YamlDotNet.Serialization.YamlMember(Alias="extra_hosts", DefaultValuesHandling=YamlDotNet.Serialization.DefaultValuesHandling.OmitEmptyCollections)]
public System.Collections.Generic.Dictionary<string,string> ExtraHosts { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="extra_hosts", DefaultValuesHandling=YamlDotNet.Serialization.DefaultValuesHandling.OmitEmptyCollections)>]
member this.ExtraHosts : System.Collections.Generic.Dictionary<string, string> with get, set
Public Property ExtraHosts As Dictionary(Of String, String)
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute