Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithIngressHostnameParam

Method
📦 Aspire.Hosting.Kubernetes v13.6.5-preview.1.26559.7
func (KubernetesIngressResource) WithIngressHostnameParam(hostname ParameterResource) KubernetesIngressResource

Signature

methodWithIngressHostnameParambuilder
Adds a hostname using a parameter that will be resolved at deploy time.
WithIngressHostnameParam(hostname ParameterResource) KubernetesIngressResource
hostnameParameterResourceA parameter resource builder for the hostname value.
KubernetesIngressResource

The resource builder.

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

Applies to

This method applies to the following types: