Skip to content
Docs Try Aspire
Docs Try

withGatewayAnnotationParam

Method
📦 Aspire.Hosting.Kubernetes v13.4.0-preview.1.26281.18
interface KubernetesGatewayResource {
// ... omitted for brevity
withGatewayAnnotationParam(
key: string,
value: ParameterResource): KubernetesGatewayResource;
}

Signature

method withGatewayAnnotationParam builder
Adds a Kubernetes metadata annotation with a parameter value that will be resolved at deploy time.
withGatewayAnnotationParam(
key: string,
value: ParameterResource): KubernetesGatewayResource
key string
value ParameterResource
KubernetesGatewayResource

Applies to

This method applies to the following types: