Skip to content
Docs Try Aspire
Docs Try

withGatewayAnnotation

Method
📦 Aspire.Hosting.Kubernetes v13.3.0-preview.1.26254.5
interface KubernetesGatewayResource {
// ... omitted for brevity
withGatewayAnnotation(
key: string,
value: string): KubernetesGatewayResource;
}

Signature

method withGatewayAnnotation builder
Adds a Kubernetes metadata annotation to a Gateway
withGatewayAnnotation(
key: string,
value: string): KubernetesGatewayResource
key string
value string
KubernetesGatewayResource

Applies to

This method applies to the following types: