IResourceWithEndpoints.withEndpointCallback
Method
interface IResourceWithEndpoints { // ... omitted for brevity withEndpointCallback(endpointName: string, callback: (obj: EndpointUpdateContext) => Promise<void>, createIfNotExists?: boolean): IResourceWithEndpoints;}Signature
method
withEndpointCallbackbuilderUpdates a named endpoint via callback
withEndpointCallback(endpointName: string, callback: (obj: EndpointUpdateContext) => Promise<void>, createIfNotExists?: boolean): IResourceWithEndpointsParameters
endpointNamestringcallback(obj: EndpointUpdateContext) => Promise<void>createIfNotExistsbooleanoptional= TrueReturns
IResourceWithEndpointsDefined on
This method is defined on the following type: