Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

withHttpsEndpoint

Method
📦 Aspire.Hosting v13.5.3
interface ContainerResource {
// ... omitted for brevity
withHttpsEndpoint(
port?: number,
targetPort?: number,
name?: string,
env?: string,
isProxied?: boolean): IResourceWithEndpoints;
}

Signature

methodwithHttpsEndpointbuilder
Adds an HTTPS endpoint
withHttpsEndpoint(
port?: number,
targetPort?: number,
name?: string,
env?: string,
isProxied?: boolean): IResourceWithEndpoints
portnumberoptional
targetPortnumberoptional
namestringoptional
envstringoptional
isProxiedbooleanoptional
IResourceWithEndpoints

Applies to

This method applies to the following types: