PodSpecV1.HostAliases 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 the list of HostAliasV1 objects that define custom mapping of IP addresses to hostnames. This property can be used to provide additional entries for the Pod's /etc/hosts file, enabling the Pod to resolve specified hostnames to the corresponding IP addresses without DNS.
[YamlDotNet.Serialization.YamlMember(Alias="hostAliases")]
public System.Collections.Generic.List<Aspire.Hosting.Kubernetes.Resources.HostAliasV1> HostAliases { get; }
[<YamlDotNet.Serialization.YamlMember(Alias="hostAliases")>]
member this.HostAliases : System.Collections.Generic.List<Aspire.Hosting.Kubernetes.Resources.HostAliasV1>
Public ReadOnly Property HostAliases As List(Of HostAliasV1)
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute