Forum Discussion
Enable version-level immutability support
Hi,
I have downnloaded azure sdk from https://github.com/Azure/azure-sdk-for-cpp. I need to set "Enable version-level immutability support" while creating container. But I cloud not find a way to set this option in c++ sdk.
Could you help on this which API in c++ sdk to set the Version-level immutability?
When I tried with azure cli, it says --enable-vlw is under review.
az storage container-rm create --name sptestVersion --storage-account srinivasaraopcloud --resource-group 'QoreStor-Devs' --enable-vlw
Argument '--enable-vlw' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
1 Reply
I believe you have correctly identified a current limitation: version‑level immutability (VLW) remains in preview and is not yet available in the Azure Storage C++ SDK. As a result, no API surface exists in the azure-sdk-for-cpp repository to configure this option. At present, VLW can only be enabled through the Azure CLI or ARM/Bicep templates, and even there the --enable-vlw parameter is explicitly marked as preview.
https://learn.microsoft.com/en-us/azure/storage/blobs/immutable-storage-overview
https://learn.microsoft.com/en-us/cli/azure/storage/container-rm?view=azure-cli-latest