AddPythonApp
Method
func (DistributedApplicationBuilder) AddPythonApp( name string, appDirectory string, scriptPath string,) PythonAppResourceSignature
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 The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types:
type
DistributedApplicationBuilder