withHttpEndpoint
Function
interface ContainerResource { // ... omitted for brevity withHttpEndpoint( port?: number, targetPort?: number, name?: string, env?: string, isProxied?: boolean): IResourceWithEndpoints;}Signature
method
withHttpEndpoint builder Adds an HTTP endpoint
withHttpEndpoint( port?: number, targetPort?: number, name?: string, env?: string, isProxied?: boolean): IResourceWithEndpointsParameters
port number optional targetPort number optional name string optional env string optional isProxied boolean optional = True Returns
IResourceWithEndpoints Applies to
This function is an extension method on the following types: