addPythonApp
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addPythonApp( name: string, appDirectory: string, scriptPath: string): PythonAppResource;}Signature
method
addPythonApp builderAdds a Python application to the application model.
addPythonApp( name: string, appDirectory: string, scriptPath: string): PythonAppResourceParameters
namestringThe name of the resource.appDirectory stringThe path to the directory containing the python application.scriptPath stringThe path to the script relative to the app directory to run.Returns
PythonAppResource Applies to
This method applies to the following types: