Azure Container App (ACA) session
The Azure Container App (ACA) session
This article describes the operations for the Azure Container App session built-in connector, which is available only for Standard workflows in single-tenant Azure Logic Apps.
You can use this connector's operations to work with Python sessions and perform tasks such as running code and to download, upload, or delete files for Python interpreter sessions. A session offers an isolated secure context for when you need to run code or apps separately from other workloads.
Sessions run inside a session pool, which provides immediate access to new and existing sessions. These sessions are ideal for scenarios where you need to process user-generated input in a controlled manner or when you want to integrate third-party services that require executing code in an isolated environment. For more information about sessions, see Dynamic sessions in Azure Container Apps.
Built-in connector settings
In a Standard logic app resource, the application and host settings control various thresholds for performance, throughput, timeout, and so on. For more information, see Edit host and app settings for Standard logic app workflows.
Authentication
Managed identity
Managed identity
Parameters
Name | Description | Type | Required | Allowed Values |
---|---|---|---|---|
Pool management endpoint | The Azure Container App (ACA) pool management endpoint. | string | True | |
Managed identity | Managed identity | string | True | |
Managed identity | Managed identity | string | False |
Actions
Execute Python Code (Preview) |
Execute Code in a Python Session. |
File Delete (Preview) |
Delete a file from a python interpreter session |
File Download (Preview) |
Download a file from a python interpreter session |
File Upload (Preview) |
Upload a file to a python interpreter session |
Execute Python Code (Preview)
Execute Code in a Python Session.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
The python code
|
pythonCode | True | string |
The python code to be executed. |
The session Id
|
sessionId | string |
The session Id where the file is located. |
Returns
Name | Path | Type | Description |
---|---|---|---|
Execution status
|
status | string |
The status of the executed code. |
Result
|
result | string |
The result from the executed code. |
Standard output
|
stdout | string |
The standard output from the code execution. |
Standard error
|
stderr | string |
The standard output from the code execution. |
Session ID
|
sessionId | string |
The session identifier. |
File Delete (Preview)
Delete a file from a python interpreter session
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
The input file name
|
fileName | True | string |
The input file name. |
The session Id
|
sessionId | True | string |
The session Id where the file is located. |
File Download (Preview)
Download a file from a python interpreter session
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
The input file name
|
fileName | True | string |
The input file name. |
The session Id
|
sessionId | True | string |
The session Id where the file is located. |
File Upload (Preview)
Upload a file to a python interpreter session
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
The input files to upload
|
files | True | string |
The input files to upload. |
The session Id
|
sessionId | string |
The session Id where the file is located. |
Returns
Name | Path | Type | Description |
---|---|---|---|
Input file name
|
filename | string |
The input file name. |
File size
|
size | string |
The session identifier. |
Last modified time
|
lastModifiedTime | string |
The file size after saving to the session. |
Session ID
|
sessionId | string |
The session identifier. |