Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithGatewayHostnameParam

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

Signature

methodWithGatewayHostnameParambuilder
Adds a hostname using a parameter that will be resolved at deploy time.
WithGatewayHostnameParam(hostname ParameterResource) KubernetesGatewayResource
hostnameParameterResourceA parameter resource builder for the hostname value.
KubernetesGatewayResource

The resource builder.

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

Applies to

This method applies to the following types: