addExecutable
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addExecutable( name: string, command: string, workingDirectory: string, args: string[]): ExecutableResource;}Signature
method
addExecutable builderAdds an executable resource to the application model.
addExecutable( name: string, command: string, workingDirectory: string, args: string[]): ExecutableResourceParameters
namestringThe name of the resource.commandstringThe executable path. This can be a fully qualified path or a executable to run from the shell/command line.workingDirectory stringThe working directory of the executable.argsstring[]The arguments to the executable.Returns
ExecutableResource Applies to
This method applies to the following types: