Skip to content
DocsTry Aspire
DocsTry

withIngressAnnotationParam

Method
📦 Aspire.Hosting.Kubernetes v13.4.0-preview.1.26281.18
interface KubernetesIngressResource {
// ... omitted for brevity
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
keystring
valueParameterResource
KubernetesIngressResource

Applies to

This method applies to the following types: