withHttpEndpointCallback
Method
interface ContainerResource { // ... omitted for brevity withHttpEndpointCallback( callback: callback, name?: string, createIfNotExists?: boolean): IResourceWithEndpoints;}Signature
method
withHttpEndpointCallbackbuilderUpdates an HTTP endpoint via callback
withHttpEndpointCallback(callback: (obj: EndpointUpdateContext) => Promise<void>, name?: string, createIfNotExists?: boolean): IResourceWithEndpointsParameters
callback(obj: EndpointUpdateContext) => Promise<void>namestringoptionalcreateIfNotExistsbooleanoptional= TrueReturns
IResourceWithEndpointsApplies to
This method applies to the following types: