---
id: sm-azure-storage
name: "azure-storage"
url: https://skills.yangsir.net/skill/sm-azure-storage
author: microsoft
domain: cloud-infra
tags: ["azure-blob-storage", "azure-files", "azure-disks", "data-storage", "cloud-storage"]
install_count: 317100
rating: 4.80 (2000 reviews)
github: https://github.com/microsoft/github-copilot-for-azure
---

# azure-storage

> 专注于Azure云存储服务，帮助用户管理和优化各种数据存储解决方案，包括Blob、文件、队列和表存储，确保数据安全与高效访问。

**Stats**: 317,100 installs · 4.8/5 (2000 reviews)

## Before / After 对比

### Azure存储管理效率优化

## Readme

# azure-storage

# Azure Storage Services

## Services

Service
Use When
MCP Tools
CLI

Blob Storage
Objects, files, backups, static content
`azure__storage`
`az storage blob`

File Shares
SMB file shares, lift-and-shift
-
`az storage file`

Queue Storage
Async messaging, task queues
-
`az storage queue`

Table Storage
NoSQL key-value (consider Cosmos DB)
-
`az storage table`

Data Lake
Big data analytics, hierarchical namespace
-
`az storage fs`

## MCP Server (Preferred)

When Azure MCP is enabled:

- `azure__storage` with command `storage_account_list` - List storage accounts

- `azure__storage` with command `storage_container_list` - List containers in account

- `azure__storage` with command `storage_blob_list` - List blobs in container

- `azure__storage` with command `storage_blob_get` - Download blob content

- `azure__storage` with command `storage_blob_put` - Upload blob content

**If Azure MCP is not enabled:** Run `/azure:setup` or enable via `/mcp`.

## CLI Fallback

```
# List storage accounts
az storage account list --output table

# List containers
az storage container list --account-name ACCOUNT --output table

# List blobs
az storage blob list --account-name ACCOUNT --container-name CONTAINER --output table

# Download blob
az storage blob download --account-name ACCOUNT --container-name CONTAINER --name BLOB --file LOCAL_PATH

# Upload blob
az storage blob upload --account-name ACCOUNT --container-name CONTAINER --name BLOB --file LOCAL_PATH

```

## Storage Account Tiers

Tier
Use Case
Performance

Standard
General purpose, backup
Milliseconds

Premium
Databases, high IOPS
Sub-millisecond

## Blob Access Tiers

Tier
Access Frequency
Cost

Hot
Frequent
Higher storage, lower access

Cool
Infrequent (30+ days)
Lower storage, higher access

Cold
Rare (90+ days)
Lower still

Archive
Rarely (180+ days)
Lowest storage, rehydration required

## Redundancy Options

Type
Durability
Use Case

LRS
11 nines
Dev/test, recreatable data

ZRS
12 nines
Regional high availability

GRS
16 nines
Disaster recovery

GZRS
16 nines
Best durability

## Service Details

For deep documentation on specific services:

- Blob storage patterns and lifecycle -> [Blob Storage documentation](https://learn.microsoft.com/azure/storage/blobs/storage-blobs-overview)

- File shares and Azure File Sync -> [Azure Files documentation](https://learn.microsoft.com/azure/storage/files/storage-files-introduction)

- Queue patterns and poison handling -> [Queue Storage documentation](https://learn.microsoft.com/azure/storage/queues/storage-queues-introduction)

## SDK Quick References

For building applications with Azure Storage SDKs, see the condensed guides:

- **Blob Storage**: [Python](https://github.com/microsoft/github-copilot-for-azure/blob/HEAD/plugin/skills/azure-storage/references/sdk/azure-storage-blob-py.md) | [TypeScript](https://github.com/microsoft/github-copilot-for-azure/blob/HEAD/plugin/skills/azure-storage/references/sdk/azure-storage-blob-ts.md) | [Java](https://github.com/microsoft/github-copilot-for-azure/blob/HEAD/plugin/skills/azure-storage/references/sdk/azure-storage-blob-java.md) | [Rust](https://github.com/microsoft/github-copilot-for-azure/blob/HEAD/plugin/skills/azure-storage/references/sdk/azure-storage-blob-rust.md)

- **Queue Storage**: [Python](https://github.com/microsoft/github-copilot-for-azure/blob/HEAD/plugin/skills/azure-storage/references/sdk/azure-storage-queue-py.md) | [TypeScript](https://github.com/microsoft/github-copilot-for-azure/blob/HEAD/plugin/skills/azure-storage/references/sdk/azure-storage-queue-ts.md)

- **File Shares**: [Python](https://github.com/microsoft/github-copilot-for-azure/blob/HEAD/plugin/skills/azure-storage/references/sdk/azure-storage-file-share-py.md) | [TypeScript](https://github.com/microsoft/github-copilot-for-azure/blob/HEAD/plugin/skills/azure-storage/references/sdk/azure-storage-file-share-ts.md)

- **Data Lake**: [Python](https://github.com/microsoft/github-copilot-for-azure/blob/HEAD/plugin/skills/azure-storage/references/sdk/azure-storage-file-datalake-py.md)

- **Tables**: [Python](https://github.com/microsoft/github-copilot-for-azure/blob/HEAD/plugin/skills/azure-storage/references/sdk/azure-data-tables-py.md) | [Java](https://github.com/microsoft/github-copilot-for-azure/blob/HEAD/plugin/skills/azure-storage/references/sdk/azure-data-tables-java.md)

For full package listing across all languages, see [SDK Usage Guide](https://github.com/microsoft/github-copilot-for-azure/blob/HEAD/plugin/skills/azure-storage/references/sdk-usage.md).

## Azure SDKs

For building applications that interact with Azure Storage programmatically, Azure provides SDK packages in multiple languages (.NET, Java, JavaScript, Python, Go, Rust). See [SDK Usage Guide](https://github.com/microsoft/github-copilot-for-azure/blob/HEAD/plugin/skills/azure-storage/references/sdk-usage.md) for package names, installation commands, and quick start examples.
Weekly Installs103.1KRepository[microsoft/githu…or-azure](https://github.com/microsoft/github-copilot-for-azure)GitHub Stars157First SeenFeb 4, 2026Security Audits[Gen Agent Trust HubPass](/microsoft/github-copilot-for-azure/azure-storage/security/agent-trust-hub)[SocketPass](/microsoft/github-copilot-for-azure/azure-storage/security/socket)[SnykPass](/microsoft/github-copilot-for-azure/azure-storage/security/snyk)Installed ongithub-copilot103.0Kcodex530gemini-cli518opencode494kimi-cli479cursor479

---
*Source: https://skills.yangsir.net/skill/sm-azure-storage*
*Markdown mirror: https://skills.yangsir.net/api/skill/sm-azure-storage/markdown*