From the course: Microsoft Azure Administrator Associate (AZ-104) Cert Prep by Microsoft Press

Unlock this course with a free trial

Join today to access over 24,200 courses taught by industry experts.

Creating a storage account using the Azure CLI

Creating a storage account using the Azure CLI

- [Instructor] In this lecture, we're going to look at creating an Azure Storage account. However, we're going to do it using the command line interface. Now, when we create storage accounts through the portal, there's lots and lots of different things we can choose. In the advanced networking, we can turn off different security options, we can turn on hierarchical name spaces, set data protection and so on. Now, when we do that via command line, we can choose all of those options by manually specifying them, or we can just choose the basic options and the defaults will be applied for everything else. The command for creating a storage account is az storage account create, and then although we can make it take some defaults, the basic information we have to provide are a name. So again, when we created this through the storage, it's got to be lowercase and not use special characters. We define the resource group we want to create in. We define the location that we want to create it…

Contents