Upgrade Access Tier via Azure CLI or Python Code for Stoarge Account Gen2

Kurmindla, Anusha 1 Reputation point
2020-07-30T04:31:17.177+00:00

We Want to update the access tiers in the ADLS Gen2 for Multiple paths and want to use Azure CLI or Python Code as per our requirement.
According to Microsoft Documentation, We see only Portal and Power shell code to do it.
Can anyone let us know if we can explore through the mentioned code.

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,357 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,449 questions
Azure Data Lake Analytics
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sumarigo-MSFT 43,806 Reputation points Microsoft Employee
    2020-07-30T11:03:34.12+00:00

    @KurmindlaAnusha-6547 You can use the below mentioned CLI command to upgrade the access tier

    az storage account update -g <resource-group> -n <storage-account> --set kind=StorageV2 --access-tier=<Hot/Cool>

    14612-capture.jpg

    Hope this helps!

    Kindly let us know if the above helps or you need further assistance on this issue.


    Please don’t forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.