CmdID / az / az containerapp / az containerapp session
az containerapp session code-interpreter
Commands to interact with and manage code interpreter sessions. Azure CLI extensions reference
6 commands 7 options Its page in the Azure CLI extensions reference
Commands
delete-fileDelete a file uploaded to a code interpreter session.executeExecute code in a code interpreter session.list-filesList files uploaded to a code interpreter sessionshow-file-contentShow the content a file uploaded to a code interpreter session.show-file-metadataShows the meta-data content a file uploaded to a code interpreter session.upload-fileUpload a file to a code interpreter session .Options
--codeThe code to execute in the code interpreter session--filenameThe file to delete or show from the session--filepathThe local path to the file to upload to the session--identifier, -iThe Session Identifier--pathThe path of files in the session--session-pool-locationThe location of the session pool--timeout-in-secondsDuration in seconds code in session can run prior to timing out 1 - 220 secs, e.g. 30