azureblob
org.jclouds.provider/azureblob
using jclouds Installation.{% highlight java %} import static org.jclouds.azure.storage.blob.options.CreateContainerOptions.Builder.withPublicAcl;
// get a context with amazon that offers the portable BlobStore api BlobStoreContext context = ContextBuilder.newBuilder(“azureblob”) .credentials(accesskeyid, secretkey) .buildView(BlobStoreContext.class);
//create a container in the default location context.getBlobStore().createContainerInLocation(null, bucket);
// use the map interface for easy access to put/get things, keySet, etc. context.createInputStreamMap(bucket).put(“blob.txt”, inputStream);
// when you need access to azureblob-specific features, use the provider-specific context AzureBlobClient client = AzureBlobClient.class.cast(context.getProviderSpecificContext().getApi());
// create a root-level container with a public acl client.createRootContainer(withPublicAc());
context.close(); {% endhighlight %}