IResourceWithEndpoints.withHttpEndpoint
Method
interface IResourceWithEndpoints { // ... omitted for brevity withHttpEndpoint( port?: number, targetPort?: number, name?: string, env?: string, isProxied?: boolean): IResourceWithEndpoints;}Signature
method
withHttpEndpointbuilderAdds an HTTP endpoint
withHttpEndpoint( port?: number, targetPort?: number, name?: string, env?: string, isProxied?: boolean): IResourceWithEndpointsParameters
portnumberoptionaltargetPortnumberoptionalnamestringoptionalenvstringoptionalisProxiedbooleanoptionalReturns
IResourceWithEndpointsDefined on
This method is defined on the following type: