I have a (.net core C#) API to handle image upload, retrieve, delete, etc. Images are uploaded to blob containers, that are dynamically created from the code, with a name given with the POST request when uploading an image. There is also a blob trigger function deployed in Azure to create resized low-quality image for each image uploaded for a given blob container. There is a need to duplicate this image resize function app for each new container that is created. IF duplicated, I need to bind the new container names as the source and destination containers of the new instance of the image-resize function app, AND deploy it in the same resource group as the first function app.
Is there any way I can achieve all of this from the C# code? If not from the code, how can I do this?



