withEndpointCallback
Method
interface ContainerResource { // ... omitted for brevity withEndpointCallback( endpointName: string, callback: callback, createIfNotExists?: boolean): IResourceWithEndpoints;}Signature
method
withEndpointCallback builderUpdates a named endpoint via callback
withEndpointCallback(endpointName: string, callback: (obj: EndpointUpdateContext) => Promise<void>, createIfNotExists?: boolean): IResourceWithEndpointsParameters
endpointName stringcallback(obj: EndpointUpdateContext) => Promise<void> createIfNotExists booleanoptional= TrueReturns
IResourceWithEndpoints Applies to
This method applies to the following types: