azure-storage

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Azure Storage Services

Azure Storage服务

Services

服务

ServiceUse WhenMCP ToolsCLI
Blob StorageObjects, files, backups, static content
azure__storage
az storage blob
File SharesSMB file shares, lift-and-shift-
az storage file
Queue StorageAsync messaging, task queues-
az storage queue
Table StorageNoSQL key-value (consider Cosmos DB)-
az storage table
Data LakeBig data analytics, hierarchical namespace-
az storage fs
服务适用场景MCP工具CLI命令
Blob Storage对象、文件、备份、静态内容
azure__storage
az storage blob
File SharesSMB文件共享、迁移上云-
az storage file
Queue Storage异步消息传递、任务队列-
az storage queue
Table StorageNoSQL键值存储(推荐考虑Cosmos DB)-
az storage table
Data Lake大数据分析、分层命名空间-
az storage fs

MCP Server (Preferred)

MCP服务器(推荐使用)

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
.
当Azure MCP启用时:
  • azure__storage
    搭配命令
    storage_account_list
    - 列出存储账户
  • azure__storage
    搭配命令
    storage_container_list
    - 列出账户中的容器
  • azure__storage
    搭配命令
    storage_blob_list
    - 列出容器中的Blob
  • azure__storage
    搭配命令
    storage_blob_get
    - 下载Blob内容
  • azure__storage
    搭配命令
    storage_blob_put
    - 上传Blob内容
如果Azure MCP未启用: 运行
/azure:setup
或通过
/mcp
启用。

CLI Fallback

CLI备选方案

bash
undefined
bash
undefined

List storage accounts

列出存储账户

az storage account list --output table
az storage account list --output table

List containers

列出容器

az storage container list --account-name ACCOUNT --output table
az storage container list --account-name ACCOUNT --output table

List blobs

列出Blob

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

Download blob

下载Blob

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

Upload blob

上传Blob

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

Storage Account Tiers

存储账户层级

TierUse CasePerformance
StandardGeneral purpose, backupMilliseconds
PremiumDatabases, high IOPSSub-millisecond
层级适用场景性能表现
Standard通用用途、备份毫秒级
Premium数据库、高IOPS亚毫秒级

Blob Access Tiers

Blob访问层级

TierAccess FrequencyCost
HotFrequentHigher storage, lower access
CoolInfrequent (30+ days)Lower storage, higher access
ColdRare (90+ days)Lower still
ArchiveRarely (180+ days)Lowest storage, rehydration required
层级访问频率成本
Hot频繁访问存储成本高,访问成本低
Cool不频繁访问(30天以上)存储成本低,访问成本高
Cold极少访问(90天以上)存储成本更低
Archive极少访问(180天以上)存储成本最低,需要重新水化

Redundancy Options

冗余选项

TypeDurabilityUse Case
LRS11 ninesDev/test, recreatable data
ZRS12 ninesRegional high availability
GRS16 ninesDisaster recovery
GZRS16 ninesBest durability
类型耐用性适用场景
LRS11个9开发/测试、可重建数据
ZRS12个9区域高可用
GRS16个9灾难恢复
GZRS16个9最高耐用性

Service Details

服务详情

For deep documentation on specific services:
如需特定服务的深度文档:

SDK Quick References

SDK快速参考

For building applications with Azure Storage SDKs, see the condensed guides:
  • Blob Storage: Python | TypeScript | Java | Rust
  • Queue Storage: Python | TypeScript
  • File Shares: Python | TypeScript
  • Data Lake: Python
  • Tables: Python | Java
For full package listing across all languages, see SDK Usage Guide.
如需使用Azure Storage SDK构建应用,请查看精简指南:
  • Blob Storage: Python | TypeScript | Java | Rust
  • Queue Storage: Python | TypeScript
  • File Shares: Python | TypeScript
  • Data Lake: Python
  • Tables: Python | Java
如需查看所有语言的完整包列表,请参阅SDK使用指南

Azure SDKs

Azure SDK

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 for package names, installation commands, and quick start examples.
如需构建可通过编程方式与Azure Storage交互的应用,Azure提供多语言SDK包(.NET、Java、JavaScript、Python、Go、Rust)。如需包名称、安装命令和快速入门示例,请查看SDK使用指南