withUrlForEndpointFactory
Method
interface ContainerResource { // ... omitted for brevity withUrlForEndpointFactory( endpointName: string, callback: callback): IResourceWithEndpoints;}Signature
method
withUrlForEndpointFactory builder Adds a URL for a specific endpoint via factory callback
withUrlForEndpointFactory(endpointName: string, callback: (arg: EndpointReference) => Promise<ResourceUrlAnnotation>): IResourceWithEndpointsParameters
endpointName string callback (arg: EndpointReference) => Promise<ResourceUrlAnnotation> Returns
IResourceWithEndpoints Applies to
This method applies to the following types: