withHttpCommand
Method
interface ContainerResource { // ... omitted for brevity withHttpCommand( path: string, displayName: string, options?: HttpCommandExportOptions): IResourceWithEndpoints;}Signature
method
withHttpCommand builder Adds an HTTP resource command
withHttpCommand( path: string, displayName: string, options?: HttpCommandExportOptions): IResourceWithEndpointsParameters
path string displayName string options HttpCommandExportOptions optional Returns
IResourceWithEndpoints Applies to
This method applies to the following types: