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