Linking containers in azure storage blockblob

%3CLINGO-SUB%20id%3D%22lingo-sub-130201%22%20slang%3D%22en-US%22%3ELinking%20containers%20in%20azure%20storage%20blockblob%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-130201%22%20slang%3D%22en-US%22%3E%3CP%3EHi!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20need%20to%20link%20two%20containers%20to%20each%20other%2C%20much%20like%20a%20soft%20link%20in%20a%20file%20system.%20I%20need%20it%20to%20avoid%20using%20storage%20for%20the%20same%20exact%20file%20twice%2C%20which%20I%20want%20under%20two%26nbsp%3Bcontainers.%26nbsp%3B%20i.e%20The%20file%20%3CA%20href%3D%22https%3A%2F%2Faccount.blob.core.windows.net%2F1%2Fimage.jpg%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faccount.blob.core.windows.net%2F1%2Fimage.jpg%3C%2FA%3E%20under%20container%201%26nbsp%3Bneeds%20to%20be%20accessible%20via%20%3CA%20href%3D%22https%3A%2F%2Faccount.blob.core.windows.net%2F2%2Fimage.jpg%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faccount.blob.core.windows.net%2F2%2Fimage.jpg%3C%2FA%3E%20as%20well%20(under%20container%202).%3C%2FP%3E%0A%3CP%3ENotice%20that%20the%20whole%20point%20is%20to%20have%20one%20blob%20named%20image.jpg%20under%20two%20containers%2C%20not%20two%20identical%20files!%3C%2FP%3E%0A%3CP%3EDoes%20anybody%20have%20any%20idea%20about%20how%20to%20make%20this%20happen%3F%20I%20did%20not%20find%20any%20documentation%20enabling%20such%20a%20feature.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-130201%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EData%20%26amp%3B%20Storage%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EStorage%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-130482%22%20slang%3D%22en-US%22%3ERe%3A%20Linking%20containers%20in%20azure%20storage%20blockblob%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-130482%22%20slang%3D%22en-US%22%3EThere%20is%20no%20feature%20in%20Azure%20that%20will%20allow%20you%20to%20do%20this.%3CBR%20%2F%3EYou%20will%20have%20to%20manage%20this%20in%20your%20application.%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

Hi!

 

I need to link two containers to each other, much like a soft link in a file system. I need it to avoid using storage for the same exact file twice, which I want under two containers.  i.e The file https://account.blob.core.windows.net/1/image.jpg under container 1 needs to be accessible via https://account.blob.core.windows.net/2/image.jpg as well (under container 2).

Notice that the whole point is to have one blob named image.jpg under two containers, not two identical files!

Does anybody have any idea about how to make this happen? I did not find any documentation enabling such a feature.

 

Thanks!

1 Reply
Highlighted
There is no feature in Azure that will allow you to do this.
You will have to manage this in your application.