Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AzureContainerAppEnvironmentResource.WithHttpsUpgrade

Method
📦 Aspire.Hosting.Azure.AppContainers v17.0.0
type AzureContainerAppEnvironmentResource interface {
// ... omitted for brevity
WithHttpsUpgrade(options ...*WithHttpsUpgradeOptions) AzureContainerAppEnvironmentResource
}

Signature

methodWithHttpsUpgradebuilder
Configures whether HTTP endpoints should be upgraded to HTTPS in Azure Container Apps. By default, HTTP endpoints are upgraded to HTTPS for security and WebSocket compatibility.
WithHttpsUpgrade(options ...*WithHttpsUpgradeOptions) AzureContainerAppEnvironmentResource
options...*WithHttpsUpgradeOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithHttpsUpgradeOptions argument.

Upgrade*boolWhether to upgrade HTTP endpoints to HTTPS. Default is true.
AzureContainerAppEnvironmentResource

The resource builder.

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

Defined on

This method is defined on the following type: