Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithIngressAnnotationParam

Method
📦 Aspire.Hosting.Kubernetes v13.6.5-preview.1.26559.7
func (KubernetesIngressResource) WithIngressAnnotationParam(
key string,
value ParameterResource,
) KubernetesIngressResource

Signature

methodWithIngressAnnotationParambuilder
Adds a Kubernetes metadata annotation with a parameter value that will be resolved at deploy time.
WithIngressAnnotationParam(
key string,
value ParameterResource,
) KubernetesIngressResource
keystringThe annotation key.
valueParameterResourceA parameter resource builder for the annotation value.
KubernetesIngressResource

The resource builder.

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

Applies to

This method applies to the following types: