Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddGateway

Method
📦 Aspire.Hosting.Azure.Kubernetes v17.0.0
func (AzureKubernetesEnvironmentResource) AddGateway(name string) KubernetesGatewayResource

Signature

methodAddGatewaybuilder
Adds a Kubernetes Gateway API Gateway resource to the application model, associated with the inner Kubernetes environment of the specified AKS environment.
AddGateway(name string) KubernetesGatewayResource
namestringThe name of the gateway resource.
KubernetesGatewayResource

The resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: