azure-storage
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAzure Storage Services
Azure Storage服务
Services
服务
| Service | Use When | MCP Tools | CLI |
|---|---|---|---|
| Blob Storage | Objects, files, backups, static content | | |
| File Shares | SMB file shares, lift-and-shift | - | |
| Queue Storage | Async messaging, task queues | - | |
| Table Storage | NoSQL key-value (consider Cosmos DB) | - | |
| Data Lake | Big data analytics, hierarchical namespace | - | |
| 服务 | 适用场景 | MCP工具 | CLI命令 |
|---|---|---|---|
| Blob Storage | 对象、文件、备份、静态内容 | | |
| File Shares | SMB文件共享、迁移上云 | - | |
| Queue Storage | 异步消息传递、任务队列 | - | |
| Table Storage | NoSQL键值存储(推荐考虑Cosmos DB) | - | |
| Data Lake | 大数据分析、分层命名空间 | - | |
MCP Server (Preferred)
MCP服务器(推荐使用)
When Azure MCP is enabled:
- with command
azure__storage- List storage accountsstorage_account_list - with command
azure__storage- List containers in accountstorage_container_list - with command
azure__storage- List blobs in containerstorage_blob_list - with command
azure__storage- Download blob contentstorage_blob_get - with command
azure__storage- Upload blob contentstorage_blob_put
If Azure MCP is not enabled: Run or enable via .
/azure:setup/mcp当Azure MCP启用时:
- 搭配命令
azure__storage- 列出存储账户storage_account_list - 搭配命令
azure__storage- 列出账户中的容器storage_container_list - 搭配命令
azure__storage- 列出容器中的Blobstorage_blob_list - 搭配命令
azure__storage- 下载Blob内容storage_blob_get - 搭配命令
azure__storage- 上传Blob内容storage_blob_put
如果Azure MCP未启用: 运行 或通过 启用。
/azure:setup/mcpCLI Fallback
CLI备选方案
bash
undefinedbash
undefinedList 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
undefinedaz storage blob upload --account-name ACCOUNT --container-name CONTAINER --name BLOB --file LOCAL_PATH
undefinedStorage Account Tiers
存储账户层级
| Tier | Use Case | Performance |
|---|---|---|
| Standard | General purpose, backup | Milliseconds |
| Premium | Databases, high IOPS | Sub-millisecond |
| 层级 | 适用场景 | 性能表现 |
|---|---|---|
| Standard | 通用用途、备份 | 毫秒级 |
| Premium | 数据库、高IOPS | 亚毫秒级 |
Blob Access Tiers
Blob访问层级
| 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 |
| 层级 | 访问频率 | 成本 |
|---|---|---|
| Hot | 频繁访问 | 存储成本高,访问成本低 |
| Cool | 不频繁访问(30天以上) | 存储成本低,访问成本高 |
| Cold | 极少访问(90天以上) | 存储成本更低 |
| Archive | 极少访问(180天以上) | 存储成本最低,需要重新水化 |
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 |
| 类型 | 耐用性 | 适用场景 |
|---|---|---|
| LRS | 11个9 | 开发/测试、可重建数据 |
| ZRS | 12个9 | 区域高可用 |
| GRS | 16个9 | 灾难恢复 |
| GZRS | 16个9 | 最高耐用性 |
Service Details
服务详情
For deep documentation on specific services:
- Blob storage patterns and lifecycle -> Blob Storage documentation
- File shares and Azure File Sync -> Azure Files documentation
- Queue patterns and poison handling -> Queue Storage documentation
如需特定服务的深度文档:
- Blob存储模式与生命周期 -> Blob Storage文档
- 文件共享与Azure File Sync -> Azure Files文档
- 队列模式与死信处理 -> Queue Storage文档
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使用指南。