Skip to content
Docs Try Aspire

HostAliasV1

Class sealed net10.0
📦 Aspire.Hosting.Kubernetes v13.1.2-preview.1.26125.13
Represents a host alias configuration which maps an IP address to a set of hostnames. This is used for specifying additional host entries in a pod's /etc/hosts file.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class HostAliasV1
{
// ...
}