I am using AzureFunctions, AzureStorageExplorer and Java. After uploading a blob file it activates the blob trigger and runs code.
After it runs, I wish for the file that I uploaded to be deleted. How do I delete the passed blob file from the storage container.
@FunctionName("import-import")
public void run(
@BlobTrigger(
name = "import",
dataType = "binary",
path = "import/containers/{name}",
connection = "SourceStorage"
) final byte[] content,
@BindingName("name") final String filename,
final ExecutionContext context
) {
final Logger logger = context.getLogger();