Skip to content
DocsTry Aspire
DocsTry

KubernetesGatewayResource Properties

ClassProperties2 members
Represents a Kubernetes Gateway API Gateway as a first-class resource in the Aspire application model. A Gateway defines listeners (ports, protocols, TLS) and HTTPRoutes attach to it for routing.
GatewayClassNameSection titled GatewayClassNamenullableReferenceExpression?
Gets or sets the GatewayClass name that selects which controller implementation handles this gateway.
public ReferenceExpression? GatewayClassName { get; set; }
Common values include "azure-alb-external" (for AKS with AGC), "istio", or controller-specific class names.
Gets the parent Kubernetes environment resource.
public KubernetesEnvironmentResource Parent { get; }