This PR adds the ability to create a container if it does not exist when attempting to upload, as well as to set the public access type for that container.
This is especially useful when working with Azurite as Azurite has a very limited set of init scripting options.
Can be tested by:
a) with correct permissions in place, setting the createContainerIfNotExist param to 'true' and seeing if an otherwise non-existent container comes into being.
b) conditional on a), the new container having the publicAccessType of either 'blob' or 'container', depending on what was supplied.
This PR adds the ability to create a container if it does not exist when attempting to upload, as well as to set the public access type for that container.
This is especially useful when working with Azurite as Azurite has a very limited set of init scripting options.
Can be tested by: a) with correct permissions in place, setting the
createContainerIfNotExist
param to 'true' and seeing if an otherwise non-existent container comes into being. b) conditional on a), the new container having thepublicAccessType
of either 'blob' or 'container', depending on what was supplied.