Azure CLI Storage Documentation

Manage Azure Storage resources with the Azure Command-Line Interface

Managing Azure Storage with Azure CLI

The Azure Command-Line Interface (CLI) provides a powerful and flexible way to manage your Azure Storage resources. This documentation covers common commands for interacting with Blob storage, File storage, Queue storage, and Table storage.

Prerequisites

Before you begin, ensure you have the Azure CLI installed and are logged in to your Azure account:

az login

Blob Storage

Blob storage is optimized for storing massive amounts of unstructured data, such as text or binary data. This includes anything that can be stored as an object or file.

Key Operations

Tip: You can also manage containers using az storage container create, az storage container list, and az storage container delete commands.

File Storage

Azure Files offers fully managed cloud file shares that are accessible via the industry-standard Server Message Block (SMB) protocol or Network File System (NFS) protocol. This allows you to lift and shift on-premises applications that rely on file shares to Azure.

Key Operations

Note: Mounting Azure File shares requires specific client configurations depending on your operating system.

Queue Storage

Queue storage is used to store large numbers of messages that can be accessed and processed by multiple clients. It's ideal for decoupling application components.

Key Operations

Table Storage

Table storage stores schemaless data in NoSQL key-value stores. It's suitable for flexible datasets like customer data, address books, or other kinds of metadata.

Key Operations

Important: Always refer to the official Azure CLI documentation for the most up-to-date command syntax, parameters, and advanced features.

Further Reading